Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.5
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.68 for xf86-video-tdfx 1.4.5.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 #
      8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
     10 # Foundation, Inc.
     11 #
     12 #
     13 # This configure script is free software; the Free Software Foundation
     14 # gives unlimited permission to copy, distribute and modify it.
     15 ## -------------------- ##
     16 ## M4sh Initialization. ##
     17 ## -------------------- ##
     18 
     19 # Be more Bourne compatible
     20 DUALCASE=1; export DUALCASE # for MKS sh
     21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     22   emulate sh
     23   NULLCMD=:
     24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     25   # is contrary to our usage.  Disable this feature.
     26   alias -g '${1+"$@"}'='"$@"'
     27   setopt NO_GLOB_SUBST
     28 else
     29   case `(set -o) 2>/dev/null` in #(
     30   *posix*) :
     31     set -o posix ;; #(
     32   *) :
     33      ;;
     34 esac
     35 fi
     36 
     37 
     38 as_nl='
     39 '
     40 export as_nl
     41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     45 # Prefer a ksh shell builtin over an external printf program on Solaris,
     46 # but without wasting forks for bash or zsh.
     47 if test -z "$BASH_VERSION$ZSH_VERSION" \
     48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     49   as_echo='print -r --'
     50   as_echo_n='print -rn --'
     51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     52   as_echo='printf %s\n'
     53   as_echo_n='printf %s'
     54 else
     55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     57     as_echo_n='/usr/ucb/echo -n'
     58   else
     59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     60     as_echo_n_body='eval
     61       arg=$1;
     62       case $arg in #(
     63       *"$as_nl"*)
     64 	expr "X$arg" : "X\\(.*\\)$as_nl";
     65 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     66       esac;
     67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     68     '
     69     export as_echo_n_body
     70     as_echo_n='sh -c $as_echo_n_body as_echo'
     71   fi
     72   export as_echo_body
     73   as_echo='sh -c $as_echo_body as_echo'
     74 fi
     75 
     76 # The user is always right.
     77 if test "${PATH_SEPARATOR+set}" != set; then
     78   PATH_SEPARATOR=:
     79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     81       PATH_SEPARATOR=';'
     82   }
     83 fi
     84 
     85 
     86 # IFS
     87 # We need space, tab and new line, in precisely that order.  Quoting is
     88 # there to prevent editors from complaining about space-tab.
     89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     90 # splitting by setting IFS to empty value.)
     91 IFS=" ""	$as_nl"
     92 
     93 # Find who we are.  Look in the path if we contain no directory separator.
     94 as_myself=
     95 case $0 in #((
     96   *[\\/]* ) as_myself=$0 ;;
     97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     98 for as_dir in $PATH
     99 do
    100   IFS=$as_save_IFS
    101   test -z "$as_dir" && as_dir=.
    102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    103   done
    104 IFS=$as_save_IFS
    105 
    106      ;;
    107 esac
    108 # We did not find ourselves, most probably we were run as `sh COMMAND'
    109 # in which case we are not to be found in the path.
    110 if test "x$as_myself" = x; then
    111   as_myself=$0
    112 fi
    113 if test ! -f "$as_myself"; then
    114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    115   exit 1
    116 fi
    117 
    118 # Unset variables that we do not need and which cause bugs (e.g. in
    119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    120 # suppresses any "Segmentation fault" message there.  '((' could
    121 # trigger a bug in pdksh 5.2.14.
    122 for as_var in BASH_ENV ENV MAIL MAILPATH
    123 do eval test x\${$as_var+set} = xset \
    124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    125 done
    126 PS1='$ '
    127 PS2='> '
    128 PS4='+ '
    129 
    130 # NLS nuisances.
    131 LC_ALL=C
    132 export LC_ALL
    133 LANGUAGE=C
    134 export LANGUAGE
    135 
    136 # CDPATH.
    137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    138 
    139 if test "x$CONFIG_SHELL" = x; then
    140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    141   emulate sh
    142   NULLCMD=:
    143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    144   # is contrary to our usage.  Disable this feature.
    145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    146   setopt NO_GLOB_SUBST
    147 else
    148   case \`(set -o) 2>/dev/null\` in #(
    149   *posix*) :
    150     set -o posix ;; #(
    151   *) :
    152      ;;
    153 esac
    154 fi
    155 "
    156   as_required="as_fn_return () { (exit \$1); }
    157 as_fn_success () { as_fn_return 0; }
    158 as_fn_failure () { as_fn_return 1; }
    159 as_fn_ret_success () { return 0; }
    160 as_fn_ret_failure () { return 1; }
    161 
    162 exitcode=0
    163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    168 
    169 else
    170   exitcode=1; echo positional parameters were not saved.
    171 fi
    172 test x\$exitcode = x0 || exit 1"
    173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    177 test \$(( 1 + 1 )) = 2 || exit 1
    178 
    179   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    180     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    181     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    182     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    183     PATH=/empty FPATH=/empty; export PATH FPATH
    184     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    185       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
    186   if (eval "$as_required") 2>/dev/null; then :
    187   as_have_required=yes
    188 else
    189   as_have_required=no
    190 fi
    191   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    192 
    193 else
    194   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    195 as_found=false
    196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    197 do
    198   IFS=$as_save_IFS
    199   test -z "$as_dir" && as_dir=.
    200   as_found=:
    201   case $as_dir in #(
    202 	 /*)
    203 	   for as_base in sh bash ksh sh5; do
    204 	     # Try only shells that exist, to save several forks.
    205 	     as_shell=$as_dir/$as_base
    206 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    207 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    208   CONFIG_SHELL=$as_shell as_have_required=yes
    209 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    210   break 2
    211 fi
    212 fi
    213 	   done;;
    214        esac
    215   as_found=false
    216 done
    217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    218 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    219   CONFIG_SHELL=$SHELL as_have_required=yes
    220 fi; }
    221 IFS=$as_save_IFS
    222 
    223 
    224       if test "x$CONFIG_SHELL" != x; then :
    225   # We cannot yet assume a decent shell, so we have to provide a
    226 	# neutralization value for shells without unset; and this also
    227 	# works around shells that cannot unset nonexistent variables.
    228 	# Preserve -v and -x to the replacement shell.
    229 	BASH_ENV=/dev/null
    230 	ENV=/dev/null
    231 	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    232 	export CONFIG_SHELL
    233 	case $- in # ((((
    234 	  *v*x* | *x*v* ) as_opts=-vx ;;
    235 	  *v* ) as_opts=-v ;;
    236 	  *x* ) as_opts=-x ;;
    237 	  * ) as_opts= ;;
    238 	esac
    239 	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
    240 fi
    241 
    242     if test x$as_have_required = xno; then :
    243   $as_echo "$0: This script requires a shell more modern than all"
    244   $as_echo "$0: the shells that I found on your system."
    245   if test x${ZSH_VERSION+set} = xset ; then
    246     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    247     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    248   else
    249     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    250 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    251 $0: about your system, including any error possibly output
    252 $0: before this message. Then install a modern shell, or
    253 $0: manually run the script under such a shell if you do
    254 $0: have one."
    255   fi
    256   exit 1
    257 fi
    258 fi
    259 fi
    260 SHELL=${CONFIG_SHELL-/bin/sh}
    261 export SHELL
    262 # Unset more variables known to interfere with behavior of common tools.
    263 CLICOLOR_FORCE= GREP_OPTIONS=
    264 unset CLICOLOR_FORCE GREP_OPTIONS
    265 
    266 ## --------------------- ##
    267 ## M4sh Shell Functions. ##
    268 ## --------------------- ##
    269 # as_fn_unset VAR
    270 # ---------------
    271 # Portably unset VAR.
    272 as_fn_unset ()
    273 {
    274   { eval $1=; unset $1;}
    275 }
    276 as_unset=as_fn_unset
    277 
    278 # as_fn_set_status STATUS
    279 # -----------------------
    280 # Set $? to STATUS, without forking.
    281 as_fn_set_status ()
    282 {
    283   return $1
    284 } # as_fn_set_status
    285 
    286 # as_fn_exit STATUS
    287 # -----------------
    288 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    289 as_fn_exit ()
    290 {
    291   set +e
    292   as_fn_set_status $1
    293   exit $1
    294 } # as_fn_exit
    295 
    296 # as_fn_mkdir_p
    297 # -------------
    298 # Create "$as_dir" as a directory, including parents if necessary.
    299 as_fn_mkdir_p ()
    300 {
    301 
    302   case $as_dir in #(
    303   -*) as_dir=./$as_dir;;
    304   esac
    305   test -d "$as_dir" || eval $as_mkdir_p || {
    306     as_dirs=
    307     while :; do
    308       case $as_dir in #(
    309       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    310       *) as_qdir=$as_dir;;
    311       esac
    312       as_dirs="'$as_qdir' $as_dirs"
    313       as_dir=`$as_dirname -- "$as_dir" ||
    314 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    315 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    316 	 X"$as_dir" : 'X\(//\)$' \| \
    317 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    318 $as_echo X"$as_dir" |
    319     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    320 	    s//\1/
    321 	    q
    322 	  }
    323 	  /^X\(\/\/\)[^/].*/{
    324 	    s//\1/
    325 	    q
    326 	  }
    327 	  /^X\(\/\/\)$/{
    328 	    s//\1/
    329 	    q
    330 	  }
    331 	  /^X\(\/\).*/{
    332 	    s//\1/
    333 	    q
    334 	  }
    335 	  s/.*/./; q'`
    336       test -d "$as_dir" && break
    337     done
    338     test -z "$as_dirs" || eval "mkdir $as_dirs"
    339   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    340 
    341 
    342 } # as_fn_mkdir_p
    343 # as_fn_append VAR VALUE
    344 # ----------------------
    345 # Append the text in VALUE to the end of the definition contained in VAR. Take
    346 # advantage of any shell optimizations that allow amortized linear growth over
    347 # repeated appends, instead of the typical quadratic growth present in naive
    348 # implementations.
    349 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    350   eval 'as_fn_append ()
    351   {
    352     eval $1+=\$2
    353   }'
    354 else
    355   as_fn_append ()
    356   {
    357     eval $1=\$$1\$2
    358   }
    359 fi # as_fn_append
    360 
    361 # as_fn_arith ARG...
    362 # ------------------
    363 # Perform arithmetic evaluation on the ARGs, and store the result in the
    364 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    365 # must be portable across $(()) and expr.
    366 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    367   eval 'as_fn_arith ()
    368   {
    369     as_val=$(( $* ))
    370   }'
    371 else
    372   as_fn_arith ()
    373   {
    374     as_val=`expr "$@" || test $? -eq 1`
    375   }
    376 fi # as_fn_arith
    377 
    378 
    379 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    380 # ----------------------------------------
    381 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    382 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    383 # script with STATUS, using 1 if that was 0.
    384 as_fn_error ()
    385 {
    386   as_status=$1; test $as_status -eq 0 && as_status=1
    387   if test "$4"; then
    388     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    389     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    390   fi
    391   $as_echo "$as_me: error: $2" >&2
    392   as_fn_exit $as_status
    393 } # as_fn_error
    394 
    395 if expr a : '\(a\)' >/dev/null 2>&1 &&
    396    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    397   as_expr=expr
    398 else
    399   as_expr=false
    400 fi
    401 
    402 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    403   as_basename=basename
    404 else
    405   as_basename=false
    406 fi
    407 
    408 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    409   as_dirname=dirname
    410 else
    411   as_dirname=false
    412 fi
    413 
    414 as_me=`$as_basename -- "$0" ||
    415 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    416 	 X"$0" : 'X\(//\)$' \| \
    417 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    418 $as_echo X/"$0" |
    419     sed '/^.*\/\([^/][^/]*\)\/*$/{
    420 	    s//\1/
    421 	    q
    422 	  }
    423 	  /^X\/\(\/\/\)$/{
    424 	    s//\1/
    425 	    q
    426 	  }
    427 	  /^X\/\(\/\).*/{
    428 	    s//\1/
    429 	    q
    430 	  }
    431 	  s/.*/./; q'`
    432 
    433 # Avoid depending upon Character Ranges.
    434 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    435 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    436 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    437 as_cr_digits='0123456789'
    438 as_cr_alnum=$as_cr_Letters$as_cr_digits
    439 
    440 
    441   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    442   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    443   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    444   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    445   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    446   sed -n '
    447     p
    448     /[$]LINENO/=
    449   ' <$as_myself |
    450     sed '
    451       s/[$]LINENO.*/&-/
    452       t lineno
    453       b
    454       :lineno
    455       N
    456       :loop
    457       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    458       t loop
    459       s/-\n.*//
    460     ' >$as_me.lineno &&
    461   chmod +x "$as_me.lineno" ||
    462     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    463 
    464   # Don't try to exec as it changes $[0], causing all sort of problems
    465   # (the dirname of $[0] is not the place where we might find the
    466   # original and so on.  Autoconf is especially sensitive to this).
    467   . "./$as_me.lineno"
    468   # Exit status is that of the last command.
    469   exit
    470 }
    471 
    472 ECHO_C= ECHO_N= ECHO_T=
    473 case `echo -n x` in #(((((
    474 -n*)
    475   case `echo 'xy\c'` in
    476   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    477   xy)  ECHO_C='\c';;
    478   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    479        ECHO_T='	';;
    480   esac;;
    481 *)
    482   ECHO_N='-n';;
    483 esac
    484 
    485 rm -f conf$$ conf$$.exe conf$$.file
    486 if test -d conf$$.dir; then
    487   rm -f conf$$.dir/conf$$.file
    488 else
    489   rm -f conf$$.dir
    490   mkdir conf$$.dir 2>/dev/null
    491 fi
    492 if (echo >conf$$.file) 2>/dev/null; then
    493   if ln -s conf$$.file conf$$ 2>/dev/null; then
    494     as_ln_s='ln -s'
    495     # ... but there are two gotchas:
    496     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    497     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    498     # In both cases, we have to default to `cp -p'.
    499     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    500       as_ln_s='cp -p'
    501   elif ln conf$$.file conf$$ 2>/dev/null; then
    502     as_ln_s=ln
    503   else
    504     as_ln_s='cp -p'
    505   fi
    506 else
    507   as_ln_s='cp -p'
    508 fi
    509 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    510 rmdir conf$$.dir 2>/dev/null
    511 
    512 if mkdir -p . 2>/dev/null; then
    513   as_mkdir_p='mkdir -p "$as_dir"'
    514 else
    515   test -d ./-p && rmdir ./-p
    516   as_mkdir_p=false
    517 fi
    518 
    519 if test -x / >/dev/null 2>&1; then
    520   as_test_x='test -x'
    521 else
    522   if ls -dL / >/dev/null 2>&1; then
    523     as_ls_L_option=L
    524   else
    525     as_ls_L_option=
    526   fi
    527   as_test_x='
    528     eval sh -c '\''
    529       if test -d "$1"; then
    530 	test -d "$1/.";
    531       else
    532 	case $1 in #(
    533 	-*)set "./$1";;
    534 	esac;
    535 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    536 	???[sx]*):;;*)false;;esac;fi
    537     '\'' sh
    538   '
    539 fi
    540 as_executable_p=$as_test_x
    541 
    542 # Sed expression to map a string onto a valid CPP name.
    543 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    544 
    545 # Sed expression to map a string onto a valid variable name.
    546 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    547 
    548 SHELL=${CONFIG_SHELL-/bin/sh}
    549 
    550 
    551 test -n "$DJDIR" || exec 7<&0 </dev/null
    552 exec 6>&1
    553 
    554 # Name of the host.
    555 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    556 # so uname gets run too.
    557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    558 
    559 #
    560 # Initializations.
    561 #
    562 ac_default_prefix=/usr/local
    563 ac_clean_files=
    564 ac_config_libobj_dir=.
    565 LIBOBJS=
    566 cross_compiling=no
    567 subdirs=
    568 MFLAGS=
    569 MAKEFLAGS=
    570 
    571 # Identity of this package.
    572 PACKAGE_NAME='xf86-video-tdfx'
    573 PACKAGE_TARNAME='xf86-video-tdfx'
    574 PACKAGE_VERSION='1.4.5'
    575 PACKAGE_STRING='xf86-video-tdfx 1.4.5'
    576 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    577 PACKAGE_URL=''
    578 
    579 ac_unique_file="Makefile.am"
    580 # Factoring default headers for most tests.
    581 ac_includes_default="\
    582 #include <stdio.h>
    583 #ifdef HAVE_SYS_TYPES_H
    584 # include <sys/types.h>
    585 #endif
    586 #ifdef HAVE_SYS_STAT_H
    587 # include <sys/stat.h>
    588 #endif
    589 #ifdef STDC_HEADERS
    590 # include <stdlib.h>
    591 # include <stddef.h>
    592 #else
    593 # ifdef HAVE_STDLIB_H
    594 #  include <stdlib.h>
    595 # endif
    596 #endif
    597 #ifdef HAVE_STRING_H
    598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    599 #  include <memory.h>
    600 # endif
    601 # include <string.h>
    602 #endif
    603 #ifdef HAVE_STRINGS_H
    604 # include <strings.h>
    605 #endif
    606 #ifdef HAVE_INTTYPES_H
    607 # include <inttypes.h>
    608 #endif
    609 #ifdef HAVE_STDINT_H
    610 # include <stdint.h>
    611 #endif
    612 #ifdef HAVE_UNISTD_H
    613 # include <unistd.h>
    614 #endif"
    615 
    616 ac_subst_vars='am__EXEEXT_FALSE
    617 am__EXEEXT_TRUE
    618 LTLIBOBJS
    619 LIBOBJS
    620 DRIVER_NAME
    621 moduledir
    622 XAA_FALSE
    623 XAA_TRUE
    624 XSERVER_LIBPCIACCESS_FALSE
    625 XSERVER_LIBPCIACCESS_TRUE
    626 PCIACCESS_LIBS
    627 PCIACCESS_CFLAGS
    628 DRI_LIBS
    629 DRI_CFLAGS
    630 DRI_FALSE
    631 DRI_TRUE
    632 XORG_LIBS
    633 XORG_CFLAGS
    634 OTOOL64
    635 OTOOL
    636 LIPO
    637 NMEDIT
    638 DSYMUTIL
    639 MANIFEST_TOOL
    640 RANLIB
    641 ac_ct_AR
    642 AR
    643 DLLTOOL
    644 OBJDUMP
    645 LN_S
    646 NM
    647 ac_ct_DUMPBIN
    648 DUMPBIN
    649 LD
    650 FGREP
    651 LIBTOOL
    652 AM_BACKSLASH
    653 AM_DEFAULT_VERBOSITY
    654 AM_DEFAULT_V
    655 AM_V
    656 MAN_SUBSTS
    657 XORG_MAN_PAGE
    658 ADMIN_MAN_DIR
    659 DRIVER_MAN_DIR
    660 MISC_MAN_DIR
    661 FILE_MAN_DIR
    662 LIB_MAN_DIR
    663 APP_MAN_DIR
    664 ADMIN_MAN_SUFFIX
    665 DRIVER_MAN_SUFFIX
    666 MISC_MAN_SUFFIX
    667 FILE_MAN_SUFFIX
    668 LIB_MAN_SUFFIX
    669 APP_MAN_SUFFIX
    670 SED
    671 host_os
    672 host_vendor
    673 host_cpu
    674 host
    675 build_os
    676 build_vendor
    677 build_cpu
    678 build
    679 INSTALL_CMD
    680 PKG_CONFIG_LIBDIR
    681 PKG_CONFIG_PATH
    682 PKG_CONFIG
    683 CHANGELOG_CMD
    684 STRICT_CFLAGS
    685 CWARNFLAGS
    686 BASE_CFLAGS
    687 EGREP
    688 GREP
    689 CPP
    690 am__fastdepCC_FALSE
    691 am__fastdepCC_TRUE
    692 CCDEPMODE
    693 am__nodep
    694 AMDEPBACKSLASH
    695 AMDEP_FALSE
    696 AMDEP_TRUE
    697 am__quote
    698 am__include
    699 DEPDIR
    700 OBJEXT
    701 EXEEXT
    702 ac_ct_CC
    703 CPPFLAGS
    704 LDFLAGS
    705 CFLAGS
    706 CC
    707 MAINT
    708 MAINTAINER_MODE_FALSE
    709 MAINTAINER_MODE_TRUE
    710 am__untar
    711 am__tar
    712 AMTAR
    713 am__leading_dot
    714 SET_MAKE
    715 AWK
    716 mkdir_p
    717 MKDIR_P
    718 INSTALL_STRIP_PROGRAM
    719 STRIP
    720 install_sh
    721 MAKEINFO
    722 AUTOHEADER
    723 AUTOMAKE
    724 AUTOCONF
    725 ACLOCAL
    726 VERSION
    727 PACKAGE
    728 CYGPATH_W
    729 am__isrc
    730 INSTALL_DATA
    731 INSTALL_SCRIPT
    732 INSTALL_PROGRAM
    733 target_alias
    734 host_alias
    735 build_alias
    736 LIBS
    737 ECHO_T
    738 ECHO_N
    739 ECHO_C
    740 DEFS
    741 mandir
    742 localedir
    743 libdir
    744 psdir
    745 pdfdir
    746 dvidir
    747 htmldir
    748 infodir
    749 docdir
    750 oldincludedir
    751 includedir
    752 localstatedir
    753 sharedstatedir
    754 sysconfdir
    755 datadir
    756 datarootdir
    757 libexecdir
    758 sbindir
    759 bindir
    760 program_transform_name
    761 prefix
    762 exec_prefix
    763 PACKAGE_URL
    764 PACKAGE_BUGREPORT
    765 PACKAGE_STRING
    766 PACKAGE_VERSION
    767 PACKAGE_TARNAME
    768 PACKAGE_NAME
    769 PATH_SEPARATOR
    770 SHELL'
    771 ac_subst_files=''
    772 ac_user_opts='
    773 enable_option_checking
    774 enable_maintainer_mode
    775 enable_dependency_tracking
    776 enable_selective_werror
    777 enable_strict_compilation
    778 enable_silent_rules
    779 enable_static
    780 enable_shared
    781 with_pic
    782 enable_fast_install
    783 with_gnu_ld
    784 with_sysroot
    785 enable_libtool_lock
    786 with_xorg_module_dir
    787 enable_dri
    788 enable_xaa
    789 '
    790       ac_precious_vars='build_alias
    791 host_alias
    792 target_alias
    793 CC
    794 CFLAGS
    795 LDFLAGS
    796 LIBS
    797 CPPFLAGS
    798 CPP
    799 PKG_CONFIG
    800 PKG_CONFIG_PATH
    801 PKG_CONFIG_LIBDIR
    802 XORG_CFLAGS
    803 XORG_LIBS
    804 DRI_CFLAGS
    805 DRI_LIBS
    806 PCIACCESS_CFLAGS
    807 PCIACCESS_LIBS'
    808 
    809 
    810 # Initialize some variables set by options.
    811 ac_init_help=
    812 ac_init_version=false
    813 ac_unrecognized_opts=
    814 ac_unrecognized_sep=
    815 # The variables have the same names as the options, with
    816 # dashes changed to underlines.
    817 cache_file=/dev/null
    818 exec_prefix=NONE
    819 no_create=
    820 no_recursion=
    821 prefix=NONE
    822 program_prefix=NONE
    823 program_suffix=NONE
    824 program_transform_name=s,x,x,
    825 silent=
    826 site=
    827 srcdir=
    828 verbose=
    829 x_includes=NONE
    830 x_libraries=NONE
    831 
    832 # Installation directory options.
    833 # These are left unexpanded so users can "make install exec_prefix=/foo"
    834 # and all the variables that are supposed to be based on exec_prefix
    835 # by default will actually change.
    836 # Use braces instead of parens because sh, perl, etc. also accept them.
    837 # (The list follows the same order as the GNU Coding Standards.)
    838 bindir='${exec_prefix}/bin'
    839 sbindir='${exec_prefix}/sbin'
    840 libexecdir='${exec_prefix}/libexec'
    841 datarootdir='${prefix}/share'
    842 datadir='${datarootdir}'
    843 sysconfdir='${prefix}/etc'
    844 sharedstatedir='${prefix}/com'
    845 localstatedir='${prefix}/var'
    846 includedir='${prefix}/include'
    847 oldincludedir='/usr/include'
    848 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    849 infodir='${datarootdir}/info'
    850 htmldir='${docdir}'
    851 dvidir='${docdir}'
    852 pdfdir='${docdir}'
    853 psdir='${docdir}'
    854 libdir='${exec_prefix}/lib'
    855 localedir='${datarootdir}/locale'
    856 mandir='${datarootdir}/man'
    857 
    858 ac_prev=
    859 ac_dashdash=
    860 for ac_option
    861 do
    862   # If the previous option needs an argument, assign it.
    863   if test -n "$ac_prev"; then
    864     eval $ac_prev=\$ac_option
    865     ac_prev=
    866     continue
    867   fi
    868 
    869   case $ac_option in
    870   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    871   *=)   ac_optarg= ;;
    872   *)    ac_optarg=yes ;;
    873   esac
    874 
    875   # Accept the important Cygnus configure options, so we can diagnose typos.
    876 
    877   case $ac_dashdash$ac_option in
    878   --)
    879     ac_dashdash=yes ;;
    880 
    881   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    882     ac_prev=bindir ;;
    883   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    884     bindir=$ac_optarg ;;
    885 
    886   -build | --build | --buil | --bui | --bu)
    887     ac_prev=build_alias ;;
    888   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    889     build_alias=$ac_optarg ;;
    890 
    891   -cache-file | --cache-file | --cache-fil | --cache-fi \
    892   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    893     ac_prev=cache_file ;;
    894   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    895   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    896     cache_file=$ac_optarg ;;
    897 
    898   --config-cache | -C)
    899     cache_file=config.cache ;;
    900 
    901   -datadir | --datadir | --datadi | --datad)
    902     ac_prev=datadir ;;
    903   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    904     datadir=$ac_optarg ;;
    905 
    906   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    907   | --dataroo | --dataro | --datar)
    908     ac_prev=datarootdir ;;
    909   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    910   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    911     datarootdir=$ac_optarg ;;
    912 
    913   -disable-* | --disable-*)
    914     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    915     # Reject names that are not valid shell variable names.
    916     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    917       as_fn_error $? "invalid feature name: $ac_useropt"
    918     ac_useropt_orig=$ac_useropt
    919     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    920     case $ac_user_opts in
    921       *"
    922 "enable_$ac_useropt"
    923 "*) ;;
    924       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    925 	 ac_unrecognized_sep=', ';;
    926     esac
    927     eval enable_$ac_useropt=no ;;
    928 
    929   -docdir | --docdir | --docdi | --doc | --do)
    930     ac_prev=docdir ;;
    931   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    932     docdir=$ac_optarg ;;
    933 
    934   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    935     ac_prev=dvidir ;;
    936   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    937     dvidir=$ac_optarg ;;
    938 
    939   -enable-* | --enable-*)
    940     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    941     # Reject names that are not valid shell variable names.
    942     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    943       as_fn_error $? "invalid feature name: $ac_useropt"
    944     ac_useropt_orig=$ac_useropt
    945     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    946     case $ac_user_opts in
    947       *"
    948 "enable_$ac_useropt"
    949 "*) ;;
    950       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    951 	 ac_unrecognized_sep=', ';;
    952     esac
    953     eval enable_$ac_useropt=\$ac_optarg ;;
    954 
    955   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    956   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    957   | --exec | --exe | --ex)
    958     ac_prev=exec_prefix ;;
    959   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    960   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    961   | --exec=* | --exe=* | --ex=*)
    962     exec_prefix=$ac_optarg ;;
    963 
    964   -gas | --gas | --ga | --g)
    965     # Obsolete; use --with-gas.
    966     with_gas=yes ;;
    967 
    968   -help | --help | --hel | --he | -h)
    969     ac_init_help=long ;;
    970   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    971     ac_init_help=recursive ;;
    972   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    973     ac_init_help=short ;;
    974 
    975   -host | --host | --hos | --ho)
    976     ac_prev=host_alias ;;
    977   -host=* | --host=* | --hos=* | --ho=*)
    978     host_alias=$ac_optarg ;;
    979 
    980   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    981     ac_prev=htmldir ;;
    982   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    983   | --ht=*)
    984     htmldir=$ac_optarg ;;
    985 
    986   -includedir | --includedir | --includedi | --included | --include \
    987   | --includ | --inclu | --incl | --inc)
    988     ac_prev=includedir ;;
    989   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    990   | --includ=* | --inclu=* | --incl=* | --inc=*)
    991     includedir=$ac_optarg ;;
    992 
    993   -infodir | --infodir | --infodi | --infod | --info | --inf)
    994     ac_prev=infodir ;;
    995   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    996     infodir=$ac_optarg ;;
    997 
    998   -libdir | --libdir | --libdi | --libd)
    999     ac_prev=libdir ;;
   1000   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1001     libdir=$ac_optarg ;;
   1002 
   1003   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1004   | --libexe | --libex | --libe)
   1005     ac_prev=libexecdir ;;
   1006   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1007   | --libexe=* | --libex=* | --libe=*)
   1008     libexecdir=$ac_optarg ;;
   1009 
   1010   -localedir | --localedir | --localedi | --localed | --locale)
   1011     ac_prev=localedir ;;
   1012   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1013     localedir=$ac_optarg ;;
   1014 
   1015   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1016   | --localstate | --localstat | --localsta | --localst | --locals)
   1017     ac_prev=localstatedir ;;
   1018   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1019   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1020     localstatedir=$ac_optarg ;;
   1021 
   1022   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1023     ac_prev=mandir ;;
   1024   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1025     mandir=$ac_optarg ;;
   1026 
   1027   -nfp | --nfp | --nf)
   1028     # Obsolete; use --without-fp.
   1029     with_fp=no ;;
   1030 
   1031   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1032   | --no-cr | --no-c | -n)
   1033     no_create=yes ;;
   1034 
   1035   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1036   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1037     no_recursion=yes ;;
   1038 
   1039   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1040   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1041   | --oldin | --oldi | --old | --ol | --o)
   1042     ac_prev=oldincludedir ;;
   1043   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1044   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1045   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1046     oldincludedir=$ac_optarg ;;
   1047 
   1048   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1049     ac_prev=prefix ;;
   1050   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1051     prefix=$ac_optarg ;;
   1052 
   1053   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1054   | --program-pre | --program-pr | --program-p)
   1055     ac_prev=program_prefix ;;
   1056   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1057   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1058     program_prefix=$ac_optarg ;;
   1059 
   1060   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1061   | --program-suf | --program-su | --program-s)
   1062     ac_prev=program_suffix ;;
   1063   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1064   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1065     program_suffix=$ac_optarg ;;
   1066 
   1067   -program-transform-name | --program-transform-name \
   1068   | --program-transform-nam | --program-transform-na \
   1069   | --program-transform-n | --program-transform- \
   1070   | --program-transform | --program-transfor \
   1071   | --program-transfo | --program-transf \
   1072   | --program-trans | --program-tran \
   1073   | --progr-tra | --program-tr | --program-t)
   1074     ac_prev=program_transform_name ;;
   1075   -program-transform-name=* | --program-transform-name=* \
   1076   | --program-transform-nam=* | --program-transform-na=* \
   1077   | --program-transform-n=* | --program-transform-=* \
   1078   | --program-transform=* | --program-transfor=* \
   1079   | --program-transfo=* | --program-transf=* \
   1080   | --program-trans=* | --program-tran=* \
   1081   | --progr-tra=* | --program-tr=* | --program-t=*)
   1082     program_transform_name=$ac_optarg ;;
   1083 
   1084   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1085     ac_prev=pdfdir ;;
   1086   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1087     pdfdir=$ac_optarg ;;
   1088 
   1089   -psdir | --psdir | --psdi | --psd | --ps)
   1090     ac_prev=psdir ;;
   1091   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1092     psdir=$ac_optarg ;;
   1093 
   1094   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1095   | -silent | --silent | --silen | --sile | --sil)
   1096     silent=yes ;;
   1097 
   1098   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1099     ac_prev=sbindir ;;
   1100   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1101   | --sbi=* | --sb=*)
   1102     sbindir=$ac_optarg ;;
   1103 
   1104   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1105   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1106   | --sharedst | --shareds | --shared | --share | --shar \
   1107   | --sha | --sh)
   1108     ac_prev=sharedstatedir ;;
   1109   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1110   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1111   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1112   | --sha=* | --sh=*)
   1113     sharedstatedir=$ac_optarg ;;
   1114 
   1115   -site | --site | --sit)
   1116     ac_prev=site ;;
   1117   -site=* | --site=* | --sit=*)
   1118     site=$ac_optarg ;;
   1119 
   1120   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1121     ac_prev=srcdir ;;
   1122   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1123     srcdir=$ac_optarg ;;
   1124 
   1125   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1126   | --syscon | --sysco | --sysc | --sys | --sy)
   1127     ac_prev=sysconfdir ;;
   1128   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1129   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1130     sysconfdir=$ac_optarg ;;
   1131 
   1132   -target | --target | --targe | --targ | --tar | --ta | --t)
   1133     ac_prev=target_alias ;;
   1134   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1135     target_alias=$ac_optarg ;;
   1136 
   1137   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1138     verbose=yes ;;
   1139 
   1140   -version | --version | --versio | --versi | --vers | -V)
   1141     ac_init_version=: ;;
   1142 
   1143   -with-* | --with-*)
   1144     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1145     # Reject names that are not valid shell variable names.
   1146     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1147       as_fn_error $? "invalid package name: $ac_useropt"
   1148     ac_useropt_orig=$ac_useropt
   1149     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1150     case $ac_user_opts in
   1151       *"
   1152 "with_$ac_useropt"
   1153 "*) ;;
   1154       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1155 	 ac_unrecognized_sep=', ';;
   1156     esac
   1157     eval with_$ac_useropt=\$ac_optarg ;;
   1158 
   1159   -without-* | --without-*)
   1160     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1161     # Reject names that are not valid shell variable names.
   1162     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1163       as_fn_error $? "invalid package name: $ac_useropt"
   1164     ac_useropt_orig=$ac_useropt
   1165     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1166     case $ac_user_opts in
   1167       *"
   1168 "with_$ac_useropt"
   1169 "*) ;;
   1170       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1171 	 ac_unrecognized_sep=', ';;
   1172     esac
   1173     eval with_$ac_useropt=no ;;
   1174 
   1175   --x)
   1176     # Obsolete; use --with-x.
   1177     with_x=yes ;;
   1178 
   1179   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1180   | --x-incl | --x-inc | --x-in | --x-i)
   1181     ac_prev=x_includes ;;
   1182   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1183   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1184     x_includes=$ac_optarg ;;
   1185 
   1186   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1187   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1188     ac_prev=x_libraries ;;
   1189   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1190   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1191     x_libraries=$ac_optarg ;;
   1192 
   1193   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1194 Try \`$0 --help' for more information"
   1195     ;;
   1196 
   1197   *=*)
   1198     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1199     # Reject names that are not valid shell variable names.
   1200     case $ac_envvar in #(
   1201       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1202       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1203     esac
   1204     eval $ac_envvar=\$ac_optarg
   1205     export $ac_envvar ;;
   1206 
   1207   *)
   1208     # FIXME: should be removed in autoconf 3.0.
   1209     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1210     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1211       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1212     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1213     ;;
   1214 
   1215   esac
   1216 done
   1217 
   1218 if test -n "$ac_prev"; then
   1219   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1220   as_fn_error $? "missing argument to $ac_option"
   1221 fi
   1222 
   1223 if test -n "$ac_unrecognized_opts"; then
   1224   case $enable_option_checking in
   1225     no) ;;
   1226     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1227     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1228   esac
   1229 fi
   1230 
   1231 # Check all directory arguments for consistency.
   1232 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1233 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1234 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1235 		libdir localedir mandir
   1236 do
   1237   eval ac_val=\$$ac_var
   1238   # Remove trailing slashes.
   1239   case $ac_val in
   1240     */ )
   1241       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1242       eval $ac_var=\$ac_val;;
   1243   esac
   1244   # Be sure to have absolute directory names.
   1245   case $ac_val in
   1246     [\\/$]* | ?:[\\/]* )  continue;;
   1247     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1248   esac
   1249   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1250 done
   1251 
   1252 # There might be people who depend on the old broken behavior: `$host'
   1253 # used to hold the argument of --host etc.
   1254 # FIXME: To remove some day.
   1255 build=$build_alias
   1256 host=$host_alias
   1257 target=$target_alias
   1258 
   1259 # FIXME: To remove some day.
   1260 if test "x$host_alias" != x; then
   1261   if test "x$build_alias" = x; then
   1262     cross_compiling=maybe
   1263     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1264     If a cross compiler is detected then cross compile mode will be used" >&2
   1265   elif test "x$build_alias" != "x$host_alias"; then
   1266     cross_compiling=yes
   1267   fi
   1268 fi
   1269 
   1270 ac_tool_prefix=
   1271 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1272 
   1273 test "$silent" = yes && exec 6>/dev/null
   1274 
   1275 
   1276 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1277 ac_ls_di=`ls -di .` &&
   1278 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1279   as_fn_error $? "working directory cannot be determined"
   1280 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1281   as_fn_error $? "pwd does not report name of working directory"
   1282 
   1283 
   1284 # Find the source files, if location was not specified.
   1285 if test -z "$srcdir"; then
   1286   ac_srcdir_defaulted=yes
   1287   # Try the directory containing this script, then the parent directory.
   1288   ac_confdir=`$as_dirname -- "$as_myself" ||
   1289 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1290 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1291 	 X"$as_myself" : 'X\(//\)$' \| \
   1292 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1293 $as_echo X"$as_myself" |
   1294     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1295 	    s//\1/
   1296 	    q
   1297 	  }
   1298 	  /^X\(\/\/\)[^/].*/{
   1299 	    s//\1/
   1300 	    q
   1301 	  }
   1302 	  /^X\(\/\/\)$/{
   1303 	    s//\1/
   1304 	    q
   1305 	  }
   1306 	  /^X\(\/\).*/{
   1307 	    s//\1/
   1308 	    q
   1309 	  }
   1310 	  s/.*/./; q'`
   1311   srcdir=$ac_confdir
   1312   if test ! -r "$srcdir/$ac_unique_file"; then
   1313     srcdir=..
   1314   fi
   1315 else
   1316   ac_srcdir_defaulted=no
   1317 fi
   1318 if test ! -r "$srcdir/$ac_unique_file"; then
   1319   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1320   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1321 fi
   1322 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1323 ac_abs_confdir=`(
   1324 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1325 	pwd)`
   1326 # When building in place, set srcdir=.
   1327 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1328   srcdir=.
   1329 fi
   1330 # Remove unnecessary trailing slashes from srcdir.
   1331 # Double slashes in file names in object file debugging info
   1332 # mess up M-x gdb in Emacs.
   1333 case $srcdir in
   1334 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1335 esac
   1336 for ac_var in $ac_precious_vars; do
   1337   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1338   eval ac_env_${ac_var}_value=\$${ac_var}
   1339   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1340   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1341 done
   1342 
   1343 #
   1344 # Report the --help message.
   1345 #
   1346 if test "$ac_init_help" = "long"; then
   1347   # Omit some internal or obsolete options to make the list less imposing.
   1348   # This message is too long to be a string in the A/UX 3.1 sh.
   1349   cat <<_ACEOF
   1350 \`configure' configures xf86-video-tdfx 1.4.5 to adapt to many kinds of systems.
   1351 
   1352 Usage: $0 [OPTION]... [VAR=VALUE]...
   1353 
   1354 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1355 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1356 
   1357 Defaults for the options are specified in brackets.
   1358 
   1359 Configuration:
   1360   -h, --help              display this help and exit
   1361       --help=short        display options specific to this package
   1362       --help=recursive    display the short help of all the included packages
   1363   -V, --version           display version information and exit
   1364   -q, --quiet, --silent   do not print \`checking ...' messages
   1365       --cache-file=FILE   cache test results in FILE [disabled]
   1366   -C, --config-cache      alias for \`--cache-file=config.cache'
   1367   -n, --no-create         do not create output files
   1368       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1369 
   1370 Installation directories:
   1371   --prefix=PREFIX         install architecture-independent files in PREFIX
   1372                           [$ac_default_prefix]
   1373   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1374                           [PREFIX]
   1375 
   1376 By default, \`make install' will install all the files in
   1377 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1378 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1379 for instance \`--prefix=\$HOME'.
   1380 
   1381 For better control, use the options below.
   1382 
   1383 Fine tuning of the installation directories:
   1384   --bindir=DIR            user executables [EPREFIX/bin]
   1385   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1386   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1387   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1388   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1389   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1390   --libdir=DIR            object code libraries [EPREFIX/lib]
   1391   --includedir=DIR        C header files [PREFIX/include]
   1392   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1393   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1394   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1395   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1396   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1397   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1398   --docdir=DIR            documentation root [DATAROOTDIR/doc/xf86-video-tdfx]
   1399   --htmldir=DIR           html documentation [DOCDIR]
   1400   --dvidir=DIR            dvi documentation [DOCDIR]
   1401   --pdfdir=DIR            pdf documentation [DOCDIR]
   1402   --psdir=DIR             ps documentation [DOCDIR]
   1403 _ACEOF
   1404 
   1405   cat <<\_ACEOF
   1406 
   1407 Program names:
   1408   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1409   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1410   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1411 
   1412 System types:
   1413   --build=BUILD     configure for building on BUILD [guessed]
   1414   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1415 _ACEOF
   1416 fi
   1417 
   1418 if test -n "$ac_init_help"; then
   1419   case $ac_init_help in
   1420      short | recursive ) echo "Configuration of xf86-video-tdfx 1.4.5:";;
   1421    esac
   1422   cat <<\_ACEOF
   1423 
   1424 Optional Features:
   1425   --disable-option-checking  ignore unrecognized --enable/--with options
   1426   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1427   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1428   --enable-maintainer-mode  enable make rules and dependencies not useful
   1429 			  (and sometimes confusing) to the casual installer
   1430   --disable-dependency-tracking  speeds up one-time build
   1431   --enable-dependency-tracking   do not reject slow dependency extractors
   1432   --disable-selective-werror
   1433                           Turn off selective compiler errors. (default:
   1434                           enabled)
   1435   --enable-strict-compilation
   1436                           Enable all warnings from compiler and make them
   1437                           errors (default: disabled)
   1438   --enable-silent-rules          less verbose build output (undo: `make V=1')
   1439   --disable-silent-rules         verbose build output (undo: `make V=0')
   1440   --enable-static[=PKGS]  build static libraries [default=no]
   1441   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1442   --enable-fast-install[=PKGS]
   1443                           optimize for fast installation [default=yes]
   1444   --disable-libtool-lock  avoid locking (might break parallel builds)
   1445   --disable-dri           Disable DRI support [[default=auto]]
   1446   --enable-xaa            Enable legacy X Acceleration Architecture (XAA)
   1447                           [default=auto]
   1448 
   1449 Optional Packages:
   1450   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1451   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1452   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1453                           both]
   1454   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1455   --with-sysroot=DIR Search for dependent libraries within DIR
   1456                         (or the compiler's sysroot if not specified).
   1457   --with-xorg-module-dir=DIR
   1458                           Default xorg module directory
   1459                           [[default=$libdir/xorg/modules]]
   1460 
   1461 Some influential environment variables:
   1462   CC          C compiler command
   1463   CFLAGS      C compiler flags
   1464   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1465               nonstandard directory <lib dir>
   1466   LIBS        libraries to pass to the linker, e.g. -l<library>
   1467   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1468               you have headers in a nonstandard directory <include dir>
   1469   CPP         C preprocessor
   1470   PKG_CONFIG  path to pkg-config utility
   1471   PKG_CONFIG_PATH
   1472               directories to add to pkg-config's search path
   1473   PKG_CONFIG_LIBDIR
   1474               path overriding pkg-config's built-in search path
   1475   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1476   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1477   DRI_CFLAGS  C compiler flags for DRI, overriding pkg-config
   1478   DRI_LIBS    linker flags for DRI, overriding pkg-config
   1479   PCIACCESS_CFLAGS
   1480               C compiler flags for PCIACCESS, overriding pkg-config
   1481   PCIACCESS_LIBS
   1482               linker flags for PCIACCESS, overriding pkg-config
   1483 
   1484 Use these variables to override the choices made by `configure' or to help
   1485 it to find libraries and programs with nonstandard names/locations.
   1486 
   1487 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1488 _ACEOF
   1489 ac_status=$?
   1490 fi
   1491 
   1492 if test "$ac_init_help" = "recursive"; then
   1493   # If there are subdirs, report their specific --help.
   1494   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1495     test -d "$ac_dir" ||
   1496       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1497       continue
   1498     ac_builddir=.
   1499 
   1500 case "$ac_dir" in
   1501 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1502 *)
   1503   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1504   # A ".." for each directory in $ac_dir_suffix.
   1505   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1506   case $ac_top_builddir_sub in
   1507   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1508   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1509   esac ;;
   1510 esac
   1511 ac_abs_top_builddir=$ac_pwd
   1512 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1513 # for backward compatibility:
   1514 ac_top_builddir=$ac_top_build_prefix
   1515 
   1516 case $srcdir in
   1517   .)  # We are building in place.
   1518     ac_srcdir=.
   1519     ac_top_srcdir=$ac_top_builddir_sub
   1520     ac_abs_top_srcdir=$ac_pwd ;;
   1521   [\\/]* | ?:[\\/]* )  # Absolute name.
   1522     ac_srcdir=$srcdir$ac_dir_suffix;
   1523     ac_top_srcdir=$srcdir
   1524     ac_abs_top_srcdir=$srcdir ;;
   1525   *) # Relative name.
   1526     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1527     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1528     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1529 esac
   1530 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1531 
   1532     cd "$ac_dir" || { ac_status=$?; continue; }
   1533     # Check for guested configure.
   1534     if test -f "$ac_srcdir/configure.gnu"; then
   1535       echo &&
   1536       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1537     elif test -f "$ac_srcdir/configure"; then
   1538       echo &&
   1539       $SHELL "$ac_srcdir/configure" --help=recursive
   1540     else
   1541       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1542     fi || ac_status=$?
   1543     cd "$ac_pwd" || { ac_status=$?; break; }
   1544   done
   1545 fi
   1546 
   1547 test -n "$ac_init_help" && exit $ac_status
   1548 if $ac_init_version; then
   1549   cat <<\_ACEOF
   1550 xf86-video-tdfx configure 1.4.5
   1551 generated by GNU Autoconf 2.68
   1552 
   1553 Copyright (C) 2010 Free Software Foundation, Inc.
   1554 This configure script is free software; the Free Software Foundation
   1555 gives unlimited permission to copy, distribute and modify it.
   1556 _ACEOF
   1557   exit
   1558 fi
   1559 
   1560 ## ------------------------ ##
   1561 ## Autoconf initialization. ##
   1562 ## ------------------------ ##
   1563 
   1564 # ac_fn_c_try_compile LINENO
   1565 # --------------------------
   1566 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1567 ac_fn_c_try_compile ()
   1568 {
   1569   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1570   rm -f conftest.$ac_objext
   1571   if { { ac_try="$ac_compile"
   1572 case "(($ac_try" in
   1573   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1574   *) ac_try_echo=$ac_try;;
   1575 esac
   1576 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1577 $as_echo "$ac_try_echo"; } >&5
   1578   (eval "$ac_compile") 2>conftest.err
   1579   ac_status=$?
   1580   if test -s conftest.err; then
   1581     grep -v '^ *+' conftest.err >conftest.er1
   1582     cat conftest.er1 >&5
   1583     mv -f conftest.er1 conftest.err
   1584   fi
   1585   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1586   test $ac_status = 0; } && {
   1587 	 test -z "$ac_c_werror_flag" ||
   1588 	 test ! -s conftest.err
   1589        } && test -s conftest.$ac_objext; then :
   1590   ac_retval=0
   1591 else
   1592   $as_echo "$as_me: failed program was:" >&5
   1593 sed 's/^/| /' conftest.$ac_ext >&5
   1594 
   1595 	ac_retval=1
   1596 fi
   1597   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1598   as_fn_set_status $ac_retval
   1599 
   1600 } # ac_fn_c_try_compile
   1601 
   1602 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1603 # ---------------------------------------------
   1604 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1605 # accordingly.
   1606 ac_fn_c_check_decl ()
   1607 {
   1608   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1609   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1610   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1611   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1612 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1613 if eval \${$3+:} false; then :
   1614   $as_echo_n "(cached) " >&6
   1615 else
   1616   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1617 /* end confdefs.h.  */
   1618 $4
   1619 int
   1620 main ()
   1621 {
   1622 #ifndef $as_decl_name
   1623 #ifdef __cplusplus
   1624   (void) $as_decl_use;
   1625 #else
   1626   (void) $as_decl_name;
   1627 #endif
   1628 #endif
   1629 
   1630   ;
   1631   return 0;
   1632 }
   1633 _ACEOF
   1634 if ac_fn_c_try_compile "$LINENO"; then :
   1635   eval "$3=yes"
   1636 else
   1637   eval "$3=no"
   1638 fi
   1639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1640 fi
   1641 eval ac_res=\$$3
   1642 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1643 $as_echo "$ac_res" >&6; }
   1644   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1645 
   1646 } # ac_fn_c_check_decl
   1647 
   1648 # ac_fn_c_try_cpp LINENO
   1649 # ----------------------
   1650 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1651 ac_fn_c_try_cpp ()
   1652 {
   1653   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1654   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1655 case "(($ac_try" in
   1656   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1657   *) ac_try_echo=$ac_try;;
   1658 esac
   1659 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1660 $as_echo "$ac_try_echo"; } >&5
   1661   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1662   ac_status=$?
   1663   if test -s conftest.err; then
   1664     grep -v '^ *+' conftest.err >conftest.er1
   1665     cat conftest.er1 >&5
   1666     mv -f conftest.er1 conftest.err
   1667   fi
   1668   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1669   test $ac_status = 0; } > conftest.i && {
   1670 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1671 	 test ! -s conftest.err
   1672        }; then :
   1673   ac_retval=0
   1674 else
   1675   $as_echo "$as_me: failed program was:" >&5
   1676 sed 's/^/| /' conftest.$ac_ext >&5
   1677 
   1678     ac_retval=1
   1679 fi
   1680   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1681   as_fn_set_status $ac_retval
   1682 
   1683 } # ac_fn_c_try_cpp
   1684 
   1685 # ac_fn_c_try_run LINENO
   1686 # ----------------------
   1687 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1688 # that executables *can* be run.
   1689 ac_fn_c_try_run ()
   1690 {
   1691   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1692   if { { ac_try="$ac_link"
   1693 case "(($ac_try" in
   1694   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1695   *) ac_try_echo=$ac_try;;
   1696 esac
   1697 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1698 $as_echo "$ac_try_echo"; } >&5
   1699   (eval "$ac_link") 2>&5
   1700   ac_status=$?
   1701   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1702   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1703   { { case "(($ac_try" in
   1704   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1705   *) ac_try_echo=$ac_try;;
   1706 esac
   1707 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1708 $as_echo "$ac_try_echo"; } >&5
   1709   (eval "$ac_try") 2>&5
   1710   ac_status=$?
   1711   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1712   test $ac_status = 0; }; }; then :
   1713   ac_retval=0
   1714 else
   1715   $as_echo "$as_me: program exited with status $ac_status" >&5
   1716        $as_echo "$as_me: failed program was:" >&5
   1717 sed 's/^/| /' conftest.$ac_ext >&5
   1718 
   1719        ac_retval=$ac_status
   1720 fi
   1721   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1722   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1723   as_fn_set_status $ac_retval
   1724 
   1725 } # ac_fn_c_try_run
   1726 
   1727 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1728 # -------------------------------------------------------
   1729 # Tests whether HEADER exists and can be compiled using the include files in
   1730 # INCLUDES, setting the cache variable VAR accordingly.
   1731 ac_fn_c_check_header_compile ()
   1732 {
   1733   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1734   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1735 $as_echo_n "checking for $2... " >&6; }
   1736 if eval \${$3+:} false; then :
   1737   $as_echo_n "(cached) " >&6
   1738 else
   1739   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1740 /* end confdefs.h.  */
   1741 $4
   1742 #include <$2>
   1743 _ACEOF
   1744 if ac_fn_c_try_compile "$LINENO"; then :
   1745   eval "$3=yes"
   1746 else
   1747   eval "$3=no"
   1748 fi
   1749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1750 fi
   1751 eval ac_res=\$$3
   1752 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1753 $as_echo "$ac_res" >&6; }
   1754   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1755 
   1756 } # ac_fn_c_check_header_compile
   1757 
   1758 # ac_fn_c_try_link LINENO
   1759 # -----------------------
   1760 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1761 ac_fn_c_try_link ()
   1762 {
   1763   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1764   rm -f conftest.$ac_objext conftest$ac_exeext
   1765   if { { ac_try="$ac_link"
   1766 case "(($ac_try" in
   1767   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1768   *) ac_try_echo=$ac_try;;
   1769 esac
   1770 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1771 $as_echo "$ac_try_echo"; } >&5
   1772   (eval "$ac_link") 2>conftest.err
   1773   ac_status=$?
   1774   if test -s conftest.err; then
   1775     grep -v '^ *+' conftest.err >conftest.er1
   1776     cat conftest.er1 >&5
   1777     mv -f conftest.er1 conftest.err
   1778   fi
   1779   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1780   test $ac_status = 0; } && {
   1781 	 test -z "$ac_c_werror_flag" ||
   1782 	 test ! -s conftest.err
   1783        } && test -s conftest$ac_exeext && {
   1784 	 test "$cross_compiling" = yes ||
   1785 	 $as_test_x conftest$ac_exeext
   1786        }; then :
   1787   ac_retval=0
   1788 else
   1789   $as_echo "$as_me: failed program was:" >&5
   1790 sed 's/^/| /' conftest.$ac_ext >&5
   1791 
   1792 	ac_retval=1
   1793 fi
   1794   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1795   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1796   # interfere with the next link command; also delete a directory that is
   1797   # left behind by Apple's compiler.  We do this before executing the actions.
   1798   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1799   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1800   as_fn_set_status $ac_retval
   1801 
   1802 } # ac_fn_c_try_link
   1803 
   1804 # ac_fn_c_check_func LINENO FUNC VAR
   1805 # ----------------------------------
   1806 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1807 ac_fn_c_check_func ()
   1808 {
   1809   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1810   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1811 $as_echo_n "checking for $2... " >&6; }
   1812 if eval \${$3+:} false; then :
   1813   $as_echo_n "(cached) " >&6
   1814 else
   1815   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1816 /* end confdefs.h.  */
   1817 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1818    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1819 #define $2 innocuous_$2
   1820 
   1821 /* System header to define __stub macros and hopefully few prototypes,
   1822     which can conflict with char $2 (); below.
   1823     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1824     <limits.h> exists even on freestanding compilers.  */
   1825 
   1826 #ifdef __STDC__
   1827 # include <limits.h>
   1828 #else
   1829 # include <assert.h>
   1830 #endif
   1831 
   1832 #undef $2
   1833 
   1834 /* Override any GCC internal prototype to avoid an error.
   1835    Use char because int might match the return type of a GCC
   1836    builtin and then its argument prototype would still apply.  */
   1837 #ifdef __cplusplus
   1838 extern "C"
   1839 #endif
   1840 char $2 ();
   1841 /* The GNU C library defines this for functions which it implements
   1842     to always fail with ENOSYS.  Some functions are actually named
   1843     something starting with __ and the normal name is an alias.  */
   1844 #if defined __stub_$2 || defined __stub___$2
   1845 choke me
   1846 #endif
   1847 
   1848 int
   1849 main ()
   1850 {
   1851 return $2 ();
   1852   ;
   1853   return 0;
   1854 }
   1855 _ACEOF
   1856 if ac_fn_c_try_link "$LINENO"; then :
   1857   eval "$3=yes"
   1858 else
   1859   eval "$3=no"
   1860 fi
   1861 rm -f core conftest.err conftest.$ac_objext \
   1862     conftest$ac_exeext conftest.$ac_ext
   1863 fi
   1864 eval ac_res=\$$3
   1865 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1866 $as_echo "$ac_res" >&6; }
   1867   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1868 
   1869 } # ac_fn_c_check_func
   1870 
   1871 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1872 # -------------------------------------------------------
   1873 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1874 # the include files in INCLUDES and setting the cache variable VAR
   1875 # accordingly.
   1876 ac_fn_c_check_header_mongrel ()
   1877 {
   1878   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1879   if eval \${$3+:} false; then :
   1880   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1881 $as_echo_n "checking for $2... " >&6; }
   1882 if eval \${$3+:} false; then :
   1883   $as_echo_n "(cached) " >&6
   1884 fi
   1885 eval ac_res=\$$3
   1886 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1887 $as_echo "$ac_res" >&6; }
   1888 else
   1889   # Is the header compilable?
   1890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1891 $as_echo_n "checking $2 usability... " >&6; }
   1892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1893 /* end confdefs.h.  */
   1894 $4
   1895 #include <$2>
   1896 _ACEOF
   1897 if ac_fn_c_try_compile "$LINENO"; then :
   1898   ac_header_compiler=yes
   1899 else
   1900   ac_header_compiler=no
   1901 fi
   1902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1904 $as_echo "$ac_header_compiler" >&6; }
   1905 
   1906 # Is the header present?
   1907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1908 $as_echo_n "checking $2 presence... " >&6; }
   1909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1910 /* end confdefs.h.  */
   1911 #include <$2>
   1912 _ACEOF
   1913 if ac_fn_c_try_cpp "$LINENO"; then :
   1914   ac_header_preproc=yes
   1915 else
   1916   ac_header_preproc=no
   1917 fi
   1918 rm -f conftest.err conftest.i conftest.$ac_ext
   1919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1920 $as_echo "$ac_header_preproc" >&6; }
   1921 
   1922 # So?  What about this header?
   1923 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1924   yes:no: )
   1925     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1926 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1927     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1928 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1929     ;;
   1930   no:yes:* )
   1931     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1932 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1933     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1934 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1935     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1936 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1937     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1938 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1939     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1940 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1941 ( $as_echo "## ---------------------------------------------------------------------- ##
   1942 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   1943 ## ---------------------------------------------------------------------- ##"
   1944      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1945     ;;
   1946 esac
   1947   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1948 $as_echo_n "checking for $2... " >&6; }
   1949 if eval \${$3+:} false; then :
   1950   $as_echo_n "(cached) " >&6
   1951 else
   1952   eval "$3=\$ac_header_compiler"
   1953 fi
   1954 eval ac_res=\$$3
   1955 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1956 $as_echo "$ac_res" >&6; }
   1957 fi
   1958   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1959 
   1960 } # ac_fn_c_check_header_mongrel
   1961 cat >config.log <<_ACEOF
   1962 This file contains any messages produced by compilers while
   1963 running configure, to aid debugging if configure makes a mistake.
   1964 
   1965 It was created by xf86-video-tdfx $as_me 1.4.5, which was
   1966 generated by GNU Autoconf 2.68.  Invocation command line was
   1967 
   1968   $ $0 $@
   1969 
   1970 _ACEOF
   1971 exec 5>>config.log
   1972 {
   1973 cat <<_ASUNAME
   1974 ## --------- ##
   1975 ## Platform. ##
   1976 ## --------- ##
   1977 
   1978 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1979 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1980 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1981 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1982 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1983 
   1984 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1985 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1986 
   1987 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1988 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1989 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1990 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1991 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1992 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1993 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1994 
   1995 _ASUNAME
   1996 
   1997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1998 for as_dir in $PATH
   1999 do
   2000   IFS=$as_save_IFS
   2001   test -z "$as_dir" && as_dir=.
   2002     $as_echo "PATH: $as_dir"
   2003   done
   2004 IFS=$as_save_IFS
   2005 
   2006 } >&5
   2007 
   2008 cat >&5 <<_ACEOF
   2009 
   2010 
   2011 ## ----------- ##
   2012 ## Core tests. ##
   2013 ## ----------- ##
   2014 
   2015 _ACEOF
   2016 
   2017 
   2018 # Keep a trace of the command line.
   2019 # Strip out --no-create and --no-recursion so they do not pile up.
   2020 # Strip out --silent because we don't want to record it for future runs.
   2021 # Also quote any args containing shell meta-characters.
   2022 # Make two passes to allow for proper duplicate-argument suppression.
   2023 ac_configure_args=
   2024 ac_configure_args0=
   2025 ac_configure_args1=
   2026 ac_must_keep_next=false
   2027 for ac_pass in 1 2
   2028 do
   2029   for ac_arg
   2030   do
   2031     case $ac_arg in
   2032     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2033     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2034     | -silent | --silent | --silen | --sile | --sil)
   2035       continue ;;
   2036     *\'*)
   2037       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2038     esac
   2039     case $ac_pass in
   2040     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2041     2)
   2042       as_fn_append ac_configure_args1 " '$ac_arg'"
   2043       if test $ac_must_keep_next = true; then
   2044 	ac_must_keep_next=false # Got value, back to normal.
   2045       else
   2046 	case $ac_arg in
   2047 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2048 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2049 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2050 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2051 	    case "$ac_configure_args0 " in
   2052 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2053 	    esac
   2054 	    ;;
   2055 	  -* ) ac_must_keep_next=true ;;
   2056 	esac
   2057       fi
   2058       as_fn_append ac_configure_args " '$ac_arg'"
   2059       ;;
   2060     esac
   2061   done
   2062 done
   2063 { ac_configure_args0=; unset ac_configure_args0;}
   2064 { ac_configure_args1=; unset ac_configure_args1;}
   2065 
   2066 # When interrupted or exit'd, cleanup temporary files, and complete
   2067 # config.log.  We remove comments because anyway the quotes in there
   2068 # would cause problems or look ugly.
   2069 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2070 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2071 trap 'exit_status=$?
   2072   # Save into config.log some information that might help in debugging.
   2073   {
   2074     echo
   2075 
   2076     $as_echo "## ---------------- ##
   2077 ## Cache variables. ##
   2078 ## ---------------- ##"
   2079     echo
   2080     # The following way of writing the cache mishandles newlines in values,
   2081 (
   2082   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2083     eval ac_val=\$$ac_var
   2084     case $ac_val in #(
   2085     *${as_nl}*)
   2086       case $ac_var in #(
   2087       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2088 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2089       esac
   2090       case $ac_var in #(
   2091       _ | IFS | as_nl) ;; #(
   2092       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2093       *) { eval $ac_var=; unset $ac_var;} ;;
   2094       esac ;;
   2095     esac
   2096   done
   2097   (set) 2>&1 |
   2098     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2099     *${as_nl}ac_space=\ *)
   2100       sed -n \
   2101 	"s/'\''/'\''\\\\'\'''\''/g;
   2102 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2103       ;; #(
   2104     *)
   2105       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2106       ;;
   2107     esac |
   2108     sort
   2109 )
   2110     echo
   2111 
   2112     $as_echo "## ----------------- ##
   2113 ## Output variables. ##
   2114 ## ----------------- ##"
   2115     echo
   2116     for ac_var in $ac_subst_vars
   2117     do
   2118       eval ac_val=\$$ac_var
   2119       case $ac_val in
   2120       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2121       esac
   2122       $as_echo "$ac_var='\''$ac_val'\''"
   2123     done | sort
   2124     echo
   2125 
   2126     if test -n "$ac_subst_files"; then
   2127       $as_echo "## ------------------- ##
   2128 ## File substitutions. ##
   2129 ## ------------------- ##"
   2130       echo
   2131       for ac_var in $ac_subst_files
   2132       do
   2133 	eval ac_val=\$$ac_var
   2134 	case $ac_val in
   2135 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2136 	esac
   2137 	$as_echo "$ac_var='\''$ac_val'\''"
   2138       done | sort
   2139       echo
   2140     fi
   2141 
   2142     if test -s confdefs.h; then
   2143       $as_echo "## ----------- ##
   2144 ## confdefs.h. ##
   2145 ## ----------- ##"
   2146       echo
   2147       cat confdefs.h
   2148       echo
   2149     fi
   2150     test "$ac_signal" != 0 &&
   2151       $as_echo "$as_me: caught signal $ac_signal"
   2152     $as_echo "$as_me: exit $exit_status"
   2153   } >&5
   2154   rm -f core *.core core.conftest.* &&
   2155     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2156     exit $exit_status
   2157 ' 0
   2158 for ac_signal in 1 2 13 15; do
   2159   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2160 done
   2161 ac_signal=0
   2162 
   2163 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2164 rm -f -r conftest* confdefs.h
   2165 
   2166 $as_echo "/* confdefs.h */" > confdefs.h
   2167 
   2168 # Predefined preprocessor variables.
   2169 
   2170 cat >>confdefs.h <<_ACEOF
   2171 #define PACKAGE_NAME "$PACKAGE_NAME"
   2172 _ACEOF
   2173 
   2174 cat >>confdefs.h <<_ACEOF
   2175 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2176 _ACEOF
   2177 
   2178 cat >>confdefs.h <<_ACEOF
   2179 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2180 _ACEOF
   2181 
   2182 cat >>confdefs.h <<_ACEOF
   2183 #define PACKAGE_STRING "$PACKAGE_STRING"
   2184 _ACEOF
   2185 
   2186 cat >>confdefs.h <<_ACEOF
   2187 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2188 _ACEOF
   2189 
   2190 cat >>confdefs.h <<_ACEOF
   2191 #define PACKAGE_URL "$PACKAGE_URL"
   2192 _ACEOF
   2193 
   2194 
   2195 # Let the site file select an alternate cache file if it wants to.
   2196 # Prefer an explicitly selected file to automatically selected ones.
   2197 ac_site_file1=NONE
   2198 ac_site_file2=NONE
   2199 if test -n "$CONFIG_SITE"; then
   2200   # We do not want a PATH search for config.site.
   2201   case $CONFIG_SITE in #((
   2202     -*)  ac_site_file1=./$CONFIG_SITE;;
   2203     */*) ac_site_file1=$CONFIG_SITE;;
   2204     *)   ac_site_file1=./$CONFIG_SITE;;
   2205   esac
   2206 elif test "x$prefix" != xNONE; then
   2207   ac_site_file1=$prefix/share/config.site
   2208   ac_site_file2=$prefix/etc/config.site
   2209 else
   2210   ac_site_file1=$ac_default_prefix/share/config.site
   2211   ac_site_file2=$ac_default_prefix/etc/config.site
   2212 fi
   2213 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2214 do
   2215   test "x$ac_site_file" = xNONE && continue
   2216   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2217     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2218 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2219     sed 's/^/| /' "$ac_site_file" >&5
   2220     . "$ac_site_file" \
   2221       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2222 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2223 as_fn_error $? "failed to load site script $ac_site_file
   2224 See \`config.log' for more details" "$LINENO" 5; }
   2225   fi
   2226 done
   2227 
   2228 if test -r "$cache_file"; then
   2229   # Some versions of bash will fail to source /dev/null (special files
   2230   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2231   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2232     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2233 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2234     case $cache_file in
   2235       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2236       *)                      . "./$cache_file";;
   2237     esac
   2238   fi
   2239 else
   2240   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2241 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2242   >$cache_file
   2243 fi
   2244 
   2245 # Check that the precious variables saved in the cache have kept the same
   2246 # value.
   2247 ac_cache_corrupted=false
   2248 for ac_var in $ac_precious_vars; do
   2249   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2250   eval ac_new_set=\$ac_env_${ac_var}_set
   2251   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2252   eval ac_new_val=\$ac_env_${ac_var}_value
   2253   case $ac_old_set,$ac_new_set in
   2254     set,)
   2255       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2256 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2257       ac_cache_corrupted=: ;;
   2258     ,set)
   2259       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2260 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2261       ac_cache_corrupted=: ;;
   2262     ,);;
   2263     *)
   2264       if test "x$ac_old_val" != "x$ac_new_val"; then
   2265 	# differences in whitespace do not lead to failure.
   2266 	ac_old_val_w=`echo x $ac_old_val`
   2267 	ac_new_val_w=`echo x $ac_new_val`
   2268 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2269 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2270 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2271 	  ac_cache_corrupted=:
   2272 	else
   2273 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2274 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2275 	  eval $ac_var=\$ac_old_val
   2276 	fi
   2277 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2278 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2279 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2280 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2281       fi;;
   2282   esac
   2283   # Pass precious variables to config.status.
   2284   if test "$ac_new_set" = set; then
   2285     case $ac_new_val in
   2286     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2287     *) ac_arg=$ac_var=$ac_new_val ;;
   2288     esac
   2289     case " $ac_configure_args " in
   2290       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2291       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2292     esac
   2293   fi
   2294 done
   2295 if $ac_cache_corrupted; then
   2296   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2297 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2298   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2299 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2300   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2301 fi
   2302 ## -------------------- ##
   2303 ## Main body of script. ##
   2304 ## -------------------- ##
   2305 
   2306 ac_ext=c
   2307 ac_cpp='$CPP $CPPFLAGS'
   2308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2311 
   2312 
   2313 
   2314 ac_config_headers="$ac_config_headers config.h"
   2315 
   2316 ac_aux_dir=
   2317 for ac_dir in . "$srcdir"/.; do
   2318   if test -f "$ac_dir/install-sh"; then
   2319     ac_aux_dir=$ac_dir
   2320     ac_install_sh="$ac_aux_dir/install-sh -c"
   2321     break
   2322   elif test -f "$ac_dir/install.sh"; then
   2323     ac_aux_dir=$ac_dir
   2324     ac_install_sh="$ac_aux_dir/install.sh -c"
   2325     break
   2326   elif test -f "$ac_dir/shtool"; then
   2327     ac_aux_dir=$ac_dir
   2328     ac_install_sh="$ac_aux_dir/shtool install -c"
   2329     break
   2330   fi
   2331 done
   2332 if test -z "$ac_aux_dir"; then
   2333   as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
   2334 fi
   2335 
   2336 # These three variables are undocumented and unsupported,
   2337 # and are intended to be withdrawn in a future Autoconf release.
   2338 # They can cause serious problems if a builder's source tree is in a directory
   2339 # whose full name contains unusual characters.
   2340 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2341 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2342 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2343 
   2344 
   2345 
   2346 # Initialize Automake
   2347 am__api_version='1.11'
   2348 
   2349 # Find a good install program.  We prefer a C program (faster),
   2350 # so one script is as good as another.  But avoid the broken or
   2351 # incompatible versions:
   2352 # SysV /etc/install, /usr/sbin/install
   2353 # SunOS /usr/etc/install
   2354 # IRIX /sbin/install
   2355 # AIX /bin/install
   2356 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2357 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2358 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2359 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2360 # OS/2's system install, which has a completely different semantic
   2361 # ./install, which can be erroneously created by make from ./install.sh.
   2362 # Reject install programs that cannot install multiple files.
   2363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2364 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2365 if test -z "$INSTALL"; then
   2366 if ${ac_cv_path_install+:} false; then :
   2367   $as_echo_n "(cached) " >&6
   2368 else
   2369   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2370 for as_dir in $PATH
   2371 do
   2372   IFS=$as_save_IFS
   2373   test -z "$as_dir" && as_dir=.
   2374     # Account for people who put trailing slashes in PATH elements.
   2375 case $as_dir/ in #((
   2376   ./ | .// | /[cC]/* | \
   2377   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2378   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2379   /usr/ucb/* ) ;;
   2380   *)
   2381     # OSF1 and SCO ODT 3.0 have their own names for install.
   2382     # Don't use installbsd from OSF since it installs stuff as root
   2383     # by default.
   2384     for ac_prog in ginstall scoinst install; do
   2385       for ac_exec_ext in '' $ac_executable_extensions; do
   2386 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2387 	  if test $ac_prog = install &&
   2388 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2389 	    # AIX install.  It has an incompatible calling convention.
   2390 	    :
   2391 	  elif test $ac_prog = install &&
   2392 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2393 	    # program-specific install script used by HP pwplus--don't use.
   2394 	    :
   2395 	  else
   2396 	    rm -rf conftest.one conftest.two conftest.dir
   2397 	    echo one > conftest.one
   2398 	    echo two > conftest.two
   2399 	    mkdir conftest.dir
   2400 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2401 	      test -s conftest.one && test -s conftest.two &&
   2402 	      test -s conftest.dir/conftest.one &&
   2403 	      test -s conftest.dir/conftest.two
   2404 	    then
   2405 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2406 	      break 3
   2407 	    fi
   2408 	  fi
   2409 	fi
   2410       done
   2411     done
   2412     ;;
   2413 esac
   2414 
   2415   done
   2416 IFS=$as_save_IFS
   2417 
   2418 rm -rf conftest.one conftest.two conftest.dir
   2419 
   2420 fi
   2421   if test "${ac_cv_path_install+set}" = set; then
   2422     INSTALL=$ac_cv_path_install
   2423   else
   2424     # As a last resort, use the slow shell script.  Don't cache a
   2425     # value for INSTALL within a source directory, because that will
   2426     # break other packages using the cache if that directory is
   2427     # removed, or if the value is a relative name.
   2428     INSTALL=$ac_install_sh
   2429   fi
   2430 fi
   2431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2432 $as_echo "$INSTALL" >&6; }
   2433 
   2434 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2435 # It thinks the first close brace ends the variable substitution.
   2436 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2437 
   2438 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2439 
   2440 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2441 
   2442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2443 $as_echo_n "checking whether build environment is sane... " >&6; }
   2444 # Just in case
   2445 sleep 1
   2446 echo timestamp > conftest.file
   2447 # Reject unsafe characters in $srcdir or the absolute working directory
   2448 # name.  Accept space and tab only in the latter.
   2449 am_lf='
   2450 '
   2451 case `pwd` in
   2452   *[\\\"\#\$\&\'\`$am_lf]*)
   2453     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2454 esac
   2455 case $srcdir in
   2456   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2457     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
   2458 esac
   2459 
   2460 # Do `set' in a subshell so we don't clobber the current shell's
   2461 # arguments.  Must try -L first in case configure is actually a
   2462 # symlink; some systems play weird games with the mod time of symlinks
   2463 # (eg FreeBSD returns the mod time of the symlink's containing
   2464 # directory).
   2465 if (
   2466    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2467    if test "$*" = "X"; then
   2468       # -L didn't work.
   2469       set X `ls -t "$srcdir/configure" conftest.file`
   2470    fi
   2471    rm -f conftest.file
   2472    if test "$*" != "X $srcdir/configure conftest.file" \
   2473       && test "$*" != "X conftest.file $srcdir/configure"; then
   2474 
   2475       # If neither matched, then we have a broken ls.  This can happen
   2476       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2477       # broken ls alias from the environment.  This has actually
   2478       # happened.  Such a system could not be considered "sane".
   2479       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2480 alias in your environment" "$LINENO" 5
   2481    fi
   2482 
   2483    test "$2" = conftest.file
   2484    )
   2485 then
   2486    # Ok.
   2487    :
   2488 else
   2489    as_fn_error $? "newly created file is older than distributed files!
   2490 Check your system clock" "$LINENO" 5
   2491 fi
   2492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2493 $as_echo "yes" >&6; }
   2494 test "$program_prefix" != NONE &&
   2495   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2496 # Use a double $ so make ignores it.
   2497 test "$program_suffix" != NONE &&
   2498   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2499 # Double any \ or $.
   2500 # By default was `s,x,x', remove it if useless.
   2501 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2502 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2503 
   2504 # expand $ac_aux_dir to an absolute path
   2505 am_aux_dir=`cd $ac_aux_dir && pwd`
   2506 
   2507 if test x"${MISSING+set}" != xset; then
   2508   case $am_aux_dir in
   2509   *\ * | *\	*)
   2510     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2511   *)
   2512     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2513   esac
   2514 fi
   2515 # Use eval to expand $SHELL
   2516 if eval "$MISSING --run true"; then
   2517   am_missing_run="$MISSING --run "
   2518 else
   2519   am_missing_run=
   2520   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
   2521 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2522 fi
   2523 
   2524 if test x"${install_sh}" != xset; then
   2525   case $am_aux_dir in
   2526   *\ * | *\	*)
   2527     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2528   *)
   2529     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2530   esac
   2531 fi
   2532 
   2533 # Installed binaries are usually stripped using `strip' when the user
   2534 # run `make install-strip'.  However `strip' might not be the right
   2535 # tool to use in cross-compilation environments, therefore Automake
   2536 # will honor the `STRIP' environment variable to overrule this program.
   2537 if test "$cross_compiling" != no; then
   2538   if test -n "$ac_tool_prefix"; then
   2539   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2540 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2542 $as_echo_n "checking for $ac_word... " >&6; }
   2543 if ${ac_cv_prog_STRIP+:} false; then :
   2544   $as_echo_n "(cached) " >&6
   2545 else
   2546   if test -n "$STRIP"; then
   2547   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2548 else
   2549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2550 for as_dir in $PATH
   2551 do
   2552   IFS=$as_save_IFS
   2553   test -z "$as_dir" && as_dir=.
   2554     for ac_exec_ext in '' $ac_executable_extensions; do
   2555   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2556     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2557     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2558     break 2
   2559   fi
   2560 done
   2561   done
   2562 IFS=$as_save_IFS
   2563 
   2564 fi
   2565 fi
   2566 STRIP=$ac_cv_prog_STRIP
   2567 if test -n "$STRIP"; then
   2568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2569 $as_echo "$STRIP" >&6; }
   2570 else
   2571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2572 $as_echo "no" >&6; }
   2573 fi
   2574 
   2575 
   2576 fi
   2577 if test -z "$ac_cv_prog_STRIP"; then
   2578   ac_ct_STRIP=$STRIP
   2579   # Extract the first word of "strip", so it can be a program name with args.
   2580 set dummy strip; ac_word=$2
   2581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2582 $as_echo_n "checking for $ac_word... " >&6; }
   2583 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2584   $as_echo_n "(cached) " >&6
   2585 else
   2586   if test -n "$ac_ct_STRIP"; then
   2587   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2588 else
   2589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2590 for as_dir in $PATH
   2591 do
   2592   IFS=$as_save_IFS
   2593   test -z "$as_dir" && as_dir=.
   2594     for ac_exec_ext in '' $ac_executable_extensions; do
   2595   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2596     ac_cv_prog_ac_ct_STRIP="strip"
   2597     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2598     break 2
   2599   fi
   2600 done
   2601   done
   2602 IFS=$as_save_IFS
   2603 
   2604 fi
   2605 fi
   2606 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2607 if test -n "$ac_ct_STRIP"; then
   2608   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2609 $as_echo "$ac_ct_STRIP" >&6; }
   2610 else
   2611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2612 $as_echo "no" >&6; }
   2613 fi
   2614 
   2615   if test "x$ac_ct_STRIP" = x; then
   2616     STRIP=":"
   2617   else
   2618     case $cross_compiling:$ac_tool_warned in
   2619 yes:)
   2620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2621 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2622 ac_tool_warned=yes ;;
   2623 esac
   2624     STRIP=$ac_ct_STRIP
   2625   fi
   2626 else
   2627   STRIP="$ac_cv_prog_STRIP"
   2628 fi
   2629 
   2630 fi
   2631 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2632 
   2633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2634 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2635 if test -z "$MKDIR_P"; then
   2636   if ${ac_cv_path_mkdir+:} false; then :
   2637   $as_echo_n "(cached) " >&6
   2638 else
   2639   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2640 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2641 do
   2642   IFS=$as_save_IFS
   2643   test -z "$as_dir" && as_dir=.
   2644     for ac_prog in mkdir gmkdir; do
   2645 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2646 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2647 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2648 	     'mkdir (GNU coreutils) '* | \
   2649 	     'mkdir (coreutils) '* | \
   2650 	     'mkdir (fileutils) '4.1*)
   2651 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2652 	       break 3;;
   2653 	   esac
   2654 	 done
   2655        done
   2656   done
   2657 IFS=$as_save_IFS
   2658 
   2659 fi
   2660 
   2661   test -d ./--version && rmdir ./--version
   2662   if test "${ac_cv_path_mkdir+set}" = set; then
   2663     MKDIR_P="$ac_cv_path_mkdir -p"
   2664   else
   2665     # As a last resort, use the slow shell script.  Don't cache a
   2666     # value for MKDIR_P within a source directory, because that will
   2667     # break other packages using the cache if that directory is
   2668     # removed, or if the value is a relative name.
   2669     MKDIR_P="$ac_install_sh -d"
   2670   fi
   2671 fi
   2672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2673 $as_echo "$MKDIR_P" >&6; }
   2674 
   2675 mkdir_p="$MKDIR_P"
   2676 case $mkdir_p in
   2677   [\\/$]* | ?:[\\/]*) ;;
   2678   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2679 esac
   2680 
   2681 for ac_prog in gawk mawk nawk awk
   2682 do
   2683   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2684 set dummy $ac_prog; ac_word=$2
   2685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2686 $as_echo_n "checking for $ac_word... " >&6; }
   2687 if ${ac_cv_prog_AWK+:} false; then :
   2688   $as_echo_n "(cached) " >&6
   2689 else
   2690   if test -n "$AWK"; then
   2691   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2692 else
   2693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2694 for as_dir in $PATH
   2695 do
   2696   IFS=$as_save_IFS
   2697   test -z "$as_dir" && as_dir=.
   2698     for ac_exec_ext in '' $ac_executable_extensions; do
   2699   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2700     ac_cv_prog_AWK="$ac_prog"
   2701     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2702     break 2
   2703   fi
   2704 done
   2705   done
   2706 IFS=$as_save_IFS
   2707 
   2708 fi
   2709 fi
   2710 AWK=$ac_cv_prog_AWK
   2711 if test -n "$AWK"; then
   2712   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2713 $as_echo "$AWK" >&6; }
   2714 else
   2715   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2716 $as_echo "no" >&6; }
   2717 fi
   2718 
   2719 
   2720   test -n "$AWK" && break
   2721 done
   2722 
   2723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2724 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2725 set x ${MAKE-make}
   2726 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2727 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2728   $as_echo_n "(cached) " >&6
   2729 else
   2730   cat >conftest.make <<\_ACEOF
   2731 SHELL = /bin/sh
   2732 all:
   2733 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2734 _ACEOF
   2735 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2736 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2737   *@@@%%%=?*=@@@%%%*)
   2738     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2739   *)
   2740     eval ac_cv_prog_make_${ac_make}_set=no;;
   2741 esac
   2742 rm -f conftest.make
   2743 fi
   2744 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2745   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2746 $as_echo "yes" >&6; }
   2747   SET_MAKE=
   2748 else
   2749   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2750 $as_echo "no" >&6; }
   2751   SET_MAKE="MAKE=${MAKE-make}"
   2752 fi
   2753 
   2754 rm -rf .tst 2>/dev/null
   2755 mkdir .tst 2>/dev/null
   2756 if test -d .tst; then
   2757   am__leading_dot=.
   2758 else
   2759   am__leading_dot=_
   2760 fi
   2761 rmdir .tst 2>/dev/null
   2762 
   2763 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2764   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2765   # is not polluted with repeated "-I."
   2766   am__isrc=' -I$(srcdir)'
   2767   # test to see if srcdir already configured
   2768   if test -f $srcdir/config.status; then
   2769     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2770   fi
   2771 fi
   2772 
   2773 # test whether we have cygpath
   2774 if test -z "$CYGPATH_W"; then
   2775   if (cygpath --version) >/dev/null 2>/dev/null; then
   2776     CYGPATH_W='cygpath -w'
   2777   else
   2778     CYGPATH_W=echo
   2779   fi
   2780 fi
   2781 
   2782 
   2783 # Define the identity of the package.
   2784  PACKAGE='xf86-video-tdfx'
   2785  VERSION='1.4.5'
   2786 
   2787 
   2788 cat >>confdefs.h <<_ACEOF
   2789 #define PACKAGE "$PACKAGE"
   2790 _ACEOF
   2791 
   2792 
   2793 cat >>confdefs.h <<_ACEOF
   2794 #define VERSION "$VERSION"
   2795 _ACEOF
   2796 
   2797 # Some tools Automake needs.
   2798 
   2799 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2800 
   2801 
   2802 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2803 
   2804 
   2805 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2806 
   2807 
   2808 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2809 
   2810 
   2811 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2812 
   2813 # We need awk for the "check" target.  The system "awk" is bad on
   2814 # some platforms.
   2815 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2816 # in the wild :-(  We should find a proper way to deprecate it ...
   2817 AMTAR='$${TAR-tar}'
   2818 
   2819 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2820 
   2821 
   2822 
   2823 
   2824 
   2825 
   2826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2827 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2828     # Check whether --enable-maintainer-mode was given.
   2829 if test "${enable_maintainer_mode+set}" = set; then :
   2830   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2831 else
   2832   USE_MAINTAINER_MODE=no
   2833 fi
   2834 
   2835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   2836 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2837    if test $USE_MAINTAINER_MODE = yes; then
   2838   MAINTAINER_MODE_TRUE=
   2839   MAINTAINER_MODE_FALSE='#'
   2840 else
   2841   MAINTAINER_MODE_TRUE='#'
   2842   MAINTAINER_MODE_FALSE=
   2843 fi
   2844 
   2845   MAINT=$MAINTAINER_MODE_TRUE
   2846 
   2847 
   2848 
   2849 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2850 
   2851 
   2852 
   2853 
   2854 
   2855 
   2856 
   2857 
   2858 
   2859 
   2860 
   2861 DEPDIR="${am__leading_dot}deps"
   2862 
   2863 ac_config_commands="$ac_config_commands depfiles"
   2864 
   2865 
   2866 am_make=${MAKE-make}
   2867 cat > confinc << 'END'
   2868 am__doit:
   2869 	@echo this is the am__doit target
   2870 .PHONY: am__doit
   2871 END
   2872 # If we don't find an include directive, just comment out the code.
   2873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2874 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2875 am__include="#"
   2876 am__quote=
   2877 _am_result=none
   2878 # First try GNU make style include.
   2879 echo "include confinc" > confmf
   2880 # Ignore all kinds of additional output from `make'.
   2881 case `$am_make -s -f confmf 2> /dev/null` in #(
   2882 *the\ am__doit\ target*)
   2883   am__include=include
   2884   am__quote=
   2885   _am_result=GNU
   2886   ;;
   2887 esac
   2888 # Now try BSD make style include.
   2889 if test "$am__include" = "#"; then
   2890    echo '.include "confinc"' > confmf
   2891    case `$am_make -s -f confmf 2> /dev/null` in #(
   2892    *the\ am__doit\ target*)
   2893      am__include=.include
   2894      am__quote="\""
   2895      _am_result=BSD
   2896      ;;
   2897    esac
   2898 fi
   2899 
   2900 
   2901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2902 $as_echo "$_am_result" >&6; }
   2903 rm -f confinc confmf
   2904 
   2905 # Check whether --enable-dependency-tracking was given.
   2906 if test "${enable_dependency_tracking+set}" = set; then :
   2907   enableval=$enable_dependency_tracking;
   2908 fi
   2909 
   2910 if test "x$enable_dependency_tracking" != xno; then
   2911   am_depcomp="$ac_aux_dir/depcomp"
   2912   AMDEPBACKSLASH='\'
   2913   am__nodep='_no'
   2914 fi
   2915  if test "x$enable_dependency_tracking" != xno; then
   2916   AMDEP_TRUE=
   2917   AMDEP_FALSE='#'
   2918 else
   2919   AMDEP_TRUE='#'
   2920   AMDEP_FALSE=
   2921 fi
   2922 
   2923 
   2924 ac_ext=c
   2925 ac_cpp='$CPP $CPPFLAGS'
   2926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2929 if test -n "$ac_tool_prefix"; then
   2930   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2931 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2933 $as_echo_n "checking for $ac_word... " >&6; }
   2934 if ${ac_cv_prog_CC+:} false; then :
   2935   $as_echo_n "(cached) " >&6
   2936 else
   2937   if test -n "$CC"; then
   2938   ac_cv_prog_CC="$CC" # Let the user override the test.
   2939 else
   2940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2941 for as_dir in $PATH
   2942 do
   2943   IFS=$as_save_IFS
   2944   test -z "$as_dir" && as_dir=.
   2945     for ac_exec_ext in '' $ac_executable_extensions; do
   2946   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2947     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2948     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2949     break 2
   2950   fi
   2951 done
   2952   done
   2953 IFS=$as_save_IFS
   2954 
   2955 fi
   2956 fi
   2957 CC=$ac_cv_prog_CC
   2958 if test -n "$CC"; then
   2959   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2960 $as_echo "$CC" >&6; }
   2961 else
   2962   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2963 $as_echo "no" >&6; }
   2964 fi
   2965 
   2966 
   2967 fi
   2968 if test -z "$ac_cv_prog_CC"; then
   2969   ac_ct_CC=$CC
   2970   # Extract the first word of "gcc", so it can be a program name with args.
   2971 set dummy gcc; ac_word=$2
   2972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2973 $as_echo_n "checking for $ac_word... " >&6; }
   2974 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2975   $as_echo_n "(cached) " >&6
   2976 else
   2977   if test -n "$ac_ct_CC"; then
   2978   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2979 else
   2980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2981 for as_dir in $PATH
   2982 do
   2983   IFS=$as_save_IFS
   2984   test -z "$as_dir" && as_dir=.
   2985     for ac_exec_ext in '' $ac_executable_extensions; do
   2986   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2987     ac_cv_prog_ac_ct_CC="gcc"
   2988     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2989     break 2
   2990   fi
   2991 done
   2992   done
   2993 IFS=$as_save_IFS
   2994 
   2995 fi
   2996 fi
   2997 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2998 if test -n "$ac_ct_CC"; then
   2999   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3000 $as_echo "$ac_ct_CC" >&6; }
   3001 else
   3002   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3003 $as_echo "no" >&6; }
   3004 fi
   3005 
   3006   if test "x$ac_ct_CC" = x; then
   3007     CC=""
   3008   else
   3009     case $cross_compiling:$ac_tool_warned in
   3010 yes:)
   3011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3012 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3013 ac_tool_warned=yes ;;
   3014 esac
   3015     CC=$ac_ct_CC
   3016   fi
   3017 else
   3018   CC="$ac_cv_prog_CC"
   3019 fi
   3020 
   3021 if test -z "$CC"; then
   3022           if test -n "$ac_tool_prefix"; then
   3023     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3024 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3026 $as_echo_n "checking for $ac_word... " >&6; }
   3027 if ${ac_cv_prog_CC+:} false; then :
   3028   $as_echo_n "(cached) " >&6
   3029 else
   3030   if test -n "$CC"; then
   3031   ac_cv_prog_CC="$CC" # Let the user override the test.
   3032 else
   3033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3034 for as_dir in $PATH
   3035 do
   3036   IFS=$as_save_IFS
   3037   test -z "$as_dir" && as_dir=.
   3038     for ac_exec_ext in '' $ac_executable_extensions; do
   3039   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3040     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3041     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3042     break 2
   3043   fi
   3044 done
   3045   done
   3046 IFS=$as_save_IFS
   3047 
   3048 fi
   3049 fi
   3050 CC=$ac_cv_prog_CC
   3051 if test -n "$CC"; then
   3052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3053 $as_echo "$CC" >&6; }
   3054 else
   3055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3056 $as_echo "no" >&6; }
   3057 fi
   3058 
   3059 
   3060   fi
   3061 fi
   3062 if test -z "$CC"; then
   3063   # Extract the first word of "cc", so it can be a program name with args.
   3064 set dummy cc; ac_word=$2
   3065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3066 $as_echo_n "checking for $ac_word... " >&6; }
   3067 if ${ac_cv_prog_CC+:} false; then :
   3068   $as_echo_n "(cached) " >&6
   3069 else
   3070   if test -n "$CC"; then
   3071   ac_cv_prog_CC="$CC" # Let the user override the test.
   3072 else
   3073   ac_prog_rejected=no
   3074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3075 for as_dir in $PATH
   3076 do
   3077   IFS=$as_save_IFS
   3078   test -z "$as_dir" && as_dir=.
   3079     for ac_exec_ext in '' $ac_executable_extensions; do
   3080   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3081     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3082        ac_prog_rejected=yes
   3083        continue
   3084      fi
   3085     ac_cv_prog_CC="cc"
   3086     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3087     break 2
   3088   fi
   3089 done
   3090   done
   3091 IFS=$as_save_IFS
   3092 
   3093 if test $ac_prog_rejected = yes; then
   3094   # We found a bogon in the path, so make sure we never use it.
   3095   set dummy $ac_cv_prog_CC
   3096   shift
   3097   if test $# != 0; then
   3098     # We chose a different compiler from the bogus one.
   3099     # However, it has the same basename, so the bogon will be chosen
   3100     # first if we set CC to just the basename; use the full file name.
   3101     shift
   3102     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3103   fi
   3104 fi
   3105 fi
   3106 fi
   3107 CC=$ac_cv_prog_CC
   3108 if test -n "$CC"; then
   3109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3110 $as_echo "$CC" >&6; }
   3111 else
   3112   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3113 $as_echo "no" >&6; }
   3114 fi
   3115 
   3116 
   3117 fi
   3118 if test -z "$CC"; then
   3119   if test -n "$ac_tool_prefix"; then
   3120   for ac_prog in cl.exe
   3121   do
   3122     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3123 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3125 $as_echo_n "checking for $ac_word... " >&6; }
   3126 if ${ac_cv_prog_CC+:} false; then :
   3127   $as_echo_n "(cached) " >&6
   3128 else
   3129   if test -n "$CC"; then
   3130   ac_cv_prog_CC="$CC" # Let the user override the test.
   3131 else
   3132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3133 for as_dir in $PATH
   3134 do
   3135   IFS=$as_save_IFS
   3136   test -z "$as_dir" && as_dir=.
   3137     for ac_exec_ext in '' $ac_executable_extensions; do
   3138   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3139     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3140     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3141     break 2
   3142   fi
   3143 done
   3144   done
   3145 IFS=$as_save_IFS
   3146 
   3147 fi
   3148 fi
   3149 CC=$ac_cv_prog_CC
   3150 if test -n "$CC"; then
   3151   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3152 $as_echo "$CC" >&6; }
   3153 else
   3154   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3155 $as_echo "no" >&6; }
   3156 fi
   3157 
   3158 
   3159     test -n "$CC" && break
   3160   done
   3161 fi
   3162 if test -z "$CC"; then
   3163   ac_ct_CC=$CC
   3164   for ac_prog in cl.exe
   3165 do
   3166   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3167 set dummy $ac_prog; ac_word=$2
   3168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3169 $as_echo_n "checking for $ac_word... " >&6; }
   3170 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3171   $as_echo_n "(cached) " >&6
   3172 else
   3173   if test -n "$ac_ct_CC"; then
   3174   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3175 else
   3176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3177 for as_dir in $PATH
   3178 do
   3179   IFS=$as_save_IFS
   3180   test -z "$as_dir" && as_dir=.
   3181     for ac_exec_ext in '' $ac_executable_extensions; do
   3182   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3183     ac_cv_prog_ac_ct_CC="$ac_prog"
   3184     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3185     break 2
   3186   fi
   3187 done
   3188   done
   3189 IFS=$as_save_IFS
   3190 
   3191 fi
   3192 fi
   3193 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3194 if test -n "$ac_ct_CC"; then
   3195   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3196 $as_echo "$ac_ct_CC" >&6; }
   3197 else
   3198   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3199 $as_echo "no" >&6; }
   3200 fi
   3201 
   3202 
   3203   test -n "$ac_ct_CC" && break
   3204 done
   3205 
   3206   if test "x$ac_ct_CC" = x; then
   3207     CC=""
   3208   else
   3209     case $cross_compiling:$ac_tool_warned in
   3210 yes:)
   3211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3212 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3213 ac_tool_warned=yes ;;
   3214 esac
   3215     CC=$ac_ct_CC
   3216   fi
   3217 fi
   3218 
   3219 fi
   3220 
   3221 
   3222 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3223 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3224 as_fn_error $? "no acceptable C compiler found in \$PATH
   3225 See \`config.log' for more details" "$LINENO" 5; }
   3226 
   3227 # Provide some information about the compiler.
   3228 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3229 set X $ac_compile
   3230 ac_compiler=$2
   3231 for ac_option in --version -v -V -qversion; do
   3232   { { ac_try="$ac_compiler $ac_option >&5"
   3233 case "(($ac_try" in
   3234   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3235   *) ac_try_echo=$ac_try;;
   3236 esac
   3237 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3238 $as_echo "$ac_try_echo"; } >&5
   3239   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3240   ac_status=$?
   3241   if test -s conftest.err; then
   3242     sed '10a\
   3243 ... rest of stderr output deleted ...
   3244          10q' conftest.err >conftest.er1
   3245     cat conftest.er1 >&5
   3246   fi
   3247   rm -f conftest.er1 conftest.err
   3248   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3249   test $ac_status = 0; }
   3250 done
   3251 
   3252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3253 /* end confdefs.h.  */
   3254 
   3255 int
   3256 main ()
   3257 {
   3258 
   3259   ;
   3260   return 0;
   3261 }
   3262 _ACEOF
   3263 ac_clean_files_save=$ac_clean_files
   3264 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3265 # Try to create an executable without -o first, disregard a.out.
   3266 # It will help us diagnose broken compilers, and finding out an intuition
   3267 # of exeext.
   3268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3269 $as_echo_n "checking whether the C compiler works... " >&6; }
   3270 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3271 
   3272 # The possible output files:
   3273 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3274 
   3275 ac_rmfiles=
   3276 for ac_file in $ac_files
   3277 do
   3278   case $ac_file in
   3279     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3280     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3281   esac
   3282 done
   3283 rm -f $ac_rmfiles
   3284 
   3285 if { { ac_try="$ac_link_default"
   3286 case "(($ac_try" in
   3287   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3288   *) ac_try_echo=$ac_try;;
   3289 esac
   3290 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3291 $as_echo "$ac_try_echo"; } >&5
   3292   (eval "$ac_link_default") 2>&5
   3293   ac_status=$?
   3294   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3295   test $ac_status = 0; }; then :
   3296   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3297 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3298 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3299 # so that the user can short-circuit this test for compilers unknown to
   3300 # Autoconf.
   3301 for ac_file in $ac_files ''
   3302 do
   3303   test -f "$ac_file" || continue
   3304   case $ac_file in
   3305     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3306 	;;
   3307     [ab].out )
   3308 	# We found the default executable, but exeext='' is most
   3309 	# certainly right.
   3310 	break;;
   3311     *.* )
   3312 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3313 	then :; else
   3314 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3315 	fi
   3316 	# We set ac_cv_exeext here because the later test for it is not
   3317 	# safe: cross compilers may not add the suffix if given an `-o'
   3318 	# argument, so we may need to know it at that point already.
   3319 	# Even if this section looks crufty: it has the advantage of
   3320 	# actually working.
   3321 	break;;
   3322     * )
   3323 	break;;
   3324   esac
   3325 done
   3326 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3327 
   3328 else
   3329   ac_file=''
   3330 fi
   3331 if test -z "$ac_file"; then :
   3332   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3333 $as_echo "no" >&6; }
   3334 $as_echo "$as_me: failed program was:" >&5
   3335 sed 's/^/| /' conftest.$ac_ext >&5
   3336 
   3337 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3338 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3339 as_fn_error 77 "C compiler cannot create executables
   3340 See \`config.log' for more details" "$LINENO" 5; }
   3341 else
   3342   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3343 $as_echo "yes" >&6; }
   3344 fi
   3345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3346 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3348 $as_echo "$ac_file" >&6; }
   3349 ac_exeext=$ac_cv_exeext
   3350 
   3351 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3352 ac_clean_files=$ac_clean_files_save
   3353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3354 $as_echo_n "checking for suffix of executables... " >&6; }
   3355 if { { ac_try="$ac_link"
   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_link") 2>&5
   3363   ac_status=$?
   3364   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3365   test $ac_status = 0; }; then :
   3366   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3367 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3368 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3369 # `rm'.
   3370 for ac_file in conftest.exe conftest conftest.*; do
   3371   test -f "$ac_file" || continue
   3372   case $ac_file in
   3373     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3374     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3375 	  break;;
   3376     * ) break;;
   3377   esac
   3378 done
   3379 else
   3380   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3381 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3382 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3383 See \`config.log' for more details" "$LINENO" 5; }
   3384 fi
   3385 rm -f conftest conftest$ac_cv_exeext
   3386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3387 $as_echo "$ac_cv_exeext" >&6; }
   3388 
   3389 rm -f conftest.$ac_ext
   3390 EXEEXT=$ac_cv_exeext
   3391 ac_exeext=$EXEEXT
   3392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3393 /* end confdefs.h.  */
   3394 #include <stdio.h>
   3395 int
   3396 main ()
   3397 {
   3398 FILE *f = fopen ("conftest.out", "w");
   3399  return ferror (f) || fclose (f) != 0;
   3400 
   3401   ;
   3402   return 0;
   3403 }
   3404 _ACEOF
   3405 ac_clean_files="$ac_clean_files conftest.out"
   3406 # Check that the compiler produces executables we can run.  If not, either
   3407 # the compiler is broken, or we cross compile.
   3408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3409 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3410 if test "$cross_compiling" != yes; then
   3411   { { ac_try="$ac_link"
   3412 case "(($ac_try" in
   3413   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3414   *) ac_try_echo=$ac_try;;
   3415 esac
   3416 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3417 $as_echo "$ac_try_echo"; } >&5
   3418   (eval "$ac_link") 2>&5
   3419   ac_status=$?
   3420   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3421   test $ac_status = 0; }
   3422   if { ac_try='./conftest$ac_cv_exeext'
   3423   { { case "(($ac_try" in
   3424   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3425   *) ac_try_echo=$ac_try;;
   3426 esac
   3427 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3428 $as_echo "$ac_try_echo"; } >&5
   3429   (eval "$ac_try") 2>&5
   3430   ac_status=$?
   3431   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3432   test $ac_status = 0; }; }; then
   3433     cross_compiling=no
   3434   else
   3435     if test "$cross_compiling" = maybe; then
   3436 	cross_compiling=yes
   3437     else
   3438 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3439 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3440 as_fn_error $? "cannot run C compiled programs.
   3441 If you meant to cross compile, use \`--host'.
   3442 See \`config.log' for more details" "$LINENO" 5; }
   3443     fi
   3444   fi
   3445 fi
   3446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3447 $as_echo "$cross_compiling" >&6; }
   3448 
   3449 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3450 ac_clean_files=$ac_clean_files_save
   3451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3452 $as_echo_n "checking for suffix of object files... " >&6; }
   3453 if ${ac_cv_objext+:} false; then :
   3454   $as_echo_n "(cached) " >&6
   3455 else
   3456   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3457 /* end confdefs.h.  */
   3458 
   3459 int
   3460 main ()
   3461 {
   3462 
   3463   ;
   3464   return 0;
   3465 }
   3466 _ACEOF
   3467 rm -f conftest.o conftest.obj
   3468 if { { ac_try="$ac_compile"
   3469 case "(($ac_try" in
   3470   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3471   *) ac_try_echo=$ac_try;;
   3472 esac
   3473 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3474 $as_echo "$ac_try_echo"; } >&5
   3475   (eval "$ac_compile") 2>&5
   3476   ac_status=$?
   3477   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3478   test $ac_status = 0; }; then :
   3479   for ac_file in conftest.o conftest.obj conftest.*; do
   3480   test -f "$ac_file" || continue;
   3481   case $ac_file in
   3482     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3483     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3484        break;;
   3485   esac
   3486 done
   3487 else
   3488   $as_echo "$as_me: failed program was:" >&5
   3489 sed 's/^/| /' conftest.$ac_ext >&5
   3490 
   3491 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3492 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3493 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3494 See \`config.log' for more details" "$LINENO" 5; }
   3495 fi
   3496 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3497 fi
   3498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3499 $as_echo "$ac_cv_objext" >&6; }
   3500 OBJEXT=$ac_cv_objext
   3501 ac_objext=$OBJEXT
   3502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3503 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3504 if ${ac_cv_c_compiler_gnu+:} false; then :
   3505   $as_echo_n "(cached) " >&6
   3506 else
   3507   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3508 /* end confdefs.h.  */
   3509 
   3510 int
   3511 main ()
   3512 {
   3513 #ifndef __GNUC__
   3514        choke me
   3515 #endif
   3516 
   3517   ;
   3518   return 0;
   3519 }
   3520 _ACEOF
   3521 if ac_fn_c_try_compile "$LINENO"; then :
   3522   ac_compiler_gnu=yes
   3523 else
   3524   ac_compiler_gnu=no
   3525 fi
   3526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3527 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3528 
   3529 fi
   3530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3531 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3532 if test $ac_compiler_gnu = yes; then
   3533   GCC=yes
   3534 else
   3535   GCC=
   3536 fi
   3537 ac_test_CFLAGS=${CFLAGS+set}
   3538 ac_save_CFLAGS=$CFLAGS
   3539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3540 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3541 if ${ac_cv_prog_cc_g+:} false; then :
   3542   $as_echo_n "(cached) " >&6
   3543 else
   3544   ac_save_c_werror_flag=$ac_c_werror_flag
   3545    ac_c_werror_flag=yes
   3546    ac_cv_prog_cc_g=no
   3547    CFLAGS="-g"
   3548    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3549 /* end confdefs.h.  */
   3550 
   3551 int
   3552 main ()
   3553 {
   3554 
   3555   ;
   3556   return 0;
   3557 }
   3558 _ACEOF
   3559 if ac_fn_c_try_compile "$LINENO"; then :
   3560   ac_cv_prog_cc_g=yes
   3561 else
   3562   CFLAGS=""
   3563       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3564 /* end confdefs.h.  */
   3565 
   3566 int
   3567 main ()
   3568 {
   3569 
   3570   ;
   3571   return 0;
   3572 }
   3573 _ACEOF
   3574 if ac_fn_c_try_compile "$LINENO"; then :
   3575 
   3576 else
   3577   ac_c_werror_flag=$ac_save_c_werror_flag
   3578 	 CFLAGS="-g"
   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 if ac_fn_c_try_compile "$LINENO"; then :
   3591   ac_cv_prog_cc_g=yes
   3592 fi
   3593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3594 fi
   3595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3596 fi
   3597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3598    ac_c_werror_flag=$ac_save_c_werror_flag
   3599 fi
   3600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3601 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3602 if test "$ac_test_CFLAGS" = set; then
   3603   CFLAGS=$ac_save_CFLAGS
   3604 elif test $ac_cv_prog_cc_g = yes; then
   3605   if test "$GCC" = yes; then
   3606     CFLAGS="-g -O2"
   3607   else
   3608     CFLAGS="-g"
   3609   fi
   3610 else
   3611   if test "$GCC" = yes; then
   3612     CFLAGS="-O2"
   3613   else
   3614     CFLAGS=
   3615   fi
   3616 fi
   3617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3618 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3619 if ${ac_cv_prog_cc_c89+:} false; then :
   3620   $as_echo_n "(cached) " >&6
   3621 else
   3622   ac_cv_prog_cc_c89=no
   3623 ac_save_CC=$CC
   3624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3625 /* end confdefs.h.  */
   3626 #include <stdarg.h>
   3627 #include <stdio.h>
   3628 #include <sys/types.h>
   3629 #include <sys/stat.h>
   3630 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3631 struct buf { int x; };
   3632 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3633 static char *e (p, i)
   3634      char **p;
   3635      int i;
   3636 {
   3637   return p[i];
   3638 }
   3639 static char *f (char * (*g) (char **, int), char **p, ...)
   3640 {
   3641   char *s;
   3642   va_list v;
   3643   va_start (v,p);
   3644   s = g (p, va_arg (v,int));
   3645   va_end (v);
   3646   return s;
   3647 }
   3648 
   3649 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3650    function prototypes and stuff, but not '\xHH' hex character constants.
   3651    These don't provoke an error unfortunately, instead are silently treated
   3652    as 'x'.  The following induces an error, until -std is added to get
   3653    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3654    array size at least.  It's necessary to write '\x00'==0 to get something
   3655    that's true only with -std.  */
   3656 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3657 
   3658 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3659    inside strings and character constants.  */
   3660 #define FOO(x) 'x'
   3661 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3662 
   3663 int test (int i, double x);
   3664 struct s1 {int (*f) (int a);};
   3665 struct s2 {int (*f) (double a);};
   3666 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3667 int argc;
   3668 char **argv;
   3669 int
   3670 main ()
   3671 {
   3672 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3673   ;
   3674   return 0;
   3675 }
   3676 _ACEOF
   3677 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3678 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3679 do
   3680   CC="$ac_save_CC $ac_arg"
   3681   if ac_fn_c_try_compile "$LINENO"; then :
   3682   ac_cv_prog_cc_c89=$ac_arg
   3683 fi
   3684 rm -f core conftest.err conftest.$ac_objext
   3685   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3686 done
   3687 rm -f conftest.$ac_ext
   3688 CC=$ac_save_CC
   3689 
   3690 fi
   3691 # AC_CACHE_VAL
   3692 case "x$ac_cv_prog_cc_c89" in
   3693   x)
   3694     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3695 $as_echo "none needed" >&6; } ;;
   3696   xno)
   3697     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3698 $as_echo "unsupported" >&6; } ;;
   3699   *)
   3700     CC="$CC $ac_cv_prog_cc_c89"
   3701     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3702 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3703 esac
   3704 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3705 
   3706 fi
   3707 
   3708 ac_ext=c
   3709 ac_cpp='$CPP $CPPFLAGS'
   3710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3713 
   3714 depcc="$CC"   am_compiler_list=
   3715 
   3716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3717 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3718 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3719   $as_echo_n "(cached) " >&6
   3720 else
   3721   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3722   # We make a subdir and do the tests there.  Otherwise we can end up
   3723   # making bogus files that we don't know about and never remove.  For
   3724   # instance it was reported that on HP-UX the gcc test will end up
   3725   # making a dummy file named `D' -- because `-MD' means `put the output
   3726   # in D'.
   3727   rm -rf conftest.dir
   3728   mkdir conftest.dir
   3729   # Copy depcomp to subdir because otherwise we won't find it if we're
   3730   # using a relative directory.
   3731   cp "$am_depcomp" conftest.dir
   3732   cd conftest.dir
   3733   # We will build objects and dependencies in a subdirectory because
   3734   # it helps to detect inapplicable dependency modes.  For instance
   3735   # both Tru64's cc and ICC support -MD to output dependencies as a
   3736   # side effect of compilation, but ICC will put the dependencies in
   3737   # the current directory while Tru64 will put them in the object
   3738   # directory.
   3739   mkdir sub
   3740 
   3741   am_cv_CC_dependencies_compiler_type=none
   3742   if test "$am_compiler_list" = ""; then
   3743      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3744   fi
   3745   am__universal=false
   3746   case " $depcc " in #(
   3747      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3748      esac
   3749 
   3750   for depmode in $am_compiler_list; do
   3751     # Setup a source with many dependencies, because some compilers
   3752     # like to wrap large dependency lists on column 80 (with \), and
   3753     # we should not choose a depcomp mode which is confused by this.
   3754     #
   3755     # We need to recreate these files for each test, as the compiler may
   3756     # overwrite some of them when testing with obscure command lines.
   3757     # This happens at least with the AIX C compiler.
   3758     : > sub/conftest.c
   3759     for i in 1 2 3 4 5 6; do
   3760       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3761       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3762       # Solaris 8's {/usr,}/bin/sh.
   3763       touch sub/conftst$i.h
   3764     done
   3765     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3766 
   3767     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3768     # mode.  It turns out that the SunPro C++ compiler does not properly
   3769     # handle `-M -o', and we need to detect this.  Also, some Intel
   3770     # versions had trouble with output in subdirs
   3771     am__obj=sub/conftest.${OBJEXT-o}
   3772     am__minus_obj="-o $am__obj"
   3773     case $depmode in
   3774     gcc)
   3775       # This depmode causes a compiler race in universal mode.
   3776       test "$am__universal" = false || continue
   3777       ;;
   3778     nosideeffect)
   3779       # after this tag, mechanisms are not by side-effect, so they'll
   3780       # only be used when explicitly requested
   3781       if test "x$enable_dependency_tracking" = xyes; then
   3782 	continue
   3783       else
   3784 	break
   3785       fi
   3786       ;;
   3787     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3788       # This compiler won't grok `-c -o', but also, the minuso test has
   3789       # not run yet.  These depmodes are late enough in the game, and
   3790       # so weak that their functioning should not be impacted.
   3791       am__obj=conftest.${OBJEXT-o}
   3792       am__minus_obj=
   3793       ;;
   3794     none) break ;;
   3795     esac
   3796     if depmode=$depmode \
   3797        source=sub/conftest.c object=$am__obj \
   3798        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3799        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3800          >/dev/null 2>conftest.err &&
   3801        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3802        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3803        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3804        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3805       # icc doesn't choke on unknown options, it will just issue warnings
   3806       # or remarks (even with -Werror).  So we grep stderr for any message
   3807       # that says an option was ignored or not supported.
   3808       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3809       #   icc: Command line warning: ignoring option '-M'; no argument required
   3810       # The diagnosis changed in icc 8.0:
   3811       #   icc: Command line remark: option '-MP' not supported
   3812       if (grep 'ignoring option' conftest.err ||
   3813           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3814         am_cv_CC_dependencies_compiler_type=$depmode
   3815         break
   3816       fi
   3817     fi
   3818   done
   3819 
   3820   cd ..
   3821   rm -rf conftest.dir
   3822 else
   3823   am_cv_CC_dependencies_compiler_type=none
   3824 fi
   3825 
   3826 fi
   3827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3828 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3829 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3830 
   3831  if
   3832   test "x$enable_dependency_tracking" != xno \
   3833   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3834   am__fastdepCC_TRUE=
   3835   am__fastdepCC_FALSE='#'
   3836 else
   3837   am__fastdepCC_TRUE='#'
   3838   am__fastdepCC_FALSE=
   3839 fi
   3840 
   3841 
   3842    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   3843 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3844 if ${ac_cv_prog_cc_c99+:} false; then :
   3845   $as_echo_n "(cached) " >&6
   3846 else
   3847   ac_cv_prog_cc_c99=no
   3848 ac_save_CC=$CC
   3849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3850 /* end confdefs.h.  */
   3851 #include <stdarg.h>
   3852 #include <stdbool.h>
   3853 #include <stdlib.h>
   3854 #include <wchar.h>
   3855 #include <stdio.h>
   3856 
   3857 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3858 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3859 #define showlist(...) puts (#__VA_ARGS__)
   3860 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3861 static void
   3862 test_varargs_macros (void)
   3863 {
   3864   int x = 1234;
   3865   int y = 5678;
   3866   debug ("Flag");
   3867   debug ("X = %d\n", x);
   3868   showlist (The first, second, and third items.);
   3869   report (x>y, "x is %d but y is %d", x, y);
   3870 }
   3871 
   3872 // Check long long types.
   3873 #define BIG64 18446744073709551615ull
   3874 #define BIG32 4294967295ul
   3875 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3876 #if !BIG_OK
   3877   your preprocessor is broken;
   3878 #endif
   3879 #if BIG_OK
   3880 #else
   3881   your preprocessor is broken;
   3882 #endif
   3883 static long long int bignum = -9223372036854775807LL;
   3884 static unsigned long long int ubignum = BIG64;
   3885 
   3886 struct incomplete_array
   3887 {
   3888   int datasize;
   3889   double data[];
   3890 };
   3891 
   3892 struct named_init {
   3893   int number;
   3894   const wchar_t *name;
   3895   double average;
   3896 };
   3897 
   3898 typedef const char *ccp;
   3899 
   3900 static inline int
   3901 test_restrict (ccp restrict text)
   3902 {
   3903   // See if C++-style comments work.
   3904   // Iterate through items via the restricted pointer.
   3905   // Also check for declarations in for loops.
   3906   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3907     continue;
   3908   return 0;
   3909 }
   3910 
   3911 // Check varargs and va_copy.
   3912 static void
   3913 test_varargs (const char *format, ...)
   3914 {
   3915   va_list args;
   3916   va_start (args, format);
   3917   va_list args_copy;
   3918   va_copy (args_copy, args);
   3919 
   3920   const char *str;
   3921   int number;
   3922   float fnumber;
   3923 
   3924   while (*format)
   3925     {
   3926       switch (*format++)
   3927 	{
   3928 	case 's': // string
   3929 	  str = va_arg (args_copy, const char *);
   3930 	  break;
   3931 	case 'd': // int
   3932 	  number = va_arg (args_copy, int);
   3933 	  break;
   3934 	case 'f': // float
   3935 	  fnumber = va_arg (args_copy, double);
   3936 	  break;
   3937 	default:
   3938 	  break;
   3939 	}
   3940     }
   3941   va_end (args_copy);
   3942   va_end (args);
   3943 }
   3944 
   3945 int
   3946 main ()
   3947 {
   3948 
   3949   // Check bool.
   3950   _Bool success = false;
   3951 
   3952   // Check restrict.
   3953   if (test_restrict ("String literal") == 0)
   3954     success = true;
   3955   char *restrict newvar = "Another string";
   3956 
   3957   // Check varargs.
   3958   test_varargs ("s, d' f .", "string", 65, 34.234);
   3959   test_varargs_macros ();
   3960 
   3961   // Check flexible array members.
   3962   struct incomplete_array *ia =
   3963     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   3964   ia->datasize = 10;
   3965   for (int i = 0; i < ia->datasize; ++i)
   3966     ia->data[i] = i * 1.234;
   3967 
   3968   // Check named initializers.
   3969   struct named_init ni = {
   3970     .number = 34,
   3971     .name = L"Test wide string",
   3972     .average = 543.34343,
   3973   };
   3974 
   3975   ni.number = 58;
   3976 
   3977   int dynamic_array[ni.number];
   3978   dynamic_array[ni.number - 1] = 543;
   3979 
   3980   // work around unused variable warnings
   3981   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   3982 	  || dynamic_array[ni.number - 1] != 543);
   3983 
   3984   ;
   3985   return 0;
   3986 }
   3987 _ACEOF
   3988 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   3989 do
   3990   CC="$ac_save_CC $ac_arg"
   3991   if ac_fn_c_try_compile "$LINENO"; then :
   3992   ac_cv_prog_cc_c99=$ac_arg
   3993 fi
   3994 rm -f core conftest.err conftest.$ac_objext
   3995   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3996 done
   3997 rm -f conftest.$ac_ext
   3998 CC=$ac_save_CC
   3999 
   4000 fi
   4001 # AC_CACHE_VAL
   4002 case "x$ac_cv_prog_cc_c99" in
   4003   x)
   4004     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4005 $as_echo "none needed" >&6; } ;;
   4006   xno)
   4007     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4008 $as_echo "unsupported" >&6; } ;;
   4009   *)
   4010     CC="$CC $ac_cv_prog_cc_c99"
   4011     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4012 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   4013 esac
   4014 if test "x$ac_cv_prog_cc_c99" != xno; then :
   4015 
   4016 fi
   4017 
   4018 
   4019 
   4020 ac_ext=c
   4021 ac_cpp='$CPP $CPPFLAGS'
   4022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4026 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4027 # On Suns, sometimes $CPP names a directory.
   4028 if test -n "$CPP" && test -d "$CPP"; then
   4029   CPP=
   4030 fi
   4031 if test -z "$CPP"; then
   4032   if ${ac_cv_prog_CPP+:} false; then :
   4033   $as_echo_n "(cached) " >&6
   4034 else
   4035       # Double quotes because CPP needs to be expanded
   4036     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4037     do
   4038       ac_preproc_ok=false
   4039 for ac_c_preproc_warn_flag in '' yes
   4040 do
   4041   # Use a header file that comes with gcc, so configuring glibc
   4042   # with a fresh cross-compiler works.
   4043   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4044   # <limits.h> exists even on freestanding compilers.
   4045   # On the NeXT, cc -E runs the code through the compiler's parser,
   4046   # not just through cpp. "Syntax error" is here to catch this case.
   4047   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4048 /* end confdefs.h.  */
   4049 #ifdef __STDC__
   4050 # include <limits.h>
   4051 #else
   4052 # include <assert.h>
   4053 #endif
   4054 		     Syntax error
   4055 _ACEOF
   4056 if ac_fn_c_try_cpp "$LINENO"; then :
   4057 
   4058 else
   4059   # Broken: fails on valid input.
   4060 continue
   4061 fi
   4062 rm -f conftest.err conftest.i conftest.$ac_ext
   4063 
   4064   # OK, works on sane cases.  Now check whether nonexistent headers
   4065   # can be detected and how.
   4066   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4067 /* end confdefs.h.  */
   4068 #include <ac_nonexistent.h>
   4069 _ACEOF
   4070 if ac_fn_c_try_cpp "$LINENO"; then :
   4071   # Broken: success on invalid input.
   4072 continue
   4073 else
   4074   # Passes both tests.
   4075 ac_preproc_ok=:
   4076 break
   4077 fi
   4078 rm -f conftest.err conftest.i conftest.$ac_ext
   4079 
   4080 done
   4081 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4082 rm -f conftest.i conftest.err conftest.$ac_ext
   4083 if $ac_preproc_ok; then :
   4084   break
   4085 fi
   4086 
   4087     done
   4088     ac_cv_prog_CPP=$CPP
   4089 
   4090 fi
   4091   CPP=$ac_cv_prog_CPP
   4092 else
   4093   ac_cv_prog_CPP=$CPP
   4094 fi
   4095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4096 $as_echo "$CPP" >&6; }
   4097 ac_preproc_ok=false
   4098 for ac_c_preproc_warn_flag in '' yes
   4099 do
   4100   # Use a header file that comes with gcc, so configuring glibc
   4101   # with a fresh cross-compiler works.
   4102   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4103   # <limits.h> exists even on freestanding compilers.
   4104   # On the NeXT, cc -E runs the code through the compiler's parser,
   4105   # not just through cpp. "Syntax error" is here to catch this case.
   4106   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4107 /* end confdefs.h.  */
   4108 #ifdef __STDC__
   4109 # include <limits.h>
   4110 #else
   4111 # include <assert.h>
   4112 #endif
   4113 		     Syntax error
   4114 _ACEOF
   4115 if ac_fn_c_try_cpp "$LINENO"; then :
   4116 
   4117 else
   4118   # Broken: fails on valid input.
   4119 continue
   4120 fi
   4121 rm -f conftest.err conftest.i conftest.$ac_ext
   4122 
   4123   # OK, works on sane cases.  Now check whether nonexistent headers
   4124   # can be detected and how.
   4125   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4126 /* end confdefs.h.  */
   4127 #include <ac_nonexistent.h>
   4128 _ACEOF
   4129 if ac_fn_c_try_cpp "$LINENO"; then :
   4130   # Broken: success on invalid input.
   4131 continue
   4132 else
   4133   # Passes both tests.
   4134 ac_preproc_ok=:
   4135 break
   4136 fi
   4137 rm -f conftest.err conftest.i conftest.$ac_ext
   4138 
   4139 done
   4140 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4141 rm -f conftest.i conftest.err conftest.$ac_ext
   4142 if $ac_preproc_ok; then :
   4143 
   4144 else
   4145   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4146 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4147 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4148 See \`config.log' for more details" "$LINENO" 5; }
   4149 fi
   4150 
   4151 ac_ext=c
   4152 ac_cpp='$CPP $CPPFLAGS'
   4153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4156 
   4157 
   4158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4159 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4160 if ${ac_cv_path_GREP+:} false; then :
   4161   $as_echo_n "(cached) " >&6
   4162 else
   4163   if test -z "$GREP"; then
   4164   ac_path_GREP_found=false
   4165   # Loop through the user's path and test for each of PROGNAME-LIST
   4166   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4167 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4168 do
   4169   IFS=$as_save_IFS
   4170   test -z "$as_dir" && as_dir=.
   4171     for ac_prog in grep ggrep; do
   4172     for ac_exec_ext in '' $ac_executable_extensions; do
   4173       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4174       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4175 # Check for GNU ac_path_GREP and select it if it is found.
   4176   # Check for GNU $ac_path_GREP
   4177 case `"$ac_path_GREP" --version 2>&1` in
   4178 *GNU*)
   4179   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4180 *)
   4181   ac_count=0
   4182   $as_echo_n 0123456789 >"conftest.in"
   4183   while :
   4184   do
   4185     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4186     mv "conftest.tmp" "conftest.in"
   4187     cp "conftest.in" "conftest.nl"
   4188     $as_echo 'GREP' >> "conftest.nl"
   4189     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4190     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4191     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4192     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4193       # Best one so far, save it but keep looking for a better one
   4194       ac_cv_path_GREP="$ac_path_GREP"
   4195       ac_path_GREP_max=$ac_count
   4196     fi
   4197     # 10*(2^10) chars as input seems more than enough
   4198     test $ac_count -gt 10 && break
   4199   done
   4200   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4201 esac
   4202 
   4203       $ac_path_GREP_found && break 3
   4204     done
   4205   done
   4206   done
   4207 IFS=$as_save_IFS
   4208   if test -z "$ac_cv_path_GREP"; then
   4209     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4210   fi
   4211 else
   4212   ac_cv_path_GREP=$GREP
   4213 fi
   4214 
   4215 fi
   4216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4217 $as_echo "$ac_cv_path_GREP" >&6; }
   4218  GREP="$ac_cv_path_GREP"
   4219 
   4220 
   4221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4222 $as_echo_n "checking for egrep... " >&6; }
   4223 if ${ac_cv_path_EGREP+:} false; then :
   4224   $as_echo_n "(cached) " >&6
   4225 else
   4226   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4227    then ac_cv_path_EGREP="$GREP -E"
   4228    else
   4229      if test -z "$EGREP"; then
   4230   ac_path_EGREP_found=false
   4231   # Loop through the user's path and test for each of PROGNAME-LIST
   4232   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4233 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4234 do
   4235   IFS=$as_save_IFS
   4236   test -z "$as_dir" && as_dir=.
   4237     for ac_prog in egrep; do
   4238     for ac_exec_ext in '' $ac_executable_extensions; do
   4239       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4240       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4241 # Check for GNU ac_path_EGREP and select it if it is found.
   4242   # Check for GNU $ac_path_EGREP
   4243 case `"$ac_path_EGREP" --version 2>&1` in
   4244 *GNU*)
   4245   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4246 *)
   4247   ac_count=0
   4248   $as_echo_n 0123456789 >"conftest.in"
   4249   while :
   4250   do
   4251     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4252     mv "conftest.tmp" "conftest.in"
   4253     cp "conftest.in" "conftest.nl"
   4254     $as_echo 'EGREP' >> "conftest.nl"
   4255     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4256     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4257     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4258     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4259       # Best one so far, save it but keep looking for a better one
   4260       ac_cv_path_EGREP="$ac_path_EGREP"
   4261       ac_path_EGREP_max=$ac_count
   4262     fi
   4263     # 10*(2^10) chars as input seems more than enough
   4264     test $ac_count -gt 10 && break
   4265   done
   4266   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4267 esac
   4268 
   4269       $ac_path_EGREP_found && break 3
   4270     done
   4271   done
   4272   done
   4273 IFS=$as_save_IFS
   4274   if test -z "$ac_cv_path_EGREP"; then
   4275     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4276   fi
   4277 else
   4278   ac_cv_path_EGREP=$EGREP
   4279 fi
   4280 
   4281    fi
   4282 fi
   4283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4284 $as_echo "$ac_cv_path_EGREP" >&6; }
   4285  EGREP="$ac_cv_path_EGREP"
   4286 
   4287 
   4288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4289 $as_echo_n "checking for ANSI C header files... " >&6; }
   4290 if ${ac_cv_header_stdc+:} false; then :
   4291   $as_echo_n "(cached) " >&6
   4292 else
   4293   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4294 /* end confdefs.h.  */
   4295 #include <stdlib.h>
   4296 #include <stdarg.h>
   4297 #include <string.h>
   4298 #include <float.h>
   4299 
   4300 int
   4301 main ()
   4302 {
   4303 
   4304   ;
   4305   return 0;
   4306 }
   4307 _ACEOF
   4308 if ac_fn_c_try_compile "$LINENO"; then :
   4309   ac_cv_header_stdc=yes
   4310 else
   4311   ac_cv_header_stdc=no
   4312 fi
   4313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4314 
   4315 if test $ac_cv_header_stdc = yes; then
   4316   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4317   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4318 /* end confdefs.h.  */
   4319 #include <string.h>
   4320 
   4321 _ACEOF
   4322 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4323   $EGREP "memchr" >/dev/null 2>&1; then :
   4324 
   4325 else
   4326   ac_cv_header_stdc=no
   4327 fi
   4328 rm -f conftest*
   4329 
   4330 fi
   4331 
   4332 if test $ac_cv_header_stdc = yes; then
   4333   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4334   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4335 /* end confdefs.h.  */
   4336 #include <stdlib.h>
   4337 
   4338 _ACEOF
   4339 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4340   $EGREP "free" >/dev/null 2>&1; then :
   4341 
   4342 else
   4343   ac_cv_header_stdc=no
   4344 fi
   4345 rm -f conftest*
   4346 
   4347 fi
   4348 
   4349 if test $ac_cv_header_stdc = yes; then
   4350   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4351   if test "$cross_compiling" = yes; then :
   4352   :
   4353 else
   4354   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4355 /* end confdefs.h.  */
   4356 #include <ctype.h>
   4357 #include <stdlib.h>
   4358 #if ((' ' & 0x0FF) == 0x020)
   4359 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4360 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4361 #else
   4362 # define ISLOWER(c) \
   4363 		   (('a' <= (c) && (c) <= 'i') \
   4364 		     || ('j' <= (c) && (c) <= 'r') \
   4365 		     || ('s' <= (c) && (c) <= 'z'))
   4366 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4367 #endif
   4368 
   4369 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4370 int
   4371 main ()
   4372 {
   4373   int i;
   4374   for (i = 0; i < 256; i++)
   4375     if (XOR (islower (i), ISLOWER (i))
   4376 	|| toupper (i) != TOUPPER (i))
   4377       return 2;
   4378   return 0;
   4379 }
   4380 _ACEOF
   4381 if ac_fn_c_try_run "$LINENO"; then :
   4382 
   4383 else
   4384   ac_cv_header_stdc=no
   4385 fi
   4386 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4387   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4388 fi
   4389 
   4390 fi
   4391 fi
   4392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4393 $as_echo "$ac_cv_header_stdc" >&6; }
   4394 if test $ac_cv_header_stdc = yes; then
   4395 
   4396 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4397 
   4398 fi
   4399 
   4400 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4401 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4402 		  inttypes.h stdint.h unistd.h
   4403 do :
   4404   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4405 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4406 "
   4407 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4408   cat >>confdefs.h <<_ACEOF
   4409 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4410 _ACEOF
   4411 
   4412 fi
   4413 
   4414 done
   4415 
   4416 
   4417 
   4418 
   4419 
   4420 
   4421 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4422 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4423   CLANGCC="yes"
   4424 else
   4425   CLANGCC="no"
   4426 fi
   4427 
   4428 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4429 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4430   INTELCC="yes"
   4431 else
   4432   INTELCC="no"
   4433 fi
   4434 
   4435 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4436 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4437   SUNCC="yes"
   4438 else
   4439   SUNCC="no"
   4440 fi
   4441 
   4442 
   4443 
   4444 
   4445 
   4446 
   4447 
   4448 
   4449 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4450 	if test -n "$ac_tool_prefix"; then
   4451   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4452 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4454 $as_echo_n "checking for $ac_word... " >&6; }
   4455 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4456   $as_echo_n "(cached) " >&6
   4457 else
   4458   case $PKG_CONFIG in
   4459   [\\/]* | ?:[\\/]*)
   4460   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4461   ;;
   4462   *)
   4463   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4464 for as_dir in $PATH
   4465 do
   4466   IFS=$as_save_IFS
   4467   test -z "$as_dir" && as_dir=.
   4468     for ac_exec_ext in '' $ac_executable_extensions; do
   4469   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4470     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4471     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4472     break 2
   4473   fi
   4474 done
   4475   done
   4476 IFS=$as_save_IFS
   4477 
   4478   ;;
   4479 esac
   4480 fi
   4481 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4482 if test -n "$PKG_CONFIG"; then
   4483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4484 $as_echo "$PKG_CONFIG" >&6; }
   4485 else
   4486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4487 $as_echo "no" >&6; }
   4488 fi
   4489 
   4490 
   4491 fi
   4492 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4493   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4494   # Extract the first word of "pkg-config", so it can be a program name with args.
   4495 set dummy pkg-config; ac_word=$2
   4496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4497 $as_echo_n "checking for $ac_word... " >&6; }
   4498 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4499   $as_echo_n "(cached) " >&6
   4500 else
   4501   case $ac_pt_PKG_CONFIG in
   4502   [\\/]* | ?:[\\/]*)
   4503   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4504   ;;
   4505   *)
   4506   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4507 for as_dir in $PATH
   4508 do
   4509   IFS=$as_save_IFS
   4510   test -z "$as_dir" && as_dir=.
   4511     for ac_exec_ext in '' $ac_executable_extensions; do
   4512   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4513     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4514     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4515     break 2
   4516   fi
   4517 done
   4518   done
   4519 IFS=$as_save_IFS
   4520 
   4521   ;;
   4522 esac
   4523 fi
   4524 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4525 if test -n "$ac_pt_PKG_CONFIG"; then
   4526   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4527 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4528 else
   4529   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4530 $as_echo "no" >&6; }
   4531 fi
   4532 
   4533   if test "x$ac_pt_PKG_CONFIG" = x; then
   4534     PKG_CONFIG=""
   4535   else
   4536     case $cross_compiling:$ac_tool_warned in
   4537 yes:)
   4538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4539 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4540 ac_tool_warned=yes ;;
   4541 esac
   4542     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4543   fi
   4544 else
   4545   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4546 fi
   4547 
   4548 fi
   4549 if test -n "$PKG_CONFIG"; then
   4550 	_pkg_min_version=0.9.0
   4551 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4552 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4553 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4554 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4555 $as_echo "yes" >&6; }
   4556 	else
   4557 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4558 $as_echo "no" >&6; }
   4559 		PKG_CONFIG=""
   4560 	fi
   4561 fi
   4562 # Make sure we can run config.sub.
   4563 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4564   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4565 
   4566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4567 $as_echo_n "checking build system type... " >&6; }
   4568 if ${ac_cv_build+:} false; then :
   4569   $as_echo_n "(cached) " >&6
   4570 else
   4571   ac_build_alias=$build_alias
   4572 test "x$ac_build_alias" = x &&
   4573   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4574 test "x$ac_build_alias" = x &&
   4575   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4576 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4577   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4578 
   4579 fi
   4580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4581 $as_echo "$ac_cv_build" >&6; }
   4582 case $ac_cv_build in
   4583 *-*-*) ;;
   4584 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4585 esac
   4586 build=$ac_cv_build
   4587 ac_save_IFS=$IFS; IFS='-'
   4588 set x $ac_cv_build
   4589 shift
   4590 build_cpu=$1
   4591 build_vendor=$2
   4592 shift; shift
   4593 # Remember, the first character of IFS is used to create $*,
   4594 # except with old shells:
   4595 build_os=$*
   4596 IFS=$ac_save_IFS
   4597 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4598 
   4599 
   4600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4601 $as_echo_n "checking host system type... " >&6; }
   4602 if ${ac_cv_host+:} false; then :
   4603   $as_echo_n "(cached) " >&6
   4604 else
   4605   if test "x$host_alias" = x; then
   4606   ac_cv_host=$ac_cv_build
   4607 else
   4608   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4609     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4610 fi
   4611 
   4612 fi
   4613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4614 $as_echo "$ac_cv_host" >&6; }
   4615 case $ac_cv_host in
   4616 *-*-*) ;;
   4617 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4618 esac
   4619 host=$ac_cv_host
   4620 ac_save_IFS=$IFS; IFS='-'
   4621 set x $ac_cv_host
   4622 shift
   4623 host_cpu=$1
   4624 host_vendor=$2
   4625 shift; shift
   4626 # Remember, the first character of IFS is used to create $*,
   4627 # except with old shells:
   4628 host_os=$*
   4629 IFS=$ac_save_IFS
   4630 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4631 
   4632 
   4633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4634 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4635 if ${ac_cv_path_SED+:} false; then :
   4636   $as_echo_n "(cached) " >&6
   4637 else
   4638             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4639      for ac_i in 1 2 3 4 5 6 7; do
   4640        ac_script="$ac_script$as_nl$ac_script"
   4641      done
   4642      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4643      { ac_script=; unset ac_script;}
   4644      if test -z "$SED"; then
   4645   ac_path_SED_found=false
   4646   # Loop through the user's path and test for each of PROGNAME-LIST
   4647   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4648 for as_dir in $PATH
   4649 do
   4650   IFS=$as_save_IFS
   4651   test -z "$as_dir" && as_dir=.
   4652     for ac_prog in sed gsed; do
   4653     for ac_exec_ext in '' $ac_executable_extensions; do
   4654       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4655       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   4656 # Check for GNU ac_path_SED and select it if it is found.
   4657   # Check for GNU $ac_path_SED
   4658 case `"$ac_path_SED" --version 2>&1` in
   4659 *GNU*)
   4660   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4661 *)
   4662   ac_count=0
   4663   $as_echo_n 0123456789 >"conftest.in"
   4664   while :
   4665   do
   4666     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4667     mv "conftest.tmp" "conftest.in"
   4668     cp "conftest.in" "conftest.nl"
   4669     $as_echo '' >> "conftest.nl"
   4670     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4671     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4672     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4673     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4674       # Best one so far, save it but keep looking for a better one
   4675       ac_cv_path_SED="$ac_path_SED"
   4676       ac_path_SED_max=$ac_count
   4677     fi
   4678     # 10*(2^10) chars as input seems more than enough
   4679     test $ac_count -gt 10 && break
   4680   done
   4681   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4682 esac
   4683 
   4684       $ac_path_SED_found && break 3
   4685     done
   4686   done
   4687   done
   4688 IFS=$as_save_IFS
   4689   if test -z "$ac_cv_path_SED"; then
   4690     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4691   fi
   4692 else
   4693   ac_cv_path_SED=$SED
   4694 fi
   4695 
   4696 fi
   4697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4698 $as_echo "$ac_cv_path_SED" >&6; }
   4699  SED="$ac_cv_path_SED"
   4700   rm -f conftest.sed
   4701 
   4702 
   4703 
   4704 
   4705 
   4706 
   4707 # Check whether --enable-selective-werror was given.
   4708 if test "${enable_selective_werror+set}" = set; then :
   4709   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4710 else
   4711   SELECTIVE_WERROR=yes
   4712 fi
   4713 
   4714 
   4715 
   4716 
   4717 
   4718 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4719 if test "x$SUNCC" = "xyes"; then
   4720     BASE_CFLAGS="-v"
   4721 else
   4722     BASE_CFLAGS=""
   4723 fi
   4724 
   4725 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4726 
   4727 
   4728 
   4729 
   4730 
   4731 
   4732 
   4733 
   4734 
   4735 
   4736 
   4737 
   4738 
   4739 xorg_testset_save_CFLAGS="$CFLAGS"
   4740 
   4741 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4742 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4743 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4744 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4745 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4746   $as_echo_n "(cached) " >&6
   4747 else
   4748   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4749 /* end confdefs.h.  */
   4750 int i;
   4751 _ACEOF
   4752 if ac_fn_c_try_compile "$LINENO"; then :
   4753   xorg_cv_cc_flag_unknown_warning_option=yes
   4754 else
   4755   xorg_cv_cc_flag_unknown_warning_option=no
   4756 fi
   4757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4758 fi
   4759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4760 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4761 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4762 	CFLAGS="$xorg_testset_save_CFLAGS"
   4763 fi
   4764 
   4765 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4766 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4767 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4768 	fi
   4769 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4770 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4771 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4772 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4773   $as_echo_n "(cached) " >&6
   4774 else
   4775   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4776 /* end confdefs.h.  */
   4777 int i;
   4778 _ACEOF
   4779 if ac_fn_c_try_compile "$LINENO"; then :
   4780   xorg_cv_cc_flag_unused_command_line_argument=yes
   4781 else
   4782   xorg_cv_cc_flag_unused_command_line_argument=no
   4783 fi
   4784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4785 fi
   4786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4787 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4788 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4789 	CFLAGS="$xorg_testset_save_CFLAGS"
   4790 fi
   4791 
   4792 found="no"
   4793 
   4794 	if test $found = "no" ; then
   4795 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4796 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4797 		fi
   4798 
   4799 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4800 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4801 		fi
   4802 
   4803 		CFLAGS="$CFLAGS -Wall"
   4804 
   4805 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4806 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4807 		cacheid=xorg_cv_cc_flag__Wall
   4808 		if eval \${$cacheid+:} false; then :
   4809   $as_echo_n "(cached) " >&6
   4810 else
   4811   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4812 /* end confdefs.h.  */
   4813 int i;
   4814 int
   4815 main ()
   4816 {
   4817 
   4818   ;
   4819   return 0;
   4820 }
   4821 _ACEOF
   4822 if ac_fn_c_try_link "$LINENO"; then :
   4823   eval $cacheid=yes
   4824 else
   4825   eval $cacheid=no
   4826 fi
   4827 rm -f core conftest.err conftest.$ac_objext \
   4828     conftest$ac_exeext conftest.$ac_ext
   4829 fi
   4830 
   4831 
   4832 		CFLAGS="$xorg_testset_save_CFLAGS"
   4833 
   4834 		eval supported=\$$cacheid
   4835 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4836 $as_echo "$supported" >&6; }
   4837 		if test "$supported" = "yes" ; then
   4838 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4839 			found="yes"
   4840 		fi
   4841 	fi
   4842 
   4843 
   4844 
   4845 
   4846 
   4847 
   4848 
   4849 
   4850 
   4851 
   4852 
   4853 
   4854 
   4855 
   4856 
   4857 xorg_testset_save_CFLAGS="$CFLAGS"
   4858 
   4859 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4860 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4861 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4862 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4863 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4864   $as_echo_n "(cached) " >&6
   4865 else
   4866   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4867 /* end confdefs.h.  */
   4868 int i;
   4869 _ACEOF
   4870 if ac_fn_c_try_compile "$LINENO"; then :
   4871   xorg_cv_cc_flag_unknown_warning_option=yes
   4872 else
   4873   xorg_cv_cc_flag_unknown_warning_option=no
   4874 fi
   4875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4876 fi
   4877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4878 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4879 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4880 	CFLAGS="$xorg_testset_save_CFLAGS"
   4881 fi
   4882 
   4883 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4884 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4885 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4886 	fi
   4887 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4888 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4889 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4890 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4891   $as_echo_n "(cached) " >&6
   4892 else
   4893   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4894 /* end confdefs.h.  */
   4895 int i;
   4896 _ACEOF
   4897 if ac_fn_c_try_compile "$LINENO"; then :
   4898   xorg_cv_cc_flag_unused_command_line_argument=yes
   4899 else
   4900   xorg_cv_cc_flag_unused_command_line_argument=no
   4901 fi
   4902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4903 fi
   4904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4905 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4906 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4907 	CFLAGS="$xorg_testset_save_CFLAGS"
   4908 fi
   4909 
   4910 found="no"
   4911 
   4912 	if test $found = "no" ; then
   4913 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4914 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4915 		fi
   4916 
   4917 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4918 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4919 		fi
   4920 
   4921 		CFLAGS="$CFLAGS -Wpointer-arith"
   4922 
   4923 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   4924 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   4925 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   4926 		if eval \${$cacheid+:} false; then :
   4927   $as_echo_n "(cached) " >&6
   4928 else
   4929   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4930 /* end confdefs.h.  */
   4931 int i;
   4932 int
   4933 main ()
   4934 {
   4935 
   4936   ;
   4937   return 0;
   4938 }
   4939 _ACEOF
   4940 if ac_fn_c_try_link "$LINENO"; then :
   4941   eval $cacheid=yes
   4942 else
   4943   eval $cacheid=no
   4944 fi
   4945 rm -f core conftest.err conftest.$ac_objext \
   4946     conftest$ac_exeext conftest.$ac_ext
   4947 fi
   4948 
   4949 
   4950 		CFLAGS="$xorg_testset_save_CFLAGS"
   4951 
   4952 		eval supported=\$$cacheid
   4953 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4954 $as_echo "$supported" >&6; }
   4955 		if test "$supported" = "yes" ; then
   4956 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   4957 			found="yes"
   4958 		fi
   4959 	fi
   4960 
   4961 
   4962 
   4963 
   4964 
   4965 
   4966 
   4967 
   4968 
   4969 
   4970 
   4971 
   4972 
   4973 
   4974 
   4975 xorg_testset_save_CFLAGS="$CFLAGS"
   4976 
   4977 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4978 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4979 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4980 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4981 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4982   $as_echo_n "(cached) " >&6
   4983 else
   4984   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4985 /* end confdefs.h.  */
   4986 int i;
   4987 _ACEOF
   4988 if ac_fn_c_try_compile "$LINENO"; then :
   4989   xorg_cv_cc_flag_unknown_warning_option=yes
   4990 else
   4991   xorg_cv_cc_flag_unknown_warning_option=no
   4992 fi
   4993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4994 fi
   4995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4996 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4997 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4998 	CFLAGS="$xorg_testset_save_CFLAGS"
   4999 fi
   5000 
   5001 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5002 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5003 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5004 	fi
   5005 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5006 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5007 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5008 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5009   $as_echo_n "(cached) " >&6
   5010 else
   5011   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5012 /* end confdefs.h.  */
   5013 int i;
   5014 _ACEOF
   5015 if ac_fn_c_try_compile "$LINENO"; then :
   5016   xorg_cv_cc_flag_unused_command_line_argument=yes
   5017 else
   5018   xorg_cv_cc_flag_unused_command_line_argument=no
   5019 fi
   5020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5021 fi
   5022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5023 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5024 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5025 	CFLAGS="$xorg_testset_save_CFLAGS"
   5026 fi
   5027 
   5028 found="no"
   5029 
   5030 	if test $found = "no" ; then
   5031 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5032 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5033 		fi
   5034 
   5035 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5036 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5037 		fi
   5038 
   5039 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5040 
   5041 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5042 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   5043 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5044 		if eval \${$cacheid+:} false; then :
   5045   $as_echo_n "(cached) " >&6
   5046 else
   5047   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5048 /* end confdefs.h.  */
   5049 int i;
   5050 int
   5051 main ()
   5052 {
   5053 
   5054   ;
   5055   return 0;
   5056 }
   5057 _ACEOF
   5058 if ac_fn_c_try_link "$LINENO"; then :
   5059   eval $cacheid=yes
   5060 else
   5061   eval $cacheid=no
   5062 fi
   5063 rm -f core conftest.err conftest.$ac_objext \
   5064     conftest$ac_exeext conftest.$ac_ext
   5065 fi
   5066 
   5067 
   5068 		CFLAGS="$xorg_testset_save_CFLAGS"
   5069 
   5070 		eval supported=\$$cacheid
   5071 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5072 $as_echo "$supported" >&6; }
   5073 		if test "$supported" = "yes" ; then
   5074 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5075 			found="yes"
   5076 		fi
   5077 	fi
   5078 
   5079 
   5080 
   5081 
   5082 
   5083 
   5084 
   5085 
   5086 
   5087 
   5088 
   5089 
   5090 
   5091 
   5092 
   5093 xorg_testset_save_CFLAGS="$CFLAGS"
   5094 
   5095 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5096 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5097 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5098 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5099 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5100   $as_echo_n "(cached) " >&6
   5101 else
   5102   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5103 /* end confdefs.h.  */
   5104 int i;
   5105 _ACEOF
   5106 if ac_fn_c_try_compile "$LINENO"; then :
   5107   xorg_cv_cc_flag_unknown_warning_option=yes
   5108 else
   5109   xorg_cv_cc_flag_unknown_warning_option=no
   5110 fi
   5111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5112 fi
   5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5114 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5115 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5116 	CFLAGS="$xorg_testset_save_CFLAGS"
   5117 fi
   5118 
   5119 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5120 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5121 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5122 	fi
   5123 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5124 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5125 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5126 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5127   $as_echo_n "(cached) " >&6
   5128 else
   5129   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5130 /* end confdefs.h.  */
   5131 int i;
   5132 _ACEOF
   5133 if ac_fn_c_try_compile "$LINENO"; then :
   5134   xorg_cv_cc_flag_unused_command_line_argument=yes
   5135 else
   5136   xorg_cv_cc_flag_unused_command_line_argument=no
   5137 fi
   5138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5139 fi
   5140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5141 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5142 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5143 	CFLAGS="$xorg_testset_save_CFLAGS"
   5144 fi
   5145 
   5146 found="no"
   5147 
   5148 	if test $found = "no" ; then
   5149 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5150 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5151 		fi
   5152 
   5153 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5154 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5155 		fi
   5156 
   5157 		CFLAGS="$CFLAGS -Wformat=2"
   5158 
   5159 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5160 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5161 		cacheid=`$as_echo "xorg_cv_cc_flag_-Wformat=2" | $as_tr_sh`
   5162 		if eval \${$cacheid+:} false; then :
   5163   $as_echo_n "(cached) " >&6
   5164 else
   5165   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5166 /* end confdefs.h.  */
   5167 int i;
   5168 int
   5169 main ()
   5170 {
   5171 
   5172   ;
   5173   return 0;
   5174 }
   5175 _ACEOF
   5176 if ac_fn_c_try_link "$LINENO"; then :
   5177   eval $cacheid=yes
   5178 else
   5179   eval $cacheid=no
   5180 fi
   5181 rm -f core conftest.err conftest.$ac_objext \
   5182     conftest$ac_exeext conftest.$ac_ext
   5183 fi
   5184 
   5185 
   5186 		CFLAGS="$xorg_testset_save_CFLAGS"
   5187 
   5188 		eval supported=\$$cacheid
   5189 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5190 $as_echo "$supported" >&6; }
   5191 		if test "$supported" = "yes" ; then
   5192 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5193 			found="yes"
   5194 		fi
   5195 	fi
   5196 
   5197 	if test $found = "no" ; then
   5198 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5199 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5200 		fi
   5201 
   5202 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5203 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5204 		fi
   5205 
   5206 		CFLAGS="$CFLAGS -Wformat"
   5207 
   5208 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5209 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5210 		cacheid=xorg_cv_cc_flag__Wformat
   5211 		if eval \${$cacheid+:} false; then :
   5212   $as_echo_n "(cached) " >&6
   5213 else
   5214   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5215 /* end confdefs.h.  */
   5216 int i;
   5217 int
   5218 main ()
   5219 {
   5220 
   5221   ;
   5222   return 0;
   5223 }
   5224 _ACEOF
   5225 if ac_fn_c_try_link "$LINENO"; then :
   5226   eval $cacheid=yes
   5227 else
   5228   eval $cacheid=no
   5229 fi
   5230 rm -f core conftest.err conftest.$ac_objext \
   5231     conftest$ac_exeext conftest.$ac_ext
   5232 fi
   5233 
   5234 
   5235 		CFLAGS="$xorg_testset_save_CFLAGS"
   5236 
   5237 		eval supported=\$$cacheid
   5238 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5239 $as_echo "$supported" >&6; }
   5240 		if test "$supported" = "yes" ; then
   5241 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5242 			found="yes"
   5243 		fi
   5244 	fi
   5245 
   5246 
   5247 
   5248 
   5249 
   5250 
   5251 
   5252 
   5253 
   5254 
   5255 
   5256 
   5257 
   5258 
   5259 
   5260 
   5261 
   5262 xorg_testset_save_CFLAGS="$CFLAGS"
   5263 
   5264 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5265 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5266 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5267 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5268 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5269   $as_echo_n "(cached) " >&6
   5270 else
   5271   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5272 /* end confdefs.h.  */
   5273 int i;
   5274 _ACEOF
   5275 if ac_fn_c_try_compile "$LINENO"; then :
   5276   xorg_cv_cc_flag_unknown_warning_option=yes
   5277 else
   5278   xorg_cv_cc_flag_unknown_warning_option=no
   5279 fi
   5280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5281 fi
   5282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5283 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5284 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5285 	CFLAGS="$xorg_testset_save_CFLAGS"
   5286 fi
   5287 
   5288 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5289 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5290 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5291 	fi
   5292 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5293 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5294 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5295 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5296   $as_echo_n "(cached) " >&6
   5297 else
   5298   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5299 /* end confdefs.h.  */
   5300 int i;
   5301 _ACEOF
   5302 if ac_fn_c_try_compile "$LINENO"; then :
   5303   xorg_cv_cc_flag_unused_command_line_argument=yes
   5304 else
   5305   xorg_cv_cc_flag_unused_command_line_argument=no
   5306 fi
   5307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5308 fi
   5309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5310 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5311 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5312 	CFLAGS="$xorg_testset_save_CFLAGS"
   5313 fi
   5314 
   5315 found="no"
   5316 
   5317 	if test $found = "no" ; then
   5318 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5319 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5320 		fi
   5321 
   5322 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5323 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5324 		fi
   5325 
   5326 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5327 
   5328 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5329 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5330 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5331 		if eval \${$cacheid+:} false; then :
   5332   $as_echo_n "(cached) " >&6
   5333 else
   5334   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5335 /* end confdefs.h.  */
   5336 int i;
   5337 int
   5338 main ()
   5339 {
   5340 
   5341   ;
   5342   return 0;
   5343 }
   5344 _ACEOF
   5345 if ac_fn_c_try_link "$LINENO"; then :
   5346   eval $cacheid=yes
   5347 else
   5348   eval $cacheid=no
   5349 fi
   5350 rm -f core conftest.err conftest.$ac_objext \
   5351     conftest$ac_exeext conftest.$ac_ext
   5352 fi
   5353 
   5354 
   5355 		CFLAGS="$xorg_testset_save_CFLAGS"
   5356 
   5357 		eval supported=\$$cacheid
   5358 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5359 $as_echo "$supported" >&6; }
   5360 		if test "$supported" = "yes" ; then
   5361 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5362 			found="yes"
   5363 		fi
   5364 	fi
   5365 
   5366 
   5367 
   5368 
   5369 
   5370 
   5371 
   5372 
   5373 
   5374 
   5375 
   5376 
   5377 
   5378 
   5379 
   5380 xorg_testset_save_CFLAGS="$CFLAGS"
   5381 
   5382 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5383 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5384 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5385 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5386 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5387   $as_echo_n "(cached) " >&6
   5388 else
   5389   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5390 /* end confdefs.h.  */
   5391 int i;
   5392 _ACEOF
   5393 if ac_fn_c_try_compile "$LINENO"; then :
   5394   xorg_cv_cc_flag_unknown_warning_option=yes
   5395 else
   5396   xorg_cv_cc_flag_unknown_warning_option=no
   5397 fi
   5398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5399 fi
   5400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5401 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5402 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5403 	CFLAGS="$xorg_testset_save_CFLAGS"
   5404 fi
   5405 
   5406 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5407 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5408 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5409 	fi
   5410 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5411 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5412 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5413 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5414   $as_echo_n "(cached) " >&6
   5415 else
   5416   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5417 /* end confdefs.h.  */
   5418 int i;
   5419 _ACEOF
   5420 if ac_fn_c_try_compile "$LINENO"; then :
   5421   xorg_cv_cc_flag_unused_command_line_argument=yes
   5422 else
   5423   xorg_cv_cc_flag_unused_command_line_argument=no
   5424 fi
   5425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5426 fi
   5427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5428 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5429 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5430 	CFLAGS="$xorg_testset_save_CFLAGS"
   5431 fi
   5432 
   5433 found="no"
   5434 
   5435 	if test $found = "no" ; then
   5436 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5437 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5438 		fi
   5439 
   5440 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5441 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5442 		fi
   5443 
   5444 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5445 
   5446 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5447 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5448 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5449 		if eval \${$cacheid+:} false; then :
   5450   $as_echo_n "(cached) " >&6
   5451 else
   5452   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5453 /* end confdefs.h.  */
   5454 int i;
   5455 int
   5456 main ()
   5457 {
   5458 
   5459   ;
   5460   return 0;
   5461 }
   5462 _ACEOF
   5463 if ac_fn_c_try_link "$LINENO"; then :
   5464   eval $cacheid=yes
   5465 else
   5466   eval $cacheid=no
   5467 fi
   5468 rm -f core conftest.err conftest.$ac_objext \
   5469     conftest$ac_exeext conftest.$ac_ext
   5470 fi
   5471 
   5472 
   5473 		CFLAGS="$xorg_testset_save_CFLAGS"
   5474 
   5475 		eval supported=\$$cacheid
   5476 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5477 $as_echo "$supported" >&6; }
   5478 		if test "$supported" = "yes" ; then
   5479 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5480 			found="yes"
   5481 		fi
   5482 	fi
   5483 
   5484 
   5485 
   5486 
   5487 
   5488 
   5489 
   5490 
   5491 
   5492 
   5493 
   5494 
   5495 
   5496 
   5497 
   5498 xorg_testset_save_CFLAGS="$CFLAGS"
   5499 
   5500 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5501 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5502 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5503 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5504 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5505   $as_echo_n "(cached) " >&6
   5506 else
   5507   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5508 /* end confdefs.h.  */
   5509 int i;
   5510 _ACEOF
   5511 if ac_fn_c_try_compile "$LINENO"; then :
   5512   xorg_cv_cc_flag_unknown_warning_option=yes
   5513 else
   5514   xorg_cv_cc_flag_unknown_warning_option=no
   5515 fi
   5516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5517 fi
   5518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5519 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5520 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5521 	CFLAGS="$xorg_testset_save_CFLAGS"
   5522 fi
   5523 
   5524 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5525 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5526 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5527 	fi
   5528 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5529 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5530 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5531 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5532   $as_echo_n "(cached) " >&6
   5533 else
   5534   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5535 /* end confdefs.h.  */
   5536 int i;
   5537 _ACEOF
   5538 if ac_fn_c_try_compile "$LINENO"; then :
   5539   xorg_cv_cc_flag_unused_command_line_argument=yes
   5540 else
   5541   xorg_cv_cc_flag_unused_command_line_argument=no
   5542 fi
   5543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5544 fi
   5545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5546 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5547 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5548 	CFLAGS="$xorg_testset_save_CFLAGS"
   5549 fi
   5550 
   5551 found="no"
   5552 
   5553 	if test $found = "no" ; then
   5554 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5555 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5556 		fi
   5557 
   5558 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5559 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5560 		fi
   5561 
   5562 		CFLAGS="$CFLAGS -Wnested-externs"
   5563 
   5564 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5565 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5566 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5567 		if eval \${$cacheid+:} false; then :
   5568   $as_echo_n "(cached) " >&6
   5569 else
   5570   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5571 /* end confdefs.h.  */
   5572 int i;
   5573 int
   5574 main ()
   5575 {
   5576 
   5577   ;
   5578   return 0;
   5579 }
   5580 _ACEOF
   5581 if ac_fn_c_try_link "$LINENO"; then :
   5582   eval $cacheid=yes
   5583 else
   5584   eval $cacheid=no
   5585 fi
   5586 rm -f core conftest.err conftest.$ac_objext \
   5587     conftest$ac_exeext conftest.$ac_ext
   5588 fi
   5589 
   5590 
   5591 		CFLAGS="$xorg_testset_save_CFLAGS"
   5592 
   5593 		eval supported=\$$cacheid
   5594 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5595 $as_echo "$supported" >&6; }
   5596 		if test "$supported" = "yes" ; then
   5597 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5598 			found="yes"
   5599 		fi
   5600 	fi
   5601 
   5602 
   5603 
   5604 
   5605 
   5606 
   5607 
   5608 
   5609 
   5610 
   5611 
   5612 
   5613 
   5614 
   5615 
   5616 xorg_testset_save_CFLAGS="$CFLAGS"
   5617 
   5618 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5619 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5620 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5621 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5622 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5623   $as_echo_n "(cached) " >&6
   5624 else
   5625   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5626 /* end confdefs.h.  */
   5627 int i;
   5628 _ACEOF
   5629 if ac_fn_c_try_compile "$LINENO"; then :
   5630   xorg_cv_cc_flag_unknown_warning_option=yes
   5631 else
   5632   xorg_cv_cc_flag_unknown_warning_option=no
   5633 fi
   5634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5635 fi
   5636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5637 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5638 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5639 	CFLAGS="$xorg_testset_save_CFLAGS"
   5640 fi
   5641 
   5642 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5643 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5644 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5645 	fi
   5646 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5647 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5648 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5649 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5650   $as_echo_n "(cached) " >&6
   5651 else
   5652   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5653 /* end confdefs.h.  */
   5654 int i;
   5655 _ACEOF
   5656 if ac_fn_c_try_compile "$LINENO"; then :
   5657   xorg_cv_cc_flag_unused_command_line_argument=yes
   5658 else
   5659   xorg_cv_cc_flag_unused_command_line_argument=no
   5660 fi
   5661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5662 fi
   5663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5664 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5665 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5666 	CFLAGS="$xorg_testset_save_CFLAGS"
   5667 fi
   5668 
   5669 found="no"
   5670 
   5671 	if test $found = "no" ; then
   5672 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5673 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5674 		fi
   5675 
   5676 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5677 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5678 		fi
   5679 
   5680 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5681 
   5682 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5683 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5684 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5685 		if eval \${$cacheid+:} false; then :
   5686   $as_echo_n "(cached) " >&6
   5687 else
   5688   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5689 /* end confdefs.h.  */
   5690 int i;
   5691 int
   5692 main ()
   5693 {
   5694 
   5695   ;
   5696   return 0;
   5697 }
   5698 _ACEOF
   5699 if ac_fn_c_try_link "$LINENO"; then :
   5700   eval $cacheid=yes
   5701 else
   5702   eval $cacheid=no
   5703 fi
   5704 rm -f core conftest.err conftest.$ac_objext \
   5705     conftest$ac_exeext conftest.$ac_ext
   5706 fi
   5707 
   5708 
   5709 		CFLAGS="$xorg_testset_save_CFLAGS"
   5710 
   5711 		eval supported=\$$cacheid
   5712 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5713 $as_echo "$supported" >&6; }
   5714 		if test "$supported" = "yes" ; then
   5715 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5716 			found="yes"
   5717 		fi
   5718 	fi
   5719 
   5720 
   5721 
   5722 
   5723 
   5724 
   5725 
   5726 
   5727 
   5728 
   5729 
   5730 
   5731 
   5732 
   5733 
   5734 xorg_testset_save_CFLAGS="$CFLAGS"
   5735 
   5736 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5737 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5738 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5739 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5740 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5741   $as_echo_n "(cached) " >&6
   5742 else
   5743   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5744 /* end confdefs.h.  */
   5745 int i;
   5746 _ACEOF
   5747 if ac_fn_c_try_compile "$LINENO"; then :
   5748   xorg_cv_cc_flag_unknown_warning_option=yes
   5749 else
   5750   xorg_cv_cc_flag_unknown_warning_option=no
   5751 fi
   5752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5753 fi
   5754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5755 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5756 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5757 	CFLAGS="$xorg_testset_save_CFLAGS"
   5758 fi
   5759 
   5760 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5761 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5762 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5763 	fi
   5764 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5765 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5766 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5767 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5768   $as_echo_n "(cached) " >&6
   5769 else
   5770   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5771 /* end confdefs.h.  */
   5772 int i;
   5773 _ACEOF
   5774 if ac_fn_c_try_compile "$LINENO"; then :
   5775   xorg_cv_cc_flag_unused_command_line_argument=yes
   5776 else
   5777   xorg_cv_cc_flag_unused_command_line_argument=no
   5778 fi
   5779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5780 fi
   5781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5782 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5783 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5784 	CFLAGS="$xorg_testset_save_CFLAGS"
   5785 fi
   5786 
   5787 found="no"
   5788 
   5789 	if test $found = "no" ; then
   5790 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5791 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5792 		fi
   5793 
   5794 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5795 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5796 		fi
   5797 
   5798 		CFLAGS="$CFLAGS -Wold-style-definition"
   5799 
   5800 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5801 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5802 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5803 		if eval \${$cacheid+:} false; then :
   5804   $as_echo_n "(cached) " >&6
   5805 else
   5806   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5807 /* end confdefs.h.  */
   5808 int i;
   5809 int
   5810 main ()
   5811 {
   5812 
   5813   ;
   5814   return 0;
   5815 }
   5816 _ACEOF
   5817 if ac_fn_c_try_link "$LINENO"; then :
   5818   eval $cacheid=yes
   5819 else
   5820   eval $cacheid=no
   5821 fi
   5822 rm -f core conftest.err conftest.$ac_objext \
   5823     conftest$ac_exeext conftest.$ac_ext
   5824 fi
   5825 
   5826 
   5827 		CFLAGS="$xorg_testset_save_CFLAGS"
   5828 
   5829 		eval supported=\$$cacheid
   5830 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5831 $as_echo "$supported" >&6; }
   5832 		if test "$supported" = "yes" ; then
   5833 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5834 			found="yes"
   5835 		fi
   5836 	fi
   5837 
   5838 
   5839 
   5840 
   5841 
   5842 
   5843 
   5844 
   5845 
   5846 
   5847 
   5848 
   5849 
   5850 
   5851 
   5852 xorg_testset_save_CFLAGS="$CFLAGS"
   5853 
   5854 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5855 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5856 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5857 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5858 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5859   $as_echo_n "(cached) " >&6
   5860 else
   5861   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5862 /* end confdefs.h.  */
   5863 int i;
   5864 _ACEOF
   5865 if ac_fn_c_try_compile "$LINENO"; then :
   5866   xorg_cv_cc_flag_unknown_warning_option=yes
   5867 else
   5868   xorg_cv_cc_flag_unknown_warning_option=no
   5869 fi
   5870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5871 fi
   5872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5873 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5874 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5875 	CFLAGS="$xorg_testset_save_CFLAGS"
   5876 fi
   5877 
   5878 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5879 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5880 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5881 	fi
   5882 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5883 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5884 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5885 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5886   $as_echo_n "(cached) " >&6
   5887 else
   5888   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5889 /* end confdefs.h.  */
   5890 int i;
   5891 _ACEOF
   5892 if ac_fn_c_try_compile "$LINENO"; then :
   5893   xorg_cv_cc_flag_unused_command_line_argument=yes
   5894 else
   5895   xorg_cv_cc_flag_unused_command_line_argument=no
   5896 fi
   5897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5898 fi
   5899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5900 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5901 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5902 	CFLAGS="$xorg_testset_save_CFLAGS"
   5903 fi
   5904 
   5905 found="no"
   5906 
   5907 	if test $found = "no" ; then
   5908 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5909 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5910 		fi
   5911 
   5912 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5913 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5914 		fi
   5915 
   5916 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   5917 
   5918 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   5919 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   5920 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   5921 		if eval \${$cacheid+:} false; then :
   5922   $as_echo_n "(cached) " >&6
   5923 else
   5924   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5925 /* end confdefs.h.  */
   5926 int i;
   5927 int
   5928 main ()
   5929 {
   5930 
   5931   ;
   5932   return 0;
   5933 }
   5934 _ACEOF
   5935 if ac_fn_c_try_link "$LINENO"; then :
   5936   eval $cacheid=yes
   5937 else
   5938   eval $cacheid=no
   5939 fi
   5940 rm -f core conftest.err conftest.$ac_objext \
   5941     conftest$ac_exeext conftest.$ac_ext
   5942 fi
   5943 
   5944 
   5945 		CFLAGS="$xorg_testset_save_CFLAGS"
   5946 
   5947 		eval supported=\$$cacheid
   5948 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5949 $as_echo "$supported" >&6; }
   5950 		if test "$supported" = "yes" ; then
   5951 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   5952 			found="yes"
   5953 		fi
   5954 	fi
   5955 
   5956 
   5957 
   5958 
   5959 
   5960 # This chunk adds additional warnings that could catch undesired effects.
   5961 
   5962 
   5963 
   5964 
   5965 
   5966 
   5967 
   5968 
   5969 
   5970 
   5971 
   5972 
   5973 
   5974 xorg_testset_save_CFLAGS="$CFLAGS"
   5975 
   5976 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5977 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5978 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5979 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5980 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5981   $as_echo_n "(cached) " >&6
   5982 else
   5983   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5984 /* end confdefs.h.  */
   5985 int i;
   5986 _ACEOF
   5987 if ac_fn_c_try_compile "$LINENO"; then :
   5988   xorg_cv_cc_flag_unknown_warning_option=yes
   5989 else
   5990   xorg_cv_cc_flag_unknown_warning_option=no
   5991 fi
   5992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5993 fi
   5994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5995 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5996 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5997 	CFLAGS="$xorg_testset_save_CFLAGS"
   5998 fi
   5999 
   6000 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6001 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6002 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6003 	fi
   6004 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6005 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6006 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6007 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6008   $as_echo_n "(cached) " >&6
   6009 else
   6010   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6011 /* end confdefs.h.  */
   6012 int i;
   6013 _ACEOF
   6014 if ac_fn_c_try_compile "$LINENO"; then :
   6015   xorg_cv_cc_flag_unused_command_line_argument=yes
   6016 else
   6017   xorg_cv_cc_flag_unused_command_line_argument=no
   6018 fi
   6019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6020 fi
   6021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6022 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6023 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6024 	CFLAGS="$xorg_testset_save_CFLAGS"
   6025 fi
   6026 
   6027 found="no"
   6028 
   6029 	if test $found = "no" ; then
   6030 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6031 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6032 		fi
   6033 
   6034 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6035 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6036 		fi
   6037 
   6038 		CFLAGS="$CFLAGS -Wunused"
   6039 
   6040 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6041 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   6042 		cacheid=xorg_cv_cc_flag__Wunused
   6043 		if eval \${$cacheid+:} false; then :
   6044   $as_echo_n "(cached) " >&6
   6045 else
   6046   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6047 /* end confdefs.h.  */
   6048 int i;
   6049 int
   6050 main ()
   6051 {
   6052 
   6053   ;
   6054   return 0;
   6055 }
   6056 _ACEOF
   6057 if ac_fn_c_try_link "$LINENO"; then :
   6058   eval $cacheid=yes
   6059 else
   6060   eval $cacheid=no
   6061 fi
   6062 rm -f core conftest.err conftest.$ac_objext \
   6063     conftest$ac_exeext conftest.$ac_ext
   6064 fi
   6065 
   6066 
   6067 		CFLAGS="$xorg_testset_save_CFLAGS"
   6068 
   6069 		eval supported=\$$cacheid
   6070 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6071 $as_echo "$supported" >&6; }
   6072 		if test "$supported" = "yes" ; then
   6073 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6074 			found="yes"
   6075 		fi
   6076 	fi
   6077 
   6078 
   6079 
   6080 
   6081 
   6082 
   6083 
   6084 
   6085 
   6086 
   6087 
   6088 
   6089 
   6090 
   6091 
   6092 xorg_testset_save_CFLAGS="$CFLAGS"
   6093 
   6094 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6095 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6096 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6097 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6098 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6099   $as_echo_n "(cached) " >&6
   6100 else
   6101   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6102 /* end confdefs.h.  */
   6103 int i;
   6104 _ACEOF
   6105 if ac_fn_c_try_compile "$LINENO"; then :
   6106   xorg_cv_cc_flag_unknown_warning_option=yes
   6107 else
   6108   xorg_cv_cc_flag_unknown_warning_option=no
   6109 fi
   6110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6111 fi
   6112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6113 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6114 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6115 	CFLAGS="$xorg_testset_save_CFLAGS"
   6116 fi
   6117 
   6118 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6119 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6120 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6121 	fi
   6122 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6123 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6124 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6125 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6126   $as_echo_n "(cached) " >&6
   6127 else
   6128   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6129 /* end confdefs.h.  */
   6130 int i;
   6131 _ACEOF
   6132 if ac_fn_c_try_compile "$LINENO"; then :
   6133   xorg_cv_cc_flag_unused_command_line_argument=yes
   6134 else
   6135   xorg_cv_cc_flag_unused_command_line_argument=no
   6136 fi
   6137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6138 fi
   6139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6140 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6141 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6142 	CFLAGS="$xorg_testset_save_CFLAGS"
   6143 fi
   6144 
   6145 found="no"
   6146 
   6147 	if test $found = "no" ; then
   6148 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6149 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6150 		fi
   6151 
   6152 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6153 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6154 		fi
   6155 
   6156 		CFLAGS="$CFLAGS -Wuninitialized"
   6157 
   6158 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6159 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6160 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6161 		if eval \${$cacheid+:} false; then :
   6162   $as_echo_n "(cached) " >&6
   6163 else
   6164   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6165 /* end confdefs.h.  */
   6166 int i;
   6167 int
   6168 main ()
   6169 {
   6170 
   6171   ;
   6172   return 0;
   6173 }
   6174 _ACEOF
   6175 if ac_fn_c_try_link "$LINENO"; then :
   6176   eval $cacheid=yes
   6177 else
   6178   eval $cacheid=no
   6179 fi
   6180 rm -f core conftest.err conftest.$ac_objext \
   6181     conftest$ac_exeext conftest.$ac_ext
   6182 fi
   6183 
   6184 
   6185 		CFLAGS="$xorg_testset_save_CFLAGS"
   6186 
   6187 		eval supported=\$$cacheid
   6188 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6189 $as_echo "$supported" >&6; }
   6190 		if test "$supported" = "yes" ; then
   6191 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6192 			found="yes"
   6193 		fi
   6194 	fi
   6195 
   6196 
   6197 
   6198 
   6199 
   6200 
   6201 
   6202 
   6203 
   6204 
   6205 
   6206 
   6207 
   6208 
   6209 
   6210 xorg_testset_save_CFLAGS="$CFLAGS"
   6211 
   6212 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6213 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6214 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6215 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6216 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6217   $as_echo_n "(cached) " >&6
   6218 else
   6219   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6220 /* end confdefs.h.  */
   6221 int i;
   6222 _ACEOF
   6223 if ac_fn_c_try_compile "$LINENO"; then :
   6224   xorg_cv_cc_flag_unknown_warning_option=yes
   6225 else
   6226   xorg_cv_cc_flag_unknown_warning_option=no
   6227 fi
   6228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6229 fi
   6230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6231 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6232 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6233 	CFLAGS="$xorg_testset_save_CFLAGS"
   6234 fi
   6235 
   6236 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6237 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6238 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6239 	fi
   6240 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6241 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6242 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6243 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6244   $as_echo_n "(cached) " >&6
   6245 else
   6246   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6247 /* end confdefs.h.  */
   6248 int i;
   6249 _ACEOF
   6250 if ac_fn_c_try_compile "$LINENO"; then :
   6251   xorg_cv_cc_flag_unused_command_line_argument=yes
   6252 else
   6253   xorg_cv_cc_flag_unused_command_line_argument=no
   6254 fi
   6255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6256 fi
   6257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6258 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6259 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6260 	CFLAGS="$xorg_testset_save_CFLAGS"
   6261 fi
   6262 
   6263 found="no"
   6264 
   6265 	if test $found = "no" ; then
   6266 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6267 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6268 		fi
   6269 
   6270 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6271 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6272 		fi
   6273 
   6274 		CFLAGS="$CFLAGS -Wshadow"
   6275 
   6276 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6277 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6278 		cacheid=xorg_cv_cc_flag__Wshadow
   6279 		if eval \${$cacheid+:} false; then :
   6280   $as_echo_n "(cached) " >&6
   6281 else
   6282   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6283 /* end confdefs.h.  */
   6284 int i;
   6285 int
   6286 main ()
   6287 {
   6288 
   6289   ;
   6290   return 0;
   6291 }
   6292 _ACEOF
   6293 if ac_fn_c_try_link "$LINENO"; then :
   6294   eval $cacheid=yes
   6295 else
   6296   eval $cacheid=no
   6297 fi
   6298 rm -f core conftest.err conftest.$ac_objext \
   6299     conftest$ac_exeext conftest.$ac_ext
   6300 fi
   6301 
   6302 
   6303 		CFLAGS="$xorg_testset_save_CFLAGS"
   6304 
   6305 		eval supported=\$$cacheid
   6306 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6307 $as_echo "$supported" >&6; }
   6308 		if test "$supported" = "yes" ; then
   6309 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6310 			found="yes"
   6311 		fi
   6312 	fi
   6313 
   6314 
   6315 
   6316 
   6317 
   6318 
   6319 
   6320 
   6321 
   6322 
   6323 
   6324 
   6325 
   6326 
   6327 
   6328 xorg_testset_save_CFLAGS="$CFLAGS"
   6329 
   6330 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6331 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6332 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6333 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6334 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6335   $as_echo_n "(cached) " >&6
   6336 else
   6337   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6338 /* end confdefs.h.  */
   6339 int i;
   6340 _ACEOF
   6341 if ac_fn_c_try_compile "$LINENO"; then :
   6342   xorg_cv_cc_flag_unknown_warning_option=yes
   6343 else
   6344   xorg_cv_cc_flag_unknown_warning_option=no
   6345 fi
   6346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6347 fi
   6348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6349 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6350 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6351 	CFLAGS="$xorg_testset_save_CFLAGS"
   6352 fi
   6353 
   6354 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6355 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6356 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6357 	fi
   6358 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6359 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6360 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6361 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6362   $as_echo_n "(cached) " >&6
   6363 else
   6364   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6365 /* end confdefs.h.  */
   6366 int i;
   6367 _ACEOF
   6368 if ac_fn_c_try_compile "$LINENO"; then :
   6369   xorg_cv_cc_flag_unused_command_line_argument=yes
   6370 else
   6371   xorg_cv_cc_flag_unused_command_line_argument=no
   6372 fi
   6373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6374 fi
   6375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6376 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6377 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6378 	CFLAGS="$xorg_testset_save_CFLAGS"
   6379 fi
   6380 
   6381 found="no"
   6382 
   6383 	if test $found = "no" ; then
   6384 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6385 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6386 		fi
   6387 
   6388 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6389 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6390 		fi
   6391 
   6392 		CFLAGS="$CFLAGS -Wcast-qual"
   6393 
   6394 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wcast-qual" >&5
   6395 $as_echo_n "checking if $CC supports -Wcast-qual... " >&6; }
   6396 		cacheid=xorg_cv_cc_flag__Wcast_qual
   6397 		if eval \${$cacheid+:} false; then :
   6398   $as_echo_n "(cached) " >&6
   6399 else
   6400   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6401 /* end confdefs.h.  */
   6402 int i;
   6403 int
   6404 main ()
   6405 {
   6406 
   6407   ;
   6408   return 0;
   6409 }
   6410 _ACEOF
   6411 if ac_fn_c_try_link "$LINENO"; then :
   6412   eval $cacheid=yes
   6413 else
   6414   eval $cacheid=no
   6415 fi
   6416 rm -f core conftest.err conftest.$ac_objext \
   6417     conftest$ac_exeext conftest.$ac_ext
   6418 fi
   6419 
   6420 
   6421 		CFLAGS="$xorg_testset_save_CFLAGS"
   6422 
   6423 		eval supported=\$$cacheid
   6424 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6425 $as_echo "$supported" >&6; }
   6426 		if test "$supported" = "yes" ; then
   6427 			BASE_CFLAGS="$BASE_CFLAGS -Wcast-qual"
   6428 			found="yes"
   6429 		fi
   6430 	fi
   6431 
   6432 
   6433 
   6434 
   6435 
   6436 
   6437 
   6438 
   6439 
   6440 
   6441 
   6442 
   6443 
   6444 
   6445 
   6446 xorg_testset_save_CFLAGS="$CFLAGS"
   6447 
   6448 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6449 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6450 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6451 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6452 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6453   $as_echo_n "(cached) " >&6
   6454 else
   6455   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6456 /* end confdefs.h.  */
   6457 int i;
   6458 _ACEOF
   6459 if ac_fn_c_try_compile "$LINENO"; then :
   6460   xorg_cv_cc_flag_unknown_warning_option=yes
   6461 else
   6462   xorg_cv_cc_flag_unknown_warning_option=no
   6463 fi
   6464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6465 fi
   6466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6467 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6468 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6469 	CFLAGS="$xorg_testset_save_CFLAGS"
   6470 fi
   6471 
   6472 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6473 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6474 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6475 	fi
   6476 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6477 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6478 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6479 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6480   $as_echo_n "(cached) " >&6
   6481 else
   6482   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6483 /* end confdefs.h.  */
   6484 int i;
   6485 _ACEOF
   6486 if ac_fn_c_try_compile "$LINENO"; then :
   6487   xorg_cv_cc_flag_unused_command_line_argument=yes
   6488 else
   6489   xorg_cv_cc_flag_unused_command_line_argument=no
   6490 fi
   6491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6492 fi
   6493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6494 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6495 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6496 	CFLAGS="$xorg_testset_save_CFLAGS"
   6497 fi
   6498 
   6499 found="no"
   6500 
   6501 	if test $found = "no" ; then
   6502 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6503 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6504 		fi
   6505 
   6506 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6507 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6508 		fi
   6509 
   6510 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6511 
   6512 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6513 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6514 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6515 		if eval \${$cacheid+:} false; then :
   6516   $as_echo_n "(cached) " >&6
   6517 else
   6518   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6519 /* end confdefs.h.  */
   6520 int i;
   6521 int
   6522 main ()
   6523 {
   6524 
   6525   ;
   6526   return 0;
   6527 }
   6528 _ACEOF
   6529 if ac_fn_c_try_link "$LINENO"; then :
   6530   eval $cacheid=yes
   6531 else
   6532   eval $cacheid=no
   6533 fi
   6534 rm -f core conftest.err conftest.$ac_objext \
   6535     conftest$ac_exeext conftest.$ac_ext
   6536 fi
   6537 
   6538 
   6539 		CFLAGS="$xorg_testset_save_CFLAGS"
   6540 
   6541 		eval supported=\$$cacheid
   6542 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6543 $as_echo "$supported" >&6; }
   6544 		if test "$supported" = "yes" ; then
   6545 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6546 			found="yes"
   6547 		fi
   6548 	fi
   6549 
   6550 
   6551 
   6552 
   6553 
   6554 
   6555 
   6556 
   6557 
   6558 
   6559 
   6560 
   6561 
   6562 
   6563 
   6564 xorg_testset_save_CFLAGS="$CFLAGS"
   6565 
   6566 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6567 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6568 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6569 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6570 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6571   $as_echo_n "(cached) " >&6
   6572 else
   6573   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6574 /* end confdefs.h.  */
   6575 int i;
   6576 _ACEOF
   6577 if ac_fn_c_try_compile "$LINENO"; then :
   6578   xorg_cv_cc_flag_unknown_warning_option=yes
   6579 else
   6580   xorg_cv_cc_flag_unknown_warning_option=no
   6581 fi
   6582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6583 fi
   6584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6585 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6586 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6587 	CFLAGS="$xorg_testset_save_CFLAGS"
   6588 fi
   6589 
   6590 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6591 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6592 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6593 	fi
   6594 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6595 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6596 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6597 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6598   $as_echo_n "(cached) " >&6
   6599 else
   6600   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6601 /* end confdefs.h.  */
   6602 int i;
   6603 _ACEOF
   6604 if ac_fn_c_try_compile "$LINENO"; then :
   6605   xorg_cv_cc_flag_unused_command_line_argument=yes
   6606 else
   6607   xorg_cv_cc_flag_unused_command_line_argument=no
   6608 fi
   6609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6610 fi
   6611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6612 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6613 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6614 	CFLAGS="$xorg_testset_save_CFLAGS"
   6615 fi
   6616 
   6617 found="no"
   6618 
   6619 	if test $found = "no" ; then
   6620 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6621 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6622 		fi
   6623 
   6624 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6625 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6626 		fi
   6627 
   6628 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6629 
   6630 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6631 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6632 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6633 		if eval \${$cacheid+:} false; then :
   6634   $as_echo_n "(cached) " >&6
   6635 else
   6636   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6637 /* end confdefs.h.  */
   6638 int i;
   6639 int
   6640 main ()
   6641 {
   6642 
   6643   ;
   6644   return 0;
   6645 }
   6646 _ACEOF
   6647 if ac_fn_c_try_link "$LINENO"; then :
   6648   eval $cacheid=yes
   6649 else
   6650   eval $cacheid=no
   6651 fi
   6652 rm -f core conftest.err conftest.$ac_objext \
   6653     conftest$ac_exeext conftest.$ac_ext
   6654 fi
   6655 
   6656 
   6657 		CFLAGS="$xorg_testset_save_CFLAGS"
   6658 
   6659 		eval supported=\$$cacheid
   6660 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6661 $as_echo "$supported" >&6; }
   6662 		if test "$supported" = "yes" ; then
   6663 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6664 			found="yes"
   6665 		fi
   6666 	fi
   6667 
   6668 
   6669 
   6670 
   6671 
   6672 
   6673 
   6674 
   6675 
   6676 
   6677 
   6678 
   6679 
   6680 
   6681 
   6682 xorg_testset_save_CFLAGS="$CFLAGS"
   6683 
   6684 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6685 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6686 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6687 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6688 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6689   $as_echo_n "(cached) " >&6
   6690 else
   6691   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6692 /* end confdefs.h.  */
   6693 int i;
   6694 _ACEOF
   6695 if ac_fn_c_try_compile "$LINENO"; then :
   6696   xorg_cv_cc_flag_unknown_warning_option=yes
   6697 else
   6698   xorg_cv_cc_flag_unknown_warning_option=no
   6699 fi
   6700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6701 fi
   6702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6703 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6704 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6705 	CFLAGS="$xorg_testset_save_CFLAGS"
   6706 fi
   6707 
   6708 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6709 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6710 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6711 	fi
   6712 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6713 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6714 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6715 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6716   $as_echo_n "(cached) " >&6
   6717 else
   6718   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6719 /* end confdefs.h.  */
   6720 int i;
   6721 _ACEOF
   6722 if ac_fn_c_try_compile "$LINENO"; then :
   6723   xorg_cv_cc_flag_unused_command_line_argument=yes
   6724 else
   6725   xorg_cv_cc_flag_unused_command_line_argument=no
   6726 fi
   6727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6728 fi
   6729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6730 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6731 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6732 	CFLAGS="$xorg_testset_save_CFLAGS"
   6733 fi
   6734 
   6735 found="no"
   6736 
   6737 	if test $found = "no" ; then
   6738 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6739 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6740 		fi
   6741 
   6742 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6743 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6744 		fi
   6745 
   6746 		CFLAGS="$CFLAGS -Wredundant-decls"
   6747 
   6748 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6749 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6750 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6751 		if eval \${$cacheid+:} false; then :
   6752   $as_echo_n "(cached) " >&6
   6753 else
   6754   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6755 /* end confdefs.h.  */
   6756 int i;
   6757 int
   6758 main ()
   6759 {
   6760 
   6761   ;
   6762   return 0;
   6763 }
   6764 _ACEOF
   6765 if ac_fn_c_try_link "$LINENO"; then :
   6766   eval $cacheid=yes
   6767 else
   6768   eval $cacheid=no
   6769 fi
   6770 rm -f core conftest.err conftest.$ac_objext \
   6771     conftest$ac_exeext conftest.$ac_ext
   6772 fi
   6773 
   6774 
   6775 		CFLAGS="$xorg_testset_save_CFLAGS"
   6776 
   6777 		eval supported=\$$cacheid
   6778 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6779 $as_echo "$supported" >&6; }
   6780 		if test "$supported" = "yes" ; then
   6781 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6782 			found="yes"
   6783 		fi
   6784 	fi
   6785 
   6786 
   6787 
   6788 # These are currently disabled because they are noisy.  They will be enabled
   6789 # in the future once the codebase is sufficiently modernized to silence
   6790 # them.  For now, I don't want them to drown out the other warnings.
   6791 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wlogical-op])
   6792 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6793 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6794 
   6795 # Turn some warnings into errors, so we don't accidently get successful builds
   6796 # when there are problems that should be fixed.
   6797 
   6798 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6799 
   6800 
   6801 
   6802 
   6803 
   6804 
   6805 
   6806 
   6807 
   6808 
   6809 
   6810 
   6811 
   6812 xorg_testset_save_CFLAGS="$CFLAGS"
   6813 
   6814 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6815 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6816 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6817 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6818 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6819   $as_echo_n "(cached) " >&6
   6820 else
   6821   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6822 /* end confdefs.h.  */
   6823 int i;
   6824 _ACEOF
   6825 if ac_fn_c_try_compile "$LINENO"; then :
   6826   xorg_cv_cc_flag_unknown_warning_option=yes
   6827 else
   6828   xorg_cv_cc_flag_unknown_warning_option=no
   6829 fi
   6830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6831 fi
   6832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6833 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6834 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6835 	CFLAGS="$xorg_testset_save_CFLAGS"
   6836 fi
   6837 
   6838 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6839 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6840 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6841 	fi
   6842 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6843 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6844 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6845 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6846   $as_echo_n "(cached) " >&6
   6847 else
   6848   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6849 /* end confdefs.h.  */
   6850 int i;
   6851 _ACEOF
   6852 if ac_fn_c_try_compile "$LINENO"; then :
   6853   xorg_cv_cc_flag_unused_command_line_argument=yes
   6854 else
   6855   xorg_cv_cc_flag_unused_command_line_argument=no
   6856 fi
   6857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6858 fi
   6859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6860 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6861 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6862 	CFLAGS="$xorg_testset_save_CFLAGS"
   6863 fi
   6864 
   6865 found="no"
   6866 
   6867 	if test $found = "no" ; then
   6868 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6869 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6870 		fi
   6871 
   6872 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6873 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6874 		fi
   6875 
   6876 		CFLAGS="$CFLAGS -Werror=implicit"
   6877 
   6878 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   6879 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   6880 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=implicit" | $as_tr_sh`
   6881 		if eval \${$cacheid+:} false; then :
   6882   $as_echo_n "(cached) " >&6
   6883 else
   6884   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6885 /* end confdefs.h.  */
   6886 int i;
   6887 int
   6888 main ()
   6889 {
   6890 
   6891   ;
   6892   return 0;
   6893 }
   6894 _ACEOF
   6895 if ac_fn_c_try_link "$LINENO"; then :
   6896   eval $cacheid=yes
   6897 else
   6898   eval $cacheid=no
   6899 fi
   6900 rm -f core conftest.err conftest.$ac_objext \
   6901     conftest$ac_exeext conftest.$ac_ext
   6902 fi
   6903 
   6904 
   6905 		CFLAGS="$xorg_testset_save_CFLAGS"
   6906 
   6907 		eval supported=\$$cacheid
   6908 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6909 $as_echo "$supported" >&6; }
   6910 		if test "$supported" = "yes" ; then
   6911 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   6912 			found="yes"
   6913 		fi
   6914 	fi
   6915 
   6916 	if test $found = "no" ; then
   6917 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6918 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6919 		fi
   6920 
   6921 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6922 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6923 		fi
   6924 
   6925 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6926 
   6927 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   6928 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   6929 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" | $as_tr_sh`
   6930 		if eval \${$cacheid+:} false; then :
   6931   $as_echo_n "(cached) " >&6
   6932 else
   6933   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6934 /* end confdefs.h.  */
   6935 int i;
   6936 int
   6937 main ()
   6938 {
   6939 
   6940   ;
   6941   return 0;
   6942 }
   6943 _ACEOF
   6944 if ac_fn_c_try_link "$LINENO"; then :
   6945   eval $cacheid=yes
   6946 else
   6947   eval $cacheid=no
   6948 fi
   6949 rm -f core conftest.err conftest.$ac_objext \
   6950     conftest$ac_exeext conftest.$ac_ext
   6951 fi
   6952 
   6953 
   6954 		CFLAGS="$xorg_testset_save_CFLAGS"
   6955 
   6956 		eval supported=\$$cacheid
   6957 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6958 $as_echo "$supported" >&6; }
   6959 		if test "$supported" = "yes" ; then
   6960 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6961 			found="yes"
   6962 		fi
   6963 	fi
   6964 
   6965 
   6966 
   6967 
   6968 
   6969 
   6970 
   6971 
   6972 
   6973 
   6974 
   6975 
   6976 
   6977 
   6978 
   6979 xorg_testset_save_CFLAGS="$CFLAGS"
   6980 
   6981 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6982 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6983 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6984 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6985 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6986   $as_echo_n "(cached) " >&6
   6987 else
   6988   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6989 /* end confdefs.h.  */
   6990 int i;
   6991 _ACEOF
   6992 if ac_fn_c_try_compile "$LINENO"; then :
   6993   xorg_cv_cc_flag_unknown_warning_option=yes
   6994 else
   6995   xorg_cv_cc_flag_unknown_warning_option=no
   6996 fi
   6997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6998 fi
   6999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7000 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7001 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7002 	CFLAGS="$xorg_testset_save_CFLAGS"
   7003 fi
   7004 
   7005 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7006 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7007 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7008 	fi
   7009 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7010 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7011 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7012 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7013   $as_echo_n "(cached) " >&6
   7014 else
   7015   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7016 /* end confdefs.h.  */
   7017 int i;
   7018 _ACEOF
   7019 if ac_fn_c_try_compile "$LINENO"; then :
   7020   xorg_cv_cc_flag_unused_command_line_argument=yes
   7021 else
   7022   xorg_cv_cc_flag_unused_command_line_argument=no
   7023 fi
   7024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7025 fi
   7026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7027 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7028 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7029 	CFLAGS="$xorg_testset_save_CFLAGS"
   7030 fi
   7031 
   7032 found="no"
   7033 
   7034 	if test $found = "no" ; then
   7035 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7036 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7037 		fi
   7038 
   7039 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7040 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7041 		fi
   7042 
   7043 		CFLAGS="$CFLAGS -Werror=nonnull"
   7044 
   7045 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7046 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   7047 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=nonnull" | $as_tr_sh`
   7048 		if eval \${$cacheid+:} false; then :
   7049   $as_echo_n "(cached) " >&6
   7050 else
   7051   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7052 /* end confdefs.h.  */
   7053 int i;
   7054 int
   7055 main ()
   7056 {
   7057 
   7058   ;
   7059   return 0;
   7060 }
   7061 _ACEOF
   7062 if ac_fn_c_try_link "$LINENO"; then :
   7063   eval $cacheid=yes
   7064 else
   7065   eval $cacheid=no
   7066 fi
   7067 rm -f core conftest.err conftest.$ac_objext \
   7068     conftest$ac_exeext conftest.$ac_ext
   7069 fi
   7070 
   7071 
   7072 		CFLAGS="$xorg_testset_save_CFLAGS"
   7073 
   7074 		eval supported=\$$cacheid
   7075 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7076 $as_echo "$supported" >&6; }
   7077 		if test "$supported" = "yes" ; then
   7078 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7079 			found="yes"
   7080 		fi
   7081 	fi
   7082 
   7083 
   7084 
   7085 
   7086 
   7087 
   7088 
   7089 
   7090 
   7091 
   7092 
   7093 
   7094 
   7095 
   7096 
   7097 xorg_testset_save_CFLAGS="$CFLAGS"
   7098 
   7099 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7100 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7101 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7102 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7103 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7104   $as_echo_n "(cached) " >&6
   7105 else
   7106   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7107 /* end confdefs.h.  */
   7108 int i;
   7109 _ACEOF
   7110 if ac_fn_c_try_compile "$LINENO"; then :
   7111   xorg_cv_cc_flag_unknown_warning_option=yes
   7112 else
   7113   xorg_cv_cc_flag_unknown_warning_option=no
   7114 fi
   7115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7116 fi
   7117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7118 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7119 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7120 	CFLAGS="$xorg_testset_save_CFLAGS"
   7121 fi
   7122 
   7123 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7124 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7125 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7126 	fi
   7127 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7128 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7129 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7130 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7131   $as_echo_n "(cached) " >&6
   7132 else
   7133   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7134 /* end confdefs.h.  */
   7135 int i;
   7136 _ACEOF
   7137 if ac_fn_c_try_compile "$LINENO"; then :
   7138   xorg_cv_cc_flag_unused_command_line_argument=yes
   7139 else
   7140   xorg_cv_cc_flag_unused_command_line_argument=no
   7141 fi
   7142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7143 fi
   7144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7145 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7146 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7147 	CFLAGS="$xorg_testset_save_CFLAGS"
   7148 fi
   7149 
   7150 found="no"
   7151 
   7152 	if test $found = "no" ; then
   7153 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7154 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7155 		fi
   7156 
   7157 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7158 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7159 		fi
   7160 
   7161 		CFLAGS="$CFLAGS -Werror=init-self"
   7162 
   7163 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7164 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7165 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=init-self" | $as_tr_sh`
   7166 		if eval \${$cacheid+:} false; then :
   7167   $as_echo_n "(cached) " >&6
   7168 else
   7169   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7170 /* end confdefs.h.  */
   7171 int i;
   7172 int
   7173 main ()
   7174 {
   7175 
   7176   ;
   7177   return 0;
   7178 }
   7179 _ACEOF
   7180 if ac_fn_c_try_link "$LINENO"; then :
   7181   eval $cacheid=yes
   7182 else
   7183   eval $cacheid=no
   7184 fi
   7185 rm -f core conftest.err conftest.$ac_objext \
   7186     conftest$ac_exeext conftest.$ac_ext
   7187 fi
   7188 
   7189 
   7190 		CFLAGS="$xorg_testset_save_CFLAGS"
   7191 
   7192 		eval supported=\$$cacheid
   7193 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7194 $as_echo "$supported" >&6; }
   7195 		if test "$supported" = "yes" ; then
   7196 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7197 			found="yes"
   7198 		fi
   7199 	fi
   7200 
   7201 
   7202 
   7203 
   7204 
   7205 
   7206 
   7207 
   7208 
   7209 
   7210 
   7211 
   7212 
   7213 
   7214 
   7215 xorg_testset_save_CFLAGS="$CFLAGS"
   7216 
   7217 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7218 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7219 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7220 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7221 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7222   $as_echo_n "(cached) " >&6
   7223 else
   7224   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7225 /* end confdefs.h.  */
   7226 int i;
   7227 _ACEOF
   7228 if ac_fn_c_try_compile "$LINENO"; then :
   7229   xorg_cv_cc_flag_unknown_warning_option=yes
   7230 else
   7231   xorg_cv_cc_flag_unknown_warning_option=no
   7232 fi
   7233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7234 fi
   7235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7236 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7237 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7238 	CFLAGS="$xorg_testset_save_CFLAGS"
   7239 fi
   7240 
   7241 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7242 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7243 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7244 	fi
   7245 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7246 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7247 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7248 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7249   $as_echo_n "(cached) " >&6
   7250 else
   7251   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7252 /* end confdefs.h.  */
   7253 int i;
   7254 _ACEOF
   7255 if ac_fn_c_try_compile "$LINENO"; then :
   7256   xorg_cv_cc_flag_unused_command_line_argument=yes
   7257 else
   7258   xorg_cv_cc_flag_unused_command_line_argument=no
   7259 fi
   7260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7261 fi
   7262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7263 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7264 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7265 	CFLAGS="$xorg_testset_save_CFLAGS"
   7266 fi
   7267 
   7268 found="no"
   7269 
   7270 	if test $found = "no" ; then
   7271 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7272 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7273 		fi
   7274 
   7275 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7276 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7277 		fi
   7278 
   7279 		CFLAGS="$CFLAGS -Werror=main"
   7280 
   7281 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7282 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7283 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=main" | $as_tr_sh`
   7284 		if eval \${$cacheid+:} false; then :
   7285   $as_echo_n "(cached) " >&6
   7286 else
   7287   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7288 /* end confdefs.h.  */
   7289 int i;
   7290 int
   7291 main ()
   7292 {
   7293 
   7294   ;
   7295   return 0;
   7296 }
   7297 _ACEOF
   7298 if ac_fn_c_try_link "$LINENO"; then :
   7299   eval $cacheid=yes
   7300 else
   7301   eval $cacheid=no
   7302 fi
   7303 rm -f core conftest.err conftest.$ac_objext \
   7304     conftest$ac_exeext conftest.$ac_ext
   7305 fi
   7306 
   7307 
   7308 		CFLAGS="$xorg_testset_save_CFLAGS"
   7309 
   7310 		eval supported=\$$cacheid
   7311 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7312 $as_echo "$supported" >&6; }
   7313 		if test "$supported" = "yes" ; then
   7314 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7315 			found="yes"
   7316 		fi
   7317 	fi
   7318 
   7319 
   7320 
   7321 
   7322 
   7323 
   7324 
   7325 
   7326 
   7327 
   7328 
   7329 
   7330 
   7331 
   7332 
   7333 xorg_testset_save_CFLAGS="$CFLAGS"
   7334 
   7335 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7336 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7337 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7338 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7339 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7340   $as_echo_n "(cached) " >&6
   7341 else
   7342   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7343 /* end confdefs.h.  */
   7344 int i;
   7345 _ACEOF
   7346 if ac_fn_c_try_compile "$LINENO"; then :
   7347   xorg_cv_cc_flag_unknown_warning_option=yes
   7348 else
   7349   xorg_cv_cc_flag_unknown_warning_option=no
   7350 fi
   7351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7352 fi
   7353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7354 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7355 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7356 	CFLAGS="$xorg_testset_save_CFLAGS"
   7357 fi
   7358 
   7359 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7360 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7361 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7362 	fi
   7363 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7364 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7365 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7366 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7367   $as_echo_n "(cached) " >&6
   7368 else
   7369   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7370 /* end confdefs.h.  */
   7371 int i;
   7372 _ACEOF
   7373 if ac_fn_c_try_compile "$LINENO"; then :
   7374   xorg_cv_cc_flag_unused_command_line_argument=yes
   7375 else
   7376   xorg_cv_cc_flag_unused_command_line_argument=no
   7377 fi
   7378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7379 fi
   7380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7381 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7382 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7383 	CFLAGS="$xorg_testset_save_CFLAGS"
   7384 fi
   7385 
   7386 found="no"
   7387 
   7388 	if test $found = "no" ; then
   7389 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7390 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7391 		fi
   7392 
   7393 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7394 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7395 		fi
   7396 
   7397 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7398 
   7399 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7400 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7401 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=missing-braces" | $as_tr_sh`
   7402 		if eval \${$cacheid+:} false; then :
   7403   $as_echo_n "(cached) " >&6
   7404 else
   7405   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7406 /* end confdefs.h.  */
   7407 int i;
   7408 int
   7409 main ()
   7410 {
   7411 
   7412   ;
   7413   return 0;
   7414 }
   7415 _ACEOF
   7416 if ac_fn_c_try_link "$LINENO"; then :
   7417   eval $cacheid=yes
   7418 else
   7419   eval $cacheid=no
   7420 fi
   7421 rm -f core conftest.err conftest.$ac_objext \
   7422     conftest$ac_exeext conftest.$ac_ext
   7423 fi
   7424 
   7425 
   7426 		CFLAGS="$xorg_testset_save_CFLAGS"
   7427 
   7428 		eval supported=\$$cacheid
   7429 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7430 $as_echo "$supported" >&6; }
   7431 		if test "$supported" = "yes" ; then
   7432 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7433 			found="yes"
   7434 		fi
   7435 	fi
   7436 
   7437 
   7438 
   7439 
   7440 
   7441 
   7442 
   7443 
   7444 
   7445 
   7446 
   7447 
   7448 
   7449 
   7450 
   7451 xorg_testset_save_CFLAGS="$CFLAGS"
   7452 
   7453 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7454 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7455 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7456 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7457 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7458   $as_echo_n "(cached) " >&6
   7459 else
   7460   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7461 /* end confdefs.h.  */
   7462 int i;
   7463 _ACEOF
   7464 if ac_fn_c_try_compile "$LINENO"; then :
   7465   xorg_cv_cc_flag_unknown_warning_option=yes
   7466 else
   7467   xorg_cv_cc_flag_unknown_warning_option=no
   7468 fi
   7469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7470 fi
   7471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7472 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7473 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7474 	CFLAGS="$xorg_testset_save_CFLAGS"
   7475 fi
   7476 
   7477 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7478 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7479 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7480 	fi
   7481 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7482 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7483 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7484 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7485   $as_echo_n "(cached) " >&6
   7486 else
   7487   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7488 /* end confdefs.h.  */
   7489 int i;
   7490 _ACEOF
   7491 if ac_fn_c_try_compile "$LINENO"; then :
   7492   xorg_cv_cc_flag_unused_command_line_argument=yes
   7493 else
   7494   xorg_cv_cc_flag_unused_command_line_argument=no
   7495 fi
   7496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7497 fi
   7498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7499 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7500 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7501 	CFLAGS="$xorg_testset_save_CFLAGS"
   7502 fi
   7503 
   7504 found="no"
   7505 
   7506 	if test $found = "no" ; then
   7507 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7508 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7509 		fi
   7510 
   7511 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7512 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7513 		fi
   7514 
   7515 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7516 
   7517 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7518 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7519 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=sequence-point" | $as_tr_sh`
   7520 		if eval \${$cacheid+:} false; then :
   7521   $as_echo_n "(cached) " >&6
   7522 else
   7523   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7524 /* end confdefs.h.  */
   7525 int i;
   7526 int
   7527 main ()
   7528 {
   7529 
   7530   ;
   7531   return 0;
   7532 }
   7533 _ACEOF
   7534 if ac_fn_c_try_link "$LINENO"; then :
   7535   eval $cacheid=yes
   7536 else
   7537   eval $cacheid=no
   7538 fi
   7539 rm -f core conftest.err conftest.$ac_objext \
   7540     conftest$ac_exeext conftest.$ac_ext
   7541 fi
   7542 
   7543 
   7544 		CFLAGS="$xorg_testset_save_CFLAGS"
   7545 
   7546 		eval supported=\$$cacheid
   7547 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7548 $as_echo "$supported" >&6; }
   7549 		if test "$supported" = "yes" ; then
   7550 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7551 			found="yes"
   7552 		fi
   7553 	fi
   7554 
   7555 
   7556 
   7557 
   7558 
   7559 
   7560 
   7561 
   7562 
   7563 
   7564 
   7565 
   7566 
   7567 
   7568 
   7569 xorg_testset_save_CFLAGS="$CFLAGS"
   7570 
   7571 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7572 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7573 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7574 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7575 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7576   $as_echo_n "(cached) " >&6
   7577 else
   7578   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7579 /* end confdefs.h.  */
   7580 int i;
   7581 _ACEOF
   7582 if ac_fn_c_try_compile "$LINENO"; then :
   7583   xorg_cv_cc_flag_unknown_warning_option=yes
   7584 else
   7585   xorg_cv_cc_flag_unknown_warning_option=no
   7586 fi
   7587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7588 fi
   7589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7590 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7591 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7592 	CFLAGS="$xorg_testset_save_CFLAGS"
   7593 fi
   7594 
   7595 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7596 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7597 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7598 	fi
   7599 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7600 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7601 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7602 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7603   $as_echo_n "(cached) " >&6
   7604 else
   7605   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7606 /* end confdefs.h.  */
   7607 int i;
   7608 _ACEOF
   7609 if ac_fn_c_try_compile "$LINENO"; then :
   7610   xorg_cv_cc_flag_unused_command_line_argument=yes
   7611 else
   7612   xorg_cv_cc_flag_unused_command_line_argument=no
   7613 fi
   7614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7615 fi
   7616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7617 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7618 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7619 	CFLAGS="$xorg_testset_save_CFLAGS"
   7620 fi
   7621 
   7622 found="no"
   7623 
   7624 	if test $found = "no" ; then
   7625 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7626 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7627 		fi
   7628 
   7629 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7630 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7631 		fi
   7632 
   7633 		CFLAGS="$CFLAGS -Werror=return-type"
   7634 
   7635 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7636 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7637 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=return-type" | $as_tr_sh`
   7638 		if eval \${$cacheid+:} false; then :
   7639   $as_echo_n "(cached) " >&6
   7640 else
   7641   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7642 /* end confdefs.h.  */
   7643 int i;
   7644 int
   7645 main ()
   7646 {
   7647 
   7648   ;
   7649   return 0;
   7650 }
   7651 _ACEOF
   7652 if ac_fn_c_try_link "$LINENO"; then :
   7653   eval $cacheid=yes
   7654 else
   7655   eval $cacheid=no
   7656 fi
   7657 rm -f core conftest.err conftest.$ac_objext \
   7658     conftest$ac_exeext conftest.$ac_ext
   7659 fi
   7660 
   7661 
   7662 		CFLAGS="$xorg_testset_save_CFLAGS"
   7663 
   7664 		eval supported=\$$cacheid
   7665 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7666 $as_echo "$supported" >&6; }
   7667 		if test "$supported" = "yes" ; then
   7668 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7669 			found="yes"
   7670 		fi
   7671 	fi
   7672 
   7673 	if test $found = "no" ; then
   7674 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7675 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7676 		fi
   7677 
   7678 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7679 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7680 		fi
   7681 
   7682 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7683 
   7684 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7685 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7686 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_FUNC_HAS_NO_RETURN_STMT" | $as_tr_sh`
   7687 		if eval \${$cacheid+:} false; then :
   7688   $as_echo_n "(cached) " >&6
   7689 else
   7690   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7691 /* end confdefs.h.  */
   7692 int i;
   7693 int
   7694 main ()
   7695 {
   7696 
   7697   ;
   7698   return 0;
   7699 }
   7700 _ACEOF
   7701 if ac_fn_c_try_link "$LINENO"; then :
   7702   eval $cacheid=yes
   7703 else
   7704   eval $cacheid=no
   7705 fi
   7706 rm -f core conftest.err conftest.$ac_objext \
   7707     conftest$ac_exeext conftest.$ac_ext
   7708 fi
   7709 
   7710 
   7711 		CFLAGS="$xorg_testset_save_CFLAGS"
   7712 
   7713 		eval supported=\$$cacheid
   7714 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7715 $as_echo "$supported" >&6; }
   7716 		if test "$supported" = "yes" ; then
   7717 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7718 			found="yes"
   7719 		fi
   7720 	fi
   7721 
   7722 
   7723 
   7724 
   7725 
   7726 
   7727 
   7728 
   7729 
   7730 
   7731 
   7732 
   7733 
   7734 
   7735 
   7736 xorg_testset_save_CFLAGS="$CFLAGS"
   7737 
   7738 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7739 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7740 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7741 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7742 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7743   $as_echo_n "(cached) " >&6
   7744 else
   7745   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7746 /* end confdefs.h.  */
   7747 int i;
   7748 _ACEOF
   7749 if ac_fn_c_try_compile "$LINENO"; then :
   7750   xorg_cv_cc_flag_unknown_warning_option=yes
   7751 else
   7752   xorg_cv_cc_flag_unknown_warning_option=no
   7753 fi
   7754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7755 fi
   7756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7757 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7758 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7759 	CFLAGS="$xorg_testset_save_CFLAGS"
   7760 fi
   7761 
   7762 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7763 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7764 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7765 	fi
   7766 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7767 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7768 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7769 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7770   $as_echo_n "(cached) " >&6
   7771 else
   7772   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7773 /* end confdefs.h.  */
   7774 int i;
   7775 _ACEOF
   7776 if ac_fn_c_try_compile "$LINENO"; then :
   7777   xorg_cv_cc_flag_unused_command_line_argument=yes
   7778 else
   7779   xorg_cv_cc_flag_unused_command_line_argument=no
   7780 fi
   7781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7782 fi
   7783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7784 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7785 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7786 	CFLAGS="$xorg_testset_save_CFLAGS"
   7787 fi
   7788 
   7789 found="no"
   7790 
   7791 	if test $found = "no" ; then
   7792 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7793 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7794 		fi
   7795 
   7796 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7797 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7798 		fi
   7799 
   7800 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7801 
   7802 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   7803 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   7804 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=trigraphs" | $as_tr_sh`
   7805 		if eval \${$cacheid+:} false; then :
   7806   $as_echo_n "(cached) " >&6
   7807 else
   7808   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7809 /* end confdefs.h.  */
   7810 int i;
   7811 int
   7812 main ()
   7813 {
   7814 
   7815   ;
   7816   return 0;
   7817 }
   7818 _ACEOF
   7819 if ac_fn_c_try_link "$LINENO"; then :
   7820   eval $cacheid=yes
   7821 else
   7822   eval $cacheid=no
   7823 fi
   7824 rm -f core conftest.err conftest.$ac_objext \
   7825     conftest$ac_exeext conftest.$ac_ext
   7826 fi
   7827 
   7828 
   7829 		CFLAGS="$xorg_testset_save_CFLAGS"
   7830 
   7831 		eval supported=\$$cacheid
   7832 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7833 $as_echo "$supported" >&6; }
   7834 		if test "$supported" = "yes" ; then
   7835 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   7836 			found="yes"
   7837 		fi
   7838 	fi
   7839 
   7840 
   7841 
   7842 
   7843 
   7844 
   7845 
   7846 
   7847 
   7848 
   7849 
   7850 
   7851 
   7852 
   7853 
   7854 xorg_testset_save_CFLAGS="$CFLAGS"
   7855 
   7856 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7857 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7858 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7859 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7860 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7861   $as_echo_n "(cached) " >&6
   7862 else
   7863   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7864 /* end confdefs.h.  */
   7865 int i;
   7866 _ACEOF
   7867 if ac_fn_c_try_compile "$LINENO"; then :
   7868   xorg_cv_cc_flag_unknown_warning_option=yes
   7869 else
   7870   xorg_cv_cc_flag_unknown_warning_option=no
   7871 fi
   7872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7873 fi
   7874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7875 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7876 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7877 	CFLAGS="$xorg_testset_save_CFLAGS"
   7878 fi
   7879 
   7880 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7881 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7882 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7883 	fi
   7884 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7885 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7886 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7887 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7888   $as_echo_n "(cached) " >&6
   7889 else
   7890   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7891 /* end confdefs.h.  */
   7892 int i;
   7893 _ACEOF
   7894 if ac_fn_c_try_compile "$LINENO"; then :
   7895   xorg_cv_cc_flag_unused_command_line_argument=yes
   7896 else
   7897   xorg_cv_cc_flag_unused_command_line_argument=no
   7898 fi
   7899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7900 fi
   7901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7902 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7903 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7904 	CFLAGS="$xorg_testset_save_CFLAGS"
   7905 fi
   7906 
   7907 found="no"
   7908 
   7909 	if test $found = "no" ; then
   7910 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7911 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7912 		fi
   7913 
   7914 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7915 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7916 		fi
   7917 
   7918 		CFLAGS="$CFLAGS -Werror=array-bounds"
   7919 
   7920 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   7921 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   7922 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=array-bounds" | $as_tr_sh`
   7923 		if eval \${$cacheid+:} false; then :
   7924   $as_echo_n "(cached) " >&6
   7925 else
   7926   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7927 /* end confdefs.h.  */
   7928 int i;
   7929 int
   7930 main ()
   7931 {
   7932 
   7933   ;
   7934   return 0;
   7935 }
   7936 _ACEOF
   7937 if ac_fn_c_try_link "$LINENO"; then :
   7938   eval $cacheid=yes
   7939 else
   7940   eval $cacheid=no
   7941 fi
   7942 rm -f core conftest.err conftest.$ac_objext \
   7943     conftest$ac_exeext conftest.$ac_ext
   7944 fi
   7945 
   7946 
   7947 		CFLAGS="$xorg_testset_save_CFLAGS"
   7948 
   7949 		eval supported=\$$cacheid
   7950 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7951 $as_echo "$supported" >&6; }
   7952 		if test "$supported" = "yes" ; then
   7953 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   7954 			found="yes"
   7955 		fi
   7956 	fi
   7957 
   7958 
   7959 
   7960 
   7961 
   7962 
   7963 
   7964 
   7965 
   7966 
   7967 
   7968 
   7969 
   7970 
   7971 
   7972 xorg_testset_save_CFLAGS="$CFLAGS"
   7973 
   7974 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7975 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7976 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7977 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7978 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7979   $as_echo_n "(cached) " >&6
   7980 else
   7981   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7982 /* end confdefs.h.  */
   7983 int i;
   7984 _ACEOF
   7985 if ac_fn_c_try_compile "$LINENO"; then :
   7986   xorg_cv_cc_flag_unknown_warning_option=yes
   7987 else
   7988   xorg_cv_cc_flag_unknown_warning_option=no
   7989 fi
   7990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7991 fi
   7992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7993 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7994 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7995 	CFLAGS="$xorg_testset_save_CFLAGS"
   7996 fi
   7997 
   7998 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7999 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8000 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8001 	fi
   8002 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8003 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8004 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8005 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8006   $as_echo_n "(cached) " >&6
   8007 else
   8008   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8009 /* end confdefs.h.  */
   8010 int i;
   8011 _ACEOF
   8012 if ac_fn_c_try_compile "$LINENO"; then :
   8013   xorg_cv_cc_flag_unused_command_line_argument=yes
   8014 else
   8015   xorg_cv_cc_flag_unused_command_line_argument=no
   8016 fi
   8017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8018 fi
   8019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8020 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8021 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8022 	CFLAGS="$xorg_testset_save_CFLAGS"
   8023 fi
   8024 
   8025 found="no"
   8026 
   8027 	if test $found = "no" ; then
   8028 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8029 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8030 		fi
   8031 
   8032 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8033 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8034 		fi
   8035 
   8036 		CFLAGS="$CFLAGS -Werror=write-strings"
   8037 
   8038 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8039 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   8040 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=write-strings" | $as_tr_sh`
   8041 		if eval \${$cacheid+:} false; then :
   8042   $as_echo_n "(cached) " >&6
   8043 else
   8044   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8045 /* end confdefs.h.  */
   8046 int i;
   8047 int
   8048 main ()
   8049 {
   8050 
   8051   ;
   8052   return 0;
   8053 }
   8054 _ACEOF
   8055 if ac_fn_c_try_link "$LINENO"; then :
   8056   eval $cacheid=yes
   8057 else
   8058   eval $cacheid=no
   8059 fi
   8060 rm -f core conftest.err conftest.$ac_objext \
   8061     conftest$ac_exeext conftest.$ac_ext
   8062 fi
   8063 
   8064 
   8065 		CFLAGS="$xorg_testset_save_CFLAGS"
   8066 
   8067 		eval supported=\$$cacheid
   8068 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8069 $as_echo "$supported" >&6; }
   8070 		if test "$supported" = "yes" ; then
   8071 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8072 			found="yes"
   8073 		fi
   8074 	fi
   8075 
   8076 
   8077 
   8078 
   8079 
   8080 
   8081 
   8082 
   8083 
   8084 
   8085 
   8086 
   8087 
   8088 
   8089 
   8090 xorg_testset_save_CFLAGS="$CFLAGS"
   8091 
   8092 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8093 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8094 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8095 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8096 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8097   $as_echo_n "(cached) " >&6
   8098 else
   8099   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8100 /* end confdefs.h.  */
   8101 int i;
   8102 _ACEOF
   8103 if ac_fn_c_try_compile "$LINENO"; then :
   8104   xorg_cv_cc_flag_unknown_warning_option=yes
   8105 else
   8106   xorg_cv_cc_flag_unknown_warning_option=no
   8107 fi
   8108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8109 fi
   8110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8111 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8112 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8113 	CFLAGS="$xorg_testset_save_CFLAGS"
   8114 fi
   8115 
   8116 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8117 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8118 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8119 	fi
   8120 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8121 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8122 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8123 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8124   $as_echo_n "(cached) " >&6
   8125 else
   8126   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8127 /* end confdefs.h.  */
   8128 int i;
   8129 _ACEOF
   8130 if ac_fn_c_try_compile "$LINENO"; then :
   8131   xorg_cv_cc_flag_unused_command_line_argument=yes
   8132 else
   8133   xorg_cv_cc_flag_unused_command_line_argument=no
   8134 fi
   8135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8136 fi
   8137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8138 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8139 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8140 	CFLAGS="$xorg_testset_save_CFLAGS"
   8141 fi
   8142 
   8143 found="no"
   8144 
   8145 	if test $found = "no" ; then
   8146 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8147 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8148 		fi
   8149 
   8150 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8151 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8152 		fi
   8153 
   8154 		CFLAGS="$CFLAGS -Werror=address"
   8155 
   8156 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8157 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8158 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=address" | $as_tr_sh`
   8159 		if eval \${$cacheid+:} false; then :
   8160   $as_echo_n "(cached) " >&6
   8161 else
   8162   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8163 /* end confdefs.h.  */
   8164 int i;
   8165 int
   8166 main ()
   8167 {
   8168 
   8169   ;
   8170   return 0;
   8171 }
   8172 _ACEOF
   8173 if ac_fn_c_try_link "$LINENO"; then :
   8174   eval $cacheid=yes
   8175 else
   8176   eval $cacheid=no
   8177 fi
   8178 rm -f core conftest.err conftest.$ac_objext \
   8179     conftest$ac_exeext conftest.$ac_ext
   8180 fi
   8181 
   8182 
   8183 		CFLAGS="$xorg_testset_save_CFLAGS"
   8184 
   8185 		eval supported=\$$cacheid
   8186 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8187 $as_echo "$supported" >&6; }
   8188 		if test "$supported" = "yes" ; then
   8189 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8190 			found="yes"
   8191 		fi
   8192 	fi
   8193 
   8194 
   8195 
   8196 
   8197 
   8198 
   8199 
   8200 
   8201 
   8202 
   8203 
   8204 
   8205 
   8206 
   8207 
   8208 xorg_testset_save_CFLAGS="$CFLAGS"
   8209 
   8210 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8211 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8212 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8213 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8214 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8215   $as_echo_n "(cached) " >&6
   8216 else
   8217   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8218 /* end confdefs.h.  */
   8219 int i;
   8220 _ACEOF
   8221 if ac_fn_c_try_compile "$LINENO"; then :
   8222   xorg_cv_cc_flag_unknown_warning_option=yes
   8223 else
   8224   xorg_cv_cc_flag_unknown_warning_option=no
   8225 fi
   8226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8227 fi
   8228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8229 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8230 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8231 	CFLAGS="$xorg_testset_save_CFLAGS"
   8232 fi
   8233 
   8234 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8235 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8236 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8237 	fi
   8238 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8239 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8240 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8241 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8242   $as_echo_n "(cached) " >&6
   8243 else
   8244   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8245 /* end confdefs.h.  */
   8246 int i;
   8247 _ACEOF
   8248 if ac_fn_c_try_compile "$LINENO"; then :
   8249   xorg_cv_cc_flag_unused_command_line_argument=yes
   8250 else
   8251   xorg_cv_cc_flag_unused_command_line_argument=no
   8252 fi
   8253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8254 fi
   8255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8256 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8257 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8258 	CFLAGS="$xorg_testset_save_CFLAGS"
   8259 fi
   8260 
   8261 found="no"
   8262 
   8263 	if test $found = "no" ; then
   8264 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8265 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8266 		fi
   8267 
   8268 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8269 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8270 		fi
   8271 
   8272 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8273 
   8274 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8275 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8276 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=int-to-pointer-cast" | $as_tr_sh`
   8277 		if eval \${$cacheid+:} false; then :
   8278   $as_echo_n "(cached) " >&6
   8279 else
   8280   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8281 /* end confdefs.h.  */
   8282 int i;
   8283 int
   8284 main ()
   8285 {
   8286 
   8287   ;
   8288   return 0;
   8289 }
   8290 _ACEOF
   8291 if ac_fn_c_try_link "$LINENO"; then :
   8292   eval $cacheid=yes
   8293 else
   8294   eval $cacheid=no
   8295 fi
   8296 rm -f core conftest.err conftest.$ac_objext \
   8297     conftest$ac_exeext conftest.$ac_ext
   8298 fi
   8299 
   8300 
   8301 		CFLAGS="$xorg_testset_save_CFLAGS"
   8302 
   8303 		eval supported=\$$cacheid
   8304 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8305 $as_echo "$supported" >&6; }
   8306 		if test "$supported" = "yes" ; then
   8307 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8308 			found="yes"
   8309 		fi
   8310 	fi
   8311 
   8312 	if test $found = "no" ; then
   8313 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8314 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8315 		fi
   8316 
   8317 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8318 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8319 		fi
   8320 
   8321 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8322 
   8323 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8324 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8325 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_BAD_PTR_INT_COMBINATION" | $as_tr_sh`
   8326 		if eval \${$cacheid+:} false; then :
   8327   $as_echo_n "(cached) " >&6
   8328 else
   8329   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8330 /* end confdefs.h.  */
   8331 int i;
   8332 int
   8333 main ()
   8334 {
   8335 
   8336   ;
   8337   return 0;
   8338 }
   8339 _ACEOF
   8340 if ac_fn_c_try_link "$LINENO"; then :
   8341   eval $cacheid=yes
   8342 else
   8343   eval $cacheid=no
   8344 fi
   8345 rm -f core conftest.err conftest.$ac_objext \
   8346     conftest$ac_exeext conftest.$ac_ext
   8347 fi
   8348 
   8349 
   8350 		CFLAGS="$xorg_testset_save_CFLAGS"
   8351 
   8352 		eval supported=\$$cacheid
   8353 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8354 $as_echo "$supported" >&6; }
   8355 		if test "$supported" = "yes" ; then
   8356 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8357 			found="yes"
   8358 		fi
   8359 	fi
   8360 
   8361 
   8362 
   8363 
   8364 
   8365 
   8366 
   8367 
   8368 
   8369 
   8370 
   8371 
   8372 
   8373 
   8374 
   8375 xorg_testset_save_CFLAGS="$CFLAGS"
   8376 
   8377 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8378 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8379 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8380 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8381 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8382   $as_echo_n "(cached) " >&6
   8383 else
   8384   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8385 /* end confdefs.h.  */
   8386 int i;
   8387 _ACEOF
   8388 if ac_fn_c_try_compile "$LINENO"; then :
   8389   xorg_cv_cc_flag_unknown_warning_option=yes
   8390 else
   8391   xorg_cv_cc_flag_unknown_warning_option=no
   8392 fi
   8393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8394 fi
   8395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8396 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8397 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8398 	CFLAGS="$xorg_testset_save_CFLAGS"
   8399 fi
   8400 
   8401 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8402 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8403 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8404 	fi
   8405 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8406 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8407 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8408 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8409   $as_echo_n "(cached) " >&6
   8410 else
   8411   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8412 /* end confdefs.h.  */
   8413 int i;
   8414 _ACEOF
   8415 if ac_fn_c_try_compile "$LINENO"; then :
   8416   xorg_cv_cc_flag_unused_command_line_argument=yes
   8417 else
   8418   xorg_cv_cc_flag_unused_command_line_argument=no
   8419 fi
   8420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8421 fi
   8422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8423 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8424 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8425 	CFLAGS="$xorg_testset_save_CFLAGS"
   8426 fi
   8427 
   8428 found="no"
   8429 
   8430 	if test $found = "no" ; then
   8431 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8432 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8433 		fi
   8434 
   8435 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8436 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8437 		fi
   8438 
   8439 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8440 
   8441 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8442 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8443 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=pointer-to-int-cast" | $as_tr_sh`
   8444 		if eval \${$cacheid+:} false; then :
   8445   $as_echo_n "(cached) " >&6
   8446 else
   8447   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8448 /* end confdefs.h.  */
   8449 int i;
   8450 int
   8451 main ()
   8452 {
   8453 
   8454   ;
   8455   return 0;
   8456 }
   8457 _ACEOF
   8458 if ac_fn_c_try_link "$LINENO"; then :
   8459   eval $cacheid=yes
   8460 else
   8461   eval $cacheid=no
   8462 fi
   8463 rm -f core conftest.err conftest.$ac_objext \
   8464     conftest$ac_exeext conftest.$ac_ext
   8465 fi
   8466 
   8467 
   8468 		CFLAGS="$xorg_testset_save_CFLAGS"
   8469 
   8470 		eval supported=\$$cacheid
   8471 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8472 $as_echo "$supported" >&6; }
   8473 		if test "$supported" = "yes" ; then
   8474 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8475 			found="yes"
   8476 		fi
   8477 	fi
   8478 
   8479  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8480 else
   8481 { $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
   8482 $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;}
   8483 
   8484 
   8485 
   8486 
   8487 
   8488 
   8489 
   8490 
   8491 
   8492 
   8493 
   8494 
   8495 
   8496 xorg_testset_save_CFLAGS="$CFLAGS"
   8497 
   8498 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8499 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8500 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8501 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8502 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8503   $as_echo_n "(cached) " >&6
   8504 else
   8505   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8506 /* end confdefs.h.  */
   8507 int i;
   8508 _ACEOF
   8509 if ac_fn_c_try_compile "$LINENO"; then :
   8510   xorg_cv_cc_flag_unknown_warning_option=yes
   8511 else
   8512   xorg_cv_cc_flag_unknown_warning_option=no
   8513 fi
   8514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8515 fi
   8516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8517 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8518 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8519 	CFLAGS="$xorg_testset_save_CFLAGS"
   8520 fi
   8521 
   8522 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8523 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8524 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8525 	fi
   8526 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8527 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8528 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8529 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8530   $as_echo_n "(cached) " >&6
   8531 else
   8532   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8533 /* end confdefs.h.  */
   8534 int i;
   8535 _ACEOF
   8536 if ac_fn_c_try_compile "$LINENO"; then :
   8537   xorg_cv_cc_flag_unused_command_line_argument=yes
   8538 else
   8539   xorg_cv_cc_flag_unused_command_line_argument=no
   8540 fi
   8541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8542 fi
   8543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8544 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8545 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8546 	CFLAGS="$xorg_testset_save_CFLAGS"
   8547 fi
   8548 
   8549 found="no"
   8550 
   8551 	if test $found = "no" ; then
   8552 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8553 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8554 		fi
   8555 
   8556 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8557 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8558 		fi
   8559 
   8560 		CFLAGS="$CFLAGS -Wimplicit"
   8561 
   8562 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8563 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8564 		cacheid=xorg_cv_cc_flag__Wimplicit
   8565 		if eval \${$cacheid+:} false; then :
   8566   $as_echo_n "(cached) " >&6
   8567 else
   8568   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8569 /* end confdefs.h.  */
   8570 int i;
   8571 int
   8572 main ()
   8573 {
   8574 
   8575   ;
   8576   return 0;
   8577 }
   8578 _ACEOF
   8579 if ac_fn_c_try_link "$LINENO"; then :
   8580   eval $cacheid=yes
   8581 else
   8582   eval $cacheid=no
   8583 fi
   8584 rm -f core conftest.err conftest.$ac_objext \
   8585     conftest$ac_exeext conftest.$ac_ext
   8586 fi
   8587 
   8588 
   8589 		CFLAGS="$xorg_testset_save_CFLAGS"
   8590 
   8591 		eval supported=\$$cacheid
   8592 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8593 $as_echo "$supported" >&6; }
   8594 		if test "$supported" = "yes" ; then
   8595 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8596 			found="yes"
   8597 		fi
   8598 	fi
   8599 
   8600 
   8601 
   8602 
   8603 
   8604 
   8605 
   8606 
   8607 
   8608 
   8609 
   8610 
   8611 
   8612 
   8613 
   8614 xorg_testset_save_CFLAGS="$CFLAGS"
   8615 
   8616 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8617 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8618 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8619 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8620 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8621   $as_echo_n "(cached) " >&6
   8622 else
   8623   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8624 /* end confdefs.h.  */
   8625 int i;
   8626 _ACEOF
   8627 if ac_fn_c_try_compile "$LINENO"; then :
   8628   xorg_cv_cc_flag_unknown_warning_option=yes
   8629 else
   8630   xorg_cv_cc_flag_unknown_warning_option=no
   8631 fi
   8632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8633 fi
   8634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8635 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8636 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8637 	CFLAGS="$xorg_testset_save_CFLAGS"
   8638 fi
   8639 
   8640 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8641 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8642 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8643 	fi
   8644 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8645 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8646 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8647 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8648   $as_echo_n "(cached) " >&6
   8649 else
   8650   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8651 /* end confdefs.h.  */
   8652 int i;
   8653 _ACEOF
   8654 if ac_fn_c_try_compile "$LINENO"; then :
   8655   xorg_cv_cc_flag_unused_command_line_argument=yes
   8656 else
   8657   xorg_cv_cc_flag_unused_command_line_argument=no
   8658 fi
   8659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8660 fi
   8661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8662 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8663 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8664 	CFLAGS="$xorg_testset_save_CFLAGS"
   8665 fi
   8666 
   8667 found="no"
   8668 
   8669 	if test $found = "no" ; then
   8670 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8671 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8672 		fi
   8673 
   8674 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8675 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8676 		fi
   8677 
   8678 		CFLAGS="$CFLAGS -Wnonnull"
   8679 
   8680 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8681 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8682 		cacheid=xorg_cv_cc_flag__Wnonnull
   8683 		if eval \${$cacheid+:} false; then :
   8684   $as_echo_n "(cached) " >&6
   8685 else
   8686   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8687 /* end confdefs.h.  */
   8688 int i;
   8689 int
   8690 main ()
   8691 {
   8692 
   8693   ;
   8694   return 0;
   8695 }
   8696 _ACEOF
   8697 if ac_fn_c_try_link "$LINENO"; then :
   8698   eval $cacheid=yes
   8699 else
   8700   eval $cacheid=no
   8701 fi
   8702 rm -f core conftest.err conftest.$ac_objext \
   8703     conftest$ac_exeext conftest.$ac_ext
   8704 fi
   8705 
   8706 
   8707 		CFLAGS="$xorg_testset_save_CFLAGS"
   8708 
   8709 		eval supported=\$$cacheid
   8710 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8711 $as_echo "$supported" >&6; }
   8712 		if test "$supported" = "yes" ; then
   8713 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8714 			found="yes"
   8715 		fi
   8716 	fi
   8717 
   8718 
   8719 
   8720 
   8721 
   8722 
   8723 
   8724 
   8725 
   8726 
   8727 
   8728 
   8729 
   8730 
   8731 
   8732 xorg_testset_save_CFLAGS="$CFLAGS"
   8733 
   8734 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8735 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8736 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8737 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8738 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8739   $as_echo_n "(cached) " >&6
   8740 else
   8741   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8742 /* end confdefs.h.  */
   8743 int i;
   8744 _ACEOF
   8745 if ac_fn_c_try_compile "$LINENO"; then :
   8746   xorg_cv_cc_flag_unknown_warning_option=yes
   8747 else
   8748   xorg_cv_cc_flag_unknown_warning_option=no
   8749 fi
   8750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8751 fi
   8752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8753 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8754 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8755 	CFLAGS="$xorg_testset_save_CFLAGS"
   8756 fi
   8757 
   8758 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8759 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8760 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8761 	fi
   8762 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8763 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8764 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8765 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8766   $as_echo_n "(cached) " >&6
   8767 else
   8768   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8769 /* end confdefs.h.  */
   8770 int i;
   8771 _ACEOF
   8772 if ac_fn_c_try_compile "$LINENO"; then :
   8773   xorg_cv_cc_flag_unused_command_line_argument=yes
   8774 else
   8775   xorg_cv_cc_flag_unused_command_line_argument=no
   8776 fi
   8777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8778 fi
   8779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8780 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8781 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8782 	CFLAGS="$xorg_testset_save_CFLAGS"
   8783 fi
   8784 
   8785 found="no"
   8786 
   8787 	if test $found = "no" ; then
   8788 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8789 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8790 		fi
   8791 
   8792 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8793 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8794 		fi
   8795 
   8796 		CFLAGS="$CFLAGS -Winit-self"
   8797 
   8798 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   8799 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   8800 		cacheid=xorg_cv_cc_flag__Winit_self
   8801 		if eval \${$cacheid+:} false; then :
   8802   $as_echo_n "(cached) " >&6
   8803 else
   8804   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8805 /* end confdefs.h.  */
   8806 int i;
   8807 int
   8808 main ()
   8809 {
   8810 
   8811   ;
   8812   return 0;
   8813 }
   8814 _ACEOF
   8815 if ac_fn_c_try_link "$LINENO"; then :
   8816   eval $cacheid=yes
   8817 else
   8818   eval $cacheid=no
   8819 fi
   8820 rm -f core conftest.err conftest.$ac_objext \
   8821     conftest$ac_exeext conftest.$ac_ext
   8822 fi
   8823 
   8824 
   8825 		CFLAGS="$xorg_testset_save_CFLAGS"
   8826 
   8827 		eval supported=\$$cacheid
   8828 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8829 $as_echo "$supported" >&6; }
   8830 		if test "$supported" = "yes" ; then
   8831 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   8832 			found="yes"
   8833 		fi
   8834 	fi
   8835 
   8836 
   8837 
   8838 
   8839 
   8840 
   8841 
   8842 
   8843 
   8844 
   8845 
   8846 
   8847 
   8848 
   8849 
   8850 xorg_testset_save_CFLAGS="$CFLAGS"
   8851 
   8852 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8853 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8854 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8855 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8856 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8857   $as_echo_n "(cached) " >&6
   8858 else
   8859   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8860 /* end confdefs.h.  */
   8861 int i;
   8862 _ACEOF
   8863 if ac_fn_c_try_compile "$LINENO"; then :
   8864   xorg_cv_cc_flag_unknown_warning_option=yes
   8865 else
   8866   xorg_cv_cc_flag_unknown_warning_option=no
   8867 fi
   8868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8869 fi
   8870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8871 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8872 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8873 	CFLAGS="$xorg_testset_save_CFLAGS"
   8874 fi
   8875 
   8876 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8877 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8878 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8879 	fi
   8880 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8881 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8882 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8883 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8884   $as_echo_n "(cached) " >&6
   8885 else
   8886   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8887 /* end confdefs.h.  */
   8888 int i;
   8889 _ACEOF
   8890 if ac_fn_c_try_compile "$LINENO"; then :
   8891   xorg_cv_cc_flag_unused_command_line_argument=yes
   8892 else
   8893   xorg_cv_cc_flag_unused_command_line_argument=no
   8894 fi
   8895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8896 fi
   8897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8898 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8899 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8900 	CFLAGS="$xorg_testset_save_CFLAGS"
   8901 fi
   8902 
   8903 found="no"
   8904 
   8905 	if test $found = "no" ; then
   8906 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8907 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8908 		fi
   8909 
   8910 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8911 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8912 		fi
   8913 
   8914 		CFLAGS="$CFLAGS -Wmain"
   8915 
   8916 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   8917 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   8918 		cacheid=xorg_cv_cc_flag__Wmain
   8919 		if eval \${$cacheid+:} false; then :
   8920   $as_echo_n "(cached) " >&6
   8921 else
   8922   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8923 /* end confdefs.h.  */
   8924 int i;
   8925 int
   8926 main ()
   8927 {
   8928 
   8929   ;
   8930   return 0;
   8931 }
   8932 _ACEOF
   8933 if ac_fn_c_try_link "$LINENO"; then :
   8934   eval $cacheid=yes
   8935 else
   8936   eval $cacheid=no
   8937 fi
   8938 rm -f core conftest.err conftest.$ac_objext \
   8939     conftest$ac_exeext conftest.$ac_ext
   8940 fi
   8941 
   8942 
   8943 		CFLAGS="$xorg_testset_save_CFLAGS"
   8944 
   8945 		eval supported=\$$cacheid
   8946 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8947 $as_echo "$supported" >&6; }
   8948 		if test "$supported" = "yes" ; then
   8949 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   8950 			found="yes"
   8951 		fi
   8952 	fi
   8953 
   8954 
   8955 
   8956 
   8957 
   8958 
   8959 
   8960 
   8961 
   8962 
   8963 
   8964 
   8965 
   8966 
   8967 
   8968 xorg_testset_save_CFLAGS="$CFLAGS"
   8969 
   8970 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8971 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8972 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8973 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8974 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8975   $as_echo_n "(cached) " >&6
   8976 else
   8977   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8978 /* end confdefs.h.  */
   8979 int i;
   8980 _ACEOF
   8981 if ac_fn_c_try_compile "$LINENO"; then :
   8982   xorg_cv_cc_flag_unknown_warning_option=yes
   8983 else
   8984   xorg_cv_cc_flag_unknown_warning_option=no
   8985 fi
   8986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8987 fi
   8988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8989 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8990 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8991 	CFLAGS="$xorg_testset_save_CFLAGS"
   8992 fi
   8993 
   8994 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8995 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8996 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8997 	fi
   8998 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8999 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9000 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9001 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9002   $as_echo_n "(cached) " >&6
   9003 else
   9004   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9005 /* end confdefs.h.  */
   9006 int i;
   9007 _ACEOF
   9008 if ac_fn_c_try_compile "$LINENO"; then :
   9009   xorg_cv_cc_flag_unused_command_line_argument=yes
   9010 else
   9011   xorg_cv_cc_flag_unused_command_line_argument=no
   9012 fi
   9013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9014 fi
   9015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9016 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9017 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9018 	CFLAGS="$xorg_testset_save_CFLAGS"
   9019 fi
   9020 
   9021 found="no"
   9022 
   9023 	if test $found = "no" ; then
   9024 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9025 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9026 		fi
   9027 
   9028 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9029 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9030 		fi
   9031 
   9032 		CFLAGS="$CFLAGS -Wmissing-braces"
   9033 
   9034 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9035 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   9036 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9037 		if eval \${$cacheid+:} false; then :
   9038   $as_echo_n "(cached) " >&6
   9039 else
   9040   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9041 /* end confdefs.h.  */
   9042 int i;
   9043 int
   9044 main ()
   9045 {
   9046 
   9047   ;
   9048   return 0;
   9049 }
   9050 _ACEOF
   9051 if ac_fn_c_try_link "$LINENO"; then :
   9052   eval $cacheid=yes
   9053 else
   9054   eval $cacheid=no
   9055 fi
   9056 rm -f core conftest.err conftest.$ac_objext \
   9057     conftest$ac_exeext conftest.$ac_ext
   9058 fi
   9059 
   9060 
   9061 		CFLAGS="$xorg_testset_save_CFLAGS"
   9062 
   9063 		eval supported=\$$cacheid
   9064 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9065 $as_echo "$supported" >&6; }
   9066 		if test "$supported" = "yes" ; then
   9067 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9068 			found="yes"
   9069 		fi
   9070 	fi
   9071 
   9072 
   9073 
   9074 
   9075 
   9076 
   9077 
   9078 
   9079 
   9080 
   9081 
   9082 
   9083 
   9084 
   9085 
   9086 xorg_testset_save_CFLAGS="$CFLAGS"
   9087 
   9088 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9089 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9090 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9091 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9092 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9093   $as_echo_n "(cached) " >&6
   9094 else
   9095   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9096 /* end confdefs.h.  */
   9097 int i;
   9098 _ACEOF
   9099 if ac_fn_c_try_compile "$LINENO"; then :
   9100   xorg_cv_cc_flag_unknown_warning_option=yes
   9101 else
   9102   xorg_cv_cc_flag_unknown_warning_option=no
   9103 fi
   9104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9105 fi
   9106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9107 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9108 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9109 	CFLAGS="$xorg_testset_save_CFLAGS"
   9110 fi
   9111 
   9112 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9113 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9114 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9115 	fi
   9116 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9117 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9118 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9119 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9120   $as_echo_n "(cached) " >&6
   9121 else
   9122   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9123 /* end confdefs.h.  */
   9124 int i;
   9125 _ACEOF
   9126 if ac_fn_c_try_compile "$LINENO"; then :
   9127   xorg_cv_cc_flag_unused_command_line_argument=yes
   9128 else
   9129   xorg_cv_cc_flag_unused_command_line_argument=no
   9130 fi
   9131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9132 fi
   9133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9134 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9135 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9136 	CFLAGS="$xorg_testset_save_CFLAGS"
   9137 fi
   9138 
   9139 found="no"
   9140 
   9141 	if test $found = "no" ; then
   9142 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9143 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9144 		fi
   9145 
   9146 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9147 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9148 		fi
   9149 
   9150 		CFLAGS="$CFLAGS -Wsequence-point"
   9151 
   9152 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9153 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9154 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9155 		if eval \${$cacheid+:} false; then :
   9156   $as_echo_n "(cached) " >&6
   9157 else
   9158   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9159 /* end confdefs.h.  */
   9160 int i;
   9161 int
   9162 main ()
   9163 {
   9164 
   9165   ;
   9166   return 0;
   9167 }
   9168 _ACEOF
   9169 if ac_fn_c_try_link "$LINENO"; then :
   9170   eval $cacheid=yes
   9171 else
   9172   eval $cacheid=no
   9173 fi
   9174 rm -f core conftest.err conftest.$ac_objext \
   9175     conftest$ac_exeext conftest.$ac_ext
   9176 fi
   9177 
   9178 
   9179 		CFLAGS="$xorg_testset_save_CFLAGS"
   9180 
   9181 		eval supported=\$$cacheid
   9182 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9183 $as_echo "$supported" >&6; }
   9184 		if test "$supported" = "yes" ; then
   9185 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9186 			found="yes"
   9187 		fi
   9188 	fi
   9189 
   9190 
   9191 
   9192 
   9193 
   9194 
   9195 
   9196 
   9197 
   9198 
   9199 
   9200 
   9201 
   9202 
   9203 
   9204 xorg_testset_save_CFLAGS="$CFLAGS"
   9205 
   9206 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9207 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9208 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9209 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9210 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9211   $as_echo_n "(cached) " >&6
   9212 else
   9213   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9214 /* end confdefs.h.  */
   9215 int i;
   9216 _ACEOF
   9217 if ac_fn_c_try_compile "$LINENO"; then :
   9218   xorg_cv_cc_flag_unknown_warning_option=yes
   9219 else
   9220   xorg_cv_cc_flag_unknown_warning_option=no
   9221 fi
   9222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9223 fi
   9224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9225 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9226 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9227 	CFLAGS="$xorg_testset_save_CFLAGS"
   9228 fi
   9229 
   9230 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9231 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9232 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9233 	fi
   9234 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9235 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9236 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9237 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9238   $as_echo_n "(cached) " >&6
   9239 else
   9240   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9241 /* end confdefs.h.  */
   9242 int i;
   9243 _ACEOF
   9244 if ac_fn_c_try_compile "$LINENO"; then :
   9245   xorg_cv_cc_flag_unused_command_line_argument=yes
   9246 else
   9247   xorg_cv_cc_flag_unused_command_line_argument=no
   9248 fi
   9249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9250 fi
   9251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9252 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9253 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9254 	CFLAGS="$xorg_testset_save_CFLAGS"
   9255 fi
   9256 
   9257 found="no"
   9258 
   9259 	if test $found = "no" ; then
   9260 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9261 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9262 		fi
   9263 
   9264 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9265 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9266 		fi
   9267 
   9268 		CFLAGS="$CFLAGS -Wreturn-type"
   9269 
   9270 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9271 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9272 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9273 		if eval \${$cacheid+:} false; then :
   9274   $as_echo_n "(cached) " >&6
   9275 else
   9276   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9277 /* end confdefs.h.  */
   9278 int i;
   9279 int
   9280 main ()
   9281 {
   9282 
   9283   ;
   9284   return 0;
   9285 }
   9286 _ACEOF
   9287 if ac_fn_c_try_link "$LINENO"; then :
   9288   eval $cacheid=yes
   9289 else
   9290   eval $cacheid=no
   9291 fi
   9292 rm -f core conftest.err conftest.$ac_objext \
   9293     conftest$ac_exeext conftest.$ac_ext
   9294 fi
   9295 
   9296 
   9297 		CFLAGS="$xorg_testset_save_CFLAGS"
   9298 
   9299 		eval supported=\$$cacheid
   9300 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9301 $as_echo "$supported" >&6; }
   9302 		if test "$supported" = "yes" ; then
   9303 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9304 			found="yes"
   9305 		fi
   9306 	fi
   9307 
   9308 
   9309 
   9310 
   9311 
   9312 
   9313 
   9314 
   9315 
   9316 
   9317 
   9318 
   9319 
   9320 
   9321 
   9322 xorg_testset_save_CFLAGS="$CFLAGS"
   9323 
   9324 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9325 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9326 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9327 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9328 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9329   $as_echo_n "(cached) " >&6
   9330 else
   9331   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9332 /* end confdefs.h.  */
   9333 int i;
   9334 _ACEOF
   9335 if ac_fn_c_try_compile "$LINENO"; then :
   9336   xorg_cv_cc_flag_unknown_warning_option=yes
   9337 else
   9338   xorg_cv_cc_flag_unknown_warning_option=no
   9339 fi
   9340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9341 fi
   9342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9343 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9344 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9345 	CFLAGS="$xorg_testset_save_CFLAGS"
   9346 fi
   9347 
   9348 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9349 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9350 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9351 	fi
   9352 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9353 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9354 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9355 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9356   $as_echo_n "(cached) " >&6
   9357 else
   9358   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9359 /* end confdefs.h.  */
   9360 int i;
   9361 _ACEOF
   9362 if ac_fn_c_try_compile "$LINENO"; then :
   9363   xorg_cv_cc_flag_unused_command_line_argument=yes
   9364 else
   9365   xorg_cv_cc_flag_unused_command_line_argument=no
   9366 fi
   9367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9368 fi
   9369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9370 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9371 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9372 	CFLAGS="$xorg_testset_save_CFLAGS"
   9373 fi
   9374 
   9375 found="no"
   9376 
   9377 	if test $found = "no" ; then
   9378 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9379 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9380 		fi
   9381 
   9382 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9383 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9384 		fi
   9385 
   9386 		CFLAGS="$CFLAGS -Wtrigraphs"
   9387 
   9388 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9389 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9390 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9391 		if eval \${$cacheid+:} false; then :
   9392   $as_echo_n "(cached) " >&6
   9393 else
   9394   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9395 /* end confdefs.h.  */
   9396 int i;
   9397 int
   9398 main ()
   9399 {
   9400 
   9401   ;
   9402   return 0;
   9403 }
   9404 _ACEOF
   9405 if ac_fn_c_try_link "$LINENO"; then :
   9406   eval $cacheid=yes
   9407 else
   9408   eval $cacheid=no
   9409 fi
   9410 rm -f core conftest.err conftest.$ac_objext \
   9411     conftest$ac_exeext conftest.$ac_ext
   9412 fi
   9413 
   9414 
   9415 		CFLAGS="$xorg_testset_save_CFLAGS"
   9416 
   9417 		eval supported=\$$cacheid
   9418 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9419 $as_echo "$supported" >&6; }
   9420 		if test "$supported" = "yes" ; then
   9421 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9422 			found="yes"
   9423 		fi
   9424 	fi
   9425 
   9426 
   9427 
   9428 
   9429 
   9430 
   9431 
   9432 
   9433 
   9434 
   9435 
   9436 
   9437 
   9438 
   9439 
   9440 xorg_testset_save_CFLAGS="$CFLAGS"
   9441 
   9442 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9443 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9444 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9445 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9446 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9447   $as_echo_n "(cached) " >&6
   9448 else
   9449   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9450 /* end confdefs.h.  */
   9451 int i;
   9452 _ACEOF
   9453 if ac_fn_c_try_compile "$LINENO"; then :
   9454   xorg_cv_cc_flag_unknown_warning_option=yes
   9455 else
   9456   xorg_cv_cc_flag_unknown_warning_option=no
   9457 fi
   9458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9459 fi
   9460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9461 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9462 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9463 	CFLAGS="$xorg_testset_save_CFLAGS"
   9464 fi
   9465 
   9466 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9467 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9468 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9469 	fi
   9470 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9471 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9472 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9473 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9474   $as_echo_n "(cached) " >&6
   9475 else
   9476   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9477 /* end confdefs.h.  */
   9478 int i;
   9479 _ACEOF
   9480 if ac_fn_c_try_compile "$LINENO"; then :
   9481   xorg_cv_cc_flag_unused_command_line_argument=yes
   9482 else
   9483   xorg_cv_cc_flag_unused_command_line_argument=no
   9484 fi
   9485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9486 fi
   9487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9488 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9489 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9490 	CFLAGS="$xorg_testset_save_CFLAGS"
   9491 fi
   9492 
   9493 found="no"
   9494 
   9495 	if test $found = "no" ; then
   9496 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9497 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9498 		fi
   9499 
   9500 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9501 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9502 		fi
   9503 
   9504 		CFLAGS="$CFLAGS -Warray-bounds"
   9505 
   9506 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9507 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9508 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9509 		if eval \${$cacheid+:} false; then :
   9510   $as_echo_n "(cached) " >&6
   9511 else
   9512   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9513 /* end confdefs.h.  */
   9514 int i;
   9515 int
   9516 main ()
   9517 {
   9518 
   9519   ;
   9520   return 0;
   9521 }
   9522 _ACEOF
   9523 if ac_fn_c_try_link "$LINENO"; then :
   9524   eval $cacheid=yes
   9525 else
   9526   eval $cacheid=no
   9527 fi
   9528 rm -f core conftest.err conftest.$ac_objext \
   9529     conftest$ac_exeext conftest.$ac_ext
   9530 fi
   9531 
   9532 
   9533 		CFLAGS="$xorg_testset_save_CFLAGS"
   9534 
   9535 		eval supported=\$$cacheid
   9536 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9537 $as_echo "$supported" >&6; }
   9538 		if test "$supported" = "yes" ; then
   9539 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9540 			found="yes"
   9541 		fi
   9542 	fi
   9543 
   9544 
   9545 
   9546 
   9547 
   9548 
   9549 
   9550 
   9551 
   9552 
   9553 
   9554 
   9555 
   9556 
   9557 
   9558 xorg_testset_save_CFLAGS="$CFLAGS"
   9559 
   9560 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9561 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9562 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9563 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9564 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9565   $as_echo_n "(cached) " >&6
   9566 else
   9567   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9568 /* end confdefs.h.  */
   9569 int i;
   9570 _ACEOF
   9571 if ac_fn_c_try_compile "$LINENO"; then :
   9572   xorg_cv_cc_flag_unknown_warning_option=yes
   9573 else
   9574   xorg_cv_cc_flag_unknown_warning_option=no
   9575 fi
   9576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9577 fi
   9578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9579 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9580 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9581 	CFLAGS="$xorg_testset_save_CFLAGS"
   9582 fi
   9583 
   9584 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9585 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9586 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9587 	fi
   9588 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9589 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9590 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9591 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9592   $as_echo_n "(cached) " >&6
   9593 else
   9594   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9595 /* end confdefs.h.  */
   9596 int i;
   9597 _ACEOF
   9598 if ac_fn_c_try_compile "$LINENO"; then :
   9599   xorg_cv_cc_flag_unused_command_line_argument=yes
   9600 else
   9601   xorg_cv_cc_flag_unused_command_line_argument=no
   9602 fi
   9603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9604 fi
   9605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9606 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9607 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9608 	CFLAGS="$xorg_testset_save_CFLAGS"
   9609 fi
   9610 
   9611 found="no"
   9612 
   9613 	if test $found = "no" ; then
   9614 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9615 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9616 		fi
   9617 
   9618 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9619 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9620 		fi
   9621 
   9622 		CFLAGS="$CFLAGS -Wwrite-strings"
   9623 
   9624 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9625 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9626 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9627 		if eval \${$cacheid+:} false; then :
   9628   $as_echo_n "(cached) " >&6
   9629 else
   9630   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9631 /* end confdefs.h.  */
   9632 int i;
   9633 int
   9634 main ()
   9635 {
   9636 
   9637   ;
   9638   return 0;
   9639 }
   9640 _ACEOF
   9641 if ac_fn_c_try_link "$LINENO"; then :
   9642   eval $cacheid=yes
   9643 else
   9644   eval $cacheid=no
   9645 fi
   9646 rm -f core conftest.err conftest.$ac_objext \
   9647     conftest$ac_exeext conftest.$ac_ext
   9648 fi
   9649 
   9650 
   9651 		CFLAGS="$xorg_testset_save_CFLAGS"
   9652 
   9653 		eval supported=\$$cacheid
   9654 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9655 $as_echo "$supported" >&6; }
   9656 		if test "$supported" = "yes" ; then
   9657 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9658 			found="yes"
   9659 		fi
   9660 	fi
   9661 
   9662 
   9663 
   9664 
   9665 
   9666 
   9667 
   9668 
   9669 
   9670 
   9671 
   9672 
   9673 
   9674 
   9675 
   9676 xorg_testset_save_CFLAGS="$CFLAGS"
   9677 
   9678 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9679 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9680 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9681 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9682 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9683   $as_echo_n "(cached) " >&6
   9684 else
   9685   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9686 /* end confdefs.h.  */
   9687 int i;
   9688 _ACEOF
   9689 if ac_fn_c_try_compile "$LINENO"; then :
   9690   xorg_cv_cc_flag_unknown_warning_option=yes
   9691 else
   9692   xorg_cv_cc_flag_unknown_warning_option=no
   9693 fi
   9694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9695 fi
   9696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9697 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9698 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9699 	CFLAGS="$xorg_testset_save_CFLAGS"
   9700 fi
   9701 
   9702 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9703 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9704 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9705 	fi
   9706 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9707 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9708 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9709 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9710   $as_echo_n "(cached) " >&6
   9711 else
   9712   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9713 /* end confdefs.h.  */
   9714 int i;
   9715 _ACEOF
   9716 if ac_fn_c_try_compile "$LINENO"; then :
   9717   xorg_cv_cc_flag_unused_command_line_argument=yes
   9718 else
   9719   xorg_cv_cc_flag_unused_command_line_argument=no
   9720 fi
   9721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9722 fi
   9723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9724 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9725 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9726 	CFLAGS="$xorg_testset_save_CFLAGS"
   9727 fi
   9728 
   9729 found="no"
   9730 
   9731 	if test $found = "no" ; then
   9732 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9733 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9734 		fi
   9735 
   9736 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9737 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9738 		fi
   9739 
   9740 		CFLAGS="$CFLAGS -Waddress"
   9741 
   9742 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9743 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9744 		cacheid=xorg_cv_cc_flag__Waddress
   9745 		if eval \${$cacheid+:} false; then :
   9746   $as_echo_n "(cached) " >&6
   9747 else
   9748   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9749 /* end confdefs.h.  */
   9750 int i;
   9751 int
   9752 main ()
   9753 {
   9754 
   9755   ;
   9756   return 0;
   9757 }
   9758 _ACEOF
   9759 if ac_fn_c_try_link "$LINENO"; then :
   9760   eval $cacheid=yes
   9761 else
   9762   eval $cacheid=no
   9763 fi
   9764 rm -f core conftest.err conftest.$ac_objext \
   9765     conftest$ac_exeext conftest.$ac_ext
   9766 fi
   9767 
   9768 
   9769 		CFLAGS="$xorg_testset_save_CFLAGS"
   9770 
   9771 		eval supported=\$$cacheid
   9772 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9773 $as_echo "$supported" >&6; }
   9774 		if test "$supported" = "yes" ; then
   9775 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9776 			found="yes"
   9777 		fi
   9778 	fi
   9779 
   9780 
   9781 
   9782 
   9783 
   9784 
   9785 
   9786 
   9787 
   9788 
   9789 
   9790 
   9791 
   9792 
   9793 
   9794 xorg_testset_save_CFLAGS="$CFLAGS"
   9795 
   9796 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9797 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9798 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9799 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9800 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9801   $as_echo_n "(cached) " >&6
   9802 else
   9803   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9804 /* end confdefs.h.  */
   9805 int i;
   9806 _ACEOF
   9807 if ac_fn_c_try_compile "$LINENO"; then :
   9808   xorg_cv_cc_flag_unknown_warning_option=yes
   9809 else
   9810   xorg_cv_cc_flag_unknown_warning_option=no
   9811 fi
   9812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9813 fi
   9814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9815 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9816 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9817 	CFLAGS="$xorg_testset_save_CFLAGS"
   9818 fi
   9819 
   9820 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9821 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9822 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9823 	fi
   9824 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9825 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9826 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9827 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9828   $as_echo_n "(cached) " >&6
   9829 else
   9830   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9831 /* end confdefs.h.  */
   9832 int i;
   9833 _ACEOF
   9834 if ac_fn_c_try_compile "$LINENO"; then :
   9835   xorg_cv_cc_flag_unused_command_line_argument=yes
   9836 else
   9837   xorg_cv_cc_flag_unused_command_line_argument=no
   9838 fi
   9839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9840 fi
   9841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9842 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9843 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9844 	CFLAGS="$xorg_testset_save_CFLAGS"
   9845 fi
   9846 
   9847 found="no"
   9848 
   9849 	if test $found = "no" ; then
   9850 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9851 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9852 		fi
   9853 
   9854 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9855 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9856 		fi
   9857 
   9858 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   9859 
   9860 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   9861 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   9862 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   9863 		if eval \${$cacheid+:} false; then :
   9864   $as_echo_n "(cached) " >&6
   9865 else
   9866   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9867 /* end confdefs.h.  */
   9868 int i;
   9869 int
   9870 main ()
   9871 {
   9872 
   9873   ;
   9874   return 0;
   9875 }
   9876 _ACEOF
   9877 if ac_fn_c_try_link "$LINENO"; then :
   9878   eval $cacheid=yes
   9879 else
   9880   eval $cacheid=no
   9881 fi
   9882 rm -f core conftest.err conftest.$ac_objext \
   9883     conftest$ac_exeext conftest.$ac_ext
   9884 fi
   9885 
   9886 
   9887 		CFLAGS="$xorg_testset_save_CFLAGS"
   9888 
   9889 		eval supported=\$$cacheid
   9890 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9891 $as_echo "$supported" >&6; }
   9892 		if test "$supported" = "yes" ; then
   9893 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   9894 			found="yes"
   9895 		fi
   9896 	fi
   9897 
   9898 
   9899 
   9900 
   9901 
   9902 
   9903 
   9904 
   9905 
   9906 
   9907 
   9908 
   9909 
   9910 
   9911 
   9912 xorg_testset_save_CFLAGS="$CFLAGS"
   9913 
   9914 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9915 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9916 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9917 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9918 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9919   $as_echo_n "(cached) " >&6
   9920 else
   9921   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9922 /* end confdefs.h.  */
   9923 int i;
   9924 _ACEOF
   9925 if ac_fn_c_try_compile "$LINENO"; then :
   9926   xorg_cv_cc_flag_unknown_warning_option=yes
   9927 else
   9928   xorg_cv_cc_flag_unknown_warning_option=no
   9929 fi
   9930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9931 fi
   9932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9933 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9934 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9935 	CFLAGS="$xorg_testset_save_CFLAGS"
   9936 fi
   9937 
   9938 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9939 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9940 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9941 	fi
   9942 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9943 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9944 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9945 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9946   $as_echo_n "(cached) " >&6
   9947 else
   9948   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9949 /* end confdefs.h.  */
   9950 int i;
   9951 _ACEOF
   9952 if ac_fn_c_try_compile "$LINENO"; then :
   9953   xorg_cv_cc_flag_unused_command_line_argument=yes
   9954 else
   9955   xorg_cv_cc_flag_unused_command_line_argument=no
   9956 fi
   9957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9958 fi
   9959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9960 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9961 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9962 	CFLAGS="$xorg_testset_save_CFLAGS"
   9963 fi
   9964 
   9965 found="no"
   9966 
   9967 	if test $found = "no" ; then
   9968 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9969 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9970 		fi
   9971 
   9972 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9973 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9974 		fi
   9975 
   9976 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   9977 
   9978 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   9979 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   9980 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   9981 		if eval \${$cacheid+:} false; then :
   9982   $as_echo_n "(cached) " >&6
   9983 else
   9984   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9985 /* end confdefs.h.  */
   9986 int i;
   9987 int
   9988 main ()
   9989 {
   9990 
   9991   ;
   9992   return 0;
   9993 }
   9994 _ACEOF
   9995 if ac_fn_c_try_link "$LINENO"; then :
   9996   eval $cacheid=yes
   9997 else
   9998   eval $cacheid=no
   9999 fi
   10000 rm -f core conftest.err conftest.$ac_objext \
   10001     conftest$ac_exeext conftest.$ac_ext
   10002 fi
   10003 
   10004 
   10005 		CFLAGS="$xorg_testset_save_CFLAGS"
   10006 
   10007 		eval supported=\$$cacheid
   10008 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10009 $as_echo "$supported" >&6; }
   10010 		if test "$supported" = "yes" ; then
   10011 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10012 			found="yes"
   10013 		fi
   10014 	fi
   10015 
   10016 
   10017 fi
   10018 
   10019 
   10020 
   10021 
   10022 
   10023 
   10024 
   10025 		CWARNFLAGS="$BASE_CFLAGS"
   10026 		if  test "x$GCC" = xyes ; then
   10027 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10028 		fi
   10029 
   10030 
   10031 
   10032 
   10033 
   10034 
   10035 
   10036 
   10037 # Check whether --enable-strict-compilation was given.
   10038 if test "${enable_strict_compilation+set}" = set; then :
   10039   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10040 else
   10041   STRICT_COMPILE=no
   10042 fi
   10043 
   10044 
   10045 
   10046 
   10047 
   10048 
   10049 STRICT_CFLAGS=""
   10050 
   10051 
   10052 
   10053 
   10054 
   10055 
   10056 
   10057 
   10058 
   10059 
   10060 
   10061 
   10062 
   10063 xorg_testset_save_CFLAGS="$CFLAGS"
   10064 
   10065 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10066 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10067 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10068 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10069 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10070   $as_echo_n "(cached) " >&6
   10071 else
   10072   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10073 /* end confdefs.h.  */
   10074 int i;
   10075 _ACEOF
   10076 if ac_fn_c_try_compile "$LINENO"; then :
   10077   xorg_cv_cc_flag_unknown_warning_option=yes
   10078 else
   10079   xorg_cv_cc_flag_unknown_warning_option=no
   10080 fi
   10081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10082 fi
   10083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10084 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10085 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10086 	CFLAGS="$xorg_testset_save_CFLAGS"
   10087 fi
   10088 
   10089 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10090 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10091 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10092 	fi
   10093 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10094 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10095 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10096 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10097   $as_echo_n "(cached) " >&6
   10098 else
   10099   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10100 /* end confdefs.h.  */
   10101 int i;
   10102 _ACEOF
   10103 if ac_fn_c_try_compile "$LINENO"; then :
   10104   xorg_cv_cc_flag_unused_command_line_argument=yes
   10105 else
   10106   xorg_cv_cc_flag_unused_command_line_argument=no
   10107 fi
   10108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10109 fi
   10110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10111 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10112 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10113 	CFLAGS="$xorg_testset_save_CFLAGS"
   10114 fi
   10115 
   10116 found="no"
   10117 
   10118 	if test $found = "no" ; then
   10119 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10120 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10121 		fi
   10122 
   10123 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10124 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10125 		fi
   10126 
   10127 		CFLAGS="$CFLAGS -pedantic"
   10128 
   10129 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10130 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10131 		cacheid=xorg_cv_cc_flag__pedantic
   10132 		if eval \${$cacheid+:} false; then :
   10133   $as_echo_n "(cached) " >&6
   10134 else
   10135   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10136 /* end confdefs.h.  */
   10137 int i;
   10138 int
   10139 main ()
   10140 {
   10141 
   10142   ;
   10143   return 0;
   10144 }
   10145 _ACEOF
   10146 if ac_fn_c_try_link "$LINENO"; then :
   10147   eval $cacheid=yes
   10148 else
   10149   eval $cacheid=no
   10150 fi
   10151 rm -f core conftest.err conftest.$ac_objext \
   10152     conftest$ac_exeext conftest.$ac_ext
   10153 fi
   10154 
   10155 
   10156 		CFLAGS="$xorg_testset_save_CFLAGS"
   10157 
   10158 		eval supported=\$$cacheid
   10159 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10160 $as_echo "$supported" >&6; }
   10161 		if test "$supported" = "yes" ; then
   10162 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10163 			found="yes"
   10164 		fi
   10165 	fi
   10166 
   10167 
   10168 
   10169 
   10170 
   10171 
   10172 
   10173 
   10174 
   10175 
   10176 
   10177 
   10178 
   10179 
   10180 
   10181 xorg_testset_save_CFLAGS="$CFLAGS"
   10182 
   10183 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10184 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10185 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10186 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10187 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10188   $as_echo_n "(cached) " >&6
   10189 else
   10190   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10191 /* end confdefs.h.  */
   10192 int i;
   10193 _ACEOF
   10194 if ac_fn_c_try_compile "$LINENO"; then :
   10195   xorg_cv_cc_flag_unknown_warning_option=yes
   10196 else
   10197   xorg_cv_cc_flag_unknown_warning_option=no
   10198 fi
   10199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10200 fi
   10201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10202 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10203 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10204 	CFLAGS="$xorg_testset_save_CFLAGS"
   10205 fi
   10206 
   10207 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10208 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10209 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10210 	fi
   10211 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10212 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10213 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10214 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10215   $as_echo_n "(cached) " >&6
   10216 else
   10217   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10218 /* end confdefs.h.  */
   10219 int i;
   10220 _ACEOF
   10221 if ac_fn_c_try_compile "$LINENO"; then :
   10222   xorg_cv_cc_flag_unused_command_line_argument=yes
   10223 else
   10224   xorg_cv_cc_flag_unused_command_line_argument=no
   10225 fi
   10226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10227 fi
   10228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10229 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10230 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10231 	CFLAGS="$xorg_testset_save_CFLAGS"
   10232 fi
   10233 
   10234 found="no"
   10235 
   10236 	if test $found = "no" ; then
   10237 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10238 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10239 		fi
   10240 
   10241 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10242 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10243 		fi
   10244 
   10245 		CFLAGS="$CFLAGS -Werror"
   10246 
   10247 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10248 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10249 		cacheid=xorg_cv_cc_flag__Werror
   10250 		if eval \${$cacheid+:} false; then :
   10251   $as_echo_n "(cached) " >&6
   10252 else
   10253   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10254 /* end confdefs.h.  */
   10255 int i;
   10256 int
   10257 main ()
   10258 {
   10259 
   10260   ;
   10261   return 0;
   10262 }
   10263 _ACEOF
   10264 if ac_fn_c_try_link "$LINENO"; then :
   10265   eval $cacheid=yes
   10266 else
   10267   eval $cacheid=no
   10268 fi
   10269 rm -f core conftest.err conftest.$ac_objext \
   10270     conftest$ac_exeext conftest.$ac_ext
   10271 fi
   10272 
   10273 
   10274 		CFLAGS="$xorg_testset_save_CFLAGS"
   10275 
   10276 		eval supported=\$$cacheid
   10277 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10278 $as_echo "$supported" >&6; }
   10279 		if test "$supported" = "yes" ; then
   10280 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10281 			found="yes"
   10282 		fi
   10283 	fi
   10284 
   10285 	if test $found = "no" ; then
   10286 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10287 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10288 		fi
   10289 
   10290 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10291 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10292 		fi
   10293 
   10294 		CFLAGS="$CFLAGS -errwarn"
   10295 
   10296 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10297 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10298 		cacheid=xorg_cv_cc_flag__errwarn
   10299 		if eval \${$cacheid+:} false; then :
   10300   $as_echo_n "(cached) " >&6
   10301 else
   10302   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10303 /* end confdefs.h.  */
   10304 int i;
   10305 int
   10306 main ()
   10307 {
   10308 
   10309   ;
   10310   return 0;
   10311 }
   10312 _ACEOF
   10313 if ac_fn_c_try_link "$LINENO"; then :
   10314   eval $cacheid=yes
   10315 else
   10316   eval $cacheid=no
   10317 fi
   10318 rm -f core conftest.err conftest.$ac_objext \
   10319     conftest$ac_exeext conftest.$ac_ext
   10320 fi
   10321 
   10322 
   10323 		CFLAGS="$xorg_testset_save_CFLAGS"
   10324 
   10325 		eval supported=\$$cacheid
   10326 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10327 $as_echo "$supported" >&6; }
   10328 		if test "$supported" = "yes" ; then
   10329 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10330 			found="yes"
   10331 		fi
   10332 	fi
   10333 
   10334 
   10335 
   10336 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10337 # activate it with -Werror, so we add it here explicitly.
   10338 
   10339 
   10340 
   10341 
   10342 
   10343 
   10344 
   10345 
   10346 
   10347 
   10348 
   10349 
   10350 
   10351 xorg_testset_save_CFLAGS="$CFLAGS"
   10352 
   10353 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10354 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10355 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10356 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10357 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10358   $as_echo_n "(cached) " >&6
   10359 else
   10360   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10361 /* end confdefs.h.  */
   10362 int i;
   10363 _ACEOF
   10364 if ac_fn_c_try_compile "$LINENO"; then :
   10365   xorg_cv_cc_flag_unknown_warning_option=yes
   10366 else
   10367   xorg_cv_cc_flag_unknown_warning_option=no
   10368 fi
   10369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10370 fi
   10371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10372 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10373 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10374 	CFLAGS="$xorg_testset_save_CFLAGS"
   10375 fi
   10376 
   10377 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10378 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10379 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10380 	fi
   10381 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10382 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10383 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10384 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10385   $as_echo_n "(cached) " >&6
   10386 else
   10387   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10388 /* end confdefs.h.  */
   10389 int i;
   10390 _ACEOF
   10391 if ac_fn_c_try_compile "$LINENO"; then :
   10392   xorg_cv_cc_flag_unused_command_line_argument=yes
   10393 else
   10394   xorg_cv_cc_flag_unused_command_line_argument=no
   10395 fi
   10396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10397 fi
   10398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10399 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10400 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10401 	CFLAGS="$xorg_testset_save_CFLAGS"
   10402 fi
   10403 
   10404 found="no"
   10405 
   10406 	if test $found = "no" ; then
   10407 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10408 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10409 		fi
   10410 
   10411 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10412 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10413 		fi
   10414 
   10415 		CFLAGS="$CFLAGS -Werror=attributes"
   10416 
   10417 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10418 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10419 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=attributes" | $as_tr_sh`
   10420 		if eval \${$cacheid+:} false; then :
   10421   $as_echo_n "(cached) " >&6
   10422 else
   10423   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10424 /* end confdefs.h.  */
   10425 int i;
   10426 int
   10427 main ()
   10428 {
   10429 
   10430   ;
   10431   return 0;
   10432 }
   10433 _ACEOF
   10434 if ac_fn_c_try_link "$LINENO"; then :
   10435   eval $cacheid=yes
   10436 else
   10437   eval $cacheid=no
   10438 fi
   10439 rm -f core conftest.err conftest.$ac_objext \
   10440     conftest$ac_exeext conftest.$ac_ext
   10441 fi
   10442 
   10443 
   10444 		CFLAGS="$xorg_testset_save_CFLAGS"
   10445 
   10446 		eval supported=\$$cacheid
   10447 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10448 $as_echo "$supported" >&6; }
   10449 		if test "$supported" = "yes" ; then
   10450 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10451 			found="yes"
   10452 		fi
   10453 	fi
   10454 
   10455 
   10456 
   10457 if test "x$STRICT_COMPILE" = "xyes"; then
   10458     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10459     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10460 fi
   10461 
   10462 
   10463 
   10464 
   10465 
   10466 
   10467 cat >>confdefs.h <<_ACEOF
   10468 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10469 _ACEOF
   10470 
   10471 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10472 	if test "x$PVM" = "x"; then
   10473 		PVM="0"
   10474 	fi
   10475 
   10476 cat >>confdefs.h <<_ACEOF
   10477 #define PACKAGE_VERSION_MINOR $PVM
   10478 _ACEOF
   10479 
   10480 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10481 	if test "x$PVP" = "x"; then
   10482 		PVP="0"
   10483 	fi
   10484 
   10485 cat >>confdefs.h <<_ACEOF
   10486 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10487 _ACEOF
   10488 
   10489 
   10490 
   10491 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10492 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10493 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10494 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10495 
   10496 
   10497 
   10498 
   10499 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10500 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10501 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10502 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10503 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10504 
   10505 
   10506 
   10507 
   10508 
   10509 
   10510 if test x$APP_MAN_SUFFIX = x    ; then
   10511     APP_MAN_SUFFIX=1
   10512 fi
   10513 if test x$APP_MAN_DIR = x    ; then
   10514     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10515 fi
   10516 
   10517 if test x$LIB_MAN_SUFFIX = x    ; then
   10518     LIB_MAN_SUFFIX=3
   10519 fi
   10520 if test x$LIB_MAN_DIR = x    ; then
   10521     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10522 fi
   10523 
   10524 if test x$FILE_MAN_SUFFIX = x    ; then
   10525     case $host_os in
   10526 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   10527 	*)		FILE_MAN_SUFFIX=5  ;;
   10528     esac
   10529 fi
   10530 if test x$FILE_MAN_DIR = x    ; then
   10531     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10532 fi
   10533 
   10534 if test x$MISC_MAN_SUFFIX = x    ; then
   10535     case $host_os in
   10536 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   10537 	*)		MISC_MAN_SUFFIX=7  ;;
   10538     esac
   10539 fi
   10540 if test x$MISC_MAN_DIR = x    ; then
   10541     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10542 fi
   10543 
   10544 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10545     case $host_os in
   10546 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   10547 	*)		DRIVER_MAN_SUFFIX=4  ;;
   10548     esac
   10549 fi
   10550 if test x$DRIVER_MAN_DIR = x    ; then
   10551     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10552 fi
   10553 
   10554 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10555     case $host_os in
   10556 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   10557 	*)		ADMIN_MAN_SUFFIX=8  ;;
   10558     esac
   10559 fi
   10560 if test x$ADMIN_MAN_DIR = x    ; then
   10561     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10562 fi
   10563 
   10564 
   10565 
   10566 
   10567 
   10568 
   10569 
   10570 
   10571 
   10572 
   10573 
   10574 
   10575 
   10576 
   10577 
   10578 XORG_MAN_PAGE="X Version 11"
   10579 
   10580 MAN_SUBSTS="\
   10581 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10582 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10583 	-e 's|__xservername__|Xorg|g' \
   10584 	-e 's|__xconfigfile__|xorg.conf|g' \
   10585 	-e 's|__projectroot__|\$(prefix)|g' \
   10586 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10587 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10588 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10589 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10590 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10591 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10592 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10593 
   10594 
   10595 
   10596 # Check whether --enable-silent-rules was given.
   10597 if test "${enable_silent_rules+set}" = set; then :
   10598   enableval=$enable_silent_rules;
   10599 fi
   10600 
   10601 case $enable_silent_rules in
   10602 yes) AM_DEFAULT_VERBOSITY=0;;
   10603 no)  AM_DEFAULT_VERBOSITY=1;;
   10604 *)   AM_DEFAULT_VERBOSITY=0;;
   10605 esac
   10606 am_make=${MAKE-make}
   10607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10608 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10609 if ${am_cv_make_support_nested_variables+:} false; then :
   10610   $as_echo_n "(cached) " >&6
   10611 else
   10612   if $as_echo 'TRUE=$(BAR$(V))
   10613 BAR0=false
   10614 BAR1=true
   10615 V=1
   10616 am__doit:
   10617 	@$(TRUE)
   10618 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10619   am_cv_make_support_nested_variables=yes
   10620 else
   10621   am_cv_make_support_nested_variables=no
   10622 fi
   10623 fi
   10624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10625 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10626 if test $am_cv_make_support_nested_variables = yes; then
   10627     AM_V='$(V)'
   10628   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10629 else
   10630   AM_V=$AM_DEFAULT_VERBOSITY
   10631   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10632 fi
   10633 AM_BACKSLASH='\'
   10634 
   10635 
   10636 
   10637 # Initialize libtool
   10638 # Check whether --enable-static was given.
   10639 if test "${enable_static+set}" = set; then :
   10640   enableval=$enable_static; p=${PACKAGE-default}
   10641     case $enableval in
   10642     yes) enable_static=yes ;;
   10643     no) enable_static=no ;;
   10644     *)
   10645      enable_static=no
   10646       # Look at the argument we got.  We use all the common list separators.
   10647       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   10648       for pkg in $enableval; do
   10649 	IFS="$lt_save_ifs"
   10650 	if test "X$pkg" = "X$p"; then
   10651 	  enable_static=yes
   10652 	fi
   10653       done
   10654       IFS="$lt_save_ifs"
   10655       ;;
   10656     esac
   10657 else
   10658   enable_static=no
   10659 fi
   10660 
   10661 
   10662 
   10663 
   10664 
   10665 
   10666 
   10667 
   10668 
   10669 case `pwd` in
   10670   *\ * | *\	*)
   10671     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   10672 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   10673 esac
   10674 
   10675 
   10676 
   10677 macro_version='2.4.2'
   10678 macro_revision='1.3337'
   10679 
   10680 
   10681 
   10682 
   10683 
   10684 
   10685 
   10686 
   10687 
   10688 
   10689 
   10690 
   10691 
   10692 ltmain="$ac_aux_dir/ltmain.sh"
   10693 
   10694 # Backslashify metacharacters that are still active within
   10695 # double-quoted strings.
   10696 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   10697 
   10698 # Same as above, but do not quote variable references.
   10699 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   10700 
   10701 # Sed substitution to delay expansion of an escaped shell variable in a
   10702 # double_quote_subst'ed string.
   10703 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   10704 
   10705 # Sed substitution to delay expansion of an escaped single quote.
   10706 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   10707 
   10708 # Sed substitution to avoid accidental globbing in evaled expressions
   10709 no_glob_subst='s/\*/\\\*/g'
   10710 
   10711 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   10712 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   10713 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   10714 
   10715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   10716 $as_echo_n "checking how to print strings... " >&6; }
   10717 # Test print first, because it will be a builtin if present.
   10718 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   10719    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   10720   ECHO='print -r --'
   10721 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   10722   ECHO='printf %s\n'
   10723 else
   10724   # Use this function as a fallback that always works.
   10725   func_fallback_echo ()
   10726   {
   10727     eval 'cat <<_LTECHO_EOF
   10728 $1
   10729 _LTECHO_EOF'
   10730   }
   10731   ECHO='func_fallback_echo'
   10732 fi
   10733 
   10734 # func_echo_all arg...
   10735 # Invoke $ECHO with all args, space-separated.
   10736 func_echo_all ()
   10737 {
   10738     $ECHO ""
   10739 }
   10740 
   10741 case "$ECHO" in
   10742   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   10743 $as_echo "printf" >&6; } ;;
   10744   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   10745 $as_echo "print -r" >&6; } ;;
   10746   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   10747 $as_echo "cat" >&6; } ;;
   10748 esac
   10749 
   10750 
   10751 
   10752 
   10753 
   10754 
   10755 
   10756 
   10757 
   10758 
   10759 
   10760 
   10761 
   10762 
   10763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   10764 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   10765 if ${ac_cv_path_SED+:} false; then :
   10766   $as_echo_n "(cached) " >&6
   10767 else
   10768             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   10769      for ac_i in 1 2 3 4 5 6 7; do
   10770        ac_script="$ac_script$as_nl$ac_script"
   10771      done
   10772      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   10773      { ac_script=; unset ac_script;}
   10774      if test -z "$SED"; then
   10775   ac_path_SED_found=false
   10776   # Loop through the user's path and test for each of PROGNAME-LIST
   10777   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10778 for as_dir in $PATH
   10779 do
   10780   IFS=$as_save_IFS
   10781   test -z "$as_dir" && as_dir=.
   10782     for ac_prog in sed gsed; do
   10783     for ac_exec_ext in '' $ac_executable_extensions; do
   10784       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   10785       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   10786 # Check for GNU ac_path_SED and select it if it is found.
   10787   # Check for GNU $ac_path_SED
   10788 case `"$ac_path_SED" --version 2>&1` in
   10789 *GNU*)
   10790   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   10791 *)
   10792   ac_count=0
   10793   $as_echo_n 0123456789 >"conftest.in"
   10794   while :
   10795   do
   10796     cat "conftest.in" "conftest.in" >"conftest.tmp"
   10797     mv "conftest.tmp" "conftest.in"
   10798     cp "conftest.in" "conftest.nl"
   10799     $as_echo '' >> "conftest.nl"
   10800     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   10801     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   10802     as_fn_arith $ac_count + 1 && ac_count=$as_val
   10803     if test $ac_count -gt ${ac_path_SED_max-0}; then
   10804       # Best one so far, save it but keep looking for a better one
   10805       ac_cv_path_SED="$ac_path_SED"
   10806       ac_path_SED_max=$ac_count
   10807     fi
   10808     # 10*(2^10) chars as input seems more than enough
   10809     test $ac_count -gt 10 && break
   10810   done
   10811   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   10812 esac
   10813 
   10814       $ac_path_SED_found && break 3
   10815     done
   10816   done
   10817   done
   10818 IFS=$as_save_IFS
   10819   if test -z "$ac_cv_path_SED"; then
   10820     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   10821   fi
   10822 else
   10823   ac_cv_path_SED=$SED
   10824 fi
   10825 
   10826 fi
   10827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   10828 $as_echo "$ac_cv_path_SED" >&6; }
   10829  SED="$ac_cv_path_SED"
   10830   rm -f conftest.sed
   10831 
   10832 test -z "$SED" && SED=sed
   10833 Xsed="$SED -e 1s/^X//"
   10834 
   10835 
   10836 
   10837 
   10838 
   10839 
   10840 
   10841 
   10842 
   10843 
   10844 
   10845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   10846 $as_echo_n "checking for fgrep... " >&6; }
   10847 if ${ac_cv_path_FGREP+:} false; then :
   10848   $as_echo_n "(cached) " >&6
   10849 else
   10850   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   10851    then ac_cv_path_FGREP="$GREP -F"
   10852    else
   10853      if test -z "$FGREP"; then
   10854   ac_path_FGREP_found=false
   10855   # Loop through the user's path and test for each of PROGNAME-LIST
   10856   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10857 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   10858 do
   10859   IFS=$as_save_IFS
   10860   test -z "$as_dir" && as_dir=.
   10861     for ac_prog in fgrep; do
   10862     for ac_exec_ext in '' $ac_executable_extensions; do
   10863       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   10864       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   10865 # Check for GNU ac_path_FGREP and select it if it is found.
   10866   # Check for GNU $ac_path_FGREP
   10867 case `"$ac_path_FGREP" --version 2>&1` in
   10868 *GNU*)
   10869   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   10870 *)
   10871   ac_count=0
   10872   $as_echo_n 0123456789 >"conftest.in"
   10873   while :
   10874   do
   10875     cat "conftest.in" "conftest.in" >"conftest.tmp"
   10876     mv "conftest.tmp" "conftest.in"
   10877     cp "conftest.in" "conftest.nl"
   10878     $as_echo 'FGREP' >> "conftest.nl"
   10879     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   10880     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   10881     as_fn_arith $ac_count + 1 && ac_count=$as_val
   10882     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   10883       # Best one so far, save it but keep looking for a better one
   10884       ac_cv_path_FGREP="$ac_path_FGREP"
   10885       ac_path_FGREP_max=$ac_count
   10886     fi
   10887     # 10*(2^10) chars as input seems more than enough
   10888     test $ac_count -gt 10 && break
   10889   done
   10890   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   10891 esac
   10892 
   10893       $ac_path_FGREP_found && break 3
   10894     done
   10895   done
   10896   done
   10897 IFS=$as_save_IFS
   10898   if test -z "$ac_cv_path_FGREP"; then
   10899     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   10900   fi
   10901 else
   10902   ac_cv_path_FGREP=$FGREP
   10903 fi
   10904 
   10905    fi
   10906 fi
   10907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   10908 $as_echo "$ac_cv_path_FGREP" >&6; }
   10909  FGREP="$ac_cv_path_FGREP"
   10910 
   10911 
   10912 test -z "$GREP" && GREP=grep
   10913 
   10914 
   10915 
   10916 
   10917 
   10918 
   10919 
   10920 
   10921 
   10922 
   10923 
   10924 
   10925 
   10926 
   10927 
   10928 
   10929 
   10930 
   10931 
   10932 # Check whether --with-gnu-ld was given.
   10933 if test "${with_gnu_ld+set}" = set; then :
   10934   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   10935 else
   10936   with_gnu_ld=no
   10937 fi
   10938 
   10939 ac_prog=ld
   10940 if test "$GCC" = yes; then
   10941   # Check if gcc -print-prog-name=ld gives a path.
   10942   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   10943 $as_echo_n "checking for ld used by $CC... " >&6; }
   10944   case $host in
   10945   *-*-mingw*)
   10946     # gcc leaves a trailing carriage return which upsets mingw
   10947     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   10948   *)
   10949     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   10950   esac
   10951   case $ac_prog in
   10952     # Accept absolute paths.
   10953     [\\/]* | ?:[\\/]*)
   10954       re_direlt='/[^/][^/]*/\.\./'
   10955       # Canonicalize the pathname of ld
   10956       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   10957       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   10958 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   10959       done
   10960       test -z "$LD" && LD="$ac_prog"
   10961       ;;
   10962   "")
   10963     # If it fails, then pretend we aren't using GCC.
   10964     ac_prog=ld
   10965     ;;
   10966   *)
   10967     # If it is relative, then search for the first ld in PATH.
   10968     with_gnu_ld=unknown
   10969     ;;
   10970   esac
   10971 elif test "$with_gnu_ld" = yes; then
   10972   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   10973 $as_echo_n "checking for GNU ld... " >&6; }
   10974 else
   10975   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   10976 $as_echo_n "checking for non-GNU ld... " >&6; }
   10977 fi
   10978 if ${lt_cv_path_LD+:} false; then :
   10979   $as_echo_n "(cached) " >&6
   10980 else
   10981   if test -z "$LD"; then
   10982   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   10983   for ac_dir in $PATH; do
   10984     IFS="$lt_save_ifs"
   10985     test -z "$ac_dir" && ac_dir=.
   10986     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   10987       lt_cv_path_LD="$ac_dir/$ac_prog"
   10988       # Check to see if the program is GNU ld.  I'd rather use --version,
   10989       # but apparently some variants of GNU ld only accept -v.
   10990       # Break only if it was the GNU/non-GNU ld that we prefer.
   10991       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   10992       *GNU* | *'with BFD'*)
   10993 	test "$with_gnu_ld" != no && break
   10994 	;;
   10995       *)
   10996 	test "$with_gnu_ld" != yes && break
   10997 	;;
   10998       esac
   10999     fi
   11000   done
   11001   IFS="$lt_save_ifs"
   11002 else
   11003   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   11004 fi
   11005 fi
   11006 
   11007 LD="$lt_cv_path_LD"
   11008 if test -n "$LD"; then
   11009   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   11010 $as_echo "$LD" >&6; }
   11011 else
   11012   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11013 $as_echo "no" >&6; }
   11014 fi
   11015 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   11016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   11017 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   11018 if ${lt_cv_prog_gnu_ld+:} false; then :
   11019   $as_echo_n "(cached) " >&6
   11020 else
   11021   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   11022 case `$LD -v 2>&1 </dev/null` in
   11023 *GNU* | *'with BFD'*)
   11024   lt_cv_prog_gnu_ld=yes
   11025   ;;
   11026 *)
   11027   lt_cv_prog_gnu_ld=no
   11028   ;;
   11029 esac
   11030 fi
   11031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   11032 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   11033 with_gnu_ld=$lt_cv_prog_gnu_ld
   11034 
   11035 
   11036 
   11037 
   11038 
   11039 
   11040 
   11041 
   11042 
   11043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   11044 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   11045 if ${lt_cv_path_NM+:} false; then :
   11046   $as_echo_n "(cached) " >&6
   11047 else
   11048   if test -n "$NM"; then
   11049   # Let the user override the test.
   11050   lt_cv_path_NM="$NM"
   11051 else
   11052   lt_nm_to_check="${ac_tool_prefix}nm"
   11053   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   11054     lt_nm_to_check="$lt_nm_to_check nm"
   11055   fi
   11056   for lt_tmp_nm in $lt_nm_to_check; do
   11057     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   11058     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   11059       IFS="$lt_save_ifs"
   11060       test -z "$ac_dir" && ac_dir=.
   11061       tmp_nm="$ac_dir/$lt_tmp_nm"
   11062       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   11063 	# Check to see if the nm accepts a BSD-compat flag.
   11064 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   11065 	#   nm: unknown option "B" ignored
   11066 	# Tru64's nm complains that /dev/null is an invalid object file
   11067 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   11068 	*/dev/null* | *'Invalid file or object type'*)
   11069 	  lt_cv_path_NM="$tmp_nm -B"
   11070 	  break
   11071 	  ;;
   11072 	*)
   11073 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   11074 	  */dev/null*)
   11075 	    lt_cv_path_NM="$tmp_nm -p"
   11076 	    break
   11077 	    ;;
   11078 	  *)
   11079 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   11080 	    continue # so that we can try to find one that supports BSD flags
   11081 	    ;;
   11082 	  esac
   11083 	  ;;
   11084 	esac
   11085       fi
   11086     done
   11087     IFS="$lt_save_ifs"
   11088   done
   11089   : ${lt_cv_path_NM=no}
   11090 fi
   11091 fi
   11092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   11093 $as_echo "$lt_cv_path_NM" >&6; }
   11094 if test "$lt_cv_path_NM" != "no"; then
   11095   NM="$lt_cv_path_NM"
   11096 else
   11097   # Didn't find any BSD compatible name lister, look for dumpbin.
   11098   if test -n "$DUMPBIN"; then :
   11099     # Let the user override the test.
   11100   else
   11101     if test -n "$ac_tool_prefix"; then
   11102   for ac_prog in dumpbin "link -dump"
   11103   do
   11104     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   11105 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   11106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11107 $as_echo_n "checking for $ac_word... " >&6; }
   11108 if ${ac_cv_prog_DUMPBIN+:} false; then :
   11109   $as_echo_n "(cached) " >&6
   11110 else
   11111   if test -n "$DUMPBIN"; then
   11112   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   11113 else
   11114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11115 for as_dir in $PATH
   11116 do
   11117   IFS=$as_save_IFS
   11118   test -z "$as_dir" && as_dir=.
   11119     for ac_exec_ext in '' $ac_executable_extensions; do
   11120   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11121     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   11122     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11123     break 2
   11124   fi
   11125 done
   11126   done
   11127 IFS=$as_save_IFS
   11128 
   11129 fi
   11130 fi
   11131 DUMPBIN=$ac_cv_prog_DUMPBIN
   11132 if test -n "$DUMPBIN"; then
   11133   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   11134 $as_echo "$DUMPBIN" >&6; }
   11135 else
   11136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11137 $as_echo "no" >&6; }
   11138 fi
   11139 
   11140 
   11141     test -n "$DUMPBIN" && break
   11142   done
   11143 fi
   11144 if test -z "$DUMPBIN"; then
   11145   ac_ct_DUMPBIN=$DUMPBIN
   11146   for ac_prog in dumpbin "link -dump"
   11147 do
   11148   # Extract the first word of "$ac_prog", so it can be a program name with args.
   11149 set dummy $ac_prog; ac_word=$2
   11150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11151 $as_echo_n "checking for $ac_word... " >&6; }
   11152 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   11153   $as_echo_n "(cached) " >&6
   11154 else
   11155   if test -n "$ac_ct_DUMPBIN"; then
   11156   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   11157 else
   11158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11159 for as_dir in $PATH
   11160 do
   11161   IFS=$as_save_IFS
   11162   test -z "$as_dir" && as_dir=.
   11163     for ac_exec_ext in '' $ac_executable_extensions; do
   11164   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11165     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   11166     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11167     break 2
   11168   fi
   11169 done
   11170   done
   11171 IFS=$as_save_IFS
   11172 
   11173 fi
   11174 fi
   11175 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   11176 if test -n "$ac_ct_DUMPBIN"; then
   11177   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   11178 $as_echo "$ac_ct_DUMPBIN" >&6; }
   11179 else
   11180   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11181 $as_echo "no" >&6; }
   11182 fi
   11183 
   11184 
   11185   test -n "$ac_ct_DUMPBIN" && break
   11186 done
   11187 
   11188   if test "x$ac_ct_DUMPBIN" = x; then
   11189     DUMPBIN=":"
   11190   else
   11191     case $cross_compiling:$ac_tool_warned in
   11192 yes:)
   11193 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11194 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11195 ac_tool_warned=yes ;;
   11196 esac
   11197     DUMPBIN=$ac_ct_DUMPBIN
   11198   fi
   11199 fi
   11200 
   11201     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   11202     *COFF*)
   11203       DUMPBIN="$DUMPBIN -symbols"
   11204       ;;
   11205     *)
   11206       DUMPBIN=:
   11207       ;;
   11208     esac
   11209   fi
   11210 
   11211   if test "$DUMPBIN" != ":"; then
   11212     NM="$DUMPBIN"
   11213   fi
   11214 fi
   11215 test -z "$NM" && NM=nm
   11216 
   11217 
   11218 
   11219 
   11220 
   11221 
   11222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   11223 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   11224 if ${lt_cv_nm_interface+:} false; then :
   11225   $as_echo_n "(cached) " >&6
   11226 else
   11227   lt_cv_nm_interface="BSD nm"
   11228   echo "int some_variable = 0;" > conftest.$ac_ext
   11229   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   11230   (eval "$ac_compile" 2>conftest.err)
   11231   cat conftest.err >&5
   11232   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   11233   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   11234   cat conftest.err >&5
   11235   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   11236   cat conftest.out >&5
   11237   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   11238     lt_cv_nm_interface="MS dumpbin"
   11239   fi
   11240   rm -f conftest*
   11241 fi
   11242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   11243 $as_echo "$lt_cv_nm_interface" >&6; }
   11244 
   11245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   11246 $as_echo_n "checking whether ln -s works... " >&6; }
   11247 LN_S=$as_ln_s
   11248 if test "$LN_S" = "ln -s"; then
   11249   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11250 $as_echo "yes" >&6; }
   11251 else
   11252   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   11253 $as_echo "no, using $LN_S" >&6; }
   11254 fi
   11255 
   11256 # find the maximum length of command line arguments
   11257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   11258 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   11259 if ${lt_cv_sys_max_cmd_len+:} false; then :
   11260   $as_echo_n "(cached) " >&6
   11261 else
   11262     i=0
   11263   teststring="ABCD"
   11264 
   11265   case $build_os in
   11266   msdosdjgpp*)
   11267     # On DJGPP, this test can blow up pretty badly due to problems in libc
   11268     # (any single argument exceeding 2000 bytes causes a buffer overrun
   11269     # during glob expansion).  Even if it were fixed, the result of this
   11270     # check would be larger than it should be.
   11271     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   11272     ;;
   11273 
   11274   gnu*)
   11275     # Under GNU Hurd, this test is not required because there is
   11276     # no limit to the length of command line arguments.
   11277     # Libtool will interpret -1 as no limit whatsoever
   11278     lt_cv_sys_max_cmd_len=-1;
   11279     ;;
   11280 
   11281   cygwin* | mingw* | cegcc*)
   11282     # On Win9x/ME, this test blows up -- it succeeds, but takes
   11283     # about 5 minutes as the teststring grows exponentially.
   11284     # Worse, since 9x/ME are not pre-emptively multitasking,
   11285     # you end up with a "frozen" computer, even though with patience
   11286     # the test eventually succeeds (with a max line length of 256k).
   11287     # Instead, let's just punt: use the minimum linelength reported by
   11288     # all of the supported platforms: 8192 (on NT/2K/XP).
   11289     lt_cv_sys_max_cmd_len=8192;
   11290     ;;
   11291 
   11292   mint*)
   11293     # On MiNT this can take a long time and run out of memory.
   11294     lt_cv_sys_max_cmd_len=8192;
   11295     ;;
   11296 
   11297   amigaos*)
   11298     # On AmigaOS with pdksh, this test takes hours, literally.
   11299     # So we just punt and use a minimum line length of 8192.
   11300     lt_cv_sys_max_cmd_len=8192;
   11301     ;;
   11302 
   11303   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   11304     # This has been around since 386BSD, at least.  Likely further.
   11305     if test -x /sbin/sysctl; then
   11306       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   11307     elif test -x /usr/sbin/sysctl; then
   11308       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   11309     else
   11310       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   11311     fi
   11312     # And add a safety zone
   11313     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   11314     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   11315     ;;
   11316 
   11317   interix*)
   11318     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   11319     lt_cv_sys_max_cmd_len=196608
   11320     ;;
   11321 
   11322   os2*)
   11323     # The test takes a long time on OS/2.
   11324     lt_cv_sys_max_cmd_len=8192
   11325     ;;
   11326 
   11327   osf*)
   11328     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   11329     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   11330     # nice to cause kernel panics so lets avoid the loop below.
   11331     # First set a reasonable default.
   11332     lt_cv_sys_max_cmd_len=16384
   11333     #
   11334     if test -x /sbin/sysconfig; then
   11335       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   11336         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   11337       esac
   11338     fi
   11339     ;;
   11340   sco3.2v5*)
   11341     lt_cv_sys_max_cmd_len=102400
   11342     ;;
   11343   sysv5* | sco5v6* | sysv4.2uw2*)
   11344     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   11345     if test -n "$kargmax"; then
   11346       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   11347     else
   11348       lt_cv_sys_max_cmd_len=32768
   11349     fi
   11350     ;;
   11351   *)
   11352     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   11353     if test -n "$lt_cv_sys_max_cmd_len"; then
   11354       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   11355       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   11356     else
   11357       # Make teststring a little bigger before we do anything with it.
   11358       # a 1K string should be a reasonable start.
   11359       for i in 1 2 3 4 5 6 7 8 ; do
   11360         teststring=$teststring$teststring
   11361       done
   11362       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   11363       # If test is not a shell built-in, we'll probably end up computing a
   11364       # maximum length that is only half of the actual maximum length, but
   11365       # we can't tell.
   11366       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
   11367 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   11368 	      test $i != 17 # 1/2 MB should be enough
   11369       do
   11370         i=`expr $i + 1`
   11371         teststring=$teststring$teststring
   11372       done
   11373       # Only check the string length outside the loop.
   11374       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   11375       teststring=
   11376       # Add a significant safety factor because C++ compilers can tack on
   11377       # massive amounts of additional arguments before passing them to the
   11378       # linker.  It appears as though 1/2 is a usable value.
   11379       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   11380     fi
   11381     ;;
   11382   esac
   11383 
   11384 fi
   11385 
   11386 if test -n $lt_cv_sys_max_cmd_len ; then
   11387   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   11388 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   11389 else
   11390   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   11391 $as_echo "none" >&6; }
   11392 fi
   11393 max_cmd_len=$lt_cv_sys_max_cmd_len
   11394 
   11395 
   11396 
   11397 
   11398 
   11399 
   11400 : ${CP="cp -f"}
   11401 : ${MV="mv -f"}
   11402 : ${RM="rm -f"}
   11403 
   11404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   11405 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   11406 # Try some XSI features
   11407 xsi_shell=no
   11408 ( _lt_dummy="a/b/c"
   11409   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
   11410       = c,a/b,b/c, \
   11411     && eval 'test $(( 1 + 1 )) -eq 2 \
   11412     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   11413   && xsi_shell=yes
   11414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   11415 $as_echo "$xsi_shell" >&6; }
   11416 
   11417 
   11418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   11419 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   11420 lt_shell_append=no
   11421 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   11422     >/dev/null 2>&1 \
   11423   && lt_shell_append=yes
   11424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   11425 $as_echo "$lt_shell_append" >&6; }
   11426 
   11427 
   11428 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   11429   lt_unset=unset
   11430 else
   11431   lt_unset=false
   11432 fi
   11433 
   11434 
   11435 
   11436 
   11437 
   11438 # test EBCDIC or ASCII
   11439 case `echo X|tr X '\101'` in
   11440  A) # ASCII based system
   11441     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   11442   lt_SP2NL='tr \040 \012'
   11443   lt_NL2SP='tr \015\012 \040\040'
   11444   ;;
   11445  *) # EBCDIC based system
   11446   lt_SP2NL='tr \100 \n'
   11447   lt_NL2SP='tr \r\n \100\100'
   11448   ;;
   11449 esac
   11450 
   11451 
   11452 
   11453 
   11454 
   11455 
   11456 
   11457 
   11458 
   11459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   11460 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   11461 if ${lt_cv_to_host_file_cmd+:} false; then :
   11462   $as_echo_n "(cached) " >&6
   11463 else
   11464   case $host in
   11465   *-*-mingw* )
   11466     case $build in
   11467       *-*-mingw* ) # actually msys
   11468         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   11469         ;;
   11470       *-*-cygwin* )
   11471         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   11472         ;;
   11473       * ) # otherwise, assume *nix
   11474         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   11475         ;;
   11476     esac
   11477     ;;
   11478   *-*-cygwin* )
   11479     case $build in
   11480       *-*-mingw* ) # actually msys
   11481         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   11482         ;;
   11483       *-*-cygwin* )
   11484         lt_cv_to_host_file_cmd=func_convert_file_noop
   11485         ;;
   11486       * ) # otherwise, assume *nix
   11487         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   11488         ;;
   11489     esac
   11490     ;;
   11491   * ) # unhandled hosts (and "normal" native builds)
   11492     lt_cv_to_host_file_cmd=func_convert_file_noop
   11493     ;;
   11494 esac
   11495 
   11496 fi
   11497 
   11498 to_host_file_cmd=$lt_cv_to_host_file_cmd
   11499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   11500 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   11501 
   11502 
   11503 
   11504 
   11505 
   11506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   11507 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   11508 if ${lt_cv_to_tool_file_cmd+:} false; then :
   11509   $as_echo_n "(cached) " >&6
   11510 else
   11511   #assume ordinary cross tools, or native build.
   11512 lt_cv_to_tool_file_cmd=func_convert_file_noop
   11513 case $host in
   11514   *-*-mingw* )
   11515     case $build in
   11516       *-*-mingw* ) # actually msys
   11517         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   11518         ;;
   11519     esac
   11520     ;;
   11521 esac
   11522 
   11523 fi
   11524 
   11525 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   11526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   11527 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   11528 
   11529 
   11530 
   11531 
   11532 
   11533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   11534 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   11535 if ${lt_cv_ld_reload_flag+:} false; then :
   11536   $as_echo_n "(cached) " >&6
   11537 else
   11538   lt_cv_ld_reload_flag='-r'
   11539 fi
   11540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   11541 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   11542 reload_flag=$lt_cv_ld_reload_flag
   11543 case $reload_flag in
   11544 "" | " "*) ;;
   11545 *) reload_flag=" $reload_flag" ;;
   11546 esac
   11547 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   11548 case $host_os in
   11549   cygwin* | mingw* | pw32* | cegcc*)
   11550     if test "$GCC" != yes; then
   11551       reload_cmds=false
   11552     fi
   11553     ;;
   11554   darwin*)
   11555     if test "$GCC" = yes; then
   11556       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   11557     else
   11558       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   11559     fi
   11560     ;;
   11561 esac
   11562 
   11563 
   11564 
   11565 
   11566 
   11567 
   11568 
   11569 
   11570 
   11571 if test -n "$ac_tool_prefix"; then
   11572   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   11573 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   11574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11575 $as_echo_n "checking for $ac_word... " >&6; }
   11576 if ${ac_cv_prog_OBJDUMP+:} false; then :
   11577   $as_echo_n "(cached) " >&6
   11578 else
   11579   if test -n "$OBJDUMP"; then
   11580   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   11581 else
   11582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11583 for as_dir in $PATH
   11584 do
   11585   IFS=$as_save_IFS
   11586   test -z "$as_dir" && as_dir=.
   11587     for ac_exec_ext in '' $ac_executable_extensions; do
   11588   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11589     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   11590     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11591     break 2
   11592   fi
   11593 done
   11594   done
   11595 IFS=$as_save_IFS
   11596 
   11597 fi
   11598 fi
   11599 OBJDUMP=$ac_cv_prog_OBJDUMP
   11600 if test -n "$OBJDUMP"; then
   11601   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   11602 $as_echo "$OBJDUMP" >&6; }
   11603 else
   11604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11605 $as_echo "no" >&6; }
   11606 fi
   11607 
   11608 
   11609 fi
   11610 if test -z "$ac_cv_prog_OBJDUMP"; then
   11611   ac_ct_OBJDUMP=$OBJDUMP
   11612   # Extract the first word of "objdump", so it can be a program name with args.
   11613 set dummy objdump; ac_word=$2
   11614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11615 $as_echo_n "checking for $ac_word... " >&6; }
   11616 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   11617   $as_echo_n "(cached) " >&6
   11618 else
   11619   if test -n "$ac_ct_OBJDUMP"; then
   11620   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   11621 else
   11622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11623 for as_dir in $PATH
   11624 do
   11625   IFS=$as_save_IFS
   11626   test -z "$as_dir" && as_dir=.
   11627     for ac_exec_ext in '' $ac_executable_extensions; do
   11628   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11629     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   11630     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11631     break 2
   11632   fi
   11633 done
   11634   done
   11635 IFS=$as_save_IFS
   11636 
   11637 fi
   11638 fi
   11639 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   11640 if test -n "$ac_ct_OBJDUMP"; then
   11641   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   11642 $as_echo "$ac_ct_OBJDUMP" >&6; }
   11643 else
   11644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11645 $as_echo "no" >&6; }
   11646 fi
   11647 
   11648   if test "x$ac_ct_OBJDUMP" = x; then
   11649     OBJDUMP="false"
   11650   else
   11651     case $cross_compiling:$ac_tool_warned in
   11652 yes:)
   11653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11654 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11655 ac_tool_warned=yes ;;
   11656 esac
   11657     OBJDUMP=$ac_ct_OBJDUMP
   11658   fi
   11659 else
   11660   OBJDUMP="$ac_cv_prog_OBJDUMP"
   11661 fi
   11662 
   11663 test -z "$OBJDUMP" && OBJDUMP=objdump
   11664 
   11665 
   11666 
   11667 
   11668 
   11669 
   11670 
   11671 
   11672 
   11673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   11674 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   11675 if ${lt_cv_deplibs_check_method+:} false; then :
   11676   $as_echo_n "(cached) " >&6
   11677 else
   11678   lt_cv_file_magic_cmd='$MAGIC_CMD'
   11679 lt_cv_file_magic_test_file=
   11680 lt_cv_deplibs_check_method='unknown'
   11681 # Need to set the preceding variable on all platforms that support
   11682 # interlibrary dependencies.
   11683 # 'none' -- dependencies not supported.
   11684 # `unknown' -- same as none, but documents that we really don't know.
   11685 # 'pass_all' -- all dependencies passed with no checks.
   11686 # 'test_compile' -- check by making test program.
   11687 # 'file_magic [[regex]]' -- check by looking for files in library path
   11688 # which responds to the $file_magic_cmd with a given extended regex.
   11689 # If you have `file' or equivalent on your system and you're not sure
   11690 # whether `pass_all' will *always* work, you probably want this one.
   11691 
   11692 case $host_os in
   11693 aix[4-9]*)
   11694   lt_cv_deplibs_check_method=pass_all
   11695   ;;
   11696 
   11697 beos*)
   11698   lt_cv_deplibs_check_method=pass_all
   11699   ;;
   11700 
   11701 bsdi[45]*)
   11702   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   11703   lt_cv_file_magic_cmd='/usr/bin/file -L'
   11704   lt_cv_file_magic_test_file=/shlib/libc.so
   11705   ;;
   11706 
   11707 cygwin*)
   11708   # func_win32_libid is a shell function defined in ltmain.sh
   11709   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   11710   lt_cv_file_magic_cmd='func_win32_libid'
   11711   ;;
   11712 
   11713 mingw* | pw32*)
   11714   # Base MSYS/MinGW do not provide the 'file' command needed by
   11715   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   11716   # unless we find 'file', for example because we are cross-compiling.
   11717   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   11718   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   11719     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   11720     lt_cv_file_magic_cmd='func_win32_libid'
   11721   else
   11722     # Keep this pattern in sync with the one in func_win32_libid.
   11723     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   11724     lt_cv_file_magic_cmd='$OBJDUMP -f'
   11725   fi
   11726   ;;
   11727 
   11728 cegcc*)
   11729   # use the weaker test based on 'objdump'. See mingw*.
   11730   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   11731   lt_cv_file_magic_cmd='$OBJDUMP -f'
   11732   ;;
   11733 
   11734 darwin* | rhapsody*)
   11735   lt_cv_deplibs_check_method=pass_all
   11736   ;;
   11737 
   11738 freebsd* | dragonfly*)
   11739   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   11740     case $host_cpu in
   11741     i*86 )
   11742       # Not sure whether the presence of OpenBSD here was a mistake.
   11743       # Let's accept both of them until this is cleared up.
   11744       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   11745       lt_cv_file_magic_cmd=/usr/bin/file
   11746       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   11747       ;;
   11748     esac
   11749   else
   11750     lt_cv_deplibs_check_method=pass_all
   11751   fi
   11752   ;;
   11753 
   11754 gnu*)
   11755   lt_cv_deplibs_check_method=pass_all
   11756   ;;
   11757 
   11758 haiku*)
   11759   lt_cv_deplibs_check_method=pass_all
   11760   ;;
   11761 
   11762 hpux10.20* | hpux11*)
   11763   lt_cv_file_magic_cmd=/usr/bin/file
   11764   case $host_cpu in
   11765   ia64*)
   11766     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   11767     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   11768     ;;
   11769   hppa*64*)
   11770     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]'
   11771     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   11772     ;;
   11773   *)
   11774     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   11775     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   11776     ;;
   11777   esac
   11778   ;;
   11779 
   11780 interix[3-9]*)
   11781   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   11782   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   11783   ;;
   11784 
   11785 irix5* | irix6* | nonstopux*)
   11786   case $LD in
   11787   *-32|*"-32 ") libmagic=32-bit;;
   11788   *-n32|*"-n32 ") libmagic=N32;;
   11789   *-64|*"-64 ") libmagic=64-bit;;
   11790   *) libmagic=never-match;;
   11791   esac
   11792   lt_cv_deplibs_check_method=pass_all
   11793   ;;
   11794 
   11795 # This must be glibc/ELF.
   11796 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   11797   lt_cv_deplibs_check_method=pass_all
   11798   ;;
   11799 
   11800 netbsd*)
   11801   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   11802     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   11803   else
   11804     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   11805   fi
   11806   ;;
   11807 
   11808 newos6*)
   11809   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   11810   lt_cv_file_magic_cmd=/usr/bin/file
   11811   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   11812   ;;
   11813 
   11814 *nto* | *qnx*)
   11815   lt_cv_deplibs_check_method=pass_all
   11816   ;;
   11817 
   11818 openbsd*)
   11819   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   11820     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   11821   else
   11822     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   11823   fi
   11824   ;;
   11825 
   11826 osf3* | osf4* | osf5*)
   11827   lt_cv_deplibs_check_method=pass_all
   11828   ;;
   11829 
   11830 rdos*)
   11831   lt_cv_deplibs_check_method=pass_all
   11832   ;;
   11833 
   11834 solaris*)
   11835   lt_cv_deplibs_check_method=pass_all
   11836   ;;
   11837 
   11838 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   11839   lt_cv_deplibs_check_method=pass_all
   11840   ;;
   11841 
   11842 sysv4 | sysv4.3*)
   11843   case $host_vendor in
   11844   motorola)
   11845     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]'
   11846     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   11847     ;;
   11848   ncr)
   11849     lt_cv_deplibs_check_method=pass_all
   11850     ;;
   11851   sequent)
   11852     lt_cv_file_magic_cmd='/bin/file'
   11853     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   11854     ;;
   11855   sni)
   11856     lt_cv_file_magic_cmd='/bin/file'
   11857     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   11858     lt_cv_file_magic_test_file=/lib/libc.so
   11859     ;;
   11860   siemens)
   11861     lt_cv_deplibs_check_method=pass_all
   11862     ;;
   11863   pc)
   11864     lt_cv_deplibs_check_method=pass_all
   11865     ;;
   11866   esac
   11867   ;;
   11868 
   11869 tpf*)
   11870   lt_cv_deplibs_check_method=pass_all
   11871   ;;
   11872 esac
   11873 
   11874 fi
   11875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   11876 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   11877 
   11878 file_magic_glob=
   11879 want_nocaseglob=no
   11880 if test "$build" = "$host"; then
   11881   case $host_os in
   11882   mingw* | pw32*)
   11883     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   11884       want_nocaseglob=yes
   11885     else
   11886       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   11887     fi
   11888     ;;
   11889   esac
   11890 fi
   11891 
   11892 file_magic_cmd=$lt_cv_file_magic_cmd
   11893 deplibs_check_method=$lt_cv_deplibs_check_method
   11894 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   11895 
   11896 
   11897 
   11898 
   11899 
   11900 
   11901 
   11902 
   11903 
   11904 
   11905 
   11906 
   11907 
   11908 
   11909 
   11910 
   11911 
   11912 
   11913 
   11914 
   11915 
   11916 
   11917 if test -n "$ac_tool_prefix"; then
   11918   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   11919 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   11920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11921 $as_echo_n "checking for $ac_word... " >&6; }
   11922 if ${ac_cv_prog_DLLTOOL+:} false; then :
   11923   $as_echo_n "(cached) " >&6
   11924 else
   11925   if test -n "$DLLTOOL"; then
   11926   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   11927 else
   11928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11929 for as_dir in $PATH
   11930 do
   11931   IFS=$as_save_IFS
   11932   test -z "$as_dir" && as_dir=.
   11933     for ac_exec_ext in '' $ac_executable_extensions; do
   11934   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11935     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   11936     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11937     break 2
   11938   fi
   11939 done
   11940   done
   11941 IFS=$as_save_IFS
   11942 
   11943 fi
   11944 fi
   11945 DLLTOOL=$ac_cv_prog_DLLTOOL
   11946 if test -n "$DLLTOOL"; then
   11947   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   11948 $as_echo "$DLLTOOL" >&6; }
   11949 else
   11950   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11951 $as_echo "no" >&6; }
   11952 fi
   11953 
   11954 
   11955 fi
   11956 if test -z "$ac_cv_prog_DLLTOOL"; then
   11957   ac_ct_DLLTOOL=$DLLTOOL
   11958   # Extract the first word of "dlltool", so it can be a program name with args.
   11959 set dummy dlltool; ac_word=$2
   11960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11961 $as_echo_n "checking for $ac_word... " >&6; }
   11962 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   11963   $as_echo_n "(cached) " >&6
   11964 else
   11965   if test -n "$ac_ct_DLLTOOL"; then
   11966   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   11967 else
   11968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11969 for as_dir in $PATH
   11970 do
   11971   IFS=$as_save_IFS
   11972   test -z "$as_dir" && as_dir=.
   11973     for ac_exec_ext in '' $ac_executable_extensions; do
   11974   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11975     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   11976     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11977     break 2
   11978   fi
   11979 done
   11980   done
   11981 IFS=$as_save_IFS
   11982 
   11983 fi
   11984 fi
   11985 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   11986 if test -n "$ac_ct_DLLTOOL"; then
   11987   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   11988 $as_echo "$ac_ct_DLLTOOL" >&6; }
   11989 else
   11990   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11991 $as_echo "no" >&6; }
   11992 fi
   11993 
   11994   if test "x$ac_ct_DLLTOOL" = x; then
   11995     DLLTOOL="false"
   11996   else
   11997     case $cross_compiling:$ac_tool_warned in
   11998 yes:)
   11999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12000 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12001 ac_tool_warned=yes ;;
   12002 esac
   12003     DLLTOOL=$ac_ct_DLLTOOL
   12004   fi
   12005 else
   12006   DLLTOOL="$ac_cv_prog_DLLTOOL"
   12007 fi
   12008 
   12009 test -z "$DLLTOOL" && DLLTOOL=dlltool
   12010 
   12011 
   12012 
   12013 
   12014 
   12015 
   12016 
   12017 
   12018 
   12019 
   12020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   12021 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   12022 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   12023   $as_echo_n "(cached) " >&6
   12024 else
   12025   lt_cv_sharedlib_from_linklib_cmd='unknown'
   12026 
   12027 case $host_os in
   12028 cygwin* | mingw* | pw32* | cegcc*)
   12029   # two different shell functions defined in ltmain.sh
   12030   # decide which to use based on capabilities of $DLLTOOL
   12031   case `$DLLTOOL --help 2>&1` in
   12032   *--identify-strict*)
   12033     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   12034     ;;
   12035   *)
   12036     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   12037     ;;
   12038   esac
   12039   ;;
   12040 *)
   12041   # fallback: assume linklib IS sharedlib
   12042   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
   12043   ;;
   12044 esac
   12045 
   12046 fi
   12047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   12048 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   12049 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   12050 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   12051 
   12052 
   12053 
   12054 
   12055 
   12056 
   12057 
   12058 if test -n "$ac_tool_prefix"; then
   12059   for ac_prog in ar
   12060   do
   12061     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   12062 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   12063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12064 $as_echo_n "checking for $ac_word... " >&6; }
   12065 if ${ac_cv_prog_AR+:} false; then :
   12066   $as_echo_n "(cached) " >&6
   12067 else
   12068   if test -n "$AR"; then
   12069   ac_cv_prog_AR="$AR" # Let the user override the test.
   12070 else
   12071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12072 for as_dir in $PATH
   12073 do
   12074   IFS=$as_save_IFS
   12075   test -z "$as_dir" && as_dir=.
   12076     for ac_exec_ext in '' $ac_executable_extensions; do
   12077   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12078     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   12079     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12080     break 2
   12081   fi
   12082 done
   12083   done
   12084 IFS=$as_save_IFS
   12085 
   12086 fi
   12087 fi
   12088 AR=$ac_cv_prog_AR
   12089 if test -n "$AR"; then
   12090   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   12091 $as_echo "$AR" >&6; }
   12092 else
   12093   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12094 $as_echo "no" >&6; }
   12095 fi
   12096 
   12097 
   12098     test -n "$AR" && break
   12099   done
   12100 fi
   12101 if test -z "$AR"; then
   12102   ac_ct_AR=$AR
   12103   for ac_prog in ar
   12104 do
   12105   # Extract the first word of "$ac_prog", so it can be a program name with args.
   12106 set dummy $ac_prog; ac_word=$2
   12107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12108 $as_echo_n "checking for $ac_word... " >&6; }
   12109 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   12110   $as_echo_n "(cached) " >&6
   12111 else
   12112   if test -n "$ac_ct_AR"; then
   12113   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   12114 else
   12115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12116 for as_dir in $PATH
   12117 do
   12118   IFS=$as_save_IFS
   12119   test -z "$as_dir" && as_dir=.
   12120     for ac_exec_ext in '' $ac_executable_extensions; do
   12121   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12122     ac_cv_prog_ac_ct_AR="$ac_prog"
   12123     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12124     break 2
   12125   fi
   12126 done
   12127   done
   12128 IFS=$as_save_IFS
   12129 
   12130 fi
   12131 fi
   12132 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   12133 if test -n "$ac_ct_AR"; then
   12134   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   12135 $as_echo "$ac_ct_AR" >&6; }
   12136 else
   12137   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12138 $as_echo "no" >&6; }
   12139 fi
   12140 
   12141 
   12142   test -n "$ac_ct_AR" && break
   12143 done
   12144 
   12145   if test "x$ac_ct_AR" = x; then
   12146     AR="false"
   12147   else
   12148     case $cross_compiling:$ac_tool_warned in
   12149 yes:)
   12150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12151 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12152 ac_tool_warned=yes ;;
   12153 esac
   12154     AR=$ac_ct_AR
   12155   fi
   12156 fi
   12157 
   12158 : ${AR=ar}
   12159 : ${AR_FLAGS=cru}
   12160 
   12161 
   12162 
   12163 
   12164 
   12165 
   12166 
   12167 
   12168 
   12169 
   12170 
   12171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   12172 $as_echo_n "checking for archiver @FILE support... " >&6; }
   12173 if ${lt_cv_ar_at_file+:} false; then :
   12174   $as_echo_n "(cached) " >&6
   12175 else
   12176   lt_cv_ar_at_file=no
   12177    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12178 /* end confdefs.h.  */
   12179 
   12180 int
   12181 main ()
   12182 {
   12183 
   12184   ;
   12185   return 0;
   12186 }
   12187 _ACEOF
   12188 if ac_fn_c_try_compile "$LINENO"; then :
   12189   echo conftest.$ac_objext > conftest.lst
   12190       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   12191       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   12192   (eval $lt_ar_try) 2>&5
   12193   ac_status=$?
   12194   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12195   test $ac_status = 0; }
   12196       if test "$ac_status" -eq 0; then
   12197 	# Ensure the archiver fails upon bogus file names.
   12198 	rm -f conftest.$ac_objext libconftest.a
   12199 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   12200   (eval $lt_ar_try) 2>&5
   12201   ac_status=$?
   12202   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12203   test $ac_status = 0; }
   12204 	if test "$ac_status" -ne 0; then
   12205           lt_cv_ar_at_file=@
   12206         fi
   12207       fi
   12208       rm -f conftest.* libconftest.a
   12209 
   12210 fi
   12211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12212 
   12213 fi
   12214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   12215 $as_echo "$lt_cv_ar_at_file" >&6; }
   12216 
   12217 if test "x$lt_cv_ar_at_file" = xno; then
   12218   archiver_list_spec=
   12219 else
   12220   archiver_list_spec=$lt_cv_ar_at_file
   12221 fi
   12222 
   12223 
   12224 
   12225 
   12226 
   12227 
   12228 
   12229 if test -n "$ac_tool_prefix"; then
   12230   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   12231 set dummy ${ac_tool_prefix}strip; ac_word=$2
   12232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12233 $as_echo_n "checking for $ac_word... " >&6; }
   12234 if ${ac_cv_prog_STRIP+:} false; then :
   12235   $as_echo_n "(cached) " >&6
   12236 else
   12237   if test -n "$STRIP"; then
   12238   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   12239 else
   12240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12241 for as_dir in $PATH
   12242 do
   12243   IFS=$as_save_IFS
   12244   test -z "$as_dir" && as_dir=.
   12245     for ac_exec_ext in '' $ac_executable_extensions; do
   12246   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12247     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   12248     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12249     break 2
   12250   fi
   12251 done
   12252   done
   12253 IFS=$as_save_IFS
   12254 
   12255 fi
   12256 fi
   12257 STRIP=$ac_cv_prog_STRIP
   12258 if test -n "$STRIP"; then
   12259   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   12260 $as_echo "$STRIP" >&6; }
   12261 else
   12262   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12263 $as_echo "no" >&6; }
   12264 fi
   12265 
   12266 
   12267 fi
   12268 if test -z "$ac_cv_prog_STRIP"; then
   12269   ac_ct_STRIP=$STRIP
   12270   # Extract the first word of "strip", so it can be a program name with args.
   12271 set dummy strip; ac_word=$2
   12272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12273 $as_echo_n "checking for $ac_word... " >&6; }
   12274 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   12275   $as_echo_n "(cached) " >&6
   12276 else
   12277   if test -n "$ac_ct_STRIP"; then
   12278   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   12279 else
   12280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12281 for as_dir in $PATH
   12282 do
   12283   IFS=$as_save_IFS
   12284   test -z "$as_dir" && as_dir=.
   12285     for ac_exec_ext in '' $ac_executable_extensions; do
   12286   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12287     ac_cv_prog_ac_ct_STRIP="strip"
   12288     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12289     break 2
   12290   fi
   12291 done
   12292   done
   12293 IFS=$as_save_IFS
   12294 
   12295 fi
   12296 fi
   12297 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   12298 if test -n "$ac_ct_STRIP"; then
   12299   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   12300 $as_echo "$ac_ct_STRIP" >&6; }
   12301 else
   12302   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12303 $as_echo "no" >&6; }
   12304 fi
   12305 
   12306   if test "x$ac_ct_STRIP" = x; then
   12307     STRIP=":"
   12308   else
   12309     case $cross_compiling:$ac_tool_warned in
   12310 yes:)
   12311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12312 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12313 ac_tool_warned=yes ;;
   12314 esac
   12315     STRIP=$ac_ct_STRIP
   12316   fi
   12317 else
   12318   STRIP="$ac_cv_prog_STRIP"
   12319 fi
   12320 
   12321 test -z "$STRIP" && STRIP=:
   12322 
   12323 
   12324 
   12325 
   12326 
   12327 
   12328 if test -n "$ac_tool_prefix"; then
   12329   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   12330 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   12331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12332 $as_echo_n "checking for $ac_word... " >&6; }
   12333 if ${ac_cv_prog_RANLIB+:} false; then :
   12334   $as_echo_n "(cached) " >&6
   12335 else
   12336   if test -n "$RANLIB"; then
   12337   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   12338 else
   12339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12340 for as_dir in $PATH
   12341 do
   12342   IFS=$as_save_IFS
   12343   test -z "$as_dir" && as_dir=.
   12344     for ac_exec_ext in '' $ac_executable_extensions; do
   12345   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12346     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   12347     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12348     break 2
   12349   fi
   12350 done
   12351   done
   12352 IFS=$as_save_IFS
   12353 
   12354 fi
   12355 fi
   12356 RANLIB=$ac_cv_prog_RANLIB
   12357 if test -n "$RANLIB"; then
   12358   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   12359 $as_echo "$RANLIB" >&6; }
   12360 else
   12361   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12362 $as_echo "no" >&6; }
   12363 fi
   12364 
   12365 
   12366 fi
   12367 if test -z "$ac_cv_prog_RANLIB"; then
   12368   ac_ct_RANLIB=$RANLIB
   12369   # Extract the first word of "ranlib", so it can be a program name with args.
   12370 set dummy ranlib; ac_word=$2
   12371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12372 $as_echo_n "checking for $ac_word... " >&6; }
   12373 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   12374   $as_echo_n "(cached) " >&6
   12375 else
   12376   if test -n "$ac_ct_RANLIB"; then
   12377   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   12378 else
   12379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12380 for as_dir in $PATH
   12381 do
   12382   IFS=$as_save_IFS
   12383   test -z "$as_dir" && as_dir=.
   12384     for ac_exec_ext in '' $ac_executable_extensions; do
   12385   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12386     ac_cv_prog_ac_ct_RANLIB="ranlib"
   12387     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12388     break 2
   12389   fi
   12390 done
   12391   done
   12392 IFS=$as_save_IFS
   12393 
   12394 fi
   12395 fi
   12396 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   12397 if test -n "$ac_ct_RANLIB"; then
   12398   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   12399 $as_echo "$ac_ct_RANLIB" >&6; }
   12400 else
   12401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12402 $as_echo "no" >&6; }
   12403 fi
   12404 
   12405   if test "x$ac_ct_RANLIB" = x; then
   12406     RANLIB=":"
   12407   else
   12408     case $cross_compiling:$ac_tool_warned in
   12409 yes:)
   12410 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12411 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12412 ac_tool_warned=yes ;;
   12413 esac
   12414     RANLIB=$ac_ct_RANLIB
   12415   fi
   12416 else
   12417   RANLIB="$ac_cv_prog_RANLIB"
   12418 fi
   12419 
   12420 test -z "$RANLIB" && RANLIB=:
   12421 
   12422 
   12423 
   12424 
   12425 
   12426 
   12427 # Determine commands to create old-style static archives.
   12428 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   12429 old_postinstall_cmds='chmod 644 $oldlib'
   12430 old_postuninstall_cmds=
   12431 
   12432 if test -n "$RANLIB"; then
   12433   case $host_os in
   12434   openbsd*)
   12435     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   12436     ;;
   12437   *)
   12438     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   12439     ;;
   12440   esac
   12441   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   12442 fi
   12443 
   12444 case $host_os in
   12445   darwin*)
   12446     lock_old_archive_extraction=yes ;;
   12447   *)
   12448     lock_old_archive_extraction=no ;;
   12449 esac
   12450 
   12451 
   12452 
   12453 
   12454 
   12455 
   12456 
   12457 
   12458 
   12459 
   12460 
   12461 
   12462 
   12463 
   12464 
   12465 
   12466 
   12467 
   12468 
   12469 
   12470 
   12471 
   12472 
   12473 
   12474 
   12475 
   12476 
   12477 
   12478 
   12479 
   12480 
   12481 
   12482 
   12483 
   12484 
   12485 
   12486 
   12487 
   12488 
   12489 # If no C compiler was specified, use CC.
   12490 LTCC=${LTCC-"$CC"}
   12491 
   12492 # If no C compiler flags were specified, use CFLAGS.
   12493 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   12494 
   12495 # Allow CC to be a program name with arguments.
   12496 compiler=$CC
   12497 
   12498 
   12499 # Check for command to grab the raw symbol name followed by C symbol from nm.
   12500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   12501 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   12502 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   12503   $as_echo_n "(cached) " >&6
   12504 else
   12505 
   12506 # These are sane defaults that work on at least a few old systems.
   12507 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   12508 
   12509 # Character class describing NM global symbol codes.
   12510 symcode='[BCDEGRST]'
   12511 
   12512 # Regexp to match symbols that can be accessed directly from C.
   12513 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   12514 
   12515 # Define system-specific variables.
   12516 case $host_os in
   12517 aix*)
   12518   symcode='[BCDT]'
   12519   ;;
   12520 cygwin* | mingw* | pw32* | cegcc*)
   12521   symcode='[ABCDGISTW]'
   12522   ;;
   12523 hpux*)
   12524   if test "$host_cpu" = ia64; then
   12525     symcode='[ABCDEGRST]'
   12526   fi
   12527   ;;
   12528 irix* | nonstopux*)
   12529   symcode='[BCDEGRST]'
   12530   ;;
   12531 osf*)
   12532   symcode='[BCDEGQRST]'
   12533   ;;
   12534 solaris*)
   12535   symcode='[BDRT]'
   12536   ;;
   12537 sco3.2v5*)
   12538   symcode='[DT]'
   12539   ;;
   12540 sysv4.2uw2*)
   12541   symcode='[DT]'
   12542   ;;
   12543 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   12544   symcode='[ABDT]'
   12545   ;;
   12546 sysv4)
   12547   symcode='[DFNSTU]'
   12548   ;;
   12549 esac
   12550 
   12551 # If we're using GNU nm, then use its standard symbol codes.
   12552 case `$NM -V 2>&1` in
   12553 *GNU* | *'with BFD'*)
   12554   symcode='[ABCDGIRSTW]' ;;
   12555 esac
   12556 
   12557 # Transform an extracted symbol line into a proper C declaration.
   12558 # Some systems (esp. on ia64) link data and code symbols differently,
   12559 # so use this general approach.
   12560 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   12561 
   12562 # Transform an extracted symbol line into symbol name and symbol address
   12563 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   12564 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
   12565 
   12566 # Handle CRLF in mingw tool chain
   12567 opt_cr=
   12568 case $build_os in
   12569 mingw*)
   12570   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   12571   ;;
   12572 esac
   12573 
   12574 # Try without a prefix underscore, then with it.
   12575 for ac_symprfx in "" "_"; do
   12576 
   12577   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   12578   symxfrm="\\1 $ac_symprfx\\2 \\2"
   12579 
   12580   # Write the raw and C identifiers.
   12581   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   12582     # Fake it for dumpbin and say T for any non-static function
   12583     # and D for any global variable.
   12584     # Also find C++ and __fastcall symbols from MSVC++,
   12585     # which start with @ or ?.
   12586     lt_cv_sys_global_symbol_pipe="$AWK '"\
   12587 "     {last_section=section; section=\$ 3};"\
   12588 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   12589 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   12590 "     \$ 0!~/External *\|/{next};"\
   12591 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   12592 "     {if(hide[section]) next};"\
   12593 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   12594 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   12595 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   12596 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   12597 "     ' prfx=^$ac_symprfx"
   12598   else
   12599     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   12600   fi
   12601   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   12602 
   12603   # Check to see that the pipe works correctly.
   12604   pipe_works=no
   12605 
   12606   rm -f conftest*
   12607   cat > conftest.$ac_ext <<_LT_EOF
   12608 #ifdef __cplusplus
   12609 extern "C" {
   12610 #endif
   12611 char nm_test_var;
   12612 void nm_test_func(void);
   12613 void nm_test_func(void){}
   12614 #ifdef __cplusplus
   12615 }
   12616 #endif
   12617 int main(){nm_test_var='a';nm_test_func();return(0);}
   12618 _LT_EOF
   12619 
   12620   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   12621   (eval $ac_compile) 2>&5
   12622   ac_status=$?
   12623   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12624   test $ac_status = 0; }; then
   12625     # Now try to grab the symbols.
   12626     nlist=conftest.nm
   12627     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   12628   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   12629   ac_status=$?
   12630   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12631   test $ac_status = 0; } && test -s "$nlist"; then
   12632       # Try sorting and uniquifying the output.
   12633       if sort "$nlist" | uniq > "$nlist"T; then
   12634 	mv -f "$nlist"T "$nlist"
   12635       else
   12636 	rm -f "$nlist"T
   12637       fi
   12638 
   12639       # Make sure that we snagged all the symbols we need.
   12640       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   12641 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   12642 	  cat <<_LT_EOF > conftest.$ac_ext
   12643 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   12644 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
   12645 /* DATA imports from DLLs on WIN32 con't be const, because runtime
   12646    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   12647 # define LT_DLSYM_CONST
   12648 #elif defined(__osf__)
   12649 /* This system does not cope well with relocations in const data.  */
   12650 # define LT_DLSYM_CONST
   12651 #else
   12652 # define LT_DLSYM_CONST const
   12653 #endif
   12654 
   12655 #ifdef __cplusplus
   12656 extern "C" {
   12657 #endif
   12658 
   12659 _LT_EOF
   12660 	  # Now generate the symbol file.
   12661 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   12662 
   12663 	  cat <<_LT_EOF >> conftest.$ac_ext
   12664 
   12665 /* The mapping between symbol names and symbols.  */
   12666 LT_DLSYM_CONST struct {
   12667   const char *name;
   12668   void       *address;
   12669 }
   12670 lt__PROGRAM__LTX_preloaded_symbols[] =
   12671 {
   12672   { "@PROGRAM@", (void *) 0 },
   12673 _LT_EOF
   12674 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   12675 	  cat <<\_LT_EOF >> conftest.$ac_ext
   12676   {0, (void *) 0}
   12677 };
   12678 
   12679 /* This works around a problem in FreeBSD linker */
   12680 #ifdef FREEBSD_WORKAROUND
   12681 static const void *lt_preloaded_setup() {
   12682   return lt__PROGRAM__LTX_preloaded_symbols;
   12683 }
   12684 #endif
   12685 
   12686 #ifdef __cplusplus
   12687 }
   12688 #endif
   12689 _LT_EOF
   12690 	  # Now try linking the two files.
   12691 	  mv conftest.$ac_objext conftstm.$ac_objext
   12692 	  lt_globsym_save_LIBS=$LIBS
   12693 	  lt_globsym_save_CFLAGS=$CFLAGS
   12694 	  LIBS="conftstm.$ac_objext"
   12695 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   12696 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12697   (eval $ac_link) 2>&5
   12698   ac_status=$?
   12699   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12700   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   12701 	    pipe_works=yes
   12702 	  fi
   12703 	  LIBS=$lt_globsym_save_LIBS
   12704 	  CFLAGS=$lt_globsym_save_CFLAGS
   12705 	else
   12706 	  echo "cannot find nm_test_func in $nlist" >&5
   12707 	fi
   12708       else
   12709 	echo "cannot find nm_test_var in $nlist" >&5
   12710       fi
   12711     else
   12712       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   12713     fi
   12714   else
   12715     echo "$progname: failed program was:" >&5
   12716     cat conftest.$ac_ext >&5
   12717   fi
   12718   rm -rf conftest* conftst*
   12719 
   12720   # Do not use the global_symbol_pipe unless it works.
   12721   if test "$pipe_works" = yes; then
   12722     break
   12723   else
   12724     lt_cv_sys_global_symbol_pipe=
   12725   fi
   12726 done
   12727 
   12728 fi
   12729 
   12730 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   12731   lt_cv_sys_global_symbol_to_cdecl=
   12732 fi
   12733 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   12734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   12735 $as_echo "failed" >&6; }
   12736 else
   12737   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   12738 $as_echo "ok" >&6; }
   12739 fi
   12740 
   12741 # Response file support.
   12742 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   12743   nm_file_list_spec='@'
   12744 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   12745   nm_file_list_spec='@'
   12746 fi
   12747 
   12748 
   12749 
   12750 
   12751 
   12752 
   12753 
   12754 
   12755 
   12756 
   12757 
   12758 
   12759 
   12760 
   12761 
   12762 
   12763 
   12764 
   12765 
   12766 
   12767 
   12768 
   12769 
   12770 
   12771 
   12772 
   12773 
   12774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   12775 $as_echo_n "checking for sysroot... " >&6; }
   12776 
   12777 # Check whether --with-sysroot was given.
   12778 if test "${with_sysroot+set}" = set; then :
   12779   withval=$with_sysroot;
   12780 else
   12781   with_sysroot=no
   12782 fi
   12783 
   12784 
   12785 lt_sysroot=
   12786 case ${with_sysroot} in #(
   12787  yes)
   12788    if test "$GCC" = yes; then
   12789      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   12790    fi
   12791    ;; #(
   12792  /*)
   12793    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   12794    ;; #(
   12795  no|'')
   12796    ;; #(
   12797  *)
   12798    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
   12799 $as_echo "${with_sysroot}" >&6; }
   12800    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   12801    ;;
   12802 esac
   12803 
   12804  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   12805 $as_echo "${lt_sysroot:-no}" >&6; }
   12806 
   12807 
   12808 
   12809 
   12810 
   12811 # Check whether --enable-libtool-lock was given.
   12812 if test "${enable_libtool_lock+set}" = set; then :
   12813   enableval=$enable_libtool_lock;
   12814 fi
   12815 
   12816 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   12817 
   12818 # Some flags need to be propagated to the compiler or linker for good
   12819 # libtool support.
   12820 case $host in
   12821 ia64-*-hpux*)
   12822   # Find out which ABI we are using.
   12823   echo 'int i;' > conftest.$ac_ext
   12824   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   12825   (eval $ac_compile) 2>&5
   12826   ac_status=$?
   12827   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12828   test $ac_status = 0; }; then
   12829     case `/usr/bin/file conftest.$ac_objext` in
   12830       *ELF-32*)
   12831 	HPUX_IA64_MODE="32"
   12832 	;;
   12833       *ELF-64*)
   12834 	HPUX_IA64_MODE="64"
   12835 	;;
   12836     esac
   12837   fi
   12838   rm -rf conftest*
   12839   ;;
   12840 *-*-irix6*)
   12841   # Find out which ABI we are using.
   12842   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   12843   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   12844   (eval $ac_compile) 2>&5
   12845   ac_status=$?
   12846   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12847   test $ac_status = 0; }; then
   12848     if test "$lt_cv_prog_gnu_ld" = yes; then
   12849       case `/usr/bin/file conftest.$ac_objext` in
   12850 	*32-bit*)
   12851 	  LD="${LD-ld} -melf32bsmip"
   12852 	  ;;
   12853 	*N32*)
   12854 	  LD="${LD-ld} -melf32bmipn32"
   12855 	  ;;
   12856 	*64-bit*)
   12857 	  LD="${LD-ld} -melf64bmip"
   12858 	;;
   12859       esac
   12860     else
   12861       case `/usr/bin/file conftest.$ac_objext` in
   12862 	*32-bit*)
   12863 	  LD="${LD-ld} -32"
   12864 	  ;;
   12865 	*N32*)
   12866 	  LD="${LD-ld} -n32"
   12867 	  ;;
   12868 	*64-bit*)
   12869 	  LD="${LD-ld} -64"
   12870 	  ;;
   12871       esac
   12872     fi
   12873   fi
   12874   rm -rf conftest*
   12875   ;;
   12876 
   12877 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   12878 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   12879   # Find out which ABI we are using.
   12880   echo 'int i;' > conftest.$ac_ext
   12881   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   12882   (eval $ac_compile) 2>&5
   12883   ac_status=$?
   12884   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12885   test $ac_status = 0; }; then
   12886     case `/usr/bin/file conftest.o` in
   12887       *32-bit*)
   12888 	case $host in
   12889 	  x86_64-*kfreebsd*-gnu)
   12890 	    LD="${LD-ld} -m elf_i386_fbsd"
   12891 	    ;;
   12892 	  x86_64-*linux*)
   12893 	    LD="${LD-ld} -m elf_i386"
   12894 	    ;;
   12895 	  ppc64-*linux*|powerpc64-*linux*)
   12896 	    LD="${LD-ld} -m elf32ppclinux"
   12897 	    ;;
   12898 	  s390x-*linux*)
   12899 	    LD="${LD-ld} -m elf_s390"
   12900 	    ;;
   12901 	  sparc64-*linux*)
   12902 	    LD="${LD-ld} -m elf32_sparc"
   12903 	    ;;
   12904 	esac
   12905 	;;
   12906       *64-bit*)
   12907 	case $host in
   12908 	  x86_64-*kfreebsd*-gnu)
   12909 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   12910 	    ;;
   12911 	  x86_64-*linux*)
   12912 	    LD="${LD-ld} -m elf_x86_64"
   12913 	    ;;
   12914 	  ppc*-*linux*|powerpc*-*linux*)
   12915 	    LD="${LD-ld} -m elf64ppc"
   12916 	    ;;
   12917 	  s390*-*linux*|s390*-*tpf*)
   12918 	    LD="${LD-ld} -m elf64_s390"
   12919 	    ;;
   12920 	  sparc*-*linux*)
   12921 	    LD="${LD-ld} -m elf64_sparc"
   12922 	    ;;
   12923 	esac
   12924 	;;
   12925     esac
   12926   fi
   12927   rm -rf conftest*
   12928   ;;
   12929 
   12930 *-*-sco3.2v5*)
   12931   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   12932   SAVE_CFLAGS="$CFLAGS"
   12933   CFLAGS="$CFLAGS -belf"
   12934   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   12935 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   12936 if ${lt_cv_cc_needs_belf+:} false; then :
   12937   $as_echo_n "(cached) " >&6
   12938 else
   12939   ac_ext=c
   12940 ac_cpp='$CPP $CPPFLAGS'
   12941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12944 
   12945      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12946 /* end confdefs.h.  */
   12947 
   12948 int
   12949 main ()
   12950 {
   12951 
   12952   ;
   12953   return 0;
   12954 }
   12955 _ACEOF
   12956 if ac_fn_c_try_link "$LINENO"; then :
   12957   lt_cv_cc_needs_belf=yes
   12958 else
   12959   lt_cv_cc_needs_belf=no
   12960 fi
   12961 rm -f core conftest.err conftest.$ac_objext \
   12962     conftest$ac_exeext conftest.$ac_ext
   12963      ac_ext=c
   12964 ac_cpp='$CPP $CPPFLAGS'
   12965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12968 
   12969 fi
   12970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   12971 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   12972   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   12973     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   12974     CFLAGS="$SAVE_CFLAGS"
   12975   fi
   12976   ;;
   12977 *-*solaris*)
   12978   # Find out which ABI we are using.
   12979   echo 'int i;' > conftest.$ac_ext
   12980   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   12981   (eval $ac_compile) 2>&5
   12982   ac_status=$?
   12983   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12984   test $ac_status = 0; }; then
   12985     case `/usr/bin/file conftest.o` in
   12986     *64-bit*)
   12987       case $lt_cv_prog_gnu_ld in
   12988       yes*)
   12989         case $host in
   12990         i?86-*-solaris*)
   12991           LD="${LD-ld} -m elf_x86_64"
   12992           ;;
   12993         sparc*-*-solaris*)
   12994           LD="${LD-ld} -m elf64_sparc"
   12995           ;;
   12996         esac
   12997         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   12998         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   12999           LD="${LD-ld}_sol2"
   13000         fi
   13001         ;;
   13002       *)
   13003 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   13004 	  LD="${LD-ld} -64"
   13005 	fi
   13006 	;;
   13007       esac
   13008       ;;
   13009     esac
   13010   fi
   13011   rm -rf conftest*
   13012   ;;
   13013 esac
   13014 
   13015 need_locks="$enable_libtool_lock"
   13016 
   13017 if test -n "$ac_tool_prefix"; then
   13018   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   13019 set dummy ${ac_tool_prefix}mt; ac_word=$2
   13020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13021 $as_echo_n "checking for $ac_word... " >&6; }
   13022 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   13023   $as_echo_n "(cached) " >&6
   13024 else
   13025   if test -n "$MANIFEST_TOOL"; then
   13026   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   13027 else
   13028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13029 for as_dir in $PATH
   13030 do
   13031   IFS=$as_save_IFS
   13032   test -z "$as_dir" && as_dir=.
   13033     for ac_exec_ext in '' $ac_executable_extensions; do
   13034   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13035     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   13036     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13037     break 2
   13038   fi
   13039 done
   13040   done
   13041 IFS=$as_save_IFS
   13042 
   13043 fi
   13044 fi
   13045 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   13046 if test -n "$MANIFEST_TOOL"; then
   13047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   13048 $as_echo "$MANIFEST_TOOL" >&6; }
   13049 else
   13050   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13051 $as_echo "no" >&6; }
   13052 fi
   13053 
   13054 
   13055 fi
   13056 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   13057   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   13058   # Extract the first word of "mt", so it can be a program name with args.
   13059 set dummy mt; ac_word=$2
   13060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13061 $as_echo_n "checking for $ac_word... " >&6; }
   13062 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   13063   $as_echo_n "(cached) " >&6
   13064 else
   13065   if test -n "$ac_ct_MANIFEST_TOOL"; then
   13066   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   13067 else
   13068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13069 for as_dir in $PATH
   13070 do
   13071   IFS=$as_save_IFS
   13072   test -z "$as_dir" && as_dir=.
   13073     for ac_exec_ext in '' $ac_executable_extensions; do
   13074   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13075     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   13076     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13077     break 2
   13078   fi
   13079 done
   13080   done
   13081 IFS=$as_save_IFS
   13082 
   13083 fi
   13084 fi
   13085 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   13086 if test -n "$ac_ct_MANIFEST_TOOL"; then
   13087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   13088 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   13089 else
   13090   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13091 $as_echo "no" >&6; }
   13092 fi
   13093 
   13094   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   13095     MANIFEST_TOOL=":"
   13096   else
   13097     case $cross_compiling:$ac_tool_warned in
   13098 yes:)
   13099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13100 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13101 ac_tool_warned=yes ;;
   13102 esac
   13103     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   13104   fi
   13105 else
   13106   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   13107 fi
   13108 
   13109 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   13110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   13111 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   13112 if ${lt_cv_path_mainfest_tool+:} false; then :
   13113   $as_echo_n "(cached) " >&6
   13114 else
   13115   lt_cv_path_mainfest_tool=no
   13116   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   13117   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   13118   cat conftest.err >&5
   13119   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   13120     lt_cv_path_mainfest_tool=yes
   13121   fi
   13122   rm -f conftest*
   13123 fi
   13124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   13125 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   13126 if test "x$lt_cv_path_mainfest_tool" != xyes; then
   13127   MANIFEST_TOOL=:
   13128 fi
   13129 
   13130 
   13131 
   13132 
   13133 
   13134 
   13135   case $host_os in
   13136     rhapsody* | darwin*)
   13137     if test -n "$ac_tool_prefix"; then
   13138   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   13139 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   13140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13141 $as_echo_n "checking for $ac_word... " >&6; }
   13142 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   13143   $as_echo_n "(cached) " >&6
   13144 else
   13145   if test -n "$DSYMUTIL"; then
   13146   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   13147 else
   13148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13149 for as_dir in $PATH
   13150 do
   13151   IFS=$as_save_IFS
   13152   test -z "$as_dir" && as_dir=.
   13153     for ac_exec_ext in '' $ac_executable_extensions; do
   13154   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13155     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   13156     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13157     break 2
   13158   fi
   13159 done
   13160   done
   13161 IFS=$as_save_IFS
   13162 
   13163 fi
   13164 fi
   13165 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   13166 if test -n "$DSYMUTIL"; then
   13167   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   13168 $as_echo "$DSYMUTIL" >&6; }
   13169 else
   13170   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13171 $as_echo "no" >&6; }
   13172 fi
   13173 
   13174 
   13175 fi
   13176 if test -z "$ac_cv_prog_DSYMUTIL"; then
   13177   ac_ct_DSYMUTIL=$DSYMUTIL
   13178   # Extract the first word of "dsymutil", so it can be a program name with args.
   13179 set dummy dsymutil; ac_word=$2
   13180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13181 $as_echo_n "checking for $ac_word... " >&6; }
   13182 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   13183   $as_echo_n "(cached) " >&6
   13184 else
   13185   if test -n "$ac_ct_DSYMUTIL"; then
   13186   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   13187 else
   13188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13189 for as_dir in $PATH
   13190 do
   13191   IFS=$as_save_IFS
   13192   test -z "$as_dir" && as_dir=.
   13193     for ac_exec_ext in '' $ac_executable_extensions; do
   13194   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13195     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   13196     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13197     break 2
   13198   fi
   13199 done
   13200   done
   13201 IFS=$as_save_IFS
   13202 
   13203 fi
   13204 fi
   13205 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   13206 if test -n "$ac_ct_DSYMUTIL"; then
   13207   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   13208 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   13209 else
   13210   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13211 $as_echo "no" >&6; }
   13212 fi
   13213 
   13214   if test "x$ac_ct_DSYMUTIL" = x; then
   13215     DSYMUTIL=":"
   13216   else
   13217     case $cross_compiling:$ac_tool_warned in
   13218 yes:)
   13219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13220 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13221 ac_tool_warned=yes ;;
   13222 esac
   13223     DSYMUTIL=$ac_ct_DSYMUTIL
   13224   fi
   13225 else
   13226   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   13227 fi
   13228 
   13229     if test -n "$ac_tool_prefix"; then
   13230   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   13231 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   13232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13233 $as_echo_n "checking for $ac_word... " >&6; }
   13234 if ${ac_cv_prog_NMEDIT+:} false; then :
   13235   $as_echo_n "(cached) " >&6
   13236 else
   13237   if test -n "$NMEDIT"; then
   13238   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   13239 else
   13240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13241 for as_dir in $PATH
   13242 do
   13243   IFS=$as_save_IFS
   13244   test -z "$as_dir" && as_dir=.
   13245     for ac_exec_ext in '' $ac_executable_extensions; do
   13246   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13247     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   13248     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13249     break 2
   13250   fi
   13251 done
   13252   done
   13253 IFS=$as_save_IFS
   13254 
   13255 fi
   13256 fi
   13257 NMEDIT=$ac_cv_prog_NMEDIT
   13258 if test -n "$NMEDIT"; then
   13259   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   13260 $as_echo "$NMEDIT" >&6; }
   13261 else
   13262   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13263 $as_echo "no" >&6; }
   13264 fi
   13265 
   13266 
   13267 fi
   13268 if test -z "$ac_cv_prog_NMEDIT"; then
   13269   ac_ct_NMEDIT=$NMEDIT
   13270   # Extract the first word of "nmedit", so it can be a program name with args.
   13271 set dummy nmedit; ac_word=$2
   13272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13273 $as_echo_n "checking for $ac_word... " >&6; }
   13274 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   13275   $as_echo_n "(cached) " >&6
   13276 else
   13277   if test -n "$ac_ct_NMEDIT"; then
   13278   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   13279 else
   13280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13281 for as_dir in $PATH
   13282 do
   13283   IFS=$as_save_IFS
   13284   test -z "$as_dir" && as_dir=.
   13285     for ac_exec_ext in '' $ac_executable_extensions; do
   13286   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13287     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   13288     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13289     break 2
   13290   fi
   13291 done
   13292   done
   13293 IFS=$as_save_IFS
   13294 
   13295 fi
   13296 fi
   13297 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   13298 if test -n "$ac_ct_NMEDIT"; then
   13299   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   13300 $as_echo "$ac_ct_NMEDIT" >&6; }
   13301 else
   13302   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13303 $as_echo "no" >&6; }
   13304 fi
   13305 
   13306   if test "x$ac_ct_NMEDIT" = x; then
   13307     NMEDIT=":"
   13308   else
   13309     case $cross_compiling:$ac_tool_warned in
   13310 yes:)
   13311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13312 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13313 ac_tool_warned=yes ;;
   13314 esac
   13315     NMEDIT=$ac_ct_NMEDIT
   13316   fi
   13317 else
   13318   NMEDIT="$ac_cv_prog_NMEDIT"
   13319 fi
   13320 
   13321     if test -n "$ac_tool_prefix"; then
   13322   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   13323 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   13324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13325 $as_echo_n "checking for $ac_word... " >&6; }
   13326 if ${ac_cv_prog_LIPO+:} false; then :
   13327   $as_echo_n "(cached) " >&6
   13328 else
   13329   if test -n "$LIPO"; then
   13330   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   13331 else
   13332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13333 for as_dir in $PATH
   13334 do
   13335   IFS=$as_save_IFS
   13336   test -z "$as_dir" && as_dir=.
   13337     for ac_exec_ext in '' $ac_executable_extensions; do
   13338   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13339     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   13340     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13341     break 2
   13342   fi
   13343 done
   13344   done
   13345 IFS=$as_save_IFS
   13346 
   13347 fi
   13348 fi
   13349 LIPO=$ac_cv_prog_LIPO
   13350 if test -n "$LIPO"; then
   13351   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   13352 $as_echo "$LIPO" >&6; }
   13353 else
   13354   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13355 $as_echo "no" >&6; }
   13356 fi
   13357 
   13358 
   13359 fi
   13360 if test -z "$ac_cv_prog_LIPO"; then
   13361   ac_ct_LIPO=$LIPO
   13362   # Extract the first word of "lipo", so it can be a program name with args.
   13363 set dummy lipo; ac_word=$2
   13364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13365 $as_echo_n "checking for $ac_word... " >&6; }
   13366 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   13367   $as_echo_n "(cached) " >&6
   13368 else
   13369   if test -n "$ac_ct_LIPO"; then
   13370   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   13371 else
   13372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13373 for as_dir in $PATH
   13374 do
   13375   IFS=$as_save_IFS
   13376   test -z "$as_dir" && as_dir=.
   13377     for ac_exec_ext in '' $ac_executable_extensions; do
   13378   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13379     ac_cv_prog_ac_ct_LIPO="lipo"
   13380     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13381     break 2
   13382   fi
   13383 done
   13384   done
   13385 IFS=$as_save_IFS
   13386 
   13387 fi
   13388 fi
   13389 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   13390 if test -n "$ac_ct_LIPO"; then
   13391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   13392 $as_echo "$ac_ct_LIPO" >&6; }
   13393 else
   13394   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13395 $as_echo "no" >&6; }
   13396 fi
   13397 
   13398   if test "x$ac_ct_LIPO" = x; then
   13399     LIPO=":"
   13400   else
   13401     case $cross_compiling:$ac_tool_warned in
   13402 yes:)
   13403 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13404 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13405 ac_tool_warned=yes ;;
   13406 esac
   13407     LIPO=$ac_ct_LIPO
   13408   fi
   13409 else
   13410   LIPO="$ac_cv_prog_LIPO"
   13411 fi
   13412 
   13413     if test -n "$ac_tool_prefix"; then
   13414   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   13415 set dummy ${ac_tool_prefix}otool; ac_word=$2
   13416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13417 $as_echo_n "checking for $ac_word... " >&6; }
   13418 if ${ac_cv_prog_OTOOL+:} false; then :
   13419   $as_echo_n "(cached) " >&6
   13420 else
   13421   if test -n "$OTOOL"; then
   13422   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   13423 else
   13424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13425 for as_dir in $PATH
   13426 do
   13427   IFS=$as_save_IFS
   13428   test -z "$as_dir" && as_dir=.
   13429     for ac_exec_ext in '' $ac_executable_extensions; do
   13430   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13431     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   13432     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13433     break 2
   13434   fi
   13435 done
   13436   done
   13437 IFS=$as_save_IFS
   13438 
   13439 fi
   13440 fi
   13441 OTOOL=$ac_cv_prog_OTOOL
   13442 if test -n "$OTOOL"; then
   13443   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   13444 $as_echo "$OTOOL" >&6; }
   13445 else
   13446   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13447 $as_echo "no" >&6; }
   13448 fi
   13449 
   13450 
   13451 fi
   13452 if test -z "$ac_cv_prog_OTOOL"; then
   13453   ac_ct_OTOOL=$OTOOL
   13454   # Extract the first word of "otool", so it can be a program name with args.
   13455 set dummy otool; ac_word=$2
   13456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13457 $as_echo_n "checking for $ac_word... " >&6; }
   13458 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   13459   $as_echo_n "(cached) " >&6
   13460 else
   13461   if test -n "$ac_ct_OTOOL"; then
   13462   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   13463 else
   13464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13465 for as_dir in $PATH
   13466 do
   13467   IFS=$as_save_IFS
   13468   test -z "$as_dir" && as_dir=.
   13469     for ac_exec_ext in '' $ac_executable_extensions; do
   13470   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13471     ac_cv_prog_ac_ct_OTOOL="otool"
   13472     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13473     break 2
   13474   fi
   13475 done
   13476   done
   13477 IFS=$as_save_IFS
   13478 
   13479 fi
   13480 fi
   13481 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   13482 if test -n "$ac_ct_OTOOL"; then
   13483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   13484 $as_echo "$ac_ct_OTOOL" >&6; }
   13485 else
   13486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13487 $as_echo "no" >&6; }
   13488 fi
   13489 
   13490   if test "x$ac_ct_OTOOL" = x; then
   13491     OTOOL=":"
   13492   else
   13493     case $cross_compiling:$ac_tool_warned in
   13494 yes:)
   13495 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13496 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13497 ac_tool_warned=yes ;;
   13498 esac
   13499     OTOOL=$ac_ct_OTOOL
   13500   fi
   13501 else
   13502   OTOOL="$ac_cv_prog_OTOOL"
   13503 fi
   13504 
   13505     if test -n "$ac_tool_prefix"; then
   13506   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   13507 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   13508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13509 $as_echo_n "checking for $ac_word... " >&6; }
   13510 if ${ac_cv_prog_OTOOL64+:} false; then :
   13511   $as_echo_n "(cached) " >&6
   13512 else
   13513   if test -n "$OTOOL64"; then
   13514   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   13515 else
   13516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13517 for as_dir in $PATH
   13518 do
   13519   IFS=$as_save_IFS
   13520   test -z "$as_dir" && as_dir=.
   13521     for ac_exec_ext in '' $ac_executable_extensions; do
   13522   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13523     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   13524     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13525     break 2
   13526   fi
   13527 done
   13528   done
   13529 IFS=$as_save_IFS
   13530 
   13531 fi
   13532 fi
   13533 OTOOL64=$ac_cv_prog_OTOOL64
   13534 if test -n "$OTOOL64"; then
   13535   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   13536 $as_echo "$OTOOL64" >&6; }
   13537 else
   13538   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13539 $as_echo "no" >&6; }
   13540 fi
   13541 
   13542 
   13543 fi
   13544 if test -z "$ac_cv_prog_OTOOL64"; then
   13545   ac_ct_OTOOL64=$OTOOL64
   13546   # Extract the first word of "otool64", so it can be a program name with args.
   13547 set dummy otool64; ac_word=$2
   13548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13549 $as_echo_n "checking for $ac_word... " >&6; }
   13550 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   13551   $as_echo_n "(cached) " >&6
   13552 else
   13553   if test -n "$ac_ct_OTOOL64"; then
   13554   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   13555 else
   13556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13557 for as_dir in $PATH
   13558 do
   13559   IFS=$as_save_IFS
   13560   test -z "$as_dir" && as_dir=.
   13561     for ac_exec_ext in '' $ac_executable_extensions; do
   13562   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13563     ac_cv_prog_ac_ct_OTOOL64="otool64"
   13564     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13565     break 2
   13566   fi
   13567 done
   13568   done
   13569 IFS=$as_save_IFS
   13570 
   13571 fi
   13572 fi
   13573 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   13574 if test -n "$ac_ct_OTOOL64"; then
   13575   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   13576 $as_echo "$ac_ct_OTOOL64" >&6; }
   13577 else
   13578   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13579 $as_echo "no" >&6; }
   13580 fi
   13581 
   13582   if test "x$ac_ct_OTOOL64" = x; then
   13583     OTOOL64=":"
   13584   else
   13585     case $cross_compiling:$ac_tool_warned in
   13586 yes:)
   13587 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13588 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13589 ac_tool_warned=yes ;;
   13590 esac
   13591     OTOOL64=$ac_ct_OTOOL64
   13592   fi
   13593 else
   13594   OTOOL64="$ac_cv_prog_OTOOL64"
   13595 fi
   13596 
   13597 
   13598 
   13599 
   13600 
   13601 
   13602 
   13603 
   13604 
   13605 
   13606 
   13607 
   13608 
   13609 
   13610 
   13611 
   13612 
   13613 
   13614 
   13615 
   13616 
   13617 
   13618 
   13619 
   13620 
   13621 
   13622 
   13623     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   13624 $as_echo_n "checking for -single_module linker flag... " >&6; }
   13625 if ${lt_cv_apple_cc_single_mod+:} false; then :
   13626   $as_echo_n "(cached) " >&6
   13627 else
   13628   lt_cv_apple_cc_single_mod=no
   13629       if test -z "${LT_MULTI_MODULE}"; then
   13630 	# By default we will add the -single_module flag. You can override
   13631 	# by either setting the environment variable LT_MULTI_MODULE
   13632 	# non-empty at configure time, or by adding -multi_module to the
   13633 	# link flags.
   13634 	rm -rf libconftest.dylib*
   13635 	echo "int foo(void){return 1;}" > conftest.c
   13636 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   13637 -dynamiclib -Wl,-single_module conftest.c" >&5
   13638 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   13639 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   13640         _lt_result=$?
   13641 	# If there is a non-empty error log, and "single_module"
   13642 	# appears in it, assume the flag caused a linker warning
   13643         if test -s conftest.err && $GREP single_module conftest.err; then
   13644 	  cat conftest.err >&5
   13645 	# Otherwise, if the output was created with a 0 exit code from
   13646 	# the compiler, it worked.
   13647 	elif test -f libconftest.dylib && test $_lt_result -eq 0; then
   13648 	  lt_cv_apple_cc_single_mod=yes
   13649 	else
   13650 	  cat conftest.err >&5
   13651 	fi
   13652 	rm -rf libconftest.dylib*
   13653 	rm -f conftest.*
   13654       fi
   13655 fi
   13656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   13657 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   13658 
   13659     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   13660 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   13661 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   13662   $as_echo_n "(cached) " >&6
   13663 else
   13664   lt_cv_ld_exported_symbols_list=no
   13665       save_LDFLAGS=$LDFLAGS
   13666       echo "_main" > conftest.sym
   13667       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   13668       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13669 /* end confdefs.h.  */
   13670 
   13671 int
   13672 main ()
   13673 {
   13674 
   13675   ;
   13676   return 0;
   13677 }
   13678 _ACEOF
   13679 if ac_fn_c_try_link "$LINENO"; then :
   13680   lt_cv_ld_exported_symbols_list=yes
   13681 else
   13682   lt_cv_ld_exported_symbols_list=no
   13683 fi
   13684 rm -f core conftest.err conftest.$ac_objext \
   13685     conftest$ac_exeext conftest.$ac_ext
   13686 	LDFLAGS="$save_LDFLAGS"
   13687 
   13688 fi
   13689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   13690 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   13691 
   13692     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   13693 $as_echo_n "checking for -force_load linker flag... " >&6; }
   13694 if ${lt_cv_ld_force_load+:} false; then :
   13695   $as_echo_n "(cached) " >&6
   13696 else
   13697   lt_cv_ld_force_load=no
   13698       cat > conftest.c << _LT_EOF
   13699 int forced_loaded() { return 2;}
   13700 _LT_EOF
   13701       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   13702       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   13703       echo "$AR cru libconftest.a conftest.o" >&5
   13704       $AR cru libconftest.a conftest.o 2>&5
   13705       echo "$RANLIB libconftest.a" >&5
   13706       $RANLIB libconftest.a 2>&5
   13707       cat > conftest.c << _LT_EOF
   13708 int main() { return 0;}
   13709 _LT_EOF
   13710       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   13711       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   13712       _lt_result=$?
   13713       if test -s conftest.err && $GREP force_load conftest.err; then
   13714 	cat conftest.err >&5
   13715       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
   13716 	lt_cv_ld_force_load=yes
   13717       else
   13718 	cat conftest.err >&5
   13719       fi
   13720         rm -f conftest.err libconftest.a conftest conftest.c
   13721         rm -rf conftest.dSYM
   13722 
   13723 fi
   13724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   13725 $as_echo "$lt_cv_ld_force_load" >&6; }
   13726     case $host_os in
   13727     rhapsody* | darwin1.[012])
   13728       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   13729     darwin1.*)
   13730       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   13731     darwin*) # darwin 5.x on
   13732       # if running on 10.5 or later, the deployment target defaults
   13733       # to the OS version, if on x86, and 10.4, the deployment
   13734       # target defaults to 10.4. Don't you love it?
   13735       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   13736 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   13737 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   13738 	10.[012]*)
   13739 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   13740 	10.*)
   13741 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   13742       esac
   13743     ;;
   13744   esac
   13745     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   13746       _lt_dar_single_mod='$single_module'
   13747     fi
   13748     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   13749       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   13750     else
   13751       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   13752     fi
   13753     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   13754       _lt_dsymutil='~$DSYMUTIL $lib || :'
   13755     else
   13756       _lt_dsymutil=
   13757     fi
   13758     ;;
   13759   esac
   13760 
   13761 for ac_header in dlfcn.h
   13762 do :
   13763   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   13764 "
   13765 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   13766   cat >>confdefs.h <<_ACEOF
   13767 #define HAVE_DLFCN_H 1
   13768 _ACEOF
   13769 
   13770 fi
   13771 
   13772 done
   13773 
   13774 
   13775 
   13776 
   13777 
   13778 # Set options
   13779 
   13780 
   13781 
   13782         enable_dlopen=no
   13783 
   13784 
   13785   enable_win32_dll=no
   13786 
   13787 
   13788             # Check whether --enable-shared was given.
   13789 if test "${enable_shared+set}" = set; then :
   13790   enableval=$enable_shared; p=${PACKAGE-default}
   13791     case $enableval in
   13792     yes) enable_shared=yes ;;
   13793     no) enable_shared=no ;;
   13794     *)
   13795       enable_shared=no
   13796       # Look at the argument we got.  We use all the common list separators.
   13797       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   13798       for pkg in $enableval; do
   13799 	IFS="$lt_save_ifs"
   13800 	if test "X$pkg" = "X$p"; then
   13801 	  enable_shared=yes
   13802 	fi
   13803       done
   13804       IFS="$lt_save_ifs"
   13805       ;;
   13806     esac
   13807 else
   13808   enable_shared=yes
   13809 fi
   13810 
   13811 
   13812 
   13813 
   13814 
   13815 
   13816 
   13817 
   13818 
   13819 
   13820 
   13821 # Check whether --with-pic was given.
   13822 if test "${with_pic+set}" = set; then :
   13823   withval=$with_pic; lt_p=${PACKAGE-default}
   13824     case $withval in
   13825     yes|no) pic_mode=$withval ;;
   13826     *)
   13827       pic_mode=default
   13828       # Look at the argument we got.  We use all the common list separators.
   13829       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   13830       for lt_pkg in $withval; do
   13831 	IFS="$lt_save_ifs"
   13832 	if test "X$lt_pkg" = "X$lt_p"; then
   13833 	  pic_mode=yes
   13834 	fi
   13835       done
   13836       IFS="$lt_save_ifs"
   13837       ;;
   13838     esac
   13839 else
   13840   pic_mode=default
   13841 fi
   13842 
   13843 
   13844 test -z "$pic_mode" && pic_mode=default
   13845 
   13846 
   13847 
   13848 
   13849 
   13850 
   13851 
   13852   # Check whether --enable-fast-install was given.
   13853 if test "${enable_fast_install+set}" = set; then :
   13854   enableval=$enable_fast_install; p=${PACKAGE-default}
   13855     case $enableval in
   13856     yes) enable_fast_install=yes ;;
   13857     no) enable_fast_install=no ;;
   13858     *)
   13859       enable_fast_install=no
   13860       # Look at the argument we got.  We use all the common list separators.
   13861       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   13862       for pkg in $enableval; do
   13863 	IFS="$lt_save_ifs"
   13864 	if test "X$pkg" = "X$p"; then
   13865 	  enable_fast_install=yes
   13866 	fi
   13867       done
   13868       IFS="$lt_save_ifs"
   13869       ;;
   13870     esac
   13871 else
   13872   enable_fast_install=yes
   13873 fi
   13874 
   13875 
   13876 
   13877 
   13878 
   13879 
   13880 
   13881 
   13882 
   13883 
   13884 
   13885 # This can be used to rebuild libtool when needed
   13886 LIBTOOL_DEPS="$ltmain"
   13887 
   13888 # Always use our own libtool.
   13889 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   13890 
   13891 
   13892 
   13893 
   13894 
   13895 
   13896 
   13897 
   13898 
   13899 
   13900 
   13901 
   13902 
   13903 
   13904 
   13905 
   13906 
   13907 
   13908 
   13909 
   13910 
   13911 
   13912 
   13913 
   13914 
   13915 
   13916 
   13917 
   13918 
   13919 
   13920 test -z "$LN_S" && LN_S="ln -s"
   13921 
   13922 
   13923 
   13924 
   13925 
   13926 
   13927 
   13928 
   13929 
   13930 
   13931 
   13932 
   13933 
   13934 
   13935 if test -n "${ZSH_VERSION+set}" ; then
   13936    setopt NO_GLOB_SUBST
   13937 fi
   13938 
   13939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   13940 $as_echo_n "checking for objdir... " >&6; }
   13941 if ${lt_cv_objdir+:} false; then :
   13942   $as_echo_n "(cached) " >&6
   13943 else
   13944   rm -f .libs 2>/dev/null
   13945 mkdir .libs 2>/dev/null
   13946 if test -d .libs; then
   13947   lt_cv_objdir=.libs
   13948 else
   13949   # MS-DOS does not allow filenames that begin with a dot.
   13950   lt_cv_objdir=_libs
   13951 fi
   13952 rmdir .libs 2>/dev/null
   13953 fi
   13954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   13955 $as_echo "$lt_cv_objdir" >&6; }
   13956 objdir=$lt_cv_objdir
   13957 
   13958 
   13959 
   13960 
   13961 
   13962 cat >>confdefs.h <<_ACEOF
   13963 #define LT_OBJDIR "$lt_cv_objdir/"
   13964 _ACEOF
   13965 
   13966 
   13967 
   13968 
   13969 case $host_os in
   13970 aix3*)
   13971   # AIX sometimes has problems with the GCC collect2 program.  For some
   13972   # reason, if we set the COLLECT_NAMES environment variable, the problems
   13973   # vanish in a puff of smoke.
   13974   if test "X${COLLECT_NAMES+set}" != Xset; then
   13975     COLLECT_NAMES=
   13976     export COLLECT_NAMES
   13977   fi
   13978   ;;
   13979 esac
   13980 
   13981 # Global variables:
   13982 ofile=libtool
   13983 can_build_shared=yes
   13984 
   13985 # All known linkers require a `.a' archive for static linking (except MSVC,
   13986 # which needs '.lib').
   13987 libext=a
   13988 
   13989 with_gnu_ld="$lt_cv_prog_gnu_ld"
   13990 
   13991 old_CC="$CC"
   13992 old_CFLAGS="$CFLAGS"
   13993 
   13994 # Set sane defaults for various variables
   13995 test -z "$CC" && CC=cc
   13996 test -z "$LTCC" && LTCC=$CC
   13997 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   13998 test -z "$LD" && LD=ld
   13999 test -z "$ac_objext" && ac_objext=o
   14000 
   14001 for cc_temp in $compiler""; do
   14002   case $cc_temp in
   14003     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14004     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14005     \-*) ;;
   14006     *) break;;
   14007   esac
   14008 done
   14009 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   14010 
   14011 
   14012 # Only perform the check for file, if the check method requires it
   14013 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   14014 case $deplibs_check_method in
   14015 file_magic*)
   14016   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   14017     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   14018 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   14019 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   14020   $as_echo_n "(cached) " >&6
   14021 else
   14022   case $MAGIC_CMD in
   14023 [\\/*] |  ?:[\\/]*)
   14024   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   14025   ;;
   14026 *)
   14027   lt_save_MAGIC_CMD="$MAGIC_CMD"
   14028   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   14029   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   14030   for ac_dir in $ac_dummy; do
   14031     IFS="$lt_save_ifs"
   14032     test -z "$ac_dir" && ac_dir=.
   14033     if test -f $ac_dir/${ac_tool_prefix}file; then
   14034       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   14035       if test -n "$file_magic_test_file"; then
   14036 	case $deplibs_check_method in
   14037 	"file_magic "*)
   14038 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   14039 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   14040 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   14041 	    $EGREP "$file_magic_regex" > /dev/null; then
   14042 	    :
   14043 	  else
   14044 	    cat <<_LT_EOF 1>&2
   14045 
   14046 *** Warning: the command libtool uses to detect shared libraries,
   14047 *** $file_magic_cmd, produces output that libtool cannot recognize.
   14048 *** The result is that libtool may fail to recognize shared libraries
   14049 *** as such.  This will affect the creation of libtool libraries that
   14050 *** depend on shared libraries, but programs linked with such libtool
   14051 *** libraries will work regardless of this problem.  Nevertheless, you
   14052 *** may want to report the problem to your system manager and/or to
   14053 *** bug-libtool@gnu.org
   14054 
   14055 _LT_EOF
   14056 	  fi ;;
   14057 	esac
   14058       fi
   14059       break
   14060     fi
   14061   done
   14062   IFS="$lt_save_ifs"
   14063   MAGIC_CMD="$lt_save_MAGIC_CMD"
   14064   ;;
   14065 esac
   14066 fi
   14067 
   14068 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   14069 if test -n "$MAGIC_CMD"; then
   14070   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   14071 $as_echo "$MAGIC_CMD" >&6; }
   14072 else
   14073   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14074 $as_echo "no" >&6; }
   14075 fi
   14076 
   14077 
   14078 
   14079 
   14080 
   14081 if test -z "$lt_cv_path_MAGIC_CMD"; then
   14082   if test -n "$ac_tool_prefix"; then
   14083     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   14084 $as_echo_n "checking for file... " >&6; }
   14085 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   14086   $as_echo_n "(cached) " >&6
   14087 else
   14088   case $MAGIC_CMD in
   14089 [\\/*] |  ?:[\\/]*)
   14090   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   14091   ;;
   14092 *)
   14093   lt_save_MAGIC_CMD="$MAGIC_CMD"
   14094   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   14095   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   14096   for ac_dir in $ac_dummy; do
   14097     IFS="$lt_save_ifs"
   14098     test -z "$ac_dir" && ac_dir=.
   14099     if test -f $ac_dir/file; then
   14100       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   14101       if test -n "$file_magic_test_file"; then
   14102 	case $deplibs_check_method in
   14103 	"file_magic "*)
   14104 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   14105 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   14106 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   14107 	    $EGREP "$file_magic_regex" > /dev/null; then
   14108 	    :
   14109 	  else
   14110 	    cat <<_LT_EOF 1>&2
   14111 
   14112 *** Warning: the command libtool uses to detect shared libraries,
   14113 *** $file_magic_cmd, produces output that libtool cannot recognize.
   14114 *** The result is that libtool may fail to recognize shared libraries
   14115 *** as such.  This will affect the creation of libtool libraries that
   14116 *** depend on shared libraries, but programs linked with such libtool
   14117 *** libraries will work regardless of this problem.  Nevertheless, you
   14118 *** may want to report the problem to your system manager and/or to
   14119 *** bug-libtool@gnu.org
   14120 
   14121 _LT_EOF
   14122 	  fi ;;
   14123 	esac
   14124       fi
   14125       break
   14126     fi
   14127   done
   14128   IFS="$lt_save_ifs"
   14129   MAGIC_CMD="$lt_save_MAGIC_CMD"
   14130   ;;
   14131 esac
   14132 fi
   14133 
   14134 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   14135 if test -n "$MAGIC_CMD"; then
   14136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   14137 $as_echo "$MAGIC_CMD" >&6; }
   14138 else
   14139   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14140 $as_echo "no" >&6; }
   14141 fi
   14142 
   14143 
   14144   else
   14145     MAGIC_CMD=:
   14146   fi
   14147 fi
   14148 
   14149   fi
   14150   ;;
   14151 esac
   14152 
   14153 # Use C for the default configuration in the libtool script
   14154 
   14155 lt_save_CC="$CC"
   14156 ac_ext=c
   14157 ac_cpp='$CPP $CPPFLAGS'
   14158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14161 
   14162 
   14163 # Source file extension for C test sources.
   14164 ac_ext=c
   14165 
   14166 # Object file extension for compiled C test sources.
   14167 objext=o
   14168 objext=$objext
   14169 
   14170 # Code to be used in simple compile tests
   14171 lt_simple_compile_test_code="int some_variable = 0;"
   14172 
   14173 # Code to be used in simple link tests
   14174 lt_simple_link_test_code='int main(){return(0);}'
   14175 
   14176 
   14177 
   14178 
   14179 
   14180 
   14181 
   14182 # If no C compiler was specified, use CC.
   14183 LTCC=${LTCC-"$CC"}
   14184 
   14185 # If no C compiler flags were specified, use CFLAGS.
   14186 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   14187 
   14188 # Allow CC to be a program name with arguments.
   14189 compiler=$CC
   14190 
   14191 # Save the default compiler, since it gets overwritten when the other
   14192 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   14193 compiler_DEFAULT=$CC
   14194 
   14195 # save warnings/boilerplate of simple test code
   14196 ac_outfile=conftest.$ac_objext
   14197 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   14198 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14199 _lt_compiler_boilerplate=`cat conftest.err`
   14200 $RM conftest*
   14201 
   14202 ac_outfile=conftest.$ac_objext
   14203 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   14204 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14205 _lt_linker_boilerplate=`cat conftest.err`
   14206 $RM -r conftest*
   14207 
   14208 
   14209 if test -n "$compiler"; then
   14210 
   14211 lt_prog_compiler_no_builtin_flag=
   14212 
   14213 if test "$GCC" = yes; then
   14214   case $cc_basename in
   14215   nvcc*)
   14216     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   14217   *)
   14218     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   14219   esac
   14220 
   14221   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   14222 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   14223 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   14224   $as_echo_n "(cached) " >&6
   14225 else
   14226   lt_cv_prog_compiler_rtti_exceptions=no
   14227    ac_outfile=conftest.$ac_objext
   14228    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14229    lt_compiler_flag="-fno-rtti -fno-exceptions"
   14230    # Insert the option either (1) after the last *FLAGS variable, or
   14231    # (2) before a word containing "conftest.", or (3) at the end.
   14232    # Note that $ac_compile itself does not contain backslashes and begins
   14233    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14234    # The option is referenced via a variable to avoid confusing sed.
   14235    lt_compile=`echo "$ac_compile" | $SED \
   14236    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14237    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14238    -e 's:$: $lt_compiler_flag:'`
   14239    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14240    (eval "$lt_compile" 2>conftest.err)
   14241    ac_status=$?
   14242    cat conftest.err >&5
   14243    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14244    if (exit $ac_status) && test -s "$ac_outfile"; then
   14245      # The compiler can only warn and ignore the option if not recognized
   14246      # So say no if there are warnings other than the usual output.
   14247      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   14248      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14249      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14250        lt_cv_prog_compiler_rtti_exceptions=yes
   14251      fi
   14252    fi
   14253    $RM conftest*
   14254 
   14255 fi
   14256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   14257 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   14258 
   14259 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   14260     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   14261 else
   14262     :
   14263 fi
   14264 
   14265 fi
   14266 
   14267 
   14268 
   14269 
   14270 
   14271 
   14272   lt_prog_compiler_wl=
   14273 lt_prog_compiler_pic=
   14274 lt_prog_compiler_static=
   14275 
   14276 
   14277   if test "$GCC" = yes; then
   14278     lt_prog_compiler_wl='-Wl,'
   14279     lt_prog_compiler_static='-static'
   14280 
   14281     case $host_os in
   14282       aix*)
   14283       # All AIX code is PIC.
   14284       if test "$host_cpu" = ia64; then
   14285 	# AIX 5 now supports IA64 processor
   14286 	lt_prog_compiler_static='-Bstatic'
   14287       fi
   14288       ;;
   14289 
   14290     amigaos*)
   14291       case $host_cpu in
   14292       powerpc)
   14293             # see comment about AmigaOS4 .so support
   14294             lt_prog_compiler_pic='-fPIC'
   14295         ;;
   14296       m68k)
   14297             # FIXME: we need at least 68020 code to build shared libraries, but
   14298             # adding the `-m68020' flag to GCC prevents building anything better,
   14299             # like `-m68040'.
   14300             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   14301         ;;
   14302       esac
   14303       ;;
   14304 
   14305     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   14306       # PIC is the default for these OSes.
   14307       ;;
   14308 
   14309     mingw* | cygwin* | pw32* | os2* | cegcc*)
   14310       # This hack is so that the source file can tell whether it is being
   14311       # built for inclusion in a dll (and should export symbols for example).
   14312       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   14313       # (--disable-auto-import) libraries
   14314       lt_prog_compiler_pic='-DDLL_EXPORT'
   14315       ;;
   14316 
   14317     darwin* | rhapsody*)
   14318       # PIC is the default on this platform
   14319       # Common symbols not allowed in MH_DYLIB files
   14320       lt_prog_compiler_pic='-fno-common'
   14321       ;;
   14322 
   14323     haiku*)
   14324       # PIC is the default for Haiku.
   14325       # The "-static" flag exists, but is broken.
   14326       lt_prog_compiler_static=
   14327       ;;
   14328 
   14329     hpux*)
   14330       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   14331       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   14332       # sets the default TLS model and affects inlining.
   14333       case $host_cpu in
   14334       hppa*64*)
   14335 	# +Z the default
   14336 	;;
   14337       *)
   14338 	lt_prog_compiler_pic='-fPIC'
   14339 	;;
   14340       esac
   14341       ;;
   14342 
   14343     interix[3-9]*)
   14344       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   14345       # Instead, we relocate shared libraries at runtime.
   14346       ;;
   14347 
   14348     msdosdjgpp*)
   14349       # Just because we use GCC doesn't mean we suddenly get shared libraries
   14350       # on systems that don't support them.
   14351       lt_prog_compiler_can_build_shared=no
   14352       enable_shared=no
   14353       ;;
   14354 
   14355     *nto* | *qnx*)
   14356       # QNX uses GNU C++, but need to define -shared option too, otherwise
   14357       # it will coredump.
   14358       lt_prog_compiler_pic='-fPIC -shared'
   14359       ;;
   14360 
   14361     sysv4*MP*)
   14362       if test -d /usr/nec; then
   14363 	lt_prog_compiler_pic=-Kconform_pic
   14364       fi
   14365       ;;
   14366 
   14367     *)
   14368       lt_prog_compiler_pic='-fPIC'
   14369       ;;
   14370     esac
   14371 
   14372     case $cc_basename in
   14373     nvcc*) # Cuda Compiler Driver 2.2
   14374       lt_prog_compiler_wl='-Xlinker '
   14375       if test -n "$lt_prog_compiler_pic"; then
   14376         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   14377       fi
   14378       ;;
   14379     esac
   14380   else
   14381     # PORTME Check for flag to pass linker flags through the system compiler.
   14382     case $host_os in
   14383     aix*)
   14384       lt_prog_compiler_wl='-Wl,'
   14385       if test "$host_cpu" = ia64; then
   14386 	# AIX 5 now supports IA64 processor
   14387 	lt_prog_compiler_static='-Bstatic'
   14388       else
   14389 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   14390       fi
   14391       ;;
   14392 
   14393     mingw* | cygwin* | pw32* | os2* | cegcc*)
   14394       # This hack is so that the source file can tell whether it is being
   14395       # built for inclusion in a dll (and should export symbols for example).
   14396       lt_prog_compiler_pic='-DDLL_EXPORT'
   14397       ;;
   14398 
   14399     hpux9* | hpux10* | hpux11*)
   14400       lt_prog_compiler_wl='-Wl,'
   14401       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14402       # not for PA HP-UX.
   14403       case $host_cpu in
   14404       hppa*64*|ia64*)
   14405 	# +Z the default
   14406 	;;
   14407       *)
   14408 	lt_prog_compiler_pic='+Z'
   14409 	;;
   14410       esac
   14411       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   14412       lt_prog_compiler_static='${wl}-a ${wl}archive'
   14413       ;;
   14414 
   14415     irix5* | irix6* | nonstopux*)
   14416       lt_prog_compiler_wl='-Wl,'
   14417       # PIC (with -KPIC) is the default.
   14418       lt_prog_compiler_static='-non_shared'
   14419       ;;
   14420 
   14421     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   14422       case $cc_basename in
   14423       # old Intel for x86_64 which still supported -KPIC.
   14424       ecc*)
   14425 	lt_prog_compiler_wl='-Wl,'
   14426 	lt_prog_compiler_pic='-KPIC'
   14427 	lt_prog_compiler_static='-static'
   14428         ;;
   14429       # icc used to be incompatible with GCC.
   14430       # ICC 10 doesn't accept -KPIC any more.
   14431       icc* | ifort*)
   14432 	lt_prog_compiler_wl='-Wl,'
   14433 	lt_prog_compiler_pic='-fPIC'
   14434 	lt_prog_compiler_static='-static'
   14435         ;;
   14436       # Lahey Fortran 8.1.
   14437       lf95*)
   14438 	lt_prog_compiler_wl='-Wl,'
   14439 	lt_prog_compiler_pic='--shared'
   14440 	lt_prog_compiler_static='--static'
   14441 	;;
   14442       nagfor*)
   14443 	# NAG Fortran compiler
   14444 	lt_prog_compiler_wl='-Wl,-Wl,,'
   14445 	lt_prog_compiler_pic='-PIC'
   14446 	lt_prog_compiler_static='-Bstatic'
   14447 	;;
   14448       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   14449         # Portland Group compilers (*not* the Pentium gcc compiler,
   14450 	# which looks to be a dead project)
   14451 	lt_prog_compiler_wl='-Wl,'
   14452 	lt_prog_compiler_pic='-fpic'
   14453 	lt_prog_compiler_static='-Bstatic'
   14454         ;;
   14455       ccc*)
   14456         lt_prog_compiler_wl='-Wl,'
   14457         # All Alpha code is PIC.
   14458         lt_prog_compiler_static='-non_shared'
   14459         ;;
   14460       xl* | bgxl* | bgf* | mpixl*)
   14461 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   14462 	lt_prog_compiler_wl='-Wl,'
   14463 	lt_prog_compiler_pic='-qpic'
   14464 	lt_prog_compiler_static='-qstaticlink'
   14465 	;;
   14466       *)
   14467 	case `$CC -V 2>&1 | sed 5q` in
   14468 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   14469 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   14470 	  lt_prog_compiler_pic='-KPIC'
   14471 	  lt_prog_compiler_static='-Bstatic'
   14472 	  lt_prog_compiler_wl=''
   14473 	  ;;
   14474 	*Sun\ F* | *Sun*Fortran*)
   14475 	  lt_prog_compiler_pic='-KPIC'
   14476 	  lt_prog_compiler_static='-Bstatic'
   14477 	  lt_prog_compiler_wl='-Qoption ld '
   14478 	  ;;
   14479 	*Sun\ C*)
   14480 	  # Sun C 5.9
   14481 	  lt_prog_compiler_pic='-KPIC'
   14482 	  lt_prog_compiler_static='-Bstatic'
   14483 	  lt_prog_compiler_wl='-Wl,'
   14484 	  ;;
   14485         *Intel*\ [CF]*Compiler*)
   14486 	  lt_prog_compiler_wl='-Wl,'
   14487 	  lt_prog_compiler_pic='-fPIC'
   14488 	  lt_prog_compiler_static='-static'
   14489 	  ;;
   14490 	*Portland\ Group*)
   14491 	  lt_prog_compiler_wl='-Wl,'
   14492 	  lt_prog_compiler_pic='-fpic'
   14493 	  lt_prog_compiler_static='-Bstatic'
   14494 	  ;;
   14495 	esac
   14496 	;;
   14497       esac
   14498       ;;
   14499 
   14500     newsos6)
   14501       lt_prog_compiler_pic='-KPIC'
   14502       lt_prog_compiler_static='-Bstatic'
   14503       ;;
   14504 
   14505     *nto* | *qnx*)
   14506       # QNX uses GNU C++, but need to define -shared option too, otherwise
   14507       # it will coredump.
   14508       lt_prog_compiler_pic='-fPIC -shared'
   14509       ;;
   14510 
   14511     osf3* | osf4* | osf5*)
   14512       lt_prog_compiler_wl='-Wl,'
   14513       # All OSF/1 code is PIC.
   14514       lt_prog_compiler_static='-non_shared'
   14515       ;;
   14516 
   14517     rdos*)
   14518       lt_prog_compiler_static='-non_shared'
   14519       ;;
   14520 
   14521     solaris*)
   14522       lt_prog_compiler_pic='-KPIC'
   14523       lt_prog_compiler_static='-Bstatic'
   14524       case $cc_basename in
   14525       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   14526 	lt_prog_compiler_wl='-Qoption ld ';;
   14527       *)
   14528 	lt_prog_compiler_wl='-Wl,';;
   14529       esac
   14530       ;;
   14531 
   14532     sunos4*)
   14533       lt_prog_compiler_wl='-Qoption ld '
   14534       lt_prog_compiler_pic='-PIC'
   14535       lt_prog_compiler_static='-Bstatic'
   14536       ;;
   14537 
   14538     sysv4 | sysv4.2uw2* | sysv4.3*)
   14539       lt_prog_compiler_wl='-Wl,'
   14540       lt_prog_compiler_pic='-KPIC'
   14541       lt_prog_compiler_static='-Bstatic'
   14542       ;;
   14543 
   14544     sysv4*MP*)
   14545       if test -d /usr/nec ;then
   14546 	lt_prog_compiler_pic='-Kconform_pic'
   14547 	lt_prog_compiler_static='-Bstatic'
   14548       fi
   14549       ;;
   14550 
   14551     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   14552       lt_prog_compiler_wl='-Wl,'
   14553       lt_prog_compiler_pic='-KPIC'
   14554       lt_prog_compiler_static='-Bstatic'
   14555       ;;
   14556 
   14557     unicos*)
   14558       lt_prog_compiler_wl='-Wl,'
   14559       lt_prog_compiler_can_build_shared=no
   14560       ;;
   14561 
   14562     uts4*)
   14563       lt_prog_compiler_pic='-pic'
   14564       lt_prog_compiler_static='-Bstatic'
   14565       ;;
   14566 
   14567     *)
   14568       lt_prog_compiler_can_build_shared=no
   14569       ;;
   14570     esac
   14571   fi
   14572 
   14573 case $host_os in
   14574   # For platforms which do not support PIC, -DPIC is meaningless:
   14575   *djgpp*)
   14576     lt_prog_compiler_pic=
   14577     ;;
   14578   *)
   14579     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   14580     ;;
   14581 esac
   14582 
   14583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   14584 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   14585 if ${lt_cv_prog_compiler_pic+:} false; then :
   14586   $as_echo_n "(cached) " >&6
   14587 else
   14588   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   14589 fi
   14590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   14591 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   14592 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   14593 
   14594 #
   14595 # Check to make sure the PIC flag actually works.
   14596 #
   14597 if test -n "$lt_prog_compiler_pic"; then
   14598   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   14599 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   14600 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   14601   $as_echo_n "(cached) " >&6
   14602 else
   14603   lt_cv_prog_compiler_pic_works=no
   14604    ac_outfile=conftest.$ac_objext
   14605    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14606    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   14607    # Insert the option either (1) after the last *FLAGS variable, or
   14608    # (2) before a word containing "conftest.", or (3) at the end.
   14609    # Note that $ac_compile itself does not contain backslashes and begins
   14610    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14611    # The option is referenced via a variable to avoid confusing sed.
   14612    lt_compile=`echo "$ac_compile" | $SED \
   14613    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14614    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14615    -e 's:$: $lt_compiler_flag:'`
   14616    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14617    (eval "$lt_compile" 2>conftest.err)
   14618    ac_status=$?
   14619    cat conftest.err >&5
   14620    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14621    if (exit $ac_status) && test -s "$ac_outfile"; then
   14622      # The compiler can only warn and ignore the option if not recognized
   14623      # So say no if there are warnings other than the usual output.
   14624      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   14625      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14626      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14627        lt_cv_prog_compiler_pic_works=yes
   14628      fi
   14629    fi
   14630    $RM conftest*
   14631 
   14632 fi
   14633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   14634 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   14635 
   14636 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   14637     case $lt_prog_compiler_pic in
   14638      "" | " "*) ;;
   14639      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   14640      esac
   14641 else
   14642     lt_prog_compiler_pic=
   14643      lt_prog_compiler_can_build_shared=no
   14644 fi
   14645 
   14646 fi
   14647 
   14648 
   14649 
   14650 
   14651 
   14652 
   14653 
   14654 
   14655 
   14656 
   14657 
   14658 #
   14659 # Check to make sure the static flag actually works.
   14660 #
   14661 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   14662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   14663 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   14664 if ${lt_cv_prog_compiler_static_works+:} false; then :
   14665   $as_echo_n "(cached) " >&6
   14666 else
   14667   lt_cv_prog_compiler_static_works=no
   14668    save_LDFLAGS="$LDFLAGS"
   14669    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   14670    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   14671    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   14672      # The linker can only warn and ignore the option if not recognized
   14673      # So say no if there are warnings
   14674      if test -s conftest.err; then
   14675        # Append any errors to the config.log.
   14676        cat conftest.err 1>&5
   14677        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   14678        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14679        if diff conftest.exp conftest.er2 >/dev/null; then
   14680          lt_cv_prog_compiler_static_works=yes
   14681        fi
   14682      else
   14683        lt_cv_prog_compiler_static_works=yes
   14684      fi
   14685    fi
   14686    $RM -r conftest*
   14687    LDFLAGS="$save_LDFLAGS"
   14688 
   14689 fi
   14690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   14691 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   14692 
   14693 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   14694     :
   14695 else
   14696     lt_prog_compiler_static=
   14697 fi
   14698 
   14699 
   14700 
   14701 
   14702 
   14703 
   14704 
   14705   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   14706 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   14707 if ${lt_cv_prog_compiler_c_o+:} false; then :
   14708   $as_echo_n "(cached) " >&6
   14709 else
   14710   lt_cv_prog_compiler_c_o=no
   14711    $RM -r conftest 2>/dev/null
   14712    mkdir conftest
   14713    cd conftest
   14714    mkdir out
   14715    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14716 
   14717    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14718    # Insert the option either (1) after the last *FLAGS variable, or
   14719    # (2) before a word containing "conftest.", or (3) at the end.
   14720    # Note that $ac_compile itself does not contain backslashes and begins
   14721    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14722    lt_compile=`echo "$ac_compile" | $SED \
   14723    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14724    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14725    -e 's:$: $lt_compiler_flag:'`
   14726    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14727    (eval "$lt_compile" 2>out/conftest.err)
   14728    ac_status=$?
   14729    cat out/conftest.err >&5
   14730    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14731    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14732    then
   14733      # The compiler can only warn and ignore the option if not recognized
   14734      # So say no if there are warnings
   14735      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   14736      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14737      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14738        lt_cv_prog_compiler_c_o=yes
   14739      fi
   14740    fi
   14741    chmod u+w . 2>&5
   14742    $RM conftest*
   14743    # SGI C++ compiler will create directory out/ii_files/ for
   14744    # template instantiation
   14745    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   14746    $RM out/* && rmdir out
   14747    cd ..
   14748    $RM -r conftest
   14749    $RM conftest*
   14750 
   14751 fi
   14752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   14753 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   14754 
   14755 
   14756 
   14757 
   14758 
   14759 
   14760   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   14761 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   14762 if ${lt_cv_prog_compiler_c_o+:} false; then :
   14763   $as_echo_n "(cached) " >&6
   14764 else
   14765   lt_cv_prog_compiler_c_o=no
   14766    $RM -r conftest 2>/dev/null
   14767    mkdir conftest
   14768    cd conftest
   14769    mkdir out
   14770    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14771 
   14772    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14773    # Insert the option either (1) after the last *FLAGS variable, or
   14774    # (2) before a word containing "conftest.", or (3) at the end.
   14775    # Note that $ac_compile itself does not contain backslashes and begins
   14776    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14777    lt_compile=`echo "$ac_compile" | $SED \
   14778    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14779    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14780    -e 's:$: $lt_compiler_flag:'`
   14781    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14782    (eval "$lt_compile" 2>out/conftest.err)
   14783    ac_status=$?
   14784    cat out/conftest.err >&5
   14785    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14786    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14787    then
   14788      # The compiler can only warn and ignore the option if not recognized
   14789      # So say no if there are warnings
   14790      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   14791      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14792      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14793        lt_cv_prog_compiler_c_o=yes
   14794      fi
   14795    fi
   14796    chmod u+w . 2>&5
   14797    $RM conftest*
   14798    # SGI C++ compiler will create directory out/ii_files/ for
   14799    # template instantiation
   14800    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   14801    $RM out/* && rmdir out
   14802    cd ..
   14803    $RM -r conftest
   14804    $RM conftest*
   14805 
   14806 fi
   14807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   14808 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   14809 
   14810 
   14811 
   14812 
   14813 hard_links="nottested"
   14814 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   14815   # do not overwrite the value of need_locks provided by the user
   14816   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   14817 $as_echo_n "checking if we can lock with hard links... " >&6; }
   14818   hard_links=yes
   14819   $RM conftest*
   14820   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14821   touch conftest.a
   14822   ln conftest.a conftest.b 2>&5 || hard_links=no
   14823   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14824   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   14825 $as_echo "$hard_links" >&6; }
   14826   if test "$hard_links" = no; then
   14827     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   14828 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   14829     need_locks=warn
   14830   fi
   14831 else
   14832   need_locks=no
   14833 fi
   14834 
   14835 
   14836 
   14837 
   14838 
   14839 
   14840   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   14841 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   14842 
   14843   runpath_var=
   14844   allow_undefined_flag=
   14845   always_export_symbols=no
   14846   archive_cmds=
   14847   archive_expsym_cmds=
   14848   compiler_needs_object=no
   14849   enable_shared_with_static_runtimes=no
   14850   export_dynamic_flag_spec=
   14851   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   14852   hardcode_automatic=no
   14853   hardcode_direct=no
   14854   hardcode_direct_absolute=no
   14855   hardcode_libdir_flag_spec=
   14856   hardcode_libdir_separator=
   14857   hardcode_minus_L=no
   14858   hardcode_shlibpath_var=unsupported
   14859   inherit_rpath=no
   14860   link_all_deplibs=unknown
   14861   module_cmds=
   14862   module_expsym_cmds=
   14863   old_archive_from_new_cmds=
   14864   old_archive_from_expsyms_cmds=
   14865   thread_safe_flag_spec=
   14866   whole_archive_flag_spec=
   14867   # include_expsyms should be a list of space-separated symbols to be *always*
   14868   # included in the symbol list
   14869   include_expsyms=
   14870   # exclude_expsyms can be an extended regexp of symbols to exclude
   14871   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   14872   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   14873   # as well as any symbol that contains `d'.
   14874   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   14875   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   14876   # platforms (ab)use it in PIC code, but their linkers get confused if
   14877   # the symbol is explicitly referenced.  Since portable code cannot
   14878   # rely on this symbol name, it's probably fine to never include it in
   14879   # preloaded symbol tables.
   14880   # Exclude shared library initialization/finalization symbols.
   14881   extract_expsyms_cmds=
   14882 
   14883   case $host_os in
   14884   cygwin* | mingw* | pw32* | cegcc*)
   14885     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   14886     # When not using gcc, we currently assume that we are using
   14887     # Microsoft Visual C++.
   14888     if test "$GCC" != yes; then
   14889       with_gnu_ld=no
   14890     fi
   14891     ;;
   14892   interix*)
   14893     # we just hope/assume this is gcc and not c89 (= MSVC++)
   14894     with_gnu_ld=yes
   14895     ;;
   14896   openbsd*)
   14897     with_gnu_ld=no
   14898     ;;
   14899   esac
   14900 
   14901   ld_shlibs=yes
   14902 
   14903   # On some targets, GNU ld is compatible enough with the native linker
   14904   # that we're better off using the native interface for both.
   14905   lt_use_gnu_ld_interface=no
   14906   if test "$with_gnu_ld" = yes; then
   14907     case $host_os in
   14908       aix*)
   14909 	# The AIX port of GNU ld has always aspired to compatibility
   14910 	# with the native linker.  However, as the warning in the GNU ld
   14911 	# block says, versions before 2.19.5* couldn't really create working
   14912 	# shared libraries, regardless of the interface used.
   14913 	case `$LD -v 2>&1` in
   14914 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   14915 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   14916 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   14917 	  *)
   14918 	    lt_use_gnu_ld_interface=yes
   14919 	    ;;
   14920 	esac
   14921 	;;
   14922       *)
   14923 	lt_use_gnu_ld_interface=yes
   14924 	;;
   14925     esac
   14926   fi
   14927 
   14928   if test "$lt_use_gnu_ld_interface" = yes; then
   14929     # If archive_cmds runs LD, not CC, wlarc should be empty
   14930     wlarc='${wl}'
   14931 
   14932     # Set some defaults for GNU ld with shared library support. These
   14933     # are reset later if shared libraries are not supported. Putting them
   14934     # here allows them to be overridden if necessary.
   14935     runpath_var=LD_RUN_PATH
   14936     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   14937     export_dynamic_flag_spec='${wl}--export-dynamic'
   14938     # ancient GNU ld didn't support --whole-archive et. al.
   14939     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   14940       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   14941     else
   14942       whole_archive_flag_spec=
   14943     fi
   14944     supports_anon_versioning=no
   14945     case `$LD -v 2>&1` in
   14946       *GNU\ gold*) supports_anon_versioning=yes ;;
   14947       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   14948       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   14949       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   14950       *\ 2.11.*) ;; # other 2.11 versions
   14951       *) supports_anon_versioning=yes ;;
   14952     esac
   14953 
   14954     # See if GNU ld supports shared libraries.
   14955     case $host_os in
   14956     aix[3-9]*)
   14957       # On AIX/PPC, the GNU linker is very broken
   14958       if test "$host_cpu" != ia64; then
   14959 	ld_shlibs=no
   14960 	cat <<_LT_EOF 1>&2
   14961 
   14962 *** Warning: the GNU linker, at least up to release 2.19, is reported
   14963 *** to be unable to reliably create shared libraries on AIX.
   14964 *** Therefore, libtool is disabling shared libraries support.  If you
   14965 *** really care for shared libraries, you may want to install binutils
   14966 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   14967 *** You will then need to restart the configuration process.
   14968 
   14969 _LT_EOF
   14970       fi
   14971       ;;
   14972 
   14973     amigaos*)
   14974       case $host_cpu in
   14975       powerpc)
   14976             # see comment about AmigaOS4 .so support
   14977             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14978             archive_expsym_cmds=''
   14979         ;;
   14980       m68k)
   14981             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)'
   14982             hardcode_libdir_flag_spec='-L$libdir'
   14983             hardcode_minus_L=yes
   14984         ;;
   14985       esac
   14986       ;;
   14987 
   14988     beos*)
   14989       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   14990 	allow_undefined_flag=unsupported
   14991 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   14992 	# support --undefined.  This deserves some investigation.  FIXME
   14993 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14994       else
   14995 	ld_shlibs=no
   14996       fi
   14997       ;;
   14998 
   14999     cygwin* | mingw* | pw32* | cegcc*)
   15000       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   15001       # as there is no search path for DLLs.
   15002       hardcode_libdir_flag_spec='-L$libdir'
   15003       export_dynamic_flag_spec='${wl}--export-all-symbols'
   15004       allow_undefined_flag=unsupported
   15005       always_export_symbols=no
   15006       enable_shared_with_static_runtimes=yes
   15007       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'
   15008       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   15009 
   15010       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   15011         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   15012 	# If the export-symbols file already is a .def file (1st line
   15013 	# is EXPORTS), use it as is; otherwise, prepend...
   15014 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   15015 	  cp $export_symbols $output_objdir/$soname.def;
   15016 	else
   15017 	  echo EXPORTS > $output_objdir/$soname.def;
   15018 	  cat $export_symbols >> $output_objdir/$soname.def;
   15019 	fi~
   15020 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   15021       else
   15022 	ld_shlibs=no
   15023       fi
   15024       ;;
   15025 
   15026     haiku*)
   15027       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15028       link_all_deplibs=yes
   15029       ;;
   15030 
   15031     interix[3-9]*)
   15032       hardcode_direct=no
   15033       hardcode_shlibpath_var=no
   15034       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   15035       export_dynamic_flag_spec='${wl}-E'
   15036       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   15037       # Instead, shared libraries are loaded at an image base (0x10000000 by
   15038       # default) and relocated if they conflict, which is a slow very memory
   15039       # consuming and fragmenting process.  To avoid this, we pick a random,
   15040       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   15041       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   15042       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   15043       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'
   15044       ;;
   15045 
   15046     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   15047       tmp_diet=no
   15048       if test "$host_os" = linux-dietlibc; then
   15049 	case $cc_basename in
   15050 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   15051 	esac
   15052       fi
   15053       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   15054 	 && test "$tmp_diet" = no
   15055       then
   15056 	tmp_addflag=' $pic_flag'
   15057 	tmp_sharedflag='-shared'
   15058 	case $cc_basename,$host_cpu in
   15059         pgcc*)				# Portland Group C compiler
   15060 	  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'
   15061 	  tmp_addflag=' $pic_flag'
   15062 	  ;;
   15063 	pgf77* | pgf90* | pgf95* | pgfortran*)
   15064 					# Portland Group f77 and f90 compilers
   15065 	  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'
   15066 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   15067 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   15068 	  tmp_addflag=' -i_dynamic' ;;
   15069 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   15070 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   15071 	ifc* | ifort*)			# Intel Fortran compiler
   15072 	  tmp_addflag=' -nofor_main' ;;
   15073 	lf95*)				# Lahey Fortran 8.1
   15074 	  whole_archive_flag_spec=
   15075 	  tmp_sharedflag='--shared' ;;
   15076 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   15077 	  tmp_sharedflag='-qmkshrobj'
   15078 	  tmp_addflag= ;;
   15079 	nvcc*)	# Cuda Compiler Driver 2.2
   15080 	  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'
   15081 	  compiler_needs_object=yes
   15082 	  ;;
   15083 	esac
   15084 	case `$CC -V 2>&1 | sed 5q` in
   15085 	*Sun\ C*)			# Sun C 5.9
   15086 	  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'
   15087 	  compiler_needs_object=yes
   15088 	  tmp_sharedflag='-G' ;;
   15089 	*Sun\ F*)			# Sun Fortran 8.3
   15090 	  tmp_sharedflag='-G' ;;
   15091 	esac
   15092 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15093 
   15094         if test "x$supports_anon_versioning" = xyes; then
   15095           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   15096 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   15097 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   15098 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   15099         fi
   15100 
   15101 	case $cc_basename in
   15102 	xlf* | bgf* | bgxlf* | mpixlf*)
   15103 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   15104 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   15105 	  hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   15106 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   15107 	  if test "x$supports_anon_versioning" = xyes; then
   15108 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   15109 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   15110 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   15111 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   15112 	  fi
   15113 	  ;;
   15114 	esac
   15115       else
   15116         ld_shlibs=no
   15117       fi
   15118       ;;
   15119 
   15120     netbsd*)
   15121       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   15122 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   15123 	wlarc=
   15124       else
   15125 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15126 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15127       fi
   15128       ;;
   15129 
   15130     solaris*)
   15131       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   15132 	ld_shlibs=no
   15133 	cat <<_LT_EOF 1>&2
   15134 
   15135 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   15136 *** create shared libraries on Solaris systems.  Therefore, libtool
   15137 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15138 *** binutils to release 2.9.1 or newer.  Another option is to modify
   15139 *** your PATH or compiler configuration so that the native linker is
   15140 *** used, and then restart.
   15141 
   15142 _LT_EOF
   15143       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15144 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15145 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15146       else
   15147 	ld_shlibs=no
   15148       fi
   15149       ;;
   15150 
   15151     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   15152       case `$LD -v 2>&1` in
   15153         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   15154 	ld_shlibs=no
   15155 	cat <<_LT_EOF 1>&2
   15156 
   15157 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   15158 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   15159 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15160 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   15161 *** your PATH or compiler configuration so that the native linker is
   15162 *** used, and then restart.
   15163 
   15164 _LT_EOF
   15165 	;;
   15166 	*)
   15167 	  # For security reasons, it is highly recommended that you always
   15168 	  # use absolute paths for naming shared libraries, and exclude the
   15169 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   15170 	  # requires that you compile everything twice, which is a pain.
   15171 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15172 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   15173 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15174 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15175 	  else
   15176 	    ld_shlibs=no
   15177 	  fi
   15178 	;;
   15179       esac
   15180       ;;
   15181 
   15182     sunos4*)
   15183       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15184       wlarc=
   15185       hardcode_direct=yes
   15186       hardcode_shlibpath_var=no
   15187       ;;
   15188 
   15189     *)
   15190       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15191 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15192 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15193       else
   15194 	ld_shlibs=no
   15195       fi
   15196       ;;
   15197     esac
   15198 
   15199     if test "$ld_shlibs" = no; then
   15200       runpath_var=
   15201       hardcode_libdir_flag_spec=
   15202       export_dynamic_flag_spec=
   15203       whole_archive_flag_spec=
   15204     fi
   15205   else
   15206     # PORTME fill in a description of your system's linker (not GNU ld)
   15207     case $host_os in
   15208     aix3*)
   15209       allow_undefined_flag=unsupported
   15210       always_export_symbols=yes
   15211       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'
   15212       # Note: this linker hardcodes the directories in LIBPATH if there
   15213       # are no directories specified by -L.
   15214       hardcode_minus_L=yes
   15215       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   15216 	# Neither direct hardcoding nor static linking is supported with a
   15217 	# broken collect2.
   15218 	hardcode_direct=unsupported
   15219       fi
   15220       ;;
   15221 
   15222     aix[4-9]*)
   15223       if test "$host_cpu" = ia64; then
   15224 	# On IA64, the linker does run time linking by default, so we don't
   15225 	# have to do anything special.
   15226 	aix_use_runtimelinking=no
   15227 	exp_sym_flag='-Bexport'
   15228 	no_entry_flag=""
   15229       else
   15230 	# If we're using GNU nm, then we don't want the "-C" option.
   15231 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   15232 	# Also, AIX nm treats weak defined symbols like other global
   15233 	# defined symbols, whereas GNU nm marks them as "W".
   15234 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   15235 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   15236 	else
   15237 	  export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   15238 	fi
   15239 	aix_use_runtimelinking=no
   15240 
   15241 	# Test if we are trying to use run time linking or normal
   15242 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   15243 	# need to do runtime linking.
   15244 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   15245 	  for ld_flag in $LDFLAGS; do
   15246 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   15247 	    aix_use_runtimelinking=yes
   15248 	    break
   15249 	  fi
   15250 	  done
   15251 	  ;;
   15252 	esac
   15253 
   15254 	exp_sym_flag='-bexport'
   15255 	no_entry_flag='-bnoentry'
   15256       fi
   15257 
   15258       # When large executables or shared objects are built, AIX ld can
   15259       # have problems creating the table of contents.  If linking a library
   15260       # or program results in "error TOC overflow" add -mminimal-toc to
   15261       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   15262       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   15263 
   15264       archive_cmds=''
   15265       hardcode_direct=yes
   15266       hardcode_direct_absolute=yes
   15267       hardcode_libdir_separator=':'
   15268       link_all_deplibs=yes
   15269       file_list_spec='${wl}-f,'
   15270 
   15271       if test "$GCC" = yes; then
   15272 	case $host_os in aix4.[012]|aix4.[012].*)
   15273 	# We only want to do this on AIX 4.2 and lower, the check
   15274 	# below for broken collect2 doesn't work under 4.3+
   15275 	  collect2name=`${CC} -print-prog-name=collect2`
   15276 	  if test -f "$collect2name" &&
   15277 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   15278 	  then
   15279 	  # We have reworked collect2
   15280 	  :
   15281 	  else
   15282 	  # We have old collect2
   15283 	  hardcode_direct=unsupported
   15284 	  # It fails to find uninstalled libraries when the uninstalled
   15285 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   15286 	  # to unsupported forces relinking
   15287 	  hardcode_minus_L=yes
   15288 	  hardcode_libdir_flag_spec='-L$libdir'
   15289 	  hardcode_libdir_separator=
   15290 	  fi
   15291 	  ;;
   15292 	esac
   15293 	shared_flag='-shared'
   15294 	if test "$aix_use_runtimelinking" = yes; then
   15295 	  shared_flag="$shared_flag "'${wl}-G'
   15296 	fi
   15297       else
   15298 	# not using gcc
   15299 	if test "$host_cpu" = ia64; then
   15300 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   15301 	# chokes on -Wl,-G. The following line is correct:
   15302 	  shared_flag='-G'
   15303 	else
   15304 	  if test "$aix_use_runtimelinking" = yes; then
   15305 	    shared_flag='${wl}-G'
   15306 	  else
   15307 	    shared_flag='${wl}-bM:SRE'
   15308 	  fi
   15309 	fi
   15310       fi
   15311 
   15312       export_dynamic_flag_spec='${wl}-bexpall'
   15313       # It seems that -bexpall does not export symbols beginning with
   15314       # underscore (_), so it is better to generate a list of symbols to export.
   15315       always_export_symbols=yes
   15316       if test "$aix_use_runtimelinking" = yes; then
   15317 	# Warning - without using the other runtime loading flags (-brtl),
   15318 	# -berok will link without error, but may produce a broken library.
   15319 	allow_undefined_flag='-berok'
   15320         # Determine the default libpath from the value encoded in an
   15321         # empty executable.
   15322         if test "${lt_cv_aix_libpath+set}" = set; then
   15323   aix_libpath=$lt_cv_aix_libpath
   15324 else
   15325   if ${lt_cv_aix_libpath_+:} false; then :
   15326   $as_echo_n "(cached) " >&6
   15327 else
   15328   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15329 /* end confdefs.h.  */
   15330 
   15331 int
   15332 main ()
   15333 {
   15334 
   15335   ;
   15336   return 0;
   15337 }
   15338 _ACEOF
   15339 if ac_fn_c_try_link "$LINENO"; then :
   15340 
   15341   lt_aix_libpath_sed='
   15342       /Import File Strings/,/^$/ {
   15343 	  /^0/ {
   15344 	      s/^0  *\([^ ]*\) *$/\1/
   15345 	      p
   15346 	  }
   15347       }'
   15348   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15349   # Check for a 64-bit object if we didn't find anything.
   15350   if test -z "$lt_cv_aix_libpath_"; then
   15351     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15352   fi
   15353 fi
   15354 rm -f core conftest.err conftest.$ac_objext \
   15355     conftest$ac_exeext conftest.$ac_ext
   15356   if test -z "$lt_cv_aix_libpath_"; then
   15357     lt_cv_aix_libpath_="/usr/lib:/lib"
   15358   fi
   15359 
   15360 fi
   15361 
   15362   aix_libpath=$lt_cv_aix_libpath_
   15363 fi
   15364 
   15365         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   15366         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
   15367       else
   15368 	if test "$host_cpu" = ia64; then
   15369 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   15370 	  allow_undefined_flag="-z nodefs"
   15371 	  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"
   15372 	else
   15373 	 # Determine the default libpath from the value encoded in an
   15374 	 # empty executable.
   15375 	 if test "${lt_cv_aix_libpath+set}" = set; then
   15376   aix_libpath=$lt_cv_aix_libpath
   15377 else
   15378   if ${lt_cv_aix_libpath_+:} false; then :
   15379   $as_echo_n "(cached) " >&6
   15380 else
   15381   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15382 /* end confdefs.h.  */
   15383 
   15384 int
   15385 main ()
   15386 {
   15387 
   15388   ;
   15389   return 0;
   15390 }
   15391 _ACEOF
   15392 if ac_fn_c_try_link "$LINENO"; then :
   15393 
   15394   lt_aix_libpath_sed='
   15395       /Import File Strings/,/^$/ {
   15396 	  /^0/ {
   15397 	      s/^0  *\([^ ]*\) *$/\1/
   15398 	      p
   15399 	  }
   15400       }'
   15401   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15402   # Check for a 64-bit object if we didn't find anything.
   15403   if test -z "$lt_cv_aix_libpath_"; then
   15404     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15405   fi
   15406 fi
   15407 rm -f core conftest.err conftest.$ac_objext \
   15408     conftest$ac_exeext conftest.$ac_ext
   15409   if test -z "$lt_cv_aix_libpath_"; then
   15410     lt_cv_aix_libpath_="/usr/lib:/lib"
   15411   fi
   15412 
   15413 fi
   15414 
   15415   aix_libpath=$lt_cv_aix_libpath_
   15416 fi
   15417 
   15418 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   15419 	  # Warning - without using the other run time loading flags,
   15420 	  # -berok will link without error, but may produce a broken library.
   15421 	  no_undefined_flag=' ${wl}-bernotok'
   15422 	  allow_undefined_flag=' ${wl}-berok'
   15423 	  if test "$with_gnu_ld" = yes; then
   15424 	    # We only use this code for GNU lds that support --whole-archive.
   15425 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   15426 	  else
   15427 	    # Exported symbols can be pulled into shared objects from archives
   15428 	    whole_archive_flag_spec='$convenience'
   15429 	  fi
   15430 	  archive_cmds_need_lc=yes
   15431 	  # This is similar to how AIX traditionally builds its shared libraries.
   15432 	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
   15433 	fi
   15434       fi
   15435       ;;
   15436 
   15437     amigaos*)
   15438       case $host_cpu in
   15439       powerpc)
   15440             # see comment about AmigaOS4 .so support
   15441             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15442             archive_expsym_cmds=''
   15443         ;;
   15444       m68k)
   15445             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)'
   15446             hardcode_libdir_flag_spec='-L$libdir'
   15447             hardcode_minus_L=yes
   15448         ;;
   15449       esac
   15450       ;;
   15451 
   15452     bsdi[45]*)
   15453       export_dynamic_flag_spec=-rdynamic
   15454       ;;
   15455 
   15456     cygwin* | mingw* | pw32* | cegcc*)
   15457       # When not using gcc, we currently assume that we are using
   15458       # Microsoft Visual C++.
   15459       # hardcode_libdir_flag_spec is actually meaningless, as there is
   15460       # no search path for DLLs.
   15461       case $cc_basename in
   15462       cl*)
   15463 	# Native MSVC
   15464 	hardcode_libdir_flag_spec=' '
   15465 	allow_undefined_flag=unsupported
   15466 	always_export_symbols=yes
   15467 	file_list_spec='@'
   15468 	# Tell ltmain to make .lib files, not .a files.
   15469 	libext=lib
   15470 	# Tell ltmain to make .dll files, not .so files.
   15471 	shrext_cmds=".dll"
   15472 	# FIXME: Setting linknames here is a bad hack.
   15473 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
   15474 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   15475 	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
   15476 	  else
   15477 	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
   15478 	  fi~
   15479 	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   15480 	  linknames='
   15481 	# The linker will not automatically build a static lib if we build a DLL.
   15482 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   15483 	enable_shared_with_static_runtimes=yes
   15484 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   15485 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   15486 	# Don't use ranlib
   15487 	old_postinstall_cmds='chmod 644 $oldlib'
   15488 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   15489 	  lt_tool_outputfile="@TOOL_OUTPUT@"~
   15490 	  case $lt_outputfile in
   15491 	    *.exe|*.EXE) ;;
   15492 	    *)
   15493 	      lt_outputfile="$lt_outputfile.exe"
   15494 	      lt_tool_outputfile="$lt_tool_outputfile.exe"
   15495 	      ;;
   15496 	  esac~
   15497 	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
   15498 	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   15499 	    $RM "$lt_outputfile.manifest";
   15500 	  fi'
   15501 	;;
   15502       *)
   15503 	# Assume MSVC wrapper
   15504 	hardcode_libdir_flag_spec=' '
   15505 	allow_undefined_flag=unsupported
   15506 	# Tell ltmain to make .lib files, not .a files.
   15507 	libext=lib
   15508 	# Tell ltmain to make .dll files, not .so files.
   15509 	shrext_cmds=".dll"
   15510 	# FIXME: Setting linknames here is a bad hack.
   15511 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   15512 	# The linker will automatically build a .lib file if we build a DLL.
   15513 	old_archive_from_new_cmds='true'
   15514 	# FIXME: Should let the user specify the lib program.
   15515 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   15516 	enable_shared_with_static_runtimes=yes
   15517 	;;
   15518       esac
   15519       ;;
   15520 
   15521     darwin* | rhapsody*)
   15522 
   15523 
   15524   archive_cmds_need_lc=no
   15525   hardcode_direct=no
   15526   hardcode_automatic=yes
   15527   hardcode_shlibpath_var=unsupported
   15528   if test "$lt_cv_ld_force_load" = "yes"; then
   15529     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\"`'
   15530 
   15531   else
   15532     whole_archive_flag_spec=''
   15533   fi
   15534   link_all_deplibs=yes
   15535   allow_undefined_flag="$_lt_dar_allow_undefined"
   15536   case $cc_basename in
   15537      ifort*) _lt_dar_can_shared=yes ;;
   15538      *) _lt_dar_can_shared=$GCC ;;
   15539   esac
   15540   if test "$_lt_dar_can_shared" = "yes"; then
   15541     output_verbose_link_cmd=func_echo_all
   15542     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   15543     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   15544     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}"
   15545     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}"
   15546 
   15547   else
   15548   ld_shlibs=no
   15549   fi
   15550 
   15551       ;;
   15552 
   15553     dgux*)
   15554       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15555       hardcode_libdir_flag_spec='-L$libdir'
   15556       hardcode_shlibpath_var=no
   15557       ;;
   15558 
   15559     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   15560     # support.  Future versions do this automatically, but an explicit c++rt0.o
   15561     # does not break anything, and helps significantly (at the cost of a little
   15562     # extra space).
   15563     freebsd2.2*)
   15564       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   15565       hardcode_libdir_flag_spec='-R$libdir'
   15566       hardcode_direct=yes
   15567       hardcode_shlibpath_var=no
   15568       ;;
   15569 
   15570     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   15571     freebsd2.*)
   15572       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15573       hardcode_direct=yes
   15574       hardcode_minus_L=yes
   15575       hardcode_shlibpath_var=no
   15576       ;;
   15577 
   15578     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   15579     freebsd* | dragonfly*)
   15580       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15581       hardcode_libdir_flag_spec='-R$libdir'
   15582       hardcode_direct=yes
   15583       hardcode_shlibpath_var=no
   15584       ;;
   15585 
   15586     hpux9*)
   15587       if test "$GCC" = yes; then
   15588 	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   15589       else
   15590 	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   15591       fi
   15592       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   15593       hardcode_libdir_separator=:
   15594       hardcode_direct=yes
   15595 
   15596       # hardcode_minus_L: Not really in the search PATH,
   15597       # but as the default location of the library.
   15598       hardcode_minus_L=yes
   15599       export_dynamic_flag_spec='${wl}-E'
   15600       ;;
   15601 
   15602     hpux10*)
   15603       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   15604 	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15605       else
   15606 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   15607       fi
   15608       if test "$with_gnu_ld" = no; then
   15609 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   15610 	hardcode_libdir_separator=:
   15611 	hardcode_direct=yes
   15612 	hardcode_direct_absolute=yes
   15613 	export_dynamic_flag_spec='${wl}-E'
   15614 	# hardcode_minus_L: Not really in the search PATH,
   15615 	# but as the default location of the library.
   15616 	hardcode_minus_L=yes
   15617       fi
   15618       ;;
   15619 
   15620     hpux11*)
   15621       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   15622 	case $host_cpu in
   15623 	hppa*64*)
   15624 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15625 	  ;;
   15626 	ia64*)
   15627 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15628 	  ;;
   15629 	*)
   15630 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15631 	  ;;
   15632 	esac
   15633       else
   15634 	case $host_cpu in
   15635 	hppa*64*)
   15636 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15637 	  ;;
   15638 	ia64*)
   15639 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15640 	  ;;
   15641 	*)
   15642 
   15643 	  # Older versions of the 11.00 compiler do not understand -b yet
   15644 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   15645 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   15646 $as_echo_n "checking if $CC understands -b... " >&6; }
   15647 if ${lt_cv_prog_compiler__b+:} false; then :
   15648   $as_echo_n "(cached) " >&6
   15649 else
   15650   lt_cv_prog_compiler__b=no
   15651    save_LDFLAGS="$LDFLAGS"
   15652    LDFLAGS="$LDFLAGS -b"
   15653    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   15654    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   15655      # The linker can only warn and ignore the option if not recognized
   15656      # So say no if there are warnings
   15657      if test -s conftest.err; then
   15658        # Append any errors to the config.log.
   15659        cat conftest.err 1>&5
   15660        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   15661        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   15662        if diff conftest.exp conftest.er2 >/dev/null; then
   15663          lt_cv_prog_compiler__b=yes
   15664        fi
   15665      else
   15666        lt_cv_prog_compiler__b=yes
   15667      fi
   15668    fi
   15669    $RM -r conftest*
   15670    LDFLAGS="$save_LDFLAGS"
   15671 
   15672 fi
   15673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   15674 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   15675 
   15676 if test x"$lt_cv_prog_compiler__b" = xyes; then
   15677     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15678 else
   15679     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   15680 fi
   15681 
   15682 	  ;;
   15683 	esac
   15684       fi
   15685       if test "$with_gnu_ld" = no; then
   15686 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   15687 	hardcode_libdir_separator=:
   15688 
   15689 	case $host_cpu in
   15690 	hppa*64*|ia64*)
   15691 	  hardcode_direct=no
   15692 	  hardcode_shlibpath_var=no
   15693 	  ;;
   15694 	*)
   15695 	  hardcode_direct=yes
   15696 	  hardcode_direct_absolute=yes
   15697 	  export_dynamic_flag_spec='${wl}-E'
   15698 
   15699 	  # hardcode_minus_L: Not really in the search PATH,
   15700 	  # but as the default location of the library.
   15701 	  hardcode_minus_L=yes
   15702 	  ;;
   15703 	esac
   15704       fi
   15705       ;;
   15706 
   15707     irix5* | irix6* | nonstopux*)
   15708       if test "$GCC" = yes; then
   15709 	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'
   15710 	# Try to use the -exported_symbol ld option, if it does not
   15711 	# work, assume that -exports_file does not work either and
   15712 	# implicitly export all symbols.
   15713 	# This should be the same for all languages, so no per-tag cache variable.
   15714 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   15715 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   15716 if ${lt_cv_irix_exported_symbol+:} false; then :
   15717   $as_echo_n "(cached) " >&6
   15718 else
   15719   save_LDFLAGS="$LDFLAGS"
   15720 	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   15721 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15722 /* end confdefs.h.  */
   15723 int foo (void) { return 0; }
   15724 _ACEOF
   15725 if ac_fn_c_try_link "$LINENO"; then :
   15726   lt_cv_irix_exported_symbol=yes
   15727 else
   15728   lt_cv_irix_exported_symbol=no
   15729 fi
   15730 rm -f core conftest.err conftest.$ac_objext \
   15731     conftest$ac_exeext conftest.$ac_ext
   15732            LDFLAGS="$save_LDFLAGS"
   15733 fi
   15734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   15735 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   15736 	if test "$lt_cv_irix_exported_symbol" = yes; then
   15737           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'
   15738 	fi
   15739       else
   15740 	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'
   15741 	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'
   15742       fi
   15743       archive_cmds_need_lc='no'
   15744       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   15745       hardcode_libdir_separator=:
   15746       inherit_rpath=yes
   15747       link_all_deplibs=yes
   15748       ;;
   15749 
   15750     netbsd*)
   15751       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   15752 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   15753       else
   15754 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   15755       fi
   15756       hardcode_libdir_flag_spec='-R$libdir'
   15757       hardcode_direct=yes
   15758       hardcode_shlibpath_var=no
   15759       ;;
   15760 
   15761     newsos6)
   15762       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15763       hardcode_direct=yes
   15764       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   15765       hardcode_libdir_separator=:
   15766       hardcode_shlibpath_var=no
   15767       ;;
   15768 
   15769     *nto* | *qnx*)
   15770       ;;
   15771 
   15772     openbsd*)
   15773       if test -f /usr/libexec/ld.so; then
   15774 	hardcode_direct=yes
   15775 	hardcode_shlibpath_var=no
   15776 	hardcode_direct_absolute=yes
   15777 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   15778 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15779 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   15780 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   15781 	  export_dynamic_flag_spec='${wl}-E'
   15782 	else
   15783 	  case $host_os in
   15784 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   15785 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15786 	     hardcode_libdir_flag_spec='-R$libdir'
   15787 	     ;;
   15788 	   *)
   15789 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15790 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   15791 	     ;;
   15792 	  esac
   15793 	fi
   15794       else
   15795 	ld_shlibs=no
   15796       fi
   15797       ;;
   15798 
   15799     os2*)
   15800       hardcode_libdir_flag_spec='-L$libdir'
   15801       hardcode_minus_L=yes
   15802       allow_undefined_flag=unsupported
   15803       archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
   15804       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   15805       ;;
   15806 
   15807     osf3*)
   15808       if test "$GCC" = yes; then
   15809 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   15810 	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'
   15811       else
   15812 	allow_undefined_flag=' -expect_unresolved \*'
   15813 	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'
   15814       fi
   15815       archive_cmds_need_lc='no'
   15816       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   15817       hardcode_libdir_separator=:
   15818       ;;
   15819 
   15820     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   15821       if test "$GCC" = yes; then
   15822 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   15823 	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'
   15824 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   15825       else
   15826 	allow_undefined_flag=' -expect_unresolved \*'
   15827 	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'
   15828 	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~
   15829 	$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'
   15830 
   15831 	# Both c and cxx compiler support -rpath directly
   15832 	hardcode_libdir_flag_spec='-rpath $libdir'
   15833       fi
   15834       archive_cmds_need_lc='no'
   15835       hardcode_libdir_separator=:
   15836       ;;
   15837 
   15838     solaris*)
   15839       no_undefined_flag=' -z defs'
   15840       if test "$GCC" = yes; then
   15841 	wlarc='${wl}'
   15842 	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15843 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   15844 	  $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'
   15845       else
   15846 	case `$CC -V 2>&1` in
   15847 	*"Compilers 5.0"*)
   15848 	  wlarc=''
   15849 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15850 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   15851 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   15852 	  ;;
   15853 	*)
   15854 	  wlarc='${wl}'
   15855 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   15856 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   15857 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   15858 	  ;;
   15859 	esac
   15860       fi
   15861       hardcode_libdir_flag_spec='-R$libdir'
   15862       hardcode_shlibpath_var=no
   15863       case $host_os in
   15864       solaris2.[0-5] | solaris2.[0-5].*) ;;
   15865       *)
   15866 	# The compiler driver will combine and reorder linker options,
   15867 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   15868 	# but is careful enough not to reorder.
   15869 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   15870 	if test "$GCC" = yes; then
   15871 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   15872 	else
   15873 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   15874 	fi
   15875 	;;
   15876       esac
   15877       link_all_deplibs=yes
   15878       ;;
   15879 
   15880     sunos4*)
   15881       if test "x$host_vendor" = xsequent; then
   15882 	# Use $CC to link under sequent, because it throws in some extra .o
   15883 	# files that make .init and .fini sections work.
   15884 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   15885       else
   15886 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   15887       fi
   15888       hardcode_libdir_flag_spec='-L$libdir'
   15889       hardcode_direct=yes
   15890       hardcode_minus_L=yes
   15891       hardcode_shlibpath_var=no
   15892       ;;
   15893 
   15894     sysv4)
   15895       case $host_vendor in
   15896 	sni)
   15897 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15898 	  hardcode_direct=yes # is this really true???
   15899 	;;
   15900 	siemens)
   15901 	  ## LD is ld it makes a PLAMLIB
   15902 	  ## CC just makes a GrossModule.
   15903 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   15904 	  reload_cmds='$CC -r -o $output$reload_objs'
   15905 	  hardcode_direct=no
   15906         ;;
   15907 	motorola)
   15908 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15909 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   15910 	;;
   15911       esac
   15912       runpath_var='LD_RUN_PATH'
   15913       hardcode_shlibpath_var=no
   15914       ;;
   15915 
   15916     sysv4.3*)
   15917       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15918       hardcode_shlibpath_var=no
   15919       export_dynamic_flag_spec='-Bexport'
   15920       ;;
   15921 
   15922     sysv4*MP*)
   15923       if test -d /usr/nec; then
   15924 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15925 	hardcode_shlibpath_var=no
   15926 	runpath_var=LD_RUN_PATH
   15927 	hardcode_runpath_var=yes
   15928 	ld_shlibs=yes
   15929       fi
   15930       ;;
   15931 
   15932     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   15933       no_undefined_flag='${wl}-z,text'
   15934       archive_cmds_need_lc=no
   15935       hardcode_shlibpath_var=no
   15936       runpath_var='LD_RUN_PATH'
   15937 
   15938       if test "$GCC" = yes; then
   15939 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15940 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15941       else
   15942 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15943 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15944       fi
   15945       ;;
   15946 
   15947     sysv5* | sco3.2v5* | sco5v6*)
   15948       # Note: We can NOT use -z defs as we might desire, because we do not
   15949       # link with -lc, and that would cause any symbols used from libc to
   15950       # always be unresolved, which means just about no library would
   15951       # ever link correctly.  If we're not using GNU ld we use -z text
   15952       # though, which does catch some bad symbols but isn't as heavy-handed
   15953       # as -z defs.
   15954       no_undefined_flag='${wl}-z,text'
   15955       allow_undefined_flag='${wl}-z,nodefs'
   15956       archive_cmds_need_lc=no
   15957       hardcode_shlibpath_var=no
   15958       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   15959       hardcode_libdir_separator=':'
   15960       link_all_deplibs=yes
   15961       export_dynamic_flag_spec='${wl}-Bexport'
   15962       runpath_var='LD_RUN_PATH'
   15963 
   15964       if test "$GCC" = yes; then
   15965 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15966 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15967       else
   15968 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15969 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15970       fi
   15971       ;;
   15972 
   15973     uts4*)
   15974       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15975       hardcode_libdir_flag_spec='-L$libdir'
   15976       hardcode_shlibpath_var=no
   15977       ;;
   15978 
   15979     *)
   15980       ld_shlibs=no
   15981       ;;
   15982     esac
   15983 
   15984     if test x$host_vendor = xsni; then
   15985       case $host in
   15986       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   15987 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   15988 	;;
   15989       esac
   15990     fi
   15991   fi
   15992 
   15993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   15994 $as_echo "$ld_shlibs" >&6; }
   15995 test "$ld_shlibs" = no && can_build_shared=no
   15996 
   15997 with_gnu_ld=$with_gnu_ld
   15998 
   15999 
   16000 
   16001 
   16002 
   16003 
   16004 
   16005 
   16006 
   16007 
   16008 
   16009 
   16010 
   16011 
   16012 
   16013 #
   16014 # Do we need to explicitly link libc?
   16015 #
   16016 case "x$archive_cmds_need_lc" in
   16017 x|xyes)
   16018   # Assume -lc should be added
   16019   archive_cmds_need_lc=yes
   16020 
   16021   if test "$enable_shared" = yes && test "$GCC" = yes; then
   16022     case $archive_cmds in
   16023     *'~'*)
   16024       # FIXME: we may have to deal with multi-command sequences.
   16025       ;;
   16026     '$CC '*)
   16027       # Test whether the compiler implicitly links with -lc since on some
   16028       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   16029       # to ld, don't add -lc before -lgcc.
   16030       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   16031 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   16032 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   16033   $as_echo_n "(cached) " >&6
   16034 else
   16035   $RM conftest*
   16036 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16037 
   16038 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   16039   (eval $ac_compile) 2>&5
   16040   ac_status=$?
   16041   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16042   test $ac_status = 0; } 2>conftest.err; then
   16043 	  soname=conftest
   16044 	  lib=conftest
   16045 	  libobjs=conftest.$ac_objext
   16046 	  deplibs=
   16047 	  wl=$lt_prog_compiler_wl
   16048 	  pic_flag=$lt_prog_compiler_pic
   16049 	  compiler_flags=-v
   16050 	  linker_flags=-v
   16051 	  verstring=
   16052 	  output_objdir=.
   16053 	  libname=conftest
   16054 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   16055 	  allow_undefined_flag=
   16056 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   16057   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   16058   ac_status=$?
   16059   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16060   test $ac_status = 0; }
   16061 	  then
   16062 	    lt_cv_archive_cmds_need_lc=no
   16063 	  else
   16064 	    lt_cv_archive_cmds_need_lc=yes
   16065 	  fi
   16066 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   16067 	else
   16068 	  cat conftest.err 1>&5
   16069 	fi
   16070 	$RM conftest*
   16071 
   16072 fi
   16073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   16074 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   16075       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   16076       ;;
   16077     esac
   16078   fi
   16079   ;;
   16080 esac
   16081 
   16082 
   16083 
   16084 
   16085 
   16086 
   16087 
   16088 
   16089 
   16090 
   16091 
   16092 
   16093 
   16094 
   16095 
   16096 
   16097 
   16098 
   16099 
   16100 
   16101 
   16102 
   16103 
   16104 
   16105 
   16106 
   16107 
   16108 
   16109 
   16110 
   16111 
   16112 
   16113 
   16114 
   16115 
   16116 
   16117 
   16118 
   16119 
   16120 
   16121 
   16122 
   16123 
   16124 
   16125 
   16126 
   16127 
   16128 
   16129 
   16130 
   16131 
   16132 
   16133 
   16134 
   16135 
   16136 
   16137 
   16138 
   16139 
   16140 
   16141 
   16142 
   16143 
   16144 
   16145 
   16146 
   16147 
   16148 
   16149 
   16150 
   16151 
   16152 
   16153 
   16154 
   16155 
   16156 
   16157 
   16158 
   16159 
   16160 
   16161 
   16162 
   16163 
   16164 
   16165 
   16166 
   16167 
   16168 
   16169 
   16170 
   16171 
   16172 
   16173 
   16174 
   16175 
   16176 
   16177 
   16178 
   16179 
   16180 
   16181 
   16182 
   16183 
   16184 
   16185 
   16186 
   16187 
   16188 
   16189 
   16190 
   16191 
   16192 
   16193 
   16194 
   16195 
   16196 
   16197 
   16198 
   16199 
   16200 
   16201 
   16202 
   16203 
   16204 
   16205 
   16206 
   16207 
   16208 
   16209 
   16210 
   16211 
   16212 
   16213 
   16214 
   16215 
   16216 
   16217 
   16218 
   16219 
   16220 
   16221 
   16222 
   16223 
   16224 
   16225 
   16226 
   16227 
   16228 
   16229 
   16230 
   16231 
   16232 
   16233   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   16234 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   16235 
   16236 if test "$GCC" = yes; then
   16237   case $host_os in
   16238     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   16239     *) lt_awk_arg="/^libraries:/" ;;
   16240   esac
   16241   case $host_os in
   16242     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   16243     *) lt_sed_strip_eq="s,=/,/,g" ;;
   16244   esac
   16245   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   16246   case $lt_search_path_spec in
   16247   *\;*)
   16248     # if the path contains ";" then we assume it to be the separator
   16249     # otherwise default to the standard path separator (i.e. ":") - it is
   16250     # assumed that no part of a normal pathname contains ";" but that should
   16251     # okay in the real world where ";" in dirpaths is itself problematic.
   16252     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   16253     ;;
   16254   *)
   16255     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   16256     ;;
   16257   esac
   16258   # Ok, now we have the path, separated by spaces, we can step through it
   16259   # and add multilib dir if necessary.
   16260   lt_tmp_lt_search_path_spec=
   16261   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   16262   for lt_sys_path in $lt_search_path_spec; do
   16263     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   16264       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   16265     else
   16266       test -d "$lt_sys_path" && \
   16267 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   16268     fi
   16269   done
   16270   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   16271 BEGIN {RS=" "; FS="/|\n";} {
   16272   lt_foo="";
   16273   lt_count=0;
   16274   for (lt_i = NF; lt_i > 0; lt_i--) {
   16275     if ($lt_i != "" && $lt_i != ".") {
   16276       if ($lt_i == "..") {
   16277         lt_count++;
   16278       } else {
   16279         if (lt_count == 0) {
   16280           lt_foo="/" $lt_i lt_foo;
   16281         } else {
   16282           lt_count--;
   16283         }
   16284       }
   16285     }
   16286   }
   16287   if (lt_foo != "") { lt_freq[lt_foo]++; }
   16288   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   16289 }'`
   16290   # AWK program above erroneously prepends '/' to C:/dos/paths
   16291   # for these hosts.
   16292   case $host_os in
   16293     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   16294       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   16295   esac
   16296   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   16297 else
   16298   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   16299 fi
   16300 library_names_spec=
   16301 libname_spec='lib$name'
   16302 soname_spec=
   16303 shrext_cmds=".so"
   16304 postinstall_cmds=
   16305 postuninstall_cmds=
   16306 finish_cmds=
   16307 finish_eval=
   16308 shlibpath_var=
   16309 shlibpath_overrides_runpath=unknown
   16310 version_type=none
   16311 dynamic_linker="$host_os ld.so"
   16312 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   16313 need_lib_prefix=unknown
   16314 hardcode_into_libs=no
   16315 
   16316 # when you set need_version to no, make sure it does not cause -set_version
   16317 # flags to be left without arguments
   16318 need_version=unknown
   16319 
   16320 case $host_os in
   16321 aix3*)
   16322   version_type=linux # correct to gnu/linux during the next big refactor
   16323   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   16324   shlibpath_var=LIBPATH
   16325 
   16326   # AIX 3 has no versioning support, so we append a major version to the name.
   16327   soname_spec='${libname}${release}${shared_ext}$major'
   16328   ;;
   16329 
   16330 aix[4-9]*)
   16331   version_type=linux # correct to gnu/linux during the next big refactor
   16332   need_lib_prefix=no
   16333   need_version=no
   16334   hardcode_into_libs=yes
   16335   if test "$host_cpu" = ia64; then
   16336     # AIX 5 supports IA64
   16337     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   16338     shlibpath_var=LD_LIBRARY_PATH
   16339   else
   16340     # With GCC up to 2.95.x, collect2 would create an import file
   16341     # for dependence libraries.  The import file would start with
   16342     # the line `#! .'.  This would cause the generated library to
   16343     # depend on `.', always an invalid library.  This was fixed in
   16344     # development snapshots of GCC prior to 3.0.
   16345     case $host_os in
   16346       aix4 | aix4.[01] | aix4.[01].*)
   16347       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   16348 	   echo ' yes '
   16349 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   16350 	:
   16351       else
   16352 	can_build_shared=no
   16353       fi
   16354       ;;
   16355     esac
   16356     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   16357     # soname into executable. Probably we can add versioning support to
   16358     # collect2, so additional links can be useful in future.
   16359     if test "$aix_use_runtimelinking" = yes; then
   16360       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   16361       # instead of lib<name>.a to let people know that these are not
   16362       # typical AIX shared libraries.
   16363       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16364     else
   16365       # We preserve .a as extension for shared libraries through AIX4.2
   16366       # and later when we are not doing run time linking.
   16367       library_names_spec='${libname}${release}.a $libname.a'
   16368       soname_spec='${libname}${release}${shared_ext}$major'
   16369     fi
   16370     shlibpath_var=LIBPATH
   16371   fi
   16372   ;;
   16373 
   16374 amigaos*)
   16375   case $host_cpu in
   16376   powerpc)
   16377     # Since July 2007 AmigaOS4 officially supports .so libraries.
   16378     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   16379     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16380     ;;
   16381   m68k)
   16382     library_names_spec='$libname.ixlibrary $libname.a'
   16383     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   16384     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $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'
   16385     ;;
   16386   esac
   16387   ;;
   16388 
   16389 beos*)
   16390   library_names_spec='${libname}${shared_ext}'
   16391   dynamic_linker="$host_os ld.so"
   16392   shlibpath_var=LIBRARY_PATH
   16393   ;;
   16394 
   16395 bsdi[45]*)
   16396   version_type=linux # correct to gnu/linux during the next big refactor
   16397   need_version=no
   16398   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16399   soname_spec='${libname}${release}${shared_ext}$major'
   16400   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   16401   shlibpath_var=LD_LIBRARY_PATH
   16402   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   16403   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   16404   # the default ld.so.conf also contains /usr/contrib/lib and
   16405   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   16406   # libtool to hard-code these into programs
   16407   ;;
   16408 
   16409 cygwin* | mingw* | pw32* | cegcc*)
   16410   version_type=windows
   16411   shrext_cmds=".dll"
   16412   need_version=no
   16413   need_lib_prefix=no
   16414 
   16415   case $GCC,$cc_basename in
   16416   yes,*)
   16417     # gcc
   16418     library_names_spec='$libname.dll.a'
   16419     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   16420     postinstall_cmds='base_file=`basename \${file}`~
   16421       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   16422       dldir=$destdir/`dirname \$dlpath`~
   16423       test -d \$dldir || mkdir -p \$dldir~
   16424       $install_prog $dir/$dlname \$dldir/$dlname~
   16425       chmod a+x \$dldir/$dlname~
   16426       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   16427         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   16428       fi'
   16429     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   16430       dlpath=$dir/\$dldll~
   16431        $RM \$dlpath'
   16432     shlibpath_overrides_runpath=yes
   16433 
   16434     case $host_os in
   16435     cygwin*)
   16436       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   16437       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   16438 
   16439       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   16440       ;;
   16441     mingw* | cegcc*)
   16442       # MinGW DLLs use traditional 'lib' prefix
   16443       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   16444       ;;
   16445     pw32*)
   16446       # pw32 DLLs use 'pw' prefix rather than 'lib'
   16447       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   16448       ;;
   16449     esac
   16450     dynamic_linker='Win32 ld.exe'
   16451     ;;
   16452 
   16453   *,cl*)
   16454     # Native MSVC
   16455     libname_spec='$name'
   16456     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   16457     library_names_spec='${libname}.dll.lib'
   16458 
   16459     case $build_os in
   16460     mingw*)
   16461       sys_lib_search_path_spec=
   16462       lt_save_ifs=$IFS
   16463       IFS=';'
   16464       for lt_path in $LIB
   16465       do
   16466         IFS=$lt_save_ifs
   16467         # Let DOS variable expansion print the short 8.3 style file name.
   16468         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   16469         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   16470       done
   16471       IFS=$lt_save_ifs
   16472       # Convert to MSYS style.
   16473       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   16474       ;;
   16475     cygwin*)
   16476       # Convert to unix form, then to dos form, then back to unix form
   16477       # but this time dos style (no spaces!) so that the unix form looks
   16478       # like /cygdrive/c/PROGRA~1:/cygdr...
   16479       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   16480       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   16481       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   16482       ;;
   16483     *)
   16484       sys_lib_search_path_spec="$LIB"
   16485       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   16486         # It is most probably a Windows format PATH.
   16487         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   16488       else
   16489         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   16490       fi
   16491       # FIXME: find the short name or the path components, as spaces are
   16492       # common. (e.g. "Program Files" -> "PROGRA~1")
   16493       ;;
   16494     esac
   16495 
   16496     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   16497     postinstall_cmds='base_file=`basename \${file}`~
   16498       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   16499       dldir=$destdir/`dirname \$dlpath`~
   16500       test -d \$dldir || mkdir -p \$dldir~
   16501       $install_prog $dir/$dlname \$dldir/$dlname'
   16502     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   16503       dlpath=$dir/\$dldll~
   16504        $RM \$dlpath'
   16505     shlibpath_overrides_runpath=yes
   16506     dynamic_linker='Win32 link.exe'
   16507     ;;
   16508 
   16509   *)
   16510     # Assume MSVC wrapper
   16511     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   16512     dynamic_linker='Win32 ld.exe'
   16513     ;;
   16514   esac
   16515   # FIXME: first we should search . and the directory the executable is in
   16516   shlibpath_var=PATH
   16517   ;;
   16518 
   16519 darwin* | rhapsody*)
   16520   dynamic_linker="$host_os dyld"
   16521   version_type=darwin
   16522   need_lib_prefix=no
   16523   need_version=no
   16524   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   16525   soname_spec='${libname}${release}${major}$shared_ext'
   16526   shlibpath_overrides_runpath=yes
   16527   shlibpath_var=DYLD_LIBRARY_PATH
   16528   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   16529 
   16530   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   16531   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   16532   ;;
   16533 
   16534 dgux*)
   16535   version_type=linux # correct to gnu/linux during the next big refactor
   16536   need_lib_prefix=no
   16537   need_version=no
   16538   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   16539   soname_spec='${libname}${release}${shared_ext}$major'
   16540   shlibpath_var=LD_LIBRARY_PATH
   16541   ;;
   16542 
   16543 freebsd* | dragonfly*)
   16544   # DragonFly does not have aout.  When/if they implement a new
   16545   # versioning mechanism, adjust this.
   16546   if test -x /usr/bin/objformat; then
   16547     objformat=`/usr/bin/objformat`
   16548   else
   16549     case $host_os in
   16550     freebsd[23].*) objformat=aout ;;
   16551     *) objformat=elf ;;
   16552     esac
   16553   fi
   16554   version_type=freebsd-$objformat
   16555   case $version_type in
   16556     freebsd-elf*)
   16557       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   16558       need_version=no
   16559       need_lib_prefix=no
   16560       ;;
   16561     freebsd-*)
   16562       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   16563       need_version=yes
   16564       ;;
   16565   esac
   16566   shlibpath_var=LD_LIBRARY_PATH
   16567   case $host_os in
   16568   freebsd2.*)
   16569     shlibpath_overrides_runpath=yes
   16570     ;;
   16571   freebsd3.[01]* | freebsdelf3.[01]*)
   16572     shlibpath_overrides_runpath=yes
   16573     hardcode_into_libs=yes
   16574     ;;
   16575   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   16576   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   16577     shlibpath_overrides_runpath=no
   16578     hardcode_into_libs=yes
   16579     ;;
   16580   *) # from 4.6 on, and DragonFly
   16581     shlibpath_overrides_runpath=yes
   16582     hardcode_into_libs=yes
   16583     ;;
   16584   esac
   16585   ;;
   16586 
   16587 gnu*)
   16588   version_type=linux # correct to gnu/linux during the next big refactor
   16589   need_lib_prefix=no
   16590   need_version=no
   16591   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   16592   soname_spec='${libname}${release}${shared_ext}$major'
   16593   shlibpath_var=LD_LIBRARY_PATH
   16594   shlibpath_overrides_runpath=no
   16595   hardcode_into_libs=yes
   16596   ;;
   16597 
   16598 haiku*)
   16599   version_type=linux # correct to gnu/linux during the next big refactor
   16600   need_lib_prefix=no
   16601   need_version=no
   16602   dynamic_linker="$host_os runtime_loader"
   16603   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   16604   soname_spec='${libname}${release}${shared_ext}$major'
   16605   shlibpath_var=LIBRARY_PATH
   16606   shlibpath_overrides_runpath=yes
   16607   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   16608   hardcode_into_libs=yes
   16609   ;;
   16610 
   16611 hpux9* | hpux10* | hpux11*)
   16612   # Give a soname corresponding to the major version so that dld.sl refuses to
   16613   # link against other versions.
   16614   version_type=sunos
   16615   need_lib_prefix=no
   16616   need_version=no
   16617   case $host_cpu in
   16618   ia64*)
   16619     shrext_cmds='.so'
   16620     hardcode_into_libs=yes
   16621     dynamic_linker="$host_os dld.so"
   16622     shlibpath_var=LD_LIBRARY_PATH
   16623     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   16624     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16625     soname_spec='${libname}${release}${shared_ext}$major'
   16626     if test "X$HPUX_IA64_MODE" = X32; then
   16627       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   16628     else
   16629       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   16630     fi
   16631     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16632     ;;
   16633   hppa*64*)
   16634     shrext_cmds='.sl'
   16635     hardcode_into_libs=yes
   16636     dynamic_linker="$host_os dld.sl"
   16637     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   16638     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   16639     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16640     soname_spec='${libname}${release}${shared_ext}$major'
   16641     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   16642     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16643     ;;
   16644   *)
   16645     shrext_cmds='.sl'
   16646     dynamic_linker="$host_os dld.sl"
   16647     shlibpath_var=SHLIB_PATH
   16648     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   16649     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16650     soname_spec='${libname}${release}${shared_ext}$major'
   16651     ;;
   16652   esac
   16653   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   16654   postinstall_cmds='chmod 555 $lib'
   16655   # or fails outright, so override atomically:
   16656   install_override_mode=555
   16657   ;;
   16658 
   16659 interix[3-9]*)
   16660   version_type=linux # correct to gnu/linux during the next big refactor
   16661   need_lib_prefix=no
   16662   need_version=no
   16663   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16664   soname_spec='${libname}${release}${shared_ext}$major'
   16665   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   16666   shlibpath_var=LD_LIBRARY_PATH
   16667   shlibpath_overrides_runpath=no
   16668   hardcode_into_libs=yes
   16669   ;;
   16670 
   16671 irix5* | irix6* | nonstopux*)
   16672   case $host_os in
   16673     nonstopux*) version_type=nonstopux ;;
   16674     *)
   16675 	if test "$lt_cv_prog_gnu_ld" = yes; then
   16676 		version_type=linux # correct to gnu/linux during the next big refactor
   16677 	else
   16678 		version_type=irix
   16679 	fi ;;
   16680   esac
   16681   need_lib_prefix=no
   16682   need_version=no
   16683   soname_spec='${libname}${release}${shared_ext}$major'
   16684   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   16685   case $host_os in
   16686   irix5* | nonstopux*)
   16687     libsuff= shlibsuff=
   16688     ;;
   16689   *)
   16690     case $LD in # libtool.m4 will add one of these switches to LD
   16691     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   16692       libsuff= shlibsuff= libmagic=32-bit;;
   16693     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   16694       libsuff=32 shlibsuff=N32 libmagic=N32;;
   16695     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   16696       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   16697     *) libsuff= shlibsuff= libmagic=never-match;;
   16698     esac
   16699     ;;
   16700   esac
   16701   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   16702   shlibpath_overrides_runpath=no
   16703   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   16704   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   16705   hardcode_into_libs=yes
   16706   ;;
   16707 
   16708 # No shared lib support for Linux oldld, aout, or coff.
   16709 linux*oldld* | linux*aout* | linux*coff*)
   16710   dynamic_linker=no
   16711   ;;
   16712 
   16713 # This must be glibc/ELF.
   16714 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   16715   version_type=linux # correct to gnu/linux during the next big refactor
   16716   need_lib_prefix=no
   16717   need_version=no
   16718   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16719   soname_spec='${libname}${release}${shared_ext}$major'
   16720   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   16721   shlibpath_var=LD_LIBRARY_PATH
   16722   shlibpath_overrides_runpath=no
   16723 
   16724   # Some binutils ld are patched to set DT_RUNPATH
   16725   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   16726   $as_echo_n "(cached) " >&6
   16727 else
   16728   lt_cv_shlibpath_overrides_runpath=no
   16729     save_LDFLAGS=$LDFLAGS
   16730     save_libdir=$libdir
   16731     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   16732 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   16733     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16734 /* end confdefs.h.  */
   16735 
   16736 int
   16737 main ()
   16738 {
   16739 
   16740   ;
   16741   return 0;
   16742 }
   16743 _ACEOF
   16744 if ac_fn_c_try_link "$LINENO"; then :
   16745   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   16746   lt_cv_shlibpath_overrides_runpath=yes
   16747 fi
   16748 fi
   16749 rm -f core conftest.err conftest.$ac_objext \
   16750     conftest$ac_exeext conftest.$ac_ext
   16751     LDFLAGS=$save_LDFLAGS
   16752     libdir=$save_libdir
   16753 
   16754 fi
   16755 
   16756   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   16757 
   16758   # This implies no fast_install, which is unacceptable.
   16759   # Some rework will be needed to allow for fast_install
   16760   # before this can be enabled.
   16761   hardcode_into_libs=yes
   16762 
   16763   # Add ABI-specific directories to the system library path.
   16764   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
   16765 
   16766   # Append ld.so.conf contents to the search path
   16767   if test -f /etc/ld.so.conf; then
   16768     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' ' '`
   16769     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   16770 
   16771   fi
   16772 
   16773   # We used to test for /lib/ld.so.1 and disable shared libraries on
   16774   # powerpc, because MkLinux only supported shared libraries with the
   16775   # GNU dynamic linker.  Since this was broken with cross compilers,
   16776   # most powerpc-linux boxes support dynamic linking these days and
   16777   # people can always --disable-shared, the test was removed, and we
   16778   # assume the GNU/Linux dynamic linker is in use.
   16779   dynamic_linker='GNU/Linux ld.so'
   16780   ;;
   16781 
   16782 netbsd*)
   16783   version_type=sunos
   16784   need_lib_prefix=no
   16785   need_version=no
   16786   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   16787     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16788     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16789     dynamic_linker='NetBSD (a.out) ld.so'
   16790   else
   16791     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16792     soname_spec='${libname}${release}${shared_ext}$major'
   16793     dynamic_linker='NetBSD ld.elf_so'
   16794   fi
   16795   shlibpath_var=LD_LIBRARY_PATH
   16796   shlibpath_overrides_runpath=yes
   16797   hardcode_into_libs=yes
   16798   ;;
   16799 
   16800 newsos6)
   16801   version_type=linux # correct to gnu/linux during the next big refactor
   16802   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16803   shlibpath_var=LD_LIBRARY_PATH
   16804   shlibpath_overrides_runpath=yes
   16805   ;;
   16806 
   16807 *nto* | *qnx*)
   16808   version_type=qnx
   16809   need_lib_prefix=no
   16810   need_version=no
   16811   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16812   soname_spec='${libname}${release}${shared_ext}$major'
   16813   shlibpath_var=LD_LIBRARY_PATH
   16814   shlibpath_overrides_runpath=no
   16815   hardcode_into_libs=yes
   16816   dynamic_linker='ldqnx.so'
   16817   ;;
   16818 
   16819 openbsd*)
   16820   version_type=sunos
   16821   sys_lib_dlsearch_path_spec="/usr/lib"
   16822   need_lib_prefix=no
   16823   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   16824   case $host_os in
   16825     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   16826     *)				need_version=no  ;;
   16827   esac
   16828   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16829   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16830   shlibpath_var=LD_LIBRARY_PATH
   16831   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   16832     case $host_os in
   16833       openbsd2.[89] | openbsd2.[89].*)
   16834 	shlibpath_overrides_runpath=no
   16835 	;;
   16836       *)
   16837 	shlibpath_overrides_runpath=yes
   16838 	;;
   16839       esac
   16840   else
   16841     shlibpath_overrides_runpath=yes
   16842   fi
   16843   ;;
   16844 
   16845 os2*)
   16846   libname_spec='$name'
   16847   shrext_cmds=".dll"
   16848   need_lib_prefix=no
   16849   library_names_spec='$libname${shared_ext} $libname.a'
   16850   dynamic_linker='OS/2 ld.exe'
   16851   shlibpath_var=LIBPATH
   16852   ;;
   16853 
   16854 osf3* | osf4* | osf5*)
   16855   version_type=osf
   16856   need_lib_prefix=no
   16857   need_version=no
   16858   soname_spec='${libname}${release}${shared_ext}$major'
   16859   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16860   shlibpath_var=LD_LIBRARY_PATH
   16861   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   16862   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   16863   ;;
   16864 
   16865 rdos*)
   16866   dynamic_linker=no
   16867   ;;
   16868 
   16869 solaris*)
   16870   version_type=linux # correct to gnu/linux during the next big refactor
   16871   need_lib_prefix=no
   16872   need_version=no
   16873   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16874   soname_spec='${libname}${release}${shared_ext}$major'
   16875   shlibpath_var=LD_LIBRARY_PATH
   16876   shlibpath_overrides_runpath=yes
   16877   hardcode_into_libs=yes
   16878   # ldd complains unless libraries are executable
   16879   postinstall_cmds='chmod +x $lib'
   16880   ;;
   16881 
   16882 sunos4*)
   16883   version_type=sunos
   16884   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16885   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   16886   shlibpath_var=LD_LIBRARY_PATH
   16887   shlibpath_overrides_runpath=yes
   16888   if test "$with_gnu_ld" = yes; then
   16889     need_lib_prefix=no
   16890   fi
   16891   need_version=yes
   16892   ;;
   16893 
   16894 sysv4 | sysv4.3*)
   16895   version_type=linux # correct to gnu/linux during the next big refactor
   16896   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16897   soname_spec='${libname}${release}${shared_ext}$major'
   16898   shlibpath_var=LD_LIBRARY_PATH
   16899   case $host_vendor in
   16900     sni)
   16901       shlibpath_overrides_runpath=no
   16902       need_lib_prefix=no
   16903       runpath_var=LD_RUN_PATH
   16904       ;;
   16905     siemens)
   16906       need_lib_prefix=no
   16907       ;;
   16908     motorola)
   16909       need_lib_prefix=no
   16910       need_version=no
   16911       shlibpath_overrides_runpath=no
   16912       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   16913       ;;
   16914   esac
   16915   ;;
   16916 
   16917 sysv4*MP*)
   16918   if test -d /usr/nec ;then
   16919     version_type=linux # correct to gnu/linux during the next big refactor
   16920     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   16921     soname_spec='$libname${shared_ext}.$major'
   16922     shlibpath_var=LD_LIBRARY_PATH
   16923   fi
   16924   ;;
   16925 
   16926 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   16927   version_type=freebsd-elf
   16928   need_lib_prefix=no
   16929   need_version=no
   16930   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   16931   soname_spec='${libname}${release}${shared_ext}$major'
   16932   shlibpath_var=LD_LIBRARY_PATH
   16933   shlibpath_overrides_runpath=yes
   16934   hardcode_into_libs=yes
   16935   if test "$with_gnu_ld" = yes; then
   16936     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   16937   else
   16938     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   16939     case $host_os in
   16940       sco3.2v5*)
   16941         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   16942 	;;
   16943     esac
   16944   fi
   16945   sys_lib_dlsearch_path_spec='/usr/lib'
   16946   ;;
   16947 
   16948 tpf*)
   16949   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   16950   version_type=linux # correct to gnu/linux during the next big refactor
   16951   need_lib_prefix=no
   16952   need_version=no
   16953   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16954   shlibpath_var=LD_LIBRARY_PATH
   16955   shlibpath_overrides_runpath=no
   16956   hardcode_into_libs=yes
   16957   ;;
   16958 
   16959 uts4*)
   16960   version_type=linux # correct to gnu/linux during the next big refactor
   16961   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16962   soname_spec='${libname}${release}${shared_ext}$major'
   16963   shlibpath_var=LD_LIBRARY_PATH
   16964   ;;
   16965 
   16966 *)
   16967   dynamic_linker=no
   16968   ;;
   16969 esac
   16970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   16971 $as_echo "$dynamic_linker" >&6; }
   16972 test "$dynamic_linker" = no && can_build_shared=no
   16973 
   16974 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   16975 if test "$GCC" = yes; then
   16976   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   16977 fi
   16978 
   16979 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   16980   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   16981 fi
   16982 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   16983   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   16984 fi
   16985 
   16986 
   16987 
   16988 
   16989 
   16990 
   16991 
   16992 
   16993 
   16994 
   16995 
   16996 
   16997 
   16998 
   16999 
   17000 
   17001 
   17002 
   17003 
   17004 
   17005 
   17006 
   17007 
   17008 
   17009 
   17010 
   17011 
   17012 
   17013 
   17014 
   17015 
   17016 
   17017 
   17018 
   17019 
   17020 
   17021 
   17022 
   17023 
   17024 
   17025 
   17026 
   17027 
   17028 
   17029 
   17030 
   17031 
   17032 
   17033 
   17034 
   17035 
   17036 
   17037 
   17038 
   17039 
   17040 
   17041 
   17042 
   17043 
   17044 
   17045 
   17046 
   17047 
   17048 
   17049 
   17050 
   17051 
   17052 
   17053 
   17054 
   17055 
   17056 
   17057 
   17058 
   17059 
   17060 
   17061 
   17062 
   17063 
   17064 
   17065 
   17066 
   17067 
   17068 
   17069 
   17070 
   17071 
   17072 
   17073 
   17074 
   17075 
   17076 
   17077   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   17078 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   17079 hardcode_action=
   17080 if test -n "$hardcode_libdir_flag_spec" ||
   17081    test -n "$runpath_var" ||
   17082    test "X$hardcode_automatic" = "Xyes" ; then
   17083 
   17084   # We can hardcode non-existent directories.
   17085   if test "$hardcode_direct" != no &&
   17086      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   17087      # have to relink, otherwise we might link with an installed library
   17088      # when we should be linking with a yet-to-be-installed one
   17089      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   17090      test "$hardcode_minus_L" != no; then
   17091     # Linking always hardcodes the temporary library directory.
   17092     hardcode_action=relink
   17093   else
   17094     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   17095     hardcode_action=immediate
   17096   fi
   17097 else
   17098   # We cannot hardcode anything, or else we can only hardcode existing
   17099   # directories.
   17100   hardcode_action=unsupported
   17101 fi
   17102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   17103 $as_echo "$hardcode_action" >&6; }
   17104 
   17105 if test "$hardcode_action" = relink ||
   17106    test "$inherit_rpath" = yes; then
   17107   # Fast installation is not supported
   17108   enable_fast_install=no
   17109 elif test "$shlibpath_overrides_runpath" = yes ||
   17110      test "$enable_shared" = no; then
   17111   # Fast installation is not necessary
   17112   enable_fast_install=needless
   17113 fi
   17114 
   17115 
   17116 
   17117 
   17118 
   17119 
   17120   if test "x$enable_dlopen" != xyes; then
   17121   enable_dlopen=unknown
   17122   enable_dlopen_self=unknown
   17123   enable_dlopen_self_static=unknown
   17124 else
   17125   lt_cv_dlopen=no
   17126   lt_cv_dlopen_libs=
   17127 
   17128   case $host_os in
   17129   beos*)
   17130     lt_cv_dlopen="load_add_on"
   17131     lt_cv_dlopen_libs=
   17132     lt_cv_dlopen_self=yes
   17133     ;;
   17134 
   17135   mingw* | pw32* | cegcc*)
   17136     lt_cv_dlopen="LoadLibrary"
   17137     lt_cv_dlopen_libs=
   17138     ;;
   17139 
   17140   cygwin*)
   17141     lt_cv_dlopen="dlopen"
   17142     lt_cv_dlopen_libs=
   17143     ;;
   17144 
   17145   darwin*)
   17146   # if libdl is installed we need to link against it
   17147     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   17148 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   17149 if ${ac_cv_lib_dl_dlopen+:} false; then :
   17150   $as_echo_n "(cached) " >&6
   17151 else
   17152   ac_check_lib_save_LIBS=$LIBS
   17153 LIBS="-ldl  $LIBS"
   17154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17155 /* end confdefs.h.  */
   17156 
   17157 /* Override any GCC internal prototype to avoid an error.
   17158    Use char because int might match the return type of a GCC
   17159    builtin and then its argument prototype would still apply.  */
   17160 #ifdef __cplusplus
   17161 extern "C"
   17162 #endif
   17163 char dlopen ();
   17164 int
   17165 main ()
   17166 {
   17167 return dlopen ();
   17168   ;
   17169   return 0;
   17170 }
   17171 _ACEOF
   17172 if ac_fn_c_try_link "$LINENO"; then :
   17173   ac_cv_lib_dl_dlopen=yes
   17174 else
   17175   ac_cv_lib_dl_dlopen=no
   17176 fi
   17177 rm -f core conftest.err conftest.$ac_objext \
   17178     conftest$ac_exeext conftest.$ac_ext
   17179 LIBS=$ac_check_lib_save_LIBS
   17180 fi
   17181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   17182 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   17183 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   17184   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   17185 else
   17186 
   17187     lt_cv_dlopen="dyld"
   17188     lt_cv_dlopen_libs=
   17189     lt_cv_dlopen_self=yes
   17190 
   17191 fi
   17192 
   17193     ;;
   17194 
   17195   *)
   17196     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   17197 if test "x$ac_cv_func_shl_load" = xyes; then :
   17198   lt_cv_dlopen="shl_load"
   17199 else
   17200   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   17201 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   17202 if ${ac_cv_lib_dld_shl_load+:} false; then :
   17203   $as_echo_n "(cached) " >&6
   17204 else
   17205   ac_check_lib_save_LIBS=$LIBS
   17206 LIBS="-ldld  $LIBS"
   17207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17208 /* end confdefs.h.  */
   17209 
   17210 /* Override any GCC internal prototype to avoid an error.
   17211    Use char because int might match the return type of a GCC
   17212    builtin and then its argument prototype would still apply.  */
   17213 #ifdef __cplusplus
   17214 extern "C"
   17215 #endif
   17216 char shl_load ();
   17217 int
   17218 main ()
   17219 {
   17220 return shl_load ();
   17221   ;
   17222   return 0;
   17223 }
   17224 _ACEOF
   17225 if ac_fn_c_try_link "$LINENO"; then :
   17226   ac_cv_lib_dld_shl_load=yes
   17227 else
   17228   ac_cv_lib_dld_shl_load=no
   17229 fi
   17230 rm -f core conftest.err conftest.$ac_objext \
   17231     conftest$ac_exeext conftest.$ac_ext
   17232 LIBS=$ac_check_lib_save_LIBS
   17233 fi
   17234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   17235 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   17236 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   17237   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   17238 else
   17239   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   17240 if test "x$ac_cv_func_dlopen" = xyes; then :
   17241   lt_cv_dlopen="dlopen"
   17242 else
   17243   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   17244 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   17245 if ${ac_cv_lib_dl_dlopen+:} false; then :
   17246   $as_echo_n "(cached) " >&6
   17247 else
   17248   ac_check_lib_save_LIBS=$LIBS
   17249 LIBS="-ldl  $LIBS"
   17250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17251 /* end confdefs.h.  */
   17252 
   17253 /* Override any GCC internal prototype to avoid an error.
   17254    Use char because int might match the return type of a GCC
   17255    builtin and then its argument prototype would still apply.  */
   17256 #ifdef __cplusplus
   17257 extern "C"
   17258 #endif
   17259 char dlopen ();
   17260 int
   17261 main ()
   17262 {
   17263 return dlopen ();
   17264   ;
   17265   return 0;
   17266 }
   17267 _ACEOF
   17268 if ac_fn_c_try_link "$LINENO"; then :
   17269   ac_cv_lib_dl_dlopen=yes
   17270 else
   17271   ac_cv_lib_dl_dlopen=no
   17272 fi
   17273 rm -f core conftest.err conftest.$ac_objext \
   17274     conftest$ac_exeext conftest.$ac_ext
   17275 LIBS=$ac_check_lib_save_LIBS
   17276 fi
   17277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   17278 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   17279 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   17280   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   17281 else
   17282   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   17283 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   17284 if ${ac_cv_lib_svld_dlopen+:} false; then :
   17285   $as_echo_n "(cached) " >&6
   17286 else
   17287   ac_check_lib_save_LIBS=$LIBS
   17288 LIBS="-lsvld  $LIBS"
   17289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17290 /* end confdefs.h.  */
   17291 
   17292 /* Override any GCC internal prototype to avoid an error.
   17293    Use char because int might match the return type of a GCC
   17294    builtin and then its argument prototype would still apply.  */
   17295 #ifdef __cplusplus
   17296 extern "C"
   17297 #endif
   17298 char dlopen ();
   17299 int
   17300 main ()
   17301 {
   17302 return dlopen ();
   17303   ;
   17304   return 0;
   17305 }
   17306 _ACEOF
   17307 if ac_fn_c_try_link "$LINENO"; then :
   17308   ac_cv_lib_svld_dlopen=yes
   17309 else
   17310   ac_cv_lib_svld_dlopen=no
   17311 fi
   17312 rm -f core conftest.err conftest.$ac_objext \
   17313     conftest$ac_exeext conftest.$ac_ext
   17314 LIBS=$ac_check_lib_save_LIBS
   17315 fi
   17316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   17317 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   17318 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   17319   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   17320 else
   17321   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   17322 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   17323 if ${ac_cv_lib_dld_dld_link+:} false; then :
   17324   $as_echo_n "(cached) " >&6
   17325 else
   17326   ac_check_lib_save_LIBS=$LIBS
   17327 LIBS="-ldld  $LIBS"
   17328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17329 /* end confdefs.h.  */
   17330 
   17331 /* Override any GCC internal prototype to avoid an error.
   17332    Use char because int might match the return type of a GCC
   17333    builtin and then its argument prototype would still apply.  */
   17334 #ifdef __cplusplus
   17335 extern "C"
   17336 #endif
   17337 char dld_link ();
   17338 int
   17339 main ()
   17340 {
   17341 return dld_link ();
   17342   ;
   17343   return 0;
   17344 }
   17345 _ACEOF
   17346 if ac_fn_c_try_link "$LINENO"; then :
   17347   ac_cv_lib_dld_dld_link=yes
   17348 else
   17349   ac_cv_lib_dld_dld_link=no
   17350 fi
   17351 rm -f core conftest.err conftest.$ac_objext \
   17352     conftest$ac_exeext conftest.$ac_ext
   17353 LIBS=$ac_check_lib_save_LIBS
   17354 fi
   17355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   17356 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   17357 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   17358   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   17359 fi
   17360 
   17361 
   17362 fi
   17363 
   17364 
   17365 fi
   17366 
   17367 
   17368 fi
   17369 
   17370 
   17371 fi
   17372 
   17373 
   17374 fi
   17375 
   17376     ;;
   17377   esac
   17378 
   17379   if test "x$lt_cv_dlopen" != xno; then
   17380     enable_dlopen=yes
   17381   else
   17382     enable_dlopen=no
   17383   fi
   17384 
   17385   case $lt_cv_dlopen in
   17386   dlopen)
   17387     save_CPPFLAGS="$CPPFLAGS"
   17388     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   17389 
   17390     save_LDFLAGS="$LDFLAGS"
   17391     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   17392 
   17393     save_LIBS="$LIBS"
   17394     LIBS="$lt_cv_dlopen_libs $LIBS"
   17395 
   17396     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   17397 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   17398 if ${lt_cv_dlopen_self+:} false; then :
   17399   $as_echo_n "(cached) " >&6
   17400 else
   17401   	  if test "$cross_compiling" = yes; then :
   17402   lt_cv_dlopen_self=cross
   17403 else
   17404   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   17405   lt_status=$lt_dlunknown
   17406   cat > conftest.$ac_ext <<_LT_EOF
   17407 #line $LINENO "configure"
   17408 #include "confdefs.h"
   17409 
   17410 #if HAVE_DLFCN_H
   17411 #include <dlfcn.h>
   17412 #endif
   17413 
   17414 #include <stdio.h>
   17415 
   17416 #ifdef RTLD_GLOBAL
   17417 #  define LT_DLGLOBAL		RTLD_GLOBAL
   17418 #else
   17419 #  ifdef DL_GLOBAL
   17420 #    define LT_DLGLOBAL		DL_GLOBAL
   17421 #  else
   17422 #    define LT_DLGLOBAL		0
   17423 #  endif
   17424 #endif
   17425 
   17426 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   17427    find out it does not work in some platform. */
   17428 #ifndef LT_DLLAZY_OR_NOW
   17429 #  ifdef RTLD_LAZY
   17430 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   17431 #  else
   17432 #    ifdef DL_LAZY
   17433 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   17434 #    else
   17435 #      ifdef RTLD_NOW
   17436 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   17437 #      else
   17438 #        ifdef DL_NOW
   17439 #          define LT_DLLAZY_OR_NOW	DL_NOW
   17440 #        else
   17441 #          define LT_DLLAZY_OR_NOW	0
   17442 #        endif
   17443 #      endif
   17444 #    endif
   17445 #  endif
   17446 #endif
   17447 
   17448 /* When -fvisbility=hidden is used, assume the code has been annotated
   17449    correspondingly for the symbols needed.  */
   17450 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   17451 int fnord () __attribute__((visibility("default")));
   17452 #endif
   17453 
   17454 int fnord () { return 42; }
   17455 int main ()
   17456 {
   17457   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   17458   int status = $lt_dlunknown;
   17459 
   17460   if (self)
   17461     {
   17462       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   17463       else
   17464         {
   17465 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   17466           else puts (dlerror ());
   17467 	}
   17468       /* dlclose (self); */
   17469     }
   17470   else
   17471     puts (dlerror ());
   17472 
   17473   return status;
   17474 }
   17475 _LT_EOF
   17476   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   17477   (eval $ac_link) 2>&5
   17478   ac_status=$?
   17479   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17480   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   17481     (./conftest; exit; ) >&5 2>/dev/null
   17482     lt_status=$?
   17483     case x$lt_status in
   17484       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   17485       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   17486       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   17487     esac
   17488   else :
   17489     # compilation failed
   17490     lt_cv_dlopen_self=no
   17491   fi
   17492 fi
   17493 rm -fr conftest*
   17494 
   17495 
   17496 fi
   17497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   17498 $as_echo "$lt_cv_dlopen_self" >&6; }
   17499 
   17500     if test "x$lt_cv_dlopen_self" = xyes; then
   17501       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   17502       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   17503 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   17504 if ${lt_cv_dlopen_self_static+:} false; then :
   17505   $as_echo_n "(cached) " >&6
   17506 else
   17507   	  if test "$cross_compiling" = yes; then :
   17508   lt_cv_dlopen_self_static=cross
   17509 else
   17510   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   17511   lt_status=$lt_dlunknown
   17512   cat > conftest.$ac_ext <<_LT_EOF
   17513 #line $LINENO "configure"
   17514 #include "confdefs.h"
   17515 
   17516 #if HAVE_DLFCN_H
   17517 #include <dlfcn.h>
   17518 #endif
   17519 
   17520 #include <stdio.h>
   17521 
   17522 #ifdef RTLD_GLOBAL
   17523 #  define LT_DLGLOBAL		RTLD_GLOBAL
   17524 #else
   17525 #  ifdef DL_GLOBAL
   17526 #    define LT_DLGLOBAL		DL_GLOBAL
   17527 #  else
   17528 #    define LT_DLGLOBAL		0
   17529 #  endif
   17530 #endif
   17531 
   17532 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   17533    find out it does not work in some platform. */
   17534 #ifndef LT_DLLAZY_OR_NOW
   17535 #  ifdef RTLD_LAZY
   17536 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   17537 #  else
   17538 #    ifdef DL_LAZY
   17539 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   17540 #    else
   17541 #      ifdef RTLD_NOW
   17542 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   17543 #      else
   17544 #        ifdef DL_NOW
   17545 #          define LT_DLLAZY_OR_NOW	DL_NOW
   17546 #        else
   17547 #          define LT_DLLAZY_OR_NOW	0
   17548 #        endif
   17549 #      endif
   17550 #    endif
   17551 #  endif
   17552 #endif
   17553 
   17554 /* When -fvisbility=hidden is used, assume the code has been annotated
   17555    correspondingly for the symbols needed.  */
   17556 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   17557 int fnord () __attribute__((visibility("default")));
   17558 #endif
   17559 
   17560 int fnord () { return 42; }
   17561 int main ()
   17562 {
   17563   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   17564   int status = $lt_dlunknown;
   17565 
   17566   if (self)
   17567     {
   17568       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   17569       else
   17570         {
   17571 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   17572           else puts (dlerror ());
   17573 	}
   17574       /* dlclose (self); */
   17575     }
   17576   else
   17577     puts (dlerror ());
   17578 
   17579   return status;
   17580 }
   17581 _LT_EOF
   17582   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   17583   (eval $ac_link) 2>&5
   17584   ac_status=$?
   17585   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17586   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   17587     (./conftest; exit; ) >&5 2>/dev/null
   17588     lt_status=$?
   17589     case x$lt_status in
   17590       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   17591       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   17592       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   17593     esac
   17594   else :
   17595     # compilation failed
   17596     lt_cv_dlopen_self_static=no
   17597   fi
   17598 fi
   17599 rm -fr conftest*
   17600 
   17601 
   17602 fi
   17603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   17604 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   17605     fi
   17606 
   17607     CPPFLAGS="$save_CPPFLAGS"
   17608     LDFLAGS="$save_LDFLAGS"
   17609     LIBS="$save_LIBS"
   17610     ;;
   17611   esac
   17612 
   17613   case $lt_cv_dlopen_self in
   17614   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   17615   *) enable_dlopen_self=unknown ;;
   17616   esac
   17617 
   17618   case $lt_cv_dlopen_self_static in
   17619   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   17620   *) enable_dlopen_self_static=unknown ;;
   17621   esac
   17622 fi
   17623 
   17624 
   17625 
   17626 
   17627 
   17628 
   17629 
   17630 
   17631 
   17632 
   17633 
   17634 
   17635 
   17636 
   17637 
   17638 
   17639 
   17640 striplib=
   17641 old_striplib=
   17642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   17643 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   17644 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   17645   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   17646   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   17647   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17648 $as_echo "yes" >&6; }
   17649 else
   17650 # FIXME - insert some real tests, host_os isn't really good enough
   17651   case $host_os in
   17652   darwin*)
   17653     if test -n "$STRIP" ; then
   17654       striplib="$STRIP -x"
   17655       old_striplib="$STRIP -S"
   17656       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17657 $as_echo "yes" >&6; }
   17658     else
   17659       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17660 $as_echo "no" >&6; }
   17661     fi
   17662     ;;
   17663   *)
   17664     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17665 $as_echo "no" >&6; }
   17666     ;;
   17667   esac
   17668 fi
   17669 
   17670 
   17671 
   17672 
   17673 
   17674 
   17675 
   17676 
   17677 
   17678 
   17679 
   17680 
   17681   # Report which library types will actually be built
   17682   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   17683 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   17684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   17685 $as_echo "$can_build_shared" >&6; }
   17686 
   17687   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   17688 $as_echo_n "checking whether to build shared libraries... " >&6; }
   17689   test "$can_build_shared" = "no" && enable_shared=no
   17690 
   17691   # On AIX, shared libraries and static libraries use the same namespace, and
   17692   # are all built from PIC.
   17693   case $host_os in
   17694   aix3*)
   17695     test "$enable_shared" = yes && enable_static=no
   17696     if test -n "$RANLIB"; then
   17697       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   17698       postinstall_cmds='$RANLIB $lib'
   17699     fi
   17700     ;;
   17701 
   17702   aix[4-9]*)
   17703     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   17704       test "$enable_shared" = yes && enable_static=no
   17705     fi
   17706     ;;
   17707   esac
   17708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   17709 $as_echo "$enable_shared" >&6; }
   17710 
   17711   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   17712 $as_echo_n "checking whether to build static libraries... " >&6; }
   17713   # Make sure either enable_shared or enable_static is yes.
   17714   test "$enable_shared" = yes || enable_static=yes
   17715   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   17716 $as_echo "$enable_static" >&6; }
   17717 
   17718 
   17719 
   17720 
   17721 fi
   17722 ac_ext=c
   17723 ac_cpp='$CPP $CPPFLAGS'
   17724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   17725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   17726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   17727 
   17728 CC="$lt_save_CC"
   17729 
   17730 
   17731 
   17732 
   17733 
   17734 
   17735 
   17736 
   17737 
   17738 
   17739 
   17740 
   17741 
   17742 
   17743 
   17744         ac_config_commands="$ac_config_commands libtool"
   17745 
   17746 
   17747 
   17748 
   17749 # Only expand once:
   17750 
   17751 
   17752 
   17753 
   17754 
   17755 # Define a configure option for an alternate module directory
   17756 
   17757 # Check whether --with-xorg-module-dir was given.
   17758 if test "${with_xorg_module_dir+set}" = set; then :
   17759   withval=$with_xorg_module_dir; moduledir="$withval"
   17760 else
   17761   moduledir="$libdir/xorg/modules"
   17762 fi
   17763 
   17764 
   17765 # Check whether --enable-dri was given.
   17766 if test "${enable_dri+set}" = set; then :
   17767   enableval=$enable_dri; DRI="$enableval"
   17768 else
   17769   DRI=auto
   17770 fi
   17771 
   17772 
   17773 # Store the list of server defined optional extensions in REQUIRED_MODULES
   17774 
   17775 
   17776 	SAVE_CFLAGS="$CFLAGS"
   17777 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   17778 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17779 /* end confdefs.h.  */
   17780 
   17781 #include "xorg-server.h"
   17782 #if !defined RANDR
   17783 #error RANDR not defined
   17784 #endif
   17785 
   17786 int
   17787 main ()
   17788 {
   17789 
   17790   ;
   17791   return 0;
   17792 }
   17793 _ACEOF
   17794 if ac_fn_c_try_compile "$LINENO"; then :
   17795   _EXT_CHECK=yes
   17796 else
   17797   _EXT_CHECK=no
   17798 fi
   17799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17800 	CFLAGS="$SAVE_CFLAGS"
   17801 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if RANDR is defined" >&5
   17802 $as_echo_n "checking if RANDR is defined... " >&6; }
   17803 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   17804 $as_echo "$_EXT_CHECK" >&6; }
   17805 	if test "$_EXT_CHECK" != no; then
   17806 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   17807 	fi
   17808 
   17809 
   17810 
   17811 	SAVE_CFLAGS="$CFLAGS"
   17812 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   17813 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17814 /* end confdefs.h.  */
   17815 
   17816 #include "xorg-server.h"
   17817 #if !defined RENDER
   17818 #error RENDER not defined
   17819 #endif
   17820 
   17821 int
   17822 main ()
   17823 {
   17824 
   17825   ;
   17826   return 0;
   17827 }
   17828 _ACEOF
   17829 if ac_fn_c_try_compile "$LINENO"; then :
   17830   _EXT_CHECK=yes
   17831 else
   17832   _EXT_CHECK=no
   17833 fi
   17834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17835 	CFLAGS="$SAVE_CFLAGS"
   17836 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if RENDER is defined" >&5
   17837 $as_echo_n "checking if RENDER is defined... " >&6; }
   17838 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   17839 $as_echo "$_EXT_CHECK" >&6; }
   17840 	if test "$_EXT_CHECK" != no; then
   17841 		REQUIRED_MODULES="$REQUIRED_MODULES renderproto"
   17842 	fi
   17843 
   17844 
   17845 
   17846 	SAVE_CFLAGS="$CFLAGS"
   17847 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   17848 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17849 /* end confdefs.h.  */
   17850 
   17851 #include "xorg-server.h"
   17852 #if !defined XV
   17853 #error XV not defined
   17854 #endif
   17855 
   17856 int
   17857 main ()
   17858 {
   17859 
   17860   ;
   17861   return 0;
   17862 }
   17863 _ACEOF
   17864 if ac_fn_c_try_compile "$LINENO"; then :
   17865   _EXT_CHECK=yes
   17866 else
   17867   _EXT_CHECK=no
   17868 fi
   17869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17870 	CFLAGS="$SAVE_CFLAGS"
   17871 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if XV is defined" >&5
   17872 $as_echo_n "checking if XV is defined... " >&6; }
   17873 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   17874 $as_echo "$_EXT_CHECK" >&6; }
   17875 	if test "$_EXT_CHECK" != no; then
   17876 		REQUIRED_MODULES="$REQUIRED_MODULES videoproto"
   17877 	fi
   17878 
   17879 
   17880 
   17881 	SAVE_CFLAGS="$CFLAGS"
   17882 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   17883 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17884 /* end confdefs.h.  */
   17885 
   17886 #include "xorg-server.h"
   17887 #if !defined DPMSExtension
   17888 #error DPMSExtension not defined
   17889 #endif
   17890 
   17891 int
   17892 main ()
   17893 {
   17894 
   17895   ;
   17896   return 0;
   17897 }
   17898 _ACEOF
   17899 if ac_fn_c_try_compile "$LINENO"; then :
   17900   _EXT_CHECK=yes
   17901 else
   17902   _EXT_CHECK=no
   17903 fi
   17904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17905 	CFLAGS="$SAVE_CFLAGS"
   17906 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if DPMSExtension is defined" >&5
   17907 $as_echo_n "checking if DPMSExtension is defined... " >&6; }
   17908 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   17909 $as_echo "$_EXT_CHECK" >&6; }
   17910 	if test "$_EXT_CHECK" != no; then
   17911 		REQUIRED_MODULES="$REQUIRED_MODULES xextproto"
   17912 	fi
   17913 
   17914 
   17915 # Obtain compiler/linker options for the driver dependencies
   17916 
   17917 pkg_failed=no
   17918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XORG" >&5
   17919 $as_echo_n "checking for XORG... " >&6; }
   17920 
   17921 if test -n "$XORG_CFLAGS"; then
   17922     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   17923  elif test -n "$PKG_CONFIG"; then
   17924     if test -n "$PKG_CONFIG" && \
   17925     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901 xproto fontsproto \$REQUIRED_MODULES\""; } >&5
   17926   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES") 2>&5
   17927   ac_status=$?
   17928   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17929   test $ac_status = 0; }; then
   17930   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   17931 else
   17932   pkg_failed=yes
   17933 fi
   17934  else
   17935     pkg_failed=untried
   17936 fi
   17937 if test -n "$XORG_LIBS"; then
   17938     pkg_cv_XORG_LIBS="$XORG_LIBS"
   17939  elif test -n "$PKG_CONFIG"; then
   17940     if test -n "$PKG_CONFIG" && \
   17941     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901 xproto fontsproto \$REQUIRED_MODULES\""; } >&5
   17942   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES") 2>&5
   17943   ac_status=$?
   17944   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17945   test $ac_status = 0; }; then
   17946   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   17947 else
   17948   pkg_failed=yes
   17949 fi
   17950  else
   17951     pkg_failed=untried
   17952 fi
   17953 
   17954 
   17955 
   17956 if test $pkg_failed = yes; then
   17957    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17958 $as_echo "no" >&6; }
   17959 
   17960 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   17961         _pkg_short_errors_supported=yes
   17962 else
   17963         _pkg_short_errors_supported=no
   17964 fi
   17965         if test $_pkg_short_errors_supported = yes; then
   17966 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   17967         else
   17968 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   17969         fi
   17970 	# Put the nasty error message in config.log where it belongs
   17971 	echo "$XORG_PKG_ERRORS" >&5
   17972 
   17973 	as_fn_error $? "Package requirements (xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES) were not met:
   17974 
   17975 $XORG_PKG_ERRORS
   17976 
   17977 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   17978 installed software in a non-standard prefix.
   17979 
   17980 Alternatively, you may set the environment variables XORG_CFLAGS
   17981 and XORG_LIBS to avoid the need to call pkg-config.
   17982 See the pkg-config man page for more details." "$LINENO" 5
   17983 
   17984 elif test $pkg_failed = untried; then
   17985      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17986 $as_echo "no" >&6; }
   17987 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   17988 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   17989 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   17990 is in your PATH or set the PKG_CONFIG environment variable to the full
   17991 path to pkg-config.
   17992 
   17993 Alternatively, you may set the environment variables XORG_CFLAGS
   17994 and XORG_LIBS to avoid the need to call pkg-config.
   17995 See the pkg-config man page for more details.
   17996 
   17997 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   17998 See \`config.log' for more details" "$LINENO" 5; }
   17999 
   18000 else
   18001 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   18002 	XORG_LIBS=$pkg_cv_XORG_LIBS
   18003         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18004 $as_echo "yes" >&6; }
   18005 
   18006 fi
   18007 sdkdir=`$PKG_CONFIG --variable=sdkdir xorg-server`
   18008 
   18009 # Checks for libraries.
   18010 SAVE_CPPFLAGS="$CPPFLAGS"
   18011 CPPFLAGS="$CPPFLAGS $XORG_CFLAGS"
   18012 ac_fn_c_check_decl "$LINENO" "XSERVER_LIBPCIACCESS" "ac_cv_have_decl_XSERVER_LIBPCIACCESS" "#include \"xorg-server.h\"
   18013 "
   18014 if test "x$ac_cv_have_decl_XSERVER_LIBPCIACCESS" = xyes; then :
   18015   XSERVER_LIBPCIACCESS=yes
   18016 else
   18017   XSERVER_LIBPCIACCESS=no
   18018 fi
   18019 
   18020 CPPFLAGS="$SAVE_CPPFLAGS"
   18021 
   18022 if test "$DRI" != no; then
   18023         as_ac_File=`$as_echo "ac_cv_file_${sdkdir}/dri.h" | $as_tr_sh`
   18024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${sdkdir}/dri.h" >&5
   18025 $as_echo_n "checking for ${sdkdir}/dri.h... " >&6; }
   18026 if eval \${$as_ac_File+:} false; then :
   18027   $as_echo_n "(cached) " >&6
   18028 else
   18029   test "$cross_compiling" = yes &&
   18030   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   18031 if test -r "${sdkdir}/dri.h"; then
   18032   eval "$as_ac_File=yes"
   18033 else
   18034   eval "$as_ac_File=no"
   18035 fi
   18036 fi
   18037 eval ac_res=\$$as_ac_File
   18038 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   18039 $as_echo "$ac_res" >&6; }
   18040 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
   18041   have_dri_h="yes"
   18042 else
   18043   have_dri_h="no"
   18044 fi
   18045 
   18046         as_ac_File=`$as_echo "ac_cv_file_${sdkdir}/sarea.h" | $as_tr_sh`
   18047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${sdkdir}/sarea.h" >&5
   18048 $as_echo_n "checking for ${sdkdir}/sarea.h... " >&6; }
   18049 if eval \${$as_ac_File+:} false; then :
   18050   $as_echo_n "(cached) " >&6
   18051 else
   18052   test "$cross_compiling" = yes &&
   18053   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   18054 if test -r "${sdkdir}/sarea.h"; then
   18055   eval "$as_ac_File=yes"
   18056 else
   18057   eval "$as_ac_File=no"
   18058 fi
   18059 fi
   18060 eval ac_res=\$$as_ac_File
   18061 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   18062 $as_echo "$ac_res" >&6; }
   18063 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
   18064   have_sarea_h="yes"
   18065 else
   18066   have_sarea_h="no"
   18067 fi
   18068 
   18069         as_ac_File=`$as_echo "ac_cv_file_${sdkdir}/dristruct.h" | $as_tr_sh`
   18070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${sdkdir}/dristruct.h" >&5
   18071 $as_echo_n "checking for ${sdkdir}/dristruct.h... " >&6; }
   18072 if eval \${$as_ac_File+:} false; then :
   18073   $as_echo_n "(cached) " >&6
   18074 else
   18075   test "$cross_compiling" = yes &&
   18076   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   18077 if test -r "${sdkdir}/dristruct.h"; then
   18078   eval "$as_ac_File=yes"
   18079 else
   18080   eval "$as_ac_File=no"
   18081 fi
   18082 fi
   18083 eval ac_res=\$$as_ac_File
   18084 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   18085 $as_echo "$ac_res" >&6; }
   18086 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
   18087   have_dristruct_h="yes"
   18088 else
   18089   have_dristruct_h="no"
   18090 fi
   18091 
   18092 fi
   18093 
   18094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include DRI support" >&5
   18095 $as_echo_n "checking whether to include DRI support... " >&6; }
   18096 if test x$DRI = xauto; then
   18097         if test "$have_dri_h" = yes -a \
   18098                 "$have_sarea_h" = yes -a \
   18099                 "$have_dristruct_h" = yes; then
   18100                 DRI="yes"
   18101         else
   18102                 DRI="no"
   18103         fi
   18104 fi
   18105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DRI" >&5
   18106 $as_echo "$DRI" >&6; }
   18107 
   18108  if test x$DRI = xyes; then
   18109   DRI_TRUE=
   18110   DRI_FALSE='#'
   18111 else
   18112   DRI_TRUE='#'
   18113   DRI_FALSE=
   18114 fi
   18115 
   18116 if test "$DRI" = yes; then
   18117 
   18118 pkg_failed=no
   18119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DRI" >&5
   18120 $as_echo_n "checking for DRI... " >&6; }
   18121 
   18122 if test -n "$DRI_CFLAGS"; then
   18123     pkg_cv_DRI_CFLAGS="$DRI_CFLAGS"
   18124  elif test -n "$PKG_CONFIG"; then
   18125     if test -n "$PKG_CONFIG" && \
   18126     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.0 xf86driproto\""; } >&5
   18127   ($PKG_CONFIG --exists --print-errors "libdrm >= 2.0 xf86driproto") 2>&5
   18128   ac_status=$?
   18129   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18130   test $ac_status = 0; }; then
   18131   pkg_cv_DRI_CFLAGS=`$PKG_CONFIG --cflags "libdrm >= 2.0 xf86driproto" 2>/dev/null`
   18132 else
   18133   pkg_failed=yes
   18134 fi
   18135  else
   18136     pkg_failed=untried
   18137 fi
   18138 if test -n "$DRI_LIBS"; then
   18139     pkg_cv_DRI_LIBS="$DRI_LIBS"
   18140  elif test -n "$PKG_CONFIG"; then
   18141     if test -n "$PKG_CONFIG" && \
   18142     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.0 xf86driproto\""; } >&5
   18143   ($PKG_CONFIG --exists --print-errors "libdrm >= 2.0 xf86driproto") 2>&5
   18144   ac_status=$?
   18145   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18146   test $ac_status = 0; }; then
   18147   pkg_cv_DRI_LIBS=`$PKG_CONFIG --libs "libdrm >= 2.0 xf86driproto" 2>/dev/null`
   18148 else
   18149   pkg_failed=yes
   18150 fi
   18151  else
   18152     pkg_failed=untried
   18153 fi
   18154 
   18155 
   18156 
   18157 if test $pkg_failed = yes; then
   18158    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18159 $as_echo "no" >&6; }
   18160 
   18161 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18162         _pkg_short_errors_supported=yes
   18163 else
   18164         _pkg_short_errors_supported=no
   18165 fi
   18166         if test $_pkg_short_errors_supported = yes; then
   18167 	        DRI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libdrm >= 2.0 xf86driproto" 2>&1`
   18168         else
   18169 	        DRI_PKG_ERRORS=`$PKG_CONFIG --print-errors "libdrm >= 2.0 xf86driproto" 2>&1`
   18170         fi
   18171 	# Put the nasty error message in config.log where it belongs
   18172 	echo "$DRI_PKG_ERRORS" >&5
   18173 
   18174 	as_fn_error $? "Package requirements (libdrm >= 2.0 xf86driproto) were not met:
   18175 
   18176 $DRI_PKG_ERRORS
   18177 
   18178 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18179 installed software in a non-standard prefix.
   18180 
   18181 Alternatively, you may set the environment variables DRI_CFLAGS
   18182 and DRI_LIBS to avoid the need to call pkg-config.
   18183 See the pkg-config man page for more details." "$LINENO" 5
   18184 
   18185 elif test $pkg_failed = untried; then
   18186      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18187 $as_echo "no" >&6; }
   18188 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18189 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18190 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18191 is in your PATH or set the PKG_CONFIG environment variable to the full
   18192 path to pkg-config.
   18193 
   18194 Alternatively, you may set the environment variables DRI_CFLAGS
   18195 and DRI_LIBS to avoid the need to call pkg-config.
   18196 See the pkg-config man page for more details.
   18197 
   18198 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18199 See \`config.log' for more details" "$LINENO" 5; }
   18200 
   18201 else
   18202 	DRI_CFLAGS=$pkg_cv_DRI_CFLAGS
   18203 	DRI_LIBS=$pkg_cv_DRI_LIBS
   18204         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18205 $as_echo "yes" >&6; }
   18206 
   18207 fi
   18208 
   18209 $as_echo "#define TDFXDRI 1" >>confdefs.h
   18210 
   18211 
   18212 $as_echo "#define TDFXDRI_DEVEL 1" >>confdefs.h
   18213 
   18214 fi
   18215 
   18216 if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   18217 
   18218 pkg_failed=no
   18219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PCIACCESS" >&5
   18220 $as_echo_n "checking for PCIACCESS... " >&6; }
   18221 
   18222 if test -n "$PCIACCESS_CFLAGS"; then
   18223     pkg_cv_PCIACCESS_CFLAGS="$PCIACCESS_CFLAGS"
   18224  elif test -n "$PKG_CONFIG"; then
   18225     if test -n "$PKG_CONFIG" && \
   18226     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\""; } >&5
   18227   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   18228   ac_status=$?
   18229   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18230   test $ac_status = 0; }; then
   18231   pkg_cv_PCIACCESS_CFLAGS=`$PKG_CONFIG --cflags "pciaccess >= 0.8.0" 2>/dev/null`
   18232 else
   18233   pkg_failed=yes
   18234 fi
   18235  else
   18236     pkg_failed=untried
   18237 fi
   18238 if test -n "$PCIACCESS_LIBS"; then
   18239     pkg_cv_PCIACCESS_LIBS="$PCIACCESS_LIBS"
   18240  elif test -n "$PKG_CONFIG"; then
   18241     if test -n "$PKG_CONFIG" && \
   18242     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\""; } >&5
   18243   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   18244   ac_status=$?
   18245   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18246   test $ac_status = 0; }; then
   18247   pkg_cv_PCIACCESS_LIBS=`$PKG_CONFIG --libs "pciaccess >= 0.8.0" 2>/dev/null`
   18248 else
   18249   pkg_failed=yes
   18250 fi
   18251  else
   18252     pkg_failed=untried
   18253 fi
   18254 
   18255 
   18256 
   18257 if test $pkg_failed = yes; then
   18258    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18259 $as_echo "no" >&6; }
   18260 
   18261 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18262         _pkg_short_errors_supported=yes
   18263 else
   18264         _pkg_short_errors_supported=no
   18265 fi
   18266         if test $_pkg_short_errors_supported = yes; then
   18267 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pciaccess >= 0.8.0" 2>&1`
   18268         else
   18269 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --print-errors "pciaccess >= 0.8.0" 2>&1`
   18270         fi
   18271 	# Put the nasty error message in config.log where it belongs
   18272 	echo "$PCIACCESS_PKG_ERRORS" >&5
   18273 
   18274 	as_fn_error $? "Package requirements (pciaccess >= 0.8.0) were not met:
   18275 
   18276 $PCIACCESS_PKG_ERRORS
   18277 
   18278 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18279 installed software in a non-standard prefix.
   18280 
   18281 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   18282 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   18283 See the pkg-config man page for more details." "$LINENO" 5
   18284 
   18285 elif test $pkg_failed = untried; then
   18286      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18287 $as_echo "no" >&6; }
   18288 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18289 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18290 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18291 is in your PATH or set the PKG_CONFIG environment variable to the full
   18292 path to pkg-config.
   18293 
   18294 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   18295 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   18296 See the pkg-config man page for more details.
   18297 
   18298 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18299 See \`config.log' for more details" "$LINENO" 5; }
   18300 
   18301 else
   18302 	PCIACCESS_CFLAGS=$pkg_cv_PCIACCESS_CFLAGS
   18303 	PCIACCESS_LIBS=$pkg_cv_PCIACCESS_LIBS
   18304         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18305 $as_echo "yes" >&6; }
   18306 
   18307 fi
   18308     XORG_CFLAGS="$XORG_CFLAGS $PCIACCESS_CFLAGS"
   18309 fi
   18310  if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   18311   XSERVER_LIBPCIACCESS_TRUE=
   18312   XSERVER_LIBPCIACCESS_FALSE='#'
   18313 else
   18314   XSERVER_LIBPCIACCESS_TRUE='#'
   18315   XSERVER_LIBPCIACCESS_FALSE=
   18316 fi
   18317 
   18318 
   18319 # Check whether --enable-xaa was given.
   18320 if test "${enable_xaa+set}" = set; then :
   18321   enableval=$enable_xaa; XAA="$enableval"
   18322 else
   18323   XAA=auto
   18324 fi
   18325 
   18326 if test "x$XAA" != xno; then
   18327         save_CFLAGS=$CFLAGS
   18328         save_CPPFLAGS=$CPPFLAGS
   18329         CFLAGS=$XORG_CFLAGS
   18330         CPPFLAGS="$XORG_CFLAGS"
   18331         for ac_header in xaa.h
   18332 do :
   18333   ac_fn_c_check_header_mongrel "$LINENO" "xaa.h" "ac_cv_header_xaa_h" "$ac_includes_default"
   18334 if test "x$ac_cv_header_xaa_h" = xyes; then :
   18335   cat >>confdefs.h <<_ACEOF
   18336 #define HAVE_XAA_H 1
   18337 _ACEOF
   18338  XAA=yes
   18339 else
   18340   XAA=no
   18341 fi
   18342 
   18343 done
   18344 
   18345         CFLAGS=$save_CFLAGS
   18346         CPPFLAGS=$save_CPPFLAGS
   18347 fi
   18348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include XAA support" >&5
   18349 $as_echo_n "checking whether to include XAA support... " >&6; }
   18350  if test "x$XAA" = xyes; then
   18351   XAA_TRUE=
   18352   XAA_FALSE='#'
   18353 else
   18354   XAA_TRUE='#'
   18355   XAA_FALSE=
   18356 fi
   18357 
   18358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XAA" >&5
   18359 $as_echo "$XAA" >&6; }
   18360 
   18361 
   18362 
   18363 DRIVER_NAME=tdfx
   18364 
   18365 
   18366 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile"
   18367 
   18368 cat >confcache <<\_ACEOF
   18369 # This file is a shell script that caches the results of configure
   18370 # tests run on this system so they can be shared between configure
   18371 # scripts and configure runs, see configure's option --config-cache.
   18372 # It is not useful on other systems.  If it contains results you don't
   18373 # want to keep, you may remove or edit it.
   18374 #
   18375 # config.status only pays attention to the cache file if you give it
   18376 # the --recheck option to rerun configure.
   18377 #
   18378 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   18379 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   18380 # following values.
   18381 
   18382 _ACEOF
   18383 
   18384 # The following way of writing the cache mishandles newlines in values,
   18385 # but we know of no workaround that is simple, portable, and efficient.
   18386 # So, we kill variables containing newlines.
   18387 # Ultrix sh set writes to stderr and can't be redirected directly,
   18388 # and sets the high bit in the cache file unless we assign to the vars.
   18389 (
   18390   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   18391     eval ac_val=\$$ac_var
   18392     case $ac_val in #(
   18393     *${as_nl}*)
   18394       case $ac_var in #(
   18395       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   18396 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   18397       esac
   18398       case $ac_var in #(
   18399       _ | IFS | as_nl) ;; #(
   18400       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   18401       *) { eval $ac_var=; unset $ac_var;} ;;
   18402       esac ;;
   18403     esac
   18404   done
   18405 
   18406   (set) 2>&1 |
   18407     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   18408     *${as_nl}ac_space=\ *)
   18409       # `set' does not quote correctly, so add quotes: double-quote
   18410       # substitution turns \\\\ into \\, and sed turns \\ into \.
   18411       sed -n \
   18412 	"s/'/'\\\\''/g;
   18413 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   18414       ;; #(
   18415     *)
   18416       # `set' quotes correctly as required by POSIX, so do not add quotes.
   18417       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   18418       ;;
   18419     esac |
   18420     sort
   18421 ) |
   18422   sed '
   18423      /^ac_cv_env_/b end
   18424      t clear
   18425      :clear
   18426      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   18427      t end
   18428      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   18429      :end' >>confcache
   18430 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   18431   if test -w "$cache_file"; then
   18432     if test "x$cache_file" != "x/dev/null"; then
   18433       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   18434 $as_echo "$as_me: updating cache $cache_file" >&6;}
   18435       if test ! -f "$cache_file" || test -h "$cache_file"; then
   18436 	cat confcache >"$cache_file"
   18437       else
   18438         case $cache_file in #(
   18439         */* | ?:*)
   18440 	  mv -f confcache "$cache_file"$$ &&
   18441 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   18442         *)
   18443 	  mv -f confcache "$cache_file" ;;
   18444 	esac
   18445       fi
   18446     fi
   18447   else
   18448     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   18449 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   18450   fi
   18451 fi
   18452 rm -f confcache
   18453 
   18454 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   18455 # Let make expand exec_prefix.
   18456 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   18457 
   18458 DEFS=-DHAVE_CONFIG_H
   18459 
   18460 ac_libobjs=
   18461 ac_ltlibobjs=
   18462 U=
   18463 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   18464   # 1. Remove the extension, and $U if already installed.
   18465   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   18466   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   18467   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   18468   #    will be set to the directory where LIBOBJS objects are built.
   18469   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   18470   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   18471 done
   18472 LIBOBJS=$ac_libobjs
   18473 
   18474 LTLIBOBJS=$ac_ltlibobjs
   18475 
   18476 
   18477  if test -n "$EXEEXT"; then
   18478   am__EXEEXT_TRUE=
   18479   am__EXEEXT_FALSE='#'
   18480 else
   18481   am__EXEEXT_TRUE='#'
   18482   am__EXEEXT_FALSE=
   18483 fi
   18484 
   18485 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   18486   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   18487 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18488 fi
   18489 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   18490   as_fn_error $? "conditional \"AMDEP\" was never defined.
   18491 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18492 fi
   18493 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   18494   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   18495 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18496 fi
   18497 if test -z "${DRI_TRUE}" && test -z "${DRI_FALSE}"; then
   18498   as_fn_error $? "conditional \"DRI\" was never defined.
   18499 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18500 fi
   18501 if test -z "${XSERVER_LIBPCIACCESS_TRUE}" && test -z "${XSERVER_LIBPCIACCESS_FALSE}"; then
   18502   as_fn_error $? "conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   18503 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18504 fi
   18505 if test -z "${XAA_TRUE}" && test -z "${XAA_FALSE}"; then
   18506   as_fn_error $? "conditional \"XAA\" was never defined.
   18507 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18508 fi
   18509 
   18510 : "${CONFIG_STATUS=./config.status}"
   18511 ac_write_fail=0
   18512 ac_clean_files_save=$ac_clean_files
   18513 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   18514 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   18515 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   18516 as_write_fail=0
   18517 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   18518 #! $SHELL
   18519 # Generated by $as_me.
   18520 # Run this file to recreate the current configuration.
   18521 # Compiler output produced by configure, useful for debugging
   18522 # configure, is in config.log if it exists.
   18523 
   18524 debug=false
   18525 ac_cs_recheck=false
   18526 ac_cs_silent=false
   18527 
   18528 SHELL=\${CONFIG_SHELL-$SHELL}
   18529 export SHELL
   18530 _ASEOF
   18531 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   18532 ## -------------------- ##
   18533 ## M4sh Initialization. ##
   18534 ## -------------------- ##
   18535 
   18536 # Be more Bourne compatible
   18537 DUALCASE=1; export DUALCASE # for MKS sh
   18538 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   18539   emulate sh
   18540   NULLCMD=:
   18541   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   18542   # is contrary to our usage.  Disable this feature.
   18543   alias -g '${1+"$@"}'='"$@"'
   18544   setopt NO_GLOB_SUBST
   18545 else
   18546   case `(set -o) 2>/dev/null` in #(
   18547   *posix*) :
   18548     set -o posix ;; #(
   18549   *) :
   18550      ;;
   18551 esac
   18552 fi
   18553 
   18554 
   18555 as_nl='
   18556 '
   18557 export as_nl
   18558 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   18559 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   18560 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   18561 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   18562 # Prefer a ksh shell builtin over an external printf program on Solaris,
   18563 # but without wasting forks for bash or zsh.
   18564 if test -z "$BASH_VERSION$ZSH_VERSION" \
   18565     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   18566   as_echo='print -r --'
   18567   as_echo_n='print -rn --'
   18568 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   18569   as_echo='printf %s\n'
   18570   as_echo_n='printf %s'
   18571 else
   18572   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   18573     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   18574     as_echo_n='/usr/ucb/echo -n'
   18575   else
   18576     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   18577     as_echo_n_body='eval
   18578       arg=$1;
   18579       case $arg in #(
   18580       *"$as_nl"*)
   18581 	expr "X$arg" : "X\\(.*\\)$as_nl";
   18582 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   18583       esac;
   18584       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   18585     '
   18586     export as_echo_n_body
   18587     as_echo_n='sh -c $as_echo_n_body as_echo'
   18588   fi
   18589   export as_echo_body
   18590   as_echo='sh -c $as_echo_body as_echo'
   18591 fi
   18592 
   18593 # The user is always right.
   18594 if test "${PATH_SEPARATOR+set}" != set; then
   18595   PATH_SEPARATOR=:
   18596   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   18597     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   18598       PATH_SEPARATOR=';'
   18599   }
   18600 fi
   18601 
   18602 
   18603 # IFS
   18604 # We need space, tab and new line, in precisely that order.  Quoting is
   18605 # there to prevent editors from complaining about space-tab.
   18606 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   18607 # splitting by setting IFS to empty value.)
   18608 IFS=" ""	$as_nl"
   18609 
   18610 # Find who we are.  Look in the path if we contain no directory separator.
   18611 as_myself=
   18612 case $0 in #((
   18613   *[\\/]* ) as_myself=$0 ;;
   18614   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18615 for as_dir in $PATH
   18616 do
   18617   IFS=$as_save_IFS
   18618   test -z "$as_dir" && as_dir=.
   18619     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   18620   done
   18621 IFS=$as_save_IFS
   18622 
   18623      ;;
   18624 esac
   18625 # We did not find ourselves, most probably we were run as `sh COMMAND'
   18626 # in which case we are not to be found in the path.
   18627 if test "x$as_myself" = x; then
   18628   as_myself=$0
   18629 fi
   18630 if test ! -f "$as_myself"; then
   18631   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   18632   exit 1
   18633 fi
   18634 
   18635 # Unset variables that we do not need and which cause bugs (e.g. in
   18636 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   18637 # suppresses any "Segmentation fault" message there.  '((' could
   18638 # trigger a bug in pdksh 5.2.14.
   18639 for as_var in BASH_ENV ENV MAIL MAILPATH
   18640 do eval test x\${$as_var+set} = xset \
   18641   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   18642 done
   18643 PS1='$ '
   18644 PS2='> '
   18645 PS4='+ '
   18646 
   18647 # NLS nuisances.
   18648 LC_ALL=C
   18649 export LC_ALL
   18650 LANGUAGE=C
   18651 export LANGUAGE
   18652 
   18653 # CDPATH.
   18654 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18655 
   18656 
   18657 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   18658 # ----------------------------------------
   18659 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   18660 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   18661 # script with STATUS, using 1 if that was 0.
   18662 as_fn_error ()
   18663 {
   18664   as_status=$1; test $as_status -eq 0 && as_status=1
   18665   if test "$4"; then
   18666     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   18667     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   18668   fi
   18669   $as_echo "$as_me: error: $2" >&2
   18670   as_fn_exit $as_status
   18671 } # as_fn_error
   18672 
   18673 
   18674 # as_fn_set_status STATUS
   18675 # -----------------------
   18676 # Set $? to STATUS, without forking.
   18677 as_fn_set_status ()
   18678 {
   18679   return $1
   18680 } # as_fn_set_status
   18681 
   18682 # as_fn_exit STATUS
   18683 # -----------------
   18684 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   18685 as_fn_exit ()
   18686 {
   18687   set +e
   18688   as_fn_set_status $1
   18689   exit $1
   18690 } # as_fn_exit
   18691 
   18692 # as_fn_unset VAR
   18693 # ---------------
   18694 # Portably unset VAR.
   18695 as_fn_unset ()
   18696 {
   18697   { eval $1=; unset $1;}
   18698 }
   18699 as_unset=as_fn_unset
   18700 # as_fn_append VAR VALUE
   18701 # ----------------------
   18702 # Append the text in VALUE to the end of the definition contained in VAR. Take
   18703 # advantage of any shell optimizations that allow amortized linear growth over
   18704 # repeated appends, instead of the typical quadratic growth present in naive
   18705 # implementations.
   18706 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   18707   eval 'as_fn_append ()
   18708   {
   18709     eval $1+=\$2
   18710   }'
   18711 else
   18712   as_fn_append ()
   18713   {
   18714     eval $1=\$$1\$2
   18715   }
   18716 fi # as_fn_append
   18717 
   18718 # as_fn_arith ARG...
   18719 # ------------------
   18720 # Perform arithmetic evaluation on the ARGs, and store the result in the
   18721 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   18722 # must be portable across $(()) and expr.
   18723 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   18724   eval 'as_fn_arith ()
   18725   {
   18726     as_val=$(( $* ))
   18727   }'
   18728 else
   18729   as_fn_arith ()
   18730   {
   18731     as_val=`expr "$@" || test $? -eq 1`
   18732   }
   18733 fi # as_fn_arith
   18734 
   18735 
   18736 if expr a : '\(a\)' >/dev/null 2>&1 &&
   18737    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   18738   as_expr=expr
   18739 else
   18740   as_expr=false
   18741 fi
   18742 
   18743 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   18744   as_basename=basename
   18745 else
   18746   as_basename=false
   18747 fi
   18748 
   18749 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   18750   as_dirname=dirname
   18751 else
   18752   as_dirname=false
   18753 fi
   18754 
   18755 as_me=`$as_basename -- "$0" ||
   18756 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   18757 	 X"$0" : 'X\(//\)$' \| \
   18758 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   18759 $as_echo X/"$0" |
   18760     sed '/^.*\/\([^/][^/]*\)\/*$/{
   18761 	    s//\1/
   18762 	    q
   18763 	  }
   18764 	  /^X\/\(\/\/\)$/{
   18765 	    s//\1/
   18766 	    q
   18767 	  }
   18768 	  /^X\/\(\/\).*/{
   18769 	    s//\1/
   18770 	    q
   18771 	  }
   18772 	  s/.*/./; q'`
   18773 
   18774 # Avoid depending upon Character Ranges.
   18775 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   18776 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   18777 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   18778 as_cr_digits='0123456789'
   18779 as_cr_alnum=$as_cr_Letters$as_cr_digits
   18780 
   18781 ECHO_C= ECHO_N= ECHO_T=
   18782 case `echo -n x` in #(((((
   18783 -n*)
   18784   case `echo 'xy\c'` in
   18785   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   18786   xy)  ECHO_C='\c';;
   18787   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   18788        ECHO_T='	';;
   18789   esac;;
   18790 *)
   18791   ECHO_N='-n';;
   18792 esac
   18793 
   18794 rm -f conf$$ conf$$.exe conf$$.file
   18795 if test -d conf$$.dir; then
   18796   rm -f conf$$.dir/conf$$.file
   18797 else
   18798   rm -f conf$$.dir
   18799   mkdir conf$$.dir 2>/dev/null
   18800 fi
   18801 if (echo >conf$$.file) 2>/dev/null; then
   18802   if ln -s conf$$.file conf$$ 2>/dev/null; then
   18803     as_ln_s='ln -s'
   18804     # ... but there are two gotchas:
   18805     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   18806     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   18807     # In both cases, we have to default to `cp -p'.
   18808     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   18809       as_ln_s='cp -p'
   18810   elif ln conf$$.file conf$$ 2>/dev/null; then
   18811     as_ln_s=ln
   18812   else
   18813     as_ln_s='cp -p'
   18814   fi
   18815 else
   18816   as_ln_s='cp -p'
   18817 fi
   18818 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   18819 rmdir conf$$.dir 2>/dev/null
   18820 
   18821 
   18822 # as_fn_mkdir_p
   18823 # -------------
   18824 # Create "$as_dir" as a directory, including parents if necessary.
   18825 as_fn_mkdir_p ()
   18826 {
   18827 
   18828   case $as_dir in #(
   18829   -*) as_dir=./$as_dir;;
   18830   esac
   18831   test -d "$as_dir" || eval $as_mkdir_p || {
   18832     as_dirs=
   18833     while :; do
   18834       case $as_dir in #(
   18835       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   18836       *) as_qdir=$as_dir;;
   18837       esac
   18838       as_dirs="'$as_qdir' $as_dirs"
   18839       as_dir=`$as_dirname -- "$as_dir" ||
   18840 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18841 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   18842 	 X"$as_dir" : 'X\(//\)$' \| \
   18843 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   18844 $as_echo X"$as_dir" |
   18845     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18846 	    s//\1/
   18847 	    q
   18848 	  }
   18849 	  /^X\(\/\/\)[^/].*/{
   18850 	    s//\1/
   18851 	    q
   18852 	  }
   18853 	  /^X\(\/\/\)$/{
   18854 	    s//\1/
   18855 	    q
   18856 	  }
   18857 	  /^X\(\/\).*/{
   18858 	    s//\1/
   18859 	    q
   18860 	  }
   18861 	  s/.*/./; q'`
   18862       test -d "$as_dir" && break
   18863     done
   18864     test -z "$as_dirs" || eval "mkdir $as_dirs"
   18865   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   18866 
   18867 
   18868 } # as_fn_mkdir_p
   18869 if mkdir -p . 2>/dev/null; then
   18870   as_mkdir_p='mkdir -p "$as_dir"'
   18871 else
   18872   test -d ./-p && rmdir ./-p
   18873   as_mkdir_p=false
   18874 fi
   18875 
   18876 if test -x / >/dev/null 2>&1; then
   18877   as_test_x='test -x'
   18878 else
   18879   if ls -dL / >/dev/null 2>&1; then
   18880     as_ls_L_option=L
   18881   else
   18882     as_ls_L_option=
   18883   fi
   18884   as_test_x='
   18885     eval sh -c '\''
   18886       if test -d "$1"; then
   18887 	test -d "$1/.";
   18888       else
   18889 	case $1 in #(
   18890 	-*)set "./$1";;
   18891 	esac;
   18892 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   18893 	???[sx]*):;;*)false;;esac;fi
   18894     '\'' sh
   18895   '
   18896 fi
   18897 as_executable_p=$as_test_x
   18898 
   18899 # Sed expression to map a string onto a valid CPP name.
   18900 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   18901 
   18902 # Sed expression to map a string onto a valid variable name.
   18903 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   18904 
   18905 
   18906 exec 6>&1
   18907 ## ----------------------------------- ##
   18908 ## Main body of $CONFIG_STATUS script. ##
   18909 ## ----------------------------------- ##
   18910 _ASEOF
   18911 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   18912 
   18913 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18914 # Save the log message, to keep $0 and so on meaningful, and to
   18915 # report actual input values of CONFIG_FILES etc. instead of their
   18916 # values after options handling.
   18917 ac_log="
   18918 This file was extended by xf86-video-tdfx $as_me 1.4.5, which was
   18919 generated by GNU Autoconf 2.68.  Invocation command line was
   18920 
   18921   CONFIG_FILES    = $CONFIG_FILES
   18922   CONFIG_HEADERS  = $CONFIG_HEADERS
   18923   CONFIG_LINKS    = $CONFIG_LINKS
   18924   CONFIG_COMMANDS = $CONFIG_COMMANDS
   18925   $ $0 $@
   18926 
   18927 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   18928 "
   18929 
   18930 _ACEOF
   18931 
   18932 case $ac_config_files in *"
   18933 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   18934 esac
   18935 
   18936 case $ac_config_headers in *"
   18937 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   18938 esac
   18939 
   18940 
   18941 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18942 # Files that config.status was made for.
   18943 config_files="$ac_config_files"
   18944 config_headers="$ac_config_headers"
   18945 config_commands="$ac_config_commands"
   18946 
   18947 _ACEOF
   18948 
   18949 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18950 ac_cs_usage="\
   18951 \`$as_me' instantiates files and other configuration actions
   18952 from templates according to the current configuration.  Unless the files
   18953 and actions are specified as TAGs, all are instantiated by default.
   18954 
   18955 Usage: $0 [OPTION]... [TAG]...
   18956 
   18957   -h, --help       print this help, then exit
   18958   -V, --version    print version number and configuration settings, then exit
   18959       --config     print configuration, then exit
   18960   -q, --quiet, --silent
   18961                    do not print progress messages
   18962   -d, --debug      don't remove temporary files
   18963       --recheck    update $as_me by reconfiguring in the same conditions
   18964       --file=FILE[:TEMPLATE]
   18965                    instantiate the configuration file FILE
   18966       --header=FILE[:TEMPLATE]
   18967                    instantiate the configuration header FILE
   18968 
   18969 Configuration files:
   18970 $config_files
   18971 
   18972 Configuration headers:
   18973 $config_headers
   18974 
   18975 Configuration commands:
   18976 $config_commands
   18977 
   18978 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   18979 
   18980 _ACEOF
   18981 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18982 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   18983 ac_cs_version="\\
   18984 xf86-video-tdfx config.status 1.4.5
   18985 configured by $0, generated by GNU Autoconf 2.68,
   18986   with options \\"\$ac_cs_config\\"
   18987 
   18988 Copyright (C) 2010 Free Software Foundation, Inc.
   18989 This config.status script is free software; the Free Software Foundation
   18990 gives unlimited permission to copy, distribute and modify it."
   18991 
   18992 ac_pwd='$ac_pwd'
   18993 srcdir='$srcdir'
   18994 INSTALL='$INSTALL'
   18995 MKDIR_P='$MKDIR_P'
   18996 AWK='$AWK'
   18997 test -n "\$AWK" || AWK=awk
   18998 _ACEOF
   18999 
   19000 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19001 # The default lists apply if the user does not specify any file.
   19002 ac_need_defaults=:
   19003 while test $# != 0
   19004 do
   19005   case $1 in
   19006   --*=?*)
   19007     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   19008     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   19009     ac_shift=:
   19010     ;;
   19011   --*=)
   19012     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   19013     ac_optarg=
   19014     ac_shift=:
   19015     ;;
   19016   *)
   19017     ac_option=$1
   19018     ac_optarg=$2
   19019     ac_shift=shift
   19020     ;;
   19021   esac
   19022 
   19023   case $ac_option in
   19024   # Handling of the options.
   19025   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   19026     ac_cs_recheck=: ;;
   19027   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   19028     $as_echo "$ac_cs_version"; exit ;;
   19029   --config | --confi | --conf | --con | --co | --c )
   19030     $as_echo "$ac_cs_config"; exit ;;
   19031   --debug | --debu | --deb | --de | --d | -d )
   19032     debug=: ;;
   19033   --file | --fil | --fi | --f )
   19034     $ac_shift
   19035     case $ac_optarg in
   19036     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19037     '') as_fn_error $? "missing file argument" ;;
   19038     esac
   19039     as_fn_append CONFIG_FILES " '$ac_optarg'"
   19040     ac_need_defaults=false;;
   19041   --header | --heade | --head | --hea )
   19042     $ac_shift
   19043     case $ac_optarg in
   19044     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19045     esac
   19046     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   19047     ac_need_defaults=false;;
   19048   --he | --h)
   19049     # Conflict between --help and --header
   19050     as_fn_error $? "ambiguous option: \`$1'
   19051 Try \`$0 --help' for more information.";;
   19052   --help | --hel | -h )
   19053     $as_echo "$ac_cs_usage"; exit ;;
   19054   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   19055   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   19056     ac_cs_silent=: ;;
   19057 
   19058   # This is an error.
   19059   -*) as_fn_error $? "unrecognized option: \`$1'
   19060 Try \`$0 --help' for more information." ;;
   19061 
   19062   *) as_fn_append ac_config_targets " $1"
   19063      ac_need_defaults=false ;;
   19064 
   19065   esac
   19066   shift
   19067 done
   19068 
   19069 ac_configure_extra_args=
   19070 
   19071 if $ac_cs_silent; then
   19072   exec 6>/dev/null
   19073   ac_configure_extra_args="$ac_configure_extra_args --silent"
   19074 fi
   19075 
   19076 _ACEOF
   19077 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19078 if \$ac_cs_recheck; then
   19079   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   19080   shift
   19081   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   19082   CONFIG_SHELL='$SHELL'
   19083   export CONFIG_SHELL
   19084   exec "\$@"
   19085 fi
   19086 
   19087 _ACEOF
   19088 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19089 exec 5>>config.log
   19090 {
   19091   echo
   19092   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   19093 ## Running $as_me. ##
   19094 _ASBOX
   19095   $as_echo "$ac_log"
   19096 } >&5
   19097 
   19098 _ACEOF
   19099 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19100 #
   19101 # INIT-COMMANDS
   19102 #
   19103 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   19104 
   19105 
   19106 # The HP-UX ksh and POSIX shell print the target directory to stdout
   19107 # if CDPATH is set.
   19108 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   19109 
   19110 sed_quote_subst='$sed_quote_subst'
   19111 double_quote_subst='$double_quote_subst'
   19112 delay_variable_subst='$delay_variable_subst'
   19113 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   19114 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   19115 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   19116 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   19117 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   19118 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   19119 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   19120 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   19121 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   19122 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   19123 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   19124 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   19125 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   19126 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   19127 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   19128 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   19129 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   19130 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   19131 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   19132 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   19133 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   19134 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   19135 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   19136 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   19137 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   19138 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   19139 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   19140 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   19141 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   19142 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   19143 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   19144 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   19145 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   19146 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   19147 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   19148 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   19149 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   19150 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   19151 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   19152 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   19153 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   19154 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   19155 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   19156 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   19157 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   19158 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   19159 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   19160 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   19161 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   19162 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   19163 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   19164 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   19165 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   19166 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   19167 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   19168 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   19169 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"`'
   19170 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   19171 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   19172 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   19173 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   19174 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   19175 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   19176 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   19177 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   19178 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   19179 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   19180 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   19181 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   19182 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   19183 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   19184 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   19185 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   19186 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   19187 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   19188 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   19189 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   19190 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   19191 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   19192 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   19193 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   19194 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   19195 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   19196 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   19197 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   19198 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   19199 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   19200 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   19201 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   19202 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   19203 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   19204 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   19205 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   19206 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   19207 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   19208 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   19209 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   19210 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   19211 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   19212 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   19213 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   19214 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   19215 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   19216 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   19217 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   19218 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   19219 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   19220 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   19221 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   19222 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   19223 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   19224 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   19225 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   19226 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   19227 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   19228 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   19229 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   19230 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   19231 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   19232 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   19233 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   19234 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   19235 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   19236 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   19237 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   19238 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   19239 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   19240 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   19241 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   19242 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   19243 
   19244 LTCC='$LTCC'
   19245 LTCFLAGS='$LTCFLAGS'
   19246 compiler='$compiler_DEFAULT'
   19247 
   19248 # A function that is used when there is no print builtin or printf.
   19249 func_fallback_echo ()
   19250 {
   19251   eval 'cat <<_LTECHO_EOF
   19252 \$1
   19253 _LTECHO_EOF'
   19254 }
   19255 
   19256 # Quote evaled strings.
   19257 for var in SHELL \
   19258 ECHO \
   19259 PATH_SEPARATOR \
   19260 SED \
   19261 GREP \
   19262 EGREP \
   19263 FGREP \
   19264 LD \
   19265 NM \
   19266 LN_S \
   19267 lt_SP2NL \
   19268 lt_NL2SP \
   19269 reload_flag \
   19270 OBJDUMP \
   19271 deplibs_check_method \
   19272 file_magic_cmd \
   19273 file_magic_glob \
   19274 want_nocaseglob \
   19275 DLLTOOL \
   19276 sharedlib_from_linklib_cmd \
   19277 AR \
   19278 AR_FLAGS \
   19279 archiver_list_spec \
   19280 STRIP \
   19281 RANLIB \
   19282 CC \
   19283 CFLAGS \
   19284 compiler \
   19285 lt_cv_sys_global_symbol_pipe \
   19286 lt_cv_sys_global_symbol_to_cdecl \
   19287 lt_cv_sys_global_symbol_to_c_name_address \
   19288 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   19289 nm_file_list_spec \
   19290 lt_prog_compiler_no_builtin_flag \
   19291 lt_prog_compiler_pic \
   19292 lt_prog_compiler_wl \
   19293 lt_prog_compiler_static \
   19294 lt_cv_prog_compiler_c_o \
   19295 need_locks \
   19296 MANIFEST_TOOL \
   19297 DSYMUTIL \
   19298 NMEDIT \
   19299 LIPO \
   19300 OTOOL \
   19301 OTOOL64 \
   19302 shrext_cmds \
   19303 export_dynamic_flag_spec \
   19304 whole_archive_flag_spec \
   19305 compiler_needs_object \
   19306 with_gnu_ld \
   19307 allow_undefined_flag \
   19308 no_undefined_flag \
   19309 hardcode_libdir_flag_spec \
   19310 hardcode_libdir_separator \
   19311 exclude_expsyms \
   19312 include_expsyms \
   19313 file_list_spec \
   19314 variables_saved_for_relink \
   19315 libname_spec \
   19316 library_names_spec \
   19317 soname_spec \
   19318 install_override_mode \
   19319 finish_eval \
   19320 old_striplib \
   19321 striplib; do
   19322     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   19323     *[\\\\\\\`\\"\\\$]*)
   19324       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   19325       ;;
   19326     *)
   19327       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   19328       ;;
   19329     esac
   19330 done
   19331 
   19332 # Double-quote double-evaled strings.
   19333 for var in reload_cmds \
   19334 old_postinstall_cmds \
   19335 old_postuninstall_cmds \
   19336 old_archive_cmds \
   19337 extract_expsyms_cmds \
   19338 old_archive_from_new_cmds \
   19339 old_archive_from_expsyms_cmds \
   19340 archive_cmds \
   19341 archive_expsym_cmds \
   19342 module_cmds \
   19343 module_expsym_cmds \
   19344 export_symbols_cmds \
   19345 prelink_cmds \
   19346 postlink_cmds \
   19347 postinstall_cmds \
   19348 postuninstall_cmds \
   19349 finish_cmds \
   19350 sys_lib_search_path_spec \
   19351 sys_lib_dlsearch_path_spec; do
   19352     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   19353     *[\\\\\\\`\\"\\\$]*)
   19354       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   19355       ;;
   19356     *)
   19357       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   19358       ;;
   19359     esac
   19360 done
   19361 
   19362 ac_aux_dir='$ac_aux_dir'
   19363 xsi_shell='$xsi_shell'
   19364 lt_shell_append='$lt_shell_append'
   19365 
   19366 # See if we are running on zsh, and set the options which allow our
   19367 # commands through without removal of \ escapes INIT.
   19368 if test -n "\${ZSH_VERSION+set}" ; then
   19369    setopt NO_GLOB_SUBST
   19370 fi
   19371 
   19372 
   19373     PACKAGE='$PACKAGE'
   19374     VERSION='$VERSION'
   19375     TIMESTAMP='$TIMESTAMP'
   19376     RM='$RM'
   19377     ofile='$ofile'
   19378 
   19379 
   19380 
   19381 
   19382 _ACEOF
   19383 
   19384 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19385 
   19386 # Handling of arguments.
   19387 for ac_config_target in $ac_config_targets
   19388 do
   19389   case $ac_config_target in
   19390     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   19391     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   19392     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   19393     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   19394     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   19395     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   19396 
   19397   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   19398   esac
   19399 done
   19400 
   19401 
   19402 # If the user did not use the arguments to specify the items to instantiate,
   19403 # then the envvar interface is used.  Set only those that are not.
   19404 # We use the long form for the default assignment because of an extremely
   19405 # bizarre bug on SunOS 4.1.3.
   19406 if $ac_need_defaults; then
   19407   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   19408   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   19409   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   19410 fi
   19411 
   19412 # Have a temporary directory for convenience.  Make it in the build tree
   19413 # simply because there is no reason against having it here, and in addition,
   19414 # creating and moving files from /tmp can sometimes cause problems.
   19415 # Hook for its removal unless debugging.
   19416 # Note that there is a small window in which the directory will not be cleaned:
   19417 # after its creation but before its name has been assigned to `$tmp'.
   19418 $debug ||
   19419 {
   19420   tmp= ac_tmp=
   19421   trap 'exit_status=$?
   19422   : "${ac_tmp:=$tmp}"
   19423   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   19424 ' 0
   19425   trap 'as_fn_exit 1' 1 2 13 15
   19426 }
   19427 # Create a (secure) tmp directory for tmp files.
   19428 
   19429 {
   19430   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   19431   test -d "$tmp"
   19432 }  ||
   19433 {
   19434   tmp=./conf$$-$RANDOM
   19435   (umask 077 && mkdir "$tmp")
   19436 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   19437 ac_tmp=$tmp
   19438 
   19439 # Set up the scripts for CONFIG_FILES section.
   19440 # No need to generate them if there are no CONFIG_FILES.
   19441 # This happens for instance with `./config.status config.h'.
   19442 if test -n "$CONFIG_FILES"; then
   19443 
   19444 
   19445 ac_cr=`echo X | tr X '\015'`
   19446 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   19447 # But we know of no other shell where ac_cr would be empty at this
   19448 # point, so we can use a bashism as a fallback.
   19449 if test "x$ac_cr" = x; then
   19450   eval ac_cr=\$\'\\r\'
   19451 fi
   19452 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   19453 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   19454   ac_cs_awk_cr='\\r'
   19455 else
   19456   ac_cs_awk_cr=$ac_cr
   19457 fi
   19458 
   19459 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   19460 _ACEOF
   19461 
   19462 
   19463 {
   19464   echo "cat >conf$$subs.awk <<_ACEOF" &&
   19465   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   19466   echo "_ACEOF"
   19467 } >conf$$subs.sh ||
   19468   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19469 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   19470 ac_delim='%!_!# '
   19471 for ac_last_try in false false false false false :; do
   19472   . ./conf$$subs.sh ||
   19473     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19474 
   19475   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   19476   if test $ac_delim_n = $ac_delim_num; then
   19477     break
   19478   elif $ac_last_try; then
   19479     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19480   else
   19481     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19482   fi
   19483 done
   19484 rm -f conf$$subs.sh
   19485 
   19486 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19487 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   19488 _ACEOF
   19489 sed -n '
   19490 h
   19491 s/^/S["/; s/!.*/"]=/
   19492 p
   19493 g
   19494 s/^[^!]*!//
   19495 :repl
   19496 t repl
   19497 s/'"$ac_delim"'$//
   19498 t delim
   19499 :nl
   19500 h
   19501 s/\(.\{148\}\)..*/\1/
   19502 t more1
   19503 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   19504 p
   19505 n
   19506 b repl
   19507 :more1
   19508 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19509 p
   19510 g
   19511 s/.\{148\}//
   19512 t nl
   19513 :delim
   19514 h
   19515 s/\(.\{148\}\)..*/\1/
   19516 t more2
   19517 s/["\\]/\\&/g; s/^/"/; s/$/"/
   19518 p
   19519 b
   19520 :more2
   19521 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19522 p
   19523 g
   19524 s/.\{148\}//
   19525 t delim
   19526 ' <conf$$subs.awk | sed '
   19527 /^[^""]/{
   19528   N
   19529   s/\n//
   19530 }
   19531 ' >>$CONFIG_STATUS || ac_write_fail=1
   19532 rm -f conf$$subs.awk
   19533 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19534 _ACAWK
   19535 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   19536   for (key in S) S_is_set[key] = 1
   19537   FS = ""
   19538 
   19539 }
   19540 {
   19541   line = $ 0
   19542   nfields = split(line, field, "@")
   19543   substed = 0
   19544   len = length(field[1])
   19545   for (i = 2; i < nfields; i++) {
   19546     key = field[i]
   19547     keylen = length(key)
   19548     if (S_is_set[key]) {
   19549       value = S[key]
   19550       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   19551       len += length(value) + length(field[++i])
   19552       substed = 1
   19553     } else
   19554       len += 1 + keylen
   19555   }
   19556 
   19557   print line
   19558 }
   19559 
   19560 _ACAWK
   19561 _ACEOF
   19562 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19563 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   19564   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   19565 else
   19566   cat
   19567 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   19568   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   19569 _ACEOF
   19570 
   19571 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   19572 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   19573 # trailing colons and then remove the whole line if VPATH becomes empty
   19574 # (actually we leave an empty line to preserve line numbers).
   19575 if test "x$srcdir" = x.; then
   19576   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   19577 h
   19578 s///
   19579 s/^/:/
   19580 s/[	 ]*$/:/
   19581 s/:\$(srcdir):/:/g
   19582 s/:\${srcdir}:/:/g
   19583 s/:@srcdir@:/:/g
   19584 s/^:*//
   19585 s/:*$//
   19586 x
   19587 s/\(=[	 ]*\).*/\1/
   19588 G
   19589 s/\n//
   19590 s/^[^=]*=[	 ]*$//
   19591 }'
   19592 fi
   19593 
   19594 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19595 fi # test -n "$CONFIG_FILES"
   19596 
   19597 # Set up the scripts for CONFIG_HEADERS section.
   19598 # No need to generate them if there are no CONFIG_HEADERS.
   19599 # This happens for instance with `./config.status Makefile'.
   19600 if test -n "$CONFIG_HEADERS"; then
   19601 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   19602 BEGIN {
   19603 _ACEOF
   19604 
   19605 # Transform confdefs.h into an awk script `defines.awk', embedded as
   19606 # here-document in config.status, that substitutes the proper values into
   19607 # config.h.in to produce config.h.
   19608 
   19609 # Create a delimiter string that does not exist in confdefs.h, to ease
   19610 # handling of long lines.
   19611 ac_delim='%!_!# '
   19612 for ac_last_try in false false :; do
   19613   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   19614   if test -z "$ac_tt"; then
   19615     break
   19616   elif $ac_last_try; then
   19617     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   19618   else
   19619     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19620   fi
   19621 done
   19622 
   19623 # For the awk script, D is an array of macro values keyed by name,
   19624 # likewise P contains macro parameters if any.  Preserve backslash
   19625 # newline sequences.
   19626 
   19627 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   19628 sed -n '
   19629 s/.\{148\}/&'"$ac_delim"'/g
   19630 t rset
   19631 :rset
   19632 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   19633 t def
   19634 d
   19635 :def
   19636 s/\\$//
   19637 t bsnl
   19638 s/["\\]/\\&/g
   19639 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19640 D["\1"]=" \3"/p
   19641 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   19642 d
   19643 :bsnl
   19644 s/["\\]/\\&/g
   19645 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19646 D["\1"]=" \3\\\\\\n"\\/p
   19647 t cont
   19648 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   19649 t cont
   19650 d
   19651 :cont
   19652 n
   19653 s/.\{148\}/&'"$ac_delim"'/g
   19654 t clear
   19655 :clear
   19656 s/\\$//
   19657 t bsnlc
   19658 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   19659 d
   19660 :bsnlc
   19661 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   19662 b cont
   19663 ' <confdefs.h | sed '
   19664 s/'"$ac_delim"'/"\\\
   19665 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   19666 
   19667 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19668   for (key in D) D_is_set[key] = 1
   19669   FS = ""
   19670 }
   19671 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   19672   line = \$ 0
   19673   split(line, arg, " ")
   19674   if (arg[1] == "#") {
   19675     defundef = arg[2]
   19676     mac1 = arg[3]
   19677   } else {
   19678     defundef = substr(arg[1], 2)
   19679     mac1 = arg[2]
   19680   }
   19681   split(mac1, mac2, "(") #)
   19682   macro = mac2[1]
   19683   prefix = substr(line, 1, index(line, defundef) - 1)
   19684   if (D_is_set[macro]) {
   19685     # Preserve the white space surrounding the "#".
   19686     print prefix "define", macro P[macro] D[macro]
   19687     next
   19688   } else {
   19689     # Replace #undef with comments.  This is necessary, for example,
   19690     # in the case of _POSIX_SOURCE, which is predefined and required
   19691     # on some systems where configure will not decide to define it.
   19692     if (defundef == "undef") {
   19693       print "/*", prefix defundef, macro, "*/"
   19694       next
   19695     }
   19696   }
   19697 }
   19698 { print }
   19699 _ACAWK
   19700 _ACEOF
   19701 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19702   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   19703 fi # test -n "$CONFIG_HEADERS"
   19704 
   19705 
   19706 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   19707 shift
   19708 for ac_tag
   19709 do
   19710   case $ac_tag in
   19711   :[FHLC]) ac_mode=$ac_tag; continue;;
   19712   esac
   19713   case $ac_mode$ac_tag in
   19714   :[FHL]*:*);;
   19715   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   19716   :[FH]-) ac_tag=-:-;;
   19717   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   19718   esac
   19719   ac_save_IFS=$IFS
   19720   IFS=:
   19721   set x $ac_tag
   19722   IFS=$ac_save_IFS
   19723   shift
   19724   ac_file=$1
   19725   shift
   19726 
   19727   case $ac_mode in
   19728   :L) ac_source=$1;;
   19729   :[FH])
   19730     ac_file_inputs=
   19731     for ac_f
   19732     do
   19733       case $ac_f in
   19734       -) ac_f="$ac_tmp/stdin";;
   19735       *) # Look for the file first in the build tree, then in the source tree
   19736 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   19737 	 # because $ac_f cannot contain `:'.
   19738 	 test -f "$ac_f" ||
   19739 	   case $ac_f in
   19740 	   [\\/$]*) false;;
   19741 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   19742 	   esac ||
   19743 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   19744       esac
   19745       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   19746       as_fn_append ac_file_inputs " '$ac_f'"
   19747     done
   19748 
   19749     # Let's still pretend it is `configure' which instantiates (i.e., don't
   19750     # use $as_me), people would be surprised to read:
   19751     #    /* config.h.  Generated by config.status.  */
   19752     configure_input='Generated from '`
   19753 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   19754 	`' by configure.'
   19755     if test x"$ac_file" != x-; then
   19756       configure_input="$ac_file.  $configure_input"
   19757       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   19758 $as_echo "$as_me: creating $ac_file" >&6;}
   19759     fi
   19760     # Neutralize special characters interpreted by sed in replacement strings.
   19761     case $configure_input in #(
   19762     *\&* | *\|* | *\\* )
   19763        ac_sed_conf_input=`$as_echo "$configure_input" |
   19764        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   19765     *) ac_sed_conf_input=$configure_input;;
   19766     esac
   19767 
   19768     case $ac_tag in
   19769     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   19770       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   19771     esac
   19772     ;;
   19773   esac
   19774 
   19775   ac_dir=`$as_dirname -- "$ac_file" ||
   19776 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19777 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   19778 	 X"$ac_file" : 'X\(//\)$' \| \
   19779 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   19780 $as_echo X"$ac_file" |
   19781     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19782 	    s//\1/
   19783 	    q
   19784 	  }
   19785 	  /^X\(\/\/\)[^/].*/{
   19786 	    s//\1/
   19787 	    q
   19788 	  }
   19789 	  /^X\(\/\/\)$/{
   19790 	    s//\1/
   19791 	    q
   19792 	  }
   19793 	  /^X\(\/\).*/{
   19794 	    s//\1/
   19795 	    q
   19796 	  }
   19797 	  s/.*/./; q'`
   19798   as_dir="$ac_dir"; as_fn_mkdir_p
   19799   ac_builddir=.
   19800 
   19801 case "$ac_dir" in
   19802 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19803 *)
   19804   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   19805   # A ".." for each directory in $ac_dir_suffix.
   19806   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   19807   case $ac_top_builddir_sub in
   19808   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19809   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   19810   esac ;;
   19811 esac
   19812 ac_abs_top_builddir=$ac_pwd
   19813 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   19814 # for backward compatibility:
   19815 ac_top_builddir=$ac_top_build_prefix
   19816 
   19817 case $srcdir in
   19818   .)  # We are building in place.
   19819     ac_srcdir=.
   19820     ac_top_srcdir=$ac_top_builddir_sub
   19821     ac_abs_top_srcdir=$ac_pwd ;;
   19822   [\\/]* | ?:[\\/]* )  # Absolute name.
   19823     ac_srcdir=$srcdir$ac_dir_suffix;
   19824     ac_top_srcdir=$srcdir
   19825     ac_abs_top_srcdir=$srcdir ;;
   19826   *) # Relative name.
   19827     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   19828     ac_top_srcdir=$ac_top_build_prefix$srcdir
   19829     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   19830 esac
   19831 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   19832 
   19833 
   19834   case $ac_mode in
   19835   :F)
   19836   #
   19837   # CONFIG_FILE
   19838   #
   19839 
   19840   case $INSTALL in
   19841   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   19842   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   19843   esac
   19844   ac_MKDIR_P=$MKDIR_P
   19845   case $MKDIR_P in
   19846   [\\/$]* | ?:[\\/]* ) ;;
   19847   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   19848   esac
   19849 _ACEOF
   19850 
   19851 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19852 # If the template does not know about datarootdir, expand it.
   19853 # FIXME: This hack should be removed a few years after 2.60.
   19854 ac_datarootdir_hack=; ac_datarootdir_seen=
   19855 ac_sed_dataroot='
   19856 /datarootdir/ {
   19857   p
   19858   q
   19859 }
   19860 /@datadir@/p
   19861 /@docdir@/p
   19862 /@infodir@/p
   19863 /@localedir@/p
   19864 /@mandir@/p'
   19865 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   19866 *datarootdir*) ac_datarootdir_seen=yes;;
   19867 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   19868   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   19869 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   19870 _ACEOF
   19871 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19872   ac_datarootdir_hack='
   19873   s&@datadir@&$datadir&g
   19874   s&@docdir@&$docdir&g
   19875   s&@infodir@&$infodir&g
   19876   s&@localedir@&$localedir&g
   19877   s&@mandir@&$mandir&g
   19878   s&\\\${datarootdir}&$datarootdir&g' ;;
   19879 esac
   19880 _ACEOF
   19881 
   19882 # Neutralize VPATH when `$srcdir' = `.'.
   19883 # Shell code in configure.ac might set extrasub.
   19884 # FIXME: do we really want to maintain this feature?
   19885 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19886 ac_sed_extra="$ac_vpsub
   19887 $extrasub
   19888 _ACEOF
   19889 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19890 :t
   19891 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   19892 s|@configure_input@|$ac_sed_conf_input|;t t
   19893 s&@top_builddir@&$ac_top_builddir_sub&;t t
   19894 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   19895 s&@srcdir@&$ac_srcdir&;t t
   19896 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   19897 s&@top_srcdir@&$ac_top_srcdir&;t t
   19898 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   19899 s&@builddir@&$ac_builddir&;t t
   19900 s&@abs_builddir@&$ac_abs_builddir&;t t
   19901 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   19902 s&@INSTALL@&$ac_INSTALL&;t t
   19903 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   19904 $ac_datarootdir_hack
   19905 "
   19906 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   19907   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19908 
   19909 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   19910   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   19911   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   19912       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   19913   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19914 which seems to be undefined.  Please make sure it is defined" >&5
   19915 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19916 which seems to be undefined.  Please make sure it is defined" >&2;}
   19917 
   19918   rm -f "$ac_tmp/stdin"
   19919   case $ac_file in
   19920   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   19921   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   19922   esac \
   19923   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19924  ;;
   19925   :H)
   19926   #
   19927   # CONFIG_HEADER
   19928   #
   19929   if test x"$ac_file" != x-; then
   19930     {
   19931       $as_echo "/* $configure_input  */" \
   19932       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   19933     } >"$ac_tmp/config.h" \
   19934       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19935     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   19936       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   19937 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   19938     else
   19939       rm -f "$ac_file"
   19940       mv "$ac_tmp/config.h" "$ac_file" \
   19941 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19942     fi
   19943   else
   19944     $as_echo "/* $configure_input  */" \
   19945       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   19946       || as_fn_error $? "could not create -" "$LINENO" 5
   19947   fi
   19948 # Compute "$ac_file"'s index in $config_headers.
   19949 _am_arg="$ac_file"
   19950 _am_stamp_count=1
   19951 for _am_header in $config_headers :; do
   19952   case $_am_header in
   19953     $_am_arg | $_am_arg:* )
   19954       break ;;
   19955     * )
   19956       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   19957   esac
   19958 done
   19959 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   19960 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19961 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   19962 	 X"$_am_arg" : 'X\(//\)$' \| \
   19963 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   19964 $as_echo X"$_am_arg" |
   19965     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19966 	    s//\1/
   19967 	    q
   19968 	  }
   19969 	  /^X\(\/\/\)[^/].*/{
   19970 	    s//\1/
   19971 	    q
   19972 	  }
   19973 	  /^X\(\/\/\)$/{
   19974 	    s//\1/
   19975 	    q
   19976 	  }
   19977 	  /^X\(\/\).*/{
   19978 	    s//\1/
   19979 	    q
   19980 	  }
   19981 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   19982  ;;
   19983 
   19984   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   19985 $as_echo "$as_me: executing $ac_file commands" >&6;}
   19986  ;;
   19987   esac
   19988 
   19989 
   19990   case $ac_file$ac_mode in
   19991     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   19992   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   19993   # are listed without --file.  Let's play safe and only enable the eval
   19994   # if we detect the quoting.
   19995   case $CONFIG_FILES in
   19996   *\'*) eval set x "$CONFIG_FILES" ;;
   19997   *)   set x $CONFIG_FILES ;;
   19998   esac
   19999   shift
   20000   for mf
   20001   do
   20002     # Strip MF so we end up with the name of the file.
   20003     mf=`echo "$mf" | sed -e 's/:.*$//'`
   20004     # Check whether this is an Automake generated Makefile or not.
   20005     # We used to match only the files named `Makefile.in', but
   20006     # some people rename them; so instead we look at the file content.
   20007     # Grep'ing the first line is not enough: some people post-process
   20008     # each Makefile.in and add a new line on top of each file to say so.
   20009     # Grep'ing the whole file is not good either: AIX grep has a line
   20010     # limit of 2048, but all sed's we know have understand at least 4000.
   20011     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   20012       dirpart=`$as_dirname -- "$mf" ||
   20013 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20014 	 X"$mf" : 'X\(//\)[^/]' \| \
   20015 	 X"$mf" : 'X\(//\)$' \| \
   20016 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   20017 $as_echo X"$mf" |
   20018     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20019 	    s//\1/
   20020 	    q
   20021 	  }
   20022 	  /^X\(\/\/\)[^/].*/{
   20023 	    s//\1/
   20024 	    q
   20025 	  }
   20026 	  /^X\(\/\/\)$/{
   20027 	    s//\1/
   20028 	    q
   20029 	  }
   20030 	  /^X\(\/\).*/{
   20031 	    s//\1/
   20032 	    q
   20033 	  }
   20034 	  s/.*/./; q'`
   20035     else
   20036       continue
   20037     fi
   20038     # Extract the definition of DEPDIR, am__include, and am__quote
   20039     # from the Makefile without running `make'.
   20040     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   20041     test -z "$DEPDIR" && continue
   20042     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   20043     test -z "am__include" && continue
   20044     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   20045     # When using ansi2knr, U may be empty or an underscore; expand it
   20046     U=`sed -n 's/^U = //p' < "$mf"`
   20047     # Find all dependency output files, they are included files with
   20048     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   20049     # simplest approach to changing $(DEPDIR) to its actual value in the
   20050     # expansion.
   20051     for file in `sed -n "
   20052       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   20053 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   20054       # Make sure the directory exists.
   20055       test -f "$dirpart/$file" && continue
   20056       fdir=`$as_dirname -- "$file" ||
   20057 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20058 	 X"$file" : 'X\(//\)[^/]' \| \
   20059 	 X"$file" : 'X\(//\)$' \| \
   20060 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   20061 $as_echo X"$file" |
   20062     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20063 	    s//\1/
   20064 	    q
   20065 	  }
   20066 	  /^X\(\/\/\)[^/].*/{
   20067 	    s//\1/
   20068 	    q
   20069 	  }
   20070 	  /^X\(\/\/\)$/{
   20071 	    s//\1/
   20072 	    q
   20073 	  }
   20074 	  /^X\(\/\).*/{
   20075 	    s//\1/
   20076 	    q
   20077 	  }
   20078 	  s/.*/./; q'`
   20079       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   20080       # echo "creating $dirpart/$file"
   20081       echo '# dummy' > "$dirpart/$file"
   20082     done
   20083   done
   20084 }
   20085  ;;
   20086     "libtool":C)
   20087 
   20088     # See if we are running on zsh, and set the options which allow our
   20089     # commands through without removal of \ escapes.
   20090     if test -n "${ZSH_VERSION+set}" ; then
   20091       setopt NO_GLOB_SUBST
   20092     fi
   20093 
   20094     cfgfile="${ofile}T"
   20095     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   20096     $RM "$cfgfile"
   20097 
   20098     cat <<_LT_EOF >> "$cfgfile"
   20099 #! $SHELL
   20100 
   20101 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   20102 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   20103 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   20104 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   20105 #
   20106 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   20107 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
   20108 #                 Foundation, Inc.
   20109 #   Written by Gordon Matzigkeit, 1996
   20110 #
   20111 #   This file is part of GNU Libtool.
   20112 #
   20113 # GNU Libtool is free software; you can redistribute it and/or
   20114 # modify it under the terms of the GNU General Public License as
   20115 # published by the Free Software Foundation; either version 2 of
   20116 # the License, or (at your option) any later version.
   20117 #
   20118 # As a special exception to the GNU General Public License,
   20119 # if you distribute this file as part of a program or library that
   20120 # is built using GNU Libtool, you may include this file under the
   20121 # same distribution terms that you use for the rest of that program.
   20122 #
   20123 # GNU Libtool is distributed in the hope that it will be useful,
   20124 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   20125 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   20126 # GNU General Public License for more details.
   20127 #
   20128 # You should have received a copy of the GNU General Public License
   20129 # along with GNU Libtool; see the file COPYING.  If not, a copy
   20130 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   20131 # obtained by writing to the Free Software Foundation, Inc.,
   20132 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   20133 
   20134 
   20135 # The names of the tagged configurations supported by this script.
   20136 available_tags=""
   20137 
   20138 # ### BEGIN LIBTOOL CONFIG
   20139 
   20140 # Whether or not to build static libraries.
   20141 build_old_libs=$enable_static
   20142 
   20143 # Which release of libtool.m4 was used?
   20144 macro_version=$macro_version
   20145 macro_revision=$macro_revision
   20146 
   20147 # Whether or not to build shared libraries.
   20148 build_libtool_libs=$enable_shared
   20149 
   20150 # What type of objects to build.
   20151 pic_mode=$pic_mode
   20152 
   20153 # Whether or not to optimize for fast installation.
   20154 fast_install=$enable_fast_install
   20155 
   20156 # Shell to use when invoking shell scripts.
   20157 SHELL=$lt_SHELL
   20158 
   20159 # An echo program that protects backslashes.
   20160 ECHO=$lt_ECHO
   20161 
   20162 # The PATH separator for the build system.
   20163 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   20164 
   20165 # The host system.
   20166 host_alias=$host_alias
   20167 host=$host
   20168 host_os=$host_os
   20169 
   20170 # The build system.
   20171 build_alias=$build_alias
   20172 build=$build
   20173 build_os=$build_os
   20174 
   20175 # A sed program that does not truncate output.
   20176 SED=$lt_SED
   20177 
   20178 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   20179 Xsed="\$SED -e 1s/^X//"
   20180 
   20181 # A grep program that handles long lines.
   20182 GREP=$lt_GREP
   20183 
   20184 # An ERE matcher.
   20185 EGREP=$lt_EGREP
   20186 
   20187 # A literal string matcher.
   20188 FGREP=$lt_FGREP
   20189 
   20190 # A BSD- or MS-compatible name lister.
   20191 NM=$lt_NM
   20192 
   20193 # Whether we need soft or hard links.
   20194 LN_S=$lt_LN_S
   20195 
   20196 # What is the maximum length of a command?
   20197 max_cmd_len=$max_cmd_len
   20198 
   20199 # Object file suffix (normally "o").
   20200 objext=$ac_objext
   20201 
   20202 # Executable file suffix (normally "").
   20203 exeext=$exeext
   20204 
   20205 # whether the shell understands "unset".
   20206 lt_unset=$lt_unset
   20207 
   20208 # turn spaces into newlines.
   20209 SP2NL=$lt_lt_SP2NL
   20210 
   20211 # turn newlines into spaces.
   20212 NL2SP=$lt_lt_NL2SP
   20213 
   20214 # convert \$build file names to \$host format.
   20215 to_host_file_cmd=$lt_cv_to_host_file_cmd
   20216 
   20217 # convert \$build files to toolchain format.
   20218 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   20219 
   20220 # An object symbol dumper.
   20221 OBJDUMP=$lt_OBJDUMP
   20222 
   20223 # Method to check whether dependent libraries are shared objects.
   20224 deplibs_check_method=$lt_deplibs_check_method
   20225 
   20226 # Command to use when deplibs_check_method = "file_magic".
   20227 file_magic_cmd=$lt_file_magic_cmd
   20228 
   20229 # How to find potential files when deplibs_check_method = "file_magic".
   20230 file_magic_glob=$lt_file_magic_glob
   20231 
   20232 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   20233 want_nocaseglob=$lt_want_nocaseglob
   20234 
   20235 # DLL creation program.
   20236 DLLTOOL=$lt_DLLTOOL
   20237 
   20238 # Command to associate shared and link libraries.
   20239 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   20240 
   20241 # The archiver.
   20242 AR=$lt_AR
   20243 
   20244 # Flags to create an archive.
   20245 AR_FLAGS=$lt_AR_FLAGS
   20246 
   20247 # How to feed a file listing to the archiver.
   20248 archiver_list_spec=$lt_archiver_list_spec
   20249 
   20250 # A symbol stripping program.
   20251 STRIP=$lt_STRIP
   20252 
   20253 # Commands used to install an old-style archive.
   20254 RANLIB=$lt_RANLIB
   20255 old_postinstall_cmds=$lt_old_postinstall_cmds
   20256 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   20257 
   20258 # Whether to use a lock for old archive extraction.
   20259 lock_old_archive_extraction=$lock_old_archive_extraction
   20260 
   20261 # A C compiler.
   20262 LTCC=$lt_CC
   20263 
   20264 # LTCC compiler flags.
   20265 LTCFLAGS=$lt_CFLAGS
   20266 
   20267 # Take the output of nm and produce a listing of raw symbols and C names.
   20268 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   20269 
   20270 # Transform the output of nm in a proper C declaration.
   20271 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   20272 
   20273 # Transform the output of nm in a C name address pair.
   20274 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   20275 
   20276 # Transform the output of nm in a C name address pair when lib prefix is needed.
   20277 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   20278 
   20279 # Specify filename containing input files for \$NM.
   20280 nm_file_list_spec=$lt_nm_file_list_spec
   20281 
   20282 # The root where to search for dependent libraries,and in which our libraries should be installed.
   20283 lt_sysroot=$lt_sysroot
   20284 
   20285 # The name of the directory that contains temporary libtool files.
   20286 objdir=$objdir
   20287 
   20288 # Used to examine libraries when file_magic_cmd begins with "file".
   20289 MAGIC_CMD=$MAGIC_CMD
   20290 
   20291 # Must we lock files when doing compilation?
   20292 need_locks=$lt_need_locks
   20293 
   20294 # Manifest tool.
   20295 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   20296 
   20297 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   20298 DSYMUTIL=$lt_DSYMUTIL
   20299 
   20300 # Tool to change global to local symbols on Mac OS X.
   20301 NMEDIT=$lt_NMEDIT
   20302 
   20303 # Tool to manipulate fat objects and archives on Mac OS X.
   20304 LIPO=$lt_LIPO
   20305 
   20306 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   20307 OTOOL=$lt_OTOOL
   20308 
   20309 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   20310 OTOOL64=$lt_OTOOL64
   20311 
   20312 # Old archive suffix (normally "a").
   20313 libext=$libext
   20314 
   20315 # Shared library suffix (normally ".so").
   20316 shrext_cmds=$lt_shrext_cmds
   20317 
   20318 # The commands to extract the exported symbol list from a shared archive.
   20319 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   20320 
   20321 # Variables whose values should be saved in libtool wrapper scripts and
   20322 # restored at link time.
   20323 variables_saved_for_relink=$lt_variables_saved_for_relink
   20324 
   20325 # Do we need the "lib" prefix for modules?
   20326 need_lib_prefix=$need_lib_prefix
   20327 
   20328 # Do we need a version for libraries?
   20329 need_version=$need_version
   20330 
   20331 # Library versioning type.
   20332 version_type=$version_type
   20333 
   20334 # Shared library runtime path variable.
   20335 runpath_var=$runpath_var
   20336 
   20337 # Shared library path variable.
   20338 shlibpath_var=$shlibpath_var
   20339 
   20340 # Is shlibpath searched before the hard-coded library search path?
   20341 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   20342 
   20343 # Format of library name prefix.
   20344 libname_spec=$lt_libname_spec
   20345 
   20346 # List of archive names.  First name is the real one, the rest are links.
   20347 # The last name is the one that the linker finds with -lNAME
   20348 library_names_spec=$lt_library_names_spec
   20349 
   20350 # The coded name of the library, if different from the real name.
   20351 soname_spec=$lt_soname_spec
   20352 
   20353 # Permission mode override for installation of shared libraries.
   20354 install_override_mode=$lt_install_override_mode
   20355 
   20356 # Command to use after installation of a shared archive.
   20357 postinstall_cmds=$lt_postinstall_cmds
   20358 
   20359 # Command to use after uninstallation of a shared archive.
   20360 postuninstall_cmds=$lt_postuninstall_cmds
   20361 
   20362 # Commands used to finish a libtool library installation in a directory.
   20363 finish_cmds=$lt_finish_cmds
   20364 
   20365 # As "finish_cmds", except a single script fragment to be evaled but
   20366 # not shown.
   20367 finish_eval=$lt_finish_eval
   20368 
   20369 # Whether we should hardcode library paths into libraries.
   20370 hardcode_into_libs=$hardcode_into_libs
   20371 
   20372 # Compile-time system search path for libraries.
   20373 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   20374 
   20375 # Run-time system search path for libraries.
   20376 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   20377 
   20378 # Whether dlopen is supported.
   20379 dlopen_support=$enable_dlopen
   20380 
   20381 # Whether dlopen of programs is supported.
   20382 dlopen_self=$enable_dlopen_self
   20383 
   20384 # Whether dlopen of statically linked programs is supported.
   20385 dlopen_self_static=$enable_dlopen_self_static
   20386 
   20387 # Commands to strip libraries.
   20388 old_striplib=$lt_old_striplib
   20389 striplib=$lt_striplib
   20390 
   20391 
   20392 # The linker used to build libraries.
   20393 LD=$lt_LD
   20394 
   20395 # How to create reloadable object files.
   20396 reload_flag=$lt_reload_flag
   20397 reload_cmds=$lt_reload_cmds
   20398 
   20399 # Commands used to build an old-style archive.
   20400 old_archive_cmds=$lt_old_archive_cmds
   20401 
   20402 # A language specific compiler.
   20403 CC=$lt_compiler
   20404 
   20405 # Is the compiler the GNU compiler?
   20406 with_gcc=$GCC
   20407 
   20408 # Compiler flag to turn off builtin functions.
   20409 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   20410 
   20411 # Additional compiler flags for building library objects.
   20412 pic_flag=$lt_lt_prog_compiler_pic
   20413 
   20414 # How to pass a linker flag through the compiler.
   20415 wl=$lt_lt_prog_compiler_wl
   20416 
   20417 # Compiler flag to prevent dynamic linking.
   20418 link_static_flag=$lt_lt_prog_compiler_static
   20419 
   20420 # Does compiler simultaneously support -c and -o options?
   20421 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   20422 
   20423 # Whether or not to add -lc for building shared libraries.
   20424 build_libtool_need_lc=$archive_cmds_need_lc
   20425 
   20426 # Whether or not to disallow shared libs when runtime libs are static.
   20427 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   20428 
   20429 # Compiler flag to allow reflexive dlopens.
   20430 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   20431 
   20432 # Compiler flag to generate shared objects directly from archives.
   20433 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   20434 
   20435 # Whether the compiler copes with passing no objects directly.
   20436 compiler_needs_object=$lt_compiler_needs_object
   20437 
   20438 # Create an old-style archive from a shared archive.
   20439 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   20440 
   20441 # Create a temporary old-style archive to link instead of a shared archive.
   20442 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   20443 
   20444 # Commands used to build a shared archive.
   20445 archive_cmds=$lt_archive_cmds
   20446 archive_expsym_cmds=$lt_archive_expsym_cmds
   20447 
   20448 # Commands used to build a loadable module if different from building
   20449 # a shared archive.
   20450 module_cmds=$lt_module_cmds
   20451 module_expsym_cmds=$lt_module_expsym_cmds
   20452 
   20453 # Whether we are building with GNU ld or not.
   20454 with_gnu_ld=$lt_with_gnu_ld
   20455 
   20456 # Flag that allows shared libraries with undefined symbols to be built.
   20457 allow_undefined_flag=$lt_allow_undefined_flag
   20458 
   20459 # Flag that enforces no undefined symbols.
   20460 no_undefined_flag=$lt_no_undefined_flag
   20461 
   20462 # Flag to hardcode \$libdir into a binary during linking.
   20463 # This must work even if \$libdir does not exist
   20464 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   20465 
   20466 # Whether we need a single "-rpath" flag with a separated argument.
   20467 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   20468 
   20469 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   20470 # DIR into the resulting binary.
   20471 hardcode_direct=$hardcode_direct
   20472 
   20473 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   20474 # DIR into the resulting binary and the resulting library dependency is
   20475 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   20476 # library is relocated.
   20477 hardcode_direct_absolute=$hardcode_direct_absolute
   20478 
   20479 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   20480 # into the resulting binary.
   20481 hardcode_minus_L=$hardcode_minus_L
   20482 
   20483 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   20484 # into the resulting binary.
   20485 hardcode_shlibpath_var=$hardcode_shlibpath_var
   20486 
   20487 # Set to "yes" if building a shared library automatically hardcodes DIR
   20488 # into the library and all subsequent libraries and executables linked
   20489 # against it.
   20490 hardcode_automatic=$hardcode_automatic
   20491 
   20492 # Set to yes if linker adds runtime paths of dependent libraries
   20493 # to runtime path list.
   20494 inherit_rpath=$inherit_rpath
   20495 
   20496 # Whether libtool must link a program against all its dependency libraries.
   20497 link_all_deplibs=$link_all_deplibs
   20498 
   20499 # Set to "yes" if exported symbols are required.
   20500 always_export_symbols=$always_export_symbols
   20501 
   20502 # The commands to list exported symbols.
   20503 export_symbols_cmds=$lt_export_symbols_cmds
   20504 
   20505 # Symbols that should not be listed in the preloaded symbols.
   20506 exclude_expsyms=$lt_exclude_expsyms
   20507 
   20508 # Symbols that must always be exported.
   20509 include_expsyms=$lt_include_expsyms
   20510 
   20511 # Commands necessary for linking programs (against libraries) with templates.
   20512 prelink_cmds=$lt_prelink_cmds
   20513 
   20514 # Commands necessary for finishing linking programs.
   20515 postlink_cmds=$lt_postlink_cmds
   20516 
   20517 # Specify filename containing input files.
   20518 file_list_spec=$lt_file_list_spec
   20519 
   20520 # How to hardcode a shared library path into an executable.
   20521 hardcode_action=$hardcode_action
   20522 
   20523 # ### END LIBTOOL CONFIG
   20524 
   20525 _LT_EOF
   20526 
   20527   case $host_os in
   20528   aix3*)
   20529     cat <<\_LT_EOF >> "$cfgfile"
   20530 # AIX sometimes has problems with the GCC collect2 program.  For some
   20531 # reason, if we set the COLLECT_NAMES environment variable, the problems
   20532 # vanish in a puff of smoke.
   20533 if test "X${COLLECT_NAMES+set}" != Xset; then
   20534   COLLECT_NAMES=
   20535   export COLLECT_NAMES
   20536 fi
   20537 _LT_EOF
   20538     ;;
   20539   esac
   20540 
   20541 
   20542 ltmain="$ac_aux_dir/ltmain.sh"
   20543 
   20544 
   20545   # We use sed instead of cat because bash on DJGPP gets confused if
   20546   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   20547   # text mode, it properly converts lines to CR/LF.  This bash problem
   20548   # is reportedly fixed, but why not run on old versions too?
   20549   sed '$q' "$ltmain" >> "$cfgfile" \
   20550      || (rm -f "$cfgfile"; exit 1)
   20551 
   20552   if test x"$xsi_shell" = xyes; then
   20553   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
   20554 func_dirname ()\
   20555 {\
   20556 \    case ${1} in\
   20557 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   20558 \      *  ) func_dirname_result="${3}" ;;\
   20559 \    esac\
   20560 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
   20561   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20562     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20563 test 0 -eq $? || _lt_function_replace_fail=:
   20564 
   20565 
   20566   sed -e '/^func_basename ()$/,/^} # func_basename /c\
   20567 func_basename ()\
   20568 {\
   20569 \    func_basename_result="${1##*/}"\
   20570 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
   20571   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20572     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20573 test 0 -eq $? || _lt_function_replace_fail=:
   20574 
   20575 
   20576   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
   20577 func_dirname_and_basename ()\
   20578 {\
   20579 \    case ${1} in\
   20580 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   20581 \      *  ) func_dirname_result="${3}" ;;\
   20582 \    esac\
   20583 \    func_basename_result="${1##*/}"\
   20584 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
   20585   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20586     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20587 test 0 -eq $? || _lt_function_replace_fail=:
   20588 
   20589 
   20590   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
   20591 func_stripname ()\
   20592 {\
   20593 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
   20594 \    # positional parameters, so assign one to ordinary parameter first.\
   20595 \    func_stripname_result=${3}\
   20596 \    func_stripname_result=${func_stripname_result#"${1}"}\
   20597 \    func_stripname_result=${func_stripname_result%"${2}"}\
   20598 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
   20599   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20600     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20601 test 0 -eq $? || _lt_function_replace_fail=:
   20602 
   20603 
   20604   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
   20605 func_split_long_opt ()\
   20606 {\
   20607 \    func_split_long_opt_name=${1%%=*}\
   20608 \    func_split_long_opt_arg=${1#*=}\
   20609 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
   20610   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20611     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20612 test 0 -eq $? || _lt_function_replace_fail=:
   20613 
   20614 
   20615   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
   20616 func_split_short_opt ()\
   20617 {\
   20618 \    func_split_short_opt_arg=${1#??}\
   20619 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
   20620 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
   20621   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20622     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20623 test 0 -eq $? || _lt_function_replace_fail=:
   20624 
   20625 
   20626   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
   20627 func_lo2o ()\
   20628 {\
   20629 \    case ${1} in\
   20630 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
   20631 \      *)    func_lo2o_result=${1} ;;\
   20632 \    esac\
   20633 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
   20634   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20635     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20636 test 0 -eq $? || _lt_function_replace_fail=:
   20637 
   20638 
   20639   sed -e '/^func_xform ()$/,/^} # func_xform /c\
   20640 func_xform ()\
   20641 {\
   20642     func_xform_result=${1%.*}.lo\
   20643 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
   20644   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20645     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20646 test 0 -eq $? || _lt_function_replace_fail=:
   20647 
   20648 
   20649   sed -e '/^func_arith ()$/,/^} # func_arith /c\
   20650 func_arith ()\
   20651 {\
   20652     func_arith_result=$(( $* ))\
   20653 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
   20654   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20655     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20656 test 0 -eq $? || _lt_function_replace_fail=:
   20657 
   20658 
   20659   sed -e '/^func_len ()$/,/^} # func_len /c\
   20660 func_len ()\
   20661 {\
   20662     func_len_result=${#1}\
   20663 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
   20664   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20665     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20666 test 0 -eq $? || _lt_function_replace_fail=:
   20667 
   20668 fi
   20669 
   20670 if test x"$lt_shell_append" = xyes; then
   20671   sed -e '/^func_append ()$/,/^} # func_append /c\
   20672 func_append ()\
   20673 {\
   20674     eval "${1}+=\\${2}"\
   20675 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
   20676   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20677     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20678 test 0 -eq $? || _lt_function_replace_fail=:
   20679 
   20680 
   20681   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
   20682 func_append_quoted ()\
   20683 {\
   20684 \    func_quote_for_eval "${2}"\
   20685 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
   20686 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
   20687   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20688     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20689 test 0 -eq $? || _lt_function_replace_fail=:
   20690 
   20691 
   20692   # Save a `func_append' function call where possible by direct use of '+='
   20693   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
   20694     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20695       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20696   test 0 -eq $? || _lt_function_replace_fail=:
   20697 else
   20698   # Save a `func_append' function call even when '+=' is not available
   20699   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
   20700     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20701       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20702   test 0 -eq $? || _lt_function_replace_fail=:
   20703 fi
   20704 
   20705 if test x"$_lt_function_replace_fail" = x":"; then
   20706   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
   20707 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
   20708 fi
   20709 
   20710 
   20711    mv -f "$cfgfile" "$ofile" ||
   20712     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   20713   chmod +x "$ofile"
   20714 
   20715  ;;
   20716 
   20717   esac
   20718 done # for ac_tag
   20719 
   20720 
   20721 as_fn_exit 0
   20722 _ACEOF
   20723 ac_clean_files=$ac_clean_files_save
   20724 
   20725 test $ac_write_fail = 0 ||
   20726   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   20727 
   20728 
   20729 # configure is writing to config.log, and then calls config.status.
   20730 # config.status does its own redirection, appending to config.log.
   20731 # Unfortunately, on DOS this fails, as config.log is still kept open
   20732 # by configure, so config.status won't be able to write to it; its
   20733 # output is simply discarded.  So we exec the FD to /dev/null,
   20734 # effectively closing config.log, so it can be properly (re)opened and
   20735 # appended to by config.status.  When coming back to configure, we
   20736 # need to make the FD available again.
   20737 if test "$no_create" != yes; then
   20738   ac_cs_success=:
   20739   ac_config_status_args=
   20740   test "$silent" = yes &&
   20741     ac_config_status_args="$ac_config_status_args --quiet"
   20742   exec 5>/dev/null
   20743   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   20744   exec 5>>config.log
   20745   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   20746   # would make configure fail if this is the last instruction.
   20747   $ac_cs_success || as_fn_exit 1
   20748 fi
   20749 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   20750   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   20751 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   20752 fi
   20753 
   20754