Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.7
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for xf86-video-chips 1.2.6.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      9 #
     10 #
     11 # This configure script is free software; the Free Software Foundation
     12 # gives unlimited permission to copy, distribute and modify it.
     13 ## -------------------- ##
     14 ## M4sh Initialization. ##
     15 ## -------------------- ##
     16 
     17 # Be more Bourne compatible
     18 DUALCASE=1; export DUALCASE # for MKS sh
     19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     20   emulate sh
     21   NULLCMD=:
     22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     23   # is contrary to our usage.  Disable this feature.
     24   alias -g '${1+"$@"}'='"$@"'
     25   setopt NO_GLOB_SUBST
     26 else
     27   case `(set -o) 2>/dev/null` in #(
     28   *posix*) :
     29     set -o posix ;; #(
     30   *) :
     31      ;;
     32 esac
     33 fi
     34 
     35 
     36 as_nl='
     37 '
     38 export as_nl
     39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     43 # Prefer a ksh shell builtin over an external printf program on Solaris,
     44 # but without wasting forks for bash or zsh.
     45 if test -z "$BASH_VERSION$ZSH_VERSION" \
     46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47   as_echo='print -r --'
     48   as_echo_n='print -rn --'
     49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in #(
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 
     84 # IFS
     85 # We need space, tab and new line, in precisely that order.  Quoting is
     86 # there to prevent editors from complaining about space-tab.
     87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     88 # splitting by setting IFS to empty value.)
     89 IFS=" ""	$as_nl"
     90 
     91 # Find who we are.  Look in the path if we contain no directory separator.
     92 as_myself=
     93 case $0 in #((
     94   *[\\/]* ) as_myself=$0 ;;
     95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     96 for as_dir in $PATH
     97 do
     98   IFS=$as_save_IFS
     99   test -z "$as_dir" && as_dir=.
    100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as `sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 # Unset variables that we do not need and which cause bugs (e.g. in
    117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    118 # suppresses any "Segmentation fault" message there.  '((' could
    119 # trigger a bug in pdksh 5.2.14.
    120 for as_var in BASH_ENV ENV MAIL MAILPATH
    121 do eval test x\${$as_var+set} = xset \
    122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    123 done
    124 PS1='$ '
    125 PS2='> '
    126 PS4='+ '
    127 
    128 # NLS nuisances.
    129 LC_ALL=C
    130 export LC_ALL
    131 LANGUAGE=C
    132 export LANGUAGE
    133 
    134 # CDPATH.
    135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    136 
    137 # Use a proper internal environment variable to ensure we don't fall
    138   # into an infinite loop, continuously re-executing ourselves.
    139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    140     _as_can_reexec=no; export _as_can_reexec;
    141     # We cannot yet assume a decent shell, so we have to provide a
    142 # neutralization value for shells without unset; and this also
    143 # works around shells that cannot unset nonexistent variables.
    144 # Preserve -v and -x to the replacement shell.
    145 BASH_ENV=/dev/null
    146 ENV=/dev/null
    147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    148 case $- in # ((((
    149   *v*x* | *x*v* ) as_opts=-vx ;;
    150   *v* ) as_opts=-v ;;
    151   *x* ) as_opts=-x ;;
    152   * ) as_opts= ;;
    153 esac
    154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    155 # Admittedly, this is quite paranoid, since all the known shells bail
    156 # out after a failed `exec'.
    157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    158 as_fn_exit 255
    159   fi
    160   # We don't want this to propagate to other subprocesses.
    161           { _as_can_reexec=; unset _as_can_reexec;}
    162 if test "x$CONFIG_SHELL" = x; then
    163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    164   emulate sh
    165   NULLCMD=:
    166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    167   # is contrary to our usage.  Disable this feature.
    168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    169   setopt NO_GLOB_SUBST
    170 else
    171   case \`(set -o) 2>/dev/null\` in #(
    172   *posix*) :
    173     set -o posix ;; #(
    174   *) :
    175      ;;
    176 esac
    177 fi
    178 "
    179   as_required="as_fn_return () { (exit \$1); }
    180 as_fn_success () { as_fn_return 0; }
    181 as_fn_failure () { as_fn_return 1; }
    182 as_fn_ret_success () { return 0; }
    183 as_fn_ret_failure () { return 1; }
    184 
    185 exitcode=0
    186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    191 
    192 else
    193   exitcode=1; echo positional parameters were not saved.
    194 fi
    195 test x\$exitcode = x0 || exit 1
    196 test -x / || exit 1"
    197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    201 test \$(( 1 + 1 )) = 2 || exit 1
    202 
    203   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    204     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    206     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    207     PATH=/empty FPATH=/empty; export PATH FPATH
    208     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    209       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
    210   if (eval "$as_required") 2>/dev/null; then :
    211   as_have_required=yes
    212 else
    213   as_have_required=no
    214 fi
    215   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    216 
    217 else
    218   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    219 as_found=false
    220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    221 do
    222   IFS=$as_save_IFS
    223   test -z "$as_dir" && as_dir=.
    224   as_found=:
    225   case $as_dir in #(
    226 	 /*)
    227 	   for as_base in sh bash ksh sh5; do
    228 	     # Try only shells that exist, to save several forks.
    229 	     as_shell=$as_dir/$as_base
    230 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    231 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    232   CONFIG_SHELL=$as_shell as_have_required=yes
    233 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    234   break 2
    235 fi
    236 fi
    237 	   done;;
    238        esac
    239   as_found=false
    240 done
    241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    242 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    243   CONFIG_SHELL=$SHELL as_have_required=yes
    244 fi; }
    245 IFS=$as_save_IFS
    246 
    247 
    248       if test "x$CONFIG_SHELL" != x; then :
    249   export CONFIG_SHELL
    250              # We cannot yet assume a decent shell, so we have to provide a
    251 # neutralization value for shells without unset; and this also
    252 # works around shells that cannot unset nonexistent variables.
    253 # Preserve -v and -x to the replacement shell.
    254 BASH_ENV=/dev/null
    255 ENV=/dev/null
    256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    257 case $- in # ((((
    258   *v*x* | *x*v* ) as_opts=-vx ;;
    259   *v* ) as_opts=-v ;;
    260   *x* ) as_opts=-x ;;
    261   * ) as_opts= ;;
    262 esac
    263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    264 # Admittedly, this is quite paranoid, since all the known shells bail
    265 # out after a failed `exec'.
    266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    267 exit 255
    268 fi
    269 
    270     if test x$as_have_required = xno; then :
    271   $as_echo "$0: This script requires a shell more modern than all"
    272   $as_echo "$0: the shells that I found on your system."
    273   if test x${ZSH_VERSION+set} = xset ; then
    274     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    275     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    276   else
    277     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    278 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    279 $0: about your system, including any error possibly output
    280 $0: before this message. Then install a modern shell, or
    281 $0: manually run the script under such a shell if you do
    282 $0: have one."
    283   fi
    284   exit 1
    285 fi
    286 fi
    287 fi
    288 SHELL=${CONFIG_SHELL-/bin/sh}
    289 export SHELL
    290 # Unset more variables known to interfere with behavior of common tools.
    291 CLICOLOR_FORCE= GREP_OPTIONS=
    292 unset CLICOLOR_FORCE GREP_OPTIONS
    293 
    294 ## --------------------- ##
    295 ## M4sh Shell Functions. ##
    296 ## --------------------- ##
    297 # as_fn_unset VAR
    298 # ---------------
    299 # Portably unset VAR.
    300 as_fn_unset ()
    301 {
    302   { eval $1=; unset $1;}
    303 }
    304 as_unset=as_fn_unset
    305 
    306 # as_fn_set_status STATUS
    307 # -----------------------
    308 # Set $? to STATUS, without forking.
    309 as_fn_set_status ()
    310 {
    311   return $1
    312 } # as_fn_set_status
    313 
    314 # as_fn_exit STATUS
    315 # -----------------
    316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    317 as_fn_exit ()
    318 {
    319   set +e
    320   as_fn_set_status $1
    321   exit $1
    322 } # as_fn_exit
    323 
    324 # as_fn_mkdir_p
    325 # -------------
    326 # Create "$as_dir" as a directory, including parents if necessary.
    327 as_fn_mkdir_p ()
    328 {
    329 
    330   case $as_dir in #(
    331   -*) as_dir=./$as_dir;;
    332   esac
    333   test -d "$as_dir" || eval $as_mkdir_p || {
    334     as_dirs=
    335     while :; do
    336       case $as_dir in #(
    337       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    338       *) as_qdir=$as_dir;;
    339       esac
    340       as_dirs="'$as_qdir' $as_dirs"
    341       as_dir=`$as_dirname -- "$as_dir" ||
    342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    343 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    344 	 X"$as_dir" : 'X\(//\)$' \| \
    345 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    346 $as_echo X"$as_dir" |
    347     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    348 	    s//\1/
    349 	    q
    350 	  }
    351 	  /^X\(\/\/\)[^/].*/{
    352 	    s//\1/
    353 	    q
    354 	  }
    355 	  /^X\(\/\/\)$/{
    356 	    s//\1/
    357 	    q
    358 	  }
    359 	  /^X\(\/\).*/{
    360 	    s//\1/
    361 	    q
    362 	  }
    363 	  s/.*/./; q'`
    364       test -d "$as_dir" && break
    365     done
    366     test -z "$as_dirs" || eval "mkdir $as_dirs"
    367   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    368 
    369 
    370 } # as_fn_mkdir_p
    371 
    372 # as_fn_executable_p FILE
    373 # -----------------------
    374 # Test if FILE is an executable regular file.
    375 as_fn_executable_p ()
    376 {
    377   test -f "$1" && test -x "$1"
    378 } # as_fn_executable_p
    379 # as_fn_append VAR VALUE
    380 # ----------------------
    381 # Append the text in VALUE to the end of the definition contained in VAR. Take
    382 # advantage of any shell optimizations that allow amortized linear growth over
    383 # repeated appends, instead of the typical quadratic growth present in naive
    384 # implementations.
    385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    386   eval 'as_fn_append ()
    387   {
    388     eval $1+=\$2
    389   }'
    390 else
    391   as_fn_append ()
    392   {
    393     eval $1=\$$1\$2
    394   }
    395 fi # as_fn_append
    396 
    397 # as_fn_arith ARG...
    398 # ------------------
    399 # Perform arithmetic evaluation on the ARGs, and store the result in the
    400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    401 # must be portable across $(()) and expr.
    402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    403   eval 'as_fn_arith ()
    404   {
    405     as_val=$(( $* ))
    406   }'
    407 else
    408   as_fn_arith ()
    409   {
    410     as_val=`expr "$@" || test $? -eq 1`
    411   }
    412 fi # as_fn_arith
    413 
    414 
    415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    416 # ----------------------------------------
    417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    419 # script with STATUS, using 1 if that was 0.
    420 as_fn_error ()
    421 {
    422   as_status=$1; test $as_status -eq 0 && as_status=1
    423   if test "$4"; then
    424     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    425     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    426   fi
    427   $as_echo "$as_me: error: $2" >&2
    428   as_fn_exit $as_status
    429 } # as_fn_error
    430 
    431 if expr a : '\(a\)' >/dev/null 2>&1 &&
    432    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    433   as_expr=expr
    434 else
    435   as_expr=false
    436 fi
    437 
    438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    439   as_basename=basename
    440 else
    441   as_basename=false
    442 fi
    443 
    444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    445   as_dirname=dirname
    446 else
    447   as_dirname=false
    448 fi
    449 
    450 as_me=`$as_basename -- "$0" ||
    451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    452 	 X"$0" : 'X\(//\)$' \| \
    453 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    454 $as_echo X/"$0" |
    455     sed '/^.*\/\([^/][^/]*\)\/*$/{
    456 	    s//\1/
    457 	    q
    458 	  }
    459 	  /^X\/\(\/\/\)$/{
    460 	    s//\1/
    461 	    q
    462 	  }
    463 	  /^X\/\(\/\).*/{
    464 	    s//\1/
    465 	    q
    466 	  }
    467 	  s/.*/./; q'`
    468 
    469 # Avoid depending upon Character Ranges.
    470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    473 as_cr_digits='0123456789'
    474 as_cr_alnum=$as_cr_Letters$as_cr_digits
    475 
    476 
    477   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    478   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    479   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    480   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    481   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    482   sed -n '
    483     p
    484     /[$]LINENO/=
    485   ' <$as_myself |
    486     sed '
    487       s/[$]LINENO.*/&-/
    488       t lineno
    489       b
    490       :lineno
    491       N
    492       :loop
    493       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    494       t loop
    495       s/-\n.*//
    496     ' >$as_me.lineno &&
    497   chmod +x "$as_me.lineno" ||
    498     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    499 
    500   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    501   # already done that, so ensure we don't try to do so again and fall
    502   # in an infinite loop.  This has already happened in practice.
    503   _as_can_reexec=no; export _as_can_reexec
    504   # Don't try to exec as it changes $[0], causing all sort of problems
    505   # (the dirname of $[0] is not the place where we might find the
    506   # original and so on.  Autoconf is especially sensitive to this).
    507   . "./$as_me.lineno"
    508   # Exit status is that of the last command.
    509   exit
    510 }
    511 
    512 ECHO_C= ECHO_N= ECHO_T=
    513 case `echo -n x` in #(((((
    514 -n*)
    515   case `echo 'xy\c'` in
    516   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    517   xy)  ECHO_C='\c';;
    518   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    519        ECHO_T='	';;
    520   esac;;
    521 *)
    522   ECHO_N='-n';;
    523 esac
    524 
    525 rm -f conf$$ conf$$.exe conf$$.file
    526 if test -d conf$$.dir; then
    527   rm -f conf$$.dir/conf$$.file
    528 else
    529   rm -f conf$$.dir
    530   mkdir conf$$.dir 2>/dev/null
    531 fi
    532 if (echo >conf$$.file) 2>/dev/null; then
    533   if ln -s conf$$.file conf$$ 2>/dev/null; then
    534     as_ln_s='ln -s'
    535     # ... but there are two gotchas:
    536     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    537     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    538     # In both cases, we have to default to `cp -pR'.
    539     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    540       as_ln_s='cp -pR'
    541   elif ln conf$$.file conf$$ 2>/dev/null; then
    542     as_ln_s=ln
    543   else
    544     as_ln_s='cp -pR'
    545   fi
    546 else
    547   as_ln_s='cp -pR'
    548 fi
    549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    550 rmdir conf$$.dir 2>/dev/null
    551 
    552 if mkdir -p . 2>/dev/null; then
    553   as_mkdir_p='mkdir -p "$as_dir"'
    554 else
    555   test -d ./-p && rmdir ./-p
    556   as_mkdir_p=false
    557 fi
    558 
    559 as_test_x='test -x'
    560 as_executable_p=as_fn_executable_p
    561 
    562 # Sed expression to map a string onto a valid CPP name.
    563 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    564 
    565 # Sed expression to map a string onto a valid variable name.
    566 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    567 
    568 SHELL=${CONFIG_SHELL-/bin/sh}
    569 
    570 
    571 test -n "$DJDIR" || exec 7<&0 </dev/null
    572 exec 6>&1
    573 
    574 # Name of the host.
    575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    576 # so uname gets run too.
    577 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    578 
    579 #
    580 # Initializations.
    581 #
    582 ac_default_prefix=/usr/local
    583 ac_clean_files=
    584 ac_config_libobj_dir=.
    585 LIBOBJS=
    586 cross_compiling=no
    587 subdirs=
    588 MFLAGS=
    589 MAKEFLAGS=
    590 
    591 # Identity of this package.
    592 PACKAGE_NAME='xf86-video-chips'
    593 PACKAGE_TARNAME='xf86-video-chips'
    594 PACKAGE_VERSION='1.2.6'
    595 PACKAGE_STRING='xf86-video-chips 1.2.6'
    596 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    597 PACKAGE_URL=''
    598 
    599 ac_unique_file="Makefile.am"
    600 # Factoring default headers for most tests.
    601 ac_includes_default="\
    602 #include <stdio.h>
    603 #ifdef HAVE_SYS_TYPES_H
    604 # include <sys/types.h>
    605 #endif
    606 #ifdef HAVE_SYS_STAT_H
    607 # include <sys/stat.h>
    608 #endif
    609 #ifdef STDC_HEADERS
    610 # include <stdlib.h>
    611 # include <stddef.h>
    612 #else
    613 # ifdef HAVE_STDLIB_H
    614 #  include <stdlib.h>
    615 # endif
    616 #endif
    617 #ifdef HAVE_STRING_H
    618 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    619 #  include <memory.h>
    620 # endif
    621 # include <string.h>
    622 #endif
    623 #ifdef HAVE_STRINGS_H
    624 # include <strings.h>
    625 #endif
    626 #ifdef HAVE_INTTYPES_H
    627 # include <inttypes.h>
    628 #endif
    629 #ifdef HAVE_STDINT_H
    630 # include <stdint.h>
    631 #endif
    632 #ifdef HAVE_UNISTD_H
    633 # include <unistd.h>
    634 #endif"
    635 
    636 ac_subst_vars='am__EXEEXT_FALSE
    637 am__EXEEXT_TRUE
    638 LTLIBOBJS
    639 LIBOBJS
    640 DRIVER_NAME
    641 moduledir
    642 BUILD_UTILS_FALSE
    643 BUILD_UTILS_TRUE
    644 XAA_FALSE
    645 XAA_TRUE
    646 XSERVER_LIBPCIACCESS_FALSE
    647 XSERVER_LIBPCIACCESS_TRUE
    648 PCIACCESS_LIBS
    649 PCIACCESS_CFLAGS
    650 XORG_LIBS
    651 XORG_CFLAGS
    652 LT_SYS_LIBRARY_PATH
    653 OTOOL64
    654 OTOOL
    655 LIPO
    656 NMEDIT
    657 DSYMUTIL
    658 MANIFEST_TOOL
    659 RANLIB
    660 ac_ct_AR
    661 AR
    662 DLLTOOL
    663 OBJDUMP
    664 LN_S
    665 NM
    666 ac_ct_DUMPBIN
    667 DUMPBIN
    668 LD
    669 FGREP
    670 LIBTOOL
    671 MAN_SUBSTS
    672 XORG_MAN_PAGE
    673 ADMIN_MAN_DIR
    674 DRIVER_MAN_DIR
    675 MISC_MAN_DIR
    676 FILE_MAN_DIR
    677 LIB_MAN_DIR
    678 APP_MAN_DIR
    679 ADMIN_MAN_SUFFIX
    680 DRIVER_MAN_SUFFIX
    681 MISC_MAN_SUFFIX
    682 FILE_MAN_SUFFIX
    683 LIB_MAN_SUFFIX
    684 APP_MAN_SUFFIX
    685 SED
    686 host_os
    687 host_vendor
    688 host_cpu
    689 host
    690 build_os
    691 build_vendor
    692 build_cpu
    693 build
    694 INSTALL_CMD
    695 PKG_CONFIG_LIBDIR
    696 PKG_CONFIG_PATH
    697 PKG_CONFIG
    698 CHANGELOG_CMD
    699 STRICT_CFLAGS
    700 CWARNFLAGS
    701 BASE_CFLAGS
    702 EGREP
    703 GREP
    704 CPP
    705 am__fastdepCC_FALSE
    706 am__fastdepCC_TRUE
    707 CCDEPMODE
    708 am__nodep
    709 AMDEPBACKSLASH
    710 AMDEP_FALSE
    711 AMDEP_TRUE
    712 am__quote
    713 am__include
    714 DEPDIR
    715 OBJEXT
    716 EXEEXT
    717 ac_ct_CC
    718 CPPFLAGS
    719 LDFLAGS
    720 CFLAGS
    721 CC
    722 MAINT
    723 MAINTAINER_MODE_FALSE
    724 MAINTAINER_MODE_TRUE
    725 AM_BACKSLASH
    726 AM_DEFAULT_VERBOSITY
    727 AM_DEFAULT_V
    728 AM_V
    729 am__untar
    730 am__tar
    731 AMTAR
    732 am__leading_dot
    733 SET_MAKE
    734 AWK
    735 mkdir_p
    736 MKDIR_P
    737 INSTALL_STRIP_PROGRAM
    738 STRIP
    739 install_sh
    740 MAKEINFO
    741 AUTOHEADER
    742 AUTOMAKE
    743 AUTOCONF
    744 ACLOCAL
    745 VERSION
    746 PACKAGE
    747 CYGPATH_W
    748 am__isrc
    749 INSTALL_DATA
    750 INSTALL_SCRIPT
    751 INSTALL_PROGRAM
    752 target_alias
    753 host_alias
    754 build_alias
    755 LIBS
    756 ECHO_T
    757 ECHO_N
    758 ECHO_C
    759 DEFS
    760 mandir
    761 localedir
    762 libdir
    763 psdir
    764 pdfdir
    765 dvidir
    766 htmldir
    767 infodir
    768 docdir
    769 oldincludedir
    770 includedir
    771 localstatedir
    772 sharedstatedir
    773 sysconfdir
    774 datadir
    775 datarootdir
    776 libexecdir
    777 sbindir
    778 bindir
    779 program_transform_name
    780 prefix
    781 exec_prefix
    782 PACKAGE_URL
    783 PACKAGE_BUGREPORT
    784 PACKAGE_STRING
    785 PACKAGE_VERSION
    786 PACKAGE_TARNAME
    787 PACKAGE_NAME
    788 PATH_SEPARATOR
    789 SHELL'
    790 ac_subst_files=''
    791 ac_user_opts='
    792 enable_option_checking
    793 enable_silent_rules
    794 enable_maintainer_mode
    795 enable_dependency_tracking
    796 enable_selective_werror
    797 enable_strict_compilation
    798 enable_static
    799 enable_shared
    800 with_pic
    801 enable_fast_install
    802 with_aix_soname
    803 with_gnu_ld
    804 with_sysroot
    805 enable_libtool_lock
    806 with_xorg_module_dir
    807 enable_xaa
    808 '
    809       ac_precious_vars='build_alias
    810 host_alias
    811 target_alias
    812 CC
    813 CFLAGS
    814 LDFLAGS
    815 LIBS
    816 CPPFLAGS
    817 CPP
    818 PKG_CONFIG
    819 PKG_CONFIG_PATH
    820 PKG_CONFIG_LIBDIR
    821 LT_SYS_LIBRARY_PATH
    822 XORG_CFLAGS
    823 XORG_LIBS
    824 PCIACCESS_CFLAGS
    825 PCIACCESS_LIBS'
    826 
    827 
    828 # Initialize some variables set by options.
    829 ac_init_help=
    830 ac_init_version=false
    831 ac_unrecognized_opts=
    832 ac_unrecognized_sep=
    833 # The variables have the same names as the options, with
    834 # dashes changed to underlines.
    835 cache_file=/dev/null
    836 exec_prefix=NONE
    837 no_create=
    838 no_recursion=
    839 prefix=NONE
    840 program_prefix=NONE
    841 program_suffix=NONE
    842 program_transform_name=s,x,x,
    843 silent=
    844 site=
    845 srcdir=
    846 verbose=
    847 x_includes=NONE
    848 x_libraries=NONE
    849 
    850 # Installation directory options.
    851 # These are left unexpanded so users can "make install exec_prefix=/foo"
    852 # and all the variables that are supposed to be based on exec_prefix
    853 # by default will actually change.
    854 # Use braces instead of parens because sh, perl, etc. also accept them.
    855 # (The list follows the same order as the GNU Coding Standards.)
    856 bindir='${exec_prefix}/bin'
    857 sbindir='${exec_prefix}/sbin'
    858 libexecdir='${exec_prefix}/libexec'
    859 datarootdir='${prefix}/share'
    860 datadir='${datarootdir}'
    861 sysconfdir='${prefix}/etc'
    862 sharedstatedir='${prefix}/com'
    863 localstatedir='${prefix}/var'
    864 includedir='${prefix}/include'
    865 oldincludedir='/usr/include'
    866 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    867 infodir='${datarootdir}/info'
    868 htmldir='${docdir}'
    869 dvidir='${docdir}'
    870 pdfdir='${docdir}'
    871 psdir='${docdir}'
    872 libdir='${exec_prefix}/lib'
    873 localedir='${datarootdir}/locale'
    874 mandir='${datarootdir}/man'
    875 
    876 ac_prev=
    877 ac_dashdash=
    878 for ac_option
    879 do
    880   # If the previous option needs an argument, assign it.
    881   if test -n "$ac_prev"; then
    882     eval $ac_prev=\$ac_option
    883     ac_prev=
    884     continue
    885   fi
    886 
    887   case $ac_option in
    888   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    889   *=)   ac_optarg= ;;
    890   *)    ac_optarg=yes ;;
    891   esac
    892 
    893   # Accept the important Cygnus configure options, so we can diagnose typos.
    894 
    895   case $ac_dashdash$ac_option in
    896   --)
    897     ac_dashdash=yes ;;
    898 
    899   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    900     ac_prev=bindir ;;
    901   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    902     bindir=$ac_optarg ;;
    903 
    904   -build | --build | --buil | --bui | --bu)
    905     ac_prev=build_alias ;;
    906   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    907     build_alias=$ac_optarg ;;
    908 
    909   -cache-file | --cache-file | --cache-fil | --cache-fi \
    910   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    911     ac_prev=cache_file ;;
    912   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    913   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    914     cache_file=$ac_optarg ;;
    915 
    916   --config-cache | -C)
    917     cache_file=config.cache ;;
    918 
    919   -datadir | --datadir | --datadi | --datad)
    920     ac_prev=datadir ;;
    921   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    922     datadir=$ac_optarg ;;
    923 
    924   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    925   | --dataroo | --dataro | --datar)
    926     ac_prev=datarootdir ;;
    927   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    928   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    929     datarootdir=$ac_optarg ;;
    930 
    931   -disable-* | --disable-*)
    932     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    933     # Reject names that are not valid shell variable names.
    934     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    935       as_fn_error $? "invalid feature name: $ac_useropt"
    936     ac_useropt_orig=$ac_useropt
    937     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    938     case $ac_user_opts in
    939       *"
    940 "enable_$ac_useropt"
    941 "*) ;;
    942       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    943 	 ac_unrecognized_sep=', ';;
    944     esac
    945     eval enable_$ac_useropt=no ;;
    946 
    947   -docdir | --docdir | --docdi | --doc | --do)
    948     ac_prev=docdir ;;
    949   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    950     docdir=$ac_optarg ;;
    951 
    952   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    953     ac_prev=dvidir ;;
    954   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    955     dvidir=$ac_optarg ;;
    956 
    957   -enable-* | --enable-*)
    958     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    959     # Reject names that are not valid shell variable names.
    960     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    961       as_fn_error $? "invalid feature name: $ac_useropt"
    962     ac_useropt_orig=$ac_useropt
    963     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    964     case $ac_user_opts in
    965       *"
    966 "enable_$ac_useropt"
    967 "*) ;;
    968       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    969 	 ac_unrecognized_sep=', ';;
    970     esac
    971     eval enable_$ac_useropt=\$ac_optarg ;;
    972 
    973   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    974   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    975   | --exec | --exe | --ex)
    976     ac_prev=exec_prefix ;;
    977   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    978   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    979   | --exec=* | --exe=* | --ex=*)
    980     exec_prefix=$ac_optarg ;;
    981 
    982   -gas | --gas | --ga | --g)
    983     # Obsolete; use --with-gas.
    984     with_gas=yes ;;
    985 
    986   -help | --help | --hel | --he | -h)
    987     ac_init_help=long ;;
    988   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    989     ac_init_help=recursive ;;
    990   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    991     ac_init_help=short ;;
    992 
    993   -host | --host | --hos | --ho)
    994     ac_prev=host_alias ;;
    995   -host=* | --host=* | --hos=* | --ho=*)
    996     host_alias=$ac_optarg ;;
    997 
    998   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    999     ac_prev=htmldir ;;
   1000   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1001   | --ht=*)
   1002     htmldir=$ac_optarg ;;
   1003 
   1004   -includedir | --includedir | --includedi | --included | --include \
   1005   | --includ | --inclu | --incl | --inc)
   1006     ac_prev=includedir ;;
   1007   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1008   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1009     includedir=$ac_optarg ;;
   1010 
   1011   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1012     ac_prev=infodir ;;
   1013   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1014     infodir=$ac_optarg ;;
   1015 
   1016   -libdir | --libdir | --libdi | --libd)
   1017     ac_prev=libdir ;;
   1018   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1019     libdir=$ac_optarg ;;
   1020 
   1021   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1022   | --libexe | --libex | --libe)
   1023     ac_prev=libexecdir ;;
   1024   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1025   | --libexe=* | --libex=* | --libe=*)
   1026     libexecdir=$ac_optarg ;;
   1027 
   1028   -localedir | --localedir | --localedi | --localed | --locale)
   1029     ac_prev=localedir ;;
   1030   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1031     localedir=$ac_optarg ;;
   1032 
   1033   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1034   | --localstate | --localstat | --localsta | --localst | --locals)
   1035     ac_prev=localstatedir ;;
   1036   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1037   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1038     localstatedir=$ac_optarg ;;
   1039 
   1040   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1041     ac_prev=mandir ;;
   1042   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1043     mandir=$ac_optarg ;;
   1044 
   1045   -nfp | --nfp | --nf)
   1046     # Obsolete; use --without-fp.
   1047     with_fp=no ;;
   1048 
   1049   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1050   | --no-cr | --no-c | -n)
   1051     no_create=yes ;;
   1052 
   1053   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1054   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1055     no_recursion=yes ;;
   1056 
   1057   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1058   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1059   | --oldin | --oldi | --old | --ol | --o)
   1060     ac_prev=oldincludedir ;;
   1061   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1062   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1063   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1064     oldincludedir=$ac_optarg ;;
   1065 
   1066   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1067     ac_prev=prefix ;;
   1068   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1069     prefix=$ac_optarg ;;
   1070 
   1071   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1072   | --program-pre | --program-pr | --program-p)
   1073     ac_prev=program_prefix ;;
   1074   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1075   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1076     program_prefix=$ac_optarg ;;
   1077 
   1078   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1079   | --program-suf | --program-su | --program-s)
   1080     ac_prev=program_suffix ;;
   1081   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1082   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1083     program_suffix=$ac_optarg ;;
   1084 
   1085   -program-transform-name | --program-transform-name \
   1086   | --program-transform-nam | --program-transform-na \
   1087   | --program-transform-n | --program-transform- \
   1088   | --program-transform | --program-transfor \
   1089   | --program-transfo | --program-transf \
   1090   | --program-trans | --program-tran \
   1091   | --progr-tra | --program-tr | --program-t)
   1092     ac_prev=program_transform_name ;;
   1093   -program-transform-name=* | --program-transform-name=* \
   1094   | --program-transform-nam=* | --program-transform-na=* \
   1095   | --program-transform-n=* | --program-transform-=* \
   1096   | --program-transform=* | --program-transfor=* \
   1097   | --program-transfo=* | --program-transf=* \
   1098   | --program-trans=* | --program-tran=* \
   1099   | --progr-tra=* | --program-tr=* | --program-t=*)
   1100     program_transform_name=$ac_optarg ;;
   1101 
   1102   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1103     ac_prev=pdfdir ;;
   1104   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1105     pdfdir=$ac_optarg ;;
   1106 
   1107   -psdir | --psdir | --psdi | --psd | --ps)
   1108     ac_prev=psdir ;;
   1109   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1110     psdir=$ac_optarg ;;
   1111 
   1112   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1113   | -silent | --silent | --silen | --sile | --sil)
   1114     silent=yes ;;
   1115 
   1116   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1117     ac_prev=sbindir ;;
   1118   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1119   | --sbi=* | --sb=*)
   1120     sbindir=$ac_optarg ;;
   1121 
   1122   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1123   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1124   | --sharedst | --shareds | --shared | --share | --shar \
   1125   | --sha | --sh)
   1126     ac_prev=sharedstatedir ;;
   1127   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1128   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1129   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1130   | --sha=* | --sh=*)
   1131     sharedstatedir=$ac_optarg ;;
   1132 
   1133   -site | --site | --sit)
   1134     ac_prev=site ;;
   1135   -site=* | --site=* | --sit=*)
   1136     site=$ac_optarg ;;
   1137 
   1138   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1139     ac_prev=srcdir ;;
   1140   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1141     srcdir=$ac_optarg ;;
   1142 
   1143   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1144   | --syscon | --sysco | --sysc | --sys | --sy)
   1145     ac_prev=sysconfdir ;;
   1146   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1147   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1148     sysconfdir=$ac_optarg ;;
   1149 
   1150   -target | --target | --targe | --targ | --tar | --ta | --t)
   1151     ac_prev=target_alias ;;
   1152   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1153     target_alias=$ac_optarg ;;
   1154 
   1155   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1156     verbose=yes ;;
   1157 
   1158   -version | --version | --versio | --versi | --vers | -V)
   1159     ac_init_version=: ;;
   1160 
   1161   -with-* | --with-*)
   1162     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1163     # Reject names that are not valid shell variable names.
   1164     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1165       as_fn_error $? "invalid package name: $ac_useropt"
   1166     ac_useropt_orig=$ac_useropt
   1167     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1168     case $ac_user_opts in
   1169       *"
   1170 "with_$ac_useropt"
   1171 "*) ;;
   1172       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1173 	 ac_unrecognized_sep=', ';;
   1174     esac
   1175     eval with_$ac_useropt=\$ac_optarg ;;
   1176 
   1177   -without-* | --without-*)
   1178     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1179     # Reject names that are not valid shell variable names.
   1180     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1181       as_fn_error $? "invalid package name: $ac_useropt"
   1182     ac_useropt_orig=$ac_useropt
   1183     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1184     case $ac_user_opts in
   1185       *"
   1186 "with_$ac_useropt"
   1187 "*) ;;
   1188       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1189 	 ac_unrecognized_sep=', ';;
   1190     esac
   1191     eval with_$ac_useropt=no ;;
   1192 
   1193   --x)
   1194     # Obsolete; use --with-x.
   1195     with_x=yes ;;
   1196 
   1197   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1198   | --x-incl | --x-inc | --x-in | --x-i)
   1199     ac_prev=x_includes ;;
   1200   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1201   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1202     x_includes=$ac_optarg ;;
   1203 
   1204   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1205   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1206     ac_prev=x_libraries ;;
   1207   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1208   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1209     x_libraries=$ac_optarg ;;
   1210 
   1211   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1212 Try \`$0 --help' for more information"
   1213     ;;
   1214 
   1215   *=*)
   1216     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1217     # Reject names that are not valid shell variable names.
   1218     case $ac_envvar in #(
   1219       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1220       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1221     esac
   1222     eval $ac_envvar=\$ac_optarg
   1223     export $ac_envvar ;;
   1224 
   1225   *)
   1226     # FIXME: should be removed in autoconf 3.0.
   1227     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1228     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1229       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1230     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1231     ;;
   1232 
   1233   esac
   1234 done
   1235 
   1236 if test -n "$ac_prev"; then
   1237   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1238   as_fn_error $? "missing argument to $ac_option"
   1239 fi
   1240 
   1241 if test -n "$ac_unrecognized_opts"; then
   1242   case $enable_option_checking in
   1243     no) ;;
   1244     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1245     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1246   esac
   1247 fi
   1248 
   1249 # Check all directory arguments for consistency.
   1250 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1251 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1252 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1253 		libdir localedir mandir
   1254 do
   1255   eval ac_val=\$$ac_var
   1256   # Remove trailing slashes.
   1257   case $ac_val in
   1258     */ )
   1259       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1260       eval $ac_var=\$ac_val;;
   1261   esac
   1262   # Be sure to have absolute directory names.
   1263   case $ac_val in
   1264     [\\/$]* | ?:[\\/]* )  continue;;
   1265     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1266   esac
   1267   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1268 done
   1269 
   1270 # There might be people who depend on the old broken behavior: `$host'
   1271 # used to hold the argument of --host etc.
   1272 # FIXME: To remove some day.
   1273 build=$build_alias
   1274 host=$host_alias
   1275 target=$target_alias
   1276 
   1277 # FIXME: To remove some day.
   1278 if test "x$host_alias" != x; then
   1279   if test "x$build_alias" = x; then
   1280     cross_compiling=maybe
   1281   elif test "x$build_alias" != "x$host_alias"; then
   1282     cross_compiling=yes
   1283   fi
   1284 fi
   1285 
   1286 ac_tool_prefix=
   1287 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1288 
   1289 test "$silent" = yes && exec 6>/dev/null
   1290 
   1291 
   1292 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1293 ac_ls_di=`ls -di .` &&
   1294 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1295   as_fn_error $? "working directory cannot be determined"
   1296 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1297   as_fn_error $? "pwd does not report name of working directory"
   1298 
   1299 
   1300 # Find the source files, if location was not specified.
   1301 if test -z "$srcdir"; then
   1302   ac_srcdir_defaulted=yes
   1303   # Try the directory containing this script, then the parent directory.
   1304   ac_confdir=`$as_dirname -- "$as_myself" ||
   1305 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1306 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1307 	 X"$as_myself" : 'X\(//\)$' \| \
   1308 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1309 $as_echo X"$as_myself" |
   1310     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1311 	    s//\1/
   1312 	    q
   1313 	  }
   1314 	  /^X\(\/\/\)[^/].*/{
   1315 	    s//\1/
   1316 	    q
   1317 	  }
   1318 	  /^X\(\/\/\)$/{
   1319 	    s//\1/
   1320 	    q
   1321 	  }
   1322 	  /^X\(\/\).*/{
   1323 	    s//\1/
   1324 	    q
   1325 	  }
   1326 	  s/.*/./; q'`
   1327   srcdir=$ac_confdir
   1328   if test ! -r "$srcdir/$ac_unique_file"; then
   1329     srcdir=..
   1330   fi
   1331 else
   1332   ac_srcdir_defaulted=no
   1333 fi
   1334 if test ! -r "$srcdir/$ac_unique_file"; then
   1335   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1336   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1337 fi
   1338 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1339 ac_abs_confdir=`(
   1340 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1341 	pwd)`
   1342 # When building in place, set srcdir=.
   1343 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1344   srcdir=.
   1345 fi
   1346 # Remove unnecessary trailing slashes from srcdir.
   1347 # Double slashes in file names in object file debugging info
   1348 # mess up M-x gdb in Emacs.
   1349 case $srcdir in
   1350 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1351 esac
   1352 for ac_var in $ac_precious_vars; do
   1353   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1354   eval ac_env_${ac_var}_value=\$${ac_var}
   1355   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1356   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1357 done
   1358 
   1359 #
   1360 # Report the --help message.
   1361 #
   1362 if test "$ac_init_help" = "long"; then
   1363   # Omit some internal or obsolete options to make the list less imposing.
   1364   # This message is too long to be a string in the A/UX 3.1 sh.
   1365   cat <<_ACEOF
   1366 \`configure' configures xf86-video-chips 1.2.6 to adapt to many kinds of systems.
   1367 
   1368 Usage: $0 [OPTION]... [VAR=VALUE]...
   1369 
   1370 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1371 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1372 
   1373 Defaults for the options are specified in brackets.
   1374 
   1375 Configuration:
   1376   -h, --help              display this help and exit
   1377       --help=short        display options specific to this package
   1378       --help=recursive    display the short help of all the included packages
   1379   -V, --version           display version information and exit
   1380   -q, --quiet, --silent   do not print \`checking ...' messages
   1381       --cache-file=FILE   cache test results in FILE [disabled]
   1382   -C, --config-cache      alias for \`--cache-file=config.cache'
   1383   -n, --no-create         do not create output files
   1384       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1385 
   1386 Installation directories:
   1387   --prefix=PREFIX         install architecture-independent files in PREFIX
   1388                           [$ac_default_prefix]
   1389   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1390                           [PREFIX]
   1391 
   1392 By default, \`make install' will install all the files in
   1393 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1394 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1395 for instance \`--prefix=\$HOME'.
   1396 
   1397 For better control, use the options below.
   1398 
   1399 Fine tuning of the installation directories:
   1400   --bindir=DIR            user executables [EPREFIX/bin]
   1401   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1402   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1403   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1404   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1405   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1406   --libdir=DIR            object code libraries [EPREFIX/lib]
   1407   --includedir=DIR        C header files [PREFIX/include]
   1408   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1409   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1410   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1411   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1412   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1413   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1414   --docdir=DIR            documentation root
   1415                           [DATAROOTDIR/doc/xf86-video-chips]
   1416   --htmldir=DIR           html documentation [DOCDIR]
   1417   --dvidir=DIR            dvi documentation [DOCDIR]
   1418   --pdfdir=DIR            pdf documentation [DOCDIR]
   1419   --psdir=DIR             ps documentation [DOCDIR]
   1420 _ACEOF
   1421 
   1422   cat <<\_ACEOF
   1423 
   1424 Program names:
   1425   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1426   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1427   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1428 
   1429 System types:
   1430   --build=BUILD     configure for building on BUILD [guessed]
   1431   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1432 _ACEOF
   1433 fi
   1434 
   1435 if test -n "$ac_init_help"; then
   1436   case $ac_init_help in
   1437      short | recursive ) echo "Configuration of xf86-video-chips 1.2.6:";;
   1438    esac
   1439   cat <<\_ACEOF
   1440 
   1441 Optional Features:
   1442   --disable-option-checking  ignore unrecognized --enable/--with options
   1443   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1444   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1445   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1446   --disable-silent-rules  verbose build output (undo: "make V=0")
   1447   --enable-maintainer-mode
   1448                           enable make rules and dependencies not useful (and
   1449                           sometimes confusing) to the casual installer
   1450   --enable-dependency-tracking
   1451                           do not reject slow dependency extractors
   1452   --disable-dependency-tracking
   1453                           speeds up one-time build
   1454   --disable-selective-werror
   1455                           Turn off selective compiler errors. (default:
   1456                           enabled)
   1457   --enable-strict-compilation
   1458                           Enable all warnings from compiler and make them
   1459                           errors (default: disabled)
   1460   --enable-static[=PKGS]  build static libraries [default=no]
   1461   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1462   --enable-fast-install[=PKGS]
   1463                           optimize for fast installation [default=yes]
   1464   --disable-libtool-lock  avoid locking (might break parallel builds)
   1465   --enable-xaa            Enable legacy X Acceleration Architecture (XAA)
   1466                           [default=auto]
   1467 
   1468 Optional Packages:
   1469   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1470   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1471   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1472                           both]
   1473   --with-aix-soname=aix|svr4|both
   1474                           shared library versioning (aka "SONAME") variant to
   1475                           provide on AIX, [default=aix].
   1476   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1477   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1478                           compiler's sysroot if not specified).
   1479   --with-xorg-module-dir=DIR
   1480                           Default xorg module directory
   1481                           [[default=$libdir/xorg/modules]]
   1482 
   1483 Some influential environment variables:
   1484   CC          C compiler command
   1485   CFLAGS      C compiler flags
   1486   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1487               nonstandard directory <lib dir>
   1488   LIBS        libraries to pass to the linker, e.g. -l<library>
   1489   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1490               you have headers in a nonstandard directory <include dir>
   1491   CPP         C preprocessor
   1492   PKG_CONFIG  path to pkg-config utility
   1493   PKG_CONFIG_PATH
   1494               directories to add to pkg-config's search path
   1495   PKG_CONFIG_LIBDIR
   1496               path overriding pkg-config's built-in search path
   1497   LT_SYS_LIBRARY_PATH
   1498               User-defined run-time library search path.
   1499   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1500   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1501   PCIACCESS_CFLAGS
   1502               C compiler flags for PCIACCESS, overriding pkg-config
   1503   PCIACCESS_LIBS
   1504               linker flags for PCIACCESS, overriding pkg-config
   1505 
   1506 Use these variables to override the choices made by `configure' or to help
   1507 it to find libraries and programs with nonstandard names/locations.
   1508 
   1509 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1510 _ACEOF
   1511 ac_status=$?
   1512 fi
   1513 
   1514 if test "$ac_init_help" = "recursive"; then
   1515   # If there are subdirs, report their specific --help.
   1516   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1517     test -d "$ac_dir" ||
   1518       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1519       continue
   1520     ac_builddir=.
   1521 
   1522 case "$ac_dir" in
   1523 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1524 *)
   1525   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1526   # A ".." for each directory in $ac_dir_suffix.
   1527   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1528   case $ac_top_builddir_sub in
   1529   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1530   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1531   esac ;;
   1532 esac
   1533 ac_abs_top_builddir=$ac_pwd
   1534 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1535 # for backward compatibility:
   1536 ac_top_builddir=$ac_top_build_prefix
   1537 
   1538 case $srcdir in
   1539   .)  # We are building in place.
   1540     ac_srcdir=.
   1541     ac_top_srcdir=$ac_top_builddir_sub
   1542     ac_abs_top_srcdir=$ac_pwd ;;
   1543   [\\/]* | ?:[\\/]* )  # Absolute name.
   1544     ac_srcdir=$srcdir$ac_dir_suffix;
   1545     ac_top_srcdir=$srcdir
   1546     ac_abs_top_srcdir=$srcdir ;;
   1547   *) # Relative name.
   1548     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1549     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1550     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1551 esac
   1552 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1553 
   1554     cd "$ac_dir" || { ac_status=$?; continue; }
   1555     # Check for guested configure.
   1556     if test -f "$ac_srcdir/configure.gnu"; then
   1557       echo &&
   1558       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1559     elif test -f "$ac_srcdir/configure"; then
   1560       echo &&
   1561       $SHELL "$ac_srcdir/configure" --help=recursive
   1562     else
   1563       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1564     fi || ac_status=$?
   1565     cd "$ac_pwd" || { ac_status=$?; break; }
   1566   done
   1567 fi
   1568 
   1569 test -n "$ac_init_help" && exit $ac_status
   1570 if $ac_init_version; then
   1571   cat <<\_ACEOF
   1572 xf86-video-chips configure 1.2.6
   1573 generated by GNU Autoconf 2.69
   1574 
   1575 Copyright (C) 2012 Free Software Foundation, Inc.
   1576 This configure script is free software; the Free Software Foundation
   1577 gives unlimited permission to copy, distribute and modify it.
   1578 _ACEOF
   1579   exit
   1580 fi
   1581 
   1582 ## ------------------------ ##
   1583 ## Autoconf initialization. ##
   1584 ## ------------------------ ##
   1585 
   1586 # ac_fn_c_try_compile LINENO
   1587 # --------------------------
   1588 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1589 ac_fn_c_try_compile ()
   1590 {
   1591   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1592   rm -f conftest.$ac_objext
   1593   if { { ac_try="$ac_compile"
   1594 case "(($ac_try" in
   1595   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1596   *) ac_try_echo=$ac_try;;
   1597 esac
   1598 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1599 $as_echo "$ac_try_echo"; } >&5
   1600   (eval "$ac_compile") 2>conftest.err
   1601   ac_status=$?
   1602   if test -s conftest.err; then
   1603     grep -v '^ *+' conftest.err >conftest.er1
   1604     cat conftest.er1 >&5
   1605     mv -f conftest.er1 conftest.err
   1606   fi
   1607   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1608   test $ac_status = 0; } && {
   1609 	 test -z "$ac_c_werror_flag" ||
   1610 	 test ! -s conftest.err
   1611        } && test -s conftest.$ac_objext; then :
   1612   ac_retval=0
   1613 else
   1614   $as_echo "$as_me: failed program was:" >&5
   1615 sed 's/^/| /' conftest.$ac_ext >&5
   1616 
   1617 	ac_retval=1
   1618 fi
   1619   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1620   as_fn_set_status $ac_retval
   1621 
   1622 } # ac_fn_c_try_compile
   1623 
   1624 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1625 # ---------------------------------------------
   1626 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1627 # accordingly.
   1628 ac_fn_c_check_decl ()
   1629 {
   1630   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1631   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1632   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1633   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1634 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1635 if eval \${$3+:} false; then :
   1636   $as_echo_n "(cached) " >&6
   1637 else
   1638   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1639 /* end confdefs.h.  */
   1640 $4
   1641 int
   1642 main ()
   1643 {
   1644 #ifndef $as_decl_name
   1645 #ifdef __cplusplus
   1646   (void) $as_decl_use;
   1647 #else
   1648   (void) $as_decl_name;
   1649 #endif
   1650 #endif
   1651 
   1652   ;
   1653   return 0;
   1654 }
   1655 _ACEOF
   1656 if ac_fn_c_try_compile "$LINENO"; then :
   1657   eval "$3=yes"
   1658 else
   1659   eval "$3=no"
   1660 fi
   1661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1662 fi
   1663 eval ac_res=\$$3
   1664 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1665 $as_echo "$ac_res" >&6; }
   1666   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1667 
   1668 } # ac_fn_c_check_decl
   1669 
   1670 # ac_fn_c_try_cpp LINENO
   1671 # ----------------------
   1672 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1673 ac_fn_c_try_cpp ()
   1674 {
   1675   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1676   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1677 case "(($ac_try" in
   1678   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1679   *) ac_try_echo=$ac_try;;
   1680 esac
   1681 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1682 $as_echo "$ac_try_echo"; } >&5
   1683   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1684   ac_status=$?
   1685   if test -s conftest.err; then
   1686     grep -v '^ *+' conftest.err >conftest.er1
   1687     cat conftest.er1 >&5
   1688     mv -f conftest.er1 conftest.err
   1689   fi
   1690   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1691   test $ac_status = 0; } > conftest.i && {
   1692 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1693 	 test ! -s conftest.err
   1694        }; then :
   1695   ac_retval=0
   1696 else
   1697   $as_echo "$as_me: failed program was:" >&5
   1698 sed 's/^/| /' conftest.$ac_ext >&5
   1699 
   1700     ac_retval=1
   1701 fi
   1702   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1703   as_fn_set_status $ac_retval
   1704 
   1705 } # ac_fn_c_try_cpp
   1706 
   1707 # ac_fn_c_try_run LINENO
   1708 # ----------------------
   1709 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1710 # that executables *can* be run.
   1711 ac_fn_c_try_run ()
   1712 {
   1713   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1714   if { { ac_try="$ac_link"
   1715 case "(($ac_try" in
   1716   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1717   *) ac_try_echo=$ac_try;;
   1718 esac
   1719 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1720 $as_echo "$ac_try_echo"; } >&5
   1721   (eval "$ac_link") 2>&5
   1722   ac_status=$?
   1723   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1724   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1725   { { case "(($ac_try" in
   1726   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1727   *) ac_try_echo=$ac_try;;
   1728 esac
   1729 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1730 $as_echo "$ac_try_echo"; } >&5
   1731   (eval "$ac_try") 2>&5
   1732   ac_status=$?
   1733   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1734   test $ac_status = 0; }; }; then :
   1735   ac_retval=0
   1736 else
   1737   $as_echo "$as_me: program exited with status $ac_status" >&5
   1738        $as_echo "$as_me: failed program was:" >&5
   1739 sed 's/^/| /' conftest.$ac_ext >&5
   1740 
   1741        ac_retval=$ac_status
   1742 fi
   1743   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1744   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1745   as_fn_set_status $ac_retval
   1746 
   1747 } # ac_fn_c_try_run
   1748 
   1749 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1750 # -------------------------------------------------------
   1751 # Tests whether HEADER exists and can be compiled using the include files in
   1752 # INCLUDES, setting the cache variable VAR accordingly.
   1753 ac_fn_c_check_header_compile ()
   1754 {
   1755   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1756   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1757 $as_echo_n "checking for $2... " >&6; }
   1758 if eval \${$3+:} false; then :
   1759   $as_echo_n "(cached) " >&6
   1760 else
   1761   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1762 /* end confdefs.h.  */
   1763 $4
   1764 #include <$2>
   1765 _ACEOF
   1766 if ac_fn_c_try_compile "$LINENO"; then :
   1767   eval "$3=yes"
   1768 else
   1769   eval "$3=no"
   1770 fi
   1771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1772 fi
   1773 eval ac_res=\$$3
   1774 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1775 $as_echo "$ac_res" >&6; }
   1776   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1777 
   1778 } # ac_fn_c_check_header_compile
   1779 
   1780 # ac_fn_c_try_link LINENO
   1781 # -----------------------
   1782 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1783 ac_fn_c_try_link ()
   1784 {
   1785   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1786   rm -f conftest.$ac_objext conftest$ac_exeext
   1787   if { { ac_try="$ac_link"
   1788 case "(($ac_try" in
   1789   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1790   *) ac_try_echo=$ac_try;;
   1791 esac
   1792 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1793 $as_echo "$ac_try_echo"; } >&5
   1794   (eval "$ac_link") 2>conftest.err
   1795   ac_status=$?
   1796   if test -s conftest.err; then
   1797     grep -v '^ *+' conftest.err >conftest.er1
   1798     cat conftest.er1 >&5
   1799     mv -f conftest.er1 conftest.err
   1800   fi
   1801   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1802   test $ac_status = 0; } && {
   1803 	 test -z "$ac_c_werror_flag" ||
   1804 	 test ! -s conftest.err
   1805        } && test -s conftest$ac_exeext && {
   1806 	 test "$cross_compiling" = yes ||
   1807 	 test -x conftest$ac_exeext
   1808        }; then :
   1809   ac_retval=0
   1810 else
   1811   $as_echo "$as_me: failed program was:" >&5
   1812 sed 's/^/| /' conftest.$ac_ext >&5
   1813 
   1814 	ac_retval=1
   1815 fi
   1816   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1817   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1818   # interfere with the next link command; also delete a directory that is
   1819   # left behind by Apple's compiler.  We do this before executing the actions.
   1820   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1821   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1822   as_fn_set_status $ac_retval
   1823 
   1824 } # ac_fn_c_try_link
   1825 
   1826 # ac_fn_c_check_func LINENO FUNC VAR
   1827 # ----------------------------------
   1828 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1829 ac_fn_c_check_func ()
   1830 {
   1831   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1832   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1833 $as_echo_n "checking for $2... " >&6; }
   1834 if eval \${$3+:} false; then :
   1835   $as_echo_n "(cached) " >&6
   1836 else
   1837   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1838 /* end confdefs.h.  */
   1839 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1840    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1841 #define $2 innocuous_$2
   1842 
   1843 /* System header to define __stub macros and hopefully few prototypes,
   1844     which can conflict with char $2 (); below.
   1845     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1846     <limits.h> exists even on freestanding compilers.  */
   1847 
   1848 #ifdef __STDC__
   1849 # include <limits.h>
   1850 #else
   1851 # include <assert.h>
   1852 #endif
   1853 
   1854 #undef $2
   1855 
   1856 /* Override any GCC internal prototype to avoid an error.
   1857    Use char because int might match the return type of a GCC
   1858    builtin and then its argument prototype would still apply.  */
   1859 #ifdef __cplusplus
   1860 extern "C"
   1861 #endif
   1862 char $2 ();
   1863 /* The GNU C library defines this for functions which it implements
   1864     to always fail with ENOSYS.  Some functions are actually named
   1865     something starting with __ and the normal name is an alias.  */
   1866 #if defined __stub_$2 || defined __stub___$2
   1867 choke me
   1868 #endif
   1869 
   1870 int
   1871 main ()
   1872 {
   1873 return $2 ();
   1874   ;
   1875   return 0;
   1876 }
   1877 _ACEOF
   1878 if ac_fn_c_try_link "$LINENO"; then :
   1879   eval "$3=yes"
   1880 else
   1881   eval "$3=no"
   1882 fi
   1883 rm -f core conftest.err conftest.$ac_objext \
   1884     conftest$ac_exeext conftest.$ac_ext
   1885 fi
   1886 eval ac_res=\$$3
   1887 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1888 $as_echo "$ac_res" >&6; }
   1889   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1890 
   1891 } # ac_fn_c_check_func
   1892 
   1893 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1894 # -------------------------------------------------------
   1895 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1896 # the include files in INCLUDES and setting the cache variable VAR
   1897 # accordingly.
   1898 ac_fn_c_check_header_mongrel ()
   1899 {
   1900   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1901   if eval \${$3+:} false; then :
   1902   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1903 $as_echo_n "checking for $2... " >&6; }
   1904 if eval \${$3+:} false; then :
   1905   $as_echo_n "(cached) " >&6
   1906 fi
   1907 eval ac_res=\$$3
   1908 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1909 $as_echo "$ac_res" >&6; }
   1910 else
   1911   # Is the header compilable?
   1912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1913 $as_echo_n "checking $2 usability... " >&6; }
   1914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1915 /* end confdefs.h.  */
   1916 $4
   1917 #include <$2>
   1918 _ACEOF
   1919 if ac_fn_c_try_compile "$LINENO"; then :
   1920   ac_header_compiler=yes
   1921 else
   1922   ac_header_compiler=no
   1923 fi
   1924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1926 $as_echo "$ac_header_compiler" >&6; }
   1927 
   1928 # Is the header present?
   1929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1930 $as_echo_n "checking $2 presence... " >&6; }
   1931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1932 /* end confdefs.h.  */
   1933 #include <$2>
   1934 _ACEOF
   1935 if ac_fn_c_try_cpp "$LINENO"; then :
   1936   ac_header_preproc=yes
   1937 else
   1938   ac_header_preproc=no
   1939 fi
   1940 rm -f conftest.err conftest.i conftest.$ac_ext
   1941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1942 $as_echo "$ac_header_preproc" >&6; }
   1943 
   1944 # So?  What about this header?
   1945 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1946   yes:no: )
   1947     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1948 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1949     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1950 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1951     ;;
   1952   no:yes:* )
   1953     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1954 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1955     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1956 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1957     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1958 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1959     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1960 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1961     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1962 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1963 ( $as_echo "## ---------------------------------------------------------------------- ##
   1964 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   1965 ## ---------------------------------------------------------------------- ##"
   1966      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1967     ;;
   1968 esac
   1969   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1970 $as_echo_n "checking for $2... " >&6; }
   1971 if eval \${$3+:} false; then :
   1972   $as_echo_n "(cached) " >&6
   1973 else
   1974   eval "$3=\$ac_header_compiler"
   1975 fi
   1976 eval ac_res=\$$3
   1977 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1978 $as_echo "$ac_res" >&6; }
   1979 fi
   1980   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1981 
   1982 } # ac_fn_c_check_header_mongrel
   1983 cat >config.log <<_ACEOF
   1984 This file contains any messages produced by compilers while
   1985 running configure, to aid debugging if configure makes a mistake.
   1986 
   1987 It was created by xf86-video-chips $as_me 1.2.6, which was
   1988 generated by GNU Autoconf 2.69.  Invocation command line was
   1989 
   1990   $ $0 $@
   1991 
   1992 _ACEOF
   1993 exec 5>>config.log
   1994 {
   1995 cat <<_ASUNAME
   1996 ## --------- ##
   1997 ## Platform. ##
   1998 ## --------- ##
   1999 
   2000 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2001 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2002 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2003 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2004 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2005 
   2006 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2007 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2008 
   2009 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2010 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2011 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2012 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2013 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2014 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2015 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2016 
   2017 _ASUNAME
   2018 
   2019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2020 for as_dir in $PATH
   2021 do
   2022   IFS=$as_save_IFS
   2023   test -z "$as_dir" && as_dir=.
   2024     $as_echo "PATH: $as_dir"
   2025   done
   2026 IFS=$as_save_IFS
   2027 
   2028 } >&5
   2029 
   2030 cat >&5 <<_ACEOF
   2031 
   2032 
   2033 ## ----------- ##
   2034 ## Core tests. ##
   2035 ## ----------- ##
   2036 
   2037 _ACEOF
   2038 
   2039 
   2040 # Keep a trace of the command line.
   2041 # Strip out --no-create and --no-recursion so they do not pile up.
   2042 # Strip out --silent because we don't want to record it for future runs.
   2043 # Also quote any args containing shell meta-characters.
   2044 # Make two passes to allow for proper duplicate-argument suppression.
   2045 ac_configure_args=
   2046 ac_configure_args0=
   2047 ac_configure_args1=
   2048 ac_must_keep_next=false
   2049 for ac_pass in 1 2
   2050 do
   2051   for ac_arg
   2052   do
   2053     case $ac_arg in
   2054     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2055     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2056     | -silent | --silent | --silen | --sile | --sil)
   2057       continue ;;
   2058     *\'*)
   2059       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2060     esac
   2061     case $ac_pass in
   2062     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2063     2)
   2064       as_fn_append ac_configure_args1 " '$ac_arg'"
   2065       if test $ac_must_keep_next = true; then
   2066 	ac_must_keep_next=false # Got value, back to normal.
   2067       else
   2068 	case $ac_arg in
   2069 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2070 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2071 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2072 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2073 	    case "$ac_configure_args0 " in
   2074 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2075 	    esac
   2076 	    ;;
   2077 	  -* ) ac_must_keep_next=true ;;
   2078 	esac
   2079       fi
   2080       as_fn_append ac_configure_args " '$ac_arg'"
   2081       ;;
   2082     esac
   2083   done
   2084 done
   2085 { ac_configure_args0=; unset ac_configure_args0;}
   2086 { ac_configure_args1=; unset ac_configure_args1;}
   2087 
   2088 # When interrupted or exit'd, cleanup temporary files, and complete
   2089 # config.log.  We remove comments because anyway the quotes in there
   2090 # would cause problems or look ugly.
   2091 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2092 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2093 trap 'exit_status=$?
   2094   # Save into config.log some information that might help in debugging.
   2095   {
   2096     echo
   2097 
   2098     $as_echo "## ---------------- ##
   2099 ## Cache variables. ##
   2100 ## ---------------- ##"
   2101     echo
   2102     # The following way of writing the cache mishandles newlines in values,
   2103 (
   2104   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2105     eval ac_val=\$$ac_var
   2106     case $ac_val in #(
   2107     *${as_nl}*)
   2108       case $ac_var in #(
   2109       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2110 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2111       esac
   2112       case $ac_var in #(
   2113       _ | IFS | as_nl) ;; #(
   2114       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2115       *) { eval $ac_var=; unset $ac_var;} ;;
   2116       esac ;;
   2117     esac
   2118   done
   2119   (set) 2>&1 |
   2120     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2121     *${as_nl}ac_space=\ *)
   2122       sed -n \
   2123 	"s/'\''/'\''\\\\'\'''\''/g;
   2124 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2125       ;; #(
   2126     *)
   2127       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2128       ;;
   2129     esac |
   2130     sort
   2131 )
   2132     echo
   2133 
   2134     $as_echo "## ----------------- ##
   2135 ## Output variables. ##
   2136 ## ----------------- ##"
   2137     echo
   2138     for ac_var in $ac_subst_vars
   2139     do
   2140       eval ac_val=\$$ac_var
   2141       case $ac_val in
   2142       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2143       esac
   2144       $as_echo "$ac_var='\''$ac_val'\''"
   2145     done | sort
   2146     echo
   2147 
   2148     if test -n "$ac_subst_files"; then
   2149       $as_echo "## ------------------- ##
   2150 ## File substitutions. ##
   2151 ## ------------------- ##"
   2152       echo
   2153       for ac_var in $ac_subst_files
   2154       do
   2155 	eval ac_val=\$$ac_var
   2156 	case $ac_val in
   2157 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2158 	esac
   2159 	$as_echo "$ac_var='\''$ac_val'\''"
   2160       done | sort
   2161       echo
   2162     fi
   2163 
   2164     if test -s confdefs.h; then
   2165       $as_echo "## ----------- ##
   2166 ## confdefs.h. ##
   2167 ## ----------- ##"
   2168       echo
   2169       cat confdefs.h
   2170       echo
   2171     fi
   2172     test "$ac_signal" != 0 &&
   2173       $as_echo "$as_me: caught signal $ac_signal"
   2174     $as_echo "$as_me: exit $exit_status"
   2175   } >&5
   2176   rm -f core *.core core.conftest.* &&
   2177     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2178     exit $exit_status
   2179 ' 0
   2180 for ac_signal in 1 2 13 15; do
   2181   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2182 done
   2183 ac_signal=0
   2184 
   2185 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2186 rm -f -r conftest* confdefs.h
   2187 
   2188 $as_echo "/* confdefs.h */" > confdefs.h
   2189 
   2190 # Predefined preprocessor variables.
   2191 
   2192 cat >>confdefs.h <<_ACEOF
   2193 #define PACKAGE_NAME "$PACKAGE_NAME"
   2194 _ACEOF
   2195 
   2196 cat >>confdefs.h <<_ACEOF
   2197 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2198 _ACEOF
   2199 
   2200 cat >>confdefs.h <<_ACEOF
   2201 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2202 _ACEOF
   2203 
   2204 cat >>confdefs.h <<_ACEOF
   2205 #define PACKAGE_STRING "$PACKAGE_STRING"
   2206 _ACEOF
   2207 
   2208 cat >>confdefs.h <<_ACEOF
   2209 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2210 _ACEOF
   2211 
   2212 cat >>confdefs.h <<_ACEOF
   2213 #define PACKAGE_URL "$PACKAGE_URL"
   2214 _ACEOF
   2215 
   2216 
   2217 # Let the site file select an alternate cache file if it wants to.
   2218 # Prefer an explicitly selected file to automatically selected ones.
   2219 ac_site_file1=NONE
   2220 ac_site_file2=NONE
   2221 if test -n "$CONFIG_SITE"; then
   2222   # We do not want a PATH search for config.site.
   2223   case $CONFIG_SITE in #((
   2224     -*)  ac_site_file1=./$CONFIG_SITE;;
   2225     */*) ac_site_file1=$CONFIG_SITE;;
   2226     *)   ac_site_file1=./$CONFIG_SITE;;
   2227   esac
   2228 elif test "x$prefix" != xNONE; then
   2229   ac_site_file1=$prefix/share/config.site
   2230   ac_site_file2=$prefix/etc/config.site
   2231 else
   2232   ac_site_file1=$ac_default_prefix/share/config.site
   2233   ac_site_file2=$ac_default_prefix/etc/config.site
   2234 fi
   2235 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2236 do
   2237   test "x$ac_site_file" = xNONE && continue
   2238   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2239     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2240 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2241     sed 's/^/| /' "$ac_site_file" >&5
   2242     . "$ac_site_file" \
   2243       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2244 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2245 as_fn_error $? "failed to load site script $ac_site_file
   2246 See \`config.log' for more details" "$LINENO" 5; }
   2247   fi
   2248 done
   2249 
   2250 if test -r "$cache_file"; then
   2251   # Some versions of bash will fail to source /dev/null (special files
   2252   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2253   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2254     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2255 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2256     case $cache_file in
   2257       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2258       *)                      . "./$cache_file";;
   2259     esac
   2260   fi
   2261 else
   2262   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2263 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2264   >$cache_file
   2265 fi
   2266 
   2267 # Check that the precious variables saved in the cache have kept the same
   2268 # value.
   2269 ac_cache_corrupted=false
   2270 for ac_var in $ac_precious_vars; do
   2271   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2272   eval ac_new_set=\$ac_env_${ac_var}_set
   2273   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2274   eval ac_new_val=\$ac_env_${ac_var}_value
   2275   case $ac_old_set,$ac_new_set in
   2276     set,)
   2277       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2278 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2279       ac_cache_corrupted=: ;;
   2280     ,set)
   2281       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2282 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2283       ac_cache_corrupted=: ;;
   2284     ,);;
   2285     *)
   2286       if test "x$ac_old_val" != "x$ac_new_val"; then
   2287 	# differences in whitespace do not lead to failure.
   2288 	ac_old_val_w=`echo x $ac_old_val`
   2289 	ac_new_val_w=`echo x $ac_new_val`
   2290 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2291 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2292 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2293 	  ac_cache_corrupted=:
   2294 	else
   2295 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2296 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2297 	  eval $ac_var=\$ac_old_val
   2298 	fi
   2299 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2300 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2301 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2302 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2303       fi;;
   2304   esac
   2305   # Pass precious variables to config.status.
   2306   if test "$ac_new_set" = set; then
   2307     case $ac_new_val in
   2308     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2309     *) ac_arg=$ac_var=$ac_new_val ;;
   2310     esac
   2311     case " $ac_configure_args " in
   2312       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2313       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2314     esac
   2315   fi
   2316 done
   2317 if $ac_cache_corrupted; then
   2318   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2319 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2320   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2321 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2322   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2323 fi
   2324 ## -------------------- ##
   2325 ## Main body of script. ##
   2326 ## -------------------- ##
   2327 
   2328 ac_ext=c
   2329 ac_cpp='$CPP $CPPFLAGS'
   2330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2333 
   2334 
   2335 
   2336 ac_config_headers="$ac_config_headers config.h"
   2337 
   2338 ac_aux_dir=
   2339 for ac_dir in . "$srcdir"/.; do
   2340   if test -f "$ac_dir/install-sh"; then
   2341     ac_aux_dir=$ac_dir
   2342     ac_install_sh="$ac_aux_dir/install-sh -c"
   2343     break
   2344   elif test -f "$ac_dir/install.sh"; then
   2345     ac_aux_dir=$ac_dir
   2346     ac_install_sh="$ac_aux_dir/install.sh -c"
   2347     break
   2348   elif test -f "$ac_dir/shtool"; then
   2349     ac_aux_dir=$ac_dir
   2350     ac_install_sh="$ac_aux_dir/shtool install -c"
   2351     break
   2352   fi
   2353 done
   2354 if test -z "$ac_aux_dir"; then
   2355   as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
   2356 fi
   2357 
   2358 # These three variables are undocumented and unsupported,
   2359 # and are intended to be withdrawn in a future Autoconf release.
   2360 # They can cause serious problems if a builder's source tree is in a directory
   2361 # whose full name contains unusual characters.
   2362 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2363 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2364 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2365 
   2366 
   2367 
   2368 # Initialize Automake
   2369 am__api_version='1.15'
   2370 
   2371 # Find a good install program.  We prefer a C program (faster),
   2372 # so one script is as good as another.  But avoid the broken or
   2373 # incompatible versions:
   2374 # SysV /etc/install, /usr/sbin/install
   2375 # SunOS /usr/etc/install
   2376 # IRIX /sbin/install
   2377 # AIX /bin/install
   2378 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2379 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2380 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2381 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2382 # OS/2's system install, which has a completely different semantic
   2383 # ./install, which can be erroneously created by make from ./install.sh.
   2384 # Reject install programs that cannot install multiple files.
   2385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2386 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2387 if test -z "$INSTALL"; then
   2388 if ${ac_cv_path_install+:} false; then :
   2389   $as_echo_n "(cached) " >&6
   2390 else
   2391   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2392 for as_dir in $PATH
   2393 do
   2394   IFS=$as_save_IFS
   2395   test -z "$as_dir" && as_dir=.
   2396     # Account for people who put trailing slashes in PATH elements.
   2397 case $as_dir/ in #((
   2398   ./ | .// | /[cC]/* | \
   2399   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2400   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2401   /usr/ucb/* ) ;;
   2402   *)
   2403     # OSF1 and SCO ODT 3.0 have their own names for install.
   2404     # Don't use installbsd from OSF since it installs stuff as root
   2405     # by default.
   2406     for ac_prog in ginstall scoinst install; do
   2407       for ac_exec_ext in '' $ac_executable_extensions; do
   2408 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2409 	  if test $ac_prog = install &&
   2410 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2411 	    # AIX install.  It has an incompatible calling convention.
   2412 	    :
   2413 	  elif test $ac_prog = install &&
   2414 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2415 	    # program-specific install script used by HP pwplus--don't use.
   2416 	    :
   2417 	  else
   2418 	    rm -rf conftest.one conftest.two conftest.dir
   2419 	    echo one > conftest.one
   2420 	    echo two > conftest.two
   2421 	    mkdir conftest.dir
   2422 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2423 	      test -s conftest.one && test -s conftest.two &&
   2424 	      test -s conftest.dir/conftest.one &&
   2425 	      test -s conftest.dir/conftest.two
   2426 	    then
   2427 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2428 	      break 3
   2429 	    fi
   2430 	  fi
   2431 	fi
   2432       done
   2433     done
   2434     ;;
   2435 esac
   2436 
   2437   done
   2438 IFS=$as_save_IFS
   2439 
   2440 rm -rf conftest.one conftest.two conftest.dir
   2441 
   2442 fi
   2443   if test "${ac_cv_path_install+set}" = set; then
   2444     INSTALL=$ac_cv_path_install
   2445   else
   2446     # As a last resort, use the slow shell script.  Don't cache a
   2447     # value for INSTALL within a source directory, because that will
   2448     # break other packages using the cache if that directory is
   2449     # removed, or if the value is a relative name.
   2450     INSTALL=$ac_install_sh
   2451   fi
   2452 fi
   2453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2454 $as_echo "$INSTALL" >&6; }
   2455 
   2456 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2457 # It thinks the first close brace ends the variable substitution.
   2458 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2459 
   2460 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2461 
   2462 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2463 
   2464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2465 $as_echo_n "checking whether build environment is sane... " >&6; }
   2466 # Reject unsafe characters in $srcdir or the absolute working directory
   2467 # name.  Accept space and tab only in the latter.
   2468 am_lf='
   2469 '
   2470 case `pwd` in
   2471   *[\\\"\#\$\&\'\`$am_lf]*)
   2472     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2473 esac
   2474 case $srcdir in
   2475   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2476     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2477 esac
   2478 
   2479 # Do 'set' in a subshell so we don't clobber the current shell's
   2480 # arguments.  Must try -L first in case configure is actually a
   2481 # symlink; some systems play weird games with the mod time of symlinks
   2482 # (eg FreeBSD returns the mod time of the symlink's containing
   2483 # directory).
   2484 if (
   2485    am_has_slept=no
   2486    for am_try in 1 2; do
   2487      echo "timestamp, slept: $am_has_slept" > conftest.file
   2488      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2489      if test "$*" = "X"; then
   2490 	# -L didn't work.
   2491 	set X `ls -t "$srcdir/configure" conftest.file`
   2492      fi
   2493      if test "$*" != "X $srcdir/configure conftest.file" \
   2494 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2495 
   2496 	# If neither matched, then we have a broken ls.  This can happen
   2497 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2498 	# broken ls alias from the environment.  This has actually
   2499 	# happened.  Such a system could not be considered "sane".
   2500 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2501   alias in your environment" "$LINENO" 5
   2502      fi
   2503      if test "$2" = conftest.file || test $am_try -eq 2; then
   2504        break
   2505      fi
   2506      # Just in case.
   2507      sleep 1
   2508      am_has_slept=yes
   2509    done
   2510    test "$2" = conftest.file
   2511    )
   2512 then
   2513    # Ok.
   2514    :
   2515 else
   2516    as_fn_error $? "newly created file is older than distributed files!
   2517 Check your system clock" "$LINENO" 5
   2518 fi
   2519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2520 $as_echo "yes" >&6; }
   2521 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2522 # generated files are strictly newer.
   2523 am_sleep_pid=
   2524 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2525   ( sleep 1 ) &
   2526   am_sleep_pid=$!
   2527 fi
   2528 
   2529 rm -f conftest.file
   2530 
   2531 test "$program_prefix" != NONE &&
   2532   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2533 # Use a double $ so make ignores it.
   2534 test "$program_suffix" != NONE &&
   2535   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2536 # Double any \ or $.
   2537 # By default was `s,x,x', remove it if useless.
   2538 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2539 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2540 
   2541 # Expand $ac_aux_dir to an absolute path.
   2542 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2543 
   2544 if test x"${MISSING+set}" != xset; then
   2545   case $am_aux_dir in
   2546   *\ * | *\	*)
   2547     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2548   *)
   2549     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2550   esac
   2551 fi
   2552 # Use eval to expand $SHELL
   2553 if eval "$MISSING --is-lightweight"; then
   2554   am_missing_run="$MISSING "
   2555 else
   2556   am_missing_run=
   2557   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2558 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2559 fi
   2560 
   2561 if test x"${install_sh+set}" != xset; then
   2562   case $am_aux_dir in
   2563   *\ * | *\	*)
   2564     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2565   *)
   2566     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2567   esac
   2568 fi
   2569 
   2570 # Installed binaries are usually stripped using 'strip' when the user
   2571 # run "make install-strip".  However 'strip' might not be the right
   2572 # tool to use in cross-compilation environments, therefore Automake
   2573 # will honor the 'STRIP' environment variable to overrule this program.
   2574 if test "$cross_compiling" != no; then
   2575   if test -n "$ac_tool_prefix"; then
   2576   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2577 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2579 $as_echo_n "checking for $ac_word... " >&6; }
   2580 if ${ac_cv_prog_STRIP+:} false; then :
   2581   $as_echo_n "(cached) " >&6
   2582 else
   2583   if test -n "$STRIP"; then
   2584   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2585 else
   2586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2587 for as_dir in $PATH
   2588 do
   2589   IFS=$as_save_IFS
   2590   test -z "$as_dir" && as_dir=.
   2591     for ac_exec_ext in '' $ac_executable_extensions; do
   2592   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2593     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2594     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2595     break 2
   2596   fi
   2597 done
   2598   done
   2599 IFS=$as_save_IFS
   2600 
   2601 fi
   2602 fi
   2603 STRIP=$ac_cv_prog_STRIP
   2604 if test -n "$STRIP"; then
   2605   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2606 $as_echo "$STRIP" >&6; }
   2607 else
   2608   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2609 $as_echo "no" >&6; }
   2610 fi
   2611 
   2612 
   2613 fi
   2614 if test -z "$ac_cv_prog_STRIP"; then
   2615   ac_ct_STRIP=$STRIP
   2616   # Extract the first word of "strip", so it can be a program name with args.
   2617 set dummy strip; ac_word=$2
   2618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2619 $as_echo_n "checking for $ac_word... " >&6; }
   2620 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2621   $as_echo_n "(cached) " >&6
   2622 else
   2623   if test -n "$ac_ct_STRIP"; then
   2624   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2625 else
   2626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2627 for as_dir in $PATH
   2628 do
   2629   IFS=$as_save_IFS
   2630   test -z "$as_dir" && as_dir=.
   2631     for ac_exec_ext in '' $ac_executable_extensions; do
   2632   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2633     ac_cv_prog_ac_ct_STRIP="strip"
   2634     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2635     break 2
   2636   fi
   2637 done
   2638   done
   2639 IFS=$as_save_IFS
   2640 
   2641 fi
   2642 fi
   2643 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2644 if test -n "$ac_ct_STRIP"; then
   2645   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2646 $as_echo "$ac_ct_STRIP" >&6; }
   2647 else
   2648   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2649 $as_echo "no" >&6; }
   2650 fi
   2651 
   2652   if test "x$ac_ct_STRIP" = x; then
   2653     STRIP=":"
   2654   else
   2655     case $cross_compiling:$ac_tool_warned in
   2656 yes:)
   2657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2658 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2659 ac_tool_warned=yes ;;
   2660 esac
   2661     STRIP=$ac_ct_STRIP
   2662   fi
   2663 else
   2664   STRIP="$ac_cv_prog_STRIP"
   2665 fi
   2666 
   2667 fi
   2668 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2669 
   2670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2671 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2672 if test -z "$MKDIR_P"; then
   2673   if ${ac_cv_path_mkdir+:} false; then :
   2674   $as_echo_n "(cached) " >&6
   2675 else
   2676   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2677 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2678 do
   2679   IFS=$as_save_IFS
   2680   test -z "$as_dir" && as_dir=.
   2681     for ac_prog in mkdir gmkdir; do
   2682 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2683 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2684 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2685 	     'mkdir (GNU coreutils) '* | \
   2686 	     'mkdir (coreutils) '* | \
   2687 	     'mkdir (fileutils) '4.1*)
   2688 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2689 	       break 3;;
   2690 	   esac
   2691 	 done
   2692        done
   2693   done
   2694 IFS=$as_save_IFS
   2695 
   2696 fi
   2697 
   2698   test -d ./--version && rmdir ./--version
   2699   if test "${ac_cv_path_mkdir+set}" = set; then
   2700     MKDIR_P="$ac_cv_path_mkdir -p"
   2701   else
   2702     # As a last resort, use the slow shell script.  Don't cache a
   2703     # value for MKDIR_P within a source directory, because that will
   2704     # break other packages using the cache if that directory is
   2705     # removed, or if the value is a relative name.
   2706     MKDIR_P="$ac_install_sh -d"
   2707   fi
   2708 fi
   2709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2710 $as_echo "$MKDIR_P" >&6; }
   2711 
   2712 for ac_prog in gawk mawk nawk awk
   2713 do
   2714   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2715 set dummy $ac_prog; ac_word=$2
   2716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2717 $as_echo_n "checking for $ac_word... " >&6; }
   2718 if ${ac_cv_prog_AWK+:} false; then :
   2719   $as_echo_n "(cached) " >&6
   2720 else
   2721   if test -n "$AWK"; then
   2722   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2723 else
   2724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2725 for as_dir in $PATH
   2726 do
   2727   IFS=$as_save_IFS
   2728   test -z "$as_dir" && as_dir=.
   2729     for ac_exec_ext in '' $ac_executable_extensions; do
   2730   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2731     ac_cv_prog_AWK="$ac_prog"
   2732     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2733     break 2
   2734   fi
   2735 done
   2736   done
   2737 IFS=$as_save_IFS
   2738 
   2739 fi
   2740 fi
   2741 AWK=$ac_cv_prog_AWK
   2742 if test -n "$AWK"; then
   2743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2744 $as_echo "$AWK" >&6; }
   2745 else
   2746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2747 $as_echo "no" >&6; }
   2748 fi
   2749 
   2750 
   2751   test -n "$AWK" && break
   2752 done
   2753 
   2754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2755 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2756 set x ${MAKE-make}
   2757 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2758 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2759   $as_echo_n "(cached) " >&6
   2760 else
   2761   cat >conftest.make <<\_ACEOF
   2762 SHELL = /bin/sh
   2763 all:
   2764 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2765 _ACEOF
   2766 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2767 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2768   *@@@%%%=?*=@@@%%%*)
   2769     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2770   *)
   2771     eval ac_cv_prog_make_${ac_make}_set=no;;
   2772 esac
   2773 rm -f conftest.make
   2774 fi
   2775 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2776   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2777 $as_echo "yes" >&6; }
   2778   SET_MAKE=
   2779 else
   2780   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2781 $as_echo "no" >&6; }
   2782   SET_MAKE="MAKE=${MAKE-make}"
   2783 fi
   2784 
   2785 rm -rf .tst 2>/dev/null
   2786 mkdir .tst 2>/dev/null
   2787 if test -d .tst; then
   2788   am__leading_dot=.
   2789 else
   2790   am__leading_dot=_
   2791 fi
   2792 rmdir .tst 2>/dev/null
   2793 
   2794 # Check whether --enable-silent-rules was given.
   2795 if test "${enable_silent_rules+set}" = set; then :
   2796   enableval=$enable_silent_rules;
   2797 fi
   2798 
   2799 case $enable_silent_rules in # (((
   2800   yes) AM_DEFAULT_VERBOSITY=0;;
   2801    no) AM_DEFAULT_VERBOSITY=1;;
   2802     *) AM_DEFAULT_VERBOSITY=1;;
   2803 esac
   2804 am_make=${MAKE-make}
   2805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2806 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2807 if ${am_cv_make_support_nested_variables+:} false; then :
   2808   $as_echo_n "(cached) " >&6
   2809 else
   2810   if $as_echo 'TRUE=$(BAR$(V))
   2811 BAR0=false
   2812 BAR1=true
   2813 V=1
   2814 am__doit:
   2815 	@$(TRUE)
   2816 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2817   am_cv_make_support_nested_variables=yes
   2818 else
   2819   am_cv_make_support_nested_variables=no
   2820 fi
   2821 fi
   2822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2823 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2824 if test $am_cv_make_support_nested_variables = yes; then
   2825     AM_V='$(V)'
   2826   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2827 else
   2828   AM_V=$AM_DEFAULT_VERBOSITY
   2829   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2830 fi
   2831 AM_BACKSLASH='\'
   2832 
   2833 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2834   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2835   # is not polluted with repeated "-I."
   2836   am__isrc=' -I$(srcdir)'
   2837   # test to see if srcdir already configured
   2838   if test -f $srcdir/config.status; then
   2839     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2840   fi
   2841 fi
   2842 
   2843 # test whether we have cygpath
   2844 if test -z "$CYGPATH_W"; then
   2845   if (cygpath --version) >/dev/null 2>/dev/null; then
   2846     CYGPATH_W='cygpath -w'
   2847   else
   2848     CYGPATH_W=echo
   2849   fi
   2850 fi
   2851 
   2852 
   2853 # Define the identity of the package.
   2854  PACKAGE='xf86-video-chips'
   2855  VERSION='1.2.6'
   2856 
   2857 
   2858 cat >>confdefs.h <<_ACEOF
   2859 #define PACKAGE "$PACKAGE"
   2860 _ACEOF
   2861 
   2862 
   2863 cat >>confdefs.h <<_ACEOF
   2864 #define VERSION "$VERSION"
   2865 _ACEOF
   2866 
   2867 # Some tools Automake needs.
   2868 
   2869 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2870 
   2871 
   2872 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2873 
   2874 
   2875 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2876 
   2877 
   2878 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2879 
   2880 
   2881 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2882 
   2883 # For better backward compatibility.  To be removed once Automake 1.9.x
   2884 # dies out for good.  For more background, see:
   2885 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2886 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2887 mkdir_p='$(MKDIR_P)'
   2888 
   2889 # We need awk for the "check" target (and possibly the TAP driver).  The
   2890 # system "awk" is bad on some platforms.
   2891 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2892 # in the wild :-(  We should find a proper way to deprecate it ...
   2893 AMTAR='$${TAR-tar}'
   2894 
   2895 
   2896 # We'll loop over all known methods to create a tar archive until one works.
   2897 _am_tools='gnutar  pax cpio none'
   2898 
   2899 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2900 
   2901 
   2902 
   2903 
   2904 
   2905 
   2906 # POSIX will say in a future version that running "rm -f" with no argument
   2907 # is OK; and we want to be able to make that assumption in our Makefile
   2908 # recipes.  So use an aggressive probe to check that the usage we want is
   2909 # actually supported "in the wild" to an acceptable degree.
   2910 # See automake bug#10828.
   2911 # To make any issue more visible, cause the running configure to be aborted
   2912 # by default if the 'rm' program in use doesn't match our expectations; the
   2913 # user can still override this though.
   2914 if rm -f && rm -fr && rm -rf; then : OK; else
   2915   cat >&2 <<'END'
   2916 Oops!
   2917 
   2918 Your 'rm' program seems unable to run without file operands specified
   2919 on the command line, even when the '-f' option is present.  This is contrary
   2920 to the behaviour of most rm programs out there, and not conforming with
   2921 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2922 
   2923 Please tell bug-automake@gnu.org about your system, including the value
   2924 of your $PATH and any error possibly output before this message.  This
   2925 can help us improve future automake versions.
   2926 
   2927 END
   2928   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2929     echo 'Configuration will proceed anyway, since you have set the' >&2
   2930     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2931     echo >&2
   2932   else
   2933     cat >&2 <<'END'
   2934 Aborting the configuration process, to ensure you take notice of the issue.
   2935 
   2936 You can download and install GNU coreutils to get an 'rm' implementation
   2937 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   2938 
   2939 If you want to complete the configuration process using your problematic
   2940 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2941 to "yes", and re-run configure.
   2942 
   2943 END
   2944     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   2945   fi
   2946 fi
   2947 
   2948 
   2949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2950 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2951     # Check whether --enable-maintainer-mode was given.
   2952 if test "${enable_maintainer_mode+set}" = set; then :
   2953   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2954 else
   2955   USE_MAINTAINER_MODE=no
   2956 fi
   2957 
   2958   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   2959 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2960    if test $USE_MAINTAINER_MODE = yes; then
   2961   MAINTAINER_MODE_TRUE=
   2962   MAINTAINER_MODE_FALSE='#'
   2963 else
   2964   MAINTAINER_MODE_TRUE='#'
   2965   MAINTAINER_MODE_FALSE=
   2966 fi
   2967 
   2968   MAINT=$MAINTAINER_MODE_TRUE
   2969 
   2970 
   2971 
   2972 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2973 
   2974 
   2975 
   2976 
   2977 
   2978 
   2979 
   2980 
   2981 
   2982 
   2983 
   2984 DEPDIR="${am__leading_dot}deps"
   2985 
   2986 ac_config_commands="$ac_config_commands depfiles"
   2987 
   2988 
   2989 am_make=${MAKE-make}
   2990 cat > confinc << 'END'
   2991 am__doit:
   2992 	@echo this is the am__doit target
   2993 .PHONY: am__doit
   2994 END
   2995 # If we don't find an include directive, just comment out the code.
   2996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2997 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2998 am__include="#"
   2999 am__quote=
   3000 _am_result=none
   3001 # First try GNU make style include.
   3002 echo "include confinc" > confmf
   3003 # Ignore all kinds of additional output from 'make'.
   3004 case `$am_make -s -f confmf 2> /dev/null` in #(
   3005 *the\ am__doit\ target*)
   3006   am__include=include
   3007   am__quote=
   3008   _am_result=GNU
   3009   ;;
   3010 esac
   3011 # Now try BSD make style include.
   3012 if test "$am__include" = "#"; then
   3013    echo '.include "confinc"' > confmf
   3014    case `$am_make -s -f confmf 2> /dev/null` in #(
   3015    *the\ am__doit\ target*)
   3016      am__include=.include
   3017      am__quote="\""
   3018      _am_result=BSD
   3019      ;;
   3020    esac
   3021 fi
   3022 
   3023 
   3024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3025 $as_echo "$_am_result" >&6; }
   3026 rm -f confinc confmf
   3027 
   3028 # Check whether --enable-dependency-tracking was given.
   3029 if test "${enable_dependency_tracking+set}" = set; then :
   3030   enableval=$enable_dependency_tracking;
   3031 fi
   3032 
   3033 if test "x$enable_dependency_tracking" != xno; then
   3034   am_depcomp="$ac_aux_dir/depcomp"
   3035   AMDEPBACKSLASH='\'
   3036   am__nodep='_no'
   3037 fi
   3038  if test "x$enable_dependency_tracking" != xno; then
   3039   AMDEP_TRUE=
   3040   AMDEP_FALSE='#'
   3041 else
   3042   AMDEP_TRUE='#'
   3043   AMDEP_FALSE=
   3044 fi
   3045 
   3046 
   3047 ac_ext=c
   3048 ac_cpp='$CPP $CPPFLAGS'
   3049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3052 if test -n "$ac_tool_prefix"; then
   3053   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3054 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3056 $as_echo_n "checking for $ac_word... " >&6; }
   3057 if ${ac_cv_prog_CC+:} false; then :
   3058   $as_echo_n "(cached) " >&6
   3059 else
   3060   if test -n "$CC"; then
   3061   ac_cv_prog_CC="$CC" # Let the user override the test.
   3062 else
   3063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3064 for as_dir in $PATH
   3065 do
   3066   IFS=$as_save_IFS
   3067   test -z "$as_dir" && as_dir=.
   3068     for ac_exec_ext in '' $ac_executable_extensions; do
   3069   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3070     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3071     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3072     break 2
   3073   fi
   3074 done
   3075   done
   3076 IFS=$as_save_IFS
   3077 
   3078 fi
   3079 fi
   3080 CC=$ac_cv_prog_CC
   3081 if test -n "$CC"; then
   3082   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3083 $as_echo "$CC" >&6; }
   3084 else
   3085   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3086 $as_echo "no" >&6; }
   3087 fi
   3088 
   3089 
   3090 fi
   3091 if test -z "$ac_cv_prog_CC"; then
   3092   ac_ct_CC=$CC
   3093   # Extract the first word of "gcc", so it can be a program name with args.
   3094 set dummy gcc; ac_word=$2
   3095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3096 $as_echo_n "checking for $ac_word... " >&6; }
   3097 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3098   $as_echo_n "(cached) " >&6
   3099 else
   3100   if test -n "$ac_ct_CC"; then
   3101   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3102 else
   3103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3104 for as_dir in $PATH
   3105 do
   3106   IFS=$as_save_IFS
   3107   test -z "$as_dir" && as_dir=.
   3108     for ac_exec_ext in '' $ac_executable_extensions; do
   3109   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3110     ac_cv_prog_ac_ct_CC="gcc"
   3111     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3112     break 2
   3113   fi
   3114 done
   3115   done
   3116 IFS=$as_save_IFS
   3117 
   3118 fi
   3119 fi
   3120 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3121 if test -n "$ac_ct_CC"; then
   3122   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3123 $as_echo "$ac_ct_CC" >&6; }
   3124 else
   3125   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3126 $as_echo "no" >&6; }
   3127 fi
   3128 
   3129   if test "x$ac_ct_CC" = x; then
   3130     CC=""
   3131   else
   3132     case $cross_compiling:$ac_tool_warned in
   3133 yes:)
   3134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3135 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3136 ac_tool_warned=yes ;;
   3137 esac
   3138     CC=$ac_ct_CC
   3139   fi
   3140 else
   3141   CC="$ac_cv_prog_CC"
   3142 fi
   3143 
   3144 if test -z "$CC"; then
   3145           if test -n "$ac_tool_prefix"; then
   3146     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3147 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3149 $as_echo_n "checking for $ac_word... " >&6; }
   3150 if ${ac_cv_prog_CC+:} false; then :
   3151   $as_echo_n "(cached) " >&6
   3152 else
   3153   if test -n "$CC"; then
   3154   ac_cv_prog_CC="$CC" # Let the user override the test.
   3155 else
   3156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3157 for as_dir in $PATH
   3158 do
   3159   IFS=$as_save_IFS
   3160   test -z "$as_dir" && as_dir=.
   3161     for ac_exec_ext in '' $ac_executable_extensions; do
   3162   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3163     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3164     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3165     break 2
   3166   fi
   3167 done
   3168   done
   3169 IFS=$as_save_IFS
   3170 
   3171 fi
   3172 fi
   3173 CC=$ac_cv_prog_CC
   3174 if test -n "$CC"; then
   3175   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3176 $as_echo "$CC" >&6; }
   3177 else
   3178   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3179 $as_echo "no" >&6; }
   3180 fi
   3181 
   3182 
   3183   fi
   3184 fi
   3185 if test -z "$CC"; then
   3186   # Extract the first word of "cc", so it can be a program name with args.
   3187 set dummy cc; ac_word=$2
   3188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3189 $as_echo_n "checking for $ac_word... " >&6; }
   3190 if ${ac_cv_prog_CC+:} false; then :
   3191   $as_echo_n "(cached) " >&6
   3192 else
   3193   if test -n "$CC"; then
   3194   ac_cv_prog_CC="$CC" # Let the user override the test.
   3195 else
   3196   ac_prog_rejected=no
   3197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3198 for as_dir in $PATH
   3199 do
   3200   IFS=$as_save_IFS
   3201   test -z "$as_dir" && as_dir=.
   3202     for ac_exec_ext in '' $ac_executable_extensions; do
   3203   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3204     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3205        ac_prog_rejected=yes
   3206        continue
   3207      fi
   3208     ac_cv_prog_CC="cc"
   3209     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3210     break 2
   3211   fi
   3212 done
   3213   done
   3214 IFS=$as_save_IFS
   3215 
   3216 if test $ac_prog_rejected = yes; then
   3217   # We found a bogon in the path, so make sure we never use it.
   3218   set dummy $ac_cv_prog_CC
   3219   shift
   3220   if test $# != 0; then
   3221     # We chose a different compiler from the bogus one.
   3222     # However, it has the same basename, so the bogon will be chosen
   3223     # first if we set CC to just the basename; use the full file name.
   3224     shift
   3225     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3226   fi
   3227 fi
   3228 fi
   3229 fi
   3230 CC=$ac_cv_prog_CC
   3231 if test -n "$CC"; then
   3232   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3233 $as_echo "$CC" >&6; }
   3234 else
   3235   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3236 $as_echo "no" >&6; }
   3237 fi
   3238 
   3239 
   3240 fi
   3241 if test -z "$CC"; then
   3242   if test -n "$ac_tool_prefix"; then
   3243   for ac_prog in cl.exe
   3244   do
   3245     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3246 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3248 $as_echo_n "checking for $ac_word... " >&6; }
   3249 if ${ac_cv_prog_CC+:} false; then :
   3250   $as_echo_n "(cached) " >&6
   3251 else
   3252   if test -n "$CC"; then
   3253   ac_cv_prog_CC="$CC" # Let the user override the test.
   3254 else
   3255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3256 for as_dir in $PATH
   3257 do
   3258   IFS=$as_save_IFS
   3259   test -z "$as_dir" && as_dir=.
   3260     for ac_exec_ext in '' $ac_executable_extensions; do
   3261   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3262     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3263     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3264     break 2
   3265   fi
   3266 done
   3267   done
   3268 IFS=$as_save_IFS
   3269 
   3270 fi
   3271 fi
   3272 CC=$ac_cv_prog_CC
   3273 if test -n "$CC"; then
   3274   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3275 $as_echo "$CC" >&6; }
   3276 else
   3277   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3278 $as_echo "no" >&6; }
   3279 fi
   3280 
   3281 
   3282     test -n "$CC" && break
   3283   done
   3284 fi
   3285 if test -z "$CC"; then
   3286   ac_ct_CC=$CC
   3287   for ac_prog in cl.exe
   3288 do
   3289   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3290 set dummy $ac_prog; ac_word=$2
   3291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3292 $as_echo_n "checking for $ac_word... " >&6; }
   3293 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3294   $as_echo_n "(cached) " >&6
   3295 else
   3296   if test -n "$ac_ct_CC"; then
   3297   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3298 else
   3299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3300 for as_dir in $PATH
   3301 do
   3302   IFS=$as_save_IFS
   3303   test -z "$as_dir" && as_dir=.
   3304     for ac_exec_ext in '' $ac_executable_extensions; do
   3305   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3306     ac_cv_prog_ac_ct_CC="$ac_prog"
   3307     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3308     break 2
   3309   fi
   3310 done
   3311   done
   3312 IFS=$as_save_IFS
   3313 
   3314 fi
   3315 fi
   3316 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3317 if test -n "$ac_ct_CC"; then
   3318   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3319 $as_echo "$ac_ct_CC" >&6; }
   3320 else
   3321   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3322 $as_echo "no" >&6; }
   3323 fi
   3324 
   3325 
   3326   test -n "$ac_ct_CC" && break
   3327 done
   3328 
   3329   if test "x$ac_ct_CC" = x; then
   3330     CC=""
   3331   else
   3332     case $cross_compiling:$ac_tool_warned in
   3333 yes:)
   3334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3335 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3336 ac_tool_warned=yes ;;
   3337 esac
   3338     CC=$ac_ct_CC
   3339   fi
   3340 fi
   3341 
   3342 fi
   3343 
   3344 
   3345 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3346 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3347 as_fn_error $? "no acceptable C compiler found in \$PATH
   3348 See \`config.log' for more details" "$LINENO" 5; }
   3349 
   3350 # Provide some information about the compiler.
   3351 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3352 set X $ac_compile
   3353 ac_compiler=$2
   3354 for ac_option in --version -v -V -qversion; do
   3355   { { ac_try="$ac_compiler $ac_option >&5"
   3356 case "(($ac_try" in
   3357   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3358   *) ac_try_echo=$ac_try;;
   3359 esac
   3360 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3361 $as_echo "$ac_try_echo"; } >&5
   3362   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3363   ac_status=$?
   3364   if test -s conftest.err; then
   3365     sed '10a\
   3366 ... rest of stderr output deleted ...
   3367          10q' conftest.err >conftest.er1
   3368     cat conftest.er1 >&5
   3369   fi
   3370   rm -f conftest.er1 conftest.err
   3371   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3372   test $ac_status = 0; }
   3373 done
   3374 
   3375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3376 /* end confdefs.h.  */
   3377 
   3378 int
   3379 main ()
   3380 {
   3381 
   3382   ;
   3383   return 0;
   3384 }
   3385 _ACEOF
   3386 ac_clean_files_save=$ac_clean_files
   3387 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3388 # Try to create an executable without -o first, disregard a.out.
   3389 # It will help us diagnose broken compilers, and finding out an intuition
   3390 # of exeext.
   3391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3392 $as_echo_n "checking whether the C compiler works... " >&6; }
   3393 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3394 
   3395 # The possible output files:
   3396 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3397 
   3398 ac_rmfiles=
   3399 for ac_file in $ac_files
   3400 do
   3401   case $ac_file in
   3402     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3403     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3404   esac
   3405 done
   3406 rm -f $ac_rmfiles
   3407 
   3408 if { { ac_try="$ac_link_default"
   3409 case "(($ac_try" in
   3410   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3411   *) ac_try_echo=$ac_try;;
   3412 esac
   3413 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3414 $as_echo "$ac_try_echo"; } >&5
   3415   (eval "$ac_link_default") 2>&5
   3416   ac_status=$?
   3417   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3418   test $ac_status = 0; }; then :
   3419   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3420 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3421 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3422 # so that the user can short-circuit this test for compilers unknown to
   3423 # Autoconf.
   3424 for ac_file in $ac_files ''
   3425 do
   3426   test -f "$ac_file" || continue
   3427   case $ac_file in
   3428     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3429 	;;
   3430     [ab].out )
   3431 	# We found the default executable, but exeext='' is most
   3432 	# certainly right.
   3433 	break;;
   3434     *.* )
   3435 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3436 	then :; else
   3437 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3438 	fi
   3439 	# We set ac_cv_exeext here because the later test for it is not
   3440 	# safe: cross compilers may not add the suffix if given an `-o'
   3441 	# argument, so we may need to know it at that point already.
   3442 	# Even if this section looks crufty: it has the advantage of
   3443 	# actually working.
   3444 	break;;
   3445     * )
   3446 	break;;
   3447   esac
   3448 done
   3449 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3450 
   3451 else
   3452   ac_file=''
   3453 fi
   3454 if test -z "$ac_file"; then :
   3455   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3456 $as_echo "no" >&6; }
   3457 $as_echo "$as_me: failed program was:" >&5
   3458 sed 's/^/| /' conftest.$ac_ext >&5
   3459 
   3460 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3461 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3462 as_fn_error 77 "C compiler cannot create executables
   3463 See \`config.log' for more details" "$LINENO" 5; }
   3464 else
   3465   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3466 $as_echo "yes" >&6; }
   3467 fi
   3468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3469 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3471 $as_echo "$ac_file" >&6; }
   3472 ac_exeext=$ac_cv_exeext
   3473 
   3474 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3475 ac_clean_files=$ac_clean_files_save
   3476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3477 $as_echo_n "checking for suffix of executables... " >&6; }
   3478 if { { ac_try="$ac_link"
   3479 case "(($ac_try" in
   3480   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3481   *) ac_try_echo=$ac_try;;
   3482 esac
   3483 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3484 $as_echo "$ac_try_echo"; } >&5
   3485   (eval "$ac_link") 2>&5
   3486   ac_status=$?
   3487   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3488   test $ac_status = 0; }; then :
   3489   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3490 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3491 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3492 # `rm'.
   3493 for ac_file in conftest.exe conftest conftest.*; do
   3494   test -f "$ac_file" || continue
   3495   case $ac_file in
   3496     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3497     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3498 	  break;;
   3499     * ) break;;
   3500   esac
   3501 done
   3502 else
   3503   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3504 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3505 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3506 See \`config.log' for more details" "$LINENO" 5; }
   3507 fi
   3508 rm -f conftest conftest$ac_cv_exeext
   3509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3510 $as_echo "$ac_cv_exeext" >&6; }
   3511 
   3512 rm -f conftest.$ac_ext
   3513 EXEEXT=$ac_cv_exeext
   3514 ac_exeext=$EXEEXT
   3515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3516 /* end confdefs.h.  */
   3517 #include <stdio.h>
   3518 int
   3519 main ()
   3520 {
   3521 FILE *f = fopen ("conftest.out", "w");
   3522  return ferror (f) || fclose (f) != 0;
   3523 
   3524   ;
   3525   return 0;
   3526 }
   3527 _ACEOF
   3528 ac_clean_files="$ac_clean_files conftest.out"
   3529 # Check that the compiler produces executables we can run.  If not, either
   3530 # the compiler is broken, or we cross compile.
   3531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3532 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3533 if test "$cross_compiling" != yes; then
   3534   { { ac_try="$ac_link"
   3535 case "(($ac_try" in
   3536   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3537   *) ac_try_echo=$ac_try;;
   3538 esac
   3539 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3540 $as_echo "$ac_try_echo"; } >&5
   3541   (eval "$ac_link") 2>&5
   3542   ac_status=$?
   3543   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3544   test $ac_status = 0; }
   3545   if { ac_try='./conftest$ac_cv_exeext'
   3546   { { case "(($ac_try" in
   3547   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3548   *) ac_try_echo=$ac_try;;
   3549 esac
   3550 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3551 $as_echo "$ac_try_echo"; } >&5
   3552   (eval "$ac_try") 2>&5
   3553   ac_status=$?
   3554   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3555   test $ac_status = 0; }; }; then
   3556     cross_compiling=no
   3557   else
   3558     if test "$cross_compiling" = maybe; then
   3559 	cross_compiling=yes
   3560     else
   3561 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3562 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3563 as_fn_error $? "cannot run C compiled programs.
   3564 If you meant to cross compile, use \`--host'.
   3565 See \`config.log' for more details" "$LINENO" 5; }
   3566     fi
   3567   fi
   3568 fi
   3569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3570 $as_echo "$cross_compiling" >&6; }
   3571 
   3572 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3573 ac_clean_files=$ac_clean_files_save
   3574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3575 $as_echo_n "checking for suffix of object files... " >&6; }
   3576 if ${ac_cv_objext+:} false; then :
   3577   $as_echo_n "(cached) " >&6
   3578 else
   3579   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3580 /* end confdefs.h.  */
   3581 
   3582 int
   3583 main ()
   3584 {
   3585 
   3586   ;
   3587   return 0;
   3588 }
   3589 _ACEOF
   3590 rm -f conftest.o conftest.obj
   3591 if { { ac_try="$ac_compile"
   3592 case "(($ac_try" in
   3593   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3594   *) ac_try_echo=$ac_try;;
   3595 esac
   3596 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3597 $as_echo "$ac_try_echo"; } >&5
   3598   (eval "$ac_compile") 2>&5
   3599   ac_status=$?
   3600   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3601   test $ac_status = 0; }; then :
   3602   for ac_file in conftest.o conftest.obj conftest.*; do
   3603   test -f "$ac_file" || continue;
   3604   case $ac_file in
   3605     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3606     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3607        break;;
   3608   esac
   3609 done
   3610 else
   3611   $as_echo "$as_me: failed program was:" >&5
   3612 sed 's/^/| /' conftest.$ac_ext >&5
   3613 
   3614 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3615 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3616 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3617 See \`config.log' for more details" "$LINENO" 5; }
   3618 fi
   3619 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3620 fi
   3621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3622 $as_echo "$ac_cv_objext" >&6; }
   3623 OBJEXT=$ac_cv_objext
   3624 ac_objext=$OBJEXT
   3625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3626 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3627 if ${ac_cv_c_compiler_gnu+:} false; then :
   3628   $as_echo_n "(cached) " >&6
   3629 else
   3630   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3631 /* end confdefs.h.  */
   3632 
   3633 int
   3634 main ()
   3635 {
   3636 #ifndef __GNUC__
   3637        choke me
   3638 #endif
   3639 
   3640   ;
   3641   return 0;
   3642 }
   3643 _ACEOF
   3644 if ac_fn_c_try_compile "$LINENO"; then :
   3645   ac_compiler_gnu=yes
   3646 else
   3647   ac_compiler_gnu=no
   3648 fi
   3649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3650 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3651 
   3652 fi
   3653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3654 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3655 if test $ac_compiler_gnu = yes; then
   3656   GCC=yes
   3657 else
   3658   GCC=
   3659 fi
   3660 ac_test_CFLAGS=${CFLAGS+set}
   3661 ac_save_CFLAGS=$CFLAGS
   3662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3663 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3664 if ${ac_cv_prog_cc_g+:} false; then :
   3665   $as_echo_n "(cached) " >&6
   3666 else
   3667   ac_save_c_werror_flag=$ac_c_werror_flag
   3668    ac_c_werror_flag=yes
   3669    ac_cv_prog_cc_g=no
   3670    CFLAGS="-g"
   3671    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3672 /* end confdefs.h.  */
   3673 
   3674 int
   3675 main ()
   3676 {
   3677 
   3678   ;
   3679   return 0;
   3680 }
   3681 _ACEOF
   3682 if ac_fn_c_try_compile "$LINENO"; then :
   3683   ac_cv_prog_cc_g=yes
   3684 else
   3685   CFLAGS=""
   3686       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3687 /* end confdefs.h.  */
   3688 
   3689 int
   3690 main ()
   3691 {
   3692 
   3693   ;
   3694   return 0;
   3695 }
   3696 _ACEOF
   3697 if ac_fn_c_try_compile "$LINENO"; then :
   3698 
   3699 else
   3700   ac_c_werror_flag=$ac_save_c_werror_flag
   3701 	 CFLAGS="-g"
   3702 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3703 /* end confdefs.h.  */
   3704 
   3705 int
   3706 main ()
   3707 {
   3708 
   3709   ;
   3710   return 0;
   3711 }
   3712 _ACEOF
   3713 if ac_fn_c_try_compile "$LINENO"; then :
   3714   ac_cv_prog_cc_g=yes
   3715 fi
   3716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3717 fi
   3718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3719 fi
   3720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3721    ac_c_werror_flag=$ac_save_c_werror_flag
   3722 fi
   3723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3724 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3725 if test "$ac_test_CFLAGS" = set; then
   3726   CFLAGS=$ac_save_CFLAGS
   3727 elif test $ac_cv_prog_cc_g = yes; then
   3728   if test "$GCC" = yes; then
   3729     CFLAGS="-g -O2"
   3730   else
   3731     CFLAGS="-g"
   3732   fi
   3733 else
   3734   if test "$GCC" = yes; then
   3735     CFLAGS="-O2"
   3736   else
   3737     CFLAGS=
   3738   fi
   3739 fi
   3740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3741 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3742 if ${ac_cv_prog_cc_c89+:} false; then :
   3743   $as_echo_n "(cached) " >&6
   3744 else
   3745   ac_cv_prog_cc_c89=no
   3746 ac_save_CC=$CC
   3747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3748 /* end confdefs.h.  */
   3749 #include <stdarg.h>
   3750 #include <stdio.h>
   3751 struct stat;
   3752 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3753 struct buf { int x; };
   3754 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3755 static char *e (p, i)
   3756      char **p;
   3757      int i;
   3758 {
   3759   return p[i];
   3760 }
   3761 static char *f (char * (*g) (char **, int), char **p, ...)
   3762 {
   3763   char *s;
   3764   va_list v;
   3765   va_start (v,p);
   3766   s = g (p, va_arg (v,int));
   3767   va_end (v);
   3768   return s;
   3769 }
   3770 
   3771 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3772    function prototypes and stuff, but not '\xHH' hex character constants.
   3773    These don't provoke an error unfortunately, instead are silently treated
   3774    as 'x'.  The following induces an error, until -std is added to get
   3775    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3776    array size at least.  It's necessary to write '\x00'==0 to get something
   3777    that's true only with -std.  */
   3778 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3779 
   3780 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3781    inside strings and character constants.  */
   3782 #define FOO(x) 'x'
   3783 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3784 
   3785 int test (int i, double x);
   3786 struct s1 {int (*f) (int a);};
   3787 struct s2 {int (*f) (double a);};
   3788 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3789 int argc;
   3790 char **argv;
   3791 int
   3792 main ()
   3793 {
   3794 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3795   ;
   3796   return 0;
   3797 }
   3798 _ACEOF
   3799 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3800 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3801 do
   3802   CC="$ac_save_CC $ac_arg"
   3803   if ac_fn_c_try_compile "$LINENO"; then :
   3804   ac_cv_prog_cc_c89=$ac_arg
   3805 fi
   3806 rm -f core conftest.err conftest.$ac_objext
   3807   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3808 done
   3809 rm -f conftest.$ac_ext
   3810 CC=$ac_save_CC
   3811 
   3812 fi
   3813 # AC_CACHE_VAL
   3814 case "x$ac_cv_prog_cc_c89" in
   3815   x)
   3816     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3817 $as_echo "none needed" >&6; } ;;
   3818   xno)
   3819     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3820 $as_echo "unsupported" >&6; } ;;
   3821   *)
   3822     CC="$CC $ac_cv_prog_cc_c89"
   3823     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3824 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3825 esac
   3826 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3827 
   3828 fi
   3829 
   3830 ac_ext=c
   3831 ac_cpp='$CPP $CPPFLAGS'
   3832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3835 
   3836 ac_ext=c
   3837 ac_cpp='$CPP $CPPFLAGS'
   3838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3842 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3843 if ${am_cv_prog_cc_c_o+:} false; then :
   3844   $as_echo_n "(cached) " >&6
   3845 else
   3846   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3847 /* end confdefs.h.  */
   3848 
   3849 int
   3850 main ()
   3851 {
   3852 
   3853   ;
   3854   return 0;
   3855 }
   3856 _ACEOF
   3857   # Make sure it works both with $CC and with simple cc.
   3858   # Following AC_PROG_CC_C_O, we do the test twice because some
   3859   # compilers refuse to overwrite an existing .o file with -o,
   3860   # though they will create one.
   3861   am_cv_prog_cc_c_o=yes
   3862   for am_i in 1 2; do
   3863     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3864    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3865    ac_status=$?
   3866    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3867    (exit $ac_status); } \
   3868          && test -f conftest2.$ac_objext; then
   3869       : OK
   3870     else
   3871       am_cv_prog_cc_c_o=no
   3872       break
   3873     fi
   3874   done
   3875   rm -f core conftest*
   3876   unset am_i
   3877 fi
   3878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3879 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3880 if test "$am_cv_prog_cc_c_o" != yes; then
   3881    # Losing compiler, so override with the script.
   3882    # FIXME: It is wrong to rewrite CC.
   3883    # But if we don't then we get into trouble of one sort or another.
   3884    # A longer-term fix would be to have automake use am__CC in this case,
   3885    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3886    CC="$am_aux_dir/compile $CC"
   3887 fi
   3888 ac_ext=c
   3889 ac_cpp='$CPP $CPPFLAGS'
   3890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3893 
   3894 
   3895 depcc="$CC"   am_compiler_list=
   3896 
   3897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3898 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3899 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3900   $as_echo_n "(cached) " >&6
   3901 else
   3902   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3903   # We make a subdir and do the tests there.  Otherwise we can end up
   3904   # making bogus files that we don't know about and never remove.  For
   3905   # instance it was reported that on HP-UX the gcc test will end up
   3906   # making a dummy file named 'D' -- because '-MD' means "put the output
   3907   # in D".
   3908   rm -rf conftest.dir
   3909   mkdir conftest.dir
   3910   # Copy depcomp to subdir because otherwise we won't find it if we're
   3911   # using a relative directory.
   3912   cp "$am_depcomp" conftest.dir
   3913   cd conftest.dir
   3914   # We will build objects and dependencies in a subdirectory because
   3915   # it helps to detect inapplicable dependency modes.  For instance
   3916   # both Tru64's cc and ICC support -MD to output dependencies as a
   3917   # side effect of compilation, but ICC will put the dependencies in
   3918   # the current directory while Tru64 will put them in the object
   3919   # directory.
   3920   mkdir sub
   3921 
   3922   am_cv_CC_dependencies_compiler_type=none
   3923   if test "$am_compiler_list" = ""; then
   3924      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3925   fi
   3926   am__universal=false
   3927   case " $depcc " in #(
   3928      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3929      esac
   3930 
   3931   for depmode in $am_compiler_list; do
   3932     # Setup a source with many dependencies, because some compilers
   3933     # like to wrap large dependency lists on column 80 (with \), and
   3934     # we should not choose a depcomp mode which is confused by this.
   3935     #
   3936     # We need to recreate these files for each test, as the compiler may
   3937     # overwrite some of them when testing with obscure command lines.
   3938     # This happens at least with the AIX C compiler.
   3939     : > sub/conftest.c
   3940     for i in 1 2 3 4 5 6; do
   3941       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3942       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3943       # Solaris 10 /bin/sh.
   3944       echo '/* dummy */' > sub/conftst$i.h
   3945     done
   3946     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3947 
   3948     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3949     # mode.  It turns out that the SunPro C++ compiler does not properly
   3950     # handle '-M -o', and we need to detect this.  Also, some Intel
   3951     # versions had trouble with output in subdirs.
   3952     am__obj=sub/conftest.${OBJEXT-o}
   3953     am__minus_obj="-o $am__obj"
   3954     case $depmode in
   3955     gcc)
   3956       # This depmode causes a compiler race in universal mode.
   3957       test "$am__universal" = false || continue
   3958       ;;
   3959     nosideeffect)
   3960       # After this tag, mechanisms are not by side-effect, so they'll
   3961       # only be used when explicitly requested.
   3962       if test "x$enable_dependency_tracking" = xyes; then
   3963 	continue
   3964       else
   3965 	break
   3966       fi
   3967       ;;
   3968     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3969       # This compiler won't grok '-c -o', but also, the minuso test has
   3970       # not run yet.  These depmodes are late enough in the game, and
   3971       # so weak that their functioning should not be impacted.
   3972       am__obj=conftest.${OBJEXT-o}
   3973       am__minus_obj=
   3974       ;;
   3975     none) break ;;
   3976     esac
   3977     if depmode=$depmode \
   3978        source=sub/conftest.c object=$am__obj \
   3979        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3980        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3981          >/dev/null 2>conftest.err &&
   3982        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3983        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3984        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3985        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3986       # icc doesn't choke on unknown options, it will just issue warnings
   3987       # or remarks (even with -Werror).  So we grep stderr for any message
   3988       # that says an option was ignored or not supported.
   3989       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3990       #   icc: Command line warning: ignoring option '-M'; no argument required
   3991       # The diagnosis changed in icc 8.0:
   3992       #   icc: Command line remark: option '-MP' not supported
   3993       if (grep 'ignoring option' conftest.err ||
   3994           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3995         am_cv_CC_dependencies_compiler_type=$depmode
   3996         break
   3997       fi
   3998     fi
   3999   done
   4000 
   4001   cd ..
   4002   rm -rf conftest.dir
   4003 else
   4004   am_cv_CC_dependencies_compiler_type=none
   4005 fi
   4006 
   4007 fi
   4008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4009 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4010 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4011 
   4012  if
   4013   test "x$enable_dependency_tracking" != xno \
   4014   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4015   am__fastdepCC_TRUE=
   4016   am__fastdepCC_FALSE='#'
   4017 else
   4018   am__fastdepCC_TRUE='#'
   4019   am__fastdepCC_FALSE=
   4020 fi
   4021 
   4022 
   4023    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   4024 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   4025 if ${ac_cv_prog_cc_c99+:} false; then :
   4026   $as_echo_n "(cached) " >&6
   4027 else
   4028   ac_cv_prog_cc_c99=no
   4029 ac_save_CC=$CC
   4030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4031 /* end confdefs.h.  */
   4032 #include <stdarg.h>
   4033 #include <stdbool.h>
   4034 #include <stdlib.h>
   4035 #include <wchar.h>
   4036 #include <stdio.h>
   4037 
   4038 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   4039 #define debug(...) fprintf (stderr, __VA_ARGS__)
   4040 #define showlist(...) puts (#__VA_ARGS__)
   4041 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   4042 static void
   4043 test_varargs_macros (void)
   4044 {
   4045   int x = 1234;
   4046   int y = 5678;
   4047   debug ("Flag");
   4048   debug ("X = %d\n", x);
   4049   showlist (The first, second, and third items.);
   4050   report (x>y, "x is %d but y is %d", x, y);
   4051 }
   4052 
   4053 // Check long long types.
   4054 #define BIG64 18446744073709551615ull
   4055 #define BIG32 4294967295ul
   4056 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   4057 #if !BIG_OK
   4058   your preprocessor is broken;
   4059 #endif
   4060 #if BIG_OK
   4061 #else
   4062   your preprocessor is broken;
   4063 #endif
   4064 static long long int bignum = -9223372036854775807LL;
   4065 static unsigned long long int ubignum = BIG64;
   4066 
   4067 struct incomplete_array
   4068 {
   4069   int datasize;
   4070   double data[];
   4071 };
   4072 
   4073 struct named_init {
   4074   int number;
   4075   const wchar_t *name;
   4076   double average;
   4077 };
   4078 
   4079 typedef const char *ccp;
   4080 
   4081 static inline int
   4082 test_restrict (ccp restrict text)
   4083 {
   4084   // See if C++-style comments work.
   4085   // Iterate through items via the restricted pointer.
   4086   // Also check for declarations in for loops.
   4087   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   4088     continue;
   4089   return 0;
   4090 }
   4091 
   4092 // Check varargs and va_copy.
   4093 static void
   4094 test_varargs (const char *format, ...)
   4095 {
   4096   va_list args;
   4097   va_start (args, format);
   4098   va_list args_copy;
   4099   va_copy (args_copy, args);
   4100 
   4101   const char *str;
   4102   int number;
   4103   float fnumber;
   4104 
   4105   while (*format)
   4106     {
   4107       switch (*format++)
   4108 	{
   4109 	case 's': // string
   4110 	  str = va_arg (args_copy, const char *);
   4111 	  break;
   4112 	case 'd': // int
   4113 	  number = va_arg (args_copy, int);
   4114 	  break;
   4115 	case 'f': // float
   4116 	  fnumber = va_arg (args_copy, double);
   4117 	  break;
   4118 	default:
   4119 	  break;
   4120 	}
   4121     }
   4122   va_end (args_copy);
   4123   va_end (args);
   4124 }
   4125 
   4126 int
   4127 main ()
   4128 {
   4129 
   4130   // Check bool.
   4131   _Bool success = false;
   4132 
   4133   // Check restrict.
   4134   if (test_restrict ("String literal") == 0)
   4135     success = true;
   4136   char *restrict newvar = "Another string";
   4137 
   4138   // Check varargs.
   4139   test_varargs ("s, d' f .", "string", 65, 34.234);
   4140   test_varargs_macros ();
   4141 
   4142   // Check flexible array members.
   4143   struct incomplete_array *ia =
   4144     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   4145   ia->datasize = 10;
   4146   for (int i = 0; i < ia->datasize; ++i)
   4147     ia->data[i] = i * 1.234;
   4148 
   4149   // Check named initializers.
   4150   struct named_init ni = {
   4151     .number = 34,
   4152     .name = L"Test wide string",
   4153     .average = 543.34343,
   4154   };
   4155 
   4156   ni.number = 58;
   4157 
   4158   int dynamic_array[ni.number];
   4159   dynamic_array[ni.number - 1] = 543;
   4160 
   4161   // work around unused variable warnings
   4162   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   4163 	  || dynamic_array[ni.number - 1] != 543);
   4164 
   4165   ;
   4166   return 0;
   4167 }
   4168 _ACEOF
   4169 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   4170 do
   4171   CC="$ac_save_CC $ac_arg"
   4172   if ac_fn_c_try_compile "$LINENO"; then :
   4173   ac_cv_prog_cc_c99=$ac_arg
   4174 fi
   4175 rm -f core conftest.err conftest.$ac_objext
   4176   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4177 done
   4178 rm -f conftest.$ac_ext
   4179 CC=$ac_save_CC
   4180 
   4181 fi
   4182 # AC_CACHE_VAL
   4183 case "x$ac_cv_prog_cc_c99" in
   4184   x)
   4185     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4186 $as_echo "none needed" >&6; } ;;
   4187   xno)
   4188     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4189 $as_echo "unsupported" >&6; } ;;
   4190   *)
   4191     CC="$CC $ac_cv_prog_cc_c99"
   4192     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4193 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   4194 esac
   4195 if test "x$ac_cv_prog_cc_c99" != xno; then :
   4196 
   4197 fi
   4198 
   4199 
   4200 
   4201 ac_ext=c
   4202 ac_cpp='$CPP $CPPFLAGS'
   4203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4207 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4208 # On Suns, sometimes $CPP names a directory.
   4209 if test -n "$CPP" && test -d "$CPP"; then
   4210   CPP=
   4211 fi
   4212 if test -z "$CPP"; then
   4213   if ${ac_cv_prog_CPP+:} false; then :
   4214   $as_echo_n "(cached) " >&6
   4215 else
   4216       # Double quotes because CPP needs to be expanded
   4217     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4218     do
   4219       ac_preproc_ok=false
   4220 for ac_c_preproc_warn_flag in '' yes
   4221 do
   4222   # Use a header file that comes with gcc, so configuring glibc
   4223   # with a fresh cross-compiler works.
   4224   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4225   # <limits.h> exists even on freestanding compilers.
   4226   # On the NeXT, cc -E runs the code through the compiler's parser,
   4227   # not just through cpp. "Syntax error" is here to catch this case.
   4228   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4229 /* end confdefs.h.  */
   4230 #ifdef __STDC__
   4231 # include <limits.h>
   4232 #else
   4233 # include <assert.h>
   4234 #endif
   4235 		     Syntax error
   4236 _ACEOF
   4237 if ac_fn_c_try_cpp "$LINENO"; then :
   4238 
   4239 else
   4240   # Broken: fails on valid input.
   4241 continue
   4242 fi
   4243 rm -f conftest.err conftest.i conftest.$ac_ext
   4244 
   4245   # OK, works on sane cases.  Now check whether nonexistent headers
   4246   # can be detected and how.
   4247   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4248 /* end confdefs.h.  */
   4249 #include <ac_nonexistent.h>
   4250 _ACEOF
   4251 if ac_fn_c_try_cpp "$LINENO"; then :
   4252   # Broken: success on invalid input.
   4253 continue
   4254 else
   4255   # Passes both tests.
   4256 ac_preproc_ok=:
   4257 break
   4258 fi
   4259 rm -f conftest.err conftest.i conftest.$ac_ext
   4260 
   4261 done
   4262 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4263 rm -f conftest.i conftest.err conftest.$ac_ext
   4264 if $ac_preproc_ok; then :
   4265   break
   4266 fi
   4267 
   4268     done
   4269     ac_cv_prog_CPP=$CPP
   4270 
   4271 fi
   4272   CPP=$ac_cv_prog_CPP
   4273 else
   4274   ac_cv_prog_CPP=$CPP
   4275 fi
   4276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4277 $as_echo "$CPP" >&6; }
   4278 ac_preproc_ok=false
   4279 for ac_c_preproc_warn_flag in '' yes
   4280 do
   4281   # Use a header file that comes with gcc, so configuring glibc
   4282   # with a fresh cross-compiler works.
   4283   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4284   # <limits.h> exists even on freestanding compilers.
   4285   # On the NeXT, cc -E runs the code through the compiler's parser,
   4286   # not just through cpp. "Syntax error" is here to catch this case.
   4287   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4288 /* end confdefs.h.  */
   4289 #ifdef __STDC__
   4290 # include <limits.h>
   4291 #else
   4292 # include <assert.h>
   4293 #endif
   4294 		     Syntax error
   4295 _ACEOF
   4296 if ac_fn_c_try_cpp "$LINENO"; then :
   4297 
   4298 else
   4299   # Broken: fails on valid input.
   4300 continue
   4301 fi
   4302 rm -f conftest.err conftest.i conftest.$ac_ext
   4303 
   4304   # OK, works on sane cases.  Now check whether nonexistent headers
   4305   # can be detected and how.
   4306   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4307 /* end confdefs.h.  */
   4308 #include <ac_nonexistent.h>
   4309 _ACEOF
   4310 if ac_fn_c_try_cpp "$LINENO"; then :
   4311   # Broken: success on invalid input.
   4312 continue
   4313 else
   4314   # Passes both tests.
   4315 ac_preproc_ok=:
   4316 break
   4317 fi
   4318 rm -f conftest.err conftest.i conftest.$ac_ext
   4319 
   4320 done
   4321 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4322 rm -f conftest.i conftest.err conftest.$ac_ext
   4323 if $ac_preproc_ok; then :
   4324 
   4325 else
   4326   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4327 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4328 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4329 See \`config.log' for more details" "$LINENO" 5; }
   4330 fi
   4331 
   4332 ac_ext=c
   4333 ac_cpp='$CPP $CPPFLAGS'
   4334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4337 
   4338 
   4339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4340 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4341 if ${ac_cv_path_GREP+:} false; then :
   4342   $as_echo_n "(cached) " >&6
   4343 else
   4344   if test -z "$GREP"; then
   4345   ac_path_GREP_found=false
   4346   # Loop through the user's path and test for each of PROGNAME-LIST
   4347   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4348 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4349 do
   4350   IFS=$as_save_IFS
   4351   test -z "$as_dir" && as_dir=.
   4352     for ac_prog in grep ggrep; do
   4353     for ac_exec_ext in '' $ac_executable_extensions; do
   4354       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4355       as_fn_executable_p "$ac_path_GREP" || continue
   4356 # Check for GNU ac_path_GREP and select it if it is found.
   4357   # Check for GNU $ac_path_GREP
   4358 case `"$ac_path_GREP" --version 2>&1` in
   4359 *GNU*)
   4360   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4361 *)
   4362   ac_count=0
   4363   $as_echo_n 0123456789 >"conftest.in"
   4364   while :
   4365   do
   4366     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4367     mv "conftest.tmp" "conftest.in"
   4368     cp "conftest.in" "conftest.nl"
   4369     $as_echo 'GREP' >> "conftest.nl"
   4370     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4371     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4372     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4373     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4374       # Best one so far, save it but keep looking for a better one
   4375       ac_cv_path_GREP="$ac_path_GREP"
   4376       ac_path_GREP_max=$ac_count
   4377     fi
   4378     # 10*(2^10) chars as input seems more than enough
   4379     test $ac_count -gt 10 && break
   4380   done
   4381   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4382 esac
   4383 
   4384       $ac_path_GREP_found && break 3
   4385     done
   4386   done
   4387   done
   4388 IFS=$as_save_IFS
   4389   if test -z "$ac_cv_path_GREP"; then
   4390     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4391   fi
   4392 else
   4393   ac_cv_path_GREP=$GREP
   4394 fi
   4395 
   4396 fi
   4397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4398 $as_echo "$ac_cv_path_GREP" >&6; }
   4399  GREP="$ac_cv_path_GREP"
   4400 
   4401 
   4402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4403 $as_echo_n "checking for egrep... " >&6; }
   4404 if ${ac_cv_path_EGREP+:} false; then :
   4405   $as_echo_n "(cached) " >&6
   4406 else
   4407   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4408    then ac_cv_path_EGREP="$GREP -E"
   4409    else
   4410      if test -z "$EGREP"; then
   4411   ac_path_EGREP_found=false
   4412   # Loop through the user's path and test for each of PROGNAME-LIST
   4413   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4414 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4415 do
   4416   IFS=$as_save_IFS
   4417   test -z "$as_dir" && as_dir=.
   4418     for ac_prog in egrep; do
   4419     for ac_exec_ext in '' $ac_executable_extensions; do
   4420       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4421       as_fn_executable_p "$ac_path_EGREP" || continue
   4422 # Check for GNU ac_path_EGREP and select it if it is found.
   4423   # Check for GNU $ac_path_EGREP
   4424 case `"$ac_path_EGREP" --version 2>&1` in
   4425 *GNU*)
   4426   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4427 *)
   4428   ac_count=0
   4429   $as_echo_n 0123456789 >"conftest.in"
   4430   while :
   4431   do
   4432     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4433     mv "conftest.tmp" "conftest.in"
   4434     cp "conftest.in" "conftest.nl"
   4435     $as_echo 'EGREP' >> "conftest.nl"
   4436     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4437     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4438     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4439     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4440       # Best one so far, save it but keep looking for a better one
   4441       ac_cv_path_EGREP="$ac_path_EGREP"
   4442       ac_path_EGREP_max=$ac_count
   4443     fi
   4444     # 10*(2^10) chars as input seems more than enough
   4445     test $ac_count -gt 10 && break
   4446   done
   4447   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4448 esac
   4449 
   4450       $ac_path_EGREP_found && break 3
   4451     done
   4452   done
   4453   done
   4454 IFS=$as_save_IFS
   4455   if test -z "$ac_cv_path_EGREP"; then
   4456     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4457   fi
   4458 else
   4459   ac_cv_path_EGREP=$EGREP
   4460 fi
   4461 
   4462    fi
   4463 fi
   4464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4465 $as_echo "$ac_cv_path_EGREP" >&6; }
   4466  EGREP="$ac_cv_path_EGREP"
   4467 
   4468 
   4469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4470 $as_echo_n "checking for ANSI C header files... " >&6; }
   4471 if ${ac_cv_header_stdc+:} false; then :
   4472   $as_echo_n "(cached) " >&6
   4473 else
   4474   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4475 /* end confdefs.h.  */
   4476 #include <stdlib.h>
   4477 #include <stdarg.h>
   4478 #include <string.h>
   4479 #include <float.h>
   4480 
   4481 int
   4482 main ()
   4483 {
   4484 
   4485   ;
   4486   return 0;
   4487 }
   4488 _ACEOF
   4489 if ac_fn_c_try_compile "$LINENO"; then :
   4490   ac_cv_header_stdc=yes
   4491 else
   4492   ac_cv_header_stdc=no
   4493 fi
   4494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4495 
   4496 if test $ac_cv_header_stdc = yes; then
   4497   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4498   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4499 /* end confdefs.h.  */
   4500 #include <string.h>
   4501 
   4502 _ACEOF
   4503 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4504   $EGREP "memchr" >/dev/null 2>&1; then :
   4505 
   4506 else
   4507   ac_cv_header_stdc=no
   4508 fi
   4509 rm -f conftest*
   4510 
   4511 fi
   4512 
   4513 if test $ac_cv_header_stdc = yes; then
   4514   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4515   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4516 /* end confdefs.h.  */
   4517 #include <stdlib.h>
   4518 
   4519 _ACEOF
   4520 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4521   $EGREP "free" >/dev/null 2>&1; then :
   4522 
   4523 else
   4524   ac_cv_header_stdc=no
   4525 fi
   4526 rm -f conftest*
   4527 
   4528 fi
   4529 
   4530 if test $ac_cv_header_stdc = yes; then
   4531   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4532   if test "$cross_compiling" = yes; then :
   4533   :
   4534 else
   4535   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4536 /* end confdefs.h.  */
   4537 #include <ctype.h>
   4538 #include <stdlib.h>
   4539 #if ((' ' & 0x0FF) == 0x020)
   4540 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4541 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4542 #else
   4543 # define ISLOWER(c) \
   4544 		   (('a' <= (c) && (c) <= 'i') \
   4545 		     || ('j' <= (c) && (c) <= 'r') \
   4546 		     || ('s' <= (c) && (c) <= 'z'))
   4547 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4548 #endif
   4549 
   4550 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4551 int
   4552 main ()
   4553 {
   4554   int i;
   4555   for (i = 0; i < 256; i++)
   4556     if (XOR (islower (i), ISLOWER (i))
   4557 	|| toupper (i) != TOUPPER (i))
   4558       return 2;
   4559   return 0;
   4560 }
   4561 _ACEOF
   4562 if ac_fn_c_try_run "$LINENO"; then :
   4563 
   4564 else
   4565   ac_cv_header_stdc=no
   4566 fi
   4567 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4568   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4569 fi
   4570 
   4571 fi
   4572 fi
   4573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4574 $as_echo "$ac_cv_header_stdc" >&6; }
   4575 if test $ac_cv_header_stdc = yes; then
   4576 
   4577 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4578 
   4579 fi
   4580 
   4581 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4582 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4583 		  inttypes.h stdint.h unistd.h
   4584 do :
   4585   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4586 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4587 "
   4588 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4589   cat >>confdefs.h <<_ACEOF
   4590 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4591 _ACEOF
   4592 
   4593 fi
   4594 
   4595 done
   4596 
   4597 
   4598 
   4599 
   4600 
   4601 
   4602 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4603 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4604   CLANGCC="yes"
   4605 else
   4606   CLANGCC="no"
   4607 fi
   4608 
   4609 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4610 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4611   INTELCC="yes"
   4612 else
   4613   INTELCC="no"
   4614 fi
   4615 
   4616 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4617 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4618   SUNCC="yes"
   4619 else
   4620   SUNCC="no"
   4621 fi
   4622 
   4623 
   4624 
   4625 
   4626 
   4627 
   4628 
   4629 
   4630 
   4631 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4632 	if test -n "$ac_tool_prefix"; then
   4633   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4634 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4636 $as_echo_n "checking for $ac_word... " >&6; }
   4637 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4638   $as_echo_n "(cached) " >&6
   4639 else
   4640   case $PKG_CONFIG in
   4641   [\\/]* | ?:[\\/]*)
   4642   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4643   ;;
   4644   *)
   4645   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4646 for as_dir in $PATH
   4647 do
   4648   IFS=$as_save_IFS
   4649   test -z "$as_dir" && as_dir=.
   4650     for ac_exec_ext in '' $ac_executable_extensions; do
   4651   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4652     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4653     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4654     break 2
   4655   fi
   4656 done
   4657   done
   4658 IFS=$as_save_IFS
   4659 
   4660   ;;
   4661 esac
   4662 fi
   4663 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4664 if test -n "$PKG_CONFIG"; then
   4665   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4666 $as_echo "$PKG_CONFIG" >&6; }
   4667 else
   4668   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4669 $as_echo "no" >&6; }
   4670 fi
   4671 
   4672 
   4673 fi
   4674 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4675   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4676   # Extract the first word of "pkg-config", so it can be a program name with args.
   4677 set dummy pkg-config; ac_word=$2
   4678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4679 $as_echo_n "checking for $ac_word... " >&6; }
   4680 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4681   $as_echo_n "(cached) " >&6
   4682 else
   4683   case $ac_pt_PKG_CONFIG in
   4684   [\\/]* | ?:[\\/]*)
   4685   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4686   ;;
   4687   *)
   4688   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4689 for as_dir in $PATH
   4690 do
   4691   IFS=$as_save_IFS
   4692   test -z "$as_dir" && as_dir=.
   4693     for ac_exec_ext in '' $ac_executable_extensions; do
   4694   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4695     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4696     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4697     break 2
   4698   fi
   4699 done
   4700   done
   4701 IFS=$as_save_IFS
   4702 
   4703   ;;
   4704 esac
   4705 fi
   4706 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4707 if test -n "$ac_pt_PKG_CONFIG"; then
   4708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4709 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4710 else
   4711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4712 $as_echo "no" >&6; }
   4713 fi
   4714 
   4715   if test "x$ac_pt_PKG_CONFIG" = x; then
   4716     PKG_CONFIG=""
   4717   else
   4718     case $cross_compiling:$ac_tool_warned in
   4719 yes:)
   4720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4721 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4722 ac_tool_warned=yes ;;
   4723 esac
   4724     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4725   fi
   4726 else
   4727   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4728 fi
   4729 
   4730 fi
   4731 if test -n "$PKG_CONFIG"; then
   4732 	_pkg_min_version=0.9.0
   4733 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4734 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4735 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4736 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4737 $as_echo "yes" >&6; }
   4738 	else
   4739 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4740 $as_echo "no" >&6; }
   4741 		PKG_CONFIG=""
   4742 	fi
   4743 fi
   4744 # Make sure we can run config.sub.
   4745 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4746   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4747 
   4748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4749 $as_echo_n "checking build system type... " >&6; }
   4750 if ${ac_cv_build+:} false; then :
   4751   $as_echo_n "(cached) " >&6
   4752 else
   4753   ac_build_alias=$build_alias
   4754 test "x$ac_build_alias" = x &&
   4755   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4756 test "x$ac_build_alias" = x &&
   4757   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4758 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4759   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4760 
   4761 fi
   4762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4763 $as_echo "$ac_cv_build" >&6; }
   4764 case $ac_cv_build in
   4765 *-*-*) ;;
   4766 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4767 esac
   4768 build=$ac_cv_build
   4769 ac_save_IFS=$IFS; IFS='-'
   4770 set x $ac_cv_build
   4771 shift
   4772 build_cpu=$1
   4773 build_vendor=$2
   4774 shift; shift
   4775 # Remember, the first character of IFS is used to create $*,
   4776 # except with old shells:
   4777 build_os=$*
   4778 IFS=$ac_save_IFS
   4779 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4780 
   4781 
   4782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4783 $as_echo_n "checking host system type... " >&6; }
   4784 if ${ac_cv_host+:} false; then :
   4785   $as_echo_n "(cached) " >&6
   4786 else
   4787   if test "x$host_alias" = x; then
   4788   ac_cv_host=$ac_cv_build
   4789 else
   4790   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4791     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4792 fi
   4793 
   4794 fi
   4795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4796 $as_echo "$ac_cv_host" >&6; }
   4797 case $ac_cv_host in
   4798 *-*-*) ;;
   4799 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4800 esac
   4801 host=$ac_cv_host
   4802 ac_save_IFS=$IFS; IFS='-'
   4803 set x $ac_cv_host
   4804 shift
   4805 host_cpu=$1
   4806 host_vendor=$2
   4807 shift; shift
   4808 # Remember, the first character of IFS is used to create $*,
   4809 # except with old shells:
   4810 host_os=$*
   4811 IFS=$ac_save_IFS
   4812 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4813 
   4814 
   4815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4816 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4817 if ${ac_cv_path_SED+:} false; then :
   4818   $as_echo_n "(cached) " >&6
   4819 else
   4820             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4821      for ac_i in 1 2 3 4 5 6 7; do
   4822        ac_script="$ac_script$as_nl$ac_script"
   4823      done
   4824      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4825      { ac_script=; unset ac_script;}
   4826      if test -z "$SED"; then
   4827   ac_path_SED_found=false
   4828   # Loop through the user's path and test for each of PROGNAME-LIST
   4829   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4830 for as_dir in $PATH
   4831 do
   4832   IFS=$as_save_IFS
   4833   test -z "$as_dir" && as_dir=.
   4834     for ac_prog in sed gsed; do
   4835     for ac_exec_ext in '' $ac_executable_extensions; do
   4836       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4837       as_fn_executable_p "$ac_path_SED" || continue
   4838 # Check for GNU ac_path_SED and select it if it is found.
   4839   # Check for GNU $ac_path_SED
   4840 case `"$ac_path_SED" --version 2>&1` in
   4841 *GNU*)
   4842   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4843 *)
   4844   ac_count=0
   4845   $as_echo_n 0123456789 >"conftest.in"
   4846   while :
   4847   do
   4848     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4849     mv "conftest.tmp" "conftest.in"
   4850     cp "conftest.in" "conftest.nl"
   4851     $as_echo '' >> "conftest.nl"
   4852     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4853     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4854     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4855     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4856       # Best one so far, save it but keep looking for a better one
   4857       ac_cv_path_SED="$ac_path_SED"
   4858       ac_path_SED_max=$ac_count
   4859     fi
   4860     # 10*(2^10) chars as input seems more than enough
   4861     test $ac_count -gt 10 && break
   4862   done
   4863   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4864 esac
   4865 
   4866       $ac_path_SED_found && break 3
   4867     done
   4868   done
   4869   done
   4870 IFS=$as_save_IFS
   4871   if test -z "$ac_cv_path_SED"; then
   4872     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4873   fi
   4874 else
   4875   ac_cv_path_SED=$SED
   4876 fi
   4877 
   4878 fi
   4879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4880 $as_echo "$ac_cv_path_SED" >&6; }
   4881  SED="$ac_cv_path_SED"
   4882   rm -f conftest.sed
   4883 
   4884 
   4885 
   4886 
   4887 
   4888 
   4889 # Check whether --enable-selective-werror was given.
   4890 if test "${enable_selective_werror+set}" = set; then :
   4891   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4892 else
   4893   SELECTIVE_WERROR=yes
   4894 fi
   4895 
   4896 
   4897 
   4898 
   4899 
   4900 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4901 if test "x$SUNCC" = "xyes"; then
   4902     BASE_CFLAGS="-v"
   4903 else
   4904     BASE_CFLAGS=""
   4905 fi
   4906 
   4907 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4908 
   4909 
   4910 
   4911 
   4912 
   4913 
   4914 
   4915 
   4916 
   4917 
   4918 
   4919 
   4920 
   4921 xorg_testset_save_CFLAGS="$CFLAGS"
   4922 
   4923 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4924 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4925 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4926 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4927 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4928   $as_echo_n "(cached) " >&6
   4929 else
   4930   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4931 /* end confdefs.h.  */
   4932 int i;
   4933 _ACEOF
   4934 if ac_fn_c_try_compile "$LINENO"; then :
   4935   xorg_cv_cc_flag_unknown_warning_option=yes
   4936 else
   4937   xorg_cv_cc_flag_unknown_warning_option=no
   4938 fi
   4939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4940 fi
   4941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4942 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4943 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4944 	CFLAGS="$xorg_testset_save_CFLAGS"
   4945 fi
   4946 
   4947 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4948 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4949 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4950 	fi
   4951 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4952 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4953 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4954 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4955   $as_echo_n "(cached) " >&6
   4956 else
   4957   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4958 /* end confdefs.h.  */
   4959 int i;
   4960 _ACEOF
   4961 if ac_fn_c_try_compile "$LINENO"; then :
   4962   xorg_cv_cc_flag_unused_command_line_argument=yes
   4963 else
   4964   xorg_cv_cc_flag_unused_command_line_argument=no
   4965 fi
   4966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4967 fi
   4968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4969 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4970 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4971 	CFLAGS="$xorg_testset_save_CFLAGS"
   4972 fi
   4973 
   4974 found="no"
   4975 
   4976 	if test $found = "no" ; then
   4977 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4978 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4979 		fi
   4980 
   4981 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4982 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4983 		fi
   4984 
   4985 		CFLAGS="$CFLAGS -Wall"
   4986 
   4987 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4988 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4989 		cacheid=xorg_cv_cc_flag__Wall
   4990 		if eval \${$cacheid+:} false; then :
   4991   $as_echo_n "(cached) " >&6
   4992 else
   4993   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4994 /* end confdefs.h.  */
   4995 int i;
   4996 int
   4997 main ()
   4998 {
   4999 
   5000   ;
   5001   return 0;
   5002 }
   5003 _ACEOF
   5004 if ac_fn_c_try_link "$LINENO"; then :
   5005   eval $cacheid=yes
   5006 else
   5007   eval $cacheid=no
   5008 fi
   5009 rm -f core conftest.err conftest.$ac_objext \
   5010     conftest$ac_exeext conftest.$ac_ext
   5011 fi
   5012 
   5013 
   5014 		CFLAGS="$xorg_testset_save_CFLAGS"
   5015 
   5016 		eval supported=\$$cacheid
   5017 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5018 $as_echo "$supported" >&6; }
   5019 		if test "$supported" = "yes" ; then
   5020 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5021 			found="yes"
   5022 		fi
   5023 	fi
   5024 
   5025 
   5026 
   5027 
   5028 
   5029 
   5030 
   5031 
   5032 
   5033 
   5034 
   5035 
   5036 
   5037 
   5038 
   5039 xorg_testset_save_CFLAGS="$CFLAGS"
   5040 
   5041 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5042 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5043 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5044 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5045 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5046   $as_echo_n "(cached) " >&6
   5047 else
   5048   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5049 /* end confdefs.h.  */
   5050 int i;
   5051 _ACEOF
   5052 if ac_fn_c_try_compile "$LINENO"; then :
   5053   xorg_cv_cc_flag_unknown_warning_option=yes
   5054 else
   5055   xorg_cv_cc_flag_unknown_warning_option=no
   5056 fi
   5057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5058 fi
   5059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5060 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5061 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5062 	CFLAGS="$xorg_testset_save_CFLAGS"
   5063 fi
   5064 
   5065 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5066 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5067 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5068 	fi
   5069 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5070 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5071 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5072 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5073   $as_echo_n "(cached) " >&6
   5074 else
   5075   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5076 /* end confdefs.h.  */
   5077 int i;
   5078 _ACEOF
   5079 if ac_fn_c_try_compile "$LINENO"; then :
   5080   xorg_cv_cc_flag_unused_command_line_argument=yes
   5081 else
   5082   xorg_cv_cc_flag_unused_command_line_argument=no
   5083 fi
   5084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5085 fi
   5086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5087 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5088 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5089 	CFLAGS="$xorg_testset_save_CFLAGS"
   5090 fi
   5091 
   5092 found="no"
   5093 
   5094 	if test $found = "no" ; then
   5095 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5096 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5097 		fi
   5098 
   5099 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5100 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5101 		fi
   5102 
   5103 		CFLAGS="$CFLAGS -Wpointer-arith"
   5104 
   5105 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5106 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   5107 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5108 		if eval \${$cacheid+:} false; then :
   5109   $as_echo_n "(cached) " >&6
   5110 else
   5111   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5112 /* end confdefs.h.  */
   5113 int i;
   5114 int
   5115 main ()
   5116 {
   5117 
   5118   ;
   5119   return 0;
   5120 }
   5121 _ACEOF
   5122 if ac_fn_c_try_link "$LINENO"; then :
   5123   eval $cacheid=yes
   5124 else
   5125   eval $cacheid=no
   5126 fi
   5127 rm -f core conftest.err conftest.$ac_objext \
   5128     conftest$ac_exeext conftest.$ac_ext
   5129 fi
   5130 
   5131 
   5132 		CFLAGS="$xorg_testset_save_CFLAGS"
   5133 
   5134 		eval supported=\$$cacheid
   5135 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5136 $as_echo "$supported" >&6; }
   5137 		if test "$supported" = "yes" ; then
   5138 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5139 			found="yes"
   5140 		fi
   5141 	fi
   5142 
   5143 
   5144 
   5145 
   5146 
   5147 
   5148 
   5149 
   5150 
   5151 
   5152 
   5153 
   5154 
   5155 
   5156 
   5157 xorg_testset_save_CFLAGS="$CFLAGS"
   5158 
   5159 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5160 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5161 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5162 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5163 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5164   $as_echo_n "(cached) " >&6
   5165 else
   5166   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5167 /* end confdefs.h.  */
   5168 int i;
   5169 _ACEOF
   5170 if ac_fn_c_try_compile "$LINENO"; then :
   5171   xorg_cv_cc_flag_unknown_warning_option=yes
   5172 else
   5173   xorg_cv_cc_flag_unknown_warning_option=no
   5174 fi
   5175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5176 fi
   5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5178 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5179 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5180 	CFLAGS="$xorg_testset_save_CFLAGS"
   5181 fi
   5182 
   5183 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5184 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5185 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5186 	fi
   5187 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5188 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5189 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5190 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5191   $as_echo_n "(cached) " >&6
   5192 else
   5193   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5194 /* end confdefs.h.  */
   5195 int i;
   5196 _ACEOF
   5197 if ac_fn_c_try_compile "$LINENO"; then :
   5198   xorg_cv_cc_flag_unused_command_line_argument=yes
   5199 else
   5200   xorg_cv_cc_flag_unused_command_line_argument=no
   5201 fi
   5202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5203 fi
   5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5205 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5206 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5207 	CFLAGS="$xorg_testset_save_CFLAGS"
   5208 fi
   5209 
   5210 found="no"
   5211 
   5212 	if test $found = "no" ; then
   5213 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5214 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5215 		fi
   5216 
   5217 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5218 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5219 		fi
   5220 
   5221 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5222 
   5223 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5224 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   5225 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5226 		if eval \${$cacheid+:} false; then :
   5227   $as_echo_n "(cached) " >&6
   5228 else
   5229   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5230 /* end confdefs.h.  */
   5231 int i;
   5232 int
   5233 main ()
   5234 {
   5235 
   5236   ;
   5237   return 0;
   5238 }
   5239 _ACEOF
   5240 if ac_fn_c_try_link "$LINENO"; then :
   5241   eval $cacheid=yes
   5242 else
   5243   eval $cacheid=no
   5244 fi
   5245 rm -f core conftest.err conftest.$ac_objext \
   5246     conftest$ac_exeext conftest.$ac_ext
   5247 fi
   5248 
   5249 
   5250 		CFLAGS="$xorg_testset_save_CFLAGS"
   5251 
   5252 		eval supported=\$$cacheid
   5253 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5254 $as_echo "$supported" >&6; }
   5255 		if test "$supported" = "yes" ; then
   5256 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5257 			found="yes"
   5258 		fi
   5259 	fi
   5260 
   5261 
   5262 
   5263 
   5264 
   5265 
   5266 
   5267 
   5268 
   5269 
   5270 
   5271 
   5272 
   5273 
   5274 
   5275 xorg_testset_save_CFLAGS="$CFLAGS"
   5276 
   5277 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5278 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5279 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5280 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5281 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5282   $as_echo_n "(cached) " >&6
   5283 else
   5284   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5285 /* end confdefs.h.  */
   5286 int i;
   5287 _ACEOF
   5288 if ac_fn_c_try_compile "$LINENO"; then :
   5289   xorg_cv_cc_flag_unknown_warning_option=yes
   5290 else
   5291   xorg_cv_cc_flag_unknown_warning_option=no
   5292 fi
   5293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5294 fi
   5295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5296 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5297 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5298 	CFLAGS="$xorg_testset_save_CFLAGS"
   5299 fi
   5300 
   5301 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5302 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5303 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5304 	fi
   5305 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5306 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5307 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5308 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5309   $as_echo_n "(cached) " >&6
   5310 else
   5311   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5312 /* end confdefs.h.  */
   5313 int i;
   5314 _ACEOF
   5315 if ac_fn_c_try_compile "$LINENO"; then :
   5316   xorg_cv_cc_flag_unused_command_line_argument=yes
   5317 else
   5318   xorg_cv_cc_flag_unused_command_line_argument=no
   5319 fi
   5320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5321 fi
   5322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5323 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5324 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5325 	CFLAGS="$xorg_testset_save_CFLAGS"
   5326 fi
   5327 
   5328 found="no"
   5329 
   5330 	if test $found = "no" ; then
   5331 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5332 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5333 		fi
   5334 
   5335 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5336 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5337 		fi
   5338 
   5339 		CFLAGS="$CFLAGS -Wformat=2"
   5340 
   5341 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5342 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5343 		cacheid=xorg_cv_cc_flag__Wformat_2
   5344 		if eval \${$cacheid+:} false; then :
   5345   $as_echo_n "(cached) " >&6
   5346 else
   5347   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5348 /* end confdefs.h.  */
   5349 int i;
   5350 int
   5351 main ()
   5352 {
   5353 
   5354   ;
   5355   return 0;
   5356 }
   5357 _ACEOF
   5358 if ac_fn_c_try_link "$LINENO"; then :
   5359   eval $cacheid=yes
   5360 else
   5361   eval $cacheid=no
   5362 fi
   5363 rm -f core conftest.err conftest.$ac_objext \
   5364     conftest$ac_exeext conftest.$ac_ext
   5365 fi
   5366 
   5367 
   5368 		CFLAGS="$xorg_testset_save_CFLAGS"
   5369 
   5370 		eval supported=\$$cacheid
   5371 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5372 $as_echo "$supported" >&6; }
   5373 		if test "$supported" = "yes" ; then
   5374 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5375 			found="yes"
   5376 		fi
   5377 	fi
   5378 
   5379 	if test $found = "no" ; then
   5380 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5381 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5382 		fi
   5383 
   5384 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5385 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5386 		fi
   5387 
   5388 		CFLAGS="$CFLAGS -Wformat"
   5389 
   5390 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5391 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5392 		cacheid=xorg_cv_cc_flag__Wformat
   5393 		if eval \${$cacheid+:} false; then :
   5394   $as_echo_n "(cached) " >&6
   5395 else
   5396   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5397 /* end confdefs.h.  */
   5398 int i;
   5399 int
   5400 main ()
   5401 {
   5402 
   5403   ;
   5404   return 0;
   5405 }
   5406 _ACEOF
   5407 if ac_fn_c_try_link "$LINENO"; then :
   5408   eval $cacheid=yes
   5409 else
   5410   eval $cacheid=no
   5411 fi
   5412 rm -f core conftest.err conftest.$ac_objext \
   5413     conftest$ac_exeext conftest.$ac_ext
   5414 fi
   5415 
   5416 
   5417 		CFLAGS="$xorg_testset_save_CFLAGS"
   5418 
   5419 		eval supported=\$$cacheid
   5420 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5421 $as_echo "$supported" >&6; }
   5422 		if test "$supported" = "yes" ; then
   5423 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5424 			found="yes"
   5425 		fi
   5426 	fi
   5427 
   5428 
   5429 
   5430 
   5431 
   5432 
   5433 
   5434 
   5435 
   5436 
   5437 
   5438 
   5439 
   5440 
   5441 
   5442 
   5443 
   5444 xorg_testset_save_CFLAGS="$CFLAGS"
   5445 
   5446 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5447 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5448 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5449 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5450 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5451   $as_echo_n "(cached) " >&6
   5452 else
   5453   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5454 /* end confdefs.h.  */
   5455 int i;
   5456 _ACEOF
   5457 if ac_fn_c_try_compile "$LINENO"; then :
   5458   xorg_cv_cc_flag_unknown_warning_option=yes
   5459 else
   5460   xorg_cv_cc_flag_unknown_warning_option=no
   5461 fi
   5462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5463 fi
   5464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5465 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5466 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5467 	CFLAGS="$xorg_testset_save_CFLAGS"
   5468 fi
   5469 
   5470 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5471 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5472 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5473 	fi
   5474 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5475 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5476 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5477 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5478   $as_echo_n "(cached) " >&6
   5479 else
   5480   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5481 /* end confdefs.h.  */
   5482 int i;
   5483 _ACEOF
   5484 if ac_fn_c_try_compile "$LINENO"; then :
   5485   xorg_cv_cc_flag_unused_command_line_argument=yes
   5486 else
   5487   xorg_cv_cc_flag_unused_command_line_argument=no
   5488 fi
   5489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5490 fi
   5491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5492 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5493 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5494 	CFLAGS="$xorg_testset_save_CFLAGS"
   5495 fi
   5496 
   5497 found="no"
   5498 
   5499 	if test $found = "no" ; then
   5500 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5501 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5502 		fi
   5503 
   5504 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5505 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5506 		fi
   5507 
   5508 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5509 
   5510 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5511 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5512 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5513 		if eval \${$cacheid+:} false; then :
   5514   $as_echo_n "(cached) " >&6
   5515 else
   5516   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5517 /* end confdefs.h.  */
   5518 int i;
   5519 int
   5520 main ()
   5521 {
   5522 
   5523   ;
   5524   return 0;
   5525 }
   5526 _ACEOF
   5527 if ac_fn_c_try_link "$LINENO"; then :
   5528   eval $cacheid=yes
   5529 else
   5530   eval $cacheid=no
   5531 fi
   5532 rm -f core conftest.err conftest.$ac_objext \
   5533     conftest$ac_exeext conftest.$ac_ext
   5534 fi
   5535 
   5536 
   5537 		CFLAGS="$xorg_testset_save_CFLAGS"
   5538 
   5539 		eval supported=\$$cacheid
   5540 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5541 $as_echo "$supported" >&6; }
   5542 		if test "$supported" = "yes" ; then
   5543 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5544 			found="yes"
   5545 		fi
   5546 	fi
   5547 
   5548 
   5549 
   5550 
   5551 
   5552 
   5553 
   5554 
   5555 
   5556 
   5557 
   5558 
   5559 
   5560 
   5561 
   5562 xorg_testset_save_CFLAGS="$CFLAGS"
   5563 
   5564 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5565 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5566 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5567 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5568 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5569   $as_echo_n "(cached) " >&6
   5570 else
   5571   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5572 /* end confdefs.h.  */
   5573 int i;
   5574 _ACEOF
   5575 if ac_fn_c_try_compile "$LINENO"; then :
   5576   xorg_cv_cc_flag_unknown_warning_option=yes
   5577 else
   5578   xorg_cv_cc_flag_unknown_warning_option=no
   5579 fi
   5580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5581 fi
   5582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5583 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5584 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5585 	CFLAGS="$xorg_testset_save_CFLAGS"
   5586 fi
   5587 
   5588 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5589 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5590 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5591 	fi
   5592 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5593 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5594 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5595 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5596   $as_echo_n "(cached) " >&6
   5597 else
   5598   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5599 /* end confdefs.h.  */
   5600 int i;
   5601 _ACEOF
   5602 if ac_fn_c_try_compile "$LINENO"; then :
   5603   xorg_cv_cc_flag_unused_command_line_argument=yes
   5604 else
   5605   xorg_cv_cc_flag_unused_command_line_argument=no
   5606 fi
   5607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5608 fi
   5609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5610 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5611 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5612 	CFLAGS="$xorg_testset_save_CFLAGS"
   5613 fi
   5614 
   5615 found="no"
   5616 
   5617 	if test $found = "no" ; then
   5618 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5619 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5620 		fi
   5621 
   5622 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5623 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5624 		fi
   5625 
   5626 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5627 
   5628 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5629 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5630 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5631 		if eval \${$cacheid+:} false; then :
   5632   $as_echo_n "(cached) " >&6
   5633 else
   5634   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5635 /* end confdefs.h.  */
   5636 int i;
   5637 int
   5638 main ()
   5639 {
   5640 
   5641   ;
   5642   return 0;
   5643 }
   5644 _ACEOF
   5645 if ac_fn_c_try_link "$LINENO"; then :
   5646   eval $cacheid=yes
   5647 else
   5648   eval $cacheid=no
   5649 fi
   5650 rm -f core conftest.err conftest.$ac_objext \
   5651     conftest$ac_exeext conftest.$ac_ext
   5652 fi
   5653 
   5654 
   5655 		CFLAGS="$xorg_testset_save_CFLAGS"
   5656 
   5657 		eval supported=\$$cacheid
   5658 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5659 $as_echo "$supported" >&6; }
   5660 		if test "$supported" = "yes" ; then
   5661 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5662 			found="yes"
   5663 		fi
   5664 	fi
   5665 
   5666 
   5667 
   5668 
   5669 
   5670 
   5671 
   5672 
   5673 
   5674 
   5675 
   5676 
   5677 
   5678 
   5679 
   5680 xorg_testset_save_CFLAGS="$CFLAGS"
   5681 
   5682 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5683 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5684 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5685 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5686 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5687   $as_echo_n "(cached) " >&6
   5688 else
   5689   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5690 /* end confdefs.h.  */
   5691 int i;
   5692 _ACEOF
   5693 if ac_fn_c_try_compile "$LINENO"; then :
   5694   xorg_cv_cc_flag_unknown_warning_option=yes
   5695 else
   5696   xorg_cv_cc_flag_unknown_warning_option=no
   5697 fi
   5698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5699 fi
   5700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5701 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5702 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5703 	CFLAGS="$xorg_testset_save_CFLAGS"
   5704 fi
   5705 
   5706 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5707 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5708 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5709 	fi
   5710 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5711 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5712 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5713 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5714   $as_echo_n "(cached) " >&6
   5715 else
   5716   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5717 /* end confdefs.h.  */
   5718 int i;
   5719 _ACEOF
   5720 if ac_fn_c_try_compile "$LINENO"; then :
   5721   xorg_cv_cc_flag_unused_command_line_argument=yes
   5722 else
   5723   xorg_cv_cc_flag_unused_command_line_argument=no
   5724 fi
   5725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5726 fi
   5727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5728 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5729 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5730 	CFLAGS="$xorg_testset_save_CFLAGS"
   5731 fi
   5732 
   5733 found="no"
   5734 
   5735 	if test $found = "no" ; then
   5736 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5737 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5738 		fi
   5739 
   5740 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5741 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5742 		fi
   5743 
   5744 		CFLAGS="$CFLAGS -Wnested-externs"
   5745 
   5746 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5747 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5748 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5749 		if eval \${$cacheid+:} false; then :
   5750   $as_echo_n "(cached) " >&6
   5751 else
   5752   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5753 /* end confdefs.h.  */
   5754 int i;
   5755 int
   5756 main ()
   5757 {
   5758 
   5759   ;
   5760   return 0;
   5761 }
   5762 _ACEOF
   5763 if ac_fn_c_try_link "$LINENO"; then :
   5764   eval $cacheid=yes
   5765 else
   5766   eval $cacheid=no
   5767 fi
   5768 rm -f core conftest.err conftest.$ac_objext \
   5769     conftest$ac_exeext conftest.$ac_ext
   5770 fi
   5771 
   5772 
   5773 		CFLAGS="$xorg_testset_save_CFLAGS"
   5774 
   5775 		eval supported=\$$cacheid
   5776 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5777 $as_echo "$supported" >&6; }
   5778 		if test "$supported" = "yes" ; then
   5779 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5780 			found="yes"
   5781 		fi
   5782 	fi
   5783 
   5784 
   5785 
   5786 
   5787 
   5788 
   5789 
   5790 
   5791 
   5792 
   5793 
   5794 
   5795 
   5796 
   5797 
   5798 xorg_testset_save_CFLAGS="$CFLAGS"
   5799 
   5800 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5801 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5802 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5803 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5804 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5805   $as_echo_n "(cached) " >&6
   5806 else
   5807   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5808 /* end confdefs.h.  */
   5809 int i;
   5810 _ACEOF
   5811 if ac_fn_c_try_compile "$LINENO"; then :
   5812   xorg_cv_cc_flag_unknown_warning_option=yes
   5813 else
   5814   xorg_cv_cc_flag_unknown_warning_option=no
   5815 fi
   5816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5817 fi
   5818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5819 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5820 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5821 	CFLAGS="$xorg_testset_save_CFLAGS"
   5822 fi
   5823 
   5824 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5825 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5826 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5827 	fi
   5828 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5829 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5830 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5831 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5832   $as_echo_n "(cached) " >&6
   5833 else
   5834   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5835 /* end confdefs.h.  */
   5836 int i;
   5837 _ACEOF
   5838 if ac_fn_c_try_compile "$LINENO"; then :
   5839   xorg_cv_cc_flag_unused_command_line_argument=yes
   5840 else
   5841   xorg_cv_cc_flag_unused_command_line_argument=no
   5842 fi
   5843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5844 fi
   5845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5846 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5847 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5848 	CFLAGS="$xorg_testset_save_CFLAGS"
   5849 fi
   5850 
   5851 found="no"
   5852 
   5853 	if test $found = "no" ; then
   5854 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5855 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5856 		fi
   5857 
   5858 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5859 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5860 		fi
   5861 
   5862 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5863 
   5864 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5865 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5866 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5867 		if eval \${$cacheid+:} false; then :
   5868   $as_echo_n "(cached) " >&6
   5869 else
   5870   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5871 /* end confdefs.h.  */
   5872 int i;
   5873 int
   5874 main ()
   5875 {
   5876 
   5877   ;
   5878   return 0;
   5879 }
   5880 _ACEOF
   5881 if ac_fn_c_try_link "$LINENO"; then :
   5882   eval $cacheid=yes
   5883 else
   5884   eval $cacheid=no
   5885 fi
   5886 rm -f core conftest.err conftest.$ac_objext \
   5887     conftest$ac_exeext conftest.$ac_ext
   5888 fi
   5889 
   5890 
   5891 		CFLAGS="$xorg_testset_save_CFLAGS"
   5892 
   5893 		eval supported=\$$cacheid
   5894 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5895 $as_echo "$supported" >&6; }
   5896 		if test "$supported" = "yes" ; then
   5897 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5898 			found="yes"
   5899 		fi
   5900 	fi
   5901 
   5902 
   5903 
   5904 
   5905 
   5906 
   5907 
   5908 
   5909 
   5910 
   5911 
   5912 
   5913 
   5914 
   5915 
   5916 xorg_testset_save_CFLAGS="$CFLAGS"
   5917 
   5918 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5919 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5920 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5921 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5922 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5923   $as_echo_n "(cached) " >&6
   5924 else
   5925   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5926 /* end confdefs.h.  */
   5927 int i;
   5928 _ACEOF
   5929 if ac_fn_c_try_compile "$LINENO"; then :
   5930   xorg_cv_cc_flag_unknown_warning_option=yes
   5931 else
   5932   xorg_cv_cc_flag_unknown_warning_option=no
   5933 fi
   5934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5935 fi
   5936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5937 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5938 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5939 	CFLAGS="$xorg_testset_save_CFLAGS"
   5940 fi
   5941 
   5942 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5943 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5944 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5945 	fi
   5946 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5947 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5948 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5949 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5950   $as_echo_n "(cached) " >&6
   5951 else
   5952   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5953 /* end confdefs.h.  */
   5954 int i;
   5955 _ACEOF
   5956 if ac_fn_c_try_compile "$LINENO"; then :
   5957   xorg_cv_cc_flag_unused_command_line_argument=yes
   5958 else
   5959   xorg_cv_cc_flag_unused_command_line_argument=no
   5960 fi
   5961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5962 fi
   5963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5964 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5965 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5966 	CFLAGS="$xorg_testset_save_CFLAGS"
   5967 fi
   5968 
   5969 found="no"
   5970 
   5971 	if test $found = "no" ; then
   5972 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5973 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5974 		fi
   5975 
   5976 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5977 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5978 		fi
   5979 
   5980 		CFLAGS="$CFLAGS -Wold-style-definition"
   5981 
   5982 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5983 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5984 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5985 		if eval \${$cacheid+:} false; then :
   5986   $as_echo_n "(cached) " >&6
   5987 else
   5988   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5989 /* end confdefs.h.  */
   5990 int i;
   5991 int
   5992 main ()
   5993 {
   5994 
   5995   ;
   5996   return 0;
   5997 }
   5998 _ACEOF
   5999 if ac_fn_c_try_link "$LINENO"; then :
   6000   eval $cacheid=yes
   6001 else
   6002   eval $cacheid=no
   6003 fi
   6004 rm -f core conftest.err conftest.$ac_objext \
   6005     conftest$ac_exeext conftest.$ac_ext
   6006 fi
   6007 
   6008 
   6009 		CFLAGS="$xorg_testset_save_CFLAGS"
   6010 
   6011 		eval supported=\$$cacheid
   6012 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6013 $as_echo "$supported" >&6; }
   6014 		if test "$supported" = "yes" ; then
   6015 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6016 			found="yes"
   6017 		fi
   6018 	fi
   6019 
   6020 	if test $found = "no" ; then
   6021 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6022 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6023 		fi
   6024 
   6025 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6026 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6027 		fi
   6028 
   6029 		CFLAGS="$CFLAGS -fd"
   6030 
   6031 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6032 $as_echo_n "checking if $CC supports -fd... " >&6; }
   6033 		cacheid=xorg_cv_cc_flag__fd
   6034 		if eval \${$cacheid+:} false; then :
   6035   $as_echo_n "(cached) " >&6
   6036 else
   6037   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6038 /* end confdefs.h.  */
   6039 int i;
   6040 int
   6041 main ()
   6042 {
   6043 
   6044   ;
   6045   return 0;
   6046 }
   6047 _ACEOF
   6048 if ac_fn_c_try_link "$LINENO"; then :
   6049   eval $cacheid=yes
   6050 else
   6051   eval $cacheid=no
   6052 fi
   6053 rm -f core conftest.err conftest.$ac_objext \
   6054     conftest$ac_exeext conftest.$ac_ext
   6055 fi
   6056 
   6057 
   6058 		CFLAGS="$xorg_testset_save_CFLAGS"
   6059 
   6060 		eval supported=\$$cacheid
   6061 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6062 $as_echo "$supported" >&6; }
   6063 		if test "$supported" = "yes" ; then
   6064 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6065 			found="yes"
   6066 		fi
   6067 	fi
   6068 
   6069 
   6070 
   6071 
   6072 
   6073 
   6074 
   6075 
   6076 
   6077 
   6078 
   6079 
   6080 
   6081 
   6082 
   6083 xorg_testset_save_CFLAGS="$CFLAGS"
   6084 
   6085 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6086 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6087 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6088 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6089 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6090   $as_echo_n "(cached) " >&6
   6091 else
   6092   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6093 /* end confdefs.h.  */
   6094 int i;
   6095 _ACEOF
   6096 if ac_fn_c_try_compile "$LINENO"; then :
   6097   xorg_cv_cc_flag_unknown_warning_option=yes
   6098 else
   6099   xorg_cv_cc_flag_unknown_warning_option=no
   6100 fi
   6101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6102 fi
   6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6104 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6105 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6106 	CFLAGS="$xorg_testset_save_CFLAGS"
   6107 fi
   6108 
   6109 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6110 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6111 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6112 	fi
   6113 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6114 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6115 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6116 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6117   $as_echo_n "(cached) " >&6
   6118 else
   6119   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6120 /* end confdefs.h.  */
   6121 int i;
   6122 _ACEOF
   6123 if ac_fn_c_try_compile "$LINENO"; then :
   6124   xorg_cv_cc_flag_unused_command_line_argument=yes
   6125 else
   6126   xorg_cv_cc_flag_unused_command_line_argument=no
   6127 fi
   6128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6129 fi
   6130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6131 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6132 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6133 	CFLAGS="$xorg_testset_save_CFLAGS"
   6134 fi
   6135 
   6136 found="no"
   6137 
   6138 	if test $found = "no" ; then
   6139 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6140 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6141 		fi
   6142 
   6143 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6144 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6145 		fi
   6146 
   6147 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6148 
   6149 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6150 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6151 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6152 		if eval \${$cacheid+:} false; then :
   6153   $as_echo_n "(cached) " >&6
   6154 else
   6155   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6156 /* end confdefs.h.  */
   6157 int i;
   6158 int
   6159 main ()
   6160 {
   6161 
   6162   ;
   6163   return 0;
   6164 }
   6165 _ACEOF
   6166 if ac_fn_c_try_link "$LINENO"; then :
   6167   eval $cacheid=yes
   6168 else
   6169   eval $cacheid=no
   6170 fi
   6171 rm -f core conftest.err conftest.$ac_objext \
   6172     conftest$ac_exeext conftest.$ac_ext
   6173 fi
   6174 
   6175 
   6176 		CFLAGS="$xorg_testset_save_CFLAGS"
   6177 
   6178 		eval supported=\$$cacheid
   6179 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6180 $as_echo "$supported" >&6; }
   6181 		if test "$supported" = "yes" ; then
   6182 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6183 			found="yes"
   6184 		fi
   6185 	fi
   6186 
   6187 
   6188 
   6189 
   6190 
   6191 # This chunk adds additional warnings that could catch undesired effects.
   6192 
   6193 
   6194 
   6195 
   6196 
   6197 
   6198 
   6199 
   6200 
   6201 
   6202 
   6203 
   6204 
   6205 xorg_testset_save_CFLAGS="$CFLAGS"
   6206 
   6207 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6208 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6209 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6210 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6211 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6212   $as_echo_n "(cached) " >&6
   6213 else
   6214   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6215 /* end confdefs.h.  */
   6216 int i;
   6217 _ACEOF
   6218 if ac_fn_c_try_compile "$LINENO"; then :
   6219   xorg_cv_cc_flag_unknown_warning_option=yes
   6220 else
   6221   xorg_cv_cc_flag_unknown_warning_option=no
   6222 fi
   6223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6224 fi
   6225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6226 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6227 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6228 	CFLAGS="$xorg_testset_save_CFLAGS"
   6229 fi
   6230 
   6231 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6232 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6233 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6234 	fi
   6235 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6236 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6237 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6238 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6239   $as_echo_n "(cached) " >&6
   6240 else
   6241   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6242 /* end confdefs.h.  */
   6243 int i;
   6244 _ACEOF
   6245 if ac_fn_c_try_compile "$LINENO"; then :
   6246   xorg_cv_cc_flag_unused_command_line_argument=yes
   6247 else
   6248   xorg_cv_cc_flag_unused_command_line_argument=no
   6249 fi
   6250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6251 fi
   6252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6253 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6254 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6255 	CFLAGS="$xorg_testset_save_CFLAGS"
   6256 fi
   6257 
   6258 found="no"
   6259 
   6260 	if test $found = "no" ; then
   6261 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6262 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6263 		fi
   6264 
   6265 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6266 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6267 		fi
   6268 
   6269 		CFLAGS="$CFLAGS -Wunused"
   6270 
   6271 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6272 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   6273 		cacheid=xorg_cv_cc_flag__Wunused
   6274 		if eval \${$cacheid+:} false; then :
   6275   $as_echo_n "(cached) " >&6
   6276 else
   6277   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6278 /* end confdefs.h.  */
   6279 int i;
   6280 int
   6281 main ()
   6282 {
   6283 
   6284   ;
   6285   return 0;
   6286 }
   6287 _ACEOF
   6288 if ac_fn_c_try_link "$LINENO"; then :
   6289   eval $cacheid=yes
   6290 else
   6291   eval $cacheid=no
   6292 fi
   6293 rm -f core conftest.err conftest.$ac_objext \
   6294     conftest$ac_exeext conftest.$ac_ext
   6295 fi
   6296 
   6297 
   6298 		CFLAGS="$xorg_testset_save_CFLAGS"
   6299 
   6300 		eval supported=\$$cacheid
   6301 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6302 $as_echo "$supported" >&6; }
   6303 		if test "$supported" = "yes" ; then
   6304 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6305 			found="yes"
   6306 		fi
   6307 	fi
   6308 
   6309 
   6310 
   6311 
   6312 
   6313 
   6314 
   6315 
   6316 
   6317 
   6318 
   6319 
   6320 
   6321 
   6322 
   6323 xorg_testset_save_CFLAGS="$CFLAGS"
   6324 
   6325 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6326 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6327 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6328 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6329 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6330   $as_echo_n "(cached) " >&6
   6331 else
   6332   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6333 /* end confdefs.h.  */
   6334 int i;
   6335 _ACEOF
   6336 if ac_fn_c_try_compile "$LINENO"; then :
   6337   xorg_cv_cc_flag_unknown_warning_option=yes
   6338 else
   6339   xorg_cv_cc_flag_unknown_warning_option=no
   6340 fi
   6341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6342 fi
   6343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6344 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6345 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6346 	CFLAGS="$xorg_testset_save_CFLAGS"
   6347 fi
   6348 
   6349 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6350 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6351 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6352 	fi
   6353 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6354 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6355 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6356 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6357   $as_echo_n "(cached) " >&6
   6358 else
   6359   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6360 /* end confdefs.h.  */
   6361 int i;
   6362 _ACEOF
   6363 if ac_fn_c_try_compile "$LINENO"; then :
   6364   xorg_cv_cc_flag_unused_command_line_argument=yes
   6365 else
   6366   xorg_cv_cc_flag_unused_command_line_argument=no
   6367 fi
   6368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6369 fi
   6370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6371 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6372 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6373 	CFLAGS="$xorg_testset_save_CFLAGS"
   6374 fi
   6375 
   6376 found="no"
   6377 
   6378 	if test $found = "no" ; then
   6379 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6380 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6381 		fi
   6382 
   6383 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6384 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6385 		fi
   6386 
   6387 		CFLAGS="$CFLAGS -Wuninitialized"
   6388 
   6389 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6390 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6391 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6392 		if eval \${$cacheid+:} false; then :
   6393   $as_echo_n "(cached) " >&6
   6394 else
   6395   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6396 /* end confdefs.h.  */
   6397 int i;
   6398 int
   6399 main ()
   6400 {
   6401 
   6402   ;
   6403   return 0;
   6404 }
   6405 _ACEOF
   6406 if ac_fn_c_try_link "$LINENO"; then :
   6407   eval $cacheid=yes
   6408 else
   6409   eval $cacheid=no
   6410 fi
   6411 rm -f core conftest.err conftest.$ac_objext \
   6412     conftest$ac_exeext conftest.$ac_ext
   6413 fi
   6414 
   6415 
   6416 		CFLAGS="$xorg_testset_save_CFLAGS"
   6417 
   6418 		eval supported=\$$cacheid
   6419 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6420 $as_echo "$supported" >&6; }
   6421 		if test "$supported" = "yes" ; then
   6422 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6423 			found="yes"
   6424 		fi
   6425 	fi
   6426 
   6427 
   6428 
   6429 
   6430 
   6431 
   6432 
   6433 
   6434 
   6435 
   6436 
   6437 
   6438 
   6439 
   6440 
   6441 xorg_testset_save_CFLAGS="$CFLAGS"
   6442 
   6443 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6444 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6445 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6446 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6447 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6448   $as_echo_n "(cached) " >&6
   6449 else
   6450   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6451 /* end confdefs.h.  */
   6452 int i;
   6453 _ACEOF
   6454 if ac_fn_c_try_compile "$LINENO"; then :
   6455   xorg_cv_cc_flag_unknown_warning_option=yes
   6456 else
   6457   xorg_cv_cc_flag_unknown_warning_option=no
   6458 fi
   6459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6460 fi
   6461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6462 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6463 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6464 	CFLAGS="$xorg_testset_save_CFLAGS"
   6465 fi
   6466 
   6467 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6468 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6469 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6470 	fi
   6471 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6472 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6473 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6474 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6475   $as_echo_n "(cached) " >&6
   6476 else
   6477   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6478 /* end confdefs.h.  */
   6479 int i;
   6480 _ACEOF
   6481 if ac_fn_c_try_compile "$LINENO"; then :
   6482   xorg_cv_cc_flag_unused_command_line_argument=yes
   6483 else
   6484   xorg_cv_cc_flag_unused_command_line_argument=no
   6485 fi
   6486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6487 fi
   6488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6489 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6490 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6491 	CFLAGS="$xorg_testset_save_CFLAGS"
   6492 fi
   6493 
   6494 found="no"
   6495 
   6496 	if test $found = "no" ; then
   6497 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6498 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6499 		fi
   6500 
   6501 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6502 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6503 		fi
   6504 
   6505 		CFLAGS="$CFLAGS -Wshadow"
   6506 
   6507 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6508 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6509 		cacheid=xorg_cv_cc_flag__Wshadow
   6510 		if eval \${$cacheid+:} false; then :
   6511   $as_echo_n "(cached) " >&6
   6512 else
   6513   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6514 /* end confdefs.h.  */
   6515 int i;
   6516 int
   6517 main ()
   6518 {
   6519 
   6520   ;
   6521   return 0;
   6522 }
   6523 _ACEOF
   6524 if ac_fn_c_try_link "$LINENO"; then :
   6525   eval $cacheid=yes
   6526 else
   6527   eval $cacheid=no
   6528 fi
   6529 rm -f core conftest.err conftest.$ac_objext \
   6530     conftest$ac_exeext conftest.$ac_ext
   6531 fi
   6532 
   6533 
   6534 		CFLAGS="$xorg_testset_save_CFLAGS"
   6535 
   6536 		eval supported=\$$cacheid
   6537 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6538 $as_echo "$supported" >&6; }
   6539 		if test "$supported" = "yes" ; then
   6540 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6541 			found="yes"
   6542 		fi
   6543 	fi
   6544 
   6545 
   6546 
   6547 
   6548 
   6549 
   6550 
   6551 
   6552 
   6553 
   6554 
   6555 
   6556 
   6557 
   6558 
   6559 xorg_testset_save_CFLAGS="$CFLAGS"
   6560 
   6561 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6562 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6563 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6564 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6565 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6566   $as_echo_n "(cached) " >&6
   6567 else
   6568   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6569 /* end confdefs.h.  */
   6570 int i;
   6571 _ACEOF
   6572 if ac_fn_c_try_compile "$LINENO"; then :
   6573   xorg_cv_cc_flag_unknown_warning_option=yes
   6574 else
   6575   xorg_cv_cc_flag_unknown_warning_option=no
   6576 fi
   6577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6578 fi
   6579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6580 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6581 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6582 	CFLAGS="$xorg_testset_save_CFLAGS"
   6583 fi
   6584 
   6585 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6586 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6587 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6588 	fi
   6589 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6590 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6591 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6592 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6593   $as_echo_n "(cached) " >&6
   6594 else
   6595   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6596 /* end confdefs.h.  */
   6597 int i;
   6598 _ACEOF
   6599 if ac_fn_c_try_compile "$LINENO"; then :
   6600   xorg_cv_cc_flag_unused_command_line_argument=yes
   6601 else
   6602   xorg_cv_cc_flag_unused_command_line_argument=no
   6603 fi
   6604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6605 fi
   6606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6607 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6608 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6609 	CFLAGS="$xorg_testset_save_CFLAGS"
   6610 fi
   6611 
   6612 found="no"
   6613 
   6614 	if test $found = "no" ; then
   6615 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6616 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6617 		fi
   6618 
   6619 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6620 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6621 		fi
   6622 
   6623 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6624 
   6625 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6626 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6627 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6628 		if eval \${$cacheid+:} false; then :
   6629   $as_echo_n "(cached) " >&6
   6630 else
   6631   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6632 /* end confdefs.h.  */
   6633 int i;
   6634 int
   6635 main ()
   6636 {
   6637 
   6638   ;
   6639   return 0;
   6640 }
   6641 _ACEOF
   6642 if ac_fn_c_try_link "$LINENO"; then :
   6643   eval $cacheid=yes
   6644 else
   6645   eval $cacheid=no
   6646 fi
   6647 rm -f core conftest.err conftest.$ac_objext \
   6648     conftest$ac_exeext conftest.$ac_ext
   6649 fi
   6650 
   6651 
   6652 		CFLAGS="$xorg_testset_save_CFLAGS"
   6653 
   6654 		eval supported=\$$cacheid
   6655 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6656 $as_echo "$supported" >&6; }
   6657 		if test "$supported" = "yes" ; then
   6658 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6659 			found="yes"
   6660 		fi
   6661 	fi
   6662 
   6663 
   6664 
   6665 
   6666 
   6667 
   6668 
   6669 
   6670 
   6671 
   6672 
   6673 
   6674 
   6675 
   6676 
   6677 xorg_testset_save_CFLAGS="$CFLAGS"
   6678 
   6679 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6680 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6681 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6682 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6683 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6684   $as_echo_n "(cached) " >&6
   6685 else
   6686   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6687 /* end confdefs.h.  */
   6688 int i;
   6689 _ACEOF
   6690 if ac_fn_c_try_compile "$LINENO"; then :
   6691   xorg_cv_cc_flag_unknown_warning_option=yes
   6692 else
   6693   xorg_cv_cc_flag_unknown_warning_option=no
   6694 fi
   6695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6696 fi
   6697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6698 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6699 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6700 	CFLAGS="$xorg_testset_save_CFLAGS"
   6701 fi
   6702 
   6703 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6704 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6705 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6706 	fi
   6707 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6708 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6709 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6710 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6711   $as_echo_n "(cached) " >&6
   6712 else
   6713   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6714 /* end confdefs.h.  */
   6715 int i;
   6716 _ACEOF
   6717 if ac_fn_c_try_compile "$LINENO"; then :
   6718   xorg_cv_cc_flag_unused_command_line_argument=yes
   6719 else
   6720   xorg_cv_cc_flag_unused_command_line_argument=no
   6721 fi
   6722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6723 fi
   6724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6725 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6726 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6727 	CFLAGS="$xorg_testset_save_CFLAGS"
   6728 fi
   6729 
   6730 found="no"
   6731 
   6732 	if test $found = "no" ; then
   6733 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6734 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6735 		fi
   6736 
   6737 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6738 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6739 		fi
   6740 
   6741 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6742 
   6743 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6744 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6745 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6746 		if eval \${$cacheid+:} false; then :
   6747   $as_echo_n "(cached) " >&6
   6748 else
   6749   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6750 /* end confdefs.h.  */
   6751 int i;
   6752 int
   6753 main ()
   6754 {
   6755 
   6756   ;
   6757   return 0;
   6758 }
   6759 _ACEOF
   6760 if ac_fn_c_try_link "$LINENO"; then :
   6761   eval $cacheid=yes
   6762 else
   6763   eval $cacheid=no
   6764 fi
   6765 rm -f core conftest.err conftest.$ac_objext \
   6766     conftest$ac_exeext conftest.$ac_ext
   6767 fi
   6768 
   6769 
   6770 		CFLAGS="$xorg_testset_save_CFLAGS"
   6771 
   6772 		eval supported=\$$cacheid
   6773 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6774 $as_echo "$supported" >&6; }
   6775 		if test "$supported" = "yes" ; then
   6776 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6777 			found="yes"
   6778 		fi
   6779 	fi
   6780 
   6781 
   6782 
   6783 
   6784 
   6785 
   6786 
   6787 
   6788 
   6789 
   6790 
   6791 
   6792 
   6793 
   6794 
   6795 xorg_testset_save_CFLAGS="$CFLAGS"
   6796 
   6797 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6798 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6799 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6800 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6801 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6802   $as_echo_n "(cached) " >&6
   6803 else
   6804   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6805 /* end confdefs.h.  */
   6806 int i;
   6807 _ACEOF
   6808 if ac_fn_c_try_compile "$LINENO"; then :
   6809   xorg_cv_cc_flag_unknown_warning_option=yes
   6810 else
   6811   xorg_cv_cc_flag_unknown_warning_option=no
   6812 fi
   6813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6814 fi
   6815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6816 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6817 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6818 	CFLAGS="$xorg_testset_save_CFLAGS"
   6819 fi
   6820 
   6821 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6822 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6823 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6824 	fi
   6825 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6826 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6827 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6828 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6829   $as_echo_n "(cached) " >&6
   6830 else
   6831   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6832 /* end confdefs.h.  */
   6833 int i;
   6834 _ACEOF
   6835 if ac_fn_c_try_compile "$LINENO"; then :
   6836   xorg_cv_cc_flag_unused_command_line_argument=yes
   6837 else
   6838   xorg_cv_cc_flag_unused_command_line_argument=no
   6839 fi
   6840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6841 fi
   6842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6843 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6844 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6845 	CFLAGS="$xorg_testset_save_CFLAGS"
   6846 fi
   6847 
   6848 found="no"
   6849 
   6850 	if test $found = "no" ; then
   6851 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6852 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6853 		fi
   6854 
   6855 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6856 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6857 		fi
   6858 
   6859 		CFLAGS="$CFLAGS -Wredundant-decls"
   6860 
   6861 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6862 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6863 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6864 		if eval \${$cacheid+:} false; then :
   6865   $as_echo_n "(cached) " >&6
   6866 else
   6867   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6868 /* end confdefs.h.  */
   6869 int i;
   6870 int
   6871 main ()
   6872 {
   6873 
   6874   ;
   6875   return 0;
   6876 }
   6877 _ACEOF
   6878 if ac_fn_c_try_link "$LINENO"; then :
   6879   eval $cacheid=yes
   6880 else
   6881   eval $cacheid=no
   6882 fi
   6883 rm -f core conftest.err conftest.$ac_objext \
   6884     conftest$ac_exeext conftest.$ac_ext
   6885 fi
   6886 
   6887 
   6888 		CFLAGS="$xorg_testset_save_CFLAGS"
   6889 
   6890 		eval supported=\$$cacheid
   6891 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6892 $as_echo "$supported" >&6; }
   6893 		if test "$supported" = "yes" ; then
   6894 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6895 			found="yes"
   6896 		fi
   6897 	fi
   6898 
   6899 
   6900 
   6901 
   6902 
   6903 
   6904 
   6905 
   6906 
   6907 
   6908 
   6909 
   6910 
   6911 
   6912 
   6913 xorg_testset_save_CFLAGS="$CFLAGS"
   6914 
   6915 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6916 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6917 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6918 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6919 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6920   $as_echo_n "(cached) " >&6
   6921 else
   6922   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6923 /* end confdefs.h.  */
   6924 int i;
   6925 _ACEOF
   6926 if ac_fn_c_try_compile "$LINENO"; then :
   6927   xorg_cv_cc_flag_unknown_warning_option=yes
   6928 else
   6929   xorg_cv_cc_flag_unknown_warning_option=no
   6930 fi
   6931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6932 fi
   6933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6934 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6935 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6936 	CFLAGS="$xorg_testset_save_CFLAGS"
   6937 fi
   6938 
   6939 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6940 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6941 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6942 	fi
   6943 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6944 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6945 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6946 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6947   $as_echo_n "(cached) " >&6
   6948 else
   6949   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6950 /* end confdefs.h.  */
   6951 int i;
   6952 _ACEOF
   6953 if ac_fn_c_try_compile "$LINENO"; then :
   6954   xorg_cv_cc_flag_unused_command_line_argument=yes
   6955 else
   6956   xorg_cv_cc_flag_unused_command_line_argument=no
   6957 fi
   6958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6959 fi
   6960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6961 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6962 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6963 	CFLAGS="$xorg_testset_save_CFLAGS"
   6964 fi
   6965 
   6966 found="no"
   6967 
   6968 	if test $found = "no" ; then
   6969 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6970 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6971 		fi
   6972 
   6973 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6974 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6975 		fi
   6976 
   6977 		CFLAGS="$CFLAGS -Wlogical-op"
   6978 
   6979 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   6980 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   6981 		cacheid=xorg_cv_cc_flag__Wlogical_op
   6982 		if eval \${$cacheid+:} false; then :
   6983   $as_echo_n "(cached) " >&6
   6984 else
   6985   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6986 /* end confdefs.h.  */
   6987 int i;
   6988 int
   6989 main ()
   6990 {
   6991 
   6992   ;
   6993   return 0;
   6994 }
   6995 _ACEOF
   6996 if ac_fn_c_try_link "$LINENO"; then :
   6997   eval $cacheid=yes
   6998 else
   6999   eval $cacheid=no
   7000 fi
   7001 rm -f core conftest.err conftest.$ac_objext \
   7002     conftest$ac_exeext conftest.$ac_ext
   7003 fi
   7004 
   7005 
   7006 		CFLAGS="$xorg_testset_save_CFLAGS"
   7007 
   7008 		eval supported=\$$cacheid
   7009 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7010 $as_echo "$supported" >&6; }
   7011 		if test "$supported" = "yes" ; then
   7012 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7013 			found="yes"
   7014 		fi
   7015 	fi
   7016 
   7017 
   7018 
   7019 # These are currently disabled because they are noisy.  They will be enabled
   7020 # in the future once the codebase is sufficiently modernized to silence
   7021 # them.  For now, I don't want them to drown out the other warnings.
   7022 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7023 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7024 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7025 
   7026 # Turn some warnings into errors, so we don't accidently get successful builds
   7027 # when there are problems that should be fixed.
   7028 
   7029 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7030 
   7031 
   7032 
   7033 
   7034 
   7035 
   7036 
   7037 
   7038 
   7039 
   7040 
   7041 
   7042 
   7043 xorg_testset_save_CFLAGS="$CFLAGS"
   7044 
   7045 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7046 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7047 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7048 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7049 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7050   $as_echo_n "(cached) " >&6
   7051 else
   7052   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7053 /* end confdefs.h.  */
   7054 int i;
   7055 _ACEOF
   7056 if ac_fn_c_try_compile "$LINENO"; then :
   7057   xorg_cv_cc_flag_unknown_warning_option=yes
   7058 else
   7059   xorg_cv_cc_flag_unknown_warning_option=no
   7060 fi
   7061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7062 fi
   7063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7064 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7065 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7066 	CFLAGS="$xorg_testset_save_CFLAGS"
   7067 fi
   7068 
   7069 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7070 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7071 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7072 	fi
   7073 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7074 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7075 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7076 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7077   $as_echo_n "(cached) " >&6
   7078 else
   7079   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7080 /* end confdefs.h.  */
   7081 int i;
   7082 _ACEOF
   7083 if ac_fn_c_try_compile "$LINENO"; then :
   7084   xorg_cv_cc_flag_unused_command_line_argument=yes
   7085 else
   7086   xorg_cv_cc_flag_unused_command_line_argument=no
   7087 fi
   7088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7089 fi
   7090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7091 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7092 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7093 	CFLAGS="$xorg_testset_save_CFLAGS"
   7094 fi
   7095 
   7096 found="no"
   7097 
   7098 	if test $found = "no" ; then
   7099 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7100 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7101 		fi
   7102 
   7103 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7104 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7105 		fi
   7106 
   7107 		CFLAGS="$CFLAGS -Werror=implicit"
   7108 
   7109 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7110 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   7111 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7112 		if eval \${$cacheid+:} false; then :
   7113   $as_echo_n "(cached) " >&6
   7114 else
   7115   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7116 /* end confdefs.h.  */
   7117 int i;
   7118 int
   7119 main ()
   7120 {
   7121 
   7122   ;
   7123   return 0;
   7124 }
   7125 _ACEOF
   7126 if ac_fn_c_try_link "$LINENO"; then :
   7127   eval $cacheid=yes
   7128 else
   7129   eval $cacheid=no
   7130 fi
   7131 rm -f core conftest.err conftest.$ac_objext \
   7132     conftest$ac_exeext conftest.$ac_ext
   7133 fi
   7134 
   7135 
   7136 		CFLAGS="$xorg_testset_save_CFLAGS"
   7137 
   7138 		eval supported=\$$cacheid
   7139 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7140 $as_echo "$supported" >&6; }
   7141 		if test "$supported" = "yes" ; then
   7142 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7143 			found="yes"
   7144 		fi
   7145 	fi
   7146 
   7147 	if test $found = "no" ; then
   7148 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7149 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7150 		fi
   7151 
   7152 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7153 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7154 		fi
   7155 
   7156 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7157 
   7158 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   7159 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7160 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7161 		if eval \${$cacheid+:} false; then :
   7162   $as_echo_n "(cached) " >&6
   7163 else
   7164   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7165 /* end confdefs.h.  */
   7166 int i;
   7167 int
   7168 main ()
   7169 {
   7170 
   7171   ;
   7172   return 0;
   7173 }
   7174 _ACEOF
   7175 if ac_fn_c_try_link "$LINENO"; then :
   7176   eval $cacheid=yes
   7177 else
   7178   eval $cacheid=no
   7179 fi
   7180 rm -f core conftest.err conftest.$ac_objext \
   7181     conftest$ac_exeext conftest.$ac_ext
   7182 fi
   7183 
   7184 
   7185 		CFLAGS="$xorg_testset_save_CFLAGS"
   7186 
   7187 		eval supported=\$$cacheid
   7188 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7189 $as_echo "$supported" >&6; }
   7190 		if test "$supported" = "yes" ; then
   7191 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7192 			found="yes"
   7193 		fi
   7194 	fi
   7195 
   7196 
   7197 
   7198 
   7199 
   7200 
   7201 
   7202 
   7203 
   7204 
   7205 
   7206 
   7207 
   7208 
   7209 
   7210 xorg_testset_save_CFLAGS="$CFLAGS"
   7211 
   7212 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7213 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7214 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7215 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7216 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7217   $as_echo_n "(cached) " >&6
   7218 else
   7219   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7220 /* end confdefs.h.  */
   7221 int i;
   7222 _ACEOF
   7223 if ac_fn_c_try_compile "$LINENO"; then :
   7224   xorg_cv_cc_flag_unknown_warning_option=yes
   7225 else
   7226   xorg_cv_cc_flag_unknown_warning_option=no
   7227 fi
   7228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7229 fi
   7230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7231 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7232 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7233 	CFLAGS="$xorg_testset_save_CFLAGS"
   7234 fi
   7235 
   7236 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7237 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7238 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7239 	fi
   7240 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7241 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7242 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7243 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7244   $as_echo_n "(cached) " >&6
   7245 else
   7246   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7247 /* end confdefs.h.  */
   7248 int i;
   7249 _ACEOF
   7250 if ac_fn_c_try_compile "$LINENO"; then :
   7251   xorg_cv_cc_flag_unused_command_line_argument=yes
   7252 else
   7253   xorg_cv_cc_flag_unused_command_line_argument=no
   7254 fi
   7255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7256 fi
   7257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7258 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7259 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7260 	CFLAGS="$xorg_testset_save_CFLAGS"
   7261 fi
   7262 
   7263 found="no"
   7264 
   7265 	if test $found = "no" ; then
   7266 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7267 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7268 		fi
   7269 
   7270 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7271 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7272 		fi
   7273 
   7274 		CFLAGS="$CFLAGS -Werror=nonnull"
   7275 
   7276 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7277 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   7278 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7279 		if eval \${$cacheid+:} false; then :
   7280   $as_echo_n "(cached) " >&6
   7281 else
   7282   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7283 /* end confdefs.h.  */
   7284 int i;
   7285 int
   7286 main ()
   7287 {
   7288 
   7289   ;
   7290   return 0;
   7291 }
   7292 _ACEOF
   7293 if ac_fn_c_try_link "$LINENO"; then :
   7294   eval $cacheid=yes
   7295 else
   7296   eval $cacheid=no
   7297 fi
   7298 rm -f core conftest.err conftest.$ac_objext \
   7299     conftest$ac_exeext conftest.$ac_ext
   7300 fi
   7301 
   7302 
   7303 		CFLAGS="$xorg_testset_save_CFLAGS"
   7304 
   7305 		eval supported=\$$cacheid
   7306 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7307 $as_echo "$supported" >&6; }
   7308 		if test "$supported" = "yes" ; then
   7309 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7310 			found="yes"
   7311 		fi
   7312 	fi
   7313 
   7314 
   7315 
   7316 
   7317 
   7318 
   7319 
   7320 
   7321 
   7322 
   7323 
   7324 
   7325 
   7326 
   7327 
   7328 xorg_testset_save_CFLAGS="$CFLAGS"
   7329 
   7330 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7331 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7332 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7333 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7334 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7335   $as_echo_n "(cached) " >&6
   7336 else
   7337   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7338 /* end confdefs.h.  */
   7339 int i;
   7340 _ACEOF
   7341 if ac_fn_c_try_compile "$LINENO"; then :
   7342   xorg_cv_cc_flag_unknown_warning_option=yes
   7343 else
   7344   xorg_cv_cc_flag_unknown_warning_option=no
   7345 fi
   7346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7347 fi
   7348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7349 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7350 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7351 	CFLAGS="$xorg_testset_save_CFLAGS"
   7352 fi
   7353 
   7354 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7355 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7356 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7357 	fi
   7358 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7359 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7360 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7361 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7362   $as_echo_n "(cached) " >&6
   7363 else
   7364   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7365 /* end confdefs.h.  */
   7366 int i;
   7367 _ACEOF
   7368 if ac_fn_c_try_compile "$LINENO"; then :
   7369   xorg_cv_cc_flag_unused_command_line_argument=yes
   7370 else
   7371   xorg_cv_cc_flag_unused_command_line_argument=no
   7372 fi
   7373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7374 fi
   7375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7376 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7377 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7378 	CFLAGS="$xorg_testset_save_CFLAGS"
   7379 fi
   7380 
   7381 found="no"
   7382 
   7383 	if test $found = "no" ; then
   7384 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7385 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7386 		fi
   7387 
   7388 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7389 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7390 		fi
   7391 
   7392 		CFLAGS="$CFLAGS -Werror=init-self"
   7393 
   7394 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7395 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7396 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7397 		if eval \${$cacheid+:} false; then :
   7398   $as_echo_n "(cached) " >&6
   7399 else
   7400   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7401 /* end confdefs.h.  */
   7402 int i;
   7403 int
   7404 main ()
   7405 {
   7406 
   7407   ;
   7408   return 0;
   7409 }
   7410 _ACEOF
   7411 if ac_fn_c_try_link "$LINENO"; then :
   7412   eval $cacheid=yes
   7413 else
   7414   eval $cacheid=no
   7415 fi
   7416 rm -f core conftest.err conftest.$ac_objext \
   7417     conftest$ac_exeext conftest.$ac_ext
   7418 fi
   7419 
   7420 
   7421 		CFLAGS="$xorg_testset_save_CFLAGS"
   7422 
   7423 		eval supported=\$$cacheid
   7424 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7425 $as_echo "$supported" >&6; }
   7426 		if test "$supported" = "yes" ; then
   7427 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7428 			found="yes"
   7429 		fi
   7430 	fi
   7431 
   7432 
   7433 
   7434 
   7435 
   7436 
   7437 
   7438 
   7439 
   7440 
   7441 
   7442 
   7443 
   7444 
   7445 
   7446 xorg_testset_save_CFLAGS="$CFLAGS"
   7447 
   7448 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7449 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7450 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7451 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7452 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7453   $as_echo_n "(cached) " >&6
   7454 else
   7455   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7456 /* end confdefs.h.  */
   7457 int i;
   7458 _ACEOF
   7459 if ac_fn_c_try_compile "$LINENO"; then :
   7460   xorg_cv_cc_flag_unknown_warning_option=yes
   7461 else
   7462   xorg_cv_cc_flag_unknown_warning_option=no
   7463 fi
   7464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7465 fi
   7466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7467 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7468 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7469 	CFLAGS="$xorg_testset_save_CFLAGS"
   7470 fi
   7471 
   7472 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7473 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7474 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7475 	fi
   7476 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7477 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7478 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7479 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7480   $as_echo_n "(cached) " >&6
   7481 else
   7482   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7483 /* end confdefs.h.  */
   7484 int i;
   7485 _ACEOF
   7486 if ac_fn_c_try_compile "$LINENO"; then :
   7487   xorg_cv_cc_flag_unused_command_line_argument=yes
   7488 else
   7489   xorg_cv_cc_flag_unused_command_line_argument=no
   7490 fi
   7491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7492 fi
   7493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7494 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7495 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7496 	CFLAGS="$xorg_testset_save_CFLAGS"
   7497 fi
   7498 
   7499 found="no"
   7500 
   7501 	if test $found = "no" ; then
   7502 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7503 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7504 		fi
   7505 
   7506 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7507 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7508 		fi
   7509 
   7510 		CFLAGS="$CFLAGS -Werror=main"
   7511 
   7512 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7513 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7514 		cacheid=xorg_cv_cc_flag__Werror_main
   7515 		if eval \${$cacheid+:} false; then :
   7516   $as_echo_n "(cached) " >&6
   7517 else
   7518   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7519 /* end confdefs.h.  */
   7520 int i;
   7521 int
   7522 main ()
   7523 {
   7524 
   7525   ;
   7526   return 0;
   7527 }
   7528 _ACEOF
   7529 if ac_fn_c_try_link "$LINENO"; then :
   7530   eval $cacheid=yes
   7531 else
   7532   eval $cacheid=no
   7533 fi
   7534 rm -f core conftest.err conftest.$ac_objext \
   7535     conftest$ac_exeext conftest.$ac_ext
   7536 fi
   7537 
   7538 
   7539 		CFLAGS="$xorg_testset_save_CFLAGS"
   7540 
   7541 		eval supported=\$$cacheid
   7542 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7543 $as_echo "$supported" >&6; }
   7544 		if test "$supported" = "yes" ; then
   7545 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7546 			found="yes"
   7547 		fi
   7548 	fi
   7549 
   7550 
   7551 
   7552 
   7553 
   7554 
   7555 
   7556 
   7557 
   7558 
   7559 
   7560 
   7561 
   7562 
   7563 
   7564 xorg_testset_save_CFLAGS="$CFLAGS"
   7565 
   7566 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7567 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7568 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7569 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7570 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7571   $as_echo_n "(cached) " >&6
   7572 else
   7573   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7574 /* end confdefs.h.  */
   7575 int i;
   7576 _ACEOF
   7577 if ac_fn_c_try_compile "$LINENO"; then :
   7578   xorg_cv_cc_flag_unknown_warning_option=yes
   7579 else
   7580   xorg_cv_cc_flag_unknown_warning_option=no
   7581 fi
   7582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7583 fi
   7584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7585 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7586 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7587 	CFLAGS="$xorg_testset_save_CFLAGS"
   7588 fi
   7589 
   7590 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7591 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7592 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7593 	fi
   7594 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7595 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7596 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7597 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7598   $as_echo_n "(cached) " >&6
   7599 else
   7600   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7601 /* end confdefs.h.  */
   7602 int i;
   7603 _ACEOF
   7604 if ac_fn_c_try_compile "$LINENO"; then :
   7605   xorg_cv_cc_flag_unused_command_line_argument=yes
   7606 else
   7607   xorg_cv_cc_flag_unused_command_line_argument=no
   7608 fi
   7609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7610 fi
   7611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7612 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7613 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7614 	CFLAGS="$xorg_testset_save_CFLAGS"
   7615 fi
   7616 
   7617 found="no"
   7618 
   7619 	if test $found = "no" ; then
   7620 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7621 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7622 		fi
   7623 
   7624 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7625 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7626 		fi
   7627 
   7628 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7629 
   7630 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7631 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7632 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7633 		if eval \${$cacheid+:} false; then :
   7634   $as_echo_n "(cached) " >&6
   7635 else
   7636   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7637 /* end confdefs.h.  */
   7638 int i;
   7639 int
   7640 main ()
   7641 {
   7642 
   7643   ;
   7644   return 0;
   7645 }
   7646 _ACEOF
   7647 if ac_fn_c_try_link "$LINENO"; then :
   7648   eval $cacheid=yes
   7649 else
   7650   eval $cacheid=no
   7651 fi
   7652 rm -f core conftest.err conftest.$ac_objext \
   7653     conftest$ac_exeext conftest.$ac_ext
   7654 fi
   7655 
   7656 
   7657 		CFLAGS="$xorg_testset_save_CFLAGS"
   7658 
   7659 		eval supported=\$$cacheid
   7660 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7661 $as_echo "$supported" >&6; }
   7662 		if test "$supported" = "yes" ; then
   7663 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7664 			found="yes"
   7665 		fi
   7666 	fi
   7667 
   7668 
   7669 
   7670 
   7671 
   7672 
   7673 
   7674 
   7675 
   7676 
   7677 
   7678 
   7679 
   7680 
   7681 
   7682 xorg_testset_save_CFLAGS="$CFLAGS"
   7683 
   7684 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7685 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7686 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7687 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7688 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7689   $as_echo_n "(cached) " >&6
   7690 else
   7691   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7692 /* end confdefs.h.  */
   7693 int i;
   7694 _ACEOF
   7695 if ac_fn_c_try_compile "$LINENO"; then :
   7696   xorg_cv_cc_flag_unknown_warning_option=yes
   7697 else
   7698   xorg_cv_cc_flag_unknown_warning_option=no
   7699 fi
   7700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7701 fi
   7702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7703 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7704 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7705 	CFLAGS="$xorg_testset_save_CFLAGS"
   7706 fi
   7707 
   7708 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7709 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7710 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7711 	fi
   7712 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7713 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7714 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7715 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7716   $as_echo_n "(cached) " >&6
   7717 else
   7718   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7719 /* end confdefs.h.  */
   7720 int i;
   7721 _ACEOF
   7722 if ac_fn_c_try_compile "$LINENO"; then :
   7723   xorg_cv_cc_flag_unused_command_line_argument=yes
   7724 else
   7725   xorg_cv_cc_flag_unused_command_line_argument=no
   7726 fi
   7727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7728 fi
   7729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7730 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7731 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7732 	CFLAGS="$xorg_testset_save_CFLAGS"
   7733 fi
   7734 
   7735 found="no"
   7736 
   7737 	if test $found = "no" ; then
   7738 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7739 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7740 		fi
   7741 
   7742 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7743 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7744 		fi
   7745 
   7746 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7747 
   7748 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7749 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7750 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7751 		if eval \${$cacheid+:} false; then :
   7752   $as_echo_n "(cached) " >&6
   7753 else
   7754   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7755 /* end confdefs.h.  */
   7756 int i;
   7757 int
   7758 main ()
   7759 {
   7760 
   7761   ;
   7762   return 0;
   7763 }
   7764 _ACEOF
   7765 if ac_fn_c_try_link "$LINENO"; then :
   7766   eval $cacheid=yes
   7767 else
   7768   eval $cacheid=no
   7769 fi
   7770 rm -f core conftest.err conftest.$ac_objext \
   7771     conftest$ac_exeext conftest.$ac_ext
   7772 fi
   7773 
   7774 
   7775 		CFLAGS="$xorg_testset_save_CFLAGS"
   7776 
   7777 		eval supported=\$$cacheid
   7778 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7779 $as_echo "$supported" >&6; }
   7780 		if test "$supported" = "yes" ; then
   7781 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7782 			found="yes"
   7783 		fi
   7784 	fi
   7785 
   7786 
   7787 
   7788 
   7789 
   7790 
   7791 
   7792 
   7793 
   7794 
   7795 
   7796 
   7797 
   7798 
   7799 
   7800 xorg_testset_save_CFLAGS="$CFLAGS"
   7801 
   7802 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7803 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7804 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7805 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7806 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7807   $as_echo_n "(cached) " >&6
   7808 else
   7809   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7810 /* end confdefs.h.  */
   7811 int i;
   7812 _ACEOF
   7813 if ac_fn_c_try_compile "$LINENO"; then :
   7814   xorg_cv_cc_flag_unknown_warning_option=yes
   7815 else
   7816   xorg_cv_cc_flag_unknown_warning_option=no
   7817 fi
   7818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7819 fi
   7820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7821 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7822 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7823 	CFLAGS="$xorg_testset_save_CFLAGS"
   7824 fi
   7825 
   7826 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7827 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7828 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7829 	fi
   7830 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7831 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7832 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7833 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7834   $as_echo_n "(cached) " >&6
   7835 else
   7836   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7837 /* end confdefs.h.  */
   7838 int i;
   7839 _ACEOF
   7840 if ac_fn_c_try_compile "$LINENO"; then :
   7841   xorg_cv_cc_flag_unused_command_line_argument=yes
   7842 else
   7843   xorg_cv_cc_flag_unused_command_line_argument=no
   7844 fi
   7845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7846 fi
   7847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7848 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7849 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7850 	CFLAGS="$xorg_testset_save_CFLAGS"
   7851 fi
   7852 
   7853 found="no"
   7854 
   7855 	if test $found = "no" ; then
   7856 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7857 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7858 		fi
   7859 
   7860 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7861 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7862 		fi
   7863 
   7864 		CFLAGS="$CFLAGS -Werror=return-type"
   7865 
   7866 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7867 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7868 		cacheid=xorg_cv_cc_flag__Werror_return_type
   7869 		if eval \${$cacheid+:} false; then :
   7870   $as_echo_n "(cached) " >&6
   7871 else
   7872   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7873 /* end confdefs.h.  */
   7874 int i;
   7875 int
   7876 main ()
   7877 {
   7878 
   7879   ;
   7880   return 0;
   7881 }
   7882 _ACEOF
   7883 if ac_fn_c_try_link "$LINENO"; then :
   7884   eval $cacheid=yes
   7885 else
   7886   eval $cacheid=no
   7887 fi
   7888 rm -f core conftest.err conftest.$ac_objext \
   7889     conftest$ac_exeext conftest.$ac_ext
   7890 fi
   7891 
   7892 
   7893 		CFLAGS="$xorg_testset_save_CFLAGS"
   7894 
   7895 		eval supported=\$$cacheid
   7896 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7897 $as_echo "$supported" >&6; }
   7898 		if test "$supported" = "yes" ; then
   7899 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7900 			found="yes"
   7901 		fi
   7902 	fi
   7903 
   7904 	if test $found = "no" ; then
   7905 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7906 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7907 		fi
   7908 
   7909 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7910 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7911 		fi
   7912 
   7913 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7914 
   7915 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7916 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7917 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   7918 		if eval \${$cacheid+:} false; then :
   7919   $as_echo_n "(cached) " >&6
   7920 else
   7921   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7922 /* end confdefs.h.  */
   7923 int i;
   7924 int
   7925 main ()
   7926 {
   7927 
   7928   ;
   7929   return 0;
   7930 }
   7931 _ACEOF
   7932 if ac_fn_c_try_link "$LINENO"; then :
   7933   eval $cacheid=yes
   7934 else
   7935   eval $cacheid=no
   7936 fi
   7937 rm -f core conftest.err conftest.$ac_objext \
   7938     conftest$ac_exeext conftest.$ac_ext
   7939 fi
   7940 
   7941 
   7942 		CFLAGS="$xorg_testset_save_CFLAGS"
   7943 
   7944 		eval supported=\$$cacheid
   7945 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7946 $as_echo "$supported" >&6; }
   7947 		if test "$supported" = "yes" ; then
   7948 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7949 			found="yes"
   7950 		fi
   7951 	fi
   7952 
   7953 
   7954 
   7955 
   7956 
   7957 
   7958 
   7959 
   7960 
   7961 
   7962 
   7963 
   7964 
   7965 
   7966 
   7967 xorg_testset_save_CFLAGS="$CFLAGS"
   7968 
   7969 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7970 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7971 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7972 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7973 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7974   $as_echo_n "(cached) " >&6
   7975 else
   7976   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7977 /* end confdefs.h.  */
   7978 int i;
   7979 _ACEOF
   7980 if ac_fn_c_try_compile "$LINENO"; then :
   7981   xorg_cv_cc_flag_unknown_warning_option=yes
   7982 else
   7983   xorg_cv_cc_flag_unknown_warning_option=no
   7984 fi
   7985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7986 fi
   7987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7988 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7989 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7990 	CFLAGS="$xorg_testset_save_CFLAGS"
   7991 fi
   7992 
   7993 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7994 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7995 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7996 	fi
   7997 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7998 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7999 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8000 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8001   $as_echo_n "(cached) " >&6
   8002 else
   8003   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8004 /* end confdefs.h.  */
   8005 int i;
   8006 _ACEOF
   8007 if ac_fn_c_try_compile "$LINENO"; then :
   8008   xorg_cv_cc_flag_unused_command_line_argument=yes
   8009 else
   8010   xorg_cv_cc_flag_unused_command_line_argument=no
   8011 fi
   8012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8013 fi
   8014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8015 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8016 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8017 	CFLAGS="$xorg_testset_save_CFLAGS"
   8018 fi
   8019 
   8020 found="no"
   8021 
   8022 	if test $found = "no" ; then
   8023 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8024 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8025 		fi
   8026 
   8027 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8028 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8029 		fi
   8030 
   8031 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8032 
   8033 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8034 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   8035 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8036 		if eval \${$cacheid+:} false; then :
   8037   $as_echo_n "(cached) " >&6
   8038 else
   8039   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8040 /* end confdefs.h.  */
   8041 int i;
   8042 int
   8043 main ()
   8044 {
   8045 
   8046   ;
   8047   return 0;
   8048 }
   8049 _ACEOF
   8050 if ac_fn_c_try_link "$LINENO"; then :
   8051   eval $cacheid=yes
   8052 else
   8053   eval $cacheid=no
   8054 fi
   8055 rm -f core conftest.err conftest.$ac_objext \
   8056     conftest$ac_exeext conftest.$ac_ext
   8057 fi
   8058 
   8059 
   8060 		CFLAGS="$xorg_testset_save_CFLAGS"
   8061 
   8062 		eval supported=\$$cacheid
   8063 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8064 $as_echo "$supported" >&6; }
   8065 		if test "$supported" = "yes" ; then
   8066 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8067 			found="yes"
   8068 		fi
   8069 	fi
   8070 
   8071 
   8072 
   8073 
   8074 
   8075 
   8076 
   8077 
   8078 
   8079 
   8080 
   8081 
   8082 
   8083 
   8084 
   8085 xorg_testset_save_CFLAGS="$CFLAGS"
   8086 
   8087 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8088 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8089 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8090 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8091 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8092   $as_echo_n "(cached) " >&6
   8093 else
   8094   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8095 /* end confdefs.h.  */
   8096 int i;
   8097 _ACEOF
   8098 if ac_fn_c_try_compile "$LINENO"; then :
   8099   xorg_cv_cc_flag_unknown_warning_option=yes
   8100 else
   8101   xorg_cv_cc_flag_unknown_warning_option=no
   8102 fi
   8103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8104 fi
   8105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8106 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8107 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8108 	CFLAGS="$xorg_testset_save_CFLAGS"
   8109 fi
   8110 
   8111 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8112 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8113 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8114 	fi
   8115 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8116 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8117 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8118 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8119   $as_echo_n "(cached) " >&6
   8120 else
   8121   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8122 /* end confdefs.h.  */
   8123 int i;
   8124 _ACEOF
   8125 if ac_fn_c_try_compile "$LINENO"; then :
   8126   xorg_cv_cc_flag_unused_command_line_argument=yes
   8127 else
   8128   xorg_cv_cc_flag_unused_command_line_argument=no
   8129 fi
   8130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8131 fi
   8132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8133 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8134 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8135 	CFLAGS="$xorg_testset_save_CFLAGS"
   8136 fi
   8137 
   8138 found="no"
   8139 
   8140 	if test $found = "no" ; then
   8141 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8142 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8143 		fi
   8144 
   8145 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8146 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8147 		fi
   8148 
   8149 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8150 
   8151 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8152 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   8153 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8154 		if eval \${$cacheid+:} false; then :
   8155   $as_echo_n "(cached) " >&6
   8156 else
   8157   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8158 /* end confdefs.h.  */
   8159 int i;
   8160 int
   8161 main ()
   8162 {
   8163 
   8164   ;
   8165   return 0;
   8166 }
   8167 _ACEOF
   8168 if ac_fn_c_try_link "$LINENO"; then :
   8169   eval $cacheid=yes
   8170 else
   8171   eval $cacheid=no
   8172 fi
   8173 rm -f core conftest.err conftest.$ac_objext \
   8174     conftest$ac_exeext conftest.$ac_ext
   8175 fi
   8176 
   8177 
   8178 		CFLAGS="$xorg_testset_save_CFLAGS"
   8179 
   8180 		eval supported=\$$cacheid
   8181 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8182 $as_echo "$supported" >&6; }
   8183 		if test "$supported" = "yes" ; then
   8184 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8185 			found="yes"
   8186 		fi
   8187 	fi
   8188 
   8189 
   8190 
   8191 
   8192 
   8193 
   8194 
   8195 
   8196 
   8197 
   8198 
   8199 
   8200 
   8201 
   8202 
   8203 xorg_testset_save_CFLAGS="$CFLAGS"
   8204 
   8205 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8206 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8207 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8208 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8209 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8210   $as_echo_n "(cached) " >&6
   8211 else
   8212   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8213 /* end confdefs.h.  */
   8214 int i;
   8215 _ACEOF
   8216 if ac_fn_c_try_compile "$LINENO"; then :
   8217   xorg_cv_cc_flag_unknown_warning_option=yes
   8218 else
   8219   xorg_cv_cc_flag_unknown_warning_option=no
   8220 fi
   8221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8222 fi
   8223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8224 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8225 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8226 	CFLAGS="$xorg_testset_save_CFLAGS"
   8227 fi
   8228 
   8229 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8230 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8231 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8232 	fi
   8233 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8234 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8235 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8236 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8237   $as_echo_n "(cached) " >&6
   8238 else
   8239   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8240 /* end confdefs.h.  */
   8241 int i;
   8242 _ACEOF
   8243 if ac_fn_c_try_compile "$LINENO"; then :
   8244   xorg_cv_cc_flag_unused_command_line_argument=yes
   8245 else
   8246   xorg_cv_cc_flag_unused_command_line_argument=no
   8247 fi
   8248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8249 fi
   8250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8251 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8252 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8253 	CFLAGS="$xorg_testset_save_CFLAGS"
   8254 fi
   8255 
   8256 found="no"
   8257 
   8258 	if test $found = "no" ; then
   8259 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8260 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8261 		fi
   8262 
   8263 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8264 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8265 		fi
   8266 
   8267 		CFLAGS="$CFLAGS -Werror=write-strings"
   8268 
   8269 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8270 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   8271 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8272 		if eval \${$cacheid+:} false; then :
   8273   $as_echo_n "(cached) " >&6
   8274 else
   8275   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8276 /* end confdefs.h.  */
   8277 int i;
   8278 int
   8279 main ()
   8280 {
   8281 
   8282   ;
   8283   return 0;
   8284 }
   8285 _ACEOF
   8286 if ac_fn_c_try_link "$LINENO"; then :
   8287   eval $cacheid=yes
   8288 else
   8289   eval $cacheid=no
   8290 fi
   8291 rm -f core conftest.err conftest.$ac_objext \
   8292     conftest$ac_exeext conftest.$ac_ext
   8293 fi
   8294 
   8295 
   8296 		CFLAGS="$xorg_testset_save_CFLAGS"
   8297 
   8298 		eval supported=\$$cacheid
   8299 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8300 $as_echo "$supported" >&6; }
   8301 		if test "$supported" = "yes" ; then
   8302 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8303 			found="yes"
   8304 		fi
   8305 	fi
   8306 
   8307 
   8308 
   8309 
   8310 
   8311 
   8312 
   8313 
   8314 
   8315 
   8316 
   8317 
   8318 
   8319 
   8320 
   8321 xorg_testset_save_CFLAGS="$CFLAGS"
   8322 
   8323 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8324 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8325 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8326 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8327 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8328   $as_echo_n "(cached) " >&6
   8329 else
   8330   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8331 /* end confdefs.h.  */
   8332 int i;
   8333 _ACEOF
   8334 if ac_fn_c_try_compile "$LINENO"; then :
   8335   xorg_cv_cc_flag_unknown_warning_option=yes
   8336 else
   8337   xorg_cv_cc_flag_unknown_warning_option=no
   8338 fi
   8339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8340 fi
   8341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8342 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8343 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8344 	CFLAGS="$xorg_testset_save_CFLAGS"
   8345 fi
   8346 
   8347 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8348 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8349 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8350 	fi
   8351 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8352 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8353 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8354 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8355   $as_echo_n "(cached) " >&6
   8356 else
   8357   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8358 /* end confdefs.h.  */
   8359 int i;
   8360 _ACEOF
   8361 if ac_fn_c_try_compile "$LINENO"; then :
   8362   xorg_cv_cc_flag_unused_command_line_argument=yes
   8363 else
   8364   xorg_cv_cc_flag_unused_command_line_argument=no
   8365 fi
   8366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8367 fi
   8368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8369 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8370 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8371 	CFLAGS="$xorg_testset_save_CFLAGS"
   8372 fi
   8373 
   8374 found="no"
   8375 
   8376 	if test $found = "no" ; then
   8377 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8378 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8379 		fi
   8380 
   8381 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8382 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8383 		fi
   8384 
   8385 		CFLAGS="$CFLAGS -Werror=address"
   8386 
   8387 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8388 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8389 		cacheid=xorg_cv_cc_flag__Werror_address
   8390 		if eval \${$cacheid+:} false; then :
   8391   $as_echo_n "(cached) " >&6
   8392 else
   8393   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8394 /* end confdefs.h.  */
   8395 int i;
   8396 int
   8397 main ()
   8398 {
   8399 
   8400   ;
   8401   return 0;
   8402 }
   8403 _ACEOF
   8404 if ac_fn_c_try_link "$LINENO"; then :
   8405   eval $cacheid=yes
   8406 else
   8407   eval $cacheid=no
   8408 fi
   8409 rm -f core conftest.err conftest.$ac_objext \
   8410     conftest$ac_exeext conftest.$ac_ext
   8411 fi
   8412 
   8413 
   8414 		CFLAGS="$xorg_testset_save_CFLAGS"
   8415 
   8416 		eval supported=\$$cacheid
   8417 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8418 $as_echo "$supported" >&6; }
   8419 		if test "$supported" = "yes" ; then
   8420 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8421 			found="yes"
   8422 		fi
   8423 	fi
   8424 
   8425 
   8426 
   8427 
   8428 
   8429 
   8430 
   8431 
   8432 
   8433 
   8434 
   8435 
   8436 
   8437 
   8438 
   8439 xorg_testset_save_CFLAGS="$CFLAGS"
   8440 
   8441 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8442 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8443 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8444 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8445 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8446   $as_echo_n "(cached) " >&6
   8447 else
   8448   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8449 /* end confdefs.h.  */
   8450 int i;
   8451 _ACEOF
   8452 if ac_fn_c_try_compile "$LINENO"; then :
   8453   xorg_cv_cc_flag_unknown_warning_option=yes
   8454 else
   8455   xorg_cv_cc_flag_unknown_warning_option=no
   8456 fi
   8457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8458 fi
   8459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8460 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8461 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8462 	CFLAGS="$xorg_testset_save_CFLAGS"
   8463 fi
   8464 
   8465 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8466 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8467 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8468 	fi
   8469 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8470 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8471 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8472 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8473   $as_echo_n "(cached) " >&6
   8474 else
   8475   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8476 /* end confdefs.h.  */
   8477 int i;
   8478 _ACEOF
   8479 if ac_fn_c_try_compile "$LINENO"; then :
   8480   xorg_cv_cc_flag_unused_command_line_argument=yes
   8481 else
   8482   xorg_cv_cc_flag_unused_command_line_argument=no
   8483 fi
   8484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8485 fi
   8486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8487 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8488 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8489 	CFLAGS="$xorg_testset_save_CFLAGS"
   8490 fi
   8491 
   8492 found="no"
   8493 
   8494 	if test $found = "no" ; then
   8495 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8496 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8497 		fi
   8498 
   8499 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8500 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8501 		fi
   8502 
   8503 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8504 
   8505 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8506 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8507 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8508 		if eval \${$cacheid+:} false; then :
   8509   $as_echo_n "(cached) " >&6
   8510 else
   8511   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8512 /* end confdefs.h.  */
   8513 int i;
   8514 int
   8515 main ()
   8516 {
   8517 
   8518   ;
   8519   return 0;
   8520 }
   8521 _ACEOF
   8522 if ac_fn_c_try_link "$LINENO"; then :
   8523   eval $cacheid=yes
   8524 else
   8525   eval $cacheid=no
   8526 fi
   8527 rm -f core conftest.err conftest.$ac_objext \
   8528     conftest$ac_exeext conftest.$ac_ext
   8529 fi
   8530 
   8531 
   8532 		CFLAGS="$xorg_testset_save_CFLAGS"
   8533 
   8534 		eval supported=\$$cacheid
   8535 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8536 $as_echo "$supported" >&6; }
   8537 		if test "$supported" = "yes" ; then
   8538 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8539 			found="yes"
   8540 		fi
   8541 	fi
   8542 
   8543 	if test $found = "no" ; then
   8544 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8545 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8546 		fi
   8547 
   8548 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8549 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8550 		fi
   8551 
   8552 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8553 
   8554 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8555 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8556 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8557 		if eval \${$cacheid+:} false; then :
   8558   $as_echo_n "(cached) " >&6
   8559 else
   8560   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8561 /* end confdefs.h.  */
   8562 int i;
   8563 int
   8564 main ()
   8565 {
   8566 
   8567   ;
   8568   return 0;
   8569 }
   8570 _ACEOF
   8571 if ac_fn_c_try_link "$LINENO"; then :
   8572   eval $cacheid=yes
   8573 else
   8574   eval $cacheid=no
   8575 fi
   8576 rm -f core conftest.err conftest.$ac_objext \
   8577     conftest$ac_exeext conftest.$ac_ext
   8578 fi
   8579 
   8580 
   8581 		CFLAGS="$xorg_testset_save_CFLAGS"
   8582 
   8583 		eval supported=\$$cacheid
   8584 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8585 $as_echo "$supported" >&6; }
   8586 		if test "$supported" = "yes" ; then
   8587 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8588 			found="yes"
   8589 		fi
   8590 	fi
   8591 
   8592 
   8593 
   8594 
   8595 
   8596 
   8597 
   8598 
   8599 
   8600 
   8601 
   8602 
   8603 
   8604 
   8605 
   8606 xorg_testset_save_CFLAGS="$CFLAGS"
   8607 
   8608 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8609 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8610 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8611 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8612 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8613   $as_echo_n "(cached) " >&6
   8614 else
   8615   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8616 /* end confdefs.h.  */
   8617 int i;
   8618 _ACEOF
   8619 if ac_fn_c_try_compile "$LINENO"; then :
   8620   xorg_cv_cc_flag_unknown_warning_option=yes
   8621 else
   8622   xorg_cv_cc_flag_unknown_warning_option=no
   8623 fi
   8624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8625 fi
   8626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8627 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8628 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8629 	CFLAGS="$xorg_testset_save_CFLAGS"
   8630 fi
   8631 
   8632 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8633 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8634 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8635 	fi
   8636 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8637 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8638 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8639 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8640   $as_echo_n "(cached) " >&6
   8641 else
   8642   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8643 /* end confdefs.h.  */
   8644 int i;
   8645 _ACEOF
   8646 if ac_fn_c_try_compile "$LINENO"; then :
   8647   xorg_cv_cc_flag_unused_command_line_argument=yes
   8648 else
   8649   xorg_cv_cc_flag_unused_command_line_argument=no
   8650 fi
   8651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8652 fi
   8653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8654 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8655 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8656 	CFLAGS="$xorg_testset_save_CFLAGS"
   8657 fi
   8658 
   8659 found="no"
   8660 
   8661 	if test $found = "no" ; then
   8662 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8663 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8664 		fi
   8665 
   8666 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8667 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8668 		fi
   8669 
   8670 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8671 
   8672 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8673 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8674 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8675 		if eval \${$cacheid+:} false; then :
   8676   $as_echo_n "(cached) " >&6
   8677 else
   8678   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8679 /* end confdefs.h.  */
   8680 int i;
   8681 int
   8682 main ()
   8683 {
   8684 
   8685   ;
   8686   return 0;
   8687 }
   8688 _ACEOF
   8689 if ac_fn_c_try_link "$LINENO"; then :
   8690   eval $cacheid=yes
   8691 else
   8692   eval $cacheid=no
   8693 fi
   8694 rm -f core conftest.err conftest.$ac_objext \
   8695     conftest$ac_exeext conftest.$ac_ext
   8696 fi
   8697 
   8698 
   8699 		CFLAGS="$xorg_testset_save_CFLAGS"
   8700 
   8701 		eval supported=\$$cacheid
   8702 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8703 $as_echo "$supported" >&6; }
   8704 		if test "$supported" = "yes" ; then
   8705 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8706 			found="yes"
   8707 		fi
   8708 	fi
   8709 
   8710  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8711 else
   8712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You have chosen not to turn some select compiler warnings into errors.  This should not be necessary.  Please report why you needed to do so in a bug report at $PACKAGE_BUGREPORT" >&5
   8713 $as_echo "$as_me: WARNING: You have chosen not to turn some select compiler warnings into errors.  This should not be necessary.  Please report why you needed to do so in a bug report at $PACKAGE_BUGREPORT" >&2;}
   8714 
   8715 
   8716 
   8717 
   8718 
   8719 
   8720 
   8721 
   8722 
   8723 
   8724 
   8725 
   8726 
   8727 xorg_testset_save_CFLAGS="$CFLAGS"
   8728 
   8729 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8730 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8731 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8732 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8733 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8734   $as_echo_n "(cached) " >&6
   8735 else
   8736   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8737 /* end confdefs.h.  */
   8738 int i;
   8739 _ACEOF
   8740 if ac_fn_c_try_compile "$LINENO"; then :
   8741   xorg_cv_cc_flag_unknown_warning_option=yes
   8742 else
   8743   xorg_cv_cc_flag_unknown_warning_option=no
   8744 fi
   8745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8746 fi
   8747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8748 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8749 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8750 	CFLAGS="$xorg_testset_save_CFLAGS"
   8751 fi
   8752 
   8753 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8754 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8755 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8756 	fi
   8757 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8758 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8759 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8760 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8761   $as_echo_n "(cached) " >&6
   8762 else
   8763   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8764 /* end confdefs.h.  */
   8765 int i;
   8766 _ACEOF
   8767 if ac_fn_c_try_compile "$LINENO"; then :
   8768   xorg_cv_cc_flag_unused_command_line_argument=yes
   8769 else
   8770   xorg_cv_cc_flag_unused_command_line_argument=no
   8771 fi
   8772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8773 fi
   8774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8775 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8776 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8777 	CFLAGS="$xorg_testset_save_CFLAGS"
   8778 fi
   8779 
   8780 found="no"
   8781 
   8782 	if test $found = "no" ; then
   8783 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8784 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8785 		fi
   8786 
   8787 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8788 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8789 		fi
   8790 
   8791 		CFLAGS="$CFLAGS -Wimplicit"
   8792 
   8793 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8794 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8795 		cacheid=xorg_cv_cc_flag__Wimplicit
   8796 		if eval \${$cacheid+:} false; then :
   8797   $as_echo_n "(cached) " >&6
   8798 else
   8799   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8800 /* end confdefs.h.  */
   8801 int i;
   8802 int
   8803 main ()
   8804 {
   8805 
   8806   ;
   8807   return 0;
   8808 }
   8809 _ACEOF
   8810 if ac_fn_c_try_link "$LINENO"; then :
   8811   eval $cacheid=yes
   8812 else
   8813   eval $cacheid=no
   8814 fi
   8815 rm -f core conftest.err conftest.$ac_objext \
   8816     conftest$ac_exeext conftest.$ac_ext
   8817 fi
   8818 
   8819 
   8820 		CFLAGS="$xorg_testset_save_CFLAGS"
   8821 
   8822 		eval supported=\$$cacheid
   8823 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8824 $as_echo "$supported" >&6; }
   8825 		if test "$supported" = "yes" ; then
   8826 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8827 			found="yes"
   8828 		fi
   8829 	fi
   8830 
   8831 
   8832 
   8833 
   8834 
   8835 
   8836 
   8837 
   8838 
   8839 
   8840 
   8841 
   8842 
   8843 
   8844 
   8845 xorg_testset_save_CFLAGS="$CFLAGS"
   8846 
   8847 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8848 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8849 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8850 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8851 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8852   $as_echo_n "(cached) " >&6
   8853 else
   8854   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8855 /* end confdefs.h.  */
   8856 int i;
   8857 _ACEOF
   8858 if ac_fn_c_try_compile "$LINENO"; then :
   8859   xorg_cv_cc_flag_unknown_warning_option=yes
   8860 else
   8861   xorg_cv_cc_flag_unknown_warning_option=no
   8862 fi
   8863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8864 fi
   8865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8866 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8867 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8868 	CFLAGS="$xorg_testset_save_CFLAGS"
   8869 fi
   8870 
   8871 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8872 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8873 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8874 	fi
   8875 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8876 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8877 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8878 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8879   $as_echo_n "(cached) " >&6
   8880 else
   8881   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8882 /* end confdefs.h.  */
   8883 int i;
   8884 _ACEOF
   8885 if ac_fn_c_try_compile "$LINENO"; then :
   8886   xorg_cv_cc_flag_unused_command_line_argument=yes
   8887 else
   8888   xorg_cv_cc_flag_unused_command_line_argument=no
   8889 fi
   8890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8891 fi
   8892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8893 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8894 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8895 	CFLAGS="$xorg_testset_save_CFLAGS"
   8896 fi
   8897 
   8898 found="no"
   8899 
   8900 	if test $found = "no" ; then
   8901 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8902 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8903 		fi
   8904 
   8905 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8906 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8907 		fi
   8908 
   8909 		CFLAGS="$CFLAGS -Wnonnull"
   8910 
   8911 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8912 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8913 		cacheid=xorg_cv_cc_flag__Wnonnull
   8914 		if eval \${$cacheid+:} false; then :
   8915   $as_echo_n "(cached) " >&6
   8916 else
   8917   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8918 /* end confdefs.h.  */
   8919 int i;
   8920 int
   8921 main ()
   8922 {
   8923 
   8924   ;
   8925   return 0;
   8926 }
   8927 _ACEOF
   8928 if ac_fn_c_try_link "$LINENO"; then :
   8929   eval $cacheid=yes
   8930 else
   8931   eval $cacheid=no
   8932 fi
   8933 rm -f core conftest.err conftest.$ac_objext \
   8934     conftest$ac_exeext conftest.$ac_ext
   8935 fi
   8936 
   8937 
   8938 		CFLAGS="$xorg_testset_save_CFLAGS"
   8939 
   8940 		eval supported=\$$cacheid
   8941 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8942 $as_echo "$supported" >&6; }
   8943 		if test "$supported" = "yes" ; then
   8944 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8945 			found="yes"
   8946 		fi
   8947 	fi
   8948 
   8949 
   8950 
   8951 
   8952 
   8953 
   8954 
   8955 
   8956 
   8957 
   8958 
   8959 
   8960 
   8961 
   8962 
   8963 xorg_testset_save_CFLAGS="$CFLAGS"
   8964 
   8965 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8966 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8967 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8968 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8969 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8970   $as_echo_n "(cached) " >&6
   8971 else
   8972   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8973 /* end confdefs.h.  */
   8974 int i;
   8975 _ACEOF
   8976 if ac_fn_c_try_compile "$LINENO"; then :
   8977   xorg_cv_cc_flag_unknown_warning_option=yes
   8978 else
   8979   xorg_cv_cc_flag_unknown_warning_option=no
   8980 fi
   8981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8982 fi
   8983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8984 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8985 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8986 	CFLAGS="$xorg_testset_save_CFLAGS"
   8987 fi
   8988 
   8989 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8990 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8991 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8992 	fi
   8993 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8994 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8995 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8996 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8997   $as_echo_n "(cached) " >&6
   8998 else
   8999   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9000 /* end confdefs.h.  */
   9001 int i;
   9002 _ACEOF
   9003 if ac_fn_c_try_compile "$LINENO"; then :
   9004   xorg_cv_cc_flag_unused_command_line_argument=yes
   9005 else
   9006   xorg_cv_cc_flag_unused_command_line_argument=no
   9007 fi
   9008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9009 fi
   9010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9011 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9012 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9013 	CFLAGS="$xorg_testset_save_CFLAGS"
   9014 fi
   9015 
   9016 found="no"
   9017 
   9018 	if test $found = "no" ; then
   9019 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9020 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9021 		fi
   9022 
   9023 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9024 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9025 		fi
   9026 
   9027 		CFLAGS="$CFLAGS -Winit-self"
   9028 
   9029 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9030 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   9031 		cacheid=xorg_cv_cc_flag__Winit_self
   9032 		if eval \${$cacheid+:} false; then :
   9033   $as_echo_n "(cached) " >&6
   9034 else
   9035   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9036 /* end confdefs.h.  */
   9037 int i;
   9038 int
   9039 main ()
   9040 {
   9041 
   9042   ;
   9043   return 0;
   9044 }
   9045 _ACEOF
   9046 if ac_fn_c_try_link "$LINENO"; then :
   9047   eval $cacheid=yes
   9048 else
   9049   eval $cacheid=no
   9050 fi
   9051 rm -f core conftest.err conftest.$ac_objext \
   9052     conftest$ac_exeext conftest.$ac_ext
   9053 fi
   9054 
   9055 
   9056 		CFLAGS="$xorg_testset_save_CFLAGS"
   9057 
   9058 		eval supported=\$$cacheid
   9059 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9060 $as_echo "$supported" >&6; }
   9061 		if test "$supported" = "yes" ; then
   9062 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9063 			found="yes"
   9064 		fi
   9065 	fi
   9066 
   9067 
   9068 
   9069 
   9070 
   9071 
   9072 
   9073 
   9074 
   9075 
   9076 
   9077 
   9078 
   9079 
   9080 
   9081 xorg_testset_save_CFLAGS="$CFLAGS"
   9082 
   9083 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9084 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9085 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9086 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9087 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9088   $as_echo_n "(cached) " >&6
   9089 else
   9090   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9091 /* end confdefs.h.  */
   9092 int i;
   9093 _ACEOF
   9094 if ac_fn_c_try_compile "$LINENO"; then :
   9095   xorg_cv_cc_flag_unknown_warning_option=yes
   9096 else
   9097   xorg_cv_cc_flag_unknown_warning_option=no
   9098 fi
   9099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9100 fi
   9101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9102 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9103 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9104 	CFLAGS="$xorg_testset_save_CFLAGS"
   9105 fi
   9106 
   9107 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9108 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9109 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9110 	fi
   9111 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9112 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9113 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9114 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9115   $as_echo_n "(cached) " >&6
   9116 else
   9117   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9118 /* end confdefs.h.  */
   9119 int i;
   9120 _ACEOF
   9121 if ac_fn_c_try_compile "$LINENO"; then :
   9122   xorg_cv_cc_flag_unused_command_line_argument=yes
   9123 else
   9124   xorg_cv_cc_flag_unused_command_line_argument=no
   9125 fi
   9126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9127 fi
   9128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9129 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9130 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9131 	CFLAGS="$xorg_testset_save_CFLAGS"
   9132 fi
   9133 
   9134 found="no"
   9135 
   9136 	if test $found = "no" ; then
   9137 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9138 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9139 		fi
   9140 
   9141 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9142 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9143 		fi
   9144 
   9145 		CFLAGS="$CFLAGS -Wmain"
   9146 
   9147 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9148 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   9149 		cacheid=xorg_cv_cc_flag__Wmain
   9150 		if eval \${$cacheid+:} false; then :
   9151   $as_echo_n "(cached) " >&6
   9152 else
   9153   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9154 /* end confdefs.h.  */
   9155 int i;
   9156 int
   9157 main ()
   9158 {
   9159 
   9160   ;
   9161   return 0;
   9162 }
   9163 _ACEOF
   9164 if ac_fn_c_try_link "$LINENO"; then :
   9165   eval $cacheid=yes
   9166 else
   9167   eval $cacheid=no
   9168 fi
   9169 rm -f core conftest.err conftest.$ac_objext \
   9170     conftest$ac_exeext conftest.$ac_ext
   9171 fi
   9172 
   9173 
   9174 		CFLAGS="$xorg_testset_save_CFLAGS"
   9175 
   9176 		eval supported=\$$cacheid
   9177 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9178 $as_echo "$supported" >&6; }
   9179 		if test "$supported" = "yes" ; then
   9180 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9181 			found="yes"
   9182 		fi
   9183 	fi
   9184 
   9185 
   9186 
   9187 
   9188 
   9189 
   9190 
   9191 
   9192 
   9193 
   9194 
   9195 
   9196 
   9197 
   9198 
   9199 xorg_testset_save_CFLAGS="$CFLAGS"
   9200 
   9201 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9202 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9203 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9204 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9205 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9206   $as_echo_n "(cached) " >&6
   9207 else
   9208   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9209 /* end confdefs.h.  */
   9210 int i;
   9211 _ACEOF
   9212 if ac_fn_c_try_compile "$LINENO"; then :
   9213   xorg_cv_cc_flag_unknown_warning_option=yes
   9214 else
   9215   xorg_cv_cc_flag_unknown_warning_option=no
   9216 fi
   9217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9218 fi
   9219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9220 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9221 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9222 	CFLAGS="$xorg_testset_save_CFLAGS"
   9223 fi
   9224 
   9225 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9226 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9227 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9228 	fi
   9229 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9230 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9231 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9232 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9233   $as_echo_n "(cached) " >&6
   9234 else
   9235   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9236 /* end confdefs.h.  */
   9237 int i;
   9238 _ACEOF
   9239 if ac_fn_c_try_compile "$LINENO"; then :
   9240   xorg_cv_cc_flag_unused_command_line_argument=yes
   9241 else
   9242   xorg_cv_cc_flag_unused_command_line_argument=no
   9243 fi
   9244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9245 fi
   9246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9247 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9248 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9249 	CFLAGS="$xorg_testset_save_CFLAGS"
   9250 fi
   9251 
   9252 found="no"
   9253 
   9254 	if test $found = "no" ; then
   9255 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9256 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9257 		fi
   9258 
   9259 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9260 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9261 		fi
   9262 
   9263 		CFLAGS="$CFLAGS -Wmissing-braces"
   9264 
   9265 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9266 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   9267 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9268 		if eval \${$cacheid+:} false; then :
   9269   $as_echo_n "(cached) " >&6
   9270 else
   9271   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9272 /* end confdefs.h.  */
   9273 int i;
   9274 int
   9275 main ()
   9276 {
   9277 
   9278   ;
   9279   return 0;
   9280 }
   9281 _ACEOF
   9282 if ac_fn_c_try_link "$LINENO"; then :
   9283   eval $cacheid=yes
   9284 else
   9285   eval $cacheid=no
   9286 fi
   9287 rm -f core conftest.err conftest.$ac_objext \
   9288     conftest$ac_exeext conftest.$ac_ext
   9289 fi
   9290 
   9291 
   9292 		CFLAGS="$xorg_testset_save_CFLAGS"
   9293 
   9294 		eval supported=\$$cacheid
   9295 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9296 $as_echo "$supported" >&6; }
   9297 		if test "$supported" = "yes" ; then
   9298 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9299 			found="yes"
   9300 		fi
   9301 	fi
   9302 
   9303 
   9304 
   9305 
   9306 
   9307 
   9308 
   9309 
   9310 
   9311 
   9312 
   9313 
   9314 
   9315 
   9316 
   9317 xorg_testset_save_CFLAGS="$CFLAGS"
   9318 
   9319 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9320 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9321 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9322 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9323 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9324   $as_echo_n "(cached) " >&6
   9325 else
   9326   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9327 /* end confdefs.h.  */
   9328 int i;
   9329 _ACEOF
   9330 if ac_fn_c_try_compile "$LINENO"; then :
   9331   xorg_cv_cc_flag_unknown_warning_option=yes
   9332 else
   9333   xorg_cv_cc_flag_unknown_warning_option=no
   9334 fi
   9335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9336 fi
   9337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9338 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9339 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9340 	CFLAGS="$xorg_testset_save_CFLAGS"
   9341 fi
   9342 
   9343 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9344 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9345 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9346 	fi
   9347 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9348 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9349 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9350 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9351   $as_echo_n "(cached) " >&6
   9352 else
   9353   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9354 /* end confdefs.h.  */
   9355 int i;
   9356 _ACEOF
   9357 if ac_fn_c_try_compile "$LINENO"; then :
   9358   xorg_cv_cc_flag_unused_command_line_argument=yes
   9359 else
   9360   xorg_cv_cc_flag_unused_command_line_argument=no
   9361 fi
   9362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9363 fi
   9364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9365 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9366 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9367 	CFLAGS="$xorg_testset_save_CFLAGS"
   9368 fi
   9369 
   9370 found="no"
   9371 
   9372 	if test $found = "no" ; then
   9373 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9374 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9375 		fi
   9376 
   9377 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9378 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9379 		fi
   9380 
   9381 		CFLAGS="$CFLAGS -Wsequence-point"
   9382 
   9383 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9384 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9385 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9386 		if eval \${$cacheid+:} false; then :
   9387   $as_echo_n "(cached) " >&6
   9388 else
   9389   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9390 /* end confdefs.h.  */
   9391 int i;
   9392 int
   9393 main ()
   9394 {
   9395 
   9396   ;
   9397   return 0;
   9398 }
   9399 _ACEOF
   9400 if ac_fn_c_try_link "$LINENO"; then :
   9401   eval $cacheid=yes
   9402 else
   9403   eval $cacheid=no
   9404 fi
   9405 rm -f core conftest.err conftest.$ac_objext \
   9406     conftest$ac_exeext conftest.$ac_ext
   9407 fi
   9408 
   9409 
   9410 		CFLAGS="$xorg_testset_save_CFLAGS"
   9411 
   9412 		eval supported=\$$cacheid
   9413 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9414 $as_echo "$supported" >&6; }
   9415 		if test "$supported" = "yes" ; then
   9416 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9417 			found="yes"
   9418 		fi
   9419 	fi
   9420 
   9421 
   9422 
   9423 
   9424 
   9425 
   9426 
   9427 
   9428 
   9429 
   9430 
   9431 
   9432 
   9433 
   9434 
   9435 xorg_testset_save_CFLAGS="$CFLAGS"
   9436 
   9437 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9438 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9439 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9440 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9441 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9442   $as_echo_n "(cached) " >&6
   9443 else
   9444   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9445 /* end confdefs.h.  */
   9446 int i;
   9447 _ACEOF
   9448 if ac_fn_c_try_compile "$LINENO"; then :
   9449   xorg_cv_cc_flag_unknown_warning_option=yes
   9450 else
   9451   xorg_cv_cc_flag_unknown_warning_option=no
   9452 fi
   9453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9454 fi
   9455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9456 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9457 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9458 	CFLAGS="$xorg_testset_save_CFLAGS"
   9459 fi
   9460 
   9461 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9462 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9463 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9464 	fi
   9465 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9466 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9467 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9468 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9469   $as_echo_n "(cached) " >&6
   9470 else
   9471   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9472 /* end confdefs.h.  */
   9473 int i;
   9474 _ACEOF
   9475 if ac_fn_c_try_compile "$LINENO"; then :
   9476   xorg_cv_cc_flag_unused_command_line_argument=yes
   9477 else
   9478   xorg_cv_cc_flag_unused_command_line_argument=no
   9479 fi
   9480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9481 fi
   9482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9483 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9484 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9485 	CFLAGS="$xorg_testset_save_CFLAGS"
   9486 fi
   9487 
   9488 found="no"
   9489 
   9490 	if test $found = "no" ; then
   9491 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9492 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9493 		fi
   9494 
   9495 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9496 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9497 		fi
   9498 
   9499 		CFLAGS="$CFLAGS -Wreturn-type"
   9500 
   9501 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9502 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9503 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9504 		if eval \${$cacheid+:} false; then :
   9505   $as_echo_n "(cached) " >&6
   9506 else
   9507   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9508 /* end confdefs.h.  */
   9509 int i;
   9510 int
   9511 main ()
   9512 {
   9513 
   9514   ;
   9515   return 0;
   9516 }
   9517 _ACEOF
   9518 if ac_fn_c_try_link "$LINENO"; then :
   9519   eval $cacheid=yes
   9520 else
   9521   eval $cacheid=no
   9522 fi
   9523 rm -f core conftest.err conftest.$ac_objext \
   9524     conftest$ac_exeext conftest.$ac_ext
   9525 fi
   9526 
   9527 
   9528 		CFLAGS="$xorg_testset_save_CFLAGS"
   9529 
   9530 		eval supported=\$$cacheid
   9531 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9532 $as_echo "$supported" >&6; }
   9533 		if test "$supported" = "yes" ; then
   9534 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9535 			found="yes"
   9536 		fi
   9537 	fi
   9538 
   9539 
   9540 
   9541 
   9542 
   9543 
   9544 
   9545 
   9546 
   9547 
   9548 
   9549 
   9550 
   9551 
   9552 
   9553 xorg_testset_save_CFLAGS="$CFLAGS"
   9554 
   9555 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9556 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9557 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9558 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9559 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9560   $as_echo_n "(cached) " >&6
   9561 else
   9562   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9563 /* end confdefs.h.  */
   9564 int i;
   9565 _ACEOF
   9566 if ac_fn_c_try_compile "$LINENO"; then :
   9567   xorg_cv_cc_flag_unknown_warning_option=yes
   9568 else
   9569   xorg_cv_cc_flag_unknown_warning_option=no
   9570 fi
   9571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9572 fi
   9573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9574 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9575 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9576 	CFLAGS="$xorg_testset_save_CFLAGS"
   9577 fi
   9578 
   9579 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9580 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9581 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9582 	fi
   9583 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9584 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9585 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9586 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9587   $as_echo_n "(cached) " >&6
   9588 else
   9589   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9590 /* end confdefs.h.  */
   9591 int i;
   9592 _ACEOF
   9593 if ac_fn_c_try_compile "$LINENO"; then :
   9594   xorg_cv_cc_flag_unused_command_line_argument=yes
   9595 else
   9596   xorg_cv_cc_flag_unused_command_line_argument=no
   9597 fi
   9598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9599 fi
   9600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9601 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9602 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9603 	CFLAGS="$xorg_testset_save_CFLAGS"
   9604 fi
   9605 
   9606 found="no"
   9607 
   9608 	if test $found = "no" ; then
   9609 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9610 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9611 		fi
   9612 
   9613 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9614 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9615 		fi
   9616 
   9617 		CFLAGS="$CFLAGS -Wtrigraphs"
   9618 
   9619 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9620 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9621 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9622 		if eval \${$cacheid+:} false; then :
   9623   $as_echo_n "(cached) " >&6
   9624 else
   9625   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9626 /* end confdefs.h.  */
   9627 int i;
   9628 int
   9629 main ()
   9630 {
   9631 
   9632   ;
   9633   return 0;
   9634 }
   9635 _ACEOF
   9636 if ac_fn_c_try_link "$LINENO"; then :
   9637   eval $cacheid=yes
   9638 else
   9639   eval $cacheid=no
   9640 fi
   9641 rm -f core conftest.err conftest.$ac_objext \
   9642     conftest$ac_exeext conftest.$ac_ext
   9643 fi
   9644 
   9645 
   9646 		CFLAGS="$xorg_testset_save_CFLAGS"
   9647 
   9648 		eval supported=\$$cacheid
   9649 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9650 $as_echo "$supported" >&6; }
   9651 		if test "$supported" = "yes" ; then
   9652 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9653 			found="yes"
   9654 		fi
   9655 	fi
   9656 
   9657 
   9658 
   9659 
   9660 
   9661 
   9662 
   9663 
   9664 
   9665 
   9666 
   9667 
   9668 
   9669 
   9670 
   9671 xorg_testset_save_CFLAGS="$CFLAGS"
   9672 
   9673 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9674 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9675 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9676 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9677 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9678   $as_echo_n "(cached) " >&6
   9679 else
   9680   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9681 /* end confdefs.h.  */
   9682 int i;
   9683 _ACEOF
   9684 if ac_fn_c_try_compile "$LINENO"; then :
   9685   xorg_cv_cc_flag_unknown_warning_option=yes
   9686 else
   9687   xorg_cv_cc_flag_unknown_warning_option=no
   9688 fi
   9689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9690 fi
   9691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9692 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9693 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9694 	CFLAGS="$xorg_testset_save_CFLAGS"
   9695 fi
   9696 
   9697 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9698 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9699 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9700 	fi
   9701 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9702 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9703 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9704 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9705   $as_echo_n "(cached) " >&6
   9706 else
   9707   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9708 /* end confdefs.h.  */
   9709 int i;
   9710 _ACEOF
   9711 if ac_fn_c_try_compile "$LINENO"; then :
   9712   xorg_cv_cc_flag_unused_command_line_argument=yes
   9713 else
   9714   xorg_cv_cc_flag_unused_command_line_argument=no
   9715 fi
   9716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9717 fi
   9718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9719 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9720 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9721 	CFLAGS="$xorg_testset_save_CFLAGS"
   9722 fi
   9723 
   9724 found="no"
   9725 
   9726 	if test $found = "no" ; then
   9727 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9728 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9729 		fi
   9730 
   9731 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9732 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9733 		fi
   9734 
   9735 		CFLAGS="$CFLAGS -Warray-bounds"
   9736 
   9737 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9738 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9739 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9740 		if eval \${$cacheid+:} false; then :
   9741   $as_echo_n "(cached) " >&6
   9742 else
   9743   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9744 /* end confdefs.h.  */
   9745 int i;
   9746 int
   9747 main ()
   9748 {
   9749 
   9750   ;
   9751   return 0;
   9752 }
   9753 _ACEOF
   9754 if ac_fn_c_try_link "$LINENO"; then :
   9755   eval $cacheid=yes
   9756 else
   9757   eval $cacheid=no
   9758 fi
   9759 rm -f core conftest.err conftest.$ac_objext \
   9760     conftest$ac_exeext conftest.$ac_ext
   9761 fi
   9762 
   9763 
   9764 		CFLAGS="$xorg_testset_save_CFLAGS"
   9765 
   9766 		eval supported=\$$cacheid
   9767 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9768 $as_echo "$supported" >&6; }
   9769 		if test "$supported" = "yes" ; then
   9770 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9771 			found="yes"
   9772 		fi
   9773 	fi
   9774 
   9775 
   9776 
   9777 
   9778 
   9779 
   9780 
   9781 
   9782 
   9783 
   9784 
   9785 
   9786 
   9787 
   9788 
   9789 xorg_testset_save_CFLAGS="$CFLAGS"
   9790 
   9791 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9792 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9793 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9794 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9795 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9796   $as_echo_n "(cached) " >&6
   9797 else
   9798   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9799 /* end confdefs.h.  */
   9800 int i;
   9801 _ACEOF
   9802 if ac_fn_c_try_compile "$LINENO"; then :
   9803   xorg_cv_cc_flag_unknown_warning_option=yes
   9804 else
   9805   xorg_cv_cc_flag_unknown_warning_option=no
   9806 fi
   9807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9808 fi
   9809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9810 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9811 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9812 	CFLAGS="$xorg_testset_save_CFLAGS"
   9813 fi
   9814 
   9815 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9816 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9817 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9818 	fi
   9819 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9820 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9821 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9822 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9823   $as_echo_n "(cached) " >&6
   9824 else
   9825   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9826 /* end confdefs.h.  */
   9827 int i;
   9828 _ACEOF
   9829 if ac_fn_c_try_compile "$LINENO"; then :
   9830   xorg_cv_cc_flag_unused_command_line_argument=yes
   9831 else
   9832   xorg_cv_cc_flag_unused_command_line_argument=no
   9833 fi
   9834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9835 fi
   9836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9837 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9838 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9839 	CFLAGS="$xorg_testset_save_CFLAGS"
   9840 fi
   9841 
   9842 found="no"
   9843 
   9844 	if test $found = "no" ; then
   9845 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9846 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9847 		fi
   9848 
   9849 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9850 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9851 		fi
   9852 
   9853 		CFLAGS="$CFLAGS -Wwrite-strings"
   9854 
   9855 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9856 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9857 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9858 		if eval \${$cacheid+:} false; then :
   9859   $as_echo_n "(cached) " >&6
   9860 else
   9861   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9862 /* end confdefs.h.  */
   9863 int i;
   9864 int
   9865 main ()
   9866 {
   9867 
   9868   ;
   9869   return 0;
   9870 }
   9871 _ACEOF
   9872 if ac_fn_c_try_link "$LINENO"; then :
   9873   eval $cacheid=yes
   9874 else
   9875   eval $cacheid=no
   9876 fi
   9877 rm -f core conftest.err conftest.$ac_objext \
   9878     conftest$ac_exeext conftest.$ac_ext
   9879 fi
   9880 
   9881 
   9882 		CFLAGS="$xorg_testset_save_CFLAGS"
   9883 
   9884 		eval supported=\$$cacheid
   9885 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9886 $as_echo "$supported" >&6; }
   9887 		if test "$supported" = "yes" ; then
   9888 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9889 			found="yes"
   9890 		fi
   9891 	fi
   9892 
   9893 
   9894 
   9895 
   9896 
   9897 
   9898 
   9899 
   9900 
   9901 
   9902 
   9903 
   9904 
   9905 
   9906 
   9907 xorg_testset_save_CFLAGS="$CFLAGS"
   9908 
   9909 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9910 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9911 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9912 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9913 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9914   $as_echo_n "(cached) " >&6
   9915 else
   9916   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9917 /* end confdefs.h.  */
   9918 int i;
   9919 _ACEOF
   9920 if ac_fn_c_try_compile "$LINENO"; then :
   9921   xorg_cv_cc_flag_unknown_warning_option=yes
   9922 else
   9923   xorg_cv_cc_flag_unknown_warning_option=no
   9924 fi
   9925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9926 fi
   9927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9928 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9929 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9930 	CFLAGS="$xorg_testset_save_CFLAGS"
   9931 fi
   9932 
   9933 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9934 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9935 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9936 	fi
   9937 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9938 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9939 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9940 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9941   $as_echo_n "(cached) " >&6
   9942 else
   9943   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9944 /* end confdefs.h.  */
   9945 int i;
   9946 _ACEOF
   9947 if ac_fn_c_try_compile "$LINENO"; then :
   9948   xorg_cv_cc_flag_unused_command_line_argument=yes
   9949 else
   9950   xorg_cv_cc_flag_unused_command_line_argument=no
   9951 fi
   9952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9953 fi
   9954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9955 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9956 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9957 	CFLAGS="$xorg_testset_save_CFLAGS"
   9958 fi
   9959 
   9960 found="no"
   9961 
   9962 	if test $found = "no" ; then
   9963 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9964 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9965 		fi
   9966 
   9967 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9968 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9969 		fi
   9970 
   9971 		CFLAGS="$CFLAGS -Waddress"
   9972 
   9973 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9974 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9975 		cacheid=xorg_cv_cc_flag__Waddress
   9976 		if eval \${$cacheid+:} false; then :
   9977   $as_echo_n "(cached) " >&6
   9978 else
   9979   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9980 /* end confdefs.h.  */
   9981 int i;
   9982 int
   9983 main ()
   9984 {
   9985 
   9986   ;
   9987   return 0;
   9988 }
   9989 _ACEOF
   9990 if ac_fn_c_try_link "$LINENO"; then :
   9991   eval $cacheid=yes
   9992 else
   9993   eval $cacheid=no
   9994 fi
   9995 rm -f core conftest.err conftest.$ac_objext \
   9996     conftest$ac_exeext conftest.$ac_ext
   9997 fi
   9998 
   9999 
   10000 		CFLAGS="$xorg_testset_save_CFLAGS"
   10001 
   10002 		eval supported=\$$cacheid
   10003 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10004 $as_echo "$supported" >&6; }
   10005 		if test "$supported" = "yes" ; then
   10006 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10007 			found="yes"
   10008 		fi
   10009 	fi
   10010 
   10011 
   10012 
   10013 
   10014 
   10015 
   10016 
   10017 
   10018 
   10019 
   10020 
   10021 
   10022 
   10023 
   10024 
   10025 xorg_testset_save_CFLAGS="$CFLAGS"
   10026 
   10027 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10028 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10029 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10030 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10031 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10032   $as_echo_n "(cached) " >&6
   10033 else
   10034   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10035 /* end confdefs.h.  */
   10036 int i;
   10037 _ACEOF
   10038 if ac_fn_c_try_compile "$LINENO"; then :
   10039   xorg_cv_cc_flag_unknown_warning_option=yes
   10040 else
   10041   xorg_cv_cc_flag_unknown_warning_option=no
   10042 fi
   10043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10044 fi
   10045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10046 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10047 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10048 	CFLAGS="$xorg_testset_save_CFLAGS"
   10049 fi
   10050 
   10051 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10052 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10053 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10054 	fi
   10055 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10056 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10057 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10058 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10059   $as_echo_n "(cached) " >&6
   10060 else
   10061   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10062 /* end confdefs.h.  */
   10063 int i;
   10064 _ACEOF
   10065 if ac_fn_c_try_compile "$LINENO"; then :
   10066   xorg_cv_cc_flag_unused_command_line_argument=yes
   10067 else
   10068   xorg_cv_cc_flag_unused_command_line_argument=no
   10069 fi
   10070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10071 fi
   10072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10073 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10074 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10075 	CFLAGS="$xorg_testset_save_CFLAGS"
   10076 fi
   10077 
   10078 found="no"
   10079 
   10080 	if test $found = "no" ; then
   10081 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10082 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10083 		fi
   10084 
   10085 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10086 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10087 		fi
   10088 
   10089 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10090 
   10091 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10092 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10093 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10094 		if eval \${$cacheid+:} false; then :
   10095   $as_echo_n "(cached) " >&6
   10096 else
   10097   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10098 /* end confdefs.h.  */
   10099 int i;
   10100 int
   10101 main ()
   10102 {
   10103 
   10104   ;
   10105   return 0;
   10106 }
   10107 _ACEOF
   10108 if ac_fn_c_try_link "$LINENO"; then :
   10109   eval $cacheid=yes
   10110 else
   10111   eval $cacheid=no
   10112 fi
   10113 rm -f core conftest.err conftest.$ac_objext \
   10114     conftest$ac_exeext conftest.$ac_ext
   10115 fi
   10116 
   10117 
   10118 		CFLAGS="$xorg_testset_save_CFLAGS"
   10119 
   10120 		eval supported=\$$cacheid
   10121 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10122 $as_echo "$supported" >&6; }
   10123 		if test "$supported" = "yes" ; then
   10124 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10125 			found="yes"
   10126 		fi
   10127 	fi
   10128 
   10129 
   10130 
   10131 
   10132 
   10133 
   10134 
   10135 
   10136 
   10137 
   10138 
   10139 
   10140 
   10141 
   10142 
   10143 xorg_testset_save_CFLAGS="$CFLAGS"
   10144 
   10145 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10146 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10147 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10148 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10149 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10150   $as_echo_n "(cached) " >&6
   10151 else
   10152   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10153 /* end confdefs.h.  */
   10154 int i;
   10155 _ACEOF
   10156 if ac_fn_c_try_compile "$LINENO"; then :
   10157   xorg_cv_cc_flag_unknown_warning_option=yes
   10158 else
   10159   xorg_cv_cc_flag_unknown_warning_option=no
   10160 fi
   10161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10162 fi
   10163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10164 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10165 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10166 	CFLAGS="$xorg_testset_save_CFLAGS"
   10167 fi
   10168 
   10169 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10170 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10171 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10172 	fi
   10173 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10174 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10175 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10176 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10177   $as_echo_n "(cached) " >&6
   10178 else
   10179   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10180 /* end confdefs.h.  */
   10181 int i;
   10182 _ACEOF
   10183 if ac_fn_c_try_compile "$LINENO"; then :
   10184   xorg_cv_cc_flag_unused_command_line_argument=yes
   10185 else
   10186   xorg_cv_cc_flag_unused_command_line_argument=no
   10187 fi
   10188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10189 fi
   10190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10191 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10192 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10193 	CFLAGS="$xorg_testset_save_CFLAGS"
   10194 fi
   10195 
   10196 found="no"
   10197 
   10198 	if test $found = "no" ; then
   10199 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10200 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10201 		fi
   10202 
   10203 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10204 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10205 		fi
   10206 
   10207 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10208 
   10209 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10210 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10211 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10212 		if eval \${$cacheid+:} false; then :
   10213   $as_echo_n "(cached) " >&6
   10214 else
   10215   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10216 /* end confdefs.h.  */
   10217 int i;
   10218 int
   10219 main ()
   10220 {
   10221 
   10222   ;
   10223   return 0;
   10224 }
   10225 _ACEOF
   10226 if ac_fn_c_try_link "$LINENO"; then :
   10227   eval $cacheid=yes
   10228 else
   10229   eval $cacheid=no
   10230 fi
   10231 rm -f core conftest.err conftest.$ac_objext \
   10232     conftest$ac_exeext conftest.$ac_ext
   10233 fi
   10234 
   10235 
   10236 		CFLAGS="$xorg_testset_save_CFLAGS"
   10237 
   10238 		eval supported=\$$cacheid
   10239 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10240 $as_echo "$supported" >&6; }
   10241 		if test "$supported" = "yes" ; then
   10242 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10243 			found="yes"
   10244 		fi
   10245 	fi
   10246 
   10247 
   10248 fi
   10249 
   10250 
   10251 
   10252 
   10253 
   10254 
   10255 
   10256 		CWARNFLAGS="$BASE_CFLAGS"
   10257 		if  test "x$GCC" = xyes ; then
   10258 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10259 		fi
   10260 
   10261 
   10262 
   10263 
   10264 
   10265 
   10266 
   10267 
   10268 # Check whether --enable-strict-compilation was given.
   10269 if test "${enable_strict_compilation+set}" = set; then :
   10270   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10271 else
   10272   STRICT_COMPILE=no
   10273 fi
   10274 
   10275 
   10276 
   10277 
   10278 
   10279 
   10280 STRICT_CFLAGS=""
   10281 
   10282 
   10283 
   10284 
   10285 
   10286 
   10287 
   10288 
   10289 
   10290 
   10291 
   10292 
   10293 
   10294 xorg_testset_save_CFLAGS="$CFLAGS"
   10295 
   10296 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10297 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10298 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10299 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10300 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10301   $as_echo_n "(cached) " >&6
   10302 else
   10303   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10304 /* end confdefs.h.  */
   10305 int i;
   10306 _ACEOF
   10307 if ac_fn_c_try_compile "$LINENO"; then :
   10308   xorg_cv_cc_flag_unknown_warning_option=yes
   10309 else
   10310   xorg_cv_cc_flag_unknown_warning_option=no
   10311 fi
   10312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10313 fi
   10314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10315 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10316 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10317 	CFLAGS="$xorg_testset_save_CFLAGS"
   10318 fi
   10319 
   10320 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10321 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10322 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10323 	fi
   10324 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10325 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10326 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10327 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10328   $as_echo_n "(cached) " >&6
   10329 else
   10330   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10331 /* end confdefs.h.  */
   10332 int i;
   10333 _ACEOF
   10334 if ac_fn_c_try_compile "$LINENO"; then :
   10335   xorg_cv_cc_flag_unused_command_line_argument=yes
   10336 else
   10337   xorg_cv_cc_flag_unused_command_line_argument=no
   10338 fi
   10339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10340 fi
   10341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10342 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10343 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10344 	CFLAGS="$xorg_testset_save_CFLAGS"
   10345 fi
   10346 
   10347 found="no"
   10348 
   10349 	if test $found = "no" ; then
   10350 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10351 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10352 		fi
   10353 
   10354 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10355 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10356 		fi
   10357 
   10358 		CFLAGS="$CFLAGS -pedantic"
   10359 
   10360 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10361 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10362 		cacheid=xorg_cv_cc_flag__pedantic
   10363 		if eval \${$cacheid+:} false; then :
   10364   $as_echo_n "(cached) " >&6
   10365 else
   10366   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10367 /* end confdefs.h.  */
   10368 int i;
   10369 int
   10370 main ()
   10371 {
   10372 
   10373   ;
   10374   return 0;
   10375 }
   10376 _ACEOF
   10377 if ac_fn_c_try_link "$LINENO"; then :
   10378   eval $cacheid=yes
   10379 else
   10380   eval $cacheid=no
   10381 fi
   10382 rm -f core conftest.err conftest.$ac_objext \
   10383     conftest$ac_exeext conftest.$ac_ext
   10384 fi
   10385 
   10386 
   10387 		CFLAGS="$xorg_testset_save_CFLAGS"
   10388 
   10389 		eval supported=\$$cacheid
   10390 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10391 $as_echo "$supported" >&6; }
   10392 		if test "$supported" = "yes" ; then
   10393 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10394 			found="yes"
   10395 		fi
   10396 	fi
   10397 
   10398 
   10399 
   10400 
   10401 
   10402 
   10403 
   10404 
   10405 
   10406 
   10407 
   10408 
   10409 
   10410 
   10411 
   10412 xorg_testset_save_CFLAGS="$CFLAGS"
   10413 
   10414 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10415 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10416 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10417 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10418 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10419   $as_echo_n "(cached) " >&6
   10420 else
   10421   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10422 /* end confdefs.h.  */
   10423 int i;
   10424 _ACEOF
   10425 if ac_fn_c_try_compile "$LINENO"; then :
   10426   xorg_cv_cc_flag_unknown_warning_option=yes
   10427 else
   10428   xorg_cv_cc_flag_unknown_warning_option=no
   10429 fi
   10430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10431 fi
   10432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10433 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10434 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10435 	CFLAGS="$xorg_testset_save_CFLAGS"
   10436 fi
   10437 
   10438 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10439 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10440 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10441 	fi
   10442 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10443 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10444 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10445 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10446   $as_echo_n "(cached) " >&6
   10447 else
   10448   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10449 /* end confdefs.h.  */
   10450 int i;
   10451 _ACEOF
   10452 if ac_fn_c_try_compile "$LINENO"; then :
   10453   xorg_cv_cc_flag_unused_command_line_argument=yes
   10454 else
   10455   xorg_cv_cc_flag_unused_command_line_argument=no
   10456 fi
   10457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10458 fi
   10459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10460 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10461 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10462 	CFLAGS="$xorg_testset_save_CFLAGS"
   10463 fi
   10464 
   10465 found="no"
   10466 
   10467 	if test $found = "no" ; then
   10468 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10469 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10470 		fi
   10471 
   10472 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10473 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10474 		fi
   10475 
   10476 		CFLAGS="$CFLAGS -Werror"
   10477 
   10478 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10479 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10480 		cacheid=xorg_cv_cc_flag__Werror
   10481 		if eval \${$cacheid+:} false; then :
   10482   $as_echo_n "(cached) " >&6
   10483 else
   10484   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10485 /* end confdefs.h.  */
   10486 int i;
   10487 int
   10488 main ()
   10489 {
   10490 
   10491   ;
   10492   return 0;
   10493 }
   10494 _ACEOF
   10495 if ac_fn_c_try_link "$LINENO"; then :
   10496   eval $cacheid=yes
   10497 else
   10498   eval $cacheid=no
   10499 fi
   10500 rm -f core conftest.err conftest.$ac_objext \
   10501     conftest$ac_exeext conftest.$ac_ext
   10502 fi
   10503 
   10504 
   10505 		CFLAGS="$xorg_testset_save_CFLAGS"
   10506 
   10507 		eval supported=\$$cacheid
   10508 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10509 $as_echo "$supported" >&6; }
   10510 		if test "$supported" = "yes" ; then
   10511 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10512 			found="yes"
   10513 		fi
   10514 	fi
   10515 
   10516 	if test $found = "no" ; then
   10517 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10518 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10519 		fi
   10520 
   10521 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10522 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10523 		fi
   10524 
   10525 		CFLAGS="$CFLAGS -errwarn"
   10526 
   10527 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10528 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10529 		cacheid=xorg_cv_cc_flag__errwarn
   10530 		if eval \${$cacheid+:} false; then :
   10531   $as_echo_n "(cached) " >&6
   10532 else
   10533   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10534 /* end confdefs.h.  */
   10535 int i;
   10536 int
   10537 main ()
   10538 {
   10539 
   10540   ;
   10541   return 0;
   10542 }
   10543 _ACEOF
   10544 if ac_fn_c_try_link "$LINENO"; then :
   10545   eval $cacheid=yes
   10546 else
   10547   eval $cacheid=no
   10548 fi
   10549 rm -f core conftest.err conftest.$ac_objext \
   10550     conftest$ac_exeext conftest.$ac_ext
   10551 fi
   10552 
   10553 
   10554 		CFLAGS="$xorg_testset_save_CFLAGS"
   10555 
   10556 		eval supported=\$$cacheid
   10557 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10558 $as_echo "$supported" >&6; }
   10559 		if test "$supported" = "yes" ; then
   10560 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10561 			found="yes"
   10562 		fi
   10563 	fi
   10564 
   10565 
   10566 
   10567 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10568 # activate it with -Werror, so we add it here explicitly.
   10569 
   10570 
   10571 
   10572 
   10573 
   10574 
   10575 
   10576 
   10577 
   10578 
   10579 
   10580 
   10581 
   10582 xorg_testset_save_CFLAGS="$CFLAGS"
   10583 
   10584 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10585 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10586 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10587 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10588 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10589   $as_echo_n "(cached) " >&6
   10590 else
   10591   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10592 /* end confdefs.h.  */
   10593 int i;
   10594 _ACEOF
   10595 if ac_fn_c_try_compile "$LINENO"; then :
   10596   xorg_cv_cc_flag_unknown_warning_option=yes
   10597 else
   10598   xorg_cv_cc_flag_unknown_warning_option=no
   10599 fi
   10600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10601 fi
   10602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10603 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10604 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10605 	CFLAGS="$xorg_testset_save_CFLAGS"
   10606 fi
   10607 
   10608 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10609 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10610 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10611 	fi
   10612 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10613 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10614 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10615 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10616   $as_echo_n "(cached) " >&6
   10617 else
   10618   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10619 /* end confdefs.h.  */
   10620 int i;
   10621 _ACEOF
   10622 if ac_fn_c_try_compile "$LINENO"; then :
   10623   xorg_cv_cc_flag_unused_command_line_argument=yes
   10624 else
   10625   xorg_cv_cc_flag_unused_command_line_argument=no
   10626 fi
   10627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10628 fi
   10629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10630 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10631 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10632 	CFLAGS="$xorg_testset_save_CFLAGS"
   10633 fi
   10634 
   10635 found="no"
   10636 
   10637 	if test $found = "no" ; then
   10638 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10639 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10640 		fi
   10641 
   10642 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10643 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10644 		fi
   10645 
   10646 		CFLAGS="$CFLAGS -Werror=attributes"
   10647 
   10648 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10649 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10650 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10651 		if eval \${$cacheid+:} false; then :
   10652   $as_echo_n "(cached) " >&6
   10653 else
   10654   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10655 /* end confdefs.h.  */
   10656 int i;
   10657 int
   10658 main ()
   10659 {
   10660 
   10661   ;
   10662   return 0;
   10663 }
   10664 _ACEOF
   10665 if ac_fn_c_try_link "$LINENO"; then :
   10666   eval $cacheid=yes
   10667 else
   10668   eval $cacheid=no
   10669 fi
   10670 rm -f core conftest.err conftest.$ac_objext \
   10671     conftest$ac_exeext conftest.$ac_ext
   10672 fi
   10673 
   10674 
   10675 		CFLAGS="$xorg_testset_save_CFLAGS"
   10676 
   10677 		eval supported=\$$cacheid
   10678 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10679 $as_echo "$supported" >&6; }
   10680 		if test "$supported" = "yes" ; then
   10681 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10682 			found="yes"
   10683 		fi
   10684 	fi
   10685 
   10686 
   10687 
   10688 if test "x$STRICT_COMPILE" = "xyes"; then
   10689     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10690     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10691 fi
   10692 
   10693 
   10694 
   10695 
   10696 
   10697 
   10698 cat >>confdefs.h <<_ACEOF
   10699 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10700 _ACEOF
   10701 
   10702 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10703 	if test "x$PVM" = "x"; then
   10704 		PVM="0"
   10705 	fi
   10706 
   10707 cat >>confdefs.h <<_ACEOF
   10708 #define PACKAGE_VERSION_MINOR $PVM
   10709 _ACEOF
   10710 
   10711 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10712 	if test "x$PVP" = "x"; then
   10713 		PVP="0"
   10714 	fi
   10715 
   10716 cat >>confdefs.h <<_ACEOF
   10717 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10718 _ACEOF
   10719 
   10720 
   10721 
   10722 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10723 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10724 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10725 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10726 
   10727 
   10728 
   10729 
   10730 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10731 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10732 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10733 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10734 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10735 
   10736 
   10737 
   10738 
   10739 
   10740 
   10741 if test x$APP_MAN_SUFFIX = x    ; then
   10742     APP_MAN_SUFFIX=1
   10743 fi
   10744 if test x$APP_MAN_DIR = x    ; then
   10745     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10746 fi
   10747 
   10748 if test x$LIB_MAN_SUFFIX = x    ; then
   10749     LIB_MAN_SUFFIX=3
   10750 fi
   10751 if test x$LIB_MAN_DIR = x    ; then
   10752     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10753 fi
   10754 
   10755 if test x$FILE_MAN_SUFFIX = x    ; then
   10756     case $host_os in
   10757 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   10758 	*)		FILE_MAN_SUFFIX=5  ;;
   10759     esac
   10760 fi
   10761 if test x$FILE_MAN_DIR = x    ; then
   10762     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10763 fi
   10764 
   10765 if test x$MISC_MAN_SUFFIX = x    ; then
   10766     case $host_os in
   10767 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   10768 	*)		MISC_MAN_SUFFIX=7  ;;
   10769     esac
   10770 fi
   10771 if test x$MISC_MAN_DIR = x    ; then
   10772     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10773 fi
   10774 
   10775 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10776     case $host_os in
   10777 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   10778 	*)		DRIVER_MAN_SUFFIX=4  ;;
   10779     esac
   10780 fi
   10781 if test x$DRIVER_MAN_DIR = x    ; then
   10782     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10783 fi
   10784 
   10785 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10786     case $host_os in
   10787 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   10788 	*)		ADMIN_MAN_SUFFIX=8  ;;
   10789     esac
   10790 fi
   10791 if test x$ADMIN_MAN_DIR = x    ; then
   10792     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10793 fi
   10794 
   10795 
   10796 
   10797 
   10798 
   10799 
   10800 
   10801 
   10802 
   10803 
   10804 
   10805 
   10806 
   10807 
   10808 
   10809 XORG_MAN_PAGE="X Version 11"
   10810 
   10811 MAN_SUBSTS="\
   10812 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10813 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10814 	-e 's|__xservername__|Xorg|g' \
   10815 	-e 's|__xconfigfile__|xorg.conf|g' \
   10816 	-e 's|__projectroot__|\$(prefix)|g' \
   10817 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10818 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10819 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10820 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10821 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10822 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10823 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10824 
   10825 
   10826 
   10827 # Check whether --enable-silent-rules was given.
   10828 if test "${enable_silent_rules+set}" = set; then :
   10829   enableval=$enable_silent_rules;
   10830 fi
   10831 
   10832 case $enable_silent_rules in # (((
   10833   yes) AM_DEFAULT_VERBOSITY=0;;
   10834    no) AM_DEFAULT_VERBOSITY=1;;
   10835     *) AM_DEFAULT_VERBOSITY=0;;
   10836 esac
   10837 am_make=${MAKE-make}
   10838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10839 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10840 if ${am_cv_make_support_nested_variables+:} false; then :
   10841   $as_echo_n "(cached) " >&6
   10842 else
   10843   if $as_echo 'TRUE=$(BAR$(V))
   10844 BAR0=false
   10845 BAR1=true
   10846 V=1
   10847 am__doit:
   10848 	@$(TRUE)
   10849 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10850   am_cv_make_support_nested_variables=yes
   10851 else
   10852   am_cv_make_support_nested_variables=no
   10853 fi
   10854 fi
   10855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10856 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10857 if test $am_cv_make_support_nested_variables = yes; then
   10858     AM_V='$(V)'
   10859   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10860 else
   10861   AM_V=$AM_DEFAULT_VERBOSITY
   10862   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10863 fi
   10864 AM_BACKSLASH='\'
   10865 
   10866 
   10867 
   10868 # Initialize libtool
   10869 # Check whether --enable-static was given.
   10870 if test "${enable_static+set}" = set; then :
   10871   enableval=$enable_static; p=${PACKAGE-default}
   10872     case $enableval in
   10873     yes) enable_static=yes ;;
   10874     no) enable_static=no ;;
   10875     *)
   10876      enable_static=no
   10877       # Look at the argument we got.  We use all the common list separators.
   10878       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   10879       for pkg in $enableval; do
   10880 	IFS=$lt_save_ifs
   10881 	if test "X$pkg" = "X$p"; then
   10882 	  enable_static=yes
   10883 	fi
   10884       done
   10885       IFS=$lt_save_ifs
   10886       ;;
   10887     esac
   10888 else
   10889   enable_static=no
   10890 fi
   10891 
   10892 
   10893 
   10894 
   10895 
   10896 
   10897 
   10898 
   10899 
   10900 case `pwd` in
   10901   *\ * | *\	*)
   10902     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   10903 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   10904 esac
   10905 
   10906 
   10907 
   10908 macro_version='2.4.6'
   10909 macro_revision='2.4.6'
   10910 
   10911 
   10912 
   10913 
   10914 
   10915 
   10916 
   10917 
   10918 
   10919 
   10920 
   10921 
   10922 
   10923 ltmain=$ac_aux_dir/ltmain.sh
   10924 
   10925 # Backslashify metacharacters that are still active within
   10926 # double-quoted strings.
   10927 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   10928 
   10929 # Same as above, but do not quote variable references.
   10930 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   10931 
   10932 # Sed substitution to delay expansion of an escaped shell variable in a
   10933 # double_quote_subst'ed string.
   10934 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   10935 
   10936 # Sed substitution to delay expansion of an escaped single quote.
   10937 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   10938 
   10939 # Sed substitution to avoid accidental globbing in evaled expressions
   10940 no_glob_subst='s/\*/\\\*/g'
   10941 
   10942 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   10943 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   10944 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   10945 
   10946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   10947 $as_echo_n "checking how to print strings... " >&6; }
   10948 # Test print first, because it will be a builtin if present.
   10949 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   10950    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   10951   ECHO='print -r --'
   10952 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   10953   ECHO='printf %s\n'
   10954 else
   10955   # Use this function as a fallback that always works.
   10956   func_fallback_echo ()
   10957   {
   10958     eval 'cat <<_LTECHO_EOF
   10959 $1
   10960 _LTECHO_EOF'
   10961   }
   10962   ECHO='func_fallback_echo'
   10963 fi
   10964 
   10965 # func_echo_all arg...
   10966 # Invoke $ECHO with all args, space-separated.
   10967 func_echo_all ()
   10968 {
   10969     $ECHO ""
   10970 }
   10971 
   10972 case $ECHO in
   10973   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   10974 $as_echo "printf" >&6; } ;;
   10975   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   10976 $as_echo "print -r" >&6; } ;;
   10977   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   10978 $as_echo "cat" >&6; } ;;
   10979 esac
   10980 
   10981 
   10982 
   10983 
   10984 
   10985 
   10986 
   10987 
   10988 
   10989 
   10990 
   10991 
   10992 
   10993 
   10994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   10995 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   10996 if ${ac_cv_path_SED+:} false; then :
   10997   $as_echo_n "(cached) " >&6
   10998 else
   10999             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   11000      for ac_i in 1 2 3 4 5 6 7; do
   11001        ac_script="$ac_script$as_nl$ac_script"
   11002      done
   11003      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   11004      { ac_script=; unset ac_script;}
   11005      if test -z "$SED"; then
   11006   ac_path_SED_found=false
   11007   # Loop through the user's path and test for each of PROGNAME-LIST
   11008   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11009 for as_dir in $PATH
   11010 do
   11011   IFS=$as_save_IFS
   11012   test -z "$as_dir" && as_dir=.
   11013     for ac_prog in sed gsed; do
   11014     for ac_exec_ext in '' $ac_executable_extensions; do
   11015       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   11016       as_fn_executable_p "$ac_path_SED" || continue
   11017 # Check for GNU ac_path_SED and select it if it is found.
   11018   # Check for GNU $ac_path_SED
   11019 case `"$ac_path_SED" --version 2>&1` in
   11020 *GNU*)
   11021   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   11022 *)
   11023   ac_count=0
   11024   $as_echo_n 0123456789 >"conftest.in"
   11025   while :
   11026   do
   11027     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11028     mv "conftest.tmp" "conftest.in"
   11029     cp "conftest.in" "conftest.nl"
   11030     $as_echo '' >> "conftest.nl"
   11031     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11032     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11033     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11034     if test $ac_count -gt ${ac_path_SED_max-0}; then
   11035       # Best one so far, save it but keep looking for a better one
   11036       ac_cv_path_SED="$ac_path_SED"
   11037       ac_path_SED_max=$ac_count
   11038     fi
   11039     # 10*(2^10) chars as input seems more than enough
   11040     test $ac_count -gt 10 && break
   11041   done
   11042   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11043 esac
   11044 
   11045       $ac_path_SED_found && break 3
   11046     done
   11047   done
   11048   done
   11049 IFS=$as_save_IFS
   11050   if test -z "$ac_cv_path_SED"; then
   11051     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   11052   fi
   11053 else
   11054   ac_cv_path_SED=$SED
   11055 fi
   11056 
   11057 fi
   11058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   11059 $as_echo "$ac_cv_path_SED" >&6; }
   11060  SED="$ac_cv_path_SED"
   11061   rm -f conftest.sed
   11062 
   11063 test -z "$SED" && SED=sed
   11064 Xsed="$SED -e 1s/^X//"
   11065 
   11066 
   11067 
   11068 
   11069 
   11070 
   11071 
   11072 
   11073 
   11074 
   11075 
   11076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   11077 $as_echo_n "checking for fgrep... " >&6; }
   11078 if ${ac_cv_path_FGREP+:} false; then :
   11079   $as_echo_n "(cached) " >&6
   11080 else
   11081   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   11082    then ac_cv_path_FGREP="$GREP -F"
   11083    else
   11084      if test -z "$FGREP"; then
   11085   ac_path_FGREP_found=false
   11086   # Loop through the user's path and test for each of PROGNAME-LIST
   11087   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11088 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   11089 do
   11090   IFS=$as_save_IFS
   11091   test -z "$as_dir" && as_dir=.
   11092     for ac_prog in fgrep; do
   11093     for ac_exec_ext in '' $ac_executable_extensions; do
   11094       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   11095       as_fn_executable_p "$ac_path_FGREP" || continue
   11096 # Check for GNU ac_path_FGREP and select it if it is found.
   11097   # Check for GNU $ac_path_FGREP
   11098 case `"$ac_path_FGREP" --version 2>&1` in
   11099 *GNU*)
   11100   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   11101 *)
   11102   ac_count=0
   11103   $as_echo_n 0123456789 >"conftest.in"
   11104   while :
   11105   do
   11106     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11107     mv "conftest.tmp" "conftest.in"
   11108     cp "conftest.in" "conftest.nl"
   11109     $as_echo 'FGREP' >> "conftest.nl"
   11110     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11111     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11112     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11113     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   11114       # Best one so far, save it but keep looking for a better one
   11115       ac_cv_path_FGREP="$ac_path_FGREP"
   11116       ac_path_FGREP_max=$ac_count
   11117     fi
   11118     # 10*(2^10) chars as input seems more than enough
   11119     test $ac_count -gt 10 && break
   11120   done
   11121   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11122 esac
   11123 
   11124       $ac_path_FGREP_found && break 3
   11125     done
   11126   done
   11127   done
   11128 IFS=$as_save_IFS
   11129   if test -z "$ac_cv_path_FGREP"; then
   11130     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   11131   fi
   11132 else
   11133   ac_cv_path_FGREP=$FGREP
   11134 fi
   11135 
   11136    fi
   11137 fi
   11138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   11139 $as_echo "$ac_cv_path_FGREP" >&6; }
   11140  FGREP="$ac_cv_path_FGREP"
   11141 
   11142 
   11143 test -z "$GREP" && GREP=grep
   11144 
   11145 
   11146 
   11147 
   11148 
   11149 
   11150 
   11151 
   11152 
   11153 
   11154 
   11155 
   11156 
   11157 
   11158 
   11159 
   11160 
   11161 
   11162 
   11163 # Check whether --with-gnu-ld was given.
   11164 if test "${with_gnu_ld+set}" = set; then :
   11165   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   11166 else
   11167   with_gnu_ld=no
   11168 fi
   11169 
   11170 ac_prog=ld
   11171 if test yes = "$GCC"; then
   11172   # Check if gcc -print-prog-name=ld gives a path.
   11173   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   11174 $as_echo_n "checking for ld used by $CC... " >&6; }
   11175   case $host in
   11176   *-*-mingw*)
   11177     # gcc leaves a trailing carriage return, which upsets mingw
   11178     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   11179   *)
   11180     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   11181   esac
   11182   case $ac_prog in
   11183     # Accept absolute paths.
   11184     [\\/]* | ?:[\\/]*)
   11185       re_direlt='/[^/][^/]*/\.\./'
   11186       # Canonicalize the pathname of ld
   11187       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   11188       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   11189 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   11190       done
   11191       test -z "$LD" && LD=$ac_prog
   11192       ;;
   11193   "")
   11194     # If it fails, then pretend we aren't using GCC.
   11195     ac_prog=ld
   11196     ;;
   11197   *)
   11198     # If it is relative, then search for the first ld in PATH.
   11199     with_gnu_ld=unknown
   11200     ;;
   11201   esac
   11202 elif test yes = "$with_gnu_ld"; then
   11203   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   11204 $as_echo_n "checking for GNU ld... " >&6; }
   11205 else
   11206   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   11207 $as_echo_n "checking for non-GNU ld... " >&6; }
   11208 fi
   11209 if ${lt_cv_path_LD+:} false; then :
   11210   $as_echo_n "(cached) " >&6
   11211 else
   11212   if test -z "$LD"; then
   11213   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   11214   for ac_dir in $PATH; do
   11215     IFS=$lt_save_ifs
   11216     test -z "$ac_dir" && ac_dir=.
   11217     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   11218       lt_cv_path_LD=$ac_dir/$ac_prog
   11219       # Check to see if the program is GNU ld.  I'd rather use --version,
   11220       # but apparently some variants of GNU ld only accept -v.
   11221       # Break only if it was the GNU/non-GNU ld that we prefer.
   11222       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   11223       *GNU* | *'with BFD'*)
   11224 	test no != "$with_gnu_ld" && break
   11225 	;;
   11226       *)
   11227 	test yes != "$with_gnu_ld" && break
   11228 	;;
   11229       esac
   11230     fi
   11231   done
   11232   IFS=$lt_save_ifs
   11233 else
   11234   lt_cv_path_LD=$LD # Let the user override the test with a path.
   11235 fi
   11236 fi
   11237 
   11238 LD=$lt_cv_path_LD
   11239 if test -n "$LD"; then
   11240   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   11241 $as_echo "$LD" >&6; }
   11242 else
   11243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11244 $as_echo "no" >&6; }
   11245 fi
   11246 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   11247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   11248 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   11249 if ${lt_cv_prog_gnu_ld+:} false; then :
   11250   $as_echo_n "(cached) " >&6
   11251 else
   11252   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   11253 case `$LD -v 2>&1 </dev/null` in
   11254 *GNU* | *'with BFD'*)
   11255   lt_cv_prog_gnu_ld=yes
   11256   ;;
   11257 *)
   11258   lt_cv_prog_gnu_ld=no
   11259   ;;
   11260 esac
   11261 fi
   11262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   11263 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   11264 with_gnu_ld=$lt_cv_prog_gnu_ld
   11265 
   11266 
   11267 
   11268 
   11269 
   11270 
   11271 
   11272 
   11273 
   11274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   11275 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   11276 if ${lt_cv_path_NM+:} false; then :
   11277   $as_echo_n "(cached) " >&6
   11278 else
   11279   if test -n "$NM"; then
   11280   # Let the user override the test.
   11281   lt_cv_path_NM=$NM
   11282 else
   11283   lt_nm_to_check=${ac_tool_prefix}nm
   11284   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   11285     lt_nm_to_check="$lt_nm_to_check nm"
   11286   fi
   11287   for lt_tmp_nm in $lt_nm_to_check; do
   11288     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   11289     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   11290       IFS=$lt_save_ifs
   11291       test -z "$ac_dir" && ac_dir=.
   11292       tmp_nm=$ac_dir/$lt_tmp_nm
   11293       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   11294 	# Check to see if the nm accepts a BSD-compat flag.
   11295 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   11296 	#   nm: unknown option "B" ignored
   11297 	# Tru64's nm complains that /dev/null is an invalid object file
   11298 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   11299 	case $build_os in
   11300 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   11301 	*) lt_bad_file=/dev/null ;;
   11302 	esac
   11303 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
   11304 	*$lt_bad_file* | *'Invalid file or object type'*)
   11305 	  lt_cv_path_NM="$tmp_nm -B"
   11306 	  break 2
   11307 	  ;;
   11308 	*)
   11309 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   11310 	  */dev/null*)
   11311 	    lt_cv_path_NM="$tmp_nm -p"
   11312 	    break 2
   11313 	    ;;
   11314 	  *)
   11315 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   11316 	    continue # so that we can try to find one that supports BSD flags
   11317 	    ;;
   11318 	  esac
   11319 	  ;;
   11320 	esac
   11321       fi
   11322     done
   11323     IFS=$lt_save_ifs
   11324   done
   11325   : ${lt_cv_path_NM=no}
   11326 fi
   11327 fi
   11328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   11329 $as_echo "$lt_cv_path_NM" >&6; }
   11330 if test no != "$lt_cv_path_NM"; then
   11331   NM=$lt_cv_path_NM
   11332 else
   11333   # Didn't find any BSD compatible name lister, look for dumpbin.
   11334   if test -n "$DUMPBIN"; then :
   11335     # Let the user override the test.
   11336   else
   11337     if test -n "$ac_tool_prefix"; then
   11338   for ac_prog in dumpbin "link -dump"
   11339   do
   11340     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   11341 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   11342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11343 $as_echo_n "checking for $ac_word... " >&6; }
   11344 if ${ac_cv_prog_DUMPBIN+:} false; then :
   11345   $as_echo_n "(cached) " >&6
   11346 else
   11347   if test -n "$DUMPBIN"; then
   11348   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   11349 else
   11350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11351 for as_dir in $PATH
   11352 do
   11353   IFS=$as_save_IFS
   11354   test -z "$as_dir" && as_dir=.
   11355     for ac_exec_ext in '' $ac_executable_extensions; do
   11356   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11357     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   11358     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11359     break 2
   11360   fi
   11361 done
   11362   done
   11363 IFS=$as_save_IFS
   11364 
   11365 fi
   11366 fi
   11367 DUMPBIN=$ac_cv_prog_DUMPBIN
   11368 if test -n "$DUMPBIN"; then
   11369   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   11370 $as_echo "$DUMPBIN" >&6; }
   11371 else
   11372   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11373 $as_echo "no" >&6; }
   11374 fi
   11375 
   11376 
   11377     test -n "$DUMPBIN" && break
   11378   done
   11379 fi
   11380 if test -z "$DUMPBIN"; then
   11381   ac_ct_DUMPBIN=$DUMPBIN
   11382   for ac_prog in dumpbin "link -dump"
   11383 do
   11384   # Extract the first word of "$ac_prog", so it can be a program name with args.
   11385 set dummy $ac_prog; ac_word=$2
   11386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11387 $as_echo_n "checking for $ac_word... " >&6; }
   11388 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   11389   $as_echo_n "(cached) " >&6
   11390 else
   11391   if test -n "$ac_ct_DUMPBIN"; then
   11392   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   11393 else
   11394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11395 for as_dir in $PATH
   11396 do
   11397   IFS=$as_save_IFS
   11398   test -z "$as_dir" && as_dir=.
   11399     for ac_exec_ext in '' $ac_executable_extensions; do
   11400   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11401     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   11402     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11403     break 2
   11404   fi
   11405 done
   11406   done
   11407 IFS=$as_save_IFS
   11408 
   11409 fi
   11410 fi
   11411 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   11412 if test -n "$ac_ct_DUMPBIN"; then
   11413   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   11414 $as_echo "$ac_ct_DUMPBIN" >&6; }
   11415 else
   11416   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11417 $as_echo "no" >&6; }
   11418 fi
   11419 
   11420 
   11421   test -n "$ac_ct_DUMPBIN" && break
   11422 done
   11423 
   11424   if test "x$ac_ct_DUMPBIN" = x; then
   11425     DUMPBIN=":"
   11426   else
   11427     case $cross_compiling:$ac_tool_warned in
   11428 yes:)
   11429 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11430 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11431 ac_tool_warned=yes ;;
   11432 esac
   11433     DUMPBIN=$ac_ct_DUMPBIN
   11434   fi
   11435 fi
   11436 
   11437     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
   11438     *COFF*)
   11439       DUMPBIN="$DUMPBIN -symbols -headers"
   11440       ;;
   11441     *)
   11442       DUMPBIN=:
   11443       ;;
   11444     esac
   11445   fi
   11446 
   11447   if test : != "$DUMPBIN"; then
   11448     NM=$DUMPBIN
   11449   fi
   11450 fi
   11451 test -z "$NM" && NM=nm
   11452 
   11453 
   11454 
   11455 
   11456 
   11457 
   11458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   11459 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   11460 if ${lt_cv_nm_interface+:} false; then :
   11461   $as_echo_n "(cached) " >&6
   11462 else
   11463   lt_cv_nm_interface="BSD nm"
   11464   echo "int some_variable = 0;" > conftest.$ac_ext
   11465   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   11466   (eval "$ac_compile" 2>conftest.err)
   11467   cat conftest.err >&5
   11468   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   11469   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   11470   cat conftest.err >&5
   11471   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   11472   cat conftest.out >&5
   11473   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   11474     lt_cv_nm_interface="MS dumpbin"
   11475   fi
   11476   rm -f conftest*
   11477 fi
   11478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   11479 $as_echo "$lt_cv_nm_interface" >&6; }
   11480 
   11481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   11482 $as_echo_n "checking whether ln -s works... " >&6; }
   11483 LN_S=$as_ln_s
   11484 if test "$LN_S" = "ln -s"; then
   11485   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11486 $as_echo "yes" >&6; }
   11487 else
   11488   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   11489 $as_echo "no, using $LN_S" >&6; }
   11490 fi
   11491 
   11492 # find the maximum length of command line arguments
   11493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   11494 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   11495 if ${lt_cv_sys_max_cmd_len+:} false; then :
   11496   $as_echo_n "(cached) " >&6
   11497 else
   11498     i=0
   11499   teststring=ABCD
   11500 
   11501   case $build_os in
   11502   msdosdjgpp*)
   11503     # On DJGPP, this test can blow up pretty badly due to problems in libc
   11504     # (any single argument exceeding 2000 bytes causes a buffer overrun
   11505     # during glob expansion).  Even if it were fixed, the result of this
   11506     # check would be larger than it should be.
   11507     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   11508     ;;
   11509 
   11510   gnu*)
   11511     # Under GNU Hurd, this test is not required because there is
   11512     # no limit to the length of command line arguments.
   11513     # Libtool will interpret -1 as no limit whatsoever
   11514     lt_cv_sys_max_cmd_len=-1;
   11515     ;;
   11516 
   11517   cygwin* | mingw* | cegcc*)
   11518     # On Win9x/ME, this test blows up -- it succeeds, but takes
   11519     # about 5 minutes as the teststring grows exponentially.
   11520     # Worse, since 9x/ME are not pre-emptively multitasking,
   11521     # you end up with a "frozen" computer, even though with patience
   11522     # the test eventually succeeds (with a max line length of 256k).
   11523     # Instead, let's just punt: use the minimum linelength reported by
   11524     # all of the supported platforms: 8192 (on NT/2K/XP).
   11525     lt_cv_sys_max_cmd_len=8192;
   11526     ;;
   11527 
   11528   mint*)
   11529     # On MiNT this can take a long time and run out of memory.
   11530     lt_cv_sys_max_cmd_len=8192;
   11531     ;;
   11532 
   11533   amigaos*)
   11534     # On AmigaOS with pdksh, this test takes hours, literally.
   11535     # So we just punt and use a minimum line length of 8192.
   11536     lt_cv_sys_max_cmd_len=8192;
   11537     ;;
   11538 
   11539   bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
   11540     # This has been around since 386BSD, at least.  Likely further.
   11541     if test -x /sbin/sysctl; then
   11542       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   11543     elif test -x /usr/sbin/sysctl; then
   11544       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   11545     else
   11546       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   11547     fi
   11548     # And add a safety zone
   11549     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   11550     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   11551     ;;
   11552 
   11553   interix*)
   11554     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   11555     lt_cv_sys_max_cmd_len=196608
   11556     ;;
   11557 
   11558   os2*)
   11559     # The test takes a long time on OS/2.
   11560     lt_cv_sys_max_cmd_len=8192
   11561     ;;
   11562 
   11563   osf*)
   11564     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   11565     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   11566     # nice to cause kernel panics so lets avoid the loop below.
   11567     # First set a reasonable default.
   11568     lt_cv_sys_max_cmd_len=16384
   11569     #
   11570     if test -x /sbin/sysconfig; then
   11571       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   11572         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   11573       esac
   11574     fi
   11575     ;;
   11576   sco3.2v5*)
   11577     lt_cv_sys_max_cmd_len=102400
   11578     ;;
   11579   sysv5* | sco5v6* | sysv4.2uw2*)
   11580     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   11581     if test -n "$kargmax"; then
   11582       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   11583     else
   11584       lt_cv_sys_max_cmd_len=32768
   11585     fi
   11586     ;;
   11587   *)
   11588     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   11589     if test -n "$lt_cv_sys_max_cmd_len" && \
   11590        test undefined != "$lt_cv_sys_max_cmd_len"; then
   11591       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   11592       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   11593     else
   11594       # Make teststring a little bigger before we do anything with it.
   11595       # a 1K string should be a reasonable start.
   11596       for i in 1 2 3 4 5 6 7 8; do
   11597         teststring=$teststring$teststring
   11598       done
   11599       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   11600       # If test is not a shell built-in, we'll probably end up computing a
   11601       # maximum length that is only half of the actual maximum length, but
   11602       # we can't tell.
   11603       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   11604 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   11605 	      test 17 != "$i" # 1/2 MB should be enough
   11606       do
   11607         i=`expr $i + 1`
   11608         teststring=$teststring$teststring
   11609       done
   11610       # Only check the string length outside the loop.
   11611       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   11612       teststring=
   11613       # Add a significant safety factor because C++ compilers can tack on
   11614       # massive amounts of additional arguments before passing them to the
   11615       # linker.  It appears as though 1/2 is a usable value.
   11616       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   11617     fi
   11618     ;;
   11619   esac
   11620 
   11621 fi
   11622 
   11623 if test -n "$lt_cv_sys_max_cmd_len"; then
   11624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   11625 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   11626 else
   11627   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   11628 $as_echo "none" >&6; }
   11629 fi
   11630 max_cmd_len=$lt_cv_sys_max_cmd_len
   11631 
   11632 
   11633 
   11634 
   11635 
   11636 
   11637 : ${CP="cp -f"}
   11638 : ${MV="mv -f"}
   11639 : ${RM="rm -f"}
   11640 
   11641 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   11642   lt_unset=unset
   11643 else
   11644   lt_unset=false
   11645 fi
   11646 
   11647 
   11648 
   11649 
   11650 
   11651 # test EBCDIC or ASCII
   11652 case `echo X|tr X '\101'` in
   11653  A) # ASCII based system
   11654     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   11655   lt_SP2NL='tr \040 \012'
   11656   lt_NL2SP='tr \015\012 \040\040'
   11657   ;;
   11658  *) # EBCDIC based system
   11659   lt_SP2NL='tr \100 \n'
   11660   lt_NL2SP='tr \r\n \100\100'
   11661   ;;
   11662 esac
   11663 
   11664 
   11665 
   11666 
   11667 
   11668 
   11669 
   11670 
   11671 
   11672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   11673 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   11674 if ${lt_cv_to_host_file_cmd+:} false; then :
   11675   $as_echo_n "(cached) " >&6
   11676 else
   11677   case $host in
   11678   *-*-mingw* )
   11679     case $build in
   11680       *-*-mingw* ) # actually msys
   11681         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   11682         ;;
   11683       *-*-cygwin* )
   11684         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   11685         ;;
   11686       * ) # otherwise, assume *nix
   11687         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   11688         ;;
   11689     esac
   11690     ;;
   11691   *-*-cygwin* )
   11692     case $build in
   11693       *-*-mingw* ) # actually msys
   11694         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   11695         ;;
   11696       *-*-cygwin* )
   11697         lt_cv_to_host_file_cmd=func_convert_file_noop
   11698         ;;
   11699       * ) # otherwise, assume *nix
   11700         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   11701         ;;
   11702     esac
   11703     ;;
   11704   * ) # unhandled hosts (and "normal" native builds)
   11705     lt_cv_to_host_file_cmd=func_convert_file_noop
   11706     ;;
   11707 esac
   11708 
   11709 fi
   11710 
   11711 to_host_file_cmd=$lt_cv_to_host_file_cmd
   11712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   11713 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   11714 
   11715 
   11716 
   11717 
   11718 
   11719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   11720 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   11721 if ${lt_cv_to_tool_file_cmd+:} false; then :
   11722   $as_echo_n "(cached) " >&6
   11723 else
   11724   #assume ordinary cross tools, or native build.
   11725 lt_cv_to_tool_file_cmd=func_convert_file_noop
   11726 case $host in
   11727   *-*-mingw* )
   11728     case $build in
   11729       *-*-mingw* ) # actually msys
   11730         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   11731         ;;
   11732     esac
   11733     ;;
   11734 esac
   11735 
   11736 fi
   11737 
   11738 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   11739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   11740 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   11741 
   11742 
   11743 
   11744 
   11745 
   11746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   11747 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   11748 if ${lt_cv_ld_reload_flag+:} false; then :
   11749   $as_echo_n "(cached) " >&6
   11750 else
   11751   lt_cv_ld_reload_flag='-r'
   11752 fi
   11753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   11754 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   11755 reload_flag=$lt_cv_ld_reload_flag
   11756 case $reload_flag in
   11757 "" | " "*) ;;
   11758 *) reload_flag=" $reload_flag" ;;
   11759 esac
   11760 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   11761 case $host_os in
   11762   cygwin* | mingw* | pw32* | cegcc*)
   11763     if test yes != "$GCC"; then
   11764       reload_cmds=false
   11765     fi
   11766     ;;
   11767   darwin*)
   11768     if test yes = "$GCC"; then
   11769       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   11770     else
   11771       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   11772     fi
   11773     ;;
   11774 esac
   11775 
   11776 
   11777 
   11778 
   11779 
   11780 
   11781 
   11782 
   11783 
   11784 if test -n "$ac_tool_prefix"; then
   11785   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   11786 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   11787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11788 $as_echo_n "checking for $ac_word... " >&6; }
   11789 if ${ac_cv_prog_OBJDUMP+:} false; then :
   11790   $as_echo_n "(cached) " >&6
   11791 else
   11792   if test -n "$OBJDUMP"; then
   11793   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   11794 else
   11795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11796 for as_dir in $PATH
   11797 do
   11798   IFS=$as_save_IFS
   11799   test -z "$as_dir" && as_dir=.
   11800     for ac_exec_ext in '' $ac_executable_extensions; do
   11801   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11802     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   11803     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11804     break 2
   11805   fi
   11806 done
   11807   done
   11808 IFS=$as_save_IFS
   11809 
   11810 fi
   11811 fi
   11812 OBJDUMP=$ac_cv_prog_OBJDUMP
   11813 if test -n "$OBJDUMP"; then
   11814   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   11815 $as_echo "$OBJDUMP" >&6; }
   11816 else
   11817   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11818 $as_echo "no" >&6; }
   11819 fi
   11820 
   11821 
   11822 fi
   11823 if test -z "$ac_cv_prog_OBJDUMP"; then
   11824   ac_ct_OBJDUMP=$OBJDUMP
   11825   # Extract the first word of "objdump", so it can be a program name with args.
   11826 set dummy objdump; ac_word=$2
   11827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11828 $as_echo_n "checking for $ac_word... " >&6; }
   11829 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   11830   $as_echo_n "(cached) " >&6
   11831 else
   11832   if test -n "$ac_ct_OBJDUMP"; then
   11833   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   11834 else
   11835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11836 for as_dir in $PATH
   11837 do
   11838   IFS=$as_save_IFS
   11839   test -z "$as_dir" && as_dir=.
   11840     for ac_exec_ext in '' $ac_executable_extensions; do
   11841   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11842     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   11843     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11844     break 2
   11845   fi
   11846 done
   11847   done
   11848 IFS=$as_save_IFS
   11849 
   11850 fi
   11851 fi
   11852 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   11853 if test -n "$ac_ct_OBJDUMP"; then
   11854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   11855 $as_echo "$ac_ct_OBJDUMP" >&6; }
   11856 else
   11857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11858 $as_echo "no" >&6; }
   11859 fi
   11860 
   11861   if test "x$ac_ct_OBJDUMP" = x; then
   11862     OBJDUMP="false"
   11863   else
   11864     case $cross_compiling:$ac_tool_warned in
   11865 yes:)
   11866 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11867 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11868 ac_tool_warned=yes ;;
   11869 esac
   11870     OBJDUMP=$ac_ct_OBJDUMP
   11871   fi
   11872 else
   11873   OBJDUMP="$ac_cv_prog_OBJDUMP"
   11874 fi
   11875 
   11876 test -z "$OBJDUMP" && OBJDUMP=objdump
   11877 
   11878 
   11879 
   11880 
   11881 
   11882 
   11883 
   11884 
   11885 
   11886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   11887 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   11888 if ${lt_cv_deplibs_check_method+:} false; then :
   11889   $as_echo_n "(cached) " >&6
   11890 else
   11891   lt_cv_file_magic_cmd='$MAGIC_CMD'
   11892 lt_cv_file_magic_test_file=
   11893 lt_cv_deplibs_check_method='unknown'
   11894 # Need to set the preceding variable on all platforms that support
   11895 # interlibrary dependencies.
   11896 # 'none' -- dependencies not supported.
   11897 # 'unknown' -- same as none, but documents that we really don't know.
   11898 # 'pass_all' -- all dependencies passed with no checks.
   11899 # 'test_compile' -- check by making test program.
   11900 # 'file_magic [[regex]]' -- check by looking for files in library path
   11901 # that responds to the $file_magic_cmd with a given extended regex.
   11902 # If you have 'file' or equivalent on your system and you're not sure
   11903 # whether 'pass_all' will *always* work, you probably want this one.
   11904 
   11905 case $host_os in
   11906 aix[4-9]*)
   11907   lt_cv_deplibs_check_method=pass_all
   11908   ;;
   11909 
   11910 beos*)
   11911   lt_cv_deplibs_check_method=pass_all
   11912   ;;
   11913 
   11914 bsdi[45]*)
   11915   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   11916   lt_cv_file_magic_cmd='/usr/bin/file -L'
   11917   lt_cv_file_magic_test_file=/shlib/libc.so
   11918   ;;
   11919 
   11920 cygwin*)
   11921   # func_win32_libid is a shell function defined in ltmain.sh
   11922   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   11923   lt_cv_file_magic_cmd='func_win32_libid'
   11924   ;;
   11925 
   11926 mingw* | pw32*)
   11927   # Base MSYS/MinGW do not provide the 'file' command needed by
   11928   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   11929   # unless we find 'file', for example because we are cross-compiling.
   11930   if ( file / ) >/dev/null 2>&1; then
   11931     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   11932     lt_cv_file_magic_cmd='func_win32_libid'
   11933   else
   11934     # Keep this pattern in sync with the one in func_win32_libid.
   11935     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   11936     lt_cv_file_magic_cmd='$OBJDUMP -f'
   11937   fi
   11938   ;;
   11939 
   11940 cegcc*)
   11941   # use the weaker test based on 'objdump'. See mingw*.
   11942   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   11943   lt_cv_file_magic_cmd='$OBJDUMP -f'
   11944   ;;
   11945 
   11946 darwin* | rhapsody*)
   11947   lt_cv_deplibs_check_method=pass_all
   11948   ;;
   11949 
   11950 freebsd* | dragonfly*)
   11951   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   11952     case $host_cpu in
   11953     i*86 )
   11954       # Not sure whether the presence of OpenBSD here was a mistake.
   11955       # Let's accept both of them until this is cleared up.
   11956       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   11957       lt_cv_file_magic_cmd=/usr/bin/file
   11958       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   11959       ;;
   11960     esac
   11961   else
   11962     lt_cv_deplibs_check_method=pass_all
   11963   fi
   11964   ;;
   11965 
   11966 haiku*)
   11967   lt_cv_deplibs_check_method=pass_all
   11968   ;;
   11969 
   11970 hpux10.20* | hpux11*)
   11971   lt_cv_file_magic_cmd=/usr/bin/file
   11972   case $host_cpu in
   11973   ia64*)
   11974     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   11975     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   11976     ;;
   11977   hppa*64*)
   11978     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
   11979     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   11980     ;;
   11981   *)
   11982     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   11983     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   11984     ;;
   11985   esac
   11986   ;;
   11987 
   11988 interix[3-9]*)
   11989   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   11990   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   11991   ;;
   11992 
   11993 irix5* | irix6* | nonstopux*)
   11994   case $LD in
   11995   *-32|*"-32 ") libmagic=32-bit;;
   11996   *-n32|*"-n32 ") libmagic=N32;;
   11997   *-64|*"-64 ") libmagic=64-bit;;
   11998   *) libmagic=never-match;;
   11999   esac
   12000   lt_cv_deplibs_check_method=pass_all
   12001   ;;
   12002 
   12003 # This must be glibc/ELF.
   12004 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   12005   lt_cv_deplibs_check_method=pass_all
   12006   ;;
   12007 
   12008 netbsd*)
   12009   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   12010     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   12011   else
   12012     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   12013   fi
   12014   ;;
   12015 
   12016 newos6*)
   12017   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   12018   lt_cv_file_magic_cmd=/usr/bin/file
   12019   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   12020   ;;
   12021 
   12022 *nto* | *qnx*)
   12023   lt_cv_deplibs_check_method=pass_all
   12024   ;;
   12025 
   12026 openbsd* | bitrig*)
   12027   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   12028     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   12029   else
   12030     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   12031   fi
   12032   ;;
   12033 
   12034 osf3* | osf4* | osf5*)
   12035   lt_cv_deplibs_check_method=pass_all
   12036   ;;
   12037 
   12038 rdos*)
   12039   lt_cv_deplibs_check_method=pass_all
   12040   ;;
   12041 
   12042 solaris*)
   12043   lt_cv_deplibs_check_method=pass_all
   12044   ;;
   12045 
   12046 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   12047   lt_cv_deplibs_check_method=pass_all
   12048   ;;
   12049 
   12050 sysv4 | sysv4.3*)
   12051   case $host_vendor in
   12052   motorola)
   12053     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
   12054     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   12055     ;;
   12056   ncr)
   12057     lt_cv_deplibs_check_method=pass_all
   12058     ;;
   12059   sequent)
   12060     lt_cv_file_magic_cmd='/bin/file'
   12061     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   12062     ;;
   12063   sni)
   12064     lt_cv_file_magic_cmd='/bin/file'
   12065     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   12066     lt_cv_file_magic_test_file=/lib/libc.so
   12067     ;;
   12068   siemens)
   12069     lt_cv_deplibs_check_method=pass_all
   12070     ;;
   12071   pc)
   12072     lt_cv_deplibs_check_method=pass_all
   12073     ;;
   12074   esac
   12075   ;;
   12076 
   12077 tpf*)
   12078   lt_cv_deplibs_check_method=pass_all
   12079   ;;
   12080 os2*)
   12081   lt_cv_deplibs_check_method=pass_all
   12082   ;;
   12083 esac
   12084 
   12085 fi
   12086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   12087 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   12088 
   12089 file_magic_glob=
   12090 want_nocaseglob=no
   12091 if test "$build" = "$host"; then
   12092   case $host_os in
   12093   mingw* | pw32*)
   12094     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   12095       want_nocaseglob=yes
   12096     else
   12097       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   12098     fi
   12099     ;;
   12100   esac
   12101 fi
   12102 
   12103 file_magic_cmd=$lt_cv_file_magic_cmd
   12104 deplibs_check_method=$lt_cv_deplibs_check_method
   12105 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   12106 
   12107 
   12108 
   12109 
   12110 
   12111 
   12112 
   12113 
   12114 
   12115 
   12116 
   12117 
   12118 
   12119 
   12120 
   12121 
   12122 
   12123 
   12124 
   12125 
   12126 
   12127 
   12128 if test -n "$ac_tool_prefix"; then
   12129   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   12130 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   12131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12132 $as_echo_n "checking for $ac_word... " >&6; }
   12133 if ${ac_cv_prog_DLLTOOL+:} false; then :
   12134   $as_echo_n "(cached) " >&6
   12135 else
   12136   if test -n "$DLLTOOL"; then
   12137   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   12138 else
   12139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12140 for as_dir in $PATH
   12141 do
   12142   IFS=$as_save_IFS
   12143   test -z "$as_dir" && as_dir=.
   12144     for ac_exec_ext in '' $ac_executable_extensions; do
   12145   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12146     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   12147     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12148     break 2
   12149   fi
   12150 done
   12151   done
   12152 IFS=$as_save_IFS
   12153 
   12154 fi
   12155 fi
   12156 DLLTOOL=$ac_cv_prog_DLLTOOL
   12157 if test -n "$DLLTOOL"; then
   12158   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   12159 $as_echo "$DLLTOOL" >&6; }
   12160 else
   12161   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12162 $as_echo "no" >&6; }
   12163 fi
   12164 
   12165 
   12166 fi
   12167 if test -z "$ac_cv_prog_DLLTOOL"; then
   12168   ac_ct_DLLTOOL=$DLLTOOL
   12169   # Extract the first word of "dlltool", so it can be a program name with args.
   12170 set dummy dlltool; ac_word=$2
   12171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12172 $as_echo_n "checking for $ac_word... " >&6; }
   12173 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   12174   $as_echo_n "(cached) " >&6
   12175 else
   12176   if test -n "$ac_ct_DLLTOOL"; then
   12177   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   12178 else
   12179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12180 for as_dir in $PATH
   12181 do
   12182   IFS=$as_save_IFS
   12183   test -z "$as_dir" && as_dir=.
   12184     for ac_exec_ext in '' $ac_executable_extensions; do
   12185   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12186     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   12187     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12188     break 2
   12189   fi
   12190 done
   12191   done
   12192 IFS=$as_save_IFS
   12193 
   12194 fi
   12195 fi
   12196 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   12197 if test -n "$ac_ct_DLLTOOL"; then
   12198   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   12199 $as_echo "$ac_ct_DLLTOOL" >&6; }
   12200 else
   12201   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12202 $as_echo "no" >&6; }
   12203 fi
   12204 
   12205   if test "x$ac_ct_DLLTOOL" = x; then
   12206     DLLTOOL="false"
   12207   else
   12208     case $cross_compiling:$ac_tool_warned in
   12209 yes:)
   12210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12211 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12212 ac_tool_warned=yes ;;
   12213 esac
   12214     DLLTOOL=$ac_ct_DLLTOOL
   12215   fi
   12216 else
   12217   DLLTOOL="$ac_cv_prog_DLLTOOL"
   12218 fi
   12219 
   12220 test -z "$DLLTOOL" && DLLTOOL=dlltool
   12221 
   12222 
   12223 
   12224 
   12225 
   12226 
   12227 
   12228 
   12229 
   12230 
   12231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   12232 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   12233 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   12234   $as_echo_n "(cached) " >&6
   12235 else
   12236   lt_cv_sharedlib_from_linklib_cmd='unknown'
   12237 
   12238 case $host_os in
   12239 cygwin* | mingw* | pw32* | cegcc*)
   12240   # two different shell functions defined in ltmain.sh;
   12241   # decide which one to use based on capabilities of $DLLTOOL
   12242   case `$DLLTOOL --help 2>&1` in
   12243   *--identify-strict*)
   12244     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   12245     ;;
   12246   *)
   12247     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   12248     ;;
   12249   esac
   12250   ;;
   12251 *)
   12252   # fallback: assume linklib IS sharedlib
   12253   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   12254   ;;
   12255 esac
   12256 
   12257 fi
   12258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   12259 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   12260 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   12261 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   12262 
   12263 
   12264 
   12265 
   12266 
   12267 
   12268 
   12269 if test -n "$ac_tool_prefix"; then
   12270   for ac_prog in ar
   12271   do
   12272     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   12273 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   12274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12275 $as_echo_n "checking for $ac_word... " >&6; }
   12276 if ${ac_cv_prog_AR+:} false; then :
   12277   $as_echo_n "(cached) " >&6
   12278 else
   12279   if test -n "$AR"; then
   12280   ac_cv_prog_AR="$AR" # Let the user override the test.
   12281 else
   12282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12283 for as_dir in $PATH
   12284 do
   12285   IFS=$as_save_IFS
   12286   test -z "$as_dir" && as_dir=.
   12287     for ac_exec_ext in '' $ac_executable_extensions; do
   12288   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12289     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   12290     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12291     break 2
   12292   fi
   12293 done
   12294   done
   12295 IFS=$as_save_IFS
   12296 
   12297 fi
   12298 fi
   12299 AR=$ac_cv_prog_AR
   12300 if test -n "$AR"; then
   12301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   12302 $as_echo "$AR" >&6; }
   12303 else
   12304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12305 $as_echo "no" >&6; }
   12306 fi
   12307 
   12308 
   12309     test -n "$AR" && break
   12310   done
   12311 fi
   12312 if test -z "$AR"; then
   12313   ac_ct_AR=$AR
   12314   for ac_prog in ar
   12315 do
   12316   # Extract the first word of "$ac_prog", so it can be a program name with args.
   12317 set dummy $ac_prog; ac_word=$2
   12318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12319 $as_echo_n "checking for $ac_word... " >&6; }
   12320 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   12321   $as_echo_n "(cached) " >&6
   12322 else
   12323   if test -n "$ac_ct_AR"; then
   12324   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   12325 else
   12326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12327 for as_dir in $PATH
   12328 do
   12329   IFS=$as_save_IFS
   12330   test -z "$as_dir" && as_dir=.
   12331     for ac_exec_ext in '' $ac_executable_extensions; do
   12332   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12333     ac_cv_prog_ac_ct_AR="$ac_prog"
   12334     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12335     break 2
   12336   fi
   12337 done
   12338   done
   12339 IFS=$as_save_IFS
   12340 
   12341 fi
   12342 fi
   12343 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   12344 if test -n "$ac_ct_AR"; then
   12345   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   12346 $as_echo "$ac_ct_AR" >&6; }
   12347 else
   12348   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12349 $as_echo "no" >&6; }
   12350 fi
   12351 
   12352 
   12353   test -n "$ac_ct_AR" && break
   12354 done
   12355 
   12356   if test "x$ac_ct_AR" = x; then
   12357     AR="false"
   12358   else
   12359     case $cross_compiling:$ac_tool_warned in
   12360 yes:)
   12361 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12362 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12363 ac_tool_warned=yes ;;
   12364 esac
   12365     AR=$ac_ct_AR
   12366   fi
   12367 fi
   12368 
   12369 : ${AR=ar}
   12370 : ${AR_FLAGS=cru}
   12371 
   12372 
   12373 
   12374 
   12375 
   12376 
   12377 
   12378 
   12379 
   12380 
   12381 
   12382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   12383 $as_echo_n "checking for archiver @FILE support... " >&6; }
   12384 if ${lt_cv_ar_at_file+:} false; then :
   12385   $as_echo_n "(cached) " >&6
   12386 else
   12387   lt_cv_ar_at_file=no
   12388    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12389 /* end confdefs.h.  */
   12390 
   12391 int
   12392 main ()
   12393 {
   12394 
   12395   ;
   12396   return 0;
   12397 }
   12398 _ACEOF
   12399 if ac_fn_c_try_compile "$LINENO"; then :
   12400   echo conftest.$ac_objext > conftest.lst
   12401       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   12402       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   12403   (eval $lt_ar_try) 2>&5
   12404   ac_status=$?
   12405   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12406   test $ac_status = 0; }
   12407       if test 0 -eq "$ac_status"; then
   12408 	# Ensure the archiver fails upon bogus file names.
   12409 	rm -f conftest.$ac_objext libconftest.a
   12410 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   12411   (eval $lt_ar_try) 2>&5
   12412   ac_status=$?
   12413   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12414   test $ac_status = 0; }
   12415 	if test 0 -ne "$ac_status"; then
   12416           lt_cv_ar_at_file=@
   12417         fi
   12418       fi
   12419       rm -f conftest.* libconftest.a
   12420 
   12421 fi
   12422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12423 
   12424 fi
   12425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   12426 $as_echo "$lt_cv_ar_at_file" >&6; }
   12427 
   12428 if test no = "$lt_cv_ar_at_file"; then
   12429   archiver_list_spec=
   12430 else
   12431   archiver_list_spec=$lt_cv_ar_at_file
   12432 fi
   12433 
   12434 
   12435 
   12436 
   12437 
   12438 
   12439 
   12440 if test -n "$ac_tool_prefix"; then
   12441   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   12442 set dummy ${ac_tool_prefix}strip; ac_word=$2
   12443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12444 $as_echo_n "checking for $ac_word... " >&6; }
   12445 if ${ac_cv_prog_STRIP+:} false; then :
   12446   $as_echo_n "(cached) " >&6
   12447 else
   12448   if test -n "$STRIP"; then
   12449   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   12450 else
   12451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12452 for as_dir in $PATH
   12453 do
   12454   IFS=$as_save_IFS
   12455   test -z "$as_dir" && as_dir=.
   12456     for ac_exec_ext in '' $ac_executable_extensions; do
   12457   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12458     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   12459     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12460     break 2
   12461   fi
   12462 done
   12463   done
   12464 IFS=$as_save_IFS
   12465 
   12466 fi
   12467 fi
   12468 STRIP=$ac_cv_prog_STRIP
   12469 if test -n "$STRIP"; then
   12470   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   12471 $as_echo "$STRIP" >&6; }
   12472 else
   12473   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12474 $as_echo "no" >&6; }
   12475 fi
   12476 
   12477 
   12478 fi
   12479 if test -z "$ac_cv_prog_STRIP"; then
   12480   ac_ct_STRIP=$STRIP
   12481   # Extract the first word of "strip", so it can be a program name with args.
   12482 set dummy strip; ac_word=$2
   12483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12484 $as_echo_n "checking for $ac_word... " >&6; }
   12485 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   12486   $as_echo_n "(cached) " >&6
   12487 else
   12488   if test -n "$ac_ct_STRIP"; then
   12489   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   12490 else
   12491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12492 for as_dir in $PATH
   12493 do
   12494   IFS=$as_save_IFS
   12495   test -z "$as_dir" && as_dir=.
   12496     for ac_exec_ext in '' $ac_executable_extensions; do
   12497   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12498     ac_cv_prog_ac_ct_STRIP="strip"
   12499     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12500     break 2
   12501   fi
   12502 done
   12503   done
   12504 IFS=$as_save_IFS
   12505 
   12506 fi
   12507 fi
   12508 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   12509 if test -n "$ac_ct_STRIP"; then
   12510   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   12511 $as_echo "$ac_ct_STRIP" >&6; }
   12512 else
   12513   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12514 $as_echo "no" >&6; }
   12515 fi
   12516 
   12517   if test "x$ac_ct_STRIP" = x; then
   12518     STRIP=":"
   12519   else
   12520     case $cross_compiling:$ac_tool_warned in
   12521 yes:)
   12522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12523 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12524 ac_tool_warned=yes ;;
   12525 esac
   12526     STRIP=$ac_ct_STRIP
   12527   fi
   12528 else
   12529   STRIP="$ac_cv_prog_STRIP"
   12530 fi
   12531 
   12532 test -z "$STRIP" && STRIP=:
   12533 
   12534 
   12535 
   12536 
   12537 
   12538 
   12539 if test -n "$ac_tool_prefix"; then
   12540   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   12541 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   12542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12543 $as_echo_n "checking for $ac_word... " >&6; }
   12544 if ${ac_cv_prog_RANLIB+:} false; then :
   12545   $as_echo_n "(cached) " >&6
   12546 else
   12547   if test -n "$RANLIB"; then
   12548   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   12549 else
   12550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12551 for as_dir in $PATH
   12552 do
   12553   IFS=$as_save_IFS
   12554   test -z "$as_dir" && as_dir=.
   12555     for ac_exec_ext in '' $ac_executable_extensions; do
   12556   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12557     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   12558     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12559     break 2
   12560   fi
   12561 done
   12562   done
   12563 IFS=$as_save_IFS
   12564 
   12565 fi
   12566 fi
   12567 RANLIB=$ac_cv_prog_RANLIB
   12568 if test -n "$RANLIB"; then
   12569   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   12570 $as_echo "$RANLIB" >&6; }
   12571 else
   12572   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12573 $as_echo "no" >&6; }
   12574 fi
   12575 
   12576 
   12577 fi
   12578 if test -z "$ac_cv_prog_RANLIB"; then
   12579   ac_ct_RANLIB=$RANLIB
   12580   # Extract the first word of "ranlib", so it can be a program name with args.
   12581 set dummy ranlib; ac_word=$2
   12582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12583 $as_echo_n "checking for $ac_word... " >&6; }
   12584 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   12585   $as_echo_n "(cached) " >&6
   12586 else
   12587   if test -n "$ac_ct_RANLIB"; then
   12588   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   12589 else
   12590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12591 for as_dir in $PATH
   12592 do
   12593   IFS=$as_save_IFS
   12594   test -z "$as_dir" && as_dir=.
   12595     for ac_exec_ext in '' $ac_executable_extensions; do
   12596   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12597     ac_cv_prog_ac_ct_RANLIB="ranlib"
   12598     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12599     break 2
   12600   fi
   12601 done
   12602   done
   12603 IFS=$as_save_IFS
   12604 
   12605 fi
   12606 fi
   12607 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   12608 if test -n "$ac_ct_RANLIB"; then
   12609   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   12610 $as_echo "$ac_ct_RANLIB" >&6; }
   12611 else
   12612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12613 $as_echo "no" >&6; }
   12614 fi
   12615 
   12616   if test "x$ac_ct_RANLIB" = x; then
   12617     RANLIB=":"
   12618   else
   12619     case $cross_compiling:$ac_tool_warned in
   12620 yes:)
   12621 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12622 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12623 ac_tool_warned=yes ;;
   12624 esac
   12625     RANLIB=$ac_ct_RANLIB
   12626   fi
   12627 else
   12628   RANLIB="$ac_cv_prog_RANLIB"
   12629 fi
   12630 
   12631 test -z "$RANLIB" && RANLIB=:
   12632 
   12633 
   12634 
   12635 
   12636 
   12637 
   12638 # Determine commands to create old-style static archives.
   12639 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   12640 old_postinstall_cmds='chmod 644 $oldlib'
   12641 old_postuninstall_cmds=
   12642 
   12643 if test -n "$RANLIB"; then
   12644   case $host_os in
   12645   bitrig* | openbsd*)
   12646     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   12647     ;;
   12648   *)
   12649     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   12650     ;;
   12651   esac
   12652   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   12653 fi
   12654 
   12655 case $host_os in
   12656   darwin*)
   12657     lock_old_archive_extraction=yes ;;
   12658   *)
   12659     lock_old_archive_extraction=no ;;
   12660 esac
   12661 
   12662 
   12663 
   12664 
   12665 
   12666 
   12667 
   12668 
   12669 
   12670 
   12671 
   12672 
   12673 
   12674 
   12675 
   12676 
   12677 
   12678 
   12679 
   12680 
   12681 
   12682 
   12683 
   12684 
   12685 
   12686 
   12687 
   12688 
   12689 
   12690 
   12691 
   12692 
   12693 
   12694 
   12695 
   12696 
   12697 
   12698 
   12699 
   12700 # If no C compiler was specified, use CC.
   12701 LTCC=${LTCC-"$CC"}
   12702 
   12703 # If no C compiler flags were specified, use CFLAGS.
   12704 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   12705 
   12706 # Allow CC to be a program name with arguments.
   12707 compiler=$CC
   12708 
   12709 
   12710 # Check for command to grab the raw symbol name followed by C symbol from nm.
   12711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   12712 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   12713 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   12714   $as_echo_n "(cached) " >&6
   12715 else
   12716 
   12717 # These are sane defaults that work on at least a few old systems.
   12718 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   12719 
   12720 # Character class describing NM global symbol codes.
   12721 symcode='[BCDEGRST]'
   12722 
   12723 # Regexp to match symbols that can be accessed directly from C.
   12724 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   12725 
   12726 # Define system-specific variables.
   12727 case $host_os in
   12728 aix*)
   12729   symcode='[BCDT]'
   12730   ;;
   12731 cygwin* | mingw* | pw32* | cegcc*)
   12732   symcode='[ABCDGISTW]'
   12733   ;;
   12734 hpux*)
   12735   if test ia64 = "$host_cpu"; then
   12736     symcode='[ABCDEGRST]'
   12737   fi
   12738   ;;
   12739 irix* | nonstopux*)
   12740   symcode='[BCDEGRST]'
   12741   ;;
   12742 osf*)
   12743   symcode='[BCDEGQRST]'
   12744   ;;
   12745 solaris*)
   12746   symcode='[BDRT]'
   12747   ;;
   12748 sco3.2v5*)
   12749   symcode='[DT]'
   12750   ;;
   12751 sysv4.2uw2*)
   12752   symcode='[DT]'
   12753   ;;
   12754 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   12755   symcode='[ABDT]'
   12756   ;;
   12757 sysv4)
   12758   symcode='[DFNSTU]'
   12759   ;;
   12760 esac
   12761 
   12762 # If we're using GNU nm, then use its standard symbol codes.
   12763 case `$NM -V 2>&1` in
   12764 *GNU* | *'with BFD'*)
   12765   symcode='[ABCDGIRSTW]' ;;
   12766 esac
   12767 
   12768 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   12769   # Gets list of data symbols to import.
   12770   lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
   12771   # Adjust the below global symbol transforms to fixup imported variables.
   12772   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   12773   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   12774   lt_c_name_lib_hook="\
   12775   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   12776   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   12777 else
   12778   # Disable hooks by default.
   12779   lt_cv_sys_global_symbol_to_import=
   12780   lt_cdecl_hook=
   12781   lt_c_name_hook=
   12782   lt_c_name_lib_hook=
   12783 fi
   12784 
   12785 # Transform an extracted symbol line into a proper C declaration.
   12786 # Some systems (esp. on ia64) link data and code symbols differently,
   12787 # so use this general approach.
   12788 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
   12789 $lt_cdecl_hook\
   12790 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   12791 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   12792 
   12793 # Transform an extracted symbol line into symbol name and symbol address
   12794 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
   12795 $lt_c_name_hook\
   12796 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   12797 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   12798 
   12799 # Transform an extracted symbol line into symbol name with lib prefix and
   12800 # symbol address.
   12801 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
   12802 $lt_c_name_lib_hook\
   12803 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   12804 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   12805 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   12806 
   12807 # Handle CRLF in mingw tool chain
   12808 opt_cr=
   12809 case $build_os in
   12810 mingw*)
   12811   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   12812   ;;
   12813 esac
   12814 
   12815 # Try without a prefix underscore, then with it.
   12816 for ac_symprfx in "" "_"; do
   12817 
   12818   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   12819   symxfrm="\\1 $ac_symprfx\\2 \\2"
   12820 
   12821   # Write the raw and C identifiers.
   12822   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   12823     # Fake it for dumpbin and say T for any non-static function,
   12824     # D for any global variable and I for any imported variable.
   12825     # Also find C++ and __fastcall symbols from MSVC++,
   12826     # which start with @ or ?.
   12827     lt_cv_sys_global_symbol_pipe="$AWK '"\
   12828 "     {last_section=section; section=\$ 3};"\
   12829 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   12830 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   12831 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   12832 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   12833 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   12834 "     \$ 0!~/External *\|/{next};"\
   12835 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   12836 "     {if(hide[section]) next};"\
   12837 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   12838 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   12839 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   12840 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   12841 "     ' prfx=^$ac_symprfx"
   12842   else
   12843     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   12844   fi
   12845   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   12846 
   12847   # Check to see that the pipe works correctly.
   12848   pipe_works=no
   12849 
   12850   rm -f conftest*
   12851   cat > conftest.$ac_ext <<_LT_EOF
   12852 #ifdef __cplusplus
   12853 extern "C" {
   12854 #endif
   12855 char nm_test_var;
   12856 void nm_test_func(void);
   12857 void nm_test_func(void){}
   12858 #ifdef __cplusplus
   12859 }
   12860 #endif
   12861 int main(){nm_test_var='a';nm_test_func();return(0);}
   12862 _LT_EOF
   12863 
   12864   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   12865   (eval $ac_compile) 2>&5
   12866   ac_status=$?
   12867   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12868   test $ac_status = 0; }; then
   12869     # Now try to grab the symbols.
   12870     nlist=conftest.nm
   12871     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   12872   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   12873   ac_status=$?
   12874   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12875   test $ac_status = 0; } && test -s "$nlist"; then
   12876       # Try sorting and uniquifying the output.
   12877       if sort "$nlist" | uniq > "$nlist"T; then
   12878 	mv -f "$nlist"T "$nlist"
   12879       else
   12880 	rm -f "$nlist"T
   12881       fi
   12882 
   12883       # Make sure that we snagged all the symbols we need.
   12884       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   12885 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   12886 	  cat <<_LT_EOF > conftest.$ac_ext
   12887 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   12888 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   12889 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   12890    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   12891 # define LT_DLSYM_CONST
   12892 #elif defined __osf__
   12893 /* This system does not cope well with relocations in const data.  */
   12894 # define LT_DLSYM_CONST
   12895 #else
   12896 # define LT_DLSYM_CONST const
   12897 #endif
   12898 
   12899 #ifdef __cplusplus
   12900 extern "C" {
   12901 #endif
   12902 
   12903 _LT_EOF
   12904 	  # Now generate the symbol file.
   12905 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   12906 
   12907 	  cat <<_LT_EOF >> conftest.$ac_ext
   12908 
   12909 /* The mapping between symbol names and symbols.  */
   12910 LT_DLSYM_CONST struct {
   12911   const char *name;
   12912   void       *address;
   12913 }
   12914 lt__PROGRAM__LTX_preloaded_symbols[] =
   12915 {
   12916   { "@PROGRAM@", (void *) 0 },
   12917 _LT_EOF
   12918 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   12919 	  cat <<\_LT_EOF >> conftest.$ac_ext
   12920   {0, (void *) 0}
   12921 };
   12922 
   12923 /* This works around a problem in FreeBSD linker */
   12924 #ifdef FREEBSD_WORKAROUND
   12925 static const void *lt_preloaded_setup() {
   12926   return lt__PROGRAM__LTX_preloaded_symbols;
   12927 }
   12928 #endif
   12929 
   12930 #ifdef __cplusplus
   12931 }
   12932 #endif
   12933 _LT_EOF
   12934 	  # Now try linking the two files.
   12935 	  mv conftest.$ac_objext conftstm.$ac_objext
   12936 	  lt_globsym_save_LIBS=$LIBS
   12937 	  lt_globsym_save_CFLAGS=$CFLAGS
   12938 	  LIBS=conftstm.$ac_objext
   12939 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   12940 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12941   (eval $ac_link) 2>&5
   12942   ac_status=$?
   12943   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12944   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   12945 	    pipe_works=yes
   12946 	  fi
   12947 	  LIBS=$lt_globsym_save_LIBS
   12948 	  CFLAGS=$lt_globsym_save_CFLAGS
   12949 	else
   12950 	  echo "cannot find nm_test_func in $nlist" >&5
   12951 	fi
   12952       else
   12953 	echo "cannot find nm_test_var in $nlist" >&5
   12954       fi
   12955     else
   12956       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   12957     fi
   12958   else
   12959     echo "$progname: failed program was:" >&5
   12960     cat conftest.$ac_ext >&5
   12961   fi
   12962   rm -rf conftest* conftst*
   12963 
   12964   # Do not use the global_symbol_pipe unless it works.
   12965   if test yes = "$pipe_works"; then
   12966     break
   12967   else
   12968     lt_cv_sys_global_symbol_pipe=
   12969   fi
   12970 done
   12971 
   12972 fi
   12973 
   12974 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   12975   lt_cv_sys_global_symbol_to_cdecl=
   12976 fi
   12977 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   12978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   12979 $as_echo "failed" >&6; }
   12980 else
   12981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   12982 $as_echo "ok" >&6; }
   12983 fi
   12984 
   12985 # Response file support.
   12986 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   12987   nm_file_list_spec='@'
   12988 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   12989   nm_file_list_spec='@'
   12990 fi
   12991 
   12992 
   12993 
   12994 
   12995 
   12996 
   12997 
   12998 
   12999 
   13000 
   13001 
   13002 
   13003 
   13004 
   13005 
   13006 
   13007 
   13008 
   13009 
   13010 
   13011 
   13012 
   13013 
   13014 
   13015 
   13016 
   13017 
   13018 
   13019 
   13020 
   13021 
   13022 
   13023 
   13024 
   13025 
   13026 
   13027 
   13028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   13029 $as_echo_n "checking for sysroot... " >&6; }
   13030 
   13031 # Check whether --with-sysroot was given.
   13032 if test "${with_sysroot+set}" = set; then :
   13033   withval=$with_sysroot;
   13034 else
   13035   with_sysroot=no
   13036 fi
   13037 
   13038 
   13039 lt_sysroot=
   13040 case $with_sysroot in #(
   13041  yes)
   13042    if test yes = "$GCC"; then
   13043      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   13044    fi
   13045    ;; #(
   13046  /*)
   13047    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   13048    ;; #(
   13049  no|'')
   13050    ;; #(
   13051  *)
   13052    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   13053 $as_echo "$with_sysroot" >&6; }
   13054    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   13055    ;;
   13056 esac
   13057 
   13058  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   13059 $as_echo "${lt_sysroot:-no}" >&6; }
   13060 
   13061 
   13062 
   13063 
   13064 
   13065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   13066 $as_echo_n "checking for a working dd... " >&6; }
   13067 if ${ac_cv_path_lt_DD+:} false; then :
   13068   $as_echo_n "(cached) " >&6
   13069 else
   13070   printf 0123456789abcdef0123456789abcdef >conftest.i
   13071 cat conftest.i conftest.i >conftest2.i
   13072 : ${lt_DD:=$DD}
   13073 if test -z "$lt_DD"; then
   13074   ac_path_lt_DD_found=false
   13075   # Loop through the user's path and test for each of PROGNAME-LIST
   13076   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13077 for as_dir in $PATH
   13078 do
   13079   IFS=$as_save_IFS
   13080   test -z "$as_dir" && as_dir=.
   13081     for ac_prog in dd; do
   13082     for ac_exec_ext in '' $ac_executable_extensions; do
   13083       ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
   13084       as_fn_executable_p "$ac_path_lt_DD" || continue
   13085 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   13086   cmp -s conftest.i conftest.out \
   13087   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   13088 fi
   13089       $ac_path_lt_DD_found && break 3
   13090     done
   13091   done
   13092   done
   13093 IFS=$as_save_IFS
   13094   if test -z "$ac_cv_path_lt_DD"; then
   13095     :
   13096   fi
   13097 else
   13098   ac_cv_path_lt_DD=$lt_DD
   13099 fi
   13100 
   13101 rm -f conftest.i conftest2.i conftest.out
   13102 fi
   13103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   13104 $as_echo "$ac_cv_path_lt_DD" >&6; }
   13105 
   13106 
   13107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   13108 $as_echo_n "checking how to truncate binary pipes... " >&6; }
   13109 if ${lt_cv_truncate_bin+:} false; then :
   13110   $as_echo_n "(cached) " >&6
   13111 else
   13112   printf 0123456789abcdef0123456789abcdef >conftest.i
   13113 cat conftest.i conftest.i >conftest2.i
   13114 lt_cv_truncate_bin=
   13115 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   13116   cmp -s conftest.i conftest.out \
   13117   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   13118 fi
   13119 rm -f conftest.i conftest2.i conftest.out
   13120 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   13121 fi
   13122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   13123 $as_echo "$lt_cv_truncate_bin" >&6; }
   13124 
   13125 
   13126 
   13127 
   13128 
   13129 
   13130 
   13131 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   13132 func_cc_basename ()
   13133 {
   13134     for cc_temp in $*""; do
   13135       case $cc_temp in
   13136         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   13137         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   13138         \-*) ;;
   13139         *) break;;
   13140       esac
   13141     done
   13142     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   13143 }
   13144 
   13145 # Check whether --enable-libtool-lock was given.
   13146 if test "${enable_libtool_lock+set}" = set; then :
   13147   enableval=$enable_libtool_lock;
   13148 fi
   13149 
   13150 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   13151 
   13152 # Some flags need to be propagated to the compiler or linker for good
   13153 # libtool support.
   13154 case $host in
   13155 ia64-*-hpux*)
   13156   # Find out what ABI is being produced by ac_compile, and set mode
   13157   # options accordingly.
   13158   echo 'int i;' > conftest.$ac_ext
   13159   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13160   (eval $ac_compile) 2>&5
   13161   ac_status=$?
   13162   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13163   test $ac_status = 0; }; then
   13164     case `/usr/bin/file conftest.$ac_objext` in
   13165       *ELF-32*)
   13166 	HPUX_IA64_MODE=32
   13167 	;;
   13168       *ELF-64*)
   13169 	HPUX_IA64_MODE=64
   13170 	;;
   13171     esac
   13172   fi
   13173   rm -rf conftest*
   13174   ;;
   13175 *-*-irix6*)
   13176   # Find out what ABI is being produced by ac_compile, and set linker
   13177   # options accordingly.
   13178   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   13179   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13180   (eval $ac_compile) 2>&5
   13181   ac_status=$?
   13182   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13183   test $ac_status = 0; }; then
   13184     if test yes = "$lt_cv_prog_gnu_ld"; then
   13185       case `/usr/bin/file conftest.$ac_objext` in
   13186 	*32-bit*)
   13187 	  LD="${LD-ld} -melf32bsmip"
   13188 	  ;;
   13189 	*N32*)
   13190 	  LD="${LD-ld} -melf32bmipn32"
   13191 	  ;;
   13192 	*64-bit*)
   13193 	  LD="${LD-ld} -melf64bmip"
   13194 	;;
   13195       esac
   13196     else
   13197       case `/usr/bin/file conftest.$ac_objext` in
   13198 	*32-bit*)
   13199 	  LD="${LD-ld} -32"
   13200 	  ;;
   13201 	*N32*)
   13202 	  LD="${LD-ld} -n32"
   13203 	  ;;
   13204 	*64-bit*)
   13205 	  LD="${LD-ld} -64"
   13206 	  ;;
   13207       esac
   13208     fi
   13209   fi
   13210   rm -rf conftest*
   13211   ;;
   13212 
   13213 mips64*-*linux*)
   13214   # Find out what ABI is being produced by ac_compile, and set linker
   13215   # options accordingly.
   13216   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   13217   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13218   (eval $ac_compile) 2>&5
   13219   ac_status=$?
   13220   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13221   test $ac_status = 0; }; then
   13222     emul=elf
   13223     case `/usr/bin/file conftest.$ac_objext` in
   13224       *32-bit*)
   13225 	emul="${emul}32"
   13226 	;;
   13227       *64-bit*)
   13228 	emul="${emul}64"
   13229 	;;
   13230     esac
   13231     case `/usr/bin/file conftest.$ac_objext` in
   13232       *MSB*)
   13233 	emul="${emul}btsmip"
   13234 	;;
   13235       *LSB*)
   13236 	emul="${emul}ltsmip"
   13237 	;;
   13238     esac
   13239     case `/usr/bin/file conftest.$ac_objext` in
   13240       *N32*)
   13241 	emul="${emul}n32"
   13242 	;;
   13243     esac
   13244     LD="${LD-ld} -m $emul"
   13245   fi
   13246   rm -rf conftest*
   13247   ;;
   13248 
   13249 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   13250 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   13251   # Find out what ABI is being produced by ac_compile, and set linker
   13252   # options accordingly.  Note that the listed cases only cover the
   13253   # situations where additional linker options are needed (such as when
   13254   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   13255   # vice versa); the common cases where no linker options are needed do
   13256   # not appear in the list.
   13257   echo 'int i;' > conftest.$ac_ext
   13258   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13259   (eval $ac_compile) 2>&5
   13260   ac_status=$?
   13261   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13262   test $ac_status = 0; }; then
   13263     case `/usr/bin/file conftest.o` in
   13264       *32-bit*)
   13265 	case $host in
   13266 	  x86_64-*kfreebsd*-gnu)
   13267 	    LD="${LD-ld} -m elf_i386_fbsd"
   13268 	    ;;
   13269 	  x86_64-*linux*)
   13270 	    case `/usr/bin/file conftest.o` in
   13271 	      *x86-64*)
   13272 		LD="${LD-ld} -m elf32_x86_64"
   13273 		;;
   13274 	      *)
   13275 		LD="${LD-ld} -m elf_i386"
   13276 		;;
   13277 	    esac
   13278 	    ;;
   13279 	  powerpc64le-*linux*)
   13280 	    LD="${LD-ld} -m elf32lppclinux"
   13281 	    ;;
   13282 	  powerpc64-*linux*)
   13283 	    LD="${LD-ld} -m elf32ppclinux"
   13284 	    ;;
   13285 	  s390x-*linux*)
   13286 	    LD="${LD-ld} -m elf_s390"
   13287 	    ;;
   13288 	  sparc64-*linux*)
   13289 	    LD="${LD-ld} -m elf32_sparc"
   13290 	    ;;
   13291 	esac
   13292 	;;
   13293       *64-bit*)
   13294 	case $host in
   13295 	  x86_64-*kfreebsd*-gnu)
   13296 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   13297 	    ;;
   13298 	  x86_64-*linux*)
   13299 	    LD="${LD-ld} -m elf_x86_64"
   13300 	    ;;
   13301 	  powerpcle-*linux*)
   13302 	    LD="${LD-ld} -m elf64lppc"
   13303 	    ;;
   13304 	  powerpc-*linux*)
   13305 	    LD="${LD-ld} -m elf64ppc"
   13306 	    ;;
   13307 	  s390*-*linux*|s390*-*tpf*)
   13308 	    LD="${LD-ld} -m elf64_s390"
   13309 	    ;;
   13310 	  sparc*-*linux*)
   13311 	    LD="${LD-ld} -m elf64_sparc"
   13312 	    ;;
   13313 	esac
   13314 	;;
   13315     esac
   13316   fi
   13317   rm -rf conftest*
   13318   ;;
   13319 
   13320 *-*-sco3.2v5*)
   13321   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   13322   SAVE_CFLAGS=$CFLAGS
   13323   CFLAGS="$CFLAGS -belf"
   13324   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   13325 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   13326 if ${lt_cv_cc_needs_belf+:} false; then :
   13327   $as_echo_n "(cached) " >&6
   13328 else
   13329   ac_ext=c
   13330 ac_cpp='$CPP $CPPFLAGS'
   13331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13334 
   13335      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13336 /* end confdefs.h.  */
   13337 
   13338 int
   13339 main ()
   13340 {
   13341 
   13342   ;
   13343   return 0;
   13344 }
   13345 _ACEOF
   13346 if ac_fn_c_try_link "$LINENO"; then :
   13347   lt_cv_cc_needs_belf=yes
   13348 else
   13349   lt_cv_cc_needs_belf=no
   13350 fi
   13351 rm -f core conftest.err conftest.$ac_objext \
   13352     conftest$ac_exeext conftest.$ac_ext
   13353      ac_ext=c
   13354 ac_cpp='$CPP $CPPFLAGS'
   13355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13358 
   13359 fi
   13360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   13361 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   13362   if test yes != "$lt_cv_cc_needs_belf"; then
   13363     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   13364     CFLAGS=$SAVE_CFLAGS
   13365   fi
   13366   ;;
   13367 *-*solaris*)
   13368   # Find out what ABI is being produced by ac_compile, and set linker
   13369   # options accordingly.
   13370   echo 'int i;' > conftest.$ac_ext
   13371   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13372   (eval $ac_compile) 2>&5
   13373   ac_status=$?
   13374   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13375   test $ac_status = 0; }; then
   13376     case `/usr/bin/file conftest.o` in
   13377     *64-bit*)
   13378       case $lt_cv_prog_gnu_ld in
   13379       yes*)
   13380         case $host in
   13381         i?86-*-solaris*|x86_64-*-solaris*)
   13382           LD="${LD-ld} -m elf_x86_64"
   13383           ;;
   13384         sparc*-*-solaris*)
   13385           LD="${LD-ld} -m elf64_sparc"
   13386           ;;
   13387         esac
   13388         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   13389         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   13390           LD=${LD-ld}_sol2
   13391         fi
   13392         ;;
   13393       *)
   13394 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   13395 	  LD="${LD-ld} -64"
   13396 	fi
   13397 	;;
   13398       esac
   13399       ;;
   13400     esac
   13401   fi
   13402   rm -rf conftest*
   13403   ;;
   13404 esac
   13405 
   13406 need_locks=$enable_libtool_lock
   13407 
   13408 if test -n "$ac_tool_prefix"; then
   13409   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   13410 set dummy ${ac_tool_prefix}mt; ac_word=$2
   13411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13412 $as_echo_n "checking for $ac_word... " >&6; }
   13413 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   13414   $as_echo_n "(cached) " >&6
   13415 else
   13416   if test -n "$MANIFEST_TOOL"; then
   13417   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   13418 else
   13419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13420 for as_dir in $PATH
   13421 do
   13422   IFS=$as_save_IFS
   13423   test -z "$as_dir" && as_dir=.
   13424     for ac_exec_ext in '' $ac_executable_extensions; do
   13425   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13426     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   13427     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13428     break 2
   13429   fi
   13430 done
   13431   done
   13432 IFS=$as_save_IFS
   13433 
   13434 fi
   13435 fi
   13436 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   13437 if test -n "$MANIFEST_TOOL"; then
   13438   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   13439 $as_echo "$MANIFEST_TOOL" >&6; }
   13440 else
   13441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13442 $as_echo "no" >&6; }
   13443 fi
   13444 
   13445 
   13446 fi
   13447 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   13448   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   13449   # Extract the first word of "mt", so it can be a program name with args.
   13450 set dummy mt; ac_word=$2
   13451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13452 $as_echo_n "checking for $ac_word... " >&6; }
   13453 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   13454   $as_echo_n "(cached) " >&6
   13455 else
   13456   if test -n "$ac_ct_MANIFEST_TOOL"; then
   13457   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   13458 else
   13459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13460 for as_dir in $PATH
   13461 do
   13462   IFS=$as_save_IFS
   13463   test -z "$as_dir" && as_dir=.
   13464     for ac_exec_ext in '' $ac_executable_extensions; do
   13465   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13466     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   13467     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13468     break 2
   13469   fi
   13470 done
   13471   done
   13472 IFS=$as_save_IFS
   13473 
   13474 fi
   13475 fi
   13476 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   13477 if test -n "$ac_ct_MANIFEST_TOOL"; then
   13478   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   13479 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   13480 else
   13481   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13482 $as_echo "no" >&6; }
   13483 fi
   13484 
   13485   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   13486     MANIFEST_TOOL=":"
   13487   else
   13488     case $cross_compiling:$ac_tool_warned in
   13489 yes:)
   13490 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13491 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13492 ac_tool_warned=yes ;;
   13493 esac
   13494     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   13495   fi
   13496 else
   13497   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   13498 fi
   13499 
   13500 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   13501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   13502 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   13503 if ${lt_cv_path_mainfest_tool+:} false; then :
   13504   $as_echo_n "(cached) " >&6
   13505 else
   13506   lt_cv_path_mainfest_tool=no
   13507   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   13508   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   13509   cat conftest.err >&5
   13510   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   13511     lt_cv_path_mainfest_tool=yes
   13512   fi
   13513   rm -f conftest*
   13514 fi
   13515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   13516 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   13517 if test yes != "$lt_cv_path_mainfest_tool"; then
   13518   MANIFEST_TOOL=:
   13519 fi
   13520 
   13521 
   13522 
   13523 
   13524 
   13525 
   13526   case $host_os in
   13527     rhapsody* | darwin*)
   13528     if test -n "$ac_tool_prefix"; then
   13529   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   13530 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   13531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13532 $as_echo_n "checking for $ac_word... " >&6; }
   13533 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   13534   $as_echo_n "(cached) " >&6
   13535 else
   13536   if test -n "$DSYMUTIL"; then
   13537   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   13538 else
   13539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13540 for as_dir in $PATH
   13541 do
   13542   IFS=$as_save_IFS
   13543   test -z "$as_dir" && as_dir=.
   13544     for ac_exec_ext in '' $ac_executable_extensions; do
   13545   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13546     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   13547     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13548     break 2
   13549   fi
   13550 done
   13551   done
   13552 IFS=$as_save_IFS
   13553 
   13554 fi
   13555 fi
   13556 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   13557 if test -n "$DSYMUTIL"; then
   13558   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   13559 $as_echo "$DSYMUTIL" >&6; }
   13560 else
   13561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13562 $as_echo "no" >&6; }
   13563 fi
   13564 
   13565 
   13566 fi
   13567 if test -z "$ac_cv_prog_DSYMUTIL"; then
   13568   ac_ct_DSYMUTIL=$DSYMUTIL
   13569   # Extract the first word of "dsymutil", so it can be a program name with args.
   13570 set dummy dsymutil; ac_word=$2
   13571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13572 $as_echo_n "checking for $ac_word... " >&6; }
   13573 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   13574   $as_echo_n "(cached) " >&6
   13575 else
   13576   if test -n "$ac_ct_DSYMUTIL"; then
   13577   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   13578 else
   13579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13580 for as_dir in $PATH
   13581 do
   13582   IFS=$as_save_IFS
   13583   test -z "$as_dir" && as_dir=.
   13584     for ac_exec_ext in '' $ac_executable_extensions; do
   13585   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13586     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   13587     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13588     break 2
   13589   fi
   13590 done
   13591   done
   13592 IFS=$as_save_IFS
   13593 
   13594 fi
   13595 fi
   13596 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   13597 if test -n "$ac_ct_DSYMUTIL"; then
   13598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   13599 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   13600 else
   13601   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13602 $as_echo "no" >&6; }
   13603 fi
   13604 
   13605   if test "x$ac_ct_DSYMUTIL" = x; then
   13606     DSYMUTIL=":"
   13607   else
   13608     case $cross_compiling:$ac_tool_warned in
   13609 yes:)
   13610 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13611 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13612 ac_tool_warned=yes ;;
   13613 esac
   13614     DSYMUTIL=$ac_ct_DSYMUTIL
   13615   fi
   13616 else
   13617   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   13618 fi
   13619 
   13620     if test -n "$ac_tool_prefix"; then
   13621   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   13622 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   13623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13624 $as_echo_n "checking for $ac_word... " >&6; }
   13625 if ${ac_cv_prog_NMEDIT+:} false; then :
   13626   $as_echo_n "(cached) " >&6
   13627 else
   13628   if test -n "$NMEDIT"; then
   13629   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   13630 else
   13631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13632 for as_dir in $PATH
   13633 do
   13634   IFS=$as_save_IFS
   13635   test -z "$as_dir" && as_dir=.
   13636     for ac_exec_ext in '' $ac_executable_extensions; do
   13637   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13638     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   13639     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13640     break 2
   13641   fi
   13642 done
   13643   done
   13644 IFS=$as_save_IFS
   13645 
   13646 fi
   13647 fi
   13648 NMEDIT=$ac_cv_prog_NMEDIT
   13649 if test -n "$NMEDIT"; then
   13650   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   13651 $as_echo "$NMEDIT" >&6; }
   13652 else
   13653   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13654 $as_echo "no" >&6; }
   13655 fi
   13656 
   13657 
   13658 fi
   13659 if test -z "$ac_cv_prog_NMEDIT"; then
   13660   ac_ct_NMEDIT=$NMEDIT
   13661   # Extract the first word of "nmedit", so it can be a program name with args.
   13662 set dummy nmedit; ac_word=$2
   13663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13664 $as_echo_n "checking for $ac_word... " >&6; }
   13665 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   13666   $as_echo_n "(cached) " >&6
   13667 else
   13668   if test -n "$ac_ct_NMEDIT"; then
   13669   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   13670 else
   13671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13672 for as_dir in $PATH
   13673 do
   13674   IFS=$as_save_IFS
   13675   test -z "$as_dir" && as_dir=.
   13676     for ac_exec_ext in '' $ac_executable_extensions; do
   13677   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13678     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   13679     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13680     break 2
   13681   fi
   13682 done
   13683   done
   13684 IFS=$as_save_IFS
   13685 
   13686 fi
   13687 fi
   13688 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   13689 if test -n "$ac_ct_NMEDIT"; then
   13690   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   13691 $as_echo "$ac_ct_NMEDIT" >&6; }
   13692 else
   13693   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13694 $as_echo "no" >&6; }
   13695 fi
   13696 
   13697   if test "x$ac_ct_NMEDIT" = x; then
   13698     NMEDIT=":"
   13699   else
   13700     case $cross_compiling:$ac_tool_warned in
   13701 yes:)
   13702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13703 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13704 ac_tool_warned=yes ;;
   13705 esac
   13706     NMEDIT=$ac_ct_NMEDIT
   13707   fi
   13708 else
   13709   NMEDIT="$ac_cv_prog_NMEDIT"
   13710 fi
   13711 
   13712     if test -n "$ac_tool_prefix"; then
   13713   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   13714 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   13715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13716 $as_echo_n "checking for $ac_word... " >&6; }
   13717 if ${ac_cv_prog_LIPO+:} false; then :
   13718   $as_echo_n "(cached) " >&6
   13719 else
   13720   if test -n "$LIPO"; then
   13721   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   13722 else
   13723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13724 for as_dir in $PATH
   13725 do
   13726   IFS=$as_save_IFS
   13727   test -z "$as_dir" && as_dir=.
   13728     for ac_exec_ext in '' $ac_executable_extensions; do
   13729   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13730     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   13731     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13732     break 2
   13733   fi
   13734 done
   13735   done
   13736 IFS=$as_save_IFS
   13737 
   13738 fi
   13739 fi
   13740 LIPO=$ac_cv_prog_LIPO
   13741 if test -n "$LIPO"; then
   13742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   13743 $as_echo "$LIPO" >&6; }
   13744 else
   13745   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13746 $as_echo "no" >&6; }
   13747 fi
   13748 
   13749 
   13750 fi
   13751 if test -z "$ac_cv_prog_LIPO"; then
   13752   ac_ct_LIPO=$LIPO
   13753   # Extract the first word of "lipo", so it can be a program name with args.
   13754 set dummy lipo; ac_word=$2
   13755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13756 $as_echo_n "checking for $ac_word... " >&6; }
   13757 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   13758   $as_echo_n "(cached) " >&6
   13759 else
   13760   if test -n "$ac_ct_LIPO"; then
   13761   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   13762 else
   13763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13764 for as_dir in $PATH
   13765 do
   13766   IFS=$as_save_IFS
   13767   test -z "$as_dir" && as_dir=.
   13768     for ac_exec_ext in '' $ac_executable_extensions; do
   13769   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13770     ac_cv_prog_ac_ct_LIPO="lipo"
   13771     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13772     break 2
   13773   fi
   13774 done
   13775   done
   13776 IFS=$as_save_IFS
   13777 
   13778 fi
   13779 fi
   13780 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   13781 if test -n "$ac_ct_LIPO"; then
   13782   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   13783 $as_echo "$ac_ct_LIPO" >&6; }
   13784 else
   13785   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13786 $as_echo "no" >&6; }
   13787 fi
   13788 
   13789   if test "x$ac_ct_LIPO" = x; then
   13790     LIPO=":"
   13791   else
   13792     case $cross_compiling:$ac_tool_warned in
   13793 yes:)
   13794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13795 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13796 ac_tool_warned=yes ;;
   13797 esac
   13798     LIPO=$ac_ct_LIPO
   13799   fi
   13800 else
   13801   LIPO="$ac_cv_prog_LIPO"
   13802 fi
   13803 
   13804     if test -n "$ac_tool_prefix"; then
   13805   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   13806 set dummy ${ac_tool_prefix}otool; ac_word=$2
   13807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13808 $as_echo_n "checking for $ac_word... " >&6; }
   13809 if ${ac_cv_prog_OTOOL+:} false; then :
   13810   $as_echo_n "(cached) " >&6
   13811 else
   13812   if test -n "$OTOOL"; then
   13813   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   13814 else
   13815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13816 for as_dir in $PATH
   13817 do
   13818   IFS=$as_save_IFS
   13819   test -z "$as_dir" && as_dir=.
   13820     for ac_exec_ext in '' $ac_executable_extensions; do
   13821   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13822     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   13823     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13824     break 2
   13825   fi
   13826 done
   13827   done
   13828 IFS=$as_save_IFS
   13829 
   13830 fi
   13831 fi
   13832 OTOOL=$ac_cv_prog_OTOOL
   13833 if test -n "$OTOOL"; then
   13834   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   13835 $as_echo "$OTOOL" >&6; }
   13836 else
   13837   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13838 $as_echo "no" >&6; }
   13839 fi
   13840 
   13841 
   13842 fi
   13843 if test -z "$ac_cv_prog_OTOOL"; then
   13844   ac_ct_OTOOL=$OTOOL
   13845   # Extract the first word of "otool", so it can be a program name with args.
   13846 set dummy otool; ac_word=$2
   13847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13848 $as_echo_n "checking for $ac_word... " >&6; }
   13849 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   13850   $as_echo_n "(cached) " >&6
   13851 else
   13852   if test -n "$ac_ct_OTOOL"; then
   13853   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   13854 else
   13855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13856 for as_dir in $PATH
   13857 do
   13858   IFS=$as_save_IFS
   13859   test -z "$as_dir" && as_dir=.
   13860     for ac_exec_ext in '' $ac_executable_extensions; do
   13861   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13862     ac_cv_prog_ac_ct_OTOOL="otool"
   13863     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13864     break 2
   13865   fi
   13866 done
   13867   done
   13868 IFS=$as_save_IFS
   13869 
   13870 fi
   13871 fi
   13872 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   13873 if test -n "$ac_ct_OTOOL"; then
   13874   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   13875 $as_echo "$ac_ct_OTOOL" >&6; }
   13876 else
   13877   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13878 $as_echo "no" >&6; }
   13879 fi
   13880 
   13881   if test "x$ac_ct_OTOOL" = x; then
   13882     OTOOL=":"
   13883   else
   13884     case $cross_compiling:$ac_tool_warned in
   13885 yes:)
   13886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13887 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13888 ac_tool_warned=yes ;;
   13889 esac
   13890     OTOOL=$ac_ct_OTOOL
   13891   fi
   13892 else
   13893   OTOOL="$ac_cv_prog_OTOOL"
   13894 fi
   13895 
   13896     if test -n "$ac_tool_prefix"; then
   13897   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   13898 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   13899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13900 $as_echo_n "checking for $ac_word... " >&6; }
   13901 if ${ac_cv_prog_OTOOL64+:} false; then :
   13902   $as_echo_n "(cached) " >&6
   13903 else
   13904   if test -n "$OTOOL64"; then
   13905   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   13906 else
   13907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13908 for as_dir in $PATH
   13909 do
   13910   IFS=$as_save_IFS
   13911   test -z "$as_dir" && as_dir=.
   13912     for ac_exec_ext in '' $ac_executable_extensions; do
   13913   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13914     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   13915     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13916     break 2
   13917   fi
   13918 done
   13919   done
   13920 IFS=$as_save_IFS
   13921 
   13922 fi
   13923 fi
   13924 OTOOL64=$ac_cv_prog_OTOOL64
   13925 if test -n "$OTOOL64"; then
   13926   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   13927 $as_echo "$OTOOL64" >&6; }
   13928 else
   13929   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13930 $as_echo "no" >&6; }
   13931 fi
   13932 
   13933 
   13934 fi
   13935 if test -z "$ac_cv_prog_OTOOL64"; then
   13936   ac_ct_OTOOL64=$OTOOL64
   13937   # Extract the first word of "otool64", so it can be a program name with args.
   13938 set dummy otool64; ac_word=$2
   13939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13940 $as_echo_n "checking for $ac_word... " >&6; }
   13941 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   13942   $as_echo_n "(cached) " >&6
   13943 else
   13944   if test -n "$ac_ct_OTOOL64"; then
   13945   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   13946 else
   13947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13948 for as_dir in $PATH
   13949 do
   13950   IFS=$as_save_IFS
   13951   test -z "$as_dir" && as_dir=.
   13952     for ac_exec_ext in '' $ac_executable_extensions; do
   13953   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13954     ac_cv_prog_ac_ct_OTOOL64="otool64"
   13955     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13956     break 2
   13957   fi
   13958 done
   13959   done
   13960 IFS=$as_save_IFS
   13961 
   13962 fi
   13963 fi
   13964 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   13965 if test -n "$ac_ct_OTOOL64"; then
   13966   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   13967 $as_echo "$ac_ct_OTOOL64" >&6; }
   13968 else
   13969   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13970 $as_echo "no" >&6; }
   13971 fi
   13972 
   13973   if test "x$ac_ct_OTOOL64" = x; then
   13974     OTOOL64=":"
   13975   else
   13976     case $cross_compiling:$ac_tool_warned in
   13977 yes:)
   13978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13979 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13980 ac_tool_warned=yes ;;
   13981 esac
   13982     OTOOL64=$ac_ct_OTOOL64
   13983   fi
   13984 else
   13985   OTOOL64="$ac_cv_prog_OTOOL64"
   13986 fi
   13987 
   13988 
   13989 
   13990 
   13991 
   13992 
   13993 
   13994 
   13995 
   13996 
   13997 
   13998 
   13999 
   14000 
   14001 
   14002 
   14003 
   14004 
   14005 
   14006 
   14007 
   14008 
   14009 
   14010 
   14011 
   14012 
   14013 
   14014     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   14015 $as_echo_n "checking for -single_module linker flag... " >&6; }
   14016 if ${lt_cv_apple_cc_single_mod+:} false; then :
   14017   $as_echo_n "(cached) " >&6
   14018 else
   14019   lt_cv_apple_cc_single_mod=no
   14020       if test -z "$LT_MULTI_MODULE"; then
   14021 	# By default we will add the -single_module flag. You can override
   14022 	# by either setting the environment variable LT_MULTI_MODULE
   14023 	# non-empty at configure time, or by adding -multi_module to the
   14024 	# link flags.
   14025 	rm -rf libconftest.dylib*
   14026 	echo "int foo(void){return 1;}" > conftest.c
   14027 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   14028 -dynamiclib -Wl,-single_module conftest.c" >&5
   14029 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   14030 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   14031         _lt_result=$?
   14032 	# If there is a non-empty error log, and "single_module"
   14033 	# appears in it, assume the flag caused a linker warning
   14034         if test -s conftest.err && $GREP single_module conftest.err; then
   14035 	  cat conftest.err >&5
   14036 	# Otherwise, if the output was created with a 0 exit code from
   14037 	# the compiler, it worked.
   14038 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   14039 	  lt_cv_apple_cc_single_mod=yes
   14040 	else
   14041 	  cat conftest.err >&5
   14042 	fi
   14043 	rm -rf libconftest.dylib*
   14044 	rm -f conftest.*
   14045       fi
   14046 fi
   14047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   14048 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   14049 
   14050     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   14051 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   14052 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   14053   $as_echo_n "(cached) " >&6
   14054 else
   14055   lt_cv_ld_exported_symbols_list=no
   14056       save_LDFLAGS=$LDFLAGS
   14057       echo "_main" > conftest.sym
   14058       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   14059       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14060 /* end confdefs.h.  */
   14061 
   14062 int
   14063 main ()
   14064 {
   14065 
   14066   ;
   14067   return 0;
   14068 }
   14069 _ACEOF
   14070 if ac_fn_c_try_link "$LINENO"; then :
   14071   lt_cv_ld_exported_symbols_list=yes
   14072 else
   14073   lt_cv_ld_exported_symbols_list=no
   14074 fi
   14075 rm -f core conftest.err conftest.$ac_objext \
   14076     conftest$ac_exeext conftest.$ac_ext
   14077 	LDFLAGS=$save_LDFLAGS
   14078 
   14079 fi
   14080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   14081 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   14082 
   14083     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   14084 $as_echo_n "checking for -force_load linker flag... " >&6; }
   14085 if ${lt_cv_ld_force_load+:} false; then :
   14086   $as_echo_n "(cached) " >&6
   14087 else
   14088   lt_cv_ld_force_load=no
   14089       cat > conftest.c << _LT_EOF
   14090 int forced_loaded() { return 2;}
   14091 _LT_EOF
   14092       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   14093       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   14094       echo "$AR cru libconftest.a conftest.o" >&5
   14095       $AR cru libconftest.a conftest.o 2>&5
   14096       echo "$RANLIB libconftest.a" >&5
   14097       $RANLIB libconftest.a 2>&5
   14098       cat > conftest.c << _LT_EOF
   14099 int main() { return 0;}
   14100 _LT_EOF
   14101       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   14102       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   14103       _lt_result=$?
   14104       if test -s conftest.err && $GREP force_load conftest.err; then
   14105 	cat conftest.err >&5
   14106       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   14107 	lt_cv_ld_force_load=yes
   14108       else
   14109 	cat conftest.err >&5
   14110       fi
   14111         rm -f conftest.err libconftest.a conftest conftest.c
   14112         rm -rf conftest.dSYM
   14113 
   14114 fi
   14115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   14116 $as_echo "$lt_cv_ld_force_load" >&6; }
   14117     case $host_os in
   14118     rhapsody* | darwin1.[012])
   14119       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   14120     darwin1.*)
   14121       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   14122     darwin*) # darwin 5.x on
   14123       # if running on 10.5 or later, the deployment target defaults
   14124       # to the OS version, if on x86, and 10.4, the deployment
   14125       # target defaults to 10.4. Don't you love it?
   14126       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   14127 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   14128 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   14129 	10.[012][,.]*)
   14130 	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   14131 	10.*)
   14132 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   14133       esac
   14134     ;;
   14135   esac
   14136     if test yes = "$lt_cv_apple_cc_single_mod"; then
   14137       _lt_dar_single_mod='$single_module'
   14138     fi
   14139     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   14140       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   14141     else
   14142       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   14143     fi
   14144     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   14145       _lt_dsymutil='~$DSYMUTIL $lib || :'
   14146     else
   14147       _lt_dsymutil=
   14148     fi
   14149     ;;
   14150   esac
   14151 
   14152 # func_munge_path_list VARIABLE PATH
   14153 # -----------------------------------
   14154 # VARIABLE is name of variable containing _space_ separated list of
   14155 # directories to be munged by the contents of PATH, which is string
   14156 # having a format:
   14157 # "DIR[:DIR]:"
   14158 #       string "DIR[ DIR]" will be prepended to VARIABLE
   14159 # ":DIR[:DIR]"
   14160 #       string "DIR[ DIR]" will be appended to VARIABLE
   14161 # "DIRP[:DIRP]::[DIRA:]DIRA"
   14162 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   14163 #       "DIRA[ DIRA]" will be appended to VARIABLE
   14164 # "DIR[:DIR]"
   14165 #       VARIABLE will be replaced by "DIR[ DIR]"
   14166 func_munge_path_list ()
   14167 {
   14168     case x$2 in
   14169     x)
   14170         ;;
   14171     *:)
   14172         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   14173         ;;
   14174     x:*)
   14175         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   14176         ;;
   14177     *::*)
   14178         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   14179         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   14180         ;;
   14181     *)
   14182         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   14183         ;;
   14184     esac
   14185 }
   14186 
   14187 for ac_header in dlfcn.h
   14188 do :
   14189   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   14190 "
   14191 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   14192   cat >>confdefs.h <<_ACEOF
   14193 #define HAVE_DLFCN_H 1
   14194 _ACEOF
   14195 
   14196 fi
   14197 
   14198 done
   14199 
   14200 
   14201 
   14202 
   14203 
   14204 # Set options
   14205 
   14206 
   14207 
   14208         enable_dlopen=no
   14209 
   14210 
   14211   enable_win32_dll=no
   14212 
   14213 
   14214             # Check whether --enable-shared was given.
   14215 if test "${enable_shared+set}" = set; then :
   14216   enableval=$enable_shared; p=${PACKAGE-default}
   14217     case $enableval in
   14218     yes) enable_shared=yes ;;
   14219     no) enable_shared=no ;;
   14220     *)
   14221       enable_shared=no
   14222       # Look at the argument we got.  We use all the common list separators.
   14223       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   14224       for pkg in $enableval; do
   14225 	IFS=$lt_save_ifs
   14226 	if test "X$pkg" = "X$p"; then
   14227 	  enable_shared=yes
   14228 	fi
   14229       done
   14230       IFS=$lt_save_ifs
   14231       ;;
   14232     esac
   14233 else
   14234   enable_shared=yes
   14235 fi
   14236 
   14237 
   14238 
   14239 
   14240 
   14241 
   14242 
   14243 
   14244 
   14245 
   14246 
   14247 # Check whether --with-pic was given.
   14248 if test "${with_pic+set}" = set; then :
   14249   withval=$with_pic; lt_p=${PACKAGE-default}
   14250     case $withval in
   14251     yes|no) pic_mode=$withval ;;
   14252     *)
   14253       pic_mode=default
   14254       # Look at the argument we got.  We use all the common list separators.
   14255       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   14256       for lt_pkg in $withval; do
   14257 	IFS=$lt_save_ifs
   14258 	if test "X$lt_pkg" = "X$lt_p"; then
   14259 	  pic_mode=yes
   14260 	fi
   14261       done
   14262       IFS=$lt_save_ifs
   14263       ;;
   14264     esac
   14265 else
   14266   pic_mode=default
   14267 fi
   14268 
   14269 
   14270 
   14271 
   14272 
   14273 
   14274 
   14275 
   14276   # Check whether --enable-fast-install was given.
   14277 if test "${enable_fast_install+set}" = set; then :
   14278   enableval=$enable_fast_install; p=${PACKAGE-default}
   14279     case $enableval in
   14280     yes) enable_fast_install=yes ;;
   14281     no) enable_fast_install=no ;;
   14282     *)
   14283       enable_fast_install=no
   14284       # Look at the argument we got.  We use all the common list separators.
   14285       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   14286       for pkg in $enableval; do
   14287 	IFS=$lt_save_ifs
   14288 	if test "X$pkg" = "X$p"; then
   14289 	  enable_fast_install=yes
   14290 	fi
   14291       done
   14292       IFS=$lt_save_ifs
   14293       ;;
   14294     esac
   14295 else
   14296   enable_fast_install=yes
   14297 fi
   14298 
   14299 
   14300 
   14301 
   14302 
   14303 
   14304 
   14305 
   14306   shared_archive_member_spec=
   14307 case $host,$enable_shared in
   14308 power*-*-aix[5-9]*,yes)
   14309   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   14310 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
   14311 
   14312 # Check whether --with-aix-soname was given.
   14313 if test "${with_aix_soname+set}" = set; then :
   14314   withval=$with_aix_soname; case $withval in
   14315     aix|svr4|both)
   14316       ;;
   14317     *)
   14318       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   14319       ;;
   14320     esac
   14321     lt_cv_with_aix_soname=$with_aix_soname
   14322 else
   14323   if ${lt_cv_with_aix_soname+:} false; then :
   14324   $as_echo_n "(cached) " >&6
   14325 else
   14326   lt_cv_with_aix_soname=aix
   14327 fi
   14328 
   14329     with_aix_soname=$lt_cv_with_aix_soname
   14330 fi
   14331 
   14332   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   14333 $as_echo "$with_aix_soname" >&6; }
   14334   if test aix != "$with_aix_soname"; then
   14335     # For the AIX way of multilib, we name the shared archive member
   14336     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   14337     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   14338     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   14339     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   14340     if test 64 = "${OBJECT_MODE-32}"; then
   14341       shared_archive_member_spec=shr_64
   14342     else
   14343       shared_archive_member_spec=shr
   14344     fi
   14345   fi
   14346   ;;
   14347 *)
   14348   with_aix_soname=aix
   14349   ;;
   14350 esac
   14351 
   14352 
   14353 
   14354 
   14355 
   14356 
   14357 
   14358 
   14359 
   14360 
   14361 # This can be used to rebuild libtool when needed
   14362 LIBTOOL_DEPS=$ltmain
   14363 
   14364 # Always use our own libtool.
   14365 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   14366 
   14367 
   14368 
   14369 
   14370 
   14371 
   14372 
   14373 
   14374 
   14375 
   14376 
   14377 
   14378 
   14379 
   14380 
   14381 
   14382 
   14383 
   14384 
   14385 
   14386 
   14387 
   14388 
   14389 
   14390 
   14391 
   14392 
   14393 
   14394 
   14395 
   14396 test -z "$LN_S" && LN_S="ln -s"
   14397 
   14398 
   14399 
   14400 
   14401 
   14402 
   14403 
   14404 
   14405 
   14406 
   14407 
   14408 
   14409 
   14410 
   14411 if test -n "${ZSH_VERSION+set}"; then
   14412    setopt NO_GLOB_SUBST
   14413 fi
   14414 
   14415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   14416 $as_echo_n "checking for objdir... " >&6; }
   14417 if ${lt_cv_objdir+:} false; then :
   14418   $as_echo_n "(cached) " >&6
   14419 else
   14420   rm -f .libs 2>/dev/null
   14421 mkdir .libs 2>/dev/null
   14422 if test -d .libs; then
   14423   lt_cv_objdir=.libs
   14424 else
   14425   # MS-DOS does not allow filenames that begin with a dot.
   14426   lt_cv_objdir=_libs
   14427 fi
   14428 rmdir .libs 2>/dev/null
   14429 fi
   14430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   14431 $as_echo "$lt_cv_objdir" >&6; }
   14432 objdir=$lt_cv_objdir
   14433 
   14434 
   14435 
   14436 
   14437 
   14438 cat >>confdefs.h <<_ACEOF
   14439 #define LT_OBJDIR "$lt_cv_objdir/"
   14440 _ACEOF
   14441 
   14442 
   14443 
   14444 
   14445 case $host_os in
   14446 aix3*)
   14447   # AIX sometimes has problems with the GCC collect2 program.  For some
   14448   # reason, if we set the COLLECT_NAMES environment variable, the problems
   14449   # vanish in a puff of smoke.
   14450   if test set != "${COLLECT_NAMES+set}"; then
   14451     COLLECT_NAMES=
   14452     export COLLECT_NAMES
   14453   fi
   14454   ;;
   14455 esac
   14456 
   14457 # Global variables:
   14458 ofile=libtool
   14459 can_build_shared=yes
   14460 
   14461 # All known linkers require a '.a' archive for static linking (except MSVC,
   14462 # which needs '.lib').
   14463 libext=a
   14464 
   14465 with_gnu_ld=$lt_cv_prog_gnu_ld
   14466 
   14467 old_CC=$CC
   14468 old_CFLAGS=$CFLAGS
   14469 
   14470 # Set sane defaults for various variables
   14471 test -z "$CC" && CC=cc
   14472 test -z "$LTCC" && LTCC=$CC
   14473 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   14474 test -z "$LD" && LD=ld
   14475 test -z "$ac_objext" && ac_objext=o
   14476 
   14477 func_cc_basename $compiler
   14478 cc_basename=$func_cc_basename_result
   14479 
   14480 
   14481 # Only perform the check for file, if the check method requires it
   14482 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   14483 case $deplibs_check_method in
   14484 file_magic*)
   14485   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   14486     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   14487 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   14488 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   14489   $as_echo_n "(cached) " >&6
   14490 else
   14491   case $MAGIC_CMD in
   14492 [\\/*] |  ?:[\\/]*)
   14493   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   14494   ;;
   14495 *)
   14496   lt_save_MAGIC_CMD=$MAGIC_CMD
   14497   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   14498   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   14499   for ac_dir in $ac_dummy; do
   14500     IFS=$lt_save_ifs
   14501     test -z "$ac_dir" && ac_dir=.
   14502     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   14503       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   14504       if test -n "$file_magic_test_file"; then
   14505 	case $deplibs_check_method in
   14506 	"file_magic "*)
   14507 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   14508 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   14509 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   14510 	    $EGREP "$file_magic_regex" > /dev/null; then
   14511 	    :
   14512 	  else
   14513 	    cat <<_LT_EOF 1>&2
   14514 
   14515 *** Warning: the command libtool uses to detect shared libraries,
   14516 *** $file_magic_cmd, produces output that libtool cannot recognize.
   14517 *** The result is that libtool may fail to recognize shared libraries
   14518 *** as such.  This will affect the creation of libtool libraries that
   14519 *** depend on shared libraries, but programs linked with such libtool
   14520 *** libraries will work regardless of this problem.  Nevertheless, you
   14521 *** may want to report the problem to your system manager and/or to
   14522 *** bug-libtool (at] gnu.org
   14523 
   14524 _LT_EOF
   14525 	  fi ;;
   14526 	esac
   14527       fi
   14528       break
   14529     fi
   14530   done
   14531   IFS=$lt_save_ifs
   14532   MAGIC_CMD=$lt_save_MAGIC_CMD
   14533   ;;
   14534 esac
   14535 fi
   14536 
   14537 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   14538 if test -n "$MAGIC_CMD"; then
   14539   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   14540 $as_echo "$MAGIC_CMD" >&6; }
   14541 else
   14542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14543 $as_echo "no" >&6; }
   14544 fi
   14545 
   14546 
   14547 
   14548 
   14549 
   14550 if test -z "$lt_cv_path_MAGIC_CMD"; then
   14551   if test -n "$ac_tool_prefix"; then
   14552     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   14553 $as_echo_n "checking for file... " >&6; }
   14554 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   14555   $as_echo_n "(cached) " >&6
   14556 else
   14557   case $MAGIC_CMD in
   14558 [\\/*] |  ?:[\\/]*)
   14559   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   14560   ;;
   14561 *)
   14562   lt_save_MAGIC_CMD=$MAGIC_CMD
   14563   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   14564   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   14565   for ac_dir in $ac_dummy; do
   14566     IFS=$lt_save_ifs
   14567     test -z "$ac_dir" && ac_dir=.
   14568     if test -f "$ac_dir/file"; then
   14569       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   14570       if test -n "$file_magic_test_file"; then
   14571 	case $deplibs_check_method in
   14572 	"file_magic "*)
   14573 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   14574 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   14575 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   14576 	    $EGREP "$file_magic_regex" > /dev/null; then
   14577 	    :
   14578 	  else
   14579 	    cat <<_LT_EOF 1>&2
   14580 
   14581 *** Warning: the command libtool uses to detect shared libraries,
   14582 *** $file_magic_cmd, produces output that libtool cannot recognize.
   14583 *** The result is that libtool may fail to recognize shared libraries
   14584 *** as such.  This will affect the creation of libtool libraries that
   14585 *** depend on shared libraries, but programs linked with such libtool
   14586 *** libraries will work regardless of this problem.  Nevertheless, you
   14587 *** may want to report the problem to your system manager and/or to
   14588 *** bug-libtool (at] gnu.org
   14589 
   14590 _LT_EOF
   14591 	  fi ;;
   14592 	esac
   14593       fi
   14594       break
   14595     fi
   14596   done
   14597   IFS=$lt_save_ifs
   14598   MAGIC_CMD=$lt_save_MAGIC_CMD
   14599   ;;
   14600 esac
   14601 fi
   14602 
   14603 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   14604 if test -n "$MAGIC_CMD"; then
   14605   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   14606 $as_echo "$MAGIC_CMD" >&6; }
   14607 else
   14608   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14609 $as_echo "no" >&6; }
   14610 fi
   14611 
   14612 
   14613   else
   14614     MAGIC_CMD=:
   14615   fi
   14616 fi
   14617 
   14618   fi
   14619   ;;
   14620 esac
   14621 
   14622 # Use C for the default configuration in the libtool script
   14623 
   14624 lt_save_CC=$CC
   14625 ac_ext=c
   14626 ac_cpp='$CPP $CPPFLAGS'
   14627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14630 
   14631 
   14632 # Source file extension for C test sources.
   14633 ac_ext=c
   14634 
   14635 # Object file extension for compiled C test sources.
   14636 objext=o
   14637 objext=$objext
   14638 
   14639 # Code to be used in simple compile tests
   14640 lt_simple_compile_test_code="int some_variable = 0;"
   14641 
   14642 # Code to be used in simple link tests
   14643 lt_simple_link_test_code='int main(){return(0);}'
   14644 
   14645 
   14646 
   14647 
   14648 
   14649 
   14650 
   14651 # If no C compiler was specified, use CC.
   14652 LTCC=${LTCC-"$CC"}
   14653 
   14654 # If no C compiler flags were specified, use CFLAGS.
   14655 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   14656 
   14657 # Allow CC to be a program name with arguments.
   14658 compiler=$CC
   14659 
   14660 # Save the default compiler, since it gets overwritten when the other
   14661 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   14662 compiler_DEFAULT=$CC
   14663 
   14664 # save warnings/boilerplate of simple test code
   14665 ac_outfile=conftest.$ac_objext
   14666 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   14667 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14668 _lt_compiler_boilerplate=`cat conftest.err`
   14669 $RM conftest*
   14670 
   14671 ac_outfile=conftest.$ac_objext
   14672 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   14673 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14674 _lt_linker_boilerplate=`cat conftest.err`
   14675 $RM -r conftest*
   14676 
   14677 
   14678 if test -n "$compiler"; then
   14679 
   14680 lt_prog_compiler_no_builtin_flag=
   14681 
   14682 if test yes = "$GCC"; then
   14683   case $cc_basename in
   14684   nvcc*)
   14685     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   14686   *)
   14687     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   14688   esac
   14689 
   14690   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   14691 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   14692 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   14693   $as_echo_n "(cached) " >&6
   14694 else
   14695   lt_cv_prog_compiler_rtti_exceptions=no
   14696    ac_outfile=conftest.$ac_objext
   14697    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14698    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   14699    # Insert the option either (1) after the last *FLAGS variable, or
   14700    # (2) before a word containing "conftest.", or (3) at the end.
   14701    # Note that $ac_compile itself does not contain backslashes and begins
   14702    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14703    # The option is referenced via a variable to avoid confusing sed.
   14704    lt_compile=`echo "$ac_compile" | $SED \
   14705    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14706    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14707    -e 's:$: $lt_compiler_flag:'`
   14708    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14709    (eval "$lt_compile" 2>conftest.err)
   14710    ac_status=$?
   14711    cat conftest.err >&5
   14712    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14713    if (exit $ac_status) && test -s "$ac_outfile"; then
   14714      # The compiler can only warn and ignore the option if not recognized
   14715      # So say no if there are warnings other than the usual output.
   14716      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   14717      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14718      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14719        lt_cv_prog_compiler_rtti_exceptions=yes
   14720      fi
   14721    fi
   14722    $RM conftest*
   14723 
   14724 fi
   14725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   14726 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   14727 
   14728 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   14729     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   14730 else
   14731     :
   14732 fi
   14733 
   14734 fi
   14735 
   14736 
   14737 
   14738 
   14739 
   14740 
   14741   lt_prog_compiler_wl=
   14742 lt_prog_compiler_pic=
   14743 lt_prog_compiler_static=
   14744 
   14745 
   14746   if test yes = "$GCC"; then
   14747     lt_prog_compiler_wl='-Wl,'
   14748     lt_prog_compiler_static='-static'
   14749 
   14750     case $host_os in
   14751       aix*)
   14752       # All AIX code is PIC.
   14753       if test ia64 = "$host_cpu"; then
   14754 	# AIX 5 now supports IA64 processor
   14755 	lt_prog_compiler_static='-Bstatic'
   14756       fi
   14757       lt_prog_compiler_pic='-fPIC'
   14758       ;;
   14759 
   14760     amigaos*)
   14761       case $host_cpu in
   14762       powerpc)
   14763             # see comment about AmigaOS4 .so support
   14764             lt_prog_compiler_pic='-fPIC'
   14765         ;;
   14766       m68k)
   14767             # FIXME: we need at least 68020 code to build shared libraries, but
   14768             # adding the '-m68020' flag to GCC prevents building anything better,
   14769             # like '-m68040'.
   14770             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   14771         ;;
   14772       esac
   14773       ;;
   14774 
   14775     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   14776       # PIC is the default for these OSes.
   14777       ;;
   14778 
   14779     mingw* | cygwin* | pw32* | os2* | cegcc*)
   14780       # This hack is so that the source file can tell whether it is being
   14781       # built for inclusion in a dll (and should export symbols for example).
   14782       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   14783       # (--disable-auto-import) libraries
   14784       lt_prog_compiler_pic='-DDLL_EXPORT'
   14785       case $host_os in
   14786       os2*)
   14787 	lt_prog_compiler_static='$wl-static'
   14788 	;;
   14789       esac
   14790       ;;
   14791 
   14792     darwin* | rhapsody*)
   14793       # PIC is the default on this platform
   14794       # Common symbols not allowed in MH_DYLIB files
   14795       lt_prog_compiler_pic='-fno-common'
   14796       ;;
   14797 
   14798     haiku*)
   14799       # PIC is the default for Haiku.
   14800       # The "-static" flag exists, but is broken.
   14801       lt_prog_compiler_static=
   14802       ;;
   14803 
   14804     hpux*)
   14805       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   14806       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   14807       # sets the default TLS model and affects inlining.
   14808       case $host_cpu in
   14809       hppa*64*)
   14810 	# +Z the default
   14811 	;;
   14812       *)
   14813 	lt_prog_compiler_pic='-fPIC'
   14814 	;;
   14815       esac
   14816       ;;
   14817 
   14818     interix[3-9]*)
   14819       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   14820       # Instead, we relocate shared libraries at runtime.
   14821       ;;
   14822 
   14823     msdosdjgpp*)
   14824       # Just because we use GCC doesn't mean we suddenly get shared libraries
   14825       # on systems that don't support them.
   14826       lt_prog_compiler_can_build_shared=no
   14827       enable_shared=no
   14828       ;;
   14829 
   14830     *nto* | *qnx*)
   14831       # QNX uses GNU C++, but need to define -shared option too, otherwise
   14832       # it will coredump.
   14833       lt_prog_compiler_pic='-fPIC -shared'
   14834       ;;
   14835 
   14836     sysv4*MP*)
   14837       if test -d /usr/nec; then
   14838 	lt_prog_compiler_pic=-Kconform_pic
   14839       fi
   14840       ;;
   14841 
   14842     *)
   14843       lt_prog_compiler_pic='-fPIC'
   14844       ;;
   14845     esac
   14846 
   14847     case $cc_basename in
   14848     nvcc*) # Cuda Compiler Driver 2.2
   14849       lt_prog_compiler_wl='-Xlinker '
   14850       if test -n "$lt_prog_compiler_pic"; then
   14851         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   14852       fi
   14853       ;;
   14854     esac
   14855   else
   14856     # PORTME Check for flag to pass linker flags through the system compiler.
   14857     case $host_os in
   14858     aix*)
   14859       lt_prog_compiler_wl='-Wl,'
   14860       if test ia64 = "$host_cpu"; then
   14861 	# AIX 5 now supports IA64 processor
   14862 	lt_prog_compiler_static='-Bstatic'
   14863       else
   14864 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   14865       fi
   14866       ;;
   14867 
   14868     darwin* | rhapsody*)
   14869       # PIC is the default on this platform
   14870       # Common symbols not allowed in MH_DYLIB files
   14871       lt_prog_compiler_pic='-fno-common'
   14872       case $cc_basename in
   14873       nagfor*)
   14874         # NAG Fortran compiler
   14875         lt_prog_compiler_wl='-Wl,-Wl,,'
   14876         lt_prog_compiler_pic='-PIC'
   14877         lt_prog_compiler_static='-Bstatic'
   14878         ;;
   14879       esac
   14880       ;;
   14881 
   14882     mingw* | cygwin* | pw32* | os2* | cegcc*)
   14883       # This hack is so that the source file can tell whether it is being
   14884       # built for inclusion in a dll (and should export symbols for example).
   14885       lt_prog_compiler_pic='-DDLL_EXPORT'
   14886       case $host_os in
   14887       os2*)
   14888 	lt_prog_compiler_static='$wl-static'
   14889 	;;
   14890       esac
   14891       ;;
   14892 
   14893     hpux9* | hpux10* | hpux11*)
   14894       lt_prog_compiler_wl='-Wl,'
   14895       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14896       # not for PA HP-UX.
   14897       case $host_cpu in
   14898       hppa*64*|ia64*)
   14899 	# +Z the default
   14900 	;;
   14901       *)
   14902 	lt_prog_compiler_pic='+Z'
   14903 	;;
   14904       esac
   14905       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   14906       lt_prog_compiler_static='$wl-a ${wl}archive'
   14907       ;;
   14908 
   14909     irix5* | irix6* | nonstopux*)
   14910       lt_prog_compiler_wl='-Wl,'
   14911       # PIC (with -KPIC) is the default.
   14912       lt_prog_compiler_static='-non_shared'
   14913       ;;
   14914 
   14915     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   14916       case $cc_basename in
   14917       # old Intel for x86_64, which still supported -KPIC.
   14918       ecc*)
   14919 	lt_prog_compiler_wl='-Wl,'
   14920 	lt_prog_compiler_pic='-KPIC'
   14921 	lt_prog_compiler_static='-static'
   14922         ;;
   14923       # icc used to be incompatible with GCC.
   14924       # ICC 10 doesn't accept -KPIC any more.
   14925       icc* | ifort*)
   14926 	lt_prog_compiler_wl='-Wl,'
   14927 	lt_prog_compiler_pic='-fPIC'
   14928 	lt_prog_compiler_static='-static'
   14929         ;;
   14930       # Lahey Fortran 8.1.
   14931       lf95*)
   14932 	lt_prog_compiler_wl='-Wl,'
   14933 	lt_prog_compiler_pic='--shared'
   14934 	lt_prog_compiler_static='--static'
   14935 	;;
   14936       nagfor*)
   14937 	# NAG Fortran compiler
   14938 	lt_prog_compiler_wl='-Wl,-Wl,,'
   14939 	lt_prog_compiler_pic='-PIC'
   14940 	lt_prog_compiler_static='-Bstatic'
   14941 	;;
   14942       tcc*)
   14943 	# Fabrice Bellard et al's Tiny C Compiler
   14944 	lt_prog_compiler_wl='-Wl,'
   14945 	lt_prog_compiler_pic='-fPIC'
   14946 	lt_prog_compiler_static='-static'
   14947 	;;
   14948       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   14949         # Portland Group compilers (*not* the Pentium gcc compiler,
   14950 	# which looks to be a dead project)
   14951 	lt_prog_compiler_wl='-Wl,'
   14952 	lt_prog_compiler_pic='-fpic'
   14953 	lt_prog_compiler_static='-Bstatic'
   14954         ;;
   14955       ccc*)
   14956         lt_prog_compiler_wl='-Wl,'
   14957         # All Alpha code is PIC.
   14958         lt_prog_compiler_static='-non_shared'
   14959         ;;
   14960       xl* | bgxl* | bgf* | mpixl*)
   14961 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   14962 	lt_prog_compiler_wl='-Wl,'
   14963 	lt_prog_compiler_pic='-qpic'
   14964 	lt_prog_compiler_static='-qstaticlink'
   14965 	;;
   14966       *)
   14967 	case `$CC -V 2>&1 | sed 5q` in
   14968 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   14969 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   14970 	  lt_prog_compiler_pic='-KPIC'
   14971 	  lt_prog_compiler_static='-Bstatic'
   14972 	  lt_prog_compiler_wl=''
   14973 	  ;;
   14974 	*Sun\ F* | *Sun*Fortran*)
   14975 	  lt_prog_compiler_pic='-KPIC'
   14976 	  lt_prog_compiler_static='-Bstatic'
   14977 	  lt_prog_compiler_wl='-Qoption ld '
   14978 	  ;;
   14979 	*Sun\ C*)
   14980 	  # Sun C 5.9
   14981 	  lt_prog_compiler_pic='-KPIC'
   14982 	  lt_prog_compiler_static='-Bstatic'
   14983 	  lt_prog_compiler_wl='-Wl,'
   14984 	  ;;
   14985         *Intel*\ [CF]*Compiler*)
   14986 	  lt_prog_compiler_wl='-Wl,'
   14987 	  lt_prog_compiler_pic='-fPIC'
   14988 	  lt_prog_compiler_static='-static'
   14989 	  ;;
   14990 	*Portland\ Group*)
   14991 	  lt_prog_compiler_wl='-Wl,'
   14992 	  lt_prog_compiler_pic='-fpic'
   14993 	  lt_prog_compiler_static='-Bstatic'
   14994 	  ;;
   14995 	esac
   14996 	;;
   14997       esac
   14998       ;;
   14999 
   15000     newsos6)
   15001       lt_prog_compiler_pic='-KPIC'
   15002       lt_prog_compiler_static='-Bstatic'
   15003       ;;
   15004 
   15005     *nto* | *qnx*)
   15006       # QNX uses GNU C++, but need to define -shared option too, otherwise
   15007       # it will coredump.
   15008       lt_prog_compiler_pic='-fPIC -shared'
   15009       ;;
   15010 
   15011     osf3* | osf4* | osf5*)
   15012       lt_prog_compiler_wl='-Wl,'
   15013       # All OSF/1 code is PIC.
   15014       lt_prog_compiler_static='-non_shared'
   15015       ;;
   15016 
   15017     rdos*)
   15018       lt_prog_compiler_static='-non_shared'
   15019       ;;
   15020 
   15021     solaris*)
   15022       lt_prog_compiler_pic='-KPIC'
   15023       lt_prog_compiler_static='-Bstatic'
   15024       case $cc_basename in
   15025       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   15026 	lt_prog_compiler_wl='-Qoption ld ';;
   15027       *)
   15028 	lt_prog_compiler_wl='-Wl,';;
   15029       esac
   15030       ;;
   15031 
   15032     sunos4*)
   15033       lt_prog_compiler_wl='-Qoption ld '
   15034       lt_prog_compiler_pic='-PIC'
   15035       lt_prog_compiler_static='-Bstatic'
   15036       ;;
   15037 
   15038     sysv4 | sysv4.2uw2* | sysv4.3*)
   15039       lt_prog_compiler_wl='-Wl,'
   15040       lt_prog_compiler_pic='-KPIC'
   15041       lt_prog_compiler_static='-Bstatic'
   15042       ;;
   15043 
   15044     sysv4*MP*)
   15045       if test -d /usr/nec; then
   15046 	lt_prog_compiler_pic='-Kconform_pic'
   15047 	lt_prog_compiler_static='-Bstatic'
   15048       fi
   15049       ;;
   15050 
   15051     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   15052       lt_prog_compiler_wl='-Wl,'
   15053       lt_prog_compiler_pic='-KPIC'
   15054       lt_prog_compiler_static='-Bstatic'
   15055       ;;
   15056 
   15057     unicos*)
   15058       lt_prog_compiler_wl='-Wl,'
   15059       lt_prog_compiler_can_build_shared=no
   15060       ;;
   15061 
   15062     uts4*)
   15063       lt_prog_compiler_pic='-pic'
   15064       lt_prog_compiler_static='-Bstatic'
   15065       ;;
   15066 
   15067     *)
   15068       lt_prog_compiler_can_build_shared=no
   15069       ;;
   15070     esac
   15071   fi
   15072 
   15073 case $host_os in
   15074   # For platforms that do not support PIC, -DPIC is meaningless:
   15075   *djgpp*)
   15076     lt_prog_compiler_pic=
   15077     ;;
   15078   *)
   15079     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   15080     ;;
   15081 esac
   15082 
   15083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   15084 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   15085 if ${lt_cv_prog_compiler_pic+:} false; then :
   15086   $as_echo_n "(cached) " >&6
   15087 else
   15088   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   15089 fi
   15090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   15091 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   15092 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   15093 
   15094 #
   15095 # Check to make sure the PIC flag actually works.
   15096 #
   15097 if test -n "$lt_prog_compiler_pic"; then
   15098   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   15099 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   15100 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   15101   $as_echo_n "(cached) " >&6
   15102 else
   15103   lt_cv_prog_compiler_pic_works=no
   15104    ac_outfile=conftest.$ac_objext
   15105    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15106    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   15107    # Insert the option either (1) after the last *FLAGS variable, or
   15108    # (2) before a word containing "conftest.", or (3) at the end.
   15109    # Note that $ac_compile itself does not contain backslashes and begins
   15110    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15111    # The option is referenced via a variable to avoid confusing sed.
   15112    lt_compile=`echo "$ac_compile" | $SED \
   15113    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15114    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15115    -e 's:$: $lt_compiler_flag:'`
   15116    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   15117    (eval "$lt_compile" 2>conftest.err)
   15118    ac_status=$?
   15119    cat conftest.err >&5
   15120    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15121    if (exit $ac_status) && test -s "$ac_outfile"; then
   15122      # The compiler can only warn and ignore the option if not recognized
   15123      # So say no if there are warnings other than the usual output.
   15124      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   15125      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   15126      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   15127        lt_cv_prog_compiler_pic_works=yes
   15128      fi
   15129    fi
   15130    $RM conftest*
   15131 
   15132 fi
   15133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   15134 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   15135 
   15136 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   15137     case $lt_prog_compiler_pic in
   15138      "" | " "*) ;;
   15139      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   15140      esac
   15141 else
   15142     lt_prog_compiler_pic=
   15143      lt_prog_compiler_can_build_shared=no
   15144 fi
   15145 
   15146 fi
   15147 
   15148 
   15149 
   15150 
   15151 
   15152 
   15153 
   15154 
   15155 
   15156 
   15157 
   15158 #
   15159 # Check to make sure the static flag actually works.
   15160 #
   15161 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   15162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   15163 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   15164 if ${lt_cv_prog_compiler_static_works+:} false; then :
   15165   $as_echo_n "(cached) " >&6
   15166 else
   15167   lt_cv_prog_compiler_static_works=no
   15168    save_LDFLAGS=$LDFLAGS
   15169    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   15170    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   15171    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   15172      # The linker can only warn and ignore the option if not recognized
   15173      # So say no if there are warnings
   15174      if test -s conftest.err; then
   15175        # Append any errors to the config.log.
   15176        cat conftest.err 1>&5
   15177        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   15178        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   15179        if diff conftest.exp conftest.er2 >/dev/null; then
   15180          lt_cv_prog_compiler_static_works=yes
   15181        fi
   15182      else
   15183        lt_cv_prog_compiler_static_works=yes
   15184      fi
   15185    fi
   15186    $RM -r conftest*
   15187    LDFLAGS=$save_LDFLAGS
   15188 
   15189 fi
   15190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   15191 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   15192 
   15193 if test yes = "$lt_cv_prog_compiler_static_works"; then
   15194     :
   15195 else
   15196     lt_prog_compiler_static=
   15197 fi
   15198 
   15199 
   15200 
   15201 
   15202 
   15203 
   15204 
   15205   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   15206 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   15207 if ${lt_cv_prog_compiler_c_o+:} false; then :
   15208   $as_echo_n "(cached) " >&6
   15209 else
   15210   lt_cv_prog_compiler_c_o=no
   15211    $RM -r conftest 2>/dev/null
   15212    mkdir conftest
   15213    cd conftest
   15214    mkdir out
   15215    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15216 
   15217    lt_compiler_flag="-o out/conftest2.$ac_objext"
   15218    # Insert the option either (1) after the last *FLAGS variable, or
   15219    # (2) before a word containing "conftest.", or (3) at the end.
   15220    # Note that $ac_compile itself does not contain backslashes and begins
   15221    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15222    lt_compile=`echo "$ac_compile" | $SED \
   15223    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15224    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15225    -e 's:$: $lt_compiler_flag:'`
   15226    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   15227    (eval "$lt_compile" 2>out/conftest.err)
   15228    ac_status=$?
   15229    cat out/conftest.err >&5
   15230    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15231    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   15232    then
   15233      # The compiler can only warn and ignore the option if not recognized
   15234      # So say no if there are warnings
   15235      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   15236      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   15237      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   15238        lt_cv_prog_compiler_c_o=yes
   15239      fi
   15240    fi
   15241    chmod u+w . 2>&5
   15242    $RM conftest*
   15243    # SGI C++ compiler will create directory out/ii_files/ for
   15244    # template instantiation
   15245    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   15246    $RM out/* && rmdir out
   15247    cd ..
   15248    $RM -r conftest
   15249    $RM conftest*
   15250 
   15251 fi
   15252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   15253 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   15254 
   15255 
   15256 
   15257 
   15258 
   15259 
   15260   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   15261 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   15262 if ${lt_cv_prog_compiler_c_o+:} false; then :
   15263   $as_echo_n "(cached) " >&6
   15264 else
   15265   lt_cv_prog_compiler_c_o=no
   15266    $RM -r conftest 2>/dev/null
   15267    mkdir conftest
   15268    cd conftest
   15269    mkdir out
   15270    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15271 
   15272    lt_compiler_flag="-o out/conftest2.$ac_objext"
   15273    # Insert the option either (1) after the last *FLAGS variable, or
   15274    # (2) before a word containing "conftest.", or (3) at the end.
   15275    # Note that $ac_compile itself does not contain backslashes and begins
   15276    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15277    lt_compile=`echo "$ac_compile" | $SED \
   15278    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15279    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15280    -e 's:$: $lt_compiler_flag:'`
   15281    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   15282    (eval "$lt_compile" 2>out/conftest.err)
   15283    ac_status=$?
   15284    cat out/conftest.err >&5
   15285    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15286    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   15287    then
   15288      # The compiler can only warn and ignore the option if not recognized
   15289      # So say no if there are warnings
   15290      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   15291      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   15292      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   15293        lt_cv_prog_compiler_c_o=yes
   15294      fi
   15295    fi
   15296    chmod u+w . 2>&5
   15297    $RM conftest*
   15298    # SGI C++ compiler will create directory out/ii_files/ for
   15299    # template instantiation
   15300    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   15301    $RM out/* && rmdir out
   15302    cd ..
   15303    $RM -r conftest
   15304    $RM conftest*
   15305 
   15306 fi
   15307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   15308 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   15309 
   15310 
   15311 
   15312 
   15313 hard_links=nottested
   15314 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   15315   # do not overwrite the value of need_locks provided by the user
   15316   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   15317 $as_echo_n "checking if we can lock with hard links... " >&6; }
   15318   hard_links=yes
   15319   $RM conftest*
   15320   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   15321   touch conftest.a
   15322   ln conftest.a conftest.b 2>&5 || hard_links=no
   15323   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   15324   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   15325 $as_echo "$hard_links" >&6; }
   15326   if test no = "$hard_links"; then
   15327     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   15328 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   15329     need_locks=warn
   15330   fi
   15331 else
   15332   need_locks=no
   15333 fi
   15334 
   15335 
   15336 
   15337 
   15338 
   15339 
   15340   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   15341 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   15342 
   15343   runpath_var=
   15344   allow_undefined_flag=
   15345   always_export_symbols=no
   15346   archive_cmds=
   15347   archive_expsym_cmds=
   15348   compiler_needs_object=no
   15349   enable_shared_with_static_runtimes=no
   15350   export_dynamic_flag_spec=
   15351   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   15352   hardcode_automatic=no
   15353   hardcode_direct=no
   15354   hardcode_direct_absolute=no
   15355   hardcode_libdir_flag_spec=
   15356   hardcode_libdir_separator=
   15357   hardcode_minus_L=no
   15358   hardcode_shlibpath_var=unsupported
   15359   inherit_rpath=no
   15360   link_all_deplibs=unknown
   15361   module_cmds=
   15362   module_expsym_cmds=
   15363   old_archive_from_new_cmds=
   15364   old_archive_from_expsyms_cmds=
   15365   thread_safe_flag_spec=
   15366   whole_archive_flag_spec=
   15367   # include_expsyms should be a list of space-separated symbols to be *always*
   15368   # included in the symbol list
   15369   include_expsyms=
   15370   # exclude_expsyms can be an extended regexp of symbols to exclude
   15371   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   15372   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   15373   # as well as any symbol that contains 'd'.
   15374   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   15375   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   15376   # platforms (ab)use it in PIC code, but their linkers get confused if
   15377   # the symbol is explicitly referenced.  Since portable code cannot
   15378   # rely on this symbol name, it's probably fine to never include it in
   15379   # preloaded symbol tables.
   15380   # Exclude shared library initialization/finalization symbols.
   15381   extract_expsyms_cmds=
   15382 
   15383   case $host_os in
   15384   cygwin* | mingw* | pw32* | cegcc*)
   15385     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   15386     # When not using gcc, we currently assume that we are using
   15387     # Microsoft Visual C++.
   15388     if test yes != "$GCC"; then
   15389       with_gnu_ld=no
   15390     fi
   15391     ;;
   15392   interix*)
   15393     # we just hope/assume this is gcc and not c89 (= MSVC++)
   15394     with_gnu_ld=yes
   15395     ;;
   15396   openbsd* | bitrig*)
   15397     with_gnu_ld=no
   15398     ;;
   15399   esac
   15400 
   15401   ld_shlibs=yes
   15402 
   15403   # On some targets, GNU ld is compatible enough with the native linker
   15404   # that we're better off using the native interface for both.
   15405   lt_use_gnu_ld_interface=no
   15406   if test yes = "$with_gnu_ld"; then
   15407     case $host_os in
   15408       aix*)
   15409 	# The AIX port of GNU ld has always aspired to compatibility
   15410 	# with the native linker.  However, as the warning in the GNU ld
   15411 	# block says, versions before 2.19.5* couldn't really create working
   15412 	# shared libraries, regardless of the interface used.
   15413 	case `$LD -v 2>&1` in
   15414 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   15415 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   15416 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   15417 	  *)
   15418 	    lt_use_gnu_ld_interface=yes
   15419 	    ;;
   15420 	esac
   15421 	;;
   15422       *)
   15423 	lt_use_gnu_ld_interface=yes
   15424 	;;
   15425     esac
   15426   fi
   15427 
   15428   if test yes = "$lt_use_gnu_ld_interface"; then
   15429     # If archive_cmds runs LD, not CC, wlarc should be empty
   15430     wlarc='$wl'
   15431 
   15432     # Set some defaults for GNU ld with shared library support. These
   15433     # are reset later if shared libraries are not supported. Putting them
   15434     # here allows them to be overridden if necessary.
   15435     runpath_var=LD_RUN_PATH
   15436     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   15437     export_dynamic_flag_spec='$wl--export-dynamic'
   15438     # ancient GNU ld didn't support --whole-archive et. al.
   15439     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   15440       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   15441     else
   15442       whole_archive_flag_spec=
   15443     fi
   15444     supports_anon_versioning=no
   15445     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
   15446       *GNU\ gold*) supports_anon_versioning=yes ;;
   15447       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   15448       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   15449       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   15450       *\ 2.11.*) ;; # other 2.11 versions
   15451       *) supports_anon_versioning=yes ;;
   15452     esac
   15453 
   15454     # See if GNU ld supports shared libraries.
   15455     case $host_os in
   15456     aix[3-9]*)
   15457       # On AIX/PPC, the GNU linker is very broken
   15458       if test ia64 != "$host_cpu"; then
   15459 	ld_shlibs=no
   15460 	cat <<_LT_EOF 1>&2
   15461 
   15462 *** Warning: the GNU linker, at least up to release 2.19, is reported
   15463 *** to be unable to reliably create shared libraries on AIX.
   15464 *** Therefore, libtool is disabling shared libraries support.  If you
   15465 *** really care for shared libraries, you may want to install binutils
   15466 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   15467 *** You will then need to restart the configuration process.
   15468 
   15469 _LT_EOF
   15470       fi
   15471       ;;
   15472 
   15473     amigaos*)
   15474       case $host_cpu in
   15475       powerpc)
   15476             # see comment about AmigaOS4 .so support
   15477             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15478             archive_expsym_cmds=''
   15479         ;;
   15480       m68k)
   15481             archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
   15482             hardcode_libdir_flag_spec='-L$libdir'
   15483             hardcode_minus_L=yes
   15484         ;;
   15485       esac
   15486       ;;
   15487 
   15488     beos*)
   15489       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15490 	allow_undefined_flag=unsupported
   15491 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   15492 	# support --undefined.  This deserves some investigation.  FIXME
   15493 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15494       else
   15495 	ld_shlibs=no
   15496       fi
   15497       ;;
   15498 
   15499     cygwin* | mingw* | pw32* | cegcc*)
   15500       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   15501       # as there is no search path for DLLs.
   15502       hardcode_libdir_flag_spec='-L$libdir'
   15503       export_dynamic_flag_spec='$wl--export-all-symbols'
   15504       allow_undefined_flag=unsupported
   15505       always_export_symbols=no
   15506       enable_shared_with_static_runtimes=yes
   15507       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
   15508       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   15509 
   15510       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   15511         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   15512 	# If the export-symbols file already is a .def file, use it as
   15513 	# is; otherwise, prepend EXPORTS...
   15514 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   15515           cp $export_symbols $output_objdir/$soname.def;
   15516         else
   15517           echo EXPORTS > $output_objdir/$soname.def;
   15518           cat $export_symbols >> $output_objdir/$soname.def;
   15519         fi~
   15520         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   15521       else
   15522 	ld_shlibs=no
   15523       fi
   15524       ;;
   15525 
   15526     haiku*)
   15527       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15528       link_all_deplibs=yes
   15529       ;;
   15530 
   15531     os2*)
   15532       hardcode_libdir_flag_spec='-L$libdir'
   15533       hardcode_minus_L=yes
   15534       allow_undefined_flag=unsupported
   15535       shrext_cmds=.dll
   15536       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   15537 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   15538 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   15539 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   15540 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   15541 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   15542 	emximp -o $lib $output_objdir/$libname.def'
   15543       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   15544 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   15545 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   15546 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   15547 	prefix_cmds="$SED"~
   15548 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   15549 	  prefix_cmds="$prefix_cmds -e 1d";
   15550 	fi~
   15551 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   15552 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   15553 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   15554 	emximp -o $lib $output_objdir/$libname.def'
   15555       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   15556       enable_shared_with_static_runtimes=yes
   15557       ;;
   15558 
   15559     interix[3-9]*)
   15560       hardcode_direct=no
   15561       hardcode_shlibpath_var=no
   15562       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   15563       export_dynamic_flag_spec='$wl-E'
   15564       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   15565       # Instead, shared libraries are loaded at an image base (0x10000000 by
   15566       # default) and relocated if they conflict, which is a slow very memory
   15567       # consuming and fragmenting process.  To avoid this, we pick a random,
   15568       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   15569       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   15570       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   15571       archive_expsym_cmds='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   15572       ;;
   15573 
   15574     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   15575       tmp_diet=no
   15576       if test linux-dietlibc = "$host_os"; then
   15577 	case $cc_basename in
   15578 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   15579 	esac
   15580       fi
   15581       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   15582 	 && test no = "$tmp_diet"
   15583       then
   15584 	tmp_addflag=' $pic_flag'
   15585 	tmp_sharedflag='-shared'
   15586 	case $cc_basename,$host_cpu in
   15587         pgcc*)				# Portland Group C compiler
   15588 	  whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
   15589 	  tmp_addflag=' $pic_flag'
   15590 	  ;;
   15591 	pgf77* | pgf90* | pgf95* | pgfortran*)
   15592 					# Portland Group f77 and f90 compilers
   15593 	  whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
   15594 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   15595 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   15596 	  tmp_addflag=' -i_dynamic' ;;
   15597 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   15598 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   15599 	ifc* | ifort*)			# Intel Fortran compiler
   15600 	  tmp_addflag=' -nofor_main' ;;
   15601 	lf95*)				# Lahey Fortran 8.1
   15602 	  whole_archive_flag_spec=
   15603 	  tmp_sharedflag='--shared' ;;
   15604         nagfor*)                        # NAGFOR 5.3
   15605           tmp_sharedflag='-Wl,-shared' ;;
   15606 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   15607 	  tmp_sharedflag='-qmkshrobj'
   15608 	  tmp_addflag= ;;
   15609 	nvcc*)	# Cuda Compiler Driver 2.2
   15610 	  whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
   15611 	  compiler_needs_object=yes
   15612 	  ;;
   15613 	esac
   15614 	case `$CC -V 2>&1 | sed 5q` in
   15615 	*Sun\ C*)			# Sun C 5.9
   15616 	  whole_archive_flag_spec='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
   15617 	  compiler_needs_object=yes
   15618 	  tmp_sharedflag='-G' ;;
   15619 	*Sun\ F*)			# Sun Fortran 8.3
   15620 	  tmp_sharedflag='-G' ;;
   15621 	esac
   15622 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15623 
   15624         if test yes = "$supports_anon_versioning"; then
   15625           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   15626             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   15627             echo "local: *; };" >> $output_objdir/$libname.ver~
   15628             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   15629         fi
   15630 
   15631 	case $cc_basename in
   15632 	tcc*)
   15633 	  export_dynamic_flag_spec='-rdynamic'
   15634 	  ;;
   15635 	xlf* | bgf* | bgxlf* | mpixlf*)
   15636 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   15637 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   15638 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   15639 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   15640 	  if test yes = "$supports_anon_versioning"; then
   15641 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   15642               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   15643               echo "local: *; };" >> $output_objdir/$libname.ver~
   15644               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   15645 	  fi
   15646 	  ;;
   15647 	esac
   15648       else
   15649         ld_shlibs=no
   15650       fi
   15651       ;;
   15652 
   15653     netbsd*)
   15654       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   15655 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   15656 	wlarc=
   15657       else
   15658 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15659 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   15660       fi
   15661       ;;
   15662 
   15663     solaris*)
   15664       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   15665 	ld_shlibs=no
   15666 	cat <<_LT_EOF 1>&2
   15667 
   15668 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   15669 *** create shared libraries on Solaris systems.  Therefore, libtool
   15670 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15671 *** binutils to release 2.9.1 or newer.  Another option is to modify
   15672 *** your PATH or compiler configuration so that the native linker is
   15673 *** used, and then restart.
   15674 
   15675 _LT_EOF
   15676       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15677 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15678 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   15679       else
   15680 	ld_shlibs=no
   15681       fi
   15682       ;;
   15683 
   15684     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   15685       case `$LD -v 2>&1` in
   15686         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   15687 	ld_shlibs=no
   15688 	cat <<_LT_EOF 1>&2
   15689 
   15690 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   15691 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   15692 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15693 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   15694 *** your PATH or compiler configuration so that the native linker is
   15695 *** used, and then restart.
   15696 
   15697 _LT_EOF
   15698 	;;
   15699 	*)
   15700 	  # For security reasons, it is highly recommended that you always
   15701 	  # use absolute paths for naming shared libraries, and exclude the
   15702 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   15703 	  # requires that you compile everything twice, which is a pain.
   15704 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15705 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   15706 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15707 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   15708 	  else
   15709 	    ld_shlibs=no
   15710 	  fi
   15711 	;;
   15712       esac
   15713       ;;
   15714 
   15715     sunos4*)
   15716       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15717       wlarc=
   15718       hardcode_direct=yes
   15719       hardcode_shlibpath_var=no
   15720       ;;
   15721 
   15722     *)
   15723       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15724 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15725 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   15726       else
   15727 	ld_shlibs=no
   15728       fi
   15729       ;;
   15730     esac
   15731 
   15732     if test no = "$ld_shlibs"; then
   15733       runpath_var=
   15734       hardcode_libdir_flag_spec=
   15735       export_dynamic_flag_spec=
   15736       whole_archive_flag_spec=
   15737     fi
   15738   else
   15739     # PORTME fill in a description of your system's linker (not GNU ld)
   15740     case $host_os in
   15741     aix3*)
   15742       allow_undefined_flag=unsupported
   15743       always_export_symbols=yes
   15744       archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
   15745       # Note: this linker hardcodes the directories in LIBPATH if there
   15746       # are no directories specified by -L.
   15747       hardcode_minus_L=yes
   15748       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   15749 	# Neither direct hardcoding nor static linking is supported with a
   15750 	# broken collect2.
   15751 	hardcode_direct=unsupported
   15752       fi
   15753       ;;
   15754 
   15755     aix[4-9]*)
   15756       if test ia64 = "$host_cpu"; then
   15757 	# On IA64, the linker does run time linking by default, so we don't
   15758 	# have to do anything special.
   15759 	aix_use_runtimelinking=no
   15760 	exp_sym_flag='-Bexport'
   15761 	no_entry_flag=
   15762       else
   15763 	# If we're using GNU nm, then we don't want the "-C" option.
   15764 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   15765 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   15766 	# weak defined symbols like other global defined symbols, whereas
   15767 	# GNU nm marks them as "W".
   15768 	# While the 'weak' keyword is ignored in the Export File, we need
   15769 	# it in the Import File for the 'aix-soname' feature, so we have
   15770 	# to replace the "-B" option with "-P" for AIX nm.
   15771 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   15772 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
   15773 	else
   15774 	  export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
   15775 	fi
   15776 	aix_use_runtimelinking=no
   15777 
   15778 	# Test if we are trying to use run time linking or normal
   15779 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   15780 	# have runtime linking enabled, and use it for executables.
   15781 	# For shared libraries, we enable/disable runtime linking
   15782 	# depending on the kind of the shared library created -
   15783 	# when "with_aix_soname,aix_use_runtimelinking" is:
   15784 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   15785 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   15786 	#            lib.a           static archive
   15787 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   15788 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   15789 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   15790 	#            lib.a(lib.so.V) shared, rtl:no
   15791 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   15792 	#            lib.a           static archive
   15793 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   15794 	  for ld_flag in $LDFLAGS; do
   15795 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   15796 	    aix_use_runtimelinking=yes
   15797 	    break
   15798 	  fi
   15799 	  done
   15800 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   15801 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   15802 	    # so we don't have lib.a shared libs to link our executables.
   15803 	    # We have to force runtime linking in this case.
   15804 	    aix_use_runtimelinking=yes
   15805 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   15806 	  fi
   15807 	  ;;
   15808 	esac
   15809 
   15810 	exp_sym_flag='-bexport'
   15811 	no_entry_flag='-bnoentry'
   15812       fi
   15813 
   15814       # When large executables or shared objects are built, AIX ld can
   15815       # have problems creating the table of contents.  If linking a library
   15816       # or program results in "error TOC overflow" add -mminimal-toc to
   15817       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   15818       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   15819 
   15820       archive_cmds=''
   15821       hardcode_direct=yes
   15822       hardcode_direct_absolute=yes
   15823       hardcode_libdir_separator=':'
   15824       link_all_deplibs=yes
   15825       file_list_spec='$wl-f,'
   15826       case $with_aix_soname,$aix_use_runtimelinking in
   15827       aix,*) ;; # traditional, no import file
   15828       svr4,* | *,yes) # use import file
   15829 	# The Import File defines what to hardcode.
   15830 	hardcode_direct=no
   15831 	hardcode_direct_absolute=no
   15832 	;;
   15833       esac
   15834 
   15835       if test yes = "$GCC"; then
   15836 	case $host_os in aix4.[012]|aix4.[012].*)
   15837 	# We only want to do this on AIX 4.2 and lower, the check
   15838 	# below for broken collect2 doesn't work under 4.3+
   15839 	  collect2name=`$CC -print-prog-name=collect2`
   15840 	  if test -f "$collect2name" &&
   15841 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   15842 	  then
   15843 	  # We have reworked collect2
   15844 	  :
   15845 	  else
   15846 	  # We have old collect2
   15847 	  hardcode_direct=unsupported
   15848 	  # It fails to find uninstalled libraries when the uninstalled
   15849 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   15850 	  # to unsupported forces relinking
   15851 	  hardcode_minus_L=yes
   15852 	  hardcode_libdir_flag_spec='-L$libdir'
   15853 	  hardcode_libdir_separator=
   15854 	  fi
   15855 	  ;;
   15856 	esac
   15857 	shared_flag='-shared'
   15858 	if test yes = "$aix_use_runtimelinking"; then
   15859 	  shared_flag="$shared_flag "'$wl-G'
   15860 	fi
   15861 	# Need to ensure runtime linking is disabled for the traditional
   15862 	# shared library, or the linker may eventually find shared libraries
   15863 	# /with/ Import File - we do not want to mix them.
   15864 	shared_flag_aix='-shared'
   15865 	shared_flag_svr4='-shared $wl-G'
   15866       else
   15867 	# not using gcc
   15868 	if test ia64 = "$host_cpu"; then
   15869 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   15870 	# chokes on -Wl,-G. The following line is correct:
   15871 	  shared_flag='-G'
   15872 	else
   15873 	  if test yes = "$aix_use_runtimelinking"; then
   15874 	    shared_flag='$wl-G'
   15875 	  else
   15876 	    shared_flag='$wl-bM:SRE'
   15877 	  fi
   15878 	  shared_flag_aix='$wl-bM:SRE'
   15879 	  shared_flag_svr4='$wl-G'
   15880 	fi
   15881       fi
   15882 
   15883       export_dynamic_flag_spec='$wl-bexpall'
   15884       # It seems that -bexpall does not export symbols beginning with
   15885       # underscore (_), so it is better to generate a list of symbols to export.
   15886       always_export_symbols=yes
   15887       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   15888 	# Warning - without using the other runtime loading flags (-brtl),
   15889 	# -berok will link without error, but may produce a broken library.
   15890 	allow_undefined_flag='-berok'
   15891         # Determine the default libpath from the value encoded in an
   15892         # empty executable.
   15893         if test set = "${lt_cv_aix_libpath+set}"; then
   15894   aix_libpath=$lt_cv_aix_libpath
   15895 else
   15896   if ${lt_cv_aix_libpath_+:} false; then :
   15897   $as_echo_n "(cached) " >&6
   15898 else
   15899   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15900 /* end confdefs.h.  */
   15901 
   15902 int
   15903 main ()
   15904 {
   15905 
   15906   ;
   15907   return 0;
   15908 }
   15909 _ACEOF
   15910 if ac_fn_c_try_link "$LINENO"; then :
   15911 
   15912   lt_aix_libpath_sed='
   15913       /Import File Strings/,/^$/ {
   15914 	  /^0/ {
   15915 	      s/^0  *\([^ ]*\) *$/\1/
   15916 	      p
   15917 	  }
   15918       }'
   15919   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15920   # Check for a 64-bit object if we didn't find anything.
   15921   if test -z "$lt_cv_aix_libpath_"; then
   15922     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15923   fi
   15924 fi
   15925 rm -f core conftest.err conftest.$ac_objext \
   15926     conftest$ac_exeext conftest.$ac_ext
   15927   if test -z "$lt_cv_aix_libpath_"; then
   15928     lt_cv_aix_libpath_=/usr/lib:/lib
   15929   fi
   15930 
   15931 fi
   15932 
   15933   aix_libpath=$lt_cv_aix_libpath_
   15934 fi
   15935 
   15936         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   15937         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
   15938       else
   15939 	if test ia64 = "$host_cpu"; then
   15940 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   15941 	  allow_undefined_flag="-z nodefs"
   15942 	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"
   15943 	else
   15944 	 # Determine the default libpath from the value encoded in an
   15945 	 # empty executable.
   15946 	 if test set = "${lt_cv_aix_libpath+set}"; then
   15947   aix_libpath=$lt_cv_aix_libpath
   15948 else
   15949   if ${lt_cv_aix_libpath_+:} false; then :
   15950   $as_echo_n "(cached) " >&6
   15951 else
   15952   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15953 /* end confdefs.h.  */
   15954 
   15955 int
   15956 main ()
   15957 {
   15958 
   15959   ;
   15960   return 0;
   15961 }
   15962 _ACEOF
   15963 if ac_fn_c_try_link "$LINENO"; then :
   15964 
   15965   lt_aix_libpath_sed='
   15966       /Import File Strings/,/^$/ {
   15967 	  /^0/ {
   15968 	      s/^0  *\([^ ]*\) *$/\1/
   15969 	      p
   15970 	  }
   15971       }'
   15972   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15973   # Check for a 64-bit object if we didn't find anything.
   15974   if test -z "$lt_cv_aix_libpath_"; then
   15975     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15976   fi
   15977 fi
   15978 rm -f core conftest.err conftest.$ac_objext \
   15979     conftest$ac_exeext conftest.$ac_ext
   15980   if test -z "$lt_cv_aix_libpath_"; then
   15981     lt_cv_aix_libpath_=/usr/lib:/lib
   15982   fi
   15983 
   15984 fi
   15985 
   15986   aix_libpath=$lt_cv_aix_libpath_
   15987 fi
   15988 
   15989 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   15990 	  # Warning - without using the other run time loading flags,
   15991 	  # -berok will link without error, but may produce a broken library.
   15992 	  no_undefined_flag=' $wl-bernotok'
   15993 	  allow_undefined_flag=' $wl-berok'
   15994 	  if test yes = "$with_gnu_ld"; then
   15995 	    # We only use this code for GNU lds that support --whole-archive.
   15996 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   15997 	  else
   15998 	    # Exported symbols can be pulled into shared objects from archives
   15999 	    whole_archive_flag_spec='$convenience'
   16000 	  fi
   16001 	  archive_cmds_need_lc=yes
   16002 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   16003 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   16004 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   16005 	  if test svr4 != "$with_aix_soname"; then
   16006 	    # This is similar to how AIX traditionally builds its shared libraries.
   16007 	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
   16008 	  fi
   16009 	  if test aix != "$with_aix_soname"; then
   16010 	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
   16011 	  else
   16012 	    # used by -dlpreopen to get the symbols
   16013 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   16014 	  fi
   16015 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   16016 	fi
   16017       fi
   16018       ;;
   16019 
   16020     amigaos*)
   16021       case $host_cpu in
   16022       powerpc)
   16023             # see comment about AmigaOS4 .so support
   16024             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16025             archive_expsym_cmds=''
   16026         ;;
   16027       m68k)
   16028             archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
   16029             hardcode_libdir_flag_spec='-L$libdir'
   16030             hardcode_minus_L=yes
   16031         ;;
   16032       esac
   16033       ;;
   16034 
   16035     bsdi[45]*)
   16036       export_dynamic_flag_spec=-rdynamic
   16037       ;;
   16038 
   16039     cygwin* | mingw* | pw32* | cegcc*)
   16040       # When not using gcc, we currently assume that we are using
   16041       # Microsoft Visual C++.
   16042       # hardcode_libdir_flag_spec is actually meaningless, as there is
   16043       # no search path for DLLs.
   16044       case $cc_basename in
   16045       cl*)
   16046 	# Native MSVC
   16047 	hardcode_libdir_flag_spec=' '
   16048 	allow_undefined_flag=unsupported
   16049 	always_export_symbols=yes
   16050 	file_list_spec='@'
   16051 	# Tell ltmain to make .lib files, not .a files.
   16052 	libext=lib
   16053 	# Tell ltmain to make .dll files, not .so files.
   16054 	shrext_cmds=.dll
   16055 	# FIXME: Setting linknames here is a bad hack.
   16056 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   16057 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   16058             cp "$export_symbols" "$output_objdir/$soname.def";
   16059             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   16060           else
   16061             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   16062           fi~
   16063           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   16064           linknames='
   16065 	# The linker will not automatically build a static lib if we build a DLL.
   16066 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   16067 	enable_shared_with_static_runtimes=yes
   16068 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   16069 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   16070 	# Don't use ranlib
   16071 	old_postinstall_cmds='chmod 644 $oldlib'
   16072 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   16073           lt_tool_outputfile="@TOOL_OUTPUT@"~
   16074           case $lt_outputfile in
   16075             *.exe|*.EXE) ;;
   16076             *)
   16077               lt_outputfile=$lt_outputfile.exe
   16078               lt_tool_outputfile=$lt_tool_outputfile.exe
   16079               ;;
   16080           esac~
   16081           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   16082             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   16083             $RM "$lt_outputfile.manifest";
   16084           fi'
   16085 	;;
   16086       *)
   16087 	# Assume MSVC wrapper
   16088 	hardcode_libdir_flag_spec=' '
   16089 	allow_undefined_flag=unsupported
   16090 	# Tell ltmain to make .lib files, not .a files.
   16091 	libext=lib
   16092 	# Tell ltmain to make .dll files, not .so files.
   16093 	shrext_cmds=.dll
   16094 	# FIXME: Setting linknames here is a bad hack.
   16095 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   16096 	# The linker will automatically build a .lib file if we build a DLL.
   16097 	old_archive_from_new_cmds='true'
   16098 	# FIXME: Should let the user specify the lib program.
   16099 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   16100 	enable_shared_with_static_runtimes=yes
   16101 	;;
   16102       esac
   16103       ;;
   16104 
   16105     darwin* | rhapsody*)
   16106 
   16107 
   16108   archive_cmds_need_lc=no
   16109   hardcode_direct=no
   16110   hardcode_automatic=yes
   16111   hardcode_shlibpath_var=unsupported
   16112   if test yes = "$lt_cv_ld_force_load"; then
   16113     whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
   16114 
   16115   else
   16116     whole_archive_flag_spec=''
   16117   fi
   16118   link_all_deplibs=yes
   16119   allow_undefined_flag=$_lt_dar_allow_undefined
   16120   case $cc_basename in
   16121      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   16122      *) _lt_dar_can_shared=$GCC ;;
   16123   esac
   16124   if test yes = "$_lt_dar_can_shared"; then
   16125     output_verbose_link_cmd=func_echo_all
   16126     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   16127     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   16128     archive_expsym_cmds="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
   16129     module_expsym_cmds="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
   16130 
   16131   else
   16132   ld_shlibs=no
   16133   fi
   16134 
   16135       ;;
   16136 
   16137     dgux*)
   16138       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16139       hardcode_libdir_flag_spec='-L$libdir'
   16140       hardcode_shlibpath_var=no
   16141       ;;
   16142 
   16143     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   16144     # support.  Future versions do this automatically, but an explicit c++rt0.o
   16145     # does not break anything, and helps significantly (at the cost of a little
   16146     # extra space).
   16147     freebsd2.2*)
   16148       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   16149       hardcode_libdir_flag_spec='-R$libdir'
   16150       hardcode_direct=yes
   16151       hardcode_shlibpath_var=no
   16152       ;;
   16153 
   16154     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   16155     freebsd2.*)
   16156       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   16157       hardcode_direct=yes
   16158       hardcode_minus_L=yes
   16159       hardcode_shlibpath_var=no
   16160       ;;
   16161 
   16162     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   16163     freebsd* | dragonfly*)
   16164       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   16165       hardcode_libdir_flag_spec='-R$libdir'
   16166       hardcode_direct=yes
   16167       hardcode_shlibpath_var=no
   16168       ;;
   16169 
   16170     hpux9*)
   16171       if test yes = "$GCC"; then
   16172 	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
   16173       else
   16174 	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
   16175       fi
   16176       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   16177       hardcode_libdir_separator=:
   16178       hardcode_direct=yes
   16179 
   16180       # hardcode_minus_L: Not really in the search PATH,
   16181       # but as the default location of the library.
   16182       hardcode_minus_L=yes
   16183       export_dynamic_flag_spec='$wl-E'
   16184       ;;
   16185 
   16186     hpux10*)
   16187       if test yes,no = "$GCC,$with_gnu_ld"; then
   16188 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   16189       else
   16190 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   16191       fi
   16192       if test no = "$with_gnu_ld"; then
   16193 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   16194 	hardcode_libdir_separator=:
   16195 	hardcode_direct=yes
   16196 	hardcode_direct_absolute=yes
   16197 	export_dynamic_flag_spec='$wl-E'
   16198 	# hardcode_minus_L: Not really in the search PATH,
   16199 	# but as the default location of the library.
   16200 	hardcode_minus_L=yes
   16201       fi
   16202       ;;
   16203 
   16204     hpux11*)
   16205       if test yes,no = "$GCC,$with_gnu_ld"; then
   16206 	case $host_cpu in
   16207 	hppa*64*)
   16208 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   16209 	  ;;
   16210 	ia64*)
   16211 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   16212 	  ;;
   16213 	*)
   16214 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   16215 	  ;;
   16216 	esac
   16217       else
   16218 	case $host_cpu in
   16219 	hppa*64*)
   16220 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   16221 	  ;;
   16222 	ia64*)
   16223 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   16224 	  ;;
   16225 	*)
   16226 
   16227 	  # Older versions of the 11.00 compiler do not understand -b yet
   16228 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   16229 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   16230 $as_echo_n "checking if $CC understands -b... " >&6; }
   16231 if ${lt_cv_prog_compiler__b+:} false; then :
   16232   $as_echo_n "(cached) " >&6
   16233 else
   16234   lt_cv_prog_compiler__b=no
   16235    save_LDFLAGS=$LDFLAGS
   16236    LDFLAGS="$LDFLAGS -b"
   16237    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   16238    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   16239      # The linker can only warn and ignore the option if not recognized
   16240      # So say no if there are warnings
   16241      if test -s conftest.err; then
   16242        # Append any errors to the config.log.
   16243        cat conftest.err 1>&5
   16244        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   16245        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16246        if diff conftest.exp conftest.er2 >/dev/null; then
   16247          lt_cv_prog_compiler__b=yes
   16248        fi
   16249      else
   16250        lt_cv_prog_compiler__b=yes
   16251      fi
   16252    fi
   16253    $RM -r conftest*
   16254    LDFLAGS=$save_LDFLAGS
   16255 
   16256 fi
   16257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   16258 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   16259 
   16260 if test yes = "$lt_cv_prog_compiler__b"; then
   16261     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   16262 else
   16263     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   16264 fi
   16265 
   16266 	  ;;
   16267 	esac
   16268       fi
   16269       if test no = "$with_gnu_ld"; then
   16270 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   16271 	hardcode_libdir_separator=:
   16272 
   16273 	case $host_cpu in
   16274 	hppa*64*|ia64*)
   16275 	  hardcode_direct=no
   16276 	  hardcode_shlibpath_var=no
   16277 	  ;;
   16278 	*)
   16279 	  hardcode_direct=yes
   16280 	  hardcode_direct_absolute=yes
   16281 	  export_dynamic_flag_spec='$wl-E'
   16282 
   16283 	  # hardcode_minus_L: Not really in the search PATH,
   16284 	  # but as the default location of the library.
   16285 	  hardcode_minus_L=yes
   16286 	  ;;
   16287 	esac
   16288       fi
   16289       ;;
   16290 
   16291     irix5* | irix6* | nonstopux*)
   16292       if test yes = "$GCC"; then
   16293 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
   16294 	# Try to use the -exported_symbol ld option, if it does not
   16295 	# work, assume that -exports_file does not work either and
   16296 	# implicitly export all symbols.
   16297 	# This should be the same for all languages, so no per-tag cache variable.
   16298 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   16299 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   16300 if ${lt_cv_irix_exported_symbol+:} false; then :
   16301   $as_echo_n "(cached) " >&6
   16302 else
   16303   save_LDFLAGS=$LDFLAGS
   16304 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   16305 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16306 /* end confdefs.h.  */
   16307 int foo (void) { return 0; }
   16308 _ACEOF
   16309 if ac_fn_c_try_link "$LINENO"; then :
   16310   lt_cv_irix_exported_symbol=yes
   16311 else
   16312   lt_cv_irix_exported_symbol=no
   16313 fi
   16314 rm -f core conftest.err conftest.$ac_objext \
   16315     conftest$ac_exeext conftest.$ac_ext
   16316            LDFLAGS=$save_LDFLAGS
   16317 fi
   16318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   16319 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   16320 	if test yes = "$lt_cv_irix_exported_symbol"; then
   16321           archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib'
   16322 	fi
   16323       else
   16324 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
   16325 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib'
   16326       fi
   16327       archive_cmds_need_lc='no'
   16328       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16329       hardcode_libdir_separator=:
   16330       inherit_rpath=yes
   16331       link_all_deplibs=yes
   16332       ;;
   16333 
   16334     linux*)
   16335       case $cc_basename in
   16336       tcc*)
   16337 	# Fabrice Bellard et al's Tiny C Compiler
   16338 	ld_shlibs=yes
   16339 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   16340 	;;
   16341       esac
   16342       ;;
   16343 
   16344     netbsd*)
   16345       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   16346 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   16347       else
   16348 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   16349       fi
   16350       hardcode_libdir_flag_spec='-R$libdir'
   16351       hardcode_direct=yes
   16352       hardcode_shlibpath_var=no
   16353       ;;
   16354 
   16355     newsos6)
   16356       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16357       hardcode_direct=yes
   16358       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16359       hardcode_libdir_separator=:
   16360       hardcode_shlibpath_var=no
   16361       ;;
   16362 
   16363     *nto* | *qnx*)
   16364       ;;
   16365 
   16366     openbsd* | bitrig*)
   16367       if test -f /usr/libexec/ld.so; then
   16368 	hardcode_direct=yes
   16369 	hardcode_shlibpath_var=no
   16370 	hardcode_direct_absolute=yes
   16371 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   16372 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   16373 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   16374 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   16375 	  export_dynamic_flag_spec='$wl-E'
   16376 	else
   16377 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   16378 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   16379 	fi
   16380       else
   16381 	ld_shlibs=no
   16382       fi
   16383       ;;
   16384 
   16385     os2*)
   16386       hardcode_libdir_flag_spec='-L$libdir'
   16387       hardcode_minus_L=yes
   16388       allow_undefined_flag=unsupported
   16389       shrext_cmds=.dll
   16390       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   16391 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   16392 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   16393 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   16394 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   16395 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   16396 	emximp -o $lib $output_objdir/$libname.def'
   16397       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   16398 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   16399 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   16400 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   16401 	prefix_cmds="$SED"~
   16402 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   16403 	  prefix_cmds="$prefix_cmds -e 1d";
   16404 	fi~
   16405 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   16406 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   16407 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   16408 	emximp -o $lib $output_objdir/$libname.def'
   16409       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   16410       enable_shared_with_static_runtimes=yes
   16411       ;;
   16412 
   16413     osf3*)
   16414       if test yes = "$GCC"; then
   16415 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   16416 	archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
   16417       else
   16418 	allow_undefined_flag=' -expect_unresolved \*'
   16419 	archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
   16420       fi
   16421       archive_cmds_need_lc='no'
   16422       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16423       hardcode_libdir_separator=:
   16424       ;;
   16425 
   16426     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   16427       if test yes = "$GCC"; then
   16428 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   16429 	archive_cmds='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
   16430 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16431       else
   16432 	allow_undefined_flag=' -expect_unresolved \*'
   16433 	archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
   16434 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
   16435           $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp'
   16436 
   16437 	# Both c and cxx compiler support -rpath directly
   16438 	hardcode_libdir_flag_spec='-rpath $libdir'
   16439       fi
   16440       archive_cmds_need_lc='no'
   16441       hardcode_libdir_separator=:
   16442       ;;
   16443 
   16444     solaris*)
   16445       no_undefined_flag=' -z defs'
   16446       if test yes = "$GCC"; then
   16447 	wlarc='$wl'
   16448 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   16449 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   16450           $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   16451       else
   16452 	case `$CC -V 2>&1` in
   16453 	*"Compilers 5.0"*)
   16454 	  wlarc=''
   16455 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16456 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   16457             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   16458 	  ;;
   16459 	*)
   16460 	  wlarc='$wl'
   16461 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   16462 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   16463             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   16464 	  ;;
   16465 	esac
   16466       fi
   16467       hardcode_libdir_flag_spec='-R$libdir'
   16468       hardcode_shlibpath_var=no
   16469       case $host_os in
   16470       solaris2.[0-5] | solaris2.[0-5].*) ;;
   16471       *)
   16472 	# The compiler driver will combine and reorder linker options,
   16473 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   16474 	# but is careful enough not to reorder.
   16475 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   16476 	if test yes = "$GCC"; then
   16477 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   16478 	else
   16479 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   16480 	fi
   16481 	;;
   16482       esac
   16483       link_all_deplibs=yes
   16484       ;;
   16485 
   16486     sunos4*)
   16487       if test sequent = "$host_vendor"; then
   16488 	# Use $CC to link under sequent, because it throws in some extra .o
   16489 	# files that make .init and .fini sections work.
   16490 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   16491       else
   16492 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   16493       fi
   16494       hardcode_libdir_flag_spec='-L$libdir'
   16495       hardcode_direct=yes
   16496       hardcode_minus_L=yes
   16497       hardcode_shlibpath_var=no
   16498       ;;
   16499 
   16500     sysv4)
   16501       case $host_vendor in
   16502 	sni)
   16503 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16504 	  hardcode_direct=yes # is this really true???
   16505 	;;
   16506 	siemens)
   16507 	  ## LD is ld it makes a PLAMLIB
   16508 	  ## CC just makes a GrossModule.
   16509 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   16510 	  reload_cmds='$CC -r -o $output$reload_objs'
   16511 	  hardcode_direct=no
   16512         ;;
   16513 	motorola)
   16514 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16515 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   16516 	;;
   16517       esac
   16518       runpath_var='LD_RUN_PATH'
   16519       hardcode_shlibpath_var=no
   16520       ;;
   16521 
   16522     sysv4.3*)
   16523       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16524       hardcode_shlibpath_var=no
   16525       export_dynamic_flag_spec='-Bexport'
   16526       ;;
   16527 
   16528     sysv4*MP*)
   16529       if test -d /usr/nec; then
   16530 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16531 	hardcode_shlibpath_var=no
   16532 	runpath_var=LD_RUN_PATH
   16533 	hardcode_runpath_var=yes
   16534 	ld_shlibs=yes
   16535       fi
   16536       ;;
   16537 
   16538     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   16539       no_undefined_flag='$wl-z,text'
   16540       archive_cmds_need_lc=no
   16541       hardcode_shlibpath_var=no
   16542       runpath_var='LD_RUN_PATH'
   16543 
   16544       if test yes = "$GCC"; then
   16545 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16546 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16547       else
   16548 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16549 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16550       fi
   16551       ;;
   16552 
   16553     sysv5* | sco3.2v5* | sco5v6*)
   16554       # Note: We CANNOT use -z defs as we might desire, because we do not
   16555       # link with -lc, and that would cause any symbols used from libc to
   16556       # always be unresolved, which means just about no library would
   16557       # ever link correctly.  If we're not using GNU ld we use -z text
   16558       # though, which does catch some bad symbols but isn't as heavy-handed
   16559       # as -z defs.
   16560       no_undefined_flag='$wl-z,text'
   16561       allow_undefined_flag='$wl-z,nodefs'
   16562       archive_cmds_need_lc=no
   16563       hardcode_shlibpath_var=no
   16564       hardcode_libdir_flag_spec='$wl-R,$libdir'
   16565       hardcode_libdir_separator=':'
   16566       link_all_deplibs=yes
   16567       export_dynamic_flag_spec='$wl-Bexport'
   16568       runpath_var='LD_RUN_PATH'
   16569 
   16570       if test yes = "$GCC"; then
   16571 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16572 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16573       else
   16574 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16575 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16576       fi
   16577       ;;
   16578 
   16579     uts4*)
   16580       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16581       hardcode_libdir_flag_spec='-L$libdir'
   16582       hardcode_shlibpath_var=no
   16583       ;;
   16584 
   16585     *)
   16586       ld_shlibs=no
   16587       ;;
   16588     esac
   16589 
   16590     if test sni = "$host_vendor"; then
   16591       case $host in
   16592       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   16593 	export_dynamic_flag_spec='$wl-Blargedynsym'
   16594 	;;
   16595       esac
   16596     fi
   16597   fi
   16598 
   16599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   16600 $as_echo "$ld_shlibs" >&6; }
   16601 test no = "$ld_shlibs" && can_build_shared=no
   16602 
   16603 with_gnu_ld=$with_gnu_ld
   16604 
   16605 
   16606 
   16607 
   16608 
   16609 
   16610 
   16611 
   16612 
   16613 
   16614 
   16615 
   16616 
   16617 
   16618 
   16619 #
   16620 # Do we need to explicitly link libc?
   16621 #
   16622 case "x$archive_cmds_need_lc" in
   16623 x|xyes)
   16624   # Assume -lc should be added
   16625   archive_cmds_need_lc=yes
   16626 
   16627   if test yes,yes = "$GCC,$enable_shared"; then
   16628     case $archive_cmds in
   16629     *'~'*)
   16630       # FIXME: we may have to deal with multi-command sequences.
   16631       ;;
   16632     '$CC '*)
   16633       # Test whether the compiler implicitly links with -lc since on some
   16634       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   16635       # to ld, don't add -lc before -lgcc.
   16636       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   16637 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   16638 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   16639   $as_echo_n "(cached) " >&6
   16640 else
   16641   $RM conftest*
   16642 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16643 
   16644 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   16645   (eval $ac_compile) 2>&5
   16646   ac_status=$?
   16647   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16648   test $ac_status = 0; } 2>conftest.err; then
   16649 	  soname=conftest
   16650 	  lib=conftest
   16651 	  libobjs=conftest.$ac_objext
   16652 	  deplibs=
   16653 	  wl=$lt_prog_compiler_wl
   16654 	  pic_flag=$lt_prog_compiler_pic
   16655 	  compiler_flags=-v
   16656 	  linker_flags=-v
   16657 	  verstring=
   16658 	  output_objdir=.
   16659 	  libname=conftest
   16660 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   16661 	  allow_undefined_flag=
   16662 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   16663   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   16664   ac_status=$?
   16665   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16666   test $ac_status = 0; }
   16667 	  then
   16668 	    lt_cv_archive_cmds_need_lc=no
   16669 	  else
   16670 	    lt_cv_archive_cmds_need_lc=yes
   16671 	  fi
   16672 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   16673 	else
   16674 	  cat conftest.err 1>&5
   16675 	fi
   16676 	$RM conftest*
   16677 
   16678 fi
   16679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   16680 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   16681       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   16682       ;;
   16683     esac
   16684   fi
   16685   ;;
   16686 esac
   16687 
   16688 
   16689 
   16690 
   16691 
   16692 
   16693 
   16694 
   16695 
   16696 
   16697 
   16698 
   16699 
   16700 
   16701 
   16702 
   16703 
   16704 
   16705 
   16706 
   16707 
   16708 
   16709 
   16710 
   16711 
   16712 
   16713 
   16714 
   16715 
   16716 
   16717 
   16718 
   16719 
   16720 
   16721 
   16722 
   16723 
   16724 
   16725 
   16726 
   16727 
   16728 
   16729 
   16730 
   16731 
   16732 
   16733 
   16734 
   16735 
   16736 
   16737 
   16738 
   16739 
   16740 
   16741 
   16742 
   16743 
   16744 
   16745 
   16746 
   16747 
   16748 
   16749 
   16750 
   16751 
   16752 
   16753 
   16754 
   16755 
   16756 
   16757 
   16758 
   16759 
   16760 
   16761 
   16762 
   16763 
   16764 
   16765 
   16766 
   16767 
   16768 
   16769 
   16770 
   16771 
   16772 
   16773 
   16774 
   16775 
   16776 
   16777 
   16778 
   16779 
   16780 
   16781 
   16782 
   16783 
   16784 
   16785 
   16786 
   16787 
   16788 
   16789 
   16790 
   16791 
   16792 
   16793 
   16794 
   16795 
   16796 
   16797 
   16798 
   16799 
   16800 
   16801 
   16802 
   16803 
   16804 
   16805 
   16806 
   16807 
   16808 
   16809 
   16810 
   16811 
   16812 
   16813 
   16814 
   16815 
   16816 
   16817 
   16818 
   16819 
   16820 
   16821 
   16822 
   16823 
   16824 
   16825 
   16826 
   16827 
   16828 
   16829 
   16830 
   16831 
   16832 
   16833 
   16834 
   16835 
   16836 
   16837 
   16838 
   16839   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   16840 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   16841 
   16842 if test yes = "$GCC"; then
   16843   case $host_os in
   16844     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   16845     *) lt_awk_arg='/^libraries:/' ;;
   16846   esac
   16847   case $host_os in
   16848     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   16849     *) lt_sed_strip_eq='s|=/|/|g' ;;
   16850   esac
   16851   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   16852   case $lt_search_path_spec in
   16853   *\;*)
   16854     # if the path contains ";" then we assume it to be the separator
   16855     # otherwise default to the standard path separator (i.e. ":") - it is
   16856     # assumed that no part of a normal pathname contains ";" but that should
   16857     # okay in the real world where ";" in dirpaths is itself problematic.
   16858     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   16859     ;;
   16860   *)
   16861     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   16862     ;;
   16863   esac
   16864   # Ok, now we have the path, separated by spaces, we can step through it
   16865   # and add multilib dir if necessary...
   16866   lt_tmp_lt_search_path_spec=
   16867   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   16868   # ...but if some path component already ends with the multilib dir we assume
   16869   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   16870   case "$lt_multi_os_dir; $lt_search_path_spec " in
   16871   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   16872     lt_multi_os_dir=
   16873     ;;
   16874   esac
   16875   for lt_sys_path in $lt_search_path_spec; do
   16876     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   16877       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   16878     elif test -n "$lt_multi_os_dir"; then
   16879       test -d "$lt_sys_path" && \
   16880 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   16881     fi
   16882   done
   16883   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   16884 BEGIN {RS = " "; FS = "/|\n";} {
   16885   lt_foo = "";
   16886   lt_count = 0;
   16887   for (lt_i = NF; lt_i > 0; lt_i--) {
   16888     if ($lt_i != "" && $lt_i != ".") {
   16889       if ($lt_i == "..") {
   16890         lt_count++;
   16891       } else {
   16892         if (lt_count == 0) {
   16893           lt_foo = "/" $lt_i lt_foo;
   16894         } else {
   16895           lt_count--;
   16896         }
   16897       }
   16898     }
   16899   }
   16900   if (lt_foo != "") { lt_freq[lt_foo]++; }
   16901   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   16902 }'`
   16903   # AWK program above erroneously prepends '/' to C:/dos/paths
   16904   # for these hosts.
   16905   case $host_os in
   16906     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   16907       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   16908   esac
   16909   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   16910 else
   16911   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   16912 fi
   16913 library_names_spec=
   16914 libname_spec='lib$name'
   16915 soname_spec=
   16916 shrext_cmds=.so
   16917 postinstall_cmds=
   16918 postuninstall_cmds=
   16919 finish_cmds=
   16920 finish_eval=
   16921 shlibpath_var=
   16922 shlibpath_overrides_runpath=unknown
   16923 version_type=none
   16924 dynamic_linker="$host_os ld.so"
   16925 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   16926 need_lib_prefix=unknown
   16927 hardcode_into_libs=no
   16928 
   16929 # when you set need_version to no, make sure it does not cause -set_version
   16930 # flags to be left without arguments
   16931 need_version=unknown
   16932 
   16933 
   16934 
   16935 case $host_os in
   16936 aix3*)
   16937   version_type=linux # correct to gnu/linux during the next big refactor
   16938   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   16939   shlibpath_var=LIBPATH
   16940 
   16941   # AIX 3 has no versioning support, so we append a major version to the name.
   16942   soname_spec='$libname$release$shared_ext$major'
   16943   ;;
   16944 
   16945 aix[4-9]*)
   16946   version_type=linux # correct to gnu/linux during the next big refactor
   16947   need_lib_prefix=no
   16948   need_version=no
   16949   hardcode_into_libs=yes
   16950   if test ia64 = "$host_cpu"; then
   16951     # AIX 5 supports IA64
   16952     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   16953     shlibpath_var=LD_LIBRARY_PATH
   16954   else
   16955     # With GCC up to 2.95.x, collect2 would create an import file
   16956     # for dependence libraries.  The import file would start with
   16957     # the line '#! .'.  This would cause the generated library to
   16958     # depend on '.', always an invalid library.  This was fixed in
   16959     # development snapshots of GCC prior to 3.0.
   16960     case $host_os in
   16961       aix4 | aix4.[01] | aix4.[01].*)
   16962       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   16963 	   echo ' yes '
   16964 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   16965 	:
   16966       else
   16967 	can_build_shared=no
   16968       fi
   16969       ;;
   16970     esac
   16971     # Using Import Files as archive members, it is possible to support
   16972     # filename-based versioning of shared library archives on AIX. While
   16973     # this would work for both with and without runtime linking, it will
   16974     # prevent static linking of such archives. So we do filename-based
   16975     # shared library versioning with .so extension only, which is used
   16976     # when both runtime linking and shared linking is enabled.
   16977     # Unfortunately, runtime linking may impact performance, so we do
   16978     # not want this to be the default eventually. Also, we use the
   16979     # versioned .so libs for executables only if there is the -brtl
   16980     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   16981     # To allow for filename-based versioning support, we need to create
   16982     # libNAME.so.V as an archive file, containing:
   16983     # *) an Import File, referring to the versioned filename of the
   16984     #    archive as well as the shared archive member, telling the
   16985     #    bitwidth (32 or 64) of that shared object, and providing the
   16986     #    list of exported symbols of that shared object, eventually
   16987     #    decorated with the 'weak' keyword
   16988     # *) the shared object with the F_LOADONLY flag set, to really avoid
   16989     #    it being seen by the linker.
   16990     # At run time we better use the real file rather than another symlink,
   16991     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   16992 
   16993     case $with_aix_soname,$aix_use_runtimelinking in
   16994     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   16995     # soname into executable. Probably we can add versioning support to
   16996     # collect2, so additional links can be useful in future.
   16997     aix,yes) # traditional libtool
   16998       dynamic_linker='AIX unversionable lib.so'
   16999       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   17000       # instead of lib<name>.a to let people know that these are not
   17001       # typical AIX shared libraries.
   17002       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17003       ;;
   17004     aix,no) # traditional AIX only
   17005       dynamic_linker='AIX lib.a(lib.so.V)'
   17006       # We preserve .a as extension for shared libraries through AIX4.2
   17007       # and later when we are not doing run time linking.
   17008       library_names_spec='$libname$release.a $libname.a'
   17009       soname_spec='$libname$release$shared_ext$major'
   17010       ;;
   17011     svr4,*) # full svr4 only
   17012       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   17013       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   17014       # We do not specify a path in Import Files, so LIBPATH fires.
   17015       shlibpath_overrides_runpath=yes
   17016       ;;
   17017     *,yes) # both, prefer svr4
   17018       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   17019       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   17020       # unpreferred sharedlib libNAME.a needs extra handling
   17021       postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
   17022       postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
   17023       # We do not specify a path in Import Files, so LIBPATH fires.
   17024       shlibpath_overrides_runpath=yes
   17025       ;;
   17026     *,no) # both, prefer aix
   17027       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   17028       library_names_spec='$libname$release.a $libname.a'
   17029       soname_spec='$libname$release$shared_ext$major'
   17030       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   17031       postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
   17032       postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
   17033       ;;
   17034     esac
   17035     shlibpath_var=LIBPATH
   17036   fi
   17037   ;;
   17038 
   17039 amigaos*)
   17040   case $host_cpu in
   17041   powerpc)
   17042     # Since July 2007 AmigaOS4 officially supports .so libraries.
   17043     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   17044     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17045     ;;
   17046   m68k)
   17047     library_names_spec='$libname.ixlibrary $libname.a'
   17048     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   17049     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
   17050     ;;
   17051   esac
   17052   ;;
   17053 
   17054 beos*)
   17055   library_names_spec='$libname$shared_ext'
   17056   dynamic_linker="$host_os ld.so"
   17057   shlibpath_var=LIBRARY_PATH
   17058   ;;
   17059 
   17060 bsdi[45]*)
   17061   version_type=linux # correct to gnu/linux during the next big refactor
   17062   need_version=no
   17063   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17064   soname_spec='$libname$release$shared_ext$major'
   17065   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   17066   shlibpath_var=LD_LIBRARY_PATH
   17067   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   17068   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   17069   # the default ld.so.conf also contains /usr/contrib/lib and
   17070   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   17071   # libtool to hard-code these into programs
   17072   ;;
   17073 
   17074 cygwin* | mingw* | pw32* | cegcc*)
   17075   version_type=windows
   17076   shrext_cmds=.dll
   17077   need_version=no
   17078   need_lib_prefix=no
   17079 
   17080   case $GCC,$cc_basename in
   17081   yes,*)
   17082     # gcc
   17083     library_names_spec='$libname.dll.a'
   17084     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   17085     postinstall_cmds='base_file=`basename \$file`~
   17086       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   17087       dldir=$destdir/`dirname \$dlpath`~
   17088       test -d \$dldir || mkdir -p \$dldir~
   17089       $install_prog $dir/$dlname \$dldir/$dlname~
   17090       chmod a+x \$dldir/$dlname~
   17091       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   17092         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   17093       fi'
   17094     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   17095       dlpath=$dir/\$dldll~
   17096        $RM \$dlpath'
   17097     shlibpath_overrides_runpath=yes
   17098 
   17099     case $host_os in
   17100     cygwin*)
   17101       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   17102       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17103 
   17104       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   17105       ;;
   17106     mingw* | cegcc*)
   17107       # MinGW DLLs use traditional 'lib' prefix
   17108       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17109       ;;
   17110     pw32*)
   17111       # pw32 DLLs use 'pw' prefix rather than 'lib'
   17112       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17113       ;;
   17114     esac
   17115     dynamic_linker='Win32 ld.exe'
   17116     ;;
   17117 
   17118   *,cl*)
   17119     # Native MSVC
   17120     libname_spec='$name'
   17121     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17122     library_names_spec='$libname.dll.lib'
   17123 
   17124     case $build_os in
   17125     mingw*)
   17126       sys_lib_search_path_spec=
   17127       lt_save_ifs=$IFS
   17128       IFS=';'
   17129       for lt_path in $LIB
   17130       do
   17131         IFS=$lt_save_ifs
   17132         # Let DOS variable expansion print the short 8.3 style file name.
   17133         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   17134         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   17135       done
   17136       IFS=$lt_save_ifs
   17137       # Convert to MSYS style.
   17138       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   17139       ;;
   17140     cygwin*)
   17141       # Convert to unix form, then to dos form, then back to unix form
   17142       # but this time dos style (no spaces!) so that the unix form looks
   17143       # like /cygdrive/c/PROGRA~1:/cygdr...
   17144       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   17145       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   17146       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   17147       ;;
   17148     *)
   17149       sys_lib_search_path_spec=$LIB
   17150       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   17151         # It is most probably a Windows format PATH.
   17152         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   17153       else
   17154         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   17155       fi
   17156       # FIXME: find the short name or the path components, as spaces are
   17157       # common. (e.g. "Program Files" -> "PROGRA~1")
   17158       ;;
   17159     esac
   17160 
   17161     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   17162     postinstall_cmds='base_file=`basename \$file`~
   17163       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   17164       dldir=$destdir/`dirname \$dlpath`~
   17165       test -d \$dldir || mkdir -p \$dldir~
   17166       $install_prog $dir/$dlname \$dldir/$dlname'
   17167     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   17168       dlpath=$dir/\$dldll~
   17169        $RM \$dlpath'
   17170     shlibpath_overrides_runpath=yes
   17171     dynamic_linker='Win32 link.exe'
   17172     ;;
   17173 
   17174   *)
   17175     # Assume MSVC wrapper
   17176     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   17177     dynamic_linker='Win32 ld.exe'
   17178     ;;
   17179   esac
   17180   # FIXME: first we should search . and the directory the executable is in
   17181   shlibpath_var=PATH
   17182   ;;
   17183 
   17184 darwin* | rhapsody*)
   17185   dynamic_linker="$host_os dyld"
   17186   version_type=darwin
   17187   need_lib_prefix=no
   17188   need_version=no
   17189   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   17190   soname_spec='$libname$release$major$shared_ext'
   17191   shlibpath_overrides_runpath=yes
   17192   shlibpath_var=DYLD_LIBRARY_PATH
   17193   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   17194 
   17195   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   17196   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   17197   ;;
   17198 
   17199 dgux*)
   17200   version_type=linux # correct to gnu/linux during the next big refactor
   17201   need_lib_prefix=no
   17202   need_version=no
   17203   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17204   soname_spec='$libname$release$shared_ext$major'
   17205   shlibpath_var=LD_LIBRARY_PATH
   17206   ;;
   17207 
   17208 freebsd* | dragonfly*)
   17209   # DragonFly does not have aout.  When/if they implement a new
   17210   # versioning mechanism, adjust this.
   17211   if test -x /usr/bin/objformat; then
   17212     objformat=`/usr/bin/objformat`
   17213   else
   17214     case $host_os in
   17215     freebsd[23].*) objformat=aout ;;
   17216     *) objformat=elf ;;
   17217     esac
   17218   fi
   17219   # Handle Gentoo/FreeBSD as it was Linux
   17220   case $host_vendor in
   17221     gentoo)
   17222       version_type=linux ;;
   17223     *)
   17224       version_type=freebsd-$objformat ;;
   17225   esac
   17226 
   17227   case $version_type in
   17228     freebsd-elf*)
   17229       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17230       soname_spec='$libname$release$shared_ext$major'
   17231       need_version=no
   17232       need_lib_prefix=no
   17233       ;;
   17234     freebsd-*)
   17235       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   17236       need_version=yes
   17237       ;;
   17238     linux)
   17239       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   17240       soname_spec='${libname}${release}${shared_ext}$major'
   17241       need_lib_prefix=no
   17242       need_version=no
   17243       ;;
   17244   esac
   17245   shlibpath_var=LD_LIBRARY_PATH
   17246   case $host_os in
   17247   freebsd2.*)
   17248     shlibpath_overrides_runpath=yes
   17249     ;;
   17250   freebsd3.[01]* | freebsdelf3.[01]*)
   17251     shlibpath_overrides_runpath=yes
   17252     hardcode_into_libs=yes
   17253     ;;
   17254   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   17255   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   17256     shlibpath_overrides_runpath=no
   17257     hardcode_into_libs=yes
   17258     ;;
   17259   *) # from 4.6 on, and DragonFly
   17260     shlibpath_overrides_runpath=yes
   17261     hardcode_into_libs=yes
   17262     ;;
   17263   esac
   17264   ;;
   17265 
   17266 haiku*)
   17267   version_type=linux # correct to gnu/linux during the next big refactor
   17268   need_lib_prefix=no
   17269   need_version=no
   17270   dynamic_linker="$host_os runtime_loader"
   17271   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17272   soname_spec='$libname$release$shared_ext$major'
   17273   shlibpath_var=LIBRARY_PATH
   17274   shlibpath_overrides_runpath=no
   17275   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   17276   hardcode_into_libs=yes
   17277   ;;
   17278 
   17279 hpux9* | hpux10* | hpux11*)
   17280   # Give a soname corresponding to the major version so that dld.sl refuses to
   17281   # link against other versions.
   17282   version_type=sunos
   17283   need_lib_prefix=no
   17284   need_version=no
   17285   case $host_cpu in
   17286   ia64*)
   17287     shrext_cmds='.so'
   17288     hardcode_into_libs=yes
   17289     dynamic_linker="$host_os dld.so"
   17290     shlibpath_var=LD_LIBRARY_PATH
   17291     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   17292     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17293     soname_spec='$libname$release$shared_ext$major'
   17294     if test 32 = "$HPUX_IA64_MODE"; then
   17295       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   17296       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   17297     else
   17298       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   17299       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   17300     fi
   17301     ;;
   17302   hppa*64*)
   17303     shrext_cmds='.sl'
   17304     hardcode_into_libs=yes
   17305     dynamic_linker="$host_os dld.sl"
   17306     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   17307     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   17308     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17309     soname_spec='$libname$release$shared_ext$major'
   17310     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   17311     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17312     ;;
   17313   *)
   17314     shrext_cmds='.sl'
   17315     dynamic_linker="$host_os dld.sl"
   17316     shlibpath_var=SHLIB_PATH
   17317     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   17318     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17319     soname_spec='$libname$release$shared_ext$major'
   17320     ;;
   17321   esac
   17322   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   17323   postinstall_cmds='chmod 555 $lib'
   17324   # or fails outright, so override atomically:
   17325   install_override_mode=555
   17326   ;;
   17327 
   17328 interix[3-9]*)
   17329   version_type=linux # correct to gnu/linux during the next big refactor
   17330   need_lib_prefix=no
   17331   need_version=no
   17332   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17333   soname_spec='$libname$release$shared_ext$major'
   17334   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   17335   shlibpath_var=LD_LIBRARY_PATH
   17336   shlibpath_overrides_runpath=no
   17337   hardcode_into_libs=yes
   17338   ;;
   17339 
   17340 irix5* | irix6* | nonstopux*)
   17341   case $host_os in
   17342     nonstopux*) version_type=nonstopux ;;
   17343     *)
   17344 	if test yes = "$lt_cv_prog_gnu_ld"; then
   17345 		version_type=linux # correct to gnu/linux during the next big refactor
   17346 	else
   17347 		version_type=irix
   17348 	fi ;;
   17349   esac
   17350   need_lib_prefix=no
   17351   need_version=no
   17352   soname_spec='$libname$release$shared_ext$major'
   17353   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   17354   case $host_os in
   17355   irix5* | nonstopux*)
   17356     libsuff= shlibsuff=
   17357     ;;
   17358   *)
   17359     case $LD in # libtool.m4 will add one of these switches to LD
   17360     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   17361       libsuff= shlibsuff= libmagic=32-bit;;
   17362     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   17363       libsuff=32 shlibsuff=N32 libmagic=N32;;
   17364     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   17365       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   17366     *) libsuff= shlibsuff= libmagic=never-match;;
   17367     esac
   17368     ;;
   17369   esac
   17370   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   17371   shlibpath_overrides_runpath=no
   17372   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   17373   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   17374   hardcode_into_libs=yes
   17375   ;;
   17376 
   17377 # No shared lib support for Linux oldld, aout, or coff.
   17378 linux*oldld* | linux*aout* | linux*coff*)
   17379   dynamic_linker=no
   17380   ;;
   17381 
   17382 linux*android*)
   17383   version_type=none # Android doesn't support versioned libraries.
   17384   need_lib_prefix=no
   17385   need_version=no
   17386   library_names_spec='$libname$release$shared_ext'
   17387   soname_spec='$libname$release$shared_ext'
   17388   finish_cmds=
   17389   shlibpath_var=LD_LIBRARY_PATH
   17390   shlibpath_overrides_runpath=yes
   17391 
   17392   # This implies no fast_install, which is unacceptable.
   17393   # Some rework will be needed to allow for fast_install
   17394   # before this can be enabled.
   17395   hardcode_into_libs=yes
   17396 
   17397   dynamic_linker='Android linker'
   17398   # Don't embed -rpath directories since the linker doesn't support them.
   17399   hardcode_libdir_flag_spec='-L$libdir'
   17400   ;;
   17401 
   17402 # This must be glibc/ELF.
   17403 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   17404   version_type=linux # correct to gnu/linux during the next big refactor
   17405   need_lib_prefix=no
   17406   need_version=no
   17407   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17408   soname_spec='$libname$release$shared_ext$major'
   17409   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   17410   shlibpath_var=LD_LIBRARY_PATH
   17411   shlibpath_overrides_runpath=no
   17412 
   17413   # Some binutils ld are patched to set DT_RUNPATH
   17414   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   17415   $as_echo_n "(cached) " >&6
   17416 else
   17417   lt_cv_shlibpath_overrides_runpath=no
   17418     save_LDFLAGS=$LDFLAGS
   17419     save_libdir=$libdir
   17420     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   17421 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   17422     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17423 /* end confdefs.h.  */
   17424 
   17425 int
   17426 main ()
   17427 {
   17428 
   17429   ;
   17430   return 0;
   17431 }
   17432 _ACEOF
   17433 if ac_fn_c_try_link "$LINENO"; then :
   17434   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   17435   lt_cv_shlibpath_overrides_runpath=yes
   17436 fi
   17437 fi
   17438 rm -f core conftest.err conftest.$ac_objext \
   17439     conftest$ac_exeext conftest.$ac_ext
   17440     LDFLAGS=$save_LDFLAGS
   17441     libdir=$save_libdir
   17442 
   17443 fi
   17444 
   17445   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   17446 
   17447   # This implies no fast_install, which is unacceptable.
   17448   # Some rework will be needed to allow for fast_install
   17449   # before this can be enabled.
   17450   hardcode_into_libs=yes
   17451 
   17452   # Ideally, we could use ldconfig to report *all* directores which are
   17453   # searched for libraries, however this is still not possible.  Aside from not
   17454   # being certain /sbin/ldconfig is available, command
   17455   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   17456   # even though it is searched at run-time.  Try to do the best guess by
   17457   # appending ld.so.conf contents (and includes) to the search path.
   17458   if test -f /etc/ld.so.conf; then
   17459     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
   17460     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   17461   fi
   17462 
   17463   # We used to test for /lib/ld.so.1 and disable shared libraries on
   17464   # powerpc, because MkLinux only supported shared libraries with the
   17465   # GNU dynamic linker.  Since this was broken with cross compilers,
   17466   # most powerpc-linux boxes support dynamic linking these days and
   17467   # people can always --disable-shared, the test was removed, and we
   17468   # assume the GNU/Linux dynamic linker is in use.
   17469   dynamic_linker='GNU/Linux ld.so'
   17470   ;;
   17471 
   17472 netbsd*)
   17473   version_type=sunos
   17474   need_lib_prefix=no
   17475   need_version=no
   17476   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   17477     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   17478     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   17479     dynamic_linker='NetBSD (a.out) ld.so'
   17480   else
   17481     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17482     soname_spec='$libname$release$shared_ext$major'
   17483     dynamic_linker='NetBSD ld.elf_so'
   17484   fi
   17485   shlibpath_var=LD_LIBRARY_PATH
   17486   shlibpath_overrides_runpath=yes
   17487   hardcode_into_libs=yes
   17488   ;;
   17489 
   17490 newsos6)
   17491   version_type=linux # correct to gnu/linux during the next big refactor
   17492   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17493   shlibpath_var=LD_LIBRARY_PATH
   17494   shlibpath_overrides_runpath=yes
   17495   ;;
   17496 
   17497 *nto* | *qnx*)
   17498   version_type=qnx
   17499   need_lib_prefix=no
   17500   need_version=no
   17501   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17502   soname_spec='$libname$release$shared_ext$major'
   17503   shlibpath_var=LD_LIBRARY_PATH
   17504   shlibpath_overrides_runpath=no
   17505   hardcode_into_libs=yes
   17506   dynamic_linker='ldqnx.so'
   17507   ;;
   17508 
   17509 openbsd* | bitrig*)
   17510   version_type=sunos
   17511   sys_lib_dlsearch_path_spec=/usr/lib
   17512   need_lib_prefix=no
   17513   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   17514     need_version=no
   17515   else
   17516     need_version=yes
   17517   fi
   17518   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   17519   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   17520   shlibpath_var=LD_LIBRARY_PATH
   17521   shlibpath_overrides_runpath=yes
   17522   ;;
   17523 
   17524 os2*)
   17525   libname_spec='$name'
   17526   version_type=windows
   17527   shrext_cmds=.dll
   17528   need_version=no
   17529   need_lib_prefix=no
   17530   # OS/2 can only load a DLL with a base name of 8 characters or less.
   17531   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   17532     v=$($ECHO $release$versuffix | tr -d .-);
   17533     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   17534     $ECHO $n$v`$shared_ext'
   17535   library_names_spec='${libname}_dll.$libext'
   17536   dynamic_linker='OS/2 ld.exe'
   17537   shlibpath_var=BEGINLIBPATH
   17538   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   17539   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17540   postinstall_cmds='base_file=`basename \$file`~
   17541     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   17542     dldir=$destdir/`dirname \$dlpath`~
   17543     test -d \$dldir || mkdir -p \$dldir~
   17544     $install_prog $dir/$dlname \$dldir/$dlname~
   17545     chmod a+x \$dldir/$dlname~
   17546     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   17547       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   17548     fi'
   17549   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   17550     dlpath=$dir/\$dldll~
   17551     $RM \$dlpath'
   17552   ;;
   17553 
   17554 osf3* | osf4* | osf5*)
   17555   version_type=osf
   17556   need_lib_prefix=no
   17557   need_version=no
   17558   soname_spec='$libname$release$shared_ext$major'
   17559   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17560   shlibpath_var=LD_LIBRARY_PATH
   17561   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   17562   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17563   ;;
   17564 
   17565 rdos*)
   17566   dynamic_linker=no
   17567   ;;
   17568 
   17569 solaris*)
   17570   version_type=linux # correct to gnu/linux during the next big refactor
   17571   need_lib_prefix=no
   17572   need_version=no
   17573   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17574   soname_spec='$libname$release$shared_ext$major'
   17575   shlibpath_var=LD_LIBRARY_PATH
   17576   shlibpath_overrides_runpath=yes
   17577   hardcode_into_libs=yes
   17578   # ldd complains unless libraries are executable
   17579   postinstall_cmds='chmod +x $lib'
   17580   ;;
   17581 
   17582 sunos4*)
   17583   version_type=sunos
   17584   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   17585   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   17586   shlibpath_var=LD_LIBRARY_PATH
   17587   shlibpath_overrides_runpath=yes
   17588   if test yes = "$with_gnu_ld"; then
   17589     need_lib_prefix=no
   17590   fi
   17591   need_version=yes
   17592   ;;
   17593 
   17594 sysv4 | sysv4.3*)
   17595   version_type=linux # correct to gnu/linux during the next big refactor
   17596   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17597   soname_spec='$libname$release$shared_ext$major'
   17598   shlibpath_var=LD_LIBRARY_PATH
   17599   case $host_vendor in
   17600     sni)
   17601       shlibpath_overrides_runpath=no
   17602       need_lib_prefix=no
   17603       runpath_var=LD_RUN_PATH
   17604       ;;
   17605     siemens)
   17606       need_lib_prefix=no
   17607       ;;
   17608     motorola)
   17609       need_lib_prefix=no
   17610       need_version=no
   17611       shlibpath_overrides_runpath=no
   17612       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   17613       ;;
   17614   esac
   17615   ;;
   17616 
   17617 sysv4*MP*)
   17618   if test -d /usr/nec; then
   17619     version_type=linux # correct to gnu/linux during the next big refactor
   17620     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   17621     soname_spec='$libname$shared_ext.$major'
   17622     shlibpath_var=LD_LIBRARY_PATH
   17623   fi
   17624   ;;
   17625 
   17626 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   17627   version_type=sco
   17628   need_lib_prefix=no
   17629   need_version=no
   17630   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   17631   soname_spec='$libname$release$shared_ext$major'
   17632   shlibpath_var=LD_LIBRARY_PATH
   17633   shlibpath_overrides_runpath=yes
   17634   hardcode_into_libs=yes
   17635   if test yes = "$with_gnu_ld"; then
   17636     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   17637   else
   17638     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   17639     case $host_os in
   17640       sco3.2v5*)
   17641         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   17642 	;;
   17643     esac
   17644   fi
   17645   sys_lib_dlsearch_path_spec='/usr/lib'
   17646   ;;
   17647 
   17648 tpf*)
   17649   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   17650   version_type=linux # correct to gnu/linux during the next big refactor
   17651   need_lib_prefix=no
   17652   need_version=no
   17653   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17654   shlibpath_var=LD_LIBRARY_PATH
   17655   shlibpath_overrides_runpath=no
   17656   hardcode_into_libs=yes
   17657   ;;
   17658 
   17659 uts4*)
   17660   version_type=linux # correct to gnu/linux during the next big refactor
   17661   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17662   soname_spec='$libname$release$shared_ext$major'
   17663   shlibpath_var=LD_LIBRARY_PATH
   17664   ;;
   17665 
   17666 *)
   17667   dynamic_linker=no
   17668   ;;
   17669 esac
   17670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   17671 $as_echo "$dynamic_linker" >&6; }
   17672 test no = "$dynamic_linker" && can_build_shared=no
   17673 
   17674 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   17675 if test yes = "$GCC"; then
   17676   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   17677 fi
   17678 
   17679 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   17680   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   17681 fi
   17682 
   17683 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   17684   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   17685 fi
   17686 
   17687 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   17688 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   17689 
   17690 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   17691 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   17692 
   17693 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   17694 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   17695 
   17696 
   17697 
   17698 
   17699 
   17700 
   17701 
   17702 
   17703 
   17704 
   17705 
   17706 
   17707 
   17708 
   17709 
   17710 
   17711 
   17712 
   17713 
   17714 
   17715 
   17716 
   17717 
   17718 
   17719 
   17720 
   17721 
   17722 
   17723 
   17724 
   17725 
   17726 
   17727 
   17728 
   17729 
   17730 
   17731 
   17732 
   17733 
   17734 
   17735 
   17736 
   17737 
   17738 
   17739 
   17740 
   17741 
   17742 
   17743 
   17744 
   17745 
   17746 
   17747 
   17748 
   17749 
   17750 
   17751 
   17752 
   17753 
   17754 
   17755 
   17756 
   17757 
   17758 
   17759 
   17760 
   17761 
   17762 
   17763 
   17764 
   17765 
   17766 
   17767 
   17768 
   17769 
   17770 
   17771 
   17772 
   17773 
   17774 
   17775 
   17776 
   17777 
   17778 
   17779 
   17780 
   17781 
   17782 
   17783 
   17784 
   17785 
   17786 
   17787 
   17788 
   17789 
   17790 
   17791 
   17792   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   17793 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   17794 hardcode_action=
   17795 if test -n "$hardcode_libdir_flag_spec" ||
   17796    test -n "$runpath_var" ||
   17797    test yes = "$hardcode_automatic"; then
   17798 
   17799   # We can hardcode non-existent directories.
   17800   if test no != "$hardcode_direct" &&
   17801      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   17802      # have to relink, otherwise we might link with an installed library
   17803      # when we should be linking with a yet-to-be-installed one
   17804      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   17805      test no != "$hardcode_minus_L"; then
   17806     # Linking always hardcodes the temporary library directory.
   17807     hardcode_action=relink
   17808   else
   17809     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   17810     hardcode_action=immediate
   17811   fi
   17812 else
   17813   # We cannot hardcode anything, or else we can only hardcode existing
   17814   # directories.
   17815   hardcode_action=unsupported
   17816 fi
   17817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   17818 $as_echo "$hardcode_action" >&6; }
   17819 
   17820 if test relink = "$hardcode_action" ||
   17821    test yes = "$inherit_rpath"; then
   17822   # Fast installation is not supported
   17823   enable_fast_install=no
   17824 elif test yes = "$shlibpath_overrides_runpath" ||
   17825      test no = "$enable_shared"; then
   17826   # Fast installation is not necessary
   17827   enable_fast_install=needless
   17828 fi
   17829 
   17830 
   17831 
   17832 
   17833 
   17834 
   17835   if test yes != "$enable_dlopen"; then
   17836   enable_dlopen=unknown
   17837   enable_dlopen_self=unknown
   17838   enable_dlopen_self_static=unknown
   17839 else
   17840   lt_cv_dlopen=no
   17841   lt_cv_dlopen_libs=
   17842 
   17843   case $host_os in
   17844   beos*)
   17845     lt_cv_dlopen=load_add_on
   17846     lt_cv_dlopen_libs=
   17847     lt_cv_dlopen_self=yes
   17848     ;;
   17849 
   17850   mingw* | pw32* | cegcc*)
   17851     lt_cv_dlopen=LoadLibrary
   17852     lt_cv_dlopen_libs=
   17853     ;;
   17854 
   17855   cygwin*)
   17856     lt_cv_dlopen=dlopen
   17857     lt_cv_dlopen_libs=
   17858     ;;
   17859 
   17860   darwin*)
   17861     # if libdl is installed we need to link against it
   17862     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   17863 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   17864 if ${ac_cv_lib_dl_dlopen+:} false; then :
   17865   $as_echo_n "(cached) " >&6
   17866 else
   17867   ac_check_lib_save_LIBS=$LIBS
   17868 LIBS="-ldl  $LIBS"
   17869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17870 /* end confdefs.h.  */
   17871 
   17872 /* Override any GCC internal prototype to avoid an error.
   17873    Use char because int might match the return type of a GCC
   17874    builtin and then its argument prototype would still apply.  */
   17875 #ifdef __cplusplus
   17876 extern "C"
   17877 #endif
   17878 char dlopen ();
   17879 int
   17880 main ()
   17881 {
   17882 return dlopen ();
   17883   ;
   17884   return 0;
   17885 }
   17886 _ACEOF
   17887 if ac_fn_c_try_link "$LINENO"; then :
   17888   ac_cv_lib_dl_dlopen=yes
   17889 else
   17890   ac_cv_lib_dl_dlopen=no
   17891 fi
   17892 rm -f core conftest.err conftest.$ac_objext \
   17893     conftest$ac_exeext conftest.$ac_ext
   17894 LIBS=$ac_check_lib_save_LIBS
   17895 fi
   17896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   17897 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   17898 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   17899   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   17900 else
   17901 
   17902     lt_cv_dlopen=dyld
   17903     lt_cv_dlopen_libs=
   17904     lt_cv_dlopen_self=yes
   17905 
   17906 fi
   17907 
   17908     ;;
   17909 
   17910   tpf*)
   17911     # Don't try to run any link tests for TPF.  We know it's impossible
   17912     # because TPF is a cross-compiler, and we know how we open DSOs.
   17913     lt_cv_dlopen=dlopen
   17914     lt_cv_dlopen_libs=
   17915     lt_cv_dlopen_self=no
   17916     ;;
   17917 
   17918   *)
   17919     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   17920 if test "x$ac_cv_func_shl_load" = xyes; then :
   17921   lt_cv_dlopen=shl_load
   17922 else
   17923   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   17924 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   17925 if ${ac_cv_lib_dld_shl_load+:} false; then :
   17926   $as_echo_n "(cached) " >&6
   17927 else
   17928   ac_check_lib_save_LIBS=$LIBS
   17929 LIBS="-ldld  $LIBS"
   17930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17931 /* end confdefs.h.  */
   17932 
   17933 /* Override any GCC internal prototype to avoid an error.
   17934    Use char because int might match the return type of a GCC
   17935    builtin and then its argument prototype would still apply.  */
   17936 #ifdef __cplusplus
   17937 extern "C"
   17938 #endif
   17939 char shl_load ();
   17940 int
   17941 main ()
   17942 {
   17943 return shl_load ();
   17944   ;
   17945   return 0;
   17946 }
   17947 _ACEOF
   17948 if ac_fn_c_try_link "$LINENO"; then :
   17949   ac_cv_lib_dld_shl_load=yes
   17950 else
   17951   ac_cv_lib_dld_shl_load=no
   17952 fi
   17953 rm -f core conftest.err conftest.$ac_objext \
   17954     conftest$ac_exeext conftest.$ac_ext
   17955 LIBS=$ac_check_lib_save_LIBS
   17956 fi
   17957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   17958 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   17959 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   17960   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   17961 else
   17962   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   17963 if test "x$ac_cv_func_dlopen" = xyes; then :
   17964   lt_cv_dlopen=dlopen
   17965 else
   17966   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   17967 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   17968 if ${ac_cv_lib_dl_dlopen+:} false; then :
   17969   $as_echo_n "(cached) " >&6
   17970 else
   17971   ac_check_lib_save_LIBS=$LIBS
   17972 LIBS="-ldl  $LIBS"
   17973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17974 /* end confdefs.h.  */
   17975 
   17976 /* Override any GCC internal prototype to avoid an error.
   17977    Use char because int might match the return type of a GCC
   17978    builtin and then its argument prototype would still apply.  */
   17979 #ifdef __cplusplus
   17980 extern "C"
   17981 #endif
   17982 char dlopen ();
   17983 int
   17984 main ()
   17985 {
   17986 return dlopen ();
   17987   ;
   17988   return 0;
   17989 }
   17990 _ACEOF
   17991 if ac_fn_c_try_link "$LINENO"; then :
   17992   ac_cv_lib_dl_dlopen=yes
   17993 else
   17994   ac_cv_lib_dl_dlopen=no
   17995 fi
   17996 rm -f core conftest.err conftest.$ac_objext \
   17997     conftest$ac_exeext conftest.$ac_ext
   17998 LIBS=$ac_check_lib_save_LIBS
   17999 fi
   18000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   18001 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   18002 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   18003   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   18004 else
   18005   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   18006 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   18007 if ${ac_cv_lib_svld_dlopen+:} false; then :
   18008   $as_echo_n "(cached) " >&6
   18009 else
   18010   ac_check_lib_save_LIBS=$LIBS
   18011 LIBS="-lsvld  $LIBS"
   18012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18013 /* end confdefs.h.  */
   18014 
   18015 /* Override any GCC internal prototype to avoid an error.
   18016    Use char because int might match the return type of a GCC
   18017    builtin and then its argument prototype would still apply.  */
   18018 #ifdef __cplusplus
   18019 extern "C"
   18020 #endif
   18021 char dlopen ();
   18022 int
   18023 main ()
   18024 {
   18025 return dlopen ();
   18026   ;
   18027   return 0;
   18028 }
   18029 _ACEOF
   18030 if ac_fn_c_try_link "$LINENO"; then :
   18031   ac_cv_lib_svld_dlopen=yes
   18032 else
   18033   ac_cv_lib_svld_dlopen=no
   18034 fi
   18035 rm -f core conftest.err conftest.$ac_objext \
   18036     conftest$ac_exeext conftest.$ac_ext
   18037 LIBS=$ac_check_lib_save_LIBS
   18038 fi
   18039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   18040 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   18041 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   18042   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   18043 else
   18044   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   18045 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   18046 if ${ac_cv_lib_dld_dld_link+:} false; then :
   18047   $as_echo_n "(cached) " >&6
   18048 else
   18049   ac_check_lib_save_LIBS=$LIBS
   18050 LIBS="-ldld  $LIBS"
   18051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18052 /* end confdefs.h.  */
   18053 
   18054 /* Override any GCC internal prototype to avoid an error.
   18055    Use char because int might match the return type of a GCC
   18056    builtin and then its argument prototype would still apply.  */
   18057 #ifdef __cplusplus
   18058 extern "C"
   18059 #endif
   18060 char dld_link ();
   18061 int
   18062 main ()
   18063 {
   18064 return dld_link ();
   18065   ;
   18066   return 0;
   18067 }
   18068 _ACEOF
   18069 if ac_fn_c_try_link "$LINENO"; then :
   18070   ac_cv_lib_dld_dld_link=yes
   18071 else
   18072   ac_cv_lib_dld_dld_link=no
   18073 fi
   18074 rm -f core conftest.err conftest.$ac_objext \
   18075     conftest$ac_exeext conftest.$ac_ext
   18076 LIBS=$ac_check_lib_save_LIBS
   18077 fi
   18078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   18079 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   18080 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   18081   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   18082 fi
   18083 
   18084 
   18085 fi
   18086 
   18087 
   18088 fi
   18089 
   18090 
   18091 fi
   18092 
   18093 
   18094 fi
   18095 
   18096 
   18097 fi
   18098 
   18099     ;;
   18100   esac
   18101 
   18102   if test no = "$lt_cv_dlopen"; then
   18103     enable_dlopen=no
   18104   else
   18105     enable_dlopen=yes
   18106   fi
   18107 
   18108   case $lt_cv_dlopen in
   18109   dlopen)
   18110     save_CPPFLAGS=$CPPFLAGS
   18111     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   18112 
   18113     save_LDFLAGS=$LDFLAGS
   18114     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   18115 
   18116     save_LIBS=$LIBS
   18117     LIBS="$lt_cv_dlopen_libs $LIBS"
   18118 
   18119     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   18120 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   18121 if ${lt_cv_dlopen_self+:} false; then :
   18122   $as_echo_n "(cached) " >&6
   18123 else
   18124   	  if test yes = "$cross_compiling"; then :
   18125   lt_cv_dlopen_self=cross
   18126 else
   18127   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   18128   lt_status=$lt_dlunknown
   18129   cat > conftest.$ac_ext <<_LT_EOF
   18130 #line $LINENO "configure"
   18131 #include "confdefs.h"
   18132 
   18133 #if HAVE_DLFCN_H
   18134 #include <dlfcn.h>
   18135 #endif
   18136 
   18137 #include <stdio.h>
   18138 
   18139 #ifdef RTLD_GLOBAL
   18140 #  define LT_DLGLOBAL		RTLD_GLOBAL
   18141 #else
   18142 #  ifdef DL_GLOBAL
   18143 #    define LT_DLGLOBAL		DL_GLOBAL
   18144 #  else
   18145 #    define LT_DLGLOBAL		0
   18146 #  endif
   18147 #endif
   18148 
   18149 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   18150    find out it does not work in some platform. */
   18151 #ifndef LT_DLLAZY_OR_NOW
   18152 #  ifdef RTLD_LAZY
   18153 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   18154 #  else
   18155 #    ifdef DL_LAZY
   18156 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   18157 #    else
   18158 #      ifdef RTLD_NOW
   18159 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   18160 #      else
   18161 #        ifdef DL_NOW
   18162 #          define LT_DLLAZY_OR_NOW	DL_NOW
   18163 #        else
   18164 #          define LT_DLLAZY_OR_NOW	0
   18165 #        endif
   18166 #      endif
   18167 #    endif
   18168 #  endif
   18169 #endif
   18170 
   18171 /* When -fvisibility=hidden is used, assume the code has been annotated
   18172    correspondingly for the symbols needed.  */
   18173 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   18174 int fnord () __attribute__((visibility("default")));
   18175 #endif
   18176 
   18177 int fnord () { return 42; }
   18178 int main ()
   18179 {
   18180   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   18181   int status = $lt_dlunknown;
   18182 
   18183   if (self)
   18184     {
   18185       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   18186       else
   18187         {
   18188 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   18189           else puts (dlerror ());
   18190 	}
   18191       /* dlclose (self); */
   18192     }
   18193   else
   18194     puts (dlerror ());
   18195 
   18196   return status;
   18197 }
   18198 _LT_EOF
   18199   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   18200   (eval $ac_link) 2>&5
   18201   ac_status=$?
   18202   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18203   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   18204     (./conftest; exit; ) >&5 2>/dev/null
   18205     lt_status=$?
   18206     case x$lt_status in
   18207       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   18208       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   18209       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   18210     esac
   18211   else :
   18212     # compilation failed
   18213     lt_cv_dlopen_self=no
   18214   fi
   18215 fi
   18216 rm -fr conftest*
   18217 
   18218 
   18219 fi
   18220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   18221 $as_echo "$lt_cv_dlopen_self" >&6; }
   18222 
   18223     if test yes = "$lt_cv_dlopen_self"; then
   18224       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   18225       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   18226 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   18227 if ${lt_cv_dlopen_self_static+:} false; then :
   18228   $as_echo_n "(cached) " >&6
   18229 else
   18230   	  if test yes = "$cross_compiling"; then :
   18231   lt_cv_dlopen_self_static=cross
   18232 else
   18233   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   18234   lt_status=$lt_dlunknown
   18235   cat > conftest.$ac_ext <<_LT_EOF
   18236 #line $LINENO "configure"
   18237 #include "confdefs.h"
   18238 
   18239 #if HAVE_DLFCN_H
   18240 #include <dlfcn.h>
   18241 #endif
   18242 
   18243 #include <stdio.h>
   18244 
   18245 #ifdef RTLD_GLOBAL
   18246 #  define LT_DLGLOBAL		RTLD_GLOBAL
   18247 #else
   18248 #  ifdef DL_GLOBAL
   18249 #    define LT_DLGLOBAL		DL_GLOBAL
   18250 #  else
   18251 #    define LT_DLGLOBAL		0
   18252 #  endif
   18253 #endif
   18254 
   18255 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   18256    find out it does not work in some platform. */
   18257 #ifndef LT_DLLAZY_OR_NOW
   18258 #  ifdef RTLD_LAZY
   18259 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   18260 #  else
   18261 #    ifdef DL_LAZY
   18262 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   18263 #    else
   18264 #      ifdef RTLD_NOW
   18265 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   18266 #      else
   18267 #        ifdef DL_NOW
   18268 #          define LT_DLLAZY_OR_NOW	DL_NOW
   18269 #        else
   18270 #          define LT_DLLAZY_OR_NOW	0
   18271 #        endif
   18272 #      endif
   18273 #    endif
   18274 #  endif
   18275 #endif
   18276 
   18277 /* When -fvisibility=hidden is used, assume the code has been annotated
   18278    correspondingly for the symbols needed.  */
   18279 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   18280 int fnord () __attribute__((visibility("default")));
   18281 #endif
   18282 
   18283 int fnord () { return 42; }
   18284 int main ()
   18285 {
   18286   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   18287   int status = $lt_dlunknown;
   18288 
   18289   if (self)
   18290     {
   18291       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   18292       else
   18293         {
   18294 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   18295           else puts (dlerror ());
   18296 	}
   18297       /* dlclose (self); */
   18298     }
   18299   else
   18300     puts (dlerror ());
   18301 
   18302   return status;
   18303 }
   18304 _LT_EOF
   18305   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   18306   (eval $ac_link) 2>&5
   18307   ac_status=$?
   18308   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18309   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   18310     (./conftest; exit; ) >&5 2>/dev/null
   18311     lt_status=$?
   18312     case x$lt_status in
   18313       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   18314       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   18315       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   18316     esac
   18317   else :
   18318     # compilation failed
   18319     lt_cv_dlopen_self_static=no
   18320   fi
   18321 fi
   18322 rm -fr conftest*
   18323 
   18324 
   18325 fi
   18326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   18327 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   18328     fi
   18329 
   18330     CPPFLAGS=$save_CPPFLAGS
   18331     LDFLAGS=$save_LDFLAGS
   18332     LIBS=$save_LIBS
   18333     ;;
   18334   esac
   18335 
   18336   case $lt_cv_dlopen_self in
   18337   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   18338   *) enable_dlopen_self=unknown ;;
   18339   esac
   18340 
   18341   case $lt_cv_dlopen_self_static in
   18342   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   18343   *) enable_dlopen_self_static=unknown ;;
   18344   esac
   18345 fi
   18346 
   18347 
   18348 
   18349 
   18350 
   18351 
   18352 
   18353 
   18354 
   18355 
   18356 
   18357 
   18358 
   18359 
   18360 
   18361 
   18362 
   18363 striplib=
   18364 old_striplib=
   18365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   18366 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   18367 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   18368   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   18369   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   18370   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18371 $as_echo "yes" >&6; }
   18372 else
   18373 # FIXME - insert some real tests, host_os isn't really good enough
   18374   case $host_os in
   18375   darwin*)
   18376     if test -n "$STRIP"; then
   18377       striplib="$STRIP -x"
   18378       old_striplib="$STRIP -S"
   18379       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18380 $as_echo "yes" >&6; }
   18381     else
   18382       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18383 $as_echo "no" >&6; }
   18384     fi
   18385     ;;
   18386   *)
   18387     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18388 $as_echo "no" >&6; }
   18389     ;;
   18390   esac
   18391 fi
   18392 
   18393 
   18394 
   18395 
   18396 
   18397 
   18398 
   18399 
   18400 
   18401 
   18402 
   18403 
   18404   # Report what library types will actually be built
   18405   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   18406 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   18407   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   18408 $as_echo "$can_build_shared" >&6; }
   18409 
   18410   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   18411 $as_echo_n "checking whether to build shared libraries... " >&6; }
   18412   test no = "$can_build_shared" && enable_shared=no
   18413 
   18414   # On AIX, shared libraries and static libraries use the same namespace, and
   18415   # are all built from PIC.
   18416   case $host_os in
   18417   aix3*)
   18418     test yes = "$enable_shared" && enable_static=no
   18419     if test -n "$RANLIB"; then
   18420       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   18421       postinstall_cmds='$RANLIB $lib'
   18422     fi
   18423     ;;
   18424 
   18425   aix[4-9]*)
   18426     if test ia64 != "$host_cpu"; then
   18427       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   18428       yes,aix,yes) ;;			# shared object as lib.so file only
   18429       yes,svr4,*) ;;			# shared object as lib.so archive member only
   18430       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   18431       esac
   18432     fi
   18433     ;;
   18434   esac
   18435   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   18436 $as_echo "$enable_shared" >&6; }
   18437 
   18438   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   18439 $as_echo_n "checking whether to build static libraries... " >&6; }
   18440   # Make sure either enable_shared or enable_static is yes.
   18441   test yes = "$enable_shared" || enable_static=yes
   18442   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   18443 $as_echo "$enable_static" >&6; }
   18444 
   18445 
   18446 
   18447 
   18448 fi
   18449 ac_ext=c
   18450 ac_cpp='$CPP $CPPFLAGS'
   18451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   18452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   18453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   18454 
   18455 CC=$lt_save_CC
   18456 
   18457 
   18458 
   18459 
   18460 
   18461 
   18462 
   18463 
   18464 
   18465 
   18466 
   18467 
   18468 
   18469 
   18470 
   18471         ac_config_commands="$ac_config_commands libtool"
   18472 
   18473 
   18474 
   18475 
   18476 # Only expand once:
   18477 
   18478 
   18479 
   18480 
   18481 
   18482 # Define a configure option for an alternate module directory
   18483 
   18484 # Check whether --with-xorg-module-dir was given.
   18485 if test "${with_xorg_module_dir+set}" = set; then :
   18486   withval=$with_xorg_module_dir; moduledir="$withval"
   18487 else
   18488   moduledir="$libdir/xorg/modules"
   18489 fi
   18490 
   18491 
   18492 # Store the list of server defined optional extensions in REQUIRED_MODULES
   18493 
   18494 
   18495 	SAVE_CFLAGS="$CFLAGS"
   18496 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   18497 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18498 /* end confdefs.h.  */
   18499 
   18500 #include "xorg-server.h"
   18501 #if !defined RANDR
   18502 #error RANDR not defined
   18503 #endif
   18504 
   18505 int
   18506 main ()
   18507 {
   18508 
   18509   ;
   18510   return 0;
   18511 }
   18512 _ACEOF
   18513 if ac_fn_c_try_compile "$LINENO"; then :
   18514   _EXT_CHECK=yes
   18515 else
   18516   _EXT_CHECK=no
   18517 fi
   18518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18519 	CFLAGS="$SAVE_CFLAGS"
   18520 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if RANDR is defined" >&5
   18521 $as_echo_n "checking if RANDR is defined... " >&6; }
   18522 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   18523 $as_echo "$_EXT_CHECK" >&6; }
   18524 	if test "$_EXT_CHECK" != no; then
   18525 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   18526 	fi
   18527 
   18528 
   18529 
   18530 	SAVE_CFLAGS="$CFLAGS"
   18531 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   18532 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18533 /* end confdefs.h.  */
   18534 
   18535 #include "xorg-server.h"
   18536 #if !defined RENDER
   18537 #error RENDER not defined
   18538 #endif
   18539 
   18540 int
   18541 main ()
   18542 {
   18543 
   18544   ;
   18545   return 0;
   18546 }
   18547 _ACEOF
   18548 if ac_fn_c_try_compile "$LINENO"; then :
   18549   _EXT_CHECK=yes
   18550 else
   18551   _EXT_CHECK=no
   18552 fi
   18553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18554 	CFLAGS="$SAVE_CFLAGS"
   18555 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if RENDER is defined" >&5
   18556 $as_echo_n "checking if RENDER is defined... " >&6; }
   18557 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   18558 $as_echo "$_EXT_CHECK" >&6; }
   18559 	if test "$_EXT_CHECK" != no; then
   18560 		REQUIRED_MODULES="$REQUIRED_MODULES renderproto"
   18561 	fi
   18562 
   18563 
   18564 
   18565 	SAVE_CFLAGS="$CFLAGS"
   18566 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   18567 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18568 /* end confdefs.h.  */
   18569 
   18570 #include "xorg-server.h"
   18571 #if !defined XV
   18572 #error XV not defined
   18573 #endif
   18574 
   18575 int
   18576 main ()
   18577 {
   18578 
   18579   ;
   18580   return 0;
   18581 }
   18582 _ACEOF
   18583 if ac_fn_c_try_compile "$LINENO"; then :
   18584   _EXT_CHECK=yes
   18585 else
   18586   _EXT_CHECK=no
   18587 fi
   18588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18589 	CFLAGS="$SAVE_CFLAGS"
   18590 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if XV is defined" >&5
   18591 $as_echo_n "checking if XV is defined... " >&6; }
   18592 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   18593 $as_echo "$_EXT_CHECK" >&6; }
   18594 	if test "$_EXT_CHECK" != no; then
   18595 		REQUIRED_MODULES="$REQUIRED_MODULES videoproto"
   18596 	fi
   18597 
   18598 
   18599 
   18600 	SAVE_CFLAGS="$CFLAGS"
   18601 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   18602 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18603 /* end confdefs.h.  */
   18604 
   18605 #include "xorg-server.h"
   18606 #if !defined DPMSExtension
   18607 #error DPMSExtension not defined
   18608 #endif
   18609 
   18610 int
   18611 main ()
   18612 {
   18613 
   18614   ;
   18615   return 0;
   18616 }
   18617 _ACEOF
   18618 if ac_fn_c_try_compile "$LINENO"; then :
   18619   _EXT_CHECK=yes
   18620 else
   18621   _EXT_CHECK=no
   18622 fi
   18623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18624 	CFLAGS="$SAVE_CFLAGS"
   18625 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if DPMSExtension is defined" >&5
   18626 $as_echo_n "checking if DPMSExtension is defined... " >&6; }
   18627 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   18628 $as_echo "$_EXT_CHECK" >&6; }
   18629 	if test "$_EXT_CHECK" != no; then
   18630 		REQUIRED_MODULES="$REQUIRED_MODULES xextproto"
   18631 	fi
   18632 
   18633 
   18634 # Obtain compiler/linker options for the driver dependencies
   18635 
   18636 pkg_failed=no
   18637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XORG" >&5
   18638 $as_echo_n "checking for XORG... " >&6; }
   18639 
   18640 if test -n "$XORG_CFLAGS"; then
   18641     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   18642  elif test -n "$PKG_CONFIG"; then
   18643     if test -n "$PKG_CONFIG" && \
   18644     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901 xproto fontsproto \$REQUIRED_MODULES\""; } >&5
   18645   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES") 2>&5
   18646   ac_status=$?
   18647   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18648   test $ac_status = 0; }; then
   18649   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   18650 		      test "x$?" != "x0" && pkg_failed=yes
   18651 else
   18652   pkg_failed=yes
   18653 fi
   18654  else
   18655     pkg_failed=untried
   18656 fi
   18657 if test -n "$XORG_LIBS"; then
   18658     pkg_cv_XORG_LIBS="$XORG_LIBS"
   18659  elif test -n "$PKG_CONFIG"; then
   18660     if test -n "$PKG_CONFIG" && \
   18661     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901 xproto fontsproto \$REQUIRED_MODULES\""; } >&5
   18662   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES") 2>&5
   18663   ac_status=$?
   18664   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18665   test $ac_status = 0; }; then
   18666   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   18667 		      test "x$?" != "x0" && pkg_failed=yes
   18668 else
   18669   pkg_failed=yes
   18670 fi
   18671  else
   18672     pkg_failed=untried
   18673 fi
   18674 
   18675 
   18676 
   18677 if test $pkg_failed = yes; then
   18678    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18679 $as_echo "no" >&6; }
   18680 
   18681 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18682         _pkg_short_errors_supported=yes
   18683 else
   18684         _pkg_short_errors_supported=no
   18685 fi
   18686         if test $_pkg_short_errors_supported = yes; then
   18687 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   18688         else
   18689 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   18690         fi
   18691 	# Put the nasty error message in config.log where it belongs
   18692 	echo "$XORG_PKG_ERRORS" >&5
   18693 
   18694 	as_fn_error $? "Package requirements (xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES) were not met:
   18695 
   18696 $XORG_PKG_ERRORS
   18697 
   18698 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18699 installed software in a non-standard prefix.
   18700 
   18701 Alternatively, you may set the environment variables XORG_CFLAGS
   18702 and XORG_LIBS to avoid the need to call pkg-config.
   18703 See the pkg-config man page for more details." "$LINENO" 5
   18704 elif test $pkg_failed = untried; then
   18705      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18706 $as_echo "no" >&6; }
   18707 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18708 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18709 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18710 is in your PATH or set the PKG_CONFIG environment variable to the full
   18711 path to pkg-config.
   18712 
   18713 Alternatively, you may set the environment variables XORG_CFLAGS
   18714 and XORG_LIBS to avoid the need to call pkg-config.
   18715 See the pkg-config man page for more details.
   18716 
   18717 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18718 See \`config.log' for more details" "$LINENO" 5; }
   18719 else
   18720 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   18721 	XORG_LIBS=$pkg_cv_XORG_LIBS
   18722         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18723 $as_echo "yes" >&6; }
   18724 
   18725 fi
   18726 
   18727 # Checks for libraries.
   18728 SAVE_CPPFLAGS="$CPPFLAGS"
   18729 CPPFLAGS="$CPPFLAGS $XORG_CFLAGS"
   18730 ac_fn_c_check_decl "$LINENO" "XSERVER_LIBPCIACCESS" "ac_cv_have_decl_XSERVER_LIBPCIACCESS" "#include \"xorg-server.h\"
   18731 "
   18732 if test "x$ac_cv_have_decl_XSERVER_LIBPCIACCESS" = xyes; then :
   18733   XSERVER_LIBPCIACCESS=yes
   18734 else
   18735   XSERVER_LIBPCIACCESS=no
   18736 fi
   18737 
   18738 ac_fn_c_check_header_mongrel "$LINENO" "xf1bpp.h" "ac_cv_header_xf1bpp_h" "$ac_includes_default"
   18739 if test "x$ac_cv_header_xf1bpp_h" = xyes; then :
   18740 
   18741 $as_echo "#define HAVE_XF1BPP 1" >>confdefs.h
   18742 
   18743 fi
   18744 
   18745 
   18746 ac_fn_c_check_header_mongrel "$LINENO" "xf4bpp.h" "ac_cv_header_xf4bpp_h" "$ac_includes_default"
   18747 if test "x$ac_cv_header_xf4bpp_h" = xyes; then :
   18748 
   18749 $as_echo "#define HAVE_XF4BPP 1" >>confdefs.h
   18750 
   18751 fi
   18752 
   18753 
   18754 CPPFLAGS="$SAVE_CPPFLAGS"
   18755 
   18756 if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   18757 
   18758 pkg_failed=no
   18759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PCIACCESS" >&5
   18760 $as_echo_n "checking for PCIACCESS... " >&6; }
   18761 
   18762 if test -n "$PCIACCESS_CFLAGS"; then
   18763     pkg_cv_PCIACCESS_CFLAGS="$PCIACCESS_CFLAGS"
   18764  elif test -n "$PKG_CONFIG"; then
   18765     if test -n "$PKG_CONFIG" && \
   18766     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\""; } >&5
   18767   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   18768   ac_status=$?
   18769   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18770   test $ac_status = 0; }; then
   18771   pkg_cv_PCIACCESS_CFLAGS=`$PKG_CONFIG --cflags "pciaccess >= 0.8.0" 2>/dev/null`
   18772 		      test "x$?" != "x0" && pkg_failed=yes
   18773 else
   18774   pkg_failed=yes
   18775 fi
   18776  else
   18777     pkg_failed=untried
   18778 fi
   18779 if test -n "$PCIACCESS_LIBS"; then
   18780     pkg_cv_PCIACCESS_LIBS="$PCIACCESS_LIBS"
   18781  elif test -n "$PKG_CONFIG"; then
   18782     if test -n "$PKG_CONFIG" && \
   18783     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\""; } >&5
   18784   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   18785   ac_status=$?
   18786   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18787   test $ac_status = 0; }; then
   18788   pkg_cv_PCIACCESS_LIBS=`$PKG_CONFIG --libs "pciaccess >= 0.8.0" 2>/dev/null`
   18789 		      test "x$?" != "x0" && pkg_failed=yes
   18790 else
   18791   pkg_failed=yes
   18792 fi
   18793  else
   18794     pkg_failed=untried
   18795 fi
   18796 
   18797 
   18798 
   18799 if test $pkg_failed = yes; then
   18800    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18801 $as_echo "no" >&6; }
   18802 
   18803 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18804         _pkg_short_errors_supported=yes
   18805 else
   18806         _pkg_short_errors_supported=no
   18807 fi
   18808         if test $_pkg_short_errors_supported = yes; then
   18809 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pciaccess >= 0.8.0" 2>&1`
   18810         else
   18811 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pciaccess >= 0.8.0" 2>&1`
   18812         fi
   18813 	# Put the nasty error message in config.log where it belongs
   18814 	echo "$PCIACCESS_PKG_ERRORS" >&5
   18815 
   18816 	as_fn_error $? "Package requirements (pciaccess >= 0.8.0) were not met:
   18817 
   18818 $PCIACCESS_PKG_ERRORS
   18819 
   18820 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18821 installed software in a non-standard prefix.
   18822 
   18823 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   18824 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   18825 See the pkg-config man page for more details." "$LINENO" 5
   18826 elif test $pkg_failed = untried; then
   18827      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18828 $as_echo "no" >&6; }
   18829 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18830 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18831 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18832 is in your PATH or set the PKG_CONFIG environment variable to the full
   18833 path to pkg-config.
   18834 
   18835 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   18836 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   18837 See the pkg-config man page for more details.
   18838 
   18839 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18840 See \`config.log' for more details" "$LINENO" 5; }
   18841 else
   18842 	PCIACCESS_CFLAGS=$pkg_cv_PCIACCESS_CFLAGS
   18843 	PCIACCESS_LIBS=$pkg_cv_PCIACCESS_LIBS
   18844         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18845 $as_echo "yes" >&6; }
   18846 
   18847 fi
   18848     XORG_CFLAGS="$XORG_CFLAGS $PCIACCESS_CFLAGS"
   18849 fi
   18850  if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   18851   XSERVER_LIBPCIACCESS_TRUE=
   18852   XSERVER_LIBPCIACCESS_FALSE='#'
   18853 else
   18854   XSERVER_LIBPCIACCESS_TRUE='#'
   18855   XSERVER_LIBPCIACCESS_FALSE=
   18856 fi
   18857 
   18858 # Check whether --enable-xaa was given.
   18859 if test "${enable_xaa+set}" = set; then :
   18860   enableval=$enable_xaa; XAA="$enableval"
   18861 else
   18862   XAA=auto
   18863 fi
   18864 
   18865 if test "x$XAA" != xno; then
   18866         save_CFLAGS=$CFLAGS
   18867         save_CPPFLAGS=$CPPFLAGS
   18868         CFLAGS=$XORG_CFLAGS
   18869         CPPFLAGS="$XORG_CFLAGS"
   18870         for ac_header in xaa.h
   18871 do :
   18872   ac_fn_c_check_header_mongrel "$LINENO" "xaa.h" "ac_cv_header_xaa_h" "$ac_includes_default"
   18873 if test "x$ac_cv_header_xaa_h" = xyes; then :
   18874   cat >>confdefs.h <<_ACEOF
   18875 #define HAVE_XAA_H 1
   18876 _ACEOF
   18877  XAA=yes
   18878 else
   18879   XAA=no
   18880 fi
   18881 
   18882 done
   18883 
   18884         CFLAGS=$save_CFLAGS
   18885         CPPFLAGS=$save_CPPFLAGS
   18886 fi
   18887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include XAA support" >&5
   18888 $as_echo_n "checking whether to include XAA support... " >&6; }
   18889  if test "x$XAA" = xyes; then
   18890   XAA_TRUE=
   18891   XAA_FALSE='#'
   18892 else
   18893   XAA_TRUE='#'
   18894   XAA_FALSE=
   18895 fi
   18896 
   18897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XAA" >&5
   18898 $as_echo "$XAA" >&6; }
   18899 
   18900 save_CFLAGS="$CFLAGS"
   18901 CFLAGS="$XORG_CFLAGS"
   18902 ac_fn_c_check_decl "$LINENO" "xf86ConfigIsaEntity" "ac_cv_have_decl_xf86ConfigIsaEntity" "#include \"xf86.h\"
   18903 "
   18904 if test "x$ac_cv_have_decl_xf86ConfigIsaEntity" = xyes; then :
   18905 
   18906 $as_echo "#define HAVE_ISA 1" >>confdefs.h
   18907 
   18908 fi
   18909 
   18910 CFLAGS="$save_CFLAGS"
   18911 
   18912 
   18913 # Checks for functions (often defined as inlines in compiler.h)
   18914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inb" >&5
   18915 $as_echo_n "checking for inb... " >&6; }
   18916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18917 /* end confdefs.h.  */
   18918 
   18919 #include "util/AsmMacros.h"
   18920 
   18921 int main() {
   18922 	int x = inb(0);
   18923 	return x;
   18924 }
   18925 
   18926 _ACEOF
   18927 if ac_fn_c_try_link "$LINENO"; then :
   18928   HAVE_INB=yes
   18929 else
   18930   HAVE_INB=no
   18931 fi
   18932 rm -f core conftest.err conftest.$ac_objext \
   18933     conftest$ac_exeext conftest.$ac_ext
   18934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_INB" >&5
   18935 $as_echo "$HAVE_INB" >&6; }
   18936  if test x$HAVE_INB = xyes; then
   18937   BUILD_UTILS_TRUE=
   18938   BUILD_UTILS_FALSE='#'
   18939 else
   18940   BUILD_UTILS_TRUE='#'
   18941   BUILD_UTILS_FALSE=
   18942 fi
   18943 
   18944 
   18945 
   18946 
   18947 DRIVER_NAME=chips
   18948 
   18949 
   18950 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile util/Makefile"
   18951 
   18952 cat >confcache <<\_ACEOF
   18953 # This file is a shell script that caches the results of configure
   18954 # tests run on this system so they can be shared between configure
   18955 # scripts and configure runs, see configure's option --config-cache.
   18956 # It is not useful on other systems.  If it contains results you don't
   18957 # want to keep, you may remove or edit it.
   18958 #
   18959 # config.status only pays attention to the cache file if you give it
   18960 # the --recheck option to rerun configure.
   18961 #
   18962 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   18963 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   18964 # following values.
   18965 
   18966 _ACEOF
   18967 
   18968 # The following way of writing the cache mishandles newlines in values,
   18969 # but we know of no workaround that is simple, portable, and efficient.
   18970 # So, we kill variables containing newlines.
   18971 # Ultrix sh set writes to stderr and can't be redirected directly,
   18972 # and sets the high bit in the cache file unless we assign to the vars.
   18973 (
   18974   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   18975     eval ac_val=\$$ac_var
   18976     case $ac_val in #(
   18977     *${as_nl}*)
   18978       case $ac_var in #(
   18979       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   18980 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   18981       esac
   18982       case $ac_var in #(
   18983       _ | IFS | as_nl) ;; #(
   18984       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   18985       *) { eval $ac_var=; unset $ac_var;} ;;
   18986       esac ;;
   18987     esac
   18988   done
   18989 
   18990   (set) 2>&1 |
   18991     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   18992     *${as_nl}ac_space=\ *)
   18993       # `set' does not quote correctly, so add quotes: double-quote
   18994       # substitution turns \\\\ into \\, and sed turns \\ into \.
   18995       sed -n \
   18996 	"s/'/'\\\\''/g;
   18997 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   18998       ;; #(
   18999     *)
   19000       # `set' quotes correctly as required by POSIX, so do not add quotes.
   19001       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   19002       ;;
   19003     esac |
   19004     sort
   19005 ) |
   19006   sed '
   19007      /^ac_cv_env_/b end
   19008      t clear
   19009      :clear
   19010      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   19011      t end
   19012      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   19013      :end' >>confcache
   19014 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   19015   if test -w "$cache_file"; then
   19016     if test "x$cache_file" != "x/dev/null"; then
   19017       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   19018 $as_echo "$as_me: updating cache $cache_file" >&6;}
   19019       if test ! -f "$cache_file" || test -h "$cache_file"; then
   19020 	cat confcache >"$cache_file"
   19021       else
   19022         case $cache_file in #(
   19023         */* | ?:*)
   19024 	  mv -f confcache "$cache_file"$$ &&
   19025 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   19026         *)
   19027 	  mv -f confcache "$cache_file" ;;
   19028 	esac
   19029       fi
   19030     fi
   19031   else
   19032     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   19033 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   19034   fi
   19035 fi
   19036 rm -f confcache
   19037 
   19038 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   19039 # Let make expand exec_prefix.
   19040 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   19041 
   19042 DEFS=-DHAVE_CONFIG_H
   19043 
   19044 ac_libobjs=
   19045 ac_ltlibobjs=
   19046 U=
   19047 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   19048   # 1. Remove the extension, and $U if already installed.
   19049   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   19050   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   19051   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   19052   #    will be set to the directory where LIBOBJS objects are built.
   19053   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   19054   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   19055 done
   19056 LIBOBJS=$ac_libobjs
   19057 
   19058 LTLIBOBJS=$ac_ltlibobjs
   19059 
   19060 
   19061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   19062 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   19063    if test -n "$am_sleep_pid"; then
   19064      # Hide warnings about reused PIDs.
   19065      wait $am_sleep_pid 2>/dev/null
   19066    fi
   19067    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   19068 $as_echo "done" >&6; }
   19069  if test -n "$EXEEXT"; then
   19070   am__EXEEXT_TRUE=
   19071   am__EXEEXT_FALSE='#'
   19072 else
   19073   am__EXEEXT_TRUE='#'
   19074   am__EXEEXT_FALSE=
   19075 fi
   19076 
   19077 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   19078   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   19079 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19080 fi
   19081 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   19082   as_fn_error $? "conditional \"AMDEP\" was never defined.
   19083 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19084 fi
   19085 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   19086   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   19087 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19088 fi
   19089 if test -z "${XSERVER_LIBPCIACCESS_TRUE}" && test -z "${XSERVER_LIBPCIACCESS_FALSE}"; then
   19090   as_fn_error $? "conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   19091 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19092 fi
   19093 if test -z "${XAA_TRUE}" && test -z "${XAA_FALSE}"; then
   19094   as_fn_error $? "conditional \"XAA\" was never defined.
   19095 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19096 fi
   19097 if test -z "${BUILD_UTILS_TRUE}" && test -z "${BUILD_UTILS_FALSE}"; then
   19098   as_fn_error $? "conditional \"BUILD_UTILS\" was never defined.
   19099 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19100 fi
   19101 
   19102 : "${CONFIG_STATUS=./config.status}"
   19103 ac_write_fail=0
   19104 ac_clean_files_save=$ac_clean_files
   19105 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   19106 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   19107 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   19108 as_write_fail=0
   19109 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   19110 #! $SHELL
   19111 # Generated by $as_me.
   19112 # Run this file to recreate the current configuration.
   19113 # Compiler output produced by configure, useful for debugging
   19114 # configure, is in config.log if it exists.
   19115 
   19116 debug=false
   19117 ac_cs_recheck=false
   19118 ac_cs_silent=false
   19119 
   19120 SHELL=\${CONFIG_SHELL-$SHELL}
   19121 export SHELL
   19122 _ASEOF
   19123 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   19124 ## -------------------- ##
   19125 ## M4sh Initialization. ##
   19126 ## -------------------- ##
   19127 
   19128 # Be more Bourne compatible
   19129 DUALCASE=1; export DUALCASE # for MKS sh
   19130 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   19131   emulate sh
   19132   NULLCMD=:
   19133   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   19134   # is contrary to our usage.  Disable this feature.
   19135   alias -g '${1+"$@"}'='"$@"'
   19136   setopt NO_GLOB_SUBST
   19137 else
   19138   case `(set -o) 2>/dev/null` in #(
   19139   *posix*) :
   19140     set -o posix ;; #(
   19141   *) :
   19142      ;;
   19143 esac
   19144 fi
   19145 
   19146 
   19147 as_nl='
   19148 '
   19149 export as_nl
   19150 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   19151 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   19152 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   19153 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   19154 # Prefer a ksh shell builtin over an external printf program on Solaris,
   19155 # but without wasting forks for bash or zsh.
   19156 if test -z "$BASH_VERSION$ZSH_VERSION" \
   19157     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   19158   as_echo='print -r --'
   19159   as_echo_n='print -rn --'
   19160 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   19161   as_echo='printf %s\n'
   19162   as_echo_n='printf %s'
   19163 else
   19164   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   19165     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   19166     as_echo_n='/usr/ucb/echo -n'
   19167   else
   19168     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   19169     as_echo_n_body='eval
   19170       arg=$1;
   19171       case $arg in #(
   19172       *"$as_nl"*)
   19173 	expr "X$arg" : "X\\(.*\\)$as_nl";
   19174 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   19175       esac;
   19176       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   19177     '
   19178     export as_echo_n_body
   19179     as_echo_n='sh -c $as_echo_n_body as_echo'
   19180   fi
   19181   export as_echo_body
   19182   as_echo='sh -c $as_echo_body as_echo'
   19183 fi
   19184 
   19185 # The user is always right.
   19186 if test "${PATH_SEPARATOR+set}" != set; then
   19187   PATH_SEPARATOR=:
   19188   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   19189     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   19190       PATH_SEPARATOR=';'
   19191   }
   19192 fi
   19193 
   19194 
   19195 # IFS
   19196 # We need space, tab and new line, in precisely that order.  Quoting is
   19197 # there to prevent editors from complaining about space-tab.
   19198 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   19199 # splitting by setting IFS to empty value.)
   19200 IFS=" ""	$as_nl"
   19201 
   19202 # Find who we are.  Look in the path if we contain no directory separator.
   19203 as_myself=
   19204 case $0 in #((
   19205   *[\\/]* ) as_myself=$0 ;;
   19206   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19207 for as_dir in $PATH
   19208 do
   19209   IFS=$as_save_IFS
   19210   test -z "$as_dir" && as_dir=.
   19211     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   19212   done
   19213 IFS=$as_save_IFS
   19214 
   19215      ;;
   19216 esac
   19217 # We did not find ourselves, most probably we were run as `sh COMMAND'
   19218 # in which case we are not to be found in the path.
   19219 if test "x$as_myself" = x; then
   19220   as_myself=$0
   19221 fi
   19222 if test ! -f "$as_myself"; then
   19223   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   19224   exit 1
   19225 fi
   19226 
   19227 # Unset variables that we do not need and which cause bugs (e.g. in
   19228 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   19229 # suppresses any "Segmentation fault" message there.  '((' could
   19230 # trigger a bug in pdksh 5.2.14.
   19231 for as_var in BASH_ENV ENV MAIL MAILPATH
   19232 do eval test x\${$as_var+set} = xset \
   19233   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   19234 done
   19235 PS1='$ '
   19236 PS2='> '
   19237 PS4='+ '
   19238 
   19239 # NLS nuisances.
   19240 LC_ALL=C
   19241 export LC_ALL
   19242 LANGUAGE=C
   19243 export LANGUAGE
   19244 
   19245 # CDPATH.
   19246 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   19247 
   19248 
   19249 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   19250 # ----------------------------------------
   19251 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   19252 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   19253 # script with STATUS, using 1 if that was 0.
   19254 as_fn_error ()
   19255 {
   19256   as_status=$1; test $as_status -eq 0 && as_status=1
   19257   if test "$4"; then
   19258     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   19259     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   19260   fi
   19261   $as_echo "$as_me: error: $2" >&2
   19262   as_fn_exit $as_status
   19263 } # as_fn_error
   19264 
   19265 
   19266 # as_fn_set_status STATUS
   19267 # -----------------------
   19268 # Set $? to STATUS, without forking.
   19269 as_fn_set_status ()
   19270 {
   19271   return $1
   19272 } # as_fn_set_status
   19273 
   19274 # as_fn_exit STATUS
   19275 # -----------------
   19276 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   19277 as_fn_exit ()
   19278 {
   19279   set +e
   19280   as_fn_set_status $1
   19281   exit $1
   19282 } # as_fn_exit
   19283 
   19284 # as_fn_unset VAR
   19285 # ---------------
   19286 # Portably unset VAR.
   19287 as_fn_unset ()
   19288 {
   19289   { eval $1=; unset $1;}
   19290 }
   19291 as_unset=as_fn_unset
   19292 # as_fn_append VAR VALUE
   19293 # ----------------------
   19294 # Append the text in VALUE to the end of the definition contained in VAR. Take
   19295 # advantage of any shell optimizations that allow amortized linear growth over
   19296 # repeated appends, instead of the typical quadratic growth present in naive
   19297 # implementations.
   19298 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   19299   eval 'as_fn_append ()
   19300   {
   19301     eval $1+=\$2
   19302   }'
   19303 else
   19304   as_fn_append ()
   19305   {
   19306     eval $1=\$$1\$2
   19307   }
   19308 fi # as_fn_append
   19309 
   19310 # as_fn_arith ARG...
   19311 # ------------------
   19312 # Perform arithmetic evaluation on the ARGs, and store the result in the
   19313 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   19314 # must be portable across $(()) and expr.
   19315 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   19316   eval 'as_fn_arith ()
   19317   {
   19318     as_val=$(( $* ))
   19319   }'
   19320 else
   19321   as_fn_arith ()
   19322   {
   19323     as_val=`expr "$@" || test $? -eq 1`
   19324   }
   19325 fi # as_fn_arith
   19326 
   19327 
   19328 if expr a : '\(a\)' >/dev/null 2>&1 &&
   19329    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   19330   as_expr=expr
   19331 else
   19332   as_expr=false
   19333 fi
   19334 
   19335 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   19336   as_basename=basename
   19337 else
   19338   as_basename=false
   19339 fi
   19340 
   19341 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   19342   as_dirname=dirname
   19343 else
   19344   as_dirname=false
   19345 fi
   19346 
   19347 as_me=`$as_basename -- "$0" ||
   19348 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   19349 	 X"$0" : 'X\(//\)$' \| \
   19350 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   19351 $as_echo X/"$0" |
   19352     sed '/^.*\/\([^/][^/]*\)\/*$/{
   19353 	    s//\1/
   19354 	    q
   19355 	  }
   19356 	  /^X\/\(\/\/\)$/{
   19357 	    s//\1/
   19358 	    q
   19359 	  }
   19360 	  /^X\/\(\/\).*/{
   19361 	    s//\1/
   19362 	    q
   19363 	  }
   19364 	  s/.*/./; q'`
   19365 
   19366 # Avoid depending upon Character Ranges.
   19367 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   19368 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   19369 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   19370 as_cr_digits='0123456789'
   19371 as_cr_alnum=$as_cr_Letters$as_cr_digits
   19372 
   19373 ECHO_C= ECHO_N= ECHO_T=
   19374 case `echo -n x` in #(((((
   19375 -n*)
   19376   case `echo 'xy\c'` in
   19377   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   19378   xy)  ECHO_C='\c';;
   19379   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   19380        ECHO_T='	';;
   19381   esac;;
   19382 *)
   19383   ECHO_N='-n';;
   19384 esac
   19385 
   19386 rm -f conf$$ conf$$.exe conf$$.file
   19387 if test -d conf$$.dir; then
   19388   rm -f conf$$.dir/conf$$.file
   19389 else
   19390   rm -f conf$$.dir
   19391   mkdir conf$$.dir 2>/dev/null
   19392 fi
   19393 if (echo >conf$$.file) 2>/dev/null; then
   19394   if ln -s conf$$.file conf$$ 2>/dev/null; then
   19395     as_ln_s='ln -s'
   19396     # ... but there are two gotchas:
   19397     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   19398     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   19399     # In both cases, we have to default to `cp -pR'.
   19400     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   19401       as_ln_s='cp -pR'
   19402   elif ln conf$$.file conf$$ 2>/dev/null; then
   19403     as_ln_s=ln
   19404   else
   19405     as_ln_s='cp -pR'
   19406   fi
   19407 else
   19408   as_ln_s='cp -pR'
   19409 fi
   19410 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   19411 rmdir conf$$.dir 2>/dev/null
   19412 
   19413 
   19414 # as_fn_mkdir_p
   19415 # -------------
   19416 # Create "$as_dir" as a directory, including parents if necessary.
   19417 as_fn_mkdir_p ()
   19418 {
   19419 
   19420   case $as_dir in #(
   19421   -*) as_dir=./$as_dir;;
   19422   esac
   19423   test -d "$as_dir" || eval $as_mkdir_p || {
   19424     as_dirs=
   19425     while :; do
   19426       case $as_dir in #(
   19427       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   19428       *) as_qdir=$as_dir;;
   19429       esac
   19430       as_dirs="'$as_qdir' $as_dirs"
   19431       as_dir=`$as_dirname -- "$as_dir" ||
   19432 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19433 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   19434 	 X"$as_dir" : 'X\(//\)$' \| \
   19435 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   19436 $as_echo X"$as_dir" |
   19437     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19438 	    s//\1/
   19439 	    q
   19440 	  }
   19441 	  /^X\(\/\/\)[^/].*/{
   19442 	    s//\1/
   19443 	    q
   19444 	  }
   19445 	  /^X\(\/\/\)$/{
   19446 	    s//\1/
   19447 	    q
   19448 	  }
   19449 	  /^X\(\/\).*/{
   19450 	    s//\1/
   19451 	    q
   19452 	  }
   19453 	  s/.*/./; q'`
   19454       test -d "$as_dir" && break
   19455     done
   19456     test -z "$as_dirs" || eval "mkdir $as_dirs"
   19457   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   19458 
   19459 
   19460 } # as_fn_mkdir_p
   19461 if mkdir -p . 2>/dev/null; then
   19462   as_mkdir_p='mkdir -p "$as_dir"'
   19463 else
   19464   test -d ./-p && rmdir ./-p
   19465   as_mkdir_p=false
   19466 fi
   19467 
   19468 
   19469 # as_fn_executable_p FILE
   19470 # -----------------------
   19471 # Test if FILE is an executable regular file.
   19472 as_fn_executable_p ()
   19473 {
   19474   test -f "$1" && test -x "$1"
   19475 } # as_fn_executable_p
   19476 as_test_x='test -x'
   19477 as_executable_p=as_fn_executable_p
   19478 
   19479 # Sed expression to map a string onto a valid CPP name.
   19480 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   19481 
   19482 # Sed expression to map a string onto a valid variable name.
   19483 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   19484 
   19485 
   19486 exec 6>&1
   19487 ## ----------------------------------- ##
   19488 ## Main body of $CONFIG_STATUS script. ##
   19489 ## ----------------------------------- ##
   19490 _ASEOF
   19491 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   19492 
   19493 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19494 # Save the log message, to keep $0 and so on meaningful, and to
   19495 # report actual input values of CONFIG_FILES etc. instead of their
   19496 # values after options handling.
   19497 ac_log="
   19498 This file was extended by xf86-video-chips $as_me 1.2.6, which was
   19499 generated by GNU Autoconf 2.69.  Invocation command line was
   19500 
   19501   CONFIG_FILES    = $CONFIG_FILES
   19502   CONFIG_HEADERS  = $CONFIG_HEADERS
   19503   CONFIG_LINKS    = $CONFIG_LINKS
   19504   CONFIG_COMMANDS = $CONFIG_COMMANDS
   19505   $ $0 $@
   19506 
   19507 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   19508 "
   19509 
   19510 _ACEOF
   19511 
   19512 case $ac_config_files in *"
   19513 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   19514 esac
   19515 
   19516 case $ac_config_headers in *"
   19517 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   19518 esac
   19519 
   19520 
   19521 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19522 # Files that config.status was made for.
   19523 config_files="$ac_config_files"
   19524 config_headers="$ac_config_headers"
   19525 config_commands="$ac_config_commands"
   19526 
   19527 _ACEOF
   19528 
   19529 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19530 ac_cs_usage="\
   19531 \`$as_me' instantiates files and other configuration actions
   19532 from templates according to the current configuration.  Unless the files
   19533 and actions are specified as TAGs, all are instantiated by default.
   19534 
   19535 Usage: $0 [OPTION]... [TAG]...
   19536 
   19537   -h, --help       print this help, then exit
   19538   -V, --version    print version number and configuration settings, then exit
   19539       --config     print configuration, then exit
   19540   -q, --quiet, --silent
   19541                    do not print progress messages
   19542   -d, --debug      don't remove temporary files
   19543       --recheck    update $as_me by reconfiguring in the same conditions
   19544       --file=FILE[:TEMPLATE]
   19545                    instantiate the configuration file FILE
   19546       --header=FILE[:TEMPLATE]
   19547                    instantiate the configuration header FILE
   19548 
   19549 Configuration files:
   19550 $config_files
   19551 
   19552 Configuration headers:
   19553 $config_headers
   19554 
   19555 Configuration commands:
   19556 $config_commands
   19557 
   19558 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   19559 
   19560 _ACEOF
   19561 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19562 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   19563 ac_cs_version="\\
   19564 xf86-video-chips config.status 1.2.6
   19565 configured by $0, generated by GNU Autoconf 2.69,
   19566   with options \\"\$ac_cs_config\\"
   19567 
   19568 Copyright (C) 2012 Free Software Foundation, Inc.
   19569 This config.status script is free software; the Free Software Foundation
   19570 gives unlimited permission to copy, distribute and modify it."
   19571 
   19572 ac_pwd='$ac_pwd'
   19573 srcdir='$srcdir'
   19574 INSTALL='$INSTALL'
   19575 MKDIR_P='$MKDIR_P'
   19576 AWK='$AWK'
   19577 test -n "\$AWK" || AWK=awk
   19578 _ACEOF
   19579 
   19580 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19581 # The default lists apply if the user does not specify any file.
   19582 ac_need_defaults=:
   19583 while test $# != 0
   19584 do
   19585   case $1 in
   19586   --*=?*)
   19587     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   19588     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   19589     ac_shift=:
   19590     ;;
   19591   --*=)
   19592     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   19593     ac_optarg=
   19594     ac_shift=:
   19595     ;;
   19596   *)
   19597     ac_option=$1
   19598     ac_optarg=$2
   19599     ac_shift=shift
   19600     ;;
   19601   esac
   19602 
   19603   case $ac_option in
   19604   # Handling of the options.
   19605   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   19606     ac_cs_recheck=: ;;
   19607   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   19608     $as_echo "$ac_cs_version"; exit ;;
   19609   --config | --confi | --conf | --con | --co | --c )
   19610     $as_echo "$ac_cs_config"; exit ;;
   19611   --debug | --debu | --deb | --de | --d | -d )
   19612     debug=: ;;
   19613   --file | --fil | --fi | --f )
   19614     $ac_shift
   19615     case $ac_optarg in
   19616     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19617     '') as_fn_error $? "missing file argument" ;;
   19618     esac
   19619     as_fn_append CONFIG_FILES " '$ac_optarg'"
   19620     ac_need_defaults=false;;
   19621   --header | --heade | --head | --hea )
   19622     $ac_shift
   19623     case $ac_optarg in
   19624     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19625     esac
   19626     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   19627     ac_need_defaults=false;;
   19628   --he | --h)
   19629     # Conflict between --help and --header
   19630     as_fn_error $? "ambiguous option: \`$1'
   19631 Try \`$0 --help' for more information.";;
   19632   --help | --hel | -h )
   19633     $as_echo "$ac_cs_usage"; exit ;;
   19634   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   19635   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   19636     ac_cs_silent=: ;;
   19637 
   19638   # This is an error.
   19639   -*) as_fn_error $? "unrecognized option: \`$1'
   19640 Try \`$0 --help' for more information." ;;
   19641 
   19642   *) as_fn_append ac_config_targets " $1"
   19643      ac_need_defaults=false ;;
   19644 
   19645   esac
   19646   shift
   19647 done
   19648 
   19649 ac_configure_extra_args=
   19650 
   19651 if $ac_cs_silent; then
   19652   exec 6>/dev/null
   19653   ac_configure_extra_args="$ac_configure_extra_args --silent"
   19654 fi
   19655 
   19656 _ACEOF
   19657 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19658 if \$ac_cs_recheck; then
   19659   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   19660   shift
   19661   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   19662   CONFIG_SHELL='$SHELL'
   19663   export CONFIG_SHELL
   19664   exec "\$@"
   19665 fi
   19666 
   19667 _ACEOF
   19668 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19669 exec 5>>config.log
   19670 {
   19671   echo
   19672   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   19673 ## Running $as_me. ##
   19674 _ASBOX
   19675   $as_echo "$ac_log"
   19676 } >&5
   19677 
   19678 _ACEOF
   19679 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19680 #
   19681 # INIT-COMMANDS
   19682 #
   19683 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   19684 
   19685 
   19686 # The HP-UX ksh and POSIX shell print the target directory to stdout
   19687 # if CDPATH is set.
   19688 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   19689 
   19690 sed_quote_subst='$sed_quote_subst'
   19691 double_quote_subst='$double_quote_subst'
   19692 delay_variable_subst='$delay_variable_subst'
   19693 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   19694 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   19695 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   19696 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   19697 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   19698 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   19699 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   19700 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   19701 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   19702 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   19703 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   19704 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   19705 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   19706 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   19707 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   19708 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   19709 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   19710 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   19711 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   19712 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   19713 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   19714 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   19715 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   19716 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   19717 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   19718 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   19719 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   19720 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   19721 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   19722 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   19723 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   19724 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   19725 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   19726 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   19727 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   19728 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   19729 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   19730 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   19731 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   19732 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   19733 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   19734 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   19735 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   19736 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   19737 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   19738 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   19739 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   19740 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   19741 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   19742 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   19743 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   19744 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   19745 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   19746 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   19747 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   19748 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   19749 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   19750 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   19751 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
   19752 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   19753 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   19754 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   19755 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   19756 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   19757 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   19758 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   19759 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   19760 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   19761 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   19762 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   19763 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   19764 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   19765 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   19766 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   19767 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   19768 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   19769 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   19770 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   19771 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   19772 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   19773 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   19774 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   19775 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   19776 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   19777 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   19778 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   19779 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   19780 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   19781 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   19782 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   19783 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   19784 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   19785 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   19786 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   19787 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   19788 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   19789 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   19790 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   19791 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   19792 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   19793 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   19794 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   19795 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   19796 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   19797 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   19798 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   19799 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   19800 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   19801 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   19802 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   19803 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   19804 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   19805 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   19806 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   19807 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   19808 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   19809 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   19810 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   19811 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   19812 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   19813 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   19814 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   19815 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   19816 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   19817 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   19818 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   19819 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   19820 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   19821 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   19822 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   19823 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   19824 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   19825 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   19826 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   19827 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   19828 
   19829 LTCC='$LTCC'
   19830 LTCFLAGS='$LTCFLAGS'
   19831 compiler='$compiler_DEFAULT'
   19832 
   19833 # A function that is used when there is no print builtin or printf.
   19834 func_fallback_echo ()
   19835 {
   19836   eval 'cat <<_LTECHO_EOF
   19837 \$1
   19838 _LTECHO_EOF'
   19839 }
   19840 
   19841 # Quote evaled strings.
   19842 for var in SHELL \
   19843 ECHO \
   19844 PATH_SEPARATOR \
   19845 SED \
   19846 GREP \
   19847 EGREP \
   19848 FGREP \
   19849 LD \
   19850 NM \
   19851 LN_S \
   19852 lt_SP2NL \
   19853 lt_NL2SP \
   19854 reload_flag \
   19855 OBJDUMP \
   19856 deplibs_check_method \
   19857 file_magic_cmd \
   19858 file_magic_glob \
   19859 want_nocaseglob \
   19860 DLLTOOL \
   19861 sharedlib_from_linklib_cmd \
   19862 AR \
   19863 AR_FLAGS \
   19864 archiver_list_spec \
   19865 STRIP \
   19866 RANLIB \
   19867 CC \
   19868 CFLAGS \
   19869 compiler \
   19870 lt_cv_sys_global_symbol_pipe \
   19871 lt_cv_sys_global_symbol_to_cdecl \
   19872 lt_cv_sys_global_symbol_to_import \
   19873 lt_cv_sys_global_symbol_to_c_name_address \
   19874 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   19875 lt_cv_nm_interface \
   19876 nm_file_list_spec \
   19877 lt_cv_truncate_bin \
   19878 lt_prog_compiler_no_builtin_flag \
   19879 lt_prog_compiler_pic \
   19880 lt_prog_compiler_wl \
   19881 lt_prog_compiler_static \
   19882 lt_cv_prog_compiler_c_o \
   19883 need_locks \
   19884 MANIFEST_TOOL \
   19885 DSYMUTIL \
   19886 NMEDIT \
   19887 LIPO \
   19888 OTOOL \
   19889 OTOOL64 \
   19890 shrext_cmds \
   19891 export_dynamic_flag_spec \
   19892 whole_archive_flag_spec \
   19893 compiler_needs_object \
   19894 with_gnu_ld \
   19895 allow_undefined_flag \
   19896 no_undefined_flag \
   19897 hardcode_libdir_flag_spec \
   19898 hardcode_libdir_separator \
   19899 exclude_expsyms \
   19900 include_expsyms \
   19901 file_list_spec \
   19902 variables_saved_for_relink \
   19903 libname_spec \
   19904 library_names_spec \
   19905 soname_spec \
   19906 install_override_mode \
   19907 finish_eval \
   19908 old_striplib \
   19909 striplib; do
   19910     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   19911     *[\\\\\\\`\\"\\\$]*)
   19912       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   19913       ;;
   19914     *)
   19915       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   19916       ;;
   19917     esac
   19918 done
   19919 
   19920 # Double-quote double-evaled strings.
   19921 for var in reload_cmds \
   19922 old_postinstall_cmds \
   19923 old_postuninstall_cmds \
   19924 old_archive_cmds \
   19925 extract_expsyms_cmds \
   19926 old_archive_from_new_cmds \
   19927 old_archive_from_expsyms_cmds \
   19928 archive_cmds \
   19929 archive_expsym_cmds \
   19930 module_cmds \
   19931 module_expsym_cmds \
   19932 export_symbols_cmds \
   19933 prelink_cmds \
   19934 postlink_cmds \
   19935 postinstall_cmds \
   19936 postuninstall_cmds \
   19937 finish_cmds \
   19938 sys_lib_search_path_spec \
   19939 configure_time_dlsearch_path \
   19940 configure_time_lt_sys_library_path; do
   19941     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   19942     *[\\\\\\\`\\"\\\$]*)
   19943       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   19944       ;;
   19945     *)
   19946       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   19947       ;;
   19948     esac
   19949 done
   19950 
   19951 ac_aux_dir='$ac_aux_dir'
   19952 
   19953 # See if we are running on zsh, and set the options that allow our
   19954 # commands through without removal of \ escapes INIT.
   19955 if test -n "\${ZSH_VERSION+set}"; then
   19956    setopt NO_GLOB_SUBST
   19957 fi
   19958 
   19959 
   19960     PACKAGE='$PACKAGE'
   19961     VERSION='$VERSION'
   19962     RM='$RM'
   19963     ofile='$ofile'
   19964 
   19965 
   19966 
   19967 
   19968 _ACEOF
   19969 
   19970 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19971 
   19972 # Handling of arguments.
   19973 for ac_config_target in $ac_config_targets
   19974 do
   19975   case $ac_config_target in
   19976     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   19977     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   19978     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   19979     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   19980     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   19981     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   19982     "util/Makefile") CONFIG_FILES="$CONFIG_FILES util/Makefile" ;;
   19983 
   19984   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   19985   esac
   19986 done
   19987 
   19988 
   19989 # If the user did not use the arguments to specify the items to instantiate,
   19990 # then the envvar interface is used.  Set only those that are not.
   19991 # We use the long form for the default assignment because of an extremely
   19992 # bizarre bug on SunOS 4.1.3.
   19993 if $ac_need_defaults; then
   19994   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   19995   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   19996   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   19997 fi
   19998 
   19999 # Have a temporary directory for convenience.  Make it in the build tree
   20000 # simply because there is no reason against having it here, and in addition,
   20001 # creating and moving files from /tmp can sometimes cause problems.
   20002 # Hook for its removal unless debugging.
   20003 # Note that there is a small window in which the directory will not be cleaned:
   20004 # after its creation but before its name has been assigned to `$tmp'.
   20005 $debug ||
   20006 {
   20007   tmp= ac_tmp=
   20008   trap 'exit_status=$?
   20009   : "${ac_tmp:=$tmp}"
   20010   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   20011 ' 0
   20012   trap 'as_fn_exit 1' 1 2 13 15
   20013 }
   20014 # Create a (secure) tmp directory for tmp files.
   20015 
   20016 {
   20017   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   20018   test -d "$tmp"
   20019 }  ||
   20020 {
   20021   tmp=./conf$$-$RANDOM
   20022   (umask 077 && mkdir "$tmp")
   20023 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   20024 ac_tmp=$tmp
   20025 
   20026 # Set up the scripts for CONFIG_FILES section.
   20027 # No need to generate them if there are no CONFIG_FILES.
   20028 # This happens for instance with `./config.status config.h'.
   20029 if test -n "$CONFIG_FILES"; then
   20030 
   20031 
   20032 ac_cr=`echo X | tr X '\015'`
   20033 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   20034 # But we know of no other shell where ac_cr would be empty at this
   20035 # point, so we can use a bashism as a fallback.
   20036 if test "x$ac_cr" = x; then
   20037   eval ac_cr=\$\'\\r\'
   20038 fi
   20039 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   20040 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   20041   ac_cs_awk_cr='\\r'
   20042 else
   20043   ac_cs_awk_cr=$ac_cr
   20044 fi
   20045 
   20046 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   20047 _ACEOF
   20048 
   20049 
   20050 {
   20051   echo "cat >conf$$subs.awk <<_ACEOF" &&
   20052   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   20053   echo "_ACEOF"
   20054 } >conf$$subs.sh ||
   20055   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20056 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   20057 ac_delim='%!_!# '
   20058 for ac_last_try in false false false false false :; do
   20059   . ./conf$$subs.sh ||
   20060     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20061 
   20062   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   20063   if test $ac_delim_n = $ac_delim_num; then
   20064     break
   20065   elif $ac_last_try; then
   20066     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20067   else
   20068     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20069   fi
   20070 done
   20071 rm -f conf$$subs.sh
   20072 
   20073 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20074 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   20075 _ACEOF
   20076 sed -n '
   20077 h
   20078 s/^/S["/; s/!.*/"]=/
   20079 p
   20080 g
   20081 s/^[^!]*!//
   20082 :repl
   20083 t repl
   20084 s/'"$ac_delim"'$//
   20085 t delim
   20086 :nl
   20087 h
   20088 s/\(.\{148\}\)..*/\1/
   20089 t more1
   20090 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   20091 p
   20092 n
   20093 b repl
   20094 :more1
   20095 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   20096 p
   20097 g
   20098 s/.\{148\}//
   20099 t nl
   20100 :delim
   20101 h
   20102 s/\(.\{148\}\)..*/\1/
   20103 t more2
   20104 s/["\\]/\\&/g; s/^/"/; s/$/"/
   20105 p
   20106 b
   20107 :more2
   20108 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   20109 p
   20110 g
   20111 s/.\{148\}//
   20112 t delim
   20113 ' <conf$$subs.awk | sed '
   20114 /^[^""]/{
   20115   N
   20116   s/\n//
   20117 }
   20118 ' >>$CONFIG_STATUS || ac_write_fail=1
   20119 rm -f conf$$subs.awk
   20120 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20121 _ACAWK
   20122 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   20123   for (key in S) S_is_set[key] = 1
   20124   FS = ""
   20125 
   20126 }
   20127 {
   20128   line = $ 0
   20129   nfields = split(line, field, "@")
   20130   substed = 0
   20131   len = length(field[1])
   20132   for (i = 2; i < nfields; i++) {
   20133     key = field[i]
   20134     keylen = length(key)
   20135     if (S_is_set[key]) {
   20136       value = S[key]
   20137       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   20138       len += length(value) + length(field[++i])
   20139       substed = 1
   20140     } else
   20141       len += 1 + keylen
   20142   }
   20143 
   20144   print line
   20145 }
   20146 
   20147 _ACAWK
   20148 _ACEOF
   20149 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20150 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   20151   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   20152 else
   20153   cat
   20154 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   20155   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   20156 _ACEOF
   20157 
   20158 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   20159 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   20160 # trailing colons and then remove the whole line if VPATH becomes empty
   20161 # (actually we leave an empty line to preserve line numbers).
   20162 if test "x$srcdir" = x.; then
   20163   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   20164 h
   20165 s///
   20166 s/^/:/
   20167 s/[	 ]*$/:/
   20168 s/:\$(srcdir):/:/g
   20169 s/:\${srcdir}:/:/g
   20170 s/:@srcdir@:/:/g
   20171 s/^:*//
   20172 s/:*$//
   20173 x
   20174 s/\(=[	 ]*\).*/\1/
   20175 G
   20176 s/\n//
   20177 s/^[^=]*=[	 ]*$//
   20178 }'
   20179 fi
   20180 
   20181 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20182 fi # test -n "$CONFIG_FILES"
   20183 
   20184 # Set up the scripts for CONFIG_HEADERS section.
   20185 # No need to generate them if there are no CONFIG_HEADERS.
   20186 # This happens for instance with `./config.status Makefile'.
   20187 if test -n "$CONFIG_HEADERS"; then
   20188 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   20189 BEGIN {
   20190 _ACEOF
   20191 
   20192 # Transform confdefs.h into an awk script `defines.awk', embedded as
   20193 # here-document in config.status, that substitutes the proper values into
   20194 # config.h.in to produce config.h.
   20195 
   20196 # Create a delimiter string that does not exist in confdefs.h, to ease
   20197 # handling of long lines.
   20198 ac_delim='%!_!# '
   20199 for ac_last_try in false false :; do
   20200   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   20201   if test -z "$ac_tt"; then
   20202     break
   20203   elif $ac_last_try; then
   20204     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   20205   else
   20206     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20207   fi
   20208 done
   20209 
   20210 # For the awk script, D is an array of macro values keyed by name,
   20211 # likewise P contains macro parameters if any.  Preserve backslash
   20212 # newline sequences.
   20213 
   20214 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   20215 sed -n '
   20216 s/.\{148\}/&'"$ac_delim"'/g
   20217 t rset
   20218 :rset
   20219 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   20220 t def
   20221 d
   20222 :def
   20223 s/\\$//
   20224 t bsnl
   20225 s/["\\]/\\&/g
   20226 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   20227 D["\1"]=" \3"/p
   20228 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   20229 d
   20230 :bsnl
   20231 s/["\\]/\\&/g
   20232 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   20233 D["\1"]=" \3\\\\\\n"\\/p
   20234 t cont
   20235 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   20236 t cont
   20237 d
   20238 :cont
   20239 n
   20240 s/.\{148\}/&'"$ac_delim"'/g
   20241 t clear
   20242 :clear
   20243 s/\\$//
   20244 t bsnlc
   20245 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   20246 d
   20247 :bsnlc
   20248 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   20249 b cont
   20250 ' <confdefs.h | sed '
   20251 s/'"$ac_delim"'/"\\\
   20252 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   20253 
   20254 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20255   for (key in D) D_is_set[key] = 1
   20256   FS = ""
   20257 }
   20258 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   20259   line = \$ 0
   20260   split(line, arg, " ")
   20261   if (arg[1] == "#") {
   20262     defundef = arg[2]
   20263     mac1 = arg[3]
   20264   } else {
   20265     defundef = substr(arg[1], 2)
   20266     mac1 = arg[2]
   20267   }
   20268   split(mac1, mac2, "(") #)
   20269   macro = mac2[1]
   20270   prefix = substr(line, 1, index(line, defundef) - 1)
   20271   if (D_is_set[macro]) {
   20272     # Preserve the white space surrounding the "#".
   20273     print prefix "define", macro P[macro] D[macro]
   20274     next
   20275   } else {
   20276     # Replace #undef with comments.  This is necessary, for example,
   20277     # in the case of _POSIX_SOURCE, which is predefined and required
   20278     # on some systems where configure will not decide to define it.
   20279     if (defundef == "undef") {
   20280       print "/*", prefix defundef, macro, "*/"
   20281       next
   20282     }
   20283   }
   20284 }
   20285 { print }
   20286 _ACAWK
   20287 _ACEOF
   20288 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20289   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   20290 fi # test -n "$CONFIG_HEADERS"
   20291 
   20292 
   20293 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   20294 shift
   20295 for ac_tag
   20296 do
   20297   case $ac_tag in
   20298   :[FHLC]) ac_mode=$ac_tag; continue;;
   20299   esac
   20300   case $ac_mode$ac_tag in
   20301   :[FHL]*:*);;
   20302   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   20303   :[FH]-) ac_tag=-:-;;
   20304   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   20305   esac
   20306   ac_save_IFS=$IFS
   20307   IFS=:
   20308   set x $ac_tag
   20309   IFS=$ac_save_IFS
   20310   shift
   20311   ac_file=$1
   20312   shift
   20313 
   20314   case $ac_mode in
   20315   :L) ac_source=$1;;
   20316   :[FH])
   20317     ac_file_inputs=
   20318     for ac_f
   20319     do
   20320       case $ac_f in
   20321       -) ac_f="$ac_tmp/stdin";;
   20322       *) # Look for the file first in the build tree, then in the source tree
   20323 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   20324 	 # because $ac_f cannot contain `:'.
   20325 	 test -f "$ac_f" ||
   20326 	   case $ac_f in
   20327 	   [\\/$]*) false;;
   20328 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   20329 	   esac ||
   20330 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   20331       esac
   20332       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   20333       as_fn_append ac_file_inputs " '$ac_f'"
   20334     done
   20335 
   20336     # Let's still pretend it is `configure' which instantiates (i.e., don't
   20337     # use $as_me), people would be surprised to read:
   20338     #    /* config.h.  Generated by config.status.  */
   20339     configure_input='Generated from '`
   20340 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   20341 	`' by configure.'
   20342     if test x"$ac_file" != x-; then
   20343       configure_input="$ac_file.  $configure_input"
   20344       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   20345 $as_echo "$as_me: creating $ac_file" >&6;}
   20346     fi
   20347     # Neutralize special characters interpreted by sed in replacement strings.
   20348     case $configure_input in #(
   20349     *\&* | *\|* | *\\* )
   20350        ac_sed_conf_input=`$as_echo "$configure_input" |
   20351        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   20352     *) ac_sed_conf_input=$configure_input;;
   20353     esac
   20354 
   20355     case $ac_tag in
   20356     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   20357       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   20358     esac
   20359     ;;
   20360   esac
   20361 
   20362   ac_dir=`$as_dirname -- "$ac_file" ||
   20363 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20364 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   20365 	 X"$ac_file" : 'X\(//\)$' \| \
   20366 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   20367 $as_echo X"$ac_file" |
   20368     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20369 	    s//\1/
   20370 	    q
   20371 	  }
   20372 	  /^X\(\/\/\)[^/].*/{
   20373 	    s//\1/
   20374 	    q
   20375 	  }
   20376 	  /^X\(\/\/\)$/{
   20377 	    s//\1/
   20378 	    q
   20379 	  }
   20380 	  /^X\(\/\).*/{
   20381 	    s//\1/
   20382 	    q
   20383 	  }
   20384 	  s/.*/./; q'`
   20385   as_dir="$ac_dir"; as_fn_mkdir_p
   20386   ac_builddir=.
   20387 
   20388 case "$ac_dir" in
   20389 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20390 *)
   20391   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   20392   # A ".." for each directory in $ac_dir_suffix.
   20393   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   20394   case $ac_top_builddir_sub in
   20395   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20396   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   20397   esac ;;
   20398 esac
   20399 ac_abs_top_builddir=$ac_pwd
   20400 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   20401 # for backward compatibility:
   20402 ac_top_builddir=$ac_top_build_prefix
   20403 
   20404 case $srcdir in
   20405   .)  # We are building in place.
   20406     ac_srcdir=.
   20407     ac_top_srcdir=$ac_top_builddir_sub
   20408     ac_abs_top_srcdir=$ac_pwd ;;
   20409   [\\/]* | ?:[\\/]* )  # Absolute name.
   20410     ac_srcdir=$srcdir$ac_dir_suffix;
   20411     ac_top_srcdir=$srcdir
   20412     ac_abs_top_srcdir=$srcdir ;;
   20413   *) # Relative name.
   20414     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   20415     ac_top_srcdir=$ac_top_build_prefix$srcdir
   20416     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   20417 esac
   20418 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   20419 
   20420 
   20421   case $ac_mode in
   20422   :F)
   20423   #
   20424   # CONFIG_FILE
   20425   #
   20426 
   20427   case $INSTALL in
   20428   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   20429   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   20430   esac
   20431   ac_MKDIR_P=$MKDIR_P
   20432   case $MKDIR_P in
   20433   [\\/$]* | ?:[\\/]* ) ;;
   20434   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   20435   esac
   20436 _ACEOF
   20437 
   20438 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20439 # If the template does not know about datarootdir, expand it.
   20440 # FIXME: This hack should be removed a few years after 2.60.
   20441 ac_datarootdir_hack=; ac_datarootdir_seen=
   20442 ac_sed_dataroot='
   20443 /datarootdir/ {
   20444   p
   20445   q
   20446 }
   20447 /@datadir@/p
   20448 /@docdir@/p
   20449 /@infodir@/p
   20450 /@localedir@/p
   20451 /@mandir@/p'
   20452 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   20453 *datarootdir*) ac_datarootdir_seen=yes;;
   20454 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   20455   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   20456 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   20457 _ACEOF
   20458 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20459   ac_datarootdir_hack='
   20460   s&@datadir@&$datadir&g
   20461   s&@docdir@&$docdir&g
   20462   s&@infodir@&$infodir&g
   20463   s&@localedir@&$localedir&g
   20464   s&@mandir@&$mandir&g
   20465   s&\\\${datarootdir}&$datarootdir&g' ;;
   20466 esac
   20467 _ACEOF
   20468 
   20469 # Neutralize VPATH when `$srcdir' = `.'.
   20470 # Shell code in configure.ac might set extrasub.
   20471 # FIXME: do we really want to maintain this feature?
   20472 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20473 ac_sed_extra="$ac_vpsub
   20474 $extrasub
   20475 _ACEOF
   20476 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20477 :t
   20478 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   20479 s|@configure_input@|$ac_sed_conf_input|;t t
   20480 s&@top_builddir@&$ac_top_builddir_sub&;t t
   20481 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   20482 s&@srcdir@&$ac_srcdir&;t t
   20483 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   20484 s&@top_srcdir@&$ac_top_srcdir&;t t
   20485 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   20486 s&@builddir@&$ac_builddir&;t t
   20487 s&@abs_builddir@&$ac_abs_builddir&;t t
   20488 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   20489 s&@INSTALL@&$ac_INSTALL&;t t
   20490 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   20491 $ac_datarootdir_hack
   20492 "
   20493 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   20494   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20495 
   20496 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   20497   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   20498   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   20499       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   20500   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20501 which seems to be undefined.  Please make sure it is defined" >&5
   20502 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20503 which seems to be undefined.  Please make sure it is defined" >&2;}
   20504 
   20505   rm -f "$ac_tmp/stdin"
   20506   case $ac_file in
   20507   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   20508   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   20509   esac \
   20510   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20511  ;;
   20512   :H)
   20513   #
   20514   # CONFIG_HEADER
   20515   #
   20516   if test x"$ac_file" != x-; then
   20517     {
   20518       $as_echo "/* $configure_input  */" \
   20519       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   20520     } >"$ac_tmp/config.h" \
   20521       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20522     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   20523       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   20524 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   20525     else
   20526       rm -f "$ac_file"
   20527       mv "$ac_tmp/config.h" "$ac_file" \
   20528 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20529     fi
   20530   else
   20531     $as_echo "/* $configure_input  */" \
   20532       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   20533       || as_fn_error $? "could not create -" "$LINENO" 5
   20534   fi
   20535 # Compute "$ac_file"'s index in $config_headers.
   20536 _am_arg="$ac_file"
   20537 _am_stamp_count=1
   20538 for _am_header in $config_headers :; do
   20539   case $_am_header in
   20540     $_am_arg | $_am_arg:* )
   20541       break ;;
   20542     * )
   20543       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   20544   esac
   20545 done
   20546 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   20547 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20548 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   20549 	 X"$_am_arg" : 'X\(//\)$' \| \
   20550 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   20551 $as_echo X"$_am_arg" |
   20552     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20553 	    s//\1/
   20554 	    q
   20555 	  }
   20556 	  /^X\(\/\/\)[^/].*/{
   20557 	    s//\1/
   20558 	    q
   20559 	  }
   20560 	  /^X\(\/\/\)$/{
   20561 	    s//\1/
   20562 	    q
   20563 	  }
   20564 	  /^X\(\/\).*/{
   20565 	    s//\1/
   20566 	    q
   20567 	  }
   20568 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   20569  ;;
   20570 
   20571   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   20572 $as_echo "$as_me: executing $ac_file commands" >&6;}
   20573  ;;
   20574   esac
   20575 
   20576 
   20577   case $ac_file$ac_mode in
   20578     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   20579   # Older Autoconf quotes --file arguments for eval, but not when files
   20580   # are listed without --file.  Let's play safe and only enable the eval
   20581   # if we detect the quoting.
   20582   case $CONFIG_FILES in
   20583   *\'*) eval set x "$CONFIG_FILES" ;;
   20584   *)   set x $CONFIG_FILES ;;
   20585   esac
   20586   shift
   20587   for mf
   20588   do
   20589     # Strip MF so we end up with the name of the file.
   20590     mf=`echo "$mf" | sed -e 's/:.*$//'`
   20591     # Check whether this is an Automake generated Makefile or not.
   20592     # We used to match only the files named 'Makefile.in', but
   20593     # some people rename them; so instead we look at the file content.
   20594     # Grep'ing the first line is not enough: some people post-process
   20595     # each Makefile.in and add a new line on top of each file to say so.
   20596     # Grep'ing the whole file is not good either: AIX grep has a line
   20597     # limit of 2048, but all sed's we know have understand at least 4000.
   20598     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   20599       dirpart=`$as_dirname -- "$mf" ||
   20600 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20601 	 X"$mf" : 'X\(//\)[^/]' \| \
   20602 	 X"$mf" : 'X\(//\)$' \| \
   20603 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   20604 $as_echo X"$mf" |
   20605     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20606 	    s//\1/
   20607 	    q
   20608 	  }
   20609 	  /^X\(\/\/\)[^/].*/{
   20610 	    s//\1/
   20611 	    q
   20612 	  }
   20613 	  /^X\(\/\/\)$/{
   20614 	    s//\1/
   20615 	    q
   20616 	  }
   20617 	  /^X\(\/\).*/{
   20618 	    s//\1/
   20619 	    q
   20620 	  }
   20621 	  s/.*/./; q'`
   20622     else
   20623       continue
   20624     fi
   20625     # Extract the definition of DEPDIR, am__include, and am__quote
   20626     # from the Makefile without running 'make'.
   20627     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   20628     test -z "$DEPDIR" && continue
   20629     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   20630     test -z "$am__include" && continue
   20631     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   20632     # Find all dependency output files, they are included files with
   20633     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   20634     # simplest approach to changing $(DEPDIR) to its actual value in the
   20635     # expansion.
   20636     for file in `sed -n "
   20637       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   20638 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   20639       # Make sure the directory exists.
   20640       test -f "$dirpart/$file" && continue
   20641       fdir=`$as_dirname -- "$file" ||
   20642 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20643 	 X"$file" : 'X\(//\)[^/]' \| \
   20644 	 X"$file" : 'X\(//\)$' \| \
   20645 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   20646 $as_echo X"$file" |
   20647     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20648 	    s//\1/
   20649 	    q
   20650 	  }
   20651 	  /^X\(\/\/\)[^/].*/{
   20652 	    s//\1/
   20653 	    q
   20654 	  }
   20655 	  /^X\(\/\/\)$/{
   20656 	    s//\1/
   20657 	    q
   20658 	  }
   20659 	  /^X\(\/\).*/{
   20660 	    s//\1/
   20661 	    q
   20662 	  }
   20663 	  s/.*/./; q'`
   20664       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   20665       # echo "creating $dirpart/$file"
   20666       echo '# dummy' > "$dirpart/$file"
   20667     done
   20668   done
   20669 }
   20670  ;;
   20671     "libtool":C)
   20672 
   20673     # See if we are running on zsh, and set the options that allow our
   20674     # commands through without removal of \ escapes.
   20675     if test -n "${ZSH_VERSION+set}"; then
   20676       setopt NO_GLOB_SUBST
   20677     fi
   20678 
   20679     cfgfile=${ofile}T
   20680     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   20681     $RM "$cfgfile"
   20682 
   20683     cat <<_LT_EOF >> "$cfgfile"
   20684 #! $SHELL
   20685 # Generated automatically by $as_me ($PACKAGE) $VERSION
   20686 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   20687 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   20688 
   20689 # Provide generalized library-building support services.
   20690 # Written by Gordon Matzigkeit, 1996
   20691 
   20692 # Copyright (C) 2014 Free Software Foundation, Inc.
   20693 # This is free software; see the source for copying conditions.  There is NO
   20694 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   20695 
   20696 # GNU Libtool is free software; you can redistribute it and/or modify
   20697 # it under the terms of the GNU General Public License as published by
   20698 # the Free Software Foundation; either version 2 of of the License, or
   20699 # (at your option) any later version.
   20700 #
   20701 # As a special exception to the GNU General Public License, if you
   20702 # distribute this file as part of a program or library that is built
   20703 # using GNU Libtool, you may include this file under the  same
   20704 # distribution terms that you use for the rest of that program.
   20705 #
   20706 # GNU Libtool is distributed in the hope that it will be useful, but
   20707 # WITHOUT ANY WARRANTY; without even the implied warranty of
   20708 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   20709 # GNU General Public License for more details.
   20710 #
   20711 # You should have received a copy of the GNU General Public License
   20712 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   20713 
   20714 
   20715 # The names of the tagged configurations supported by this script.
   20716 available_tags=''
   20717 
   20718 # Configured defaults for sys_lib_dlsearch_path munging.
   20719 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   20720 
   20721 # ### BEGIN LIBTOOL CONFIG
   20722 
   20723 # Whether or not to build static libraries.
   20724 build_old_libs=$enable_static
   20725 
   20726 # Which release of libtool.m4 was used?
   20727 macro_version=$macro_version
   20728 macro_revision=$macro_revision
   20729 
   20730 # Whether or not to build shared libraries.
   20731 build_libtool_libs=$enable_shared
   20732 
   20733 # What type of objects to build.
   20734 pic_mode=$pic_mode
   20735 
   20736 # Whether or not to optimize for fast installation.
   20737 fast_install=$enable_fast_install
   20738 
   20739 # Shared archive member basename,for filename based shared library versioning on AIX.
   20740 shared_archive_member_spec=$shared_archive_member_spec
   20741 
   20742 # Shell to use when invoking shell scripts.
   20743 SHELL=$lt_SHELL
   20744 
   20745 # An echo program that protects backslashes.
   20746 ECHO=$lt_ECHO
   20747 
   20748 # The PATH separator for the build system.
   20749 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   20750 
   20751 # The host system.
   20752 host_alias=$host_alias
   20753 host=$host
   20754 host_os=$host_os
   20755 
   20756 # The build system.
   20757 build_alias=$build_alias
   20758 build=$build
   20759 build_os=$build_os
   20760 
   20761 # A sed program that does not truncate output.
   20762 SED=$lt_SED
   20763 
   20764 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   20765 Xsed="\$SED -e 1s/^X//"
   20766 
   20767 # A grep program that handles long lines.
   20768 GREP=$lt_GREP
   20769 
   20770 # An ERE matcher.
   20771 EGREP=$lt_EGREP
   20772 
   20773 # A literal string matcher.
   20774 FGREP=$lt_FGREP
   20775 
   20776 # A BSD- or MS-compatible name lister.
   20777 NM=$lt_NM
   20778 
   20779 # Whether we need soft or hard links.
   20780 LN_S=$lt_LN_S
   20781 
   20782 # What is the maximum length of a command?
   20783 max_cmd_len=$max_cmd_len
   20784 
   20785 # Object file suffix (normally "o").
   20786 objext=$ac_objext
   20787 
   20788 # Executable file suffix (normally "").
   20789 exeext=$exeext
   20790 
   20791 # whether the shell understands "unset".
   20792 lt_unset=$lt_unset
   20793 
   20794 # turn spaces into newlines.
   20795 SP2NL=$lt_lt_SP2NL
   20796 
   20797 # turn newlines into spaces.
   20798 NL2SP=$lt_lt_NL2SP
   20799 
   20800 # convert \$build file names to \$host format.
   20801 to_host_file_cmd=$lt_cv_to_host_file_cmd
   20802 
   20803 # convert \$build files to toolchain format.
   20804 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   20805 
   20806 # An object symbol dumper.
   20807 OBJDUMP=$lt_OBJDUMP
   20808 
   20809 # Method to check whether dependent libraries are shared objects.
   20810 deplibs_check_method=$lt_deplibs_check_method
   20811 
   20812 # Command to use when deplibs_check_method = "file_magic".
   20813 file_magic_cmd=$lt_file_magic_cmd
   20814 
   20815 # How to find potential files when deplibs_check_method = "file_magic".
   20816 file_magic_glob=$lt_file_magic_glob
   20817 
   20818 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   20819 want_nocaseglob=$lt_want_nocaseglob
   20820 
   20821 # DLL creation program.
   20822 DLLTOOL=$lt_DLLTOOL
   20823 
   20824 # Command to associate shared and link libraries.
   20825 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   20826 
   20827 # The archiver.
   20828 AR=$lt_AR
   20829 
   20830 # Flags to create an archive.
   20831 AR_FLAGS=$lt_AR_FLAGS
   20832 
   20833 # How to feed a file listing to the archiver.
   20834 archiver_list_spec=$lt_archiver_list_spec
   20835 
   20836 # A symbol stripping program.
   20837 STRIP=$lt_STRIP
   20838 
   20839 # Commands used to install an old-style archive.
   20840 RANLIB=$lt_RANLIB
   20841 old_postinstall_cmds=$lt_old_postinstall_cmds
   20842 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   20843 
   20844 # Whether to use a lock for old archive extraction.
   20845 lock_old_archive_extraction=$lock_old_archive_extraction
   20846 
   20847 # A C compiler.
   20848 LTCC=$lt_CC
   20849 
   20850 # LTCC compiler flags.
   20851 LTCFLAGS=$lt_CFLAGS
   20852 
   20853 # Take the output of nm and produce a listing of raw symbols and C names.
   20854 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   20855 
   20856 # Transform the output of nm in a proper C declaration.
   20857 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   20858 
   20859 # Transform the output of nm into a list of symbols to manually relocate.
   20860 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   20861 
   20862 # Transform the output of nm in a C name address pair.
   20863 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   20864 
   20865 # Transform the output of nm in a C name address pair when lib prefix is needed.
   20866 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   20867 
   20868 # The name lister interface.
   20869 nm_interface=$lt_lt_cv_nm_interface
   20870 
   20871 # Specify filename containing input files for \$NM.
   20872 nm_file_list_spec=$lt_nm_file_list_spec
   20873 
   20874 # The root where to search for dependent libraries,and where our libraries should be installed.
   20875 lt_sysroot=$lt_sysroot
   20876 
   20877 # Command to truncate a binary pipe.
   20878 lt_truncate_bin=$lt_lt_cv_truncate_bin
   20879 
   20880 # The name of the directory that contains temporary libtool files.
   20881 objdir=$objdir
   20882 
   20883 # Used to examine libraries when file_magic_cmd begins with "file".
   20884 MAGIC_CMD=$MAGIC_CMD
   20885 
   20886 # Must we lock files when doing compilation?
   20887 need_locks=$lt_need_locks
   20888 
   20889 # Manifest tool.
   20890 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   20891 
   20892 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   20893 DSYMUTIL=$lt_DSYMUTIL
   20894 
   20895 # Tool to change global to local symbols on Mac OS X.
   20896 NMEDIT=$lt_NMEDIT
   20897 
   20898 # Tool to manipulate fat objects and archives on Mac OS X.
   20899 LIPO=$lt_LIPO
   20900 
   20901 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   20902 OTOOL=$lt_OTOOL
   20903 
   20904 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   20905 OTOOL64=$lt_OTOOL64
   20906 
   20907 # Old archive suffix (normally "a").
   20908 libext=$libext
   20909 
   20910 # Shared library suffix (normally ".so").
   20911 shrext_cmds=$lt_shrext_cmds
   20912 
   20913 # The commands to extract the exported symbol list from a shared archive.
   20914 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   20915 
   20916 # Variables whose values should be saved in libtool wrapper scripts and
   20917 # restored at link time.
   20918 variables_saved_for_relink=$lt_variables_saved_for_relink
   20919 
   20920 # Do we need the "lib" prefix for modules?
   20921 need_lib_prefix=$need_lib_prefix
   20922 
   20923 # Do we need a version for libraries?
   20924 need_version=$need_version
   20925 
   20926 # Library versioning type.
   20927 version_type=$version_type
   20928 
   20929 # Shared library runtime path variable.
   20930 runpath_var=$runpath_var
   20931 
   20932 # Shared library path variable.
   20933 shlibpath_var=$shlibpath_var
   20934 
   20935 # Is shlibpath searched before the hard-coded library search path?
   20936 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   20937 
   20938 # Format of library name prefix.
   20939 libname_spec=$lt_libname_spec
   20940 
   20941 # List of archive names.  First name is the real one, the rest are links.
   20942 # The last name is the one that the linker finds with -lNAME
   20943 library_names_spec=$lt_library_names_spec
   20944 
   20945 # The coded name of the library, if different from the real name.
   20946 soname_spec=$lt_soname_spec
   20947 
   20948 # Permission mode override for installation of shared libraries.
   20949 install_override_mode=$lt_install_override_mode
   20950 
   20951 # Command to use after installation of a shared archive.
   20952 postinstall_cmds=$lt_postinstall_cmds
   20953 
   20954 # Command to use after uninstallation of a shared archive.
   20955 postuninstall_cmds=$lt_postuninstall_cmds
   20956 
   20957 # Commands used to finish a libtool library installation in a directory.
   20958 finish_cmds=$lt_finish_cmds
   20959 
   20960 # As "finish_cmds", except a single script fragment to be evaled but
   20961 # not shown.
   20962 finish_eval=$lt_finish_eval
   20963 
   20964 # Whether we should hardcode library paths into libraries.
   20965 hardcode_into_libs=$hardcode_into_libs
   20966 
   20967 # Compile-time system search path for libraries.
   20968 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   20969 
   20970 # Detected run-time system search path for libraries.
   20971 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   20972 
   20973 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   20974 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   20975 
   20976 # Whether dlopen is supported.
   20977 dlopen_support=$enable_dlopen
   20978 
   20979 # Whether dlopen of programs is supported.
   20980 dlopen_self=$enable_dlopen_self
   20981 
   20982 # Whether dlopen of statically linked programs is supported.
   20983 dlopen_self_static=$enable_dlopen_self_static
   20984 
   20985 # Commands to strip libraries.
   20986 old_striplib=$lt_old_striplib
   20987 striplib=$lt_striplib
   20988 
   20989 
   20990 # The linker used to build libraries.
   20991 LD=$lt_LD
   20992 
   20993 # How to create reloadable object files.
   20994 reload_flag=$lt_reload_flag
   20995 reload_cmds=$lt_reload_cmds
   20996 
   20997 # Commands used to build an old-style archive.
   20998 old_archive_cmds=$lt_old_archive_cmds
   20999 
   21000 # A language specific compiler.
   21001 CC=$lt_compiler
   21002 
   21003 # Is the compiler the GNU compiler?
   21004 with_gcc=$GCC
   21005 
   21006 # Compiler flag to turn off builtin functions.
   21007 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   21008 
   21009 # Additional compiler flags for building library objects.
   21010 pic_flag=$lt_lt_prog_compiler_pic
   21011 
   21012 # How to pass a linker flag through the compiler.
   21013 wl=$lt_lt_prog_compiler_wl
   21014 
   21015 # Compiler flag to prevent dynamic linking.
   21016 link_static_flag=$lt_lt_prog_compiler_static
   21017 
   21018 # Does compiler simultaneously support -c and -o options?
   21019 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   21020 
   21021 # Whether or not to add -lc for building shared libraries.
   21022 build_libtool_need_lc=$archive_cmds_need_lc
   21023 
   21024 # Whether or not to disallow shared libs when runtime libs are static.
   21025 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   21026 
   21027 # Compiler flag to allow reflexive dlopens.
   21028 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   21029 
   21030 # Compiler flag to generate shared objects directly from archives.
   21031 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   21032 
   21033 # Whether the compiler copes with passing no objects directly.
   21034 compiler_needs_object=$lt_compiler_needs_object
   21035 
   21036 # Create an old-style archive from a shared archive.
   21037 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   21038 
   21039 # Create a temporary old-style archive to link instead of a shared archive.
   21040 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   21041 
   21042 # Commands used to build a shared archive.
   21043 archive_cmds=$lt_archive_cmds
   21044 archive_expsym_cmds=$lt_archive_expsym_cmds
   21045 
   21046 # Commands used to build a loadable module if different from building
   21047 # a shared archive.
   21048 module_cmds=$lt_module_cmds
   21049 module_expsym_cmds=$lt_module_expsym_cmds
   21050 
   21051 # Whether we are building with GNU ld or not.
   21052 with_gnu_ld=$lt_with_gnu_ld
   21053 
   21054 # Flag that allows shared libraries with undefined symbols to be built.
   21055 allow_undefined_flag=$lt_allow_undefined_flag
   21056 
   21057 # Flag that enforces no undefined symbols.
   21058 no_undefined_flag=$lt_no_undefined_flag
   21059 
   21060 # Flag to hardcode \$libdir into a binary during linking.
   21061 # This must work even if \$libdir does not exist
   21062 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   21063 
   21064 # Whether we need a single "-rpath" flag with a separated argument.
   21065 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   21066 
   21067 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   21068 # DIR into the resulting binary.
   21069 hardcode_direct=$hardcode_direct
   21070 
   21071 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   21072 # DIR into the resulting binary and the resulting library dependency is
   21073 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   21074 # library is relocated.
   21075 hardcode_direct_absolute=$hardcode_direct_absolute
   21076 
   21077 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   21078 # into the resulting binary.
   21079 hardcode_minus_L=$hardcode_minus_L
   21080 
   21081 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   21082 # into the resulting binary.
   21083 hardcode_shlibpath_var=$hardcode_shlibpath_var
   21084 
   21085 # Set to "yes" if building a shared library automatically hardcodes DIR
   21086 # into the library and all subsequent libraries and executables linked
   21087 # against it.
   21088 hardcode_automatic=$hardcode_automatic
   21089 
   21090 # Set to yes if linker adds runtime paths of dependent libraries
   21091 # to runtime path list.
   21092 inherit_rpath=$inherit_rpath
   21093 
   21094 # Whether libtool must link a program against all its dependency libraries.
   21095 link_all_deplibs=$link_all_deplibs
   21096 
   21097 # Set to "yes" if exported symbols are required.
   21098 always_export_symbols=$always_export_symbols
   21099 
   21100 # The commands to list exported symbols.
   21101 export_symbols_cmds=$lt_export_symbols_cmds
   21102 
   21103 # Symbols that should not be listed in the preloaded symbols.
   21104 exclude_expsyms=$lt_exclude_expsyms
   21105 
   21106 # Symbols that must always be exported.
   21107 include_expsyms=$lt_include_expsyms
   21108 
   21109 # Commands necessary for linking programs (against libraries) with templates.
   21110 prelink_cmds=$lt_prelink_cmds
   21111 
   21112 # Commands necessary for finishing linking programs.
   21113 postlink_cmds=$lt_postlink_cmds
   21114 
   21115 # Specify filename containing input files.
   21116 file_list_spec=$lt_file_list_spec
   21117 
   21118 # How to hardcode a shared library path into an executable.
   21119 hardcode_action=$hardcode_action
   21120 
   21121 # ### END LIBTOOL CONFIG
   21122 
   21123 _LT_EOF
   21124 
   21125     cat <<'_LT_EOF' >> "$cfgfile"
   21126 
   21127 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   21128 
   21129 # func_munge_path_list VARIABLE PATH
   21130 # -----------------------------------
   21131 # VARIABLE is name of variable containing _space_ separated list of
   21132 # directories to be munged by the contents of PATH, which is string
   21133 # having a format:
   21134 # "DIR[:DIR]:"
   21135 #       string "DIR[ DIR]" will be prepended to VARIABLE
   21136 # ":DIR[:DIR]"
   21137 #       string "DIR[ DIR]" will be appended to VARIABLE
   21138 # "DIRP[:DIRP]::[DIRA:]DIRA"
   21139 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   21140 #       "DIRA[ DIRA]" will be appended to VARIABLE
   21141 # "DIR[:DIR]"
   21142 #       VARIABLE will be replaced by "DIR[ DIR]"
   21143 func_munge_path_list ()
   21144 {
   21145     case x$2 in
   21146     x)
   21147         ;;
   21148     *:)
   21149         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   21150         ;;
   21151     x:*)
   21152         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   21153         ;;
   21154     *::*)
   21155         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   21156         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   21157         ;;
   21158     *)
   21159         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   21160         ;;
   21161     esac
   21162 }
   21163 
   21164 
   21165 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   21166 func_cc_basename ()
   21167 {
   21168     for cc_temp in $*""; do
   21169       case $cc_temp in
   21170         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   21171         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   21172         \-*) ;;
   21173         *) break;;
   21174       esac
   21175     done
   21176     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   21177 }
   21178 
   21179 
   21180 # ### END FUNCTIONS SHARED WITH CONFIGURE
   21181 
   21182 _LT_EOF
   21183 
   21184   case $host_os in
   21185   aix3*)
   21186     cat <<\_LT_EOF >> "$cfgfile"
   21187 # AIX sometimes has problems with the GCC collect2 program.  For some
   21188 # reason, if we set the COLLECT_NAMES environment variable, the problems
   21189 # vanish in a puff of smoke.
   21190 if test set != "${COLLECT_NAMES+set}"; then
   21191   COLLECT_NAMES=
   21192   export COLLECT_NAMES
   21193 fi
   21194 _LT_EOF
   21195     ;;
   21196   esac
   21197 
   21198 
   21199 ltmain=$ac_aux_dir/ltmain.sh
   21200 
   21201 
   21202   # We use sed instead of cat because bash on DJGPP gets confused if
   21203   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   21204   # text mode, it properly converts lines to CR/LF.  This bash problem
   21205   # is reportedly fixed, but why not run on old versions too?
   21206   sed '$q' "$ltmain" >> "$cfgfile" \
   21207      || (rm -f "$cfgfile"; exit 1)
   21208 
   21209    mv -f "$cfgfile" "$ofile" ||
   21210     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   21211   chmod +x "$ofile"
   21212 
   21213  ;;
   21214 
   21215   esac
   21216 done # for ac_tag
   21217 
   21218 
   21219 as_fn_exit 0
   21220 _ACEOF
   21221 ac_clean_files=$ac_clean_files_save
   21222 
   21223 test $ac_write_fail = 0 ||
   21224   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   21225 
   21226 
   21227 # configure is writing to config.log, and then calls config.status.
   21228 # config.status does its own redirection, appending to config.log.
   21229 # Unfortunately, on DOS this fails, as config.log is still kept open
   21230 # by configure, so config.status won't be able to write to it; its
   21231 # output is simply discarded.  So we exec the FD to /dev/null,
   21232 # effectively closing config.log, so it can be properly (re)opened and
   21233 # appended to by config.status.  When coming back to configure, we
   21234 # need to make the FD available again.
   21235 if test "$no_create" != yes; then
   21236   ac_cs_success=:
   21237   ac_config_status_args=
   21238   test "$silent" = yes &&
   21239     ac_config_status_args="$ac_config_status_args --quiet"
   21240   exec 5>/dev/null
   21241   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   21242   exec 5>>config.log
   21243   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   21244   # would make configure fail if this is the last instruction.
   21245   $ac_cs_success || as_fn_exit 1
   21246 fi
   21247 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   21248   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   21249 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   21250 fi
   21251 
   21252