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-s3virge 1.10.6.
      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-s3virge'
    573 PACKAGE_TARNAME='xf86-video-s3virge'
    574 PACKAGE_VERSION='1.10.6'
    575 PACKAGE_STRING='xf86-video-s3virge 1.10.6'
    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 HAVE_XEXTPROTO_71_FALSE
    629 HAVE_XEXTPROTO_71_TRUE
    630 XEXT_LIBS
    631 XEXT_CFLAGS
    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_xaa
    788 '
    789       ac_precious_vars='build_alias
    790 host_alias
    791 target_alias
    792 CC
    793 CFLAGS
    794 LDFLAGS
    795 LIBS
    796 CPPFLAGS
    797 CPP
    798 PKG_CONFIG
    799 PKG_CONFIG_PATH
    800 PKG_CONFIG_LIBDIR
    801 XORG_CFLAGS
    802 XORG_LIBS
    803 XEXT_CFLAGS
    804 XEXT_LIBS
    805 PCIACCESS_CFLAGS
    806 PCIACCESS_LIBS'
    807 
    808 
    809 # Initialize some variables set by options.
    810 ac_init_help=
    811 ac_init_version=false
    812 ac_unrecognized_opts=
    813 ac_unrecognized_sep=
    814 # The variables have the same names as the options, with
    815 # dashes changed to underlines.
    816 cache_file=/dev/null
    817 exec_prefix=NONE
    818 no_create=
    819 no_recursion=
    820 prefix=NONE
    821 program_prefix=NONE
    822 program_suffix=NONE
    823 program_transform_name=s,x,x,
    824 silent=
    825 site=
    826 srcdir=
    827 verbose=
    828 x_includes=NONE
    829 x_libraries=NONE
    830 
    831 # Installation directory options.
    832 # These are left unexpanded so users can "make install exec_prefix=/foo"
    833 # and all the variables that are supposed to be based on exec_prefix
    834 # by default will actually change.
    835 # Use braces instead of parens because sh, perl, etc. also accept them.
    836 # (The list follows the same order as the GNU Coding Standards.)
    837 bindir='${exec_prefix}/bin'
    838 sbindir='${exec_prefix}/sbin'
    839 libexecdir='${exec_prefix}/libexec'
    840 datarootdir='${prefix}/share'
    841 datadir='${datarootdir}'
    842 sysconfdir='${prefix}/etc'
    843 sharedstatedir='${prefix}/com'
    844 localstatedir='${prefix}/var'
    845 includedir='${prefix}/include'
    846 oldincludedir='/usr/include'
    847 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    848 infodir='${datarootdir}/info'
    849 htmldir='${docdir}'
    850 dvidir='${docdir}'
    851 pdfdir='${docdir}'
    852 psdir='${docdir}'
    853 libdir='${exec_prefix}/lib'
    854 localedir='${datarootdir}/locale'
    855 mandir='${datarootdir}/man'
    856 
    857 ac_prev=
    858 ac_dashdash=
    859 for ac_option
    860 do
    861   # If the previous option needs an argument, assign it.
    862   if test -n "$ac_prev"; then
    863     eval $ac_prev=\$ac_option
    864     ac_prev=
    865     continue
    866   fi
    867 
    868   case $ac_option in
    869   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    870   *=)   ac_optarg= ;;
    871   *)    ac_optarg=yes ;;
    872   esac
    873 
    874   # Accept the important Cygnus configure options, so we can diagnose typos.
    875 
    876   case $ac_dashdash$ac_option in
    877   --)
    878     ac_dashdash=yes ;;
    879 
    880   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    881     ac_prev=bindir ;;
    882   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    883     bindir=$ac_optarg ;;
    884 
    885   -build | --build | --buil | --bui | --bu)
    886     ac_prev=build_alias ;;
    887   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    888     build_alias=$ac_optarg ;;
    889 
    890   -cache-file | --cache-file | --cache-fil | --cache-fi \
    891   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    892     ac_prev=cache_file ;;
    893   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    894   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    895     cache_file=$ac_optarg ;;
    896 
    897   --config-cache | -C)
    898     cache_file=config.cache ;;
    899 
    900   -datadir | --datadir | --datadi | --datad)
    901     ac_prev=datadir ;;
    902   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    903     datadir=$ac_optarg ;;
    904 
    905   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    906   | --dataroo | --dataro | --datar)
    907     ac_prev=datarootdir ;;
    908   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    909   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    910     datarootdir=$ac_optarg ;;
    911 
    912   -disable-* | --disable-*)
    913     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    914     # Reject names that are not valid shell variable names.
    915     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    916       as_fn_error $? "invalid feature name: $ac_useropt"
    917     ac_useropt_orig=$ac_useropt
    918     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    919     case $ac_user_opts in
    920       *"
    921 "enable_$ac_useropt"
    922 "*) ;;
    923       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    924 	 ac_unrecognized_sep=', ';;
    925     esac
    926     eval enable_$ac_useropt=no ;;
    927 
    928   -docdir | --docdir | --docdi | --doc | --do)
    929     ac_prev=docdir ;;
    930   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    931     docdir=$ac_optarg ;;
    932 
    933   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    934     ac_prev=dvidir ;;
    935   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    936     dvidir=$ac_optarg ;;
    937 
    938   -enable-* | --enable-*)
    939     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    940     # Reject names that are not valid shell variable names.
    941     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    942       as_fn_error $? "invalid feature name: $ac_useropt"
    943     ac_useropt_orig=$ac_useropt
    944     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    945     case $ac_user_opts in
    946       *"
    947 "enable_$ac_useropt"
    948 "*) ;;
    949       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    950 	 ac_unrecognized_sep=', ';;
    951     esac
    952     eval enable_$ac_useropt=\$ac_optarg ;;
    953 
    954   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    955   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    956   | --exec | --exe | --ex)
    957     ac_prev=exec_prefix ;;
    958   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    959   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    960   | --exec=* | --exe=* | --ex=*)
    961     exec_prefix=$ac_optarg ;;
    962 
    963   -gas | --gas | --ga | --g)
    964     # Obsolete; use --with-gas.
    965     with_gas=yes ;;
    966 
    967   -help | --help | --hel | --he | -h)
    968     ac_init_help=long ;;
    969   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    970     ac_init_help=recursive ;;
    971   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    972     ac_init_help=short ;;
    973 
    974   -host | --host | --hos | --ho)
    975     ac_prev=host_alias ;;
    976   -host=* | --host=* | --hos=* | --ho=*)
    977     host_alias=$ac_optarg ;;
    978 
    979   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    980     ac_prev=htmldir ;;
    981   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    982   | --ht=*)
    983     htmldir=$ac_optarg ;;
    984 
    985   -includedir | --includedir | --includedi | --included | --include \
    986   | --includ | --inclu | --incl | --inc)
    987     ac_prev=includedir ;;
    988   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    989   | --includ=* | --inclu=* | --incl=* | --inc=*)
    990     includedir=$ac_optarg ;;
    991 
    992   -infodir | --infodir | --infodi | --infod | --info | --inf)
    993     ac_prev=infodir ;;
    994   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    995     infodir=$ac_optarg ;;
    996 
    997   -libdir | --libdir | --libdi | --libd)
    998     ac_prev=libdir ;;
    999   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1000     libdir=$ac_optarg ;;
   1001 
   1002   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1003   | --libexe | --libex | --libe)
   1004     ac_prev=libexecdir ;;
   1005   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1006   | --libexe=* | --libex=* | --libe=*)
   1007     libexecdir=$ac_optarg ;;
   1008 
   1009   -localedir | --localedir | --localedi | --localed | --locale)
   1010     ac_prev=localedir ;;
   1011   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1012     localedir=$ac_optarg ;;
   1013 
   1014   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1015   | --localstate | --localstat | --localsta | --localst | --locals)
   1016     ac_prev=localstatedir ;;
   1017   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1018   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1019     localstatedir=$ac_optarg ;;
   1020 
   1021   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1022     ac_prev=mandir ;;
   1023   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1024     mandir=$ac_optarg ;;
   1025 
   1026   -nfp | --nfp | --nf)
   1027     # Obsolete; use --without-fp.
   1028     with_fp=no ;;
   1029 
   1030   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1031   | --no-cr | --no-c | -n)
   1032     no_create=yes ;;
   1033 
   1034   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1035   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1036     no_recursion=yes ;;
   1037 
   1038   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1039   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1040   | --oldin | --oldi | --old | --ol | --o)
   1041     ac_prev=oldincludedir ;;
   1042   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1043   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1044   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1045     oldincludedir=$ac_optarg ;;
   1046 
   1047   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1048     ac_prev=prefix ;;
   1049   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1050     prefix=$ac_optarg ;;
   1051 
   1052   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1053   | --program-pre | --program-pr | --program-p)
   1054     ac_prev=program_prefix ;;
   1055   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1056   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1057     program_prefix=$ac_optarg ;;
   1058 
   1059   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1060   | --program-suf | --program-su | --program-s)
   1061     ac_prev=program_suffix ;;
   1062   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1063   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1064     program_suffix=$ac_optarg ;;
   1065 
   1066   -program-transform-name | --program-transform-name \
   1067   | --program-transform-nam | --program-transform-na \
   1068   | --program-transform-n | --program-transform- \
   1069   | --program-transform | --program-transfor \
   1070   | --program-transfo | --program-transf \
   1071   | --program-trans | --program-tran \
   1072   | --progr-tra | --program-tr | --program-t)
   1073     ac_prev=program_transform_name ;;
   1074   -program-transform-name=* | --program-transform-name=* \
   1075   | --program-transform-nam=* | --program-transform-na=* \
   1076   | --program-transform-n=* | --program-transform-=* \
   1077   | --program-transform=* | --program-transfor=* \
   1078   | --program-transfo=* | --program-transf=* \
   1079   | --program-trans=* | --program-tran=* \
   1080   | --progr-tra=* | --program-tr=* | --program-t=*)
   1081     program_transform_name=$ac_optarg ;;
   1082 
   1083   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1084     ac_prev=pdfdir ;;
   1085   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1086     pdfdir=$ac_optarg ;;
   1087 
   1088   -psdir | --psdir | --psdi | --psd | --ps)
   1089     ac_prev=psdir ;;
   1090   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1091     psdir=$ac_optarg ;;
   1092 
   1093   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1094   | -silent | --silent | --silen | --sile | --sil)
   1095     silent=yes ;;
   1096 
   1097   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1098     ac_prev=sbindir ;;
   1099   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1100   | --sbi=* | --sb=*)
   1101     sbindir=$ac_optarg ;;
   1102 
   1103   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1104   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1105   | --sharedst | --shareds | --shared | --share | --shar \
   1106   | --sha | --sh)
   1107     ac_prev=sharedstatedir ;;
   1108   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1109   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1110   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1111   | --sha=* | --sh=*)
   1112     sharedstatedir=$ac_optarg ;;
   1113 
   1114   -site | --site | --sit)
   1115     ac_prev=site ;;
   1116   -site=* | --site=* | --sit=*)
   1117     site=$ac_optarg ;;
   1118 
   1119   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1120     ac_prev=srcdir ;;
   1121   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1122     srcdir=$ac_optarg ;;
   1123 
   1124   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1125   | --syscon | --sysco | --sysc | --sys | --sy)
   1126     ac_prev=sysconfdir ;;
   1127   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1128   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1129     sysconfdir=$ac_optarg ;;
   1130 
   1131   -target | --target | --targe | --targ | --tar | --ta | --t)
   1132     ac_prev=target_alias ;;
   1133   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1134     target_alias=$ac_optarg ;;
   1135 
   1136   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1137     verbose=yes ;;
   1138 
   1139   -version | --version | --versio | --versi | --vers | -V)
   1140     ac_init_version=: ;;
   1141 
   1142   -with-* | --with-*)
   1143     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1144     # Reject names that are not valid shell variable names.
   1145     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1146       as_fn_error $? "invalid package name: $ac_useropt"
   1147     ac_useropt_orig=$ac_useropt
   1148     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1149     case $ac_user_opts in
   1150       *"
   1151 "with_$ac_useropt"
   1152 "*) ;;
   1153       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1154 	 ac_unrecognized_sep=', ';;
   1155     esac
   1156     eval with_$ac_useropt=\$ac_optarg ;;
   1157 
   1158   -without-* | --without-*)
   1159     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1160     # Reject names that are not valid shell variable names.
   1161     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1162       as_fn_error $? "invalid package name: $ac_useropt"
   1163     ac_useropt_orig=$ac_useropt
   1164     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1165     case $ac_user_opts in
   1166       *"
   1167 "with_$ac_useropt"
   1168 "*) ;;
   1169       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1170 	 ac_unrecognized_sep=', ';;
   1171     esac
   1172     eval with_$ac_useropt=no ;;
   1173 
   1174   --x)
   1175     # Obsolete; use --with-x.
   1176     with_x=yes ;;
   1177 
   1178   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1179   | --x-incl | --x-inc | --x-in | --x-i)
   1180     ac_prev=x_includes ;;
   1181   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1182   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1183     x_includes=$ac_optarg ;;
   1184 
   1185   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1186   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1187     ac_prev=x_libraries ;;
   1188   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1189   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1190     x_libraries=$ac_optarg ;;
   1191 
   1192   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1193 Try \`$0 --help' for more information"
   1194     ;;
   1195 
   1196   *=*)
   1197     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1198     # Reject names that are not valid shell variable names.
   1199     case $ac_envvar in #(
   1200       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1201       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1202     esac
   1203     eval $ac_envvar=\$ac_optarg
   1204     export $ac_envvar ;;
   1205 
   1206   *)
   1207     # FIXME: should be removed in autoconf 3.0.
   1208     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1209     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1210       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1211     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1212     ;;
   1213 
   1214   esac
   1215 done
   1216 
   1217 if test -n "$ac_prev"; then
   1218   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1219   as_fn_error $? "missing argument to $ac_option"
   1220 fi
   1221 
   1222 if test -n "$ac_unrecognized_opts"; then
   1223   case $enable_option_checking in
   1224     no) ;;
   1225     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1226     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1227   esac
   1228 fi
   1229 
   1230 # Check all directory arguments for consistency.
   1231 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1232 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1233 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1234 		libdir localedir mandir
   1235 do
   1236   eval ac_val=\$$ac_var
   1237   # Remove trailing slashes.
   1238   case $ac_val in
   1239     */ )
   1240       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1241       eval $ac_var=\$ac_val;;
   1242   esac
   1243   # Be sure to have absolute directory names.
   1244   case $ac_val in
   1245     [\\/$]* | ?:[\\/]* )  continue;;
   1246     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1247   esac
   1248   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1249 done
   1250 
   1251 # There might be people who depend on the old broken behavior: `$host'
   1252 # used to hold the argument of --host etc.
   1253 # FIXME: To remove some day.
   1254 build=$build_alias
   1255 host=$host_alias
   1256 target=$target_alias
   1257 
   1258 # FIXME: To remove some day.
   1259 if test "x$host_alias" != x; then
   1260   if test "x$build_alias" = x; then
   1261     cross_compiling=maybe
   1262     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1263     If a cross compiler is detected then cross compile mode will be used" >&2
   1264   elif test "x$build_alias" != "x$host_alias"; then
   1265     cross_compiling=yes
   1266   fi
   1267 fi
   1268 
   1269 ac_tool_prefix=
   1270 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1271 
   1272 test "$silent" = yes && exec 6>/dev/null
   1273 
   1274 
   1275 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1276 ac_ls_di=`ls -di .` &&
   1277 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1278   as_fn_error $? "working directory cannot be determined"
   1279 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1280   as_fn_error $? "pwd does not report name of working directory"
   1281 
   1282 
   1283 # Find the source files, if location was not specified.
   1284 if test -z "$srcdir"; then
   1285   ac_srcdir_defaulted=yes
   1286   # Try the directory containing this script, then the parent directory.
   1287   ac_confdir=`$as_dirname -- "$as_myself" ||
   1288 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1289 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1290 	 X"$as_myself" : 'X\(//\)$' \| \
   1291 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1292 $as_echo X"$as_myself" |
   1293     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1294 	    s//\1/
   1295 	    q
   1296 	  }
   1297 	  /^X\(\/\/\)[^/].*/{
   1298 	    s//\1/
   1299 	    q
   1300 	  }
   1301 	  /^X\(\/\/\)$/{
   1302 	    s//\1/
   1303 	    q
   1304 	  }
   1305 	  /^X\(\/\).*/{
   1306 	    s//\1/
   1307 	    q
   1308 	  }
   1309 	  s/.*/./; q'`
   1310   srcdir=$ac_confdir
   1311   if test ! -r "$srcdir/$ac_unique_file"; then
   1312     srcdir=..
   1313   fi
   1314 else
   1315   ac_srcdir_defaulted=no
   1316 fi
   1317 if test ! -r "$srcdir/$ac_unique_file"; then
   1318   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1319   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1320 fi
   1321 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1322 ac_abs_confdir=`(
   1323 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1324 	pwd)`
   1325 # When building in place, set srcdir=.
   1326 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1327   srcdir=.
   1328 fi
   1329 # Remove unnecessary trailing slashes from srcdir.
   1330 # Double slashes in file names in object file debugging info
   1331 # mess up M-x gdb in Emacs.
   1332 case $srcdir in
   1333 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1334 esac
   1335 for ac_var in $ac_precious_vars; do
   1336   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1337   eval ac_env_${ac_var}_value=\$${ac_var}
   1338   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1339   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1340 done
   1341 
   1342 #
   1343 # Report the --help message.
   1344 #
   1345 if test "$ac_init_help" = "long"; then
   1346   # Omit some internal or obsolete options to make the list less imposing.
   1347   # This message is too long to be a string in the A/UX 3.1 sh.
   1348   cat <<_ACEOF
   1349 \`configure' configures xf86-video-s3virge 1.10.6 to adapt to many kinds of systems.
   1350 
   1351 Usage: $0 [OPTION]... [VAR=VALUE]...
   1352 
   1353 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1354 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1355 
   1356 Defaults for the options are specified in brackets.
   1357 
   1358 Configuration:
   1359   -h, --help              display this help and exit
   1360       --help=short        display options specific to this package
   1361       --help=recursive    display the short help of all the included packages
   1362   -V, --version           display version information and exit
   1363   -q, --quiet, --silent   do not print \`checking ...' messages
   1364       --cache-file=FILE   cache test results in FILE [disabled]
   1365   -C, --config-cache      alias for \`--cache-file=config.cache'
   1366   -n, --no-create         do not create output files
   1367       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1368 
   1369 Installation directories:
   1370   --prefix=PREFIX         install architecture-independent files in PREFIX
   1371                           [$ac_default_prefix]
   1372   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1373                           [PREFIX]
   1374 
   1375 By default, \`make install' will install all the files in
   1376 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1377 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1378 for instance \`--prefix=\$HOME'.
   1379 
   1380 For better control, use the options below.
   1381 
   1382 Fine tuning of the installation directories:
   1383   --bindir=DIR            user executables [EPREFIX/bin]
   1384   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1385   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1386   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1387   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1388   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1389   --libdir=DIR            object code libraries [EPREFIX/lib]
   1390   --includedir=DIR        C header files [PREFIX/include]
   1391   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1392   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1393   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1394   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1395   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1396   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1397   --docdir=DIR            documentation root
   1398                           [DATAROOTDIR/doc/xf86-video-s3virge]
   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-s3virge 1.10.6:";;
   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   --enable-xaa            Enable legacy X Acceleration Architecture (XAA)
   1446                           [default=auto]
   1447 
   1448 Optional Packages:
   1449   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1450   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1451   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1452                           both]
   1453   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1454   --with-sysroot=DIR Search for dependent libraries within DIR
   1455                         (or the compiler's sysroot if not specified).
   1456   --with-xorg-module-dir=DIR
   1457                           Default xorg module directory
   1458                           [[default=$libdir/xorg/modules]]
   1459 
   1460 Some influential environment variables:
   1461   CC          C compiler command
   1462   CFLAGS      C compiler flags
   1463   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1464               nonstandard directory <lib dir>
   1465   LIBS        libraries to pass to the linker, e.g. -l<library>
   1466   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1467               you have headers in a nonstandard directory <include dir>
   1468   CPP         C preprocessor
   1469   PKG_CONFIG  path to pkg-config utility
   1470   PKG_CONFIG_PATH
   1471               directories to add to pkg-config's search path
   1472   PKG_CONFIG_LIBDIR
   1473               path overriding pkg-config's built-in search path
   1474   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1475   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1476   XEXT_CFLAGS C compiler flags for XEXT, overriding pkg-config
   1477   XEXT_LIBS   linker flags for XEXT, overriding pkg-config
   1478   PCIACCESS_CFLAGS
   1479               C compiler flags for PCIACCESS, overriding pkg-config
   1480   PCIACCESS_LIBS
   1481               linker flags for PCIACCESS, overriding pkg-config
   1482 
   1483 Use these variables to override the choices made by `configure' or to help
   1484 it to find libraries and programs with nonstandard names/locations.
   1485 
   1486 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1487 _ACEOF
   1488 ac_status=$?
   1489 fi
   1490 
   1491 if test "$ac_init_help" = "recursive"; then
   1492   # If there are subdirs, report their specific --help.
   1493   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1494     test -d "$ac_dir" ||
   1495       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1496       continue
   1497     ac_builddir=.
   1498 
   1499 case "$ac_dir" in
   1500 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1501 *)
   1502   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1503   # A ".." for each directory in $ac_dir_suffix.
   1504   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1505   case $ac_top_builddir_sub in
   1506   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1507   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1508   esac ;;
   1509 esac
   1510 ac_abs_top_builddir=$ac_pwd
   1511 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1512 # for backward compatibility:
   1513 ac_top_builddir=$ac_top_build_prefix
   1514 
   1515 case $srcdir in
   1516   .)  # We are building in place.
   1517     ac_srcdir=.
   1518     ac_top_srcdir=$ac_top_builddir_sub
   1519     ac_abs_top_srcdir=$ac_pwd ;;
   1520   [\\/]* | ?:[\\/]* )  # Absolute name.
   1521     ac_srcdir=$srcdir$ac_dir_suffix;
   1522     ac_top_srcdir=$srcdir
   1523     ac_abs_top_srcdir=$srcdir ;;
   1524   *) # Relative name.
   1525     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1526     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1527     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1528 esac
   1529 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1530 
   1531     cd "$ac_dir" || { ac_status=$?; continue; }
   1532     # Check for guested configure.
   1533     if test -f "$ac_srcdir/configure.gnu"; then
   1534       echo &&
   1535       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1536     elif test -f "$ac_srcdir/configure"; then
   1537       echo &&
   1538       $SHELL "$ac_srcdir/configure" --help=recursive
   1539     else
   1540       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1541     fi || ac_status=$?
   1542     cd "$ac_pwd" || { ac_status=$?; break; }
   1543   done
   1544 fi
   1545 
   1546 test -n "$ac_init_help" && exit $ac_status
   1547 if $ac_init_version; then
   1548   cat <<\_ACEOF
   1549 xf86-video-s3virge configure 1.10.6
   1550 generated by GNU Autoconf 2.68
   1551 
   1552 Copyright (C) 2010 Free Software Foundation, Inc.
   1553 This configure script is free software; the Free Software Foundation
   1554 gives unlimited permission to copy, distribute and modify it.
   1555 _ACEOF
   1556   exit
   1557 fi
   1558 
   1559 ## ------------------------ ##
   1560 ## Autoconf initialization. ##
   1561 ## ------------------------ ##
   1562 
   1563 # ac_fn_c_try_compile LINENO
   1564 # --------------------------
   1565 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1566 ac_fn_c_try_compile ()
   1567 {
   1568   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1569   rm -f conftest.$ac_objext
   1570   if { { ac_try="$ac_compile"
   1571 case "(($ac_try" in
   1572   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1573   *) ac_try_echo=$ac_try;;
   1574 esac
   1575 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1576 $as_echo "$ac_try_echo"; } >&5
   1577   (eval "$ac_compile") 2>conftest.err
   1578   ac_status=$?
   1579   if test -s conftest.err; then
   1580     grep -v '^ *+' conftest.err >conftest.er1
   1581     cat conftest.er1 >&5
   1582     mv -f conftest.er1 conftest.err
   1583   fi
   1584   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1585   test $ac_status = 0; } && {
   1586 	 test -z "$ac_c_werror_flag" ||
   1587 	 test ! -s conftest.err
   1588        } && test -s conftest.$ac_objext; then :
   1589   ac_retval=0
   1590 else
   1591   $as_echo "$as_me: failed program was:" >&5
   1592 sed 's/^/| /' conftest.$ac_ext >&5
   1593 
   1594 	ac_retval=1
   1595 fi
   1596   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1597   as_fn_set_status $ac_retval
   1598 
   1599 } # ac_fn_c_try_compile
   1600 
   1601 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1602 # ---------------------------------------------
   1603 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1604 # accordingly.
   1605 ac_fn_c_check_decl ()
   1606 {
   1607   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1608   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1609   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1610   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1611 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1612 if eval \${$3+:} false; then :
   1613   $as_echo_n "(cached) " >&6
   1614 else
   1615   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1616 /* end confdefs.h.  */
   1617 $4
   1618 int
   1619 main ()
   1620 {
   1621 #ifndef $as_decl_name
   1622 #ifdef __cplusplus
   1623   (void) $as_decl_use;
   1624 #else
   1625   (void) $as_decl_name;
   1626 #endif
   1627 #endif
   1628 
   1629   ;
   1630   return 0;
   1631 }
   1632 _ACEOF
   1633 if ac_fn_c_try_compile "$LINENO"; then :
   1634   eval "$3=yes"
   1635 else
   1636   eval "$3=no"
   1637 fi
   1638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1639 fi
   1640 eval ac_res=\$$3
   1641 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1642 $as_echo "$ac_res" >&6; }
   1643   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1644 
   1645 } # ac_fn_c_check_decl
   1646 
   1647 # ac_fn_c_try_cpp LINENO
   1648 # ----------------------
   1649 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1650 ac_fn_c_try_cpp ()
   1651 {
   1652   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1653   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1654 case "(($ac_try" in
   1655   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1656   *) ac_try_echo=$ac_try;;
   1657 esac
   1658 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1659 $as_echo "$ac_try_echo"; } >&5
   1660   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1661   ac_status=$?
   1662   if test -s conftest.err; then
   1663     grep -v '^ *+' conftest.err >conftest.er1
   1664     cat conftest.er1 >&5
   1665     mv -f conftest.er1 conftest.err
   1666   fi
   1667   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1668   test $ac_status = 0; } > conftest.i && {
   1669 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1670 	 test ! -s conftest.err
   1671        }; then :
   1672   ac_retval=0
   1673 else
   1674   $as_echo "$as_me: failed program was:" >&5
   1675 sed 's/^/| /' conftest.$ac_ext >&5
   1676 
   1677     ac_retval=1
   1678 fi
   1679   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1680   as_fn_set_status $ac_retval
   1681 
   1682 } # ac_fn_c_try_cpp
   1683 
   1684 # ac_fn_c_try_run LINENO
   1685 # ----------------------
   1686 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1687 # that executables *can* be run.
   1688 ac_fn_c_try_run ()
   1689 {
   1690   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1691   if { { ac_try="$ac_link"
   1692 case "(($ac_try" in
   1693   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1694   *) ac_try_echo=$ac_try;;
   1695 esac
   1696 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1697 $as_echo "$ac_try_echo"; } >&5
   1698   (eval "$ac_link") 2>&5
   1699   ac_status=$?
   1700   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1701   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1702   { { case "(($ac_try" in
   1703   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1704   *) ac_try_echo=$ac_try;;
   1705 esac
   1706 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1707 $as_echo "$ac_try_echo"; } >&5
   1708   (eval "$ac_try") 2>&5
   1709   ac_status=$?
   1710   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1711   test $ac_status = 0; }; }; then :
   1712   ac_retval=0
   1713 else
   1714   $as_echo "$as_me: program exited with status $ac_status" >&5
   1715        $as_echo "$as_me: failed program was:" >&5
   1716 sed 's/^/| /' conftest.$ac_ext >&5
   1717 
   1718        ac_retval=$ac_status
   1719 fi
   1720   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1721   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1722   as_fn_set_status $ac_retval
   1723 
   1724 } # ac_fn_c_try_run
   1725 
   1726 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1727 # -------------------------------------------------------
   1728 # Tests whether HEADER exists and can be compiled using the include files in
   1729 # INCLUDES, setting the cache variable VAR accordingly.
   1730 ac_fn_c_check_header_compile ()
   1731 {
   1732   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1733   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1734 $as_echo_n "checking for $2... " >&6; }
   1735 if eval \${$3+:} false; then :
   1736   $as_echo_n "(cached) " >&6
   1737 else
   1738   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1739 /* end confdefs.h.  */
   1740 $4
   1741 #include <$2>
   1742 _ACEOF
   1743 if ac_fn_c_try_compile "$LINENO"; then :
   1744   eval "$3=yes"
   1745 else
   1746   eval "$3=no"
   1747 fi
   1748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1749 fi
   1750 eval ac_res=\$$3
   1751 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1752 $as_echo "$ac_res" >&6; }
   1753   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1754 
   1755 } # ac_fn_c_check_header_compile
   1756 
   1757 # ac_fn_c_try_link LINENO
   1758 # -----------------------
   1759 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1760 ac_fn_c_try_link ()
   1761 {
   1762   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1763   rm -f conftest.$ac_objext conftest$ac_exeext
   1764   if { { ac_try="$ac_link"
   1765 case "(($ac_try" in
   1766   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1767   *) ac_try_echo=$ac_try;;
   1768 esac
   1769 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1770 $as_echo "$ac_try_echo"; } >&5
   1771   (eval "$ac_link") 2>conftest.err
   1772   ac_status=$?
   1773   if test -s conftest.err; then
   1774     grep -v '^ *+' conftest.err >conftest.er1
   1775     cat conftest.er1 >&5
   1776     mv -f conftest.er1 conftest.err
   1777   fi
   1778   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1779   test $ac_status = 0; } && {
   1780 	 test -z "$ac_c_werror_flag" ||
   1781 	 test ! -s conftest.err
   1782        } && test -s conftest$ac_exeext && {
   1783 	 test "$cross_compiling" = yes ||
   1784 	 $as_test_x conftest$ac_exeext
   1785        }; then :
   1786   ac_retval=0
   1787 else
   1788   $as_echo "$as_me: failed program was:" >&5
   1789 sed 's/^/| /' conftest.$ac_ext >&5
   1790 
   1791 	ac_retval=1
   1792 fi
   1793   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1794   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1795   # interfere with the next link command; also delete a directory that is
   1796   # left behind by Apple's compiler.  We do this before executing the actions.
   1797   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1798   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1799   as_fn_set_status $ac_retval
   1800 
   1801 } # ac_fn_c_try_link
   1802 
   1803 # ac_fn_c_check_func LINENO FUNC VAR
   1804 # ----------------------------------
   1805 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1806 ac_fn_c_check_func ()
   1807 {
   1808   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1809   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1810 $as_echo_n "checking for $2... " >&6; }
   1811 if eval \${$3+:} false; then :
   1812   $as_echo_n "(cached) " >&6
   1813 else
   1814   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1815 /* end confdefs.h.  */
   1816 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1817    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1818 #define $2 innocuous_$2
   1819 
   1820 /* System header to define __stub macros and hopefully few prototypes,
   1821     which can conflict with char $2 (); below.
   1822     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1823     <limits.h> exists even on freestanding compilers.  */
   1824 
   1825 #ifdef __STDC__
   1826 # include <limits.h>
   1827 #else
   1828 # include <assert.h>
   1829 #endif
   1830 
   1831 #undef $2
   1832 
   1833 /* Override any GCC internal prototype to avoid an error.
   1834    Use char because int might match the return type of a GCC
   1835    builtin and then its argument prototype would still apply.  */
   1836 #ifdef __cplusplus
   1837 extern "C"
   1838 #endif
   1839 char $2 ();
   1840 /* The GNU C library defines this for functions which it implements
   1841     to always fail with ENOSYS.  Some functions are actually named
   1842     something starting with __ and the normal name is an alias.  */
   1843 #if defined __stub_$2 || defined __stub___$2
   1844 choke me
   1845 #endif
   1846 
   1847 int
   1848 main ()
   1849 {
   1850 return $2 ();
   1851   ;
   1852   return 0;
   1853 }
   1854 _ACEOF
   1855 if ac_fn_c_try_link "$LINENO"; then :
   1856   eval "$3=yes"
   1857 else
   1858   eval "$3=no"
   1859 fi
   1860 rm -f core conftest.err conftest.$ac_objext \
   1861     conftest$ac_exeext conftest.$ac_ext
   1862 fi
   1863 eval ac_res=\$$3
   1864 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1865 $as_echo "$ac_res" >&6; }
   1866   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1867 
   1868 } # ac_fn_c_check_func
   1869 
   1870 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1871 # -------------------------------------------------------
   1872 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1873 # the include files in INCLUDES and setting the cache variable VAR
   1874 # accordingly.
   1875 ac_fn_c_check_header_mongrel ()
   1876 {
   1877   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1878   if eval \${$3+:} false; then :
   1879   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1880 $as_echo_n "checking for $2... " >&6; }
   1881 if eval \${$3+:} false; then :
   1882   $as_echo_n "(cached) " >&6
   1883 fi
   1884 eval ac_res=\$$3
   1885 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1886 $as_echo "$ac_res" >&6; }
   1887 else
   1888   # Is the header compilable?
   1889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1890 $as_echo_n "checking $2 usability... " >&6; }
   1891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1892 /* end confdefs.h.  */
   1893 $4
   1894 #include <$2>
   1895 _ACEOF
   1896 if ac_fn_c_try_compile "$LINENO"; then :
   1897   ac_header_compiler=yes
   1898 else
   1899   ac_header_compiler=no
   1900 fi
   1901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1903 $as_echo "$ac_header_compiler" >&6; }
   1904 
   1905 # Is the header present?
   1906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1907 $as_echo_n "checking $2 presence... " >&6; }
   1908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1909 /* end confdefs.h.  */
   1910 #include <$2>
   1911 _ACEOF
   1912 if ac_fn_c_try_cpp "$LINENO"; then :
   1913   ac_header_preproc=yes
   1914 else
   1915   ac_header_preproc=no
   1916 fi
   1917 rm -f conftest.err conftest.i conftest.$ac_ext
   1918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1919 $as_echo "$ac_header_preproc" >&6; }
   1920 
   1921 # So?  What about this header?
   1922 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1923   yes:no: )
   1924     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1925 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1926     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1927 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1928     ;;
   1929   no:yes:* )
   1930     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1931 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1932     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1933 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1934     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1935 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1936     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1937 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1938     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1939 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1940 ( $as_echo "## ---------------------------------------------------------------------- ##
   1941 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   1942 ## ---------------------------------------------------------------------- ##"
   1943      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1944     ;;
   1945 esac
   1946   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1947 $as_echo_n "checking for $2... " >&6; }
   1948 if eval \${$3+:} false; then :
   1949   $as_echo_n "(cached) " >&6
   1950 else
   1951   eval "$3=\$ac_header_compiler"
   1952 fi
   1953 eval ac_res=\$$3
   1954 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1955 $as_echo "$ac_res" >&6; }
   1956 fi
   1957   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1958 
   1959 } # ac_fn_c_check_header_mongrel
   1960 cat >config.log <<_ACEOF
   1961 This file contains any messages produced by compilers while
   1962 running configure, to aid debugging if configure makes a mistake.
   1963 
   1964 It was created by xf86-video-s3virge $as_me 1.10.6, which was
   1965 generated by GNU Autoconf 2.68.  Invocation command line was
   1966 
   1967   $ $0 $@
   1968 
   1969 _ACEOF
   1970 exec 5>>config.log
   1971 {
   1972 cat <<_ASUNAME
   1973 ## --------- ##
   1974 ## Platform. ##
   1975 ## --------- ##
   1976 
   1977 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1978 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1979 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1980 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1981 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1982 
   1983 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1984 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1985 
   1986 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1987 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1988 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1989 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1990 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1991 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1992 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1993 
   1994 _ASUNAME
   1995 
   1996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1997 for as_dir in $PATH
   1998 do
   1999   IFS=$as_save_IFS
   2000   test -z "$as_dir" && as_dir=.
   2001     $as_echo "PATH: $as_dir"
   2002   done
   2003 IFS=$as_save_IFS
   2004 
   2005 } >&5
   2006 
   2007 cat >&5 <<_ACEOF
   2008 
   2009 
   2010 ## ----------- ##
   2011 ## Core tests. ##
   2012 ## ----------- ##
   2013 
   2014 _ACEOF
   2015 
   2016 
   2017 # Keep a trace of the command line.
   2018 # Strip out --no-create and --no-recursion so they do not pile up.
   2019 # Strip out --silent because we don't want to record it for future runs.
   2020 # Also quote any args containing shell meta-characters.
   2021 # Make two passes to allow for proper duplicate-argument suppression.
   2022 ac_configure_args=
   2023 ac_configure_args0=
   2024 ac_configure_args1=
   2025 ac_must_keep_next=false
   2026 for ac_pass in 1 2
   2027 do
   2028   for ac_arg
   2029   do
   2030     case $ac_arg in
   2031     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2032     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2033     | -silent | --silent | --silen | --sile | --sil)
   2034       continue ;;
   2035     *\'*)
   2036       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2037     esac
   2038     case $ac_pass in
   2039     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2040     2)
   2041       as_fn_append ac_configure_args1 " '$ac_arg'"
   2042       if test $ac_must_keep_next = true; then
   2043 	ac_must_keep_next=false # Got value, back to normal.
   2044       else
   2045 	case $ac_arg in
   2046 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2047 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2048 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2049 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2050 	    case "$ac_configure_args0 " in
   2051 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2052 	    esac
   2053 	    ;;
   2054 	  -* ) ac_must_keep_next=true ;;
   2055 	esac
   2056       fi
   2057       as_fn_append ac_configure_args " '$ac_arg'"
   2058       ;;
   2059     esac
   2060   done
   2061 done
   2062 { ac_configure_args0=; unset ac_configure_args0;}
   2063 { ac_configure_args1=; unset ac_configure_args1;}
   2064 
   2065 # When interrupted or exit'd, cleanup temporary files, and complete
   2066 # config.log.  We remove comments because anyway the quotes in there
   2067 # would cause problems or look ugly.
   2068 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2069 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2070 trap 'exit_status=$?
   2071   # Save into config.log some information that might help in debugging.
   2072   {
   2073     echo
   2074 
   2075     $as_echo "## ---------------- ##
   2076 ## Cache variables. ##
   2077 ## ---------------- ##"
   2078     echo
   2079     # The following way of writing the cache mishandles newlines in values,
   2080 (
   2081   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2082     eval ac_val=\$$ac_var
   2083     case $ac_val in #(
   2084     *${as_nl}*)
   2085       case $ac_var in #(
   2086       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2087 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2088       esac
   2089       case $ac_var in #(
   2090       _ | IFS | as_nl) ;; #(
   2091       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2092       *) { eval $ac_var=; unset $ac_var;} ;;
   2093       esac ;;
   2094     esac
   2095   done
   2096   (set) 2>&1 |
   2097     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2098     *${as_nl}ac_space=\ *)
   2099       sed -n \
   2100 	"s/'\''/'\''\\\\'\'''\''/g;
   2101 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2102       ;; #(
   2103     *)
   2104       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2105       ;;
   2106     esac |
   2107     sort
   2108 )
   2109     echo
   2110 
   2111     $as_echo "## ----------------- ##
   2112 ## Output variables. ##
   2113 ## ----------------- ##"
   2114     echo
   2115     for ac_var in $ac_subst_vars
   2116     do
   2117       eval ac_val=\$$ac_var
   2118       case $ac_val in
   2119       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2120       esac
   2121       $as_echo "$ac_var='\''$ac_val'\''"
   2122     done | sort
   2123     echo
   2124 
   2125     if test -n "$ac_subst_files"; then
   2126       $as_echo "## ------------------- ##
   2127 ## File substitutions. ##
   2128 ## ------------------- ##"
   2129       echo
   2130       for ac_var in $ac_subst_files
   2131       do
   2132 	eval ac_val=\$$ac_var
   2133 	case $ac_val in
   2134 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2135 	esac
   2136 	$as_echo "$ac_var='\''$ac_val'\''"
   2137       done | sort
   2138       echo
   2139     fi
   2140 
   2141     if test -s confdefs.h; then
   2142       $as_echo "## ----------- ##
   2143 ## confdefs.h. ##
   2144 ## ----------- ##"
   2145       echo
   2146       cat confdefs.h
   2147       echo
   2148     fi
   2149     test "$ac_signal" != 0 &&
   2150       $as_echo "$as_me: caught signal $ac_signal"
   2151     $as_echo "$as_me: exit $exit_status"
   2152   } >&5
   2153   rm -f core *.core core.conftest.* &&
   2154     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2155     exit $exit_status
   2156 ' 0
   2157 for ac_signal in 1 2 13 15; do
   2158   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2159 done
   2160 ac_signal=0
   2161 
   2162 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2163 rm -f -r conftest* confdefs.h
   2164 
   2165 $as_echo "/* confdefs.h */" > confdefs.h
   2166 
   2167 # Predefined preprocessor variables.
   2168 
   2169 cat >>confdefs.h <<_ACEOF
   2170 #define PACKAGE_NAME "$PACKAGE_NAME"
   2171 _ACEOF
   2172 
   2173 cat >>confdefs.h <<_ACEOF
   2174 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2175 _ACEOF
   2176 
   2177 cat >>confdefs.h <<_ACEOF
   2178 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2179 _ACEOF
   2180 
   2181 cat >>confdefs.h <<_ACEOF
   2182 #define PACKAGE_STRING "$PACKAGE_STRING"
   2183 _ACEOF
   2184 
   2185 cat >>confdefs.h <<_ACEOF
   2186 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2187 _ACEOF
   2188 
   2189 cat >>confdefs.h <<_ACEOF
   2190 #define PACKAGE_URL "$PACKAGE_URL"
   2191 _ACEOF
   2192 
   2193 
   2194 # Let the site file select an alternate cache file if it wants to.
   2195 # Prefer an explicitly selected file to automatically selected ones.
   2196 ac_site_file1=NONE
   2197 ac_site_file2=NONE
   2198 if test -n "$CONFIG_SITE"; then
   2199   # We do not want a PATH search for config.site.
   2200   case $CONFIG_SITE in #((
   2201     -*)  ac_site_file1=./$CONFIG_SITE;;
   2202     */*) ac_site_file1=$CONFIG_SITE;;
   2203     *)   ac_site_file1=./$CONFIG_SITE;;
   2204   esac
   2205 elif test "x$prefix" != xNONE; then
   2206   ac_site_file1=$prefix/share/config.site
   2207   ac_site_file2=$prefix/etc/config.site
   2208 else
   2209   ac_site_file1=$ac_default_prefix/share/config.site
   2210   ac_site_file2=$ac_default_prefix/etc/config.site
   2211 fi
   2212 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2213 do
   2214   test "x$ac_site_file" = xNONE && continue
   2215   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2216     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2217 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2218     sed 's/^/| /' "$ac_site_file" >&5
   2219     . "$ac_site_file" \
   2220       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2221 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2222 as_fn_error $? "failed to load site script $ac_site_file
   2223 See \`config.log' for more details" "$LINENO" 5; }
   2224   fi
   2225 done
   2226 
   2227 if test -r "$cache_file"; then
   2228   # Some versions of bash will fail to source /dev/null (special files
   2229   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2230   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2231     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2232 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2233     case $cache_file in
   2234       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2235       *)                      . "./$cache_file";;
   2236     esac
   2237   fi
   2238 else
   2239   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2240 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2241   >$cache_file
   2242 fi
   2243 
   2244 # Check that the precious variables saved in the cache have kept the same
   2245 # value.
   2246 ac_cache_corrupted=false
   2247 for ac_var in $ac_precious_vars; do
   2248   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2249   eval ac_new_set=\$ac_env_${ac_var}_set
   2250   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2251   eval ac_new_val=\$ac_env_${ac_var}_value
   2252   case $ac_old_set,$ac_new_set in
   2253     set,)
   2254       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2255 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2256       ac_cache_corrupted=: ;;
   2257     ,set)
   2258       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2259 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2260       ac_cache_corrupted=: ;;
   2261     ,);;
   2262     *)
   2263       if test "x$ac_old_val" != "x$ac_new_val"; then
   2264 	# differences in whitespace do not lead to failure.
   2265 	ac_old_val_w=`echo x $ac_old_val`
   2266 	ac_new_val_w=`echo x $ac_new_val`
   2267 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2268 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2269 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2270 	  ac_cache_corrupted=:
   2271 	else
   2272 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2273 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2274 	  eval $ac_var=\$ac_old_val
   2275 	fi
   2276 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2277 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2278 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2279 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2280       fi;;
   2281   esac
   2282   # Pass precious variables to config.status.
   2283   if test "$ac_new_set" = set; then
   2284     case $ac_new_val in
   2285     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2286     *) ac_arg=$ac_var=$ac_new_val ;;
   2287     esac
   2288     case " $ac_configure_args " in
   2289       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2290       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2291     esac
   2292   fi
   2293 done
   2294 if $ac_cache_corrupted; then
   2295   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2296 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2297   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2298 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2299   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2300 fi
   2301 ## -------------------- ##
   2302 ## Main body of script. ##
   2303 ## -------------------- ##
   2304 
   2305 ac_ext=c
   2306 ac_cpp='$CPP $CPPFLAGS'
   2307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2310 
   2311 
   2312 
   2313 ac_config_headers="$ac_config_headers config.h"
   2314 
   2315 ac_aux_dir=
   2316 for ac_dir in . "$srcdir"/.; do
   2317   if test -f "$ac_dir/install-sh"; then
   2318     ac_aux_dir=$ac_dir
   2319     ac_install_sh="$ac_aux_dir/install-sh -c"
   2320     break
   2321   elif test -f "$ac_dir/install.sh"; then
   2322     ac_aux_dir=$ac_dir
   2323     ac_install_sh="$ac_aux_dir/install.sh -c"
   2324     break
   2325   elif test -f "$ac_dir/shtool"; then
   2326     ac_aux_dir=$ac_dir
   2327     ac_install_sh="$ac_aux_dir/shtool install -c"
   2328     break
   2329   fi
   2330 done
   2331 if test -z "$ac_aux_dir"; then
   2332   as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
   2333 fi
   2334 
   2335 # These three variables are undocumented and unsupported,
   2336 # and are intended to be withdrawn in a future Autoconf release.
   2337 # They can cause serious problems if a builder's source tree is in a directory
   2338 # whose full name contains unusual characters.
   2339 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2340 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2341 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2342 
   2343 
   2344 
   2345 # Initialize Automake
   2346 am__api_version='1.11'
   2347 
   2348 # Find a good install program.  We prefer a C program (faster),
   2349 # so one script is as good as another.  But avoid the broken or
   2350 # incompatible versions:
   2351 # SysV /etc/install, /usr/sbin/install
   2352 # SunOS /usr/etc/install
   2353 # IRIX /sbin/install
   2354 # AIX /bin/install
   2355 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2356 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2357 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2358 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2359 # OS/2's system install, which has a completely different semantic
   2360 # ./install, which can be erroneously created by make from ./install.sh.
   2361 # Reject install programs that cannot install multiple files.
   2362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2363 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2364 if test -z "$INSTALL"; then
   2365 if ${ac_cv_path_install+:} false; then :
   2366   $as_echo_n "(cached) " >&6
   2367 else
   2368   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2369 for as_dir in $PATH
   2370 do
   2371   IFS=$as_save_IFS
   2372   test -z "$as_dir" && as_dir=.
   2373     # Account for people who put trailing slashes in PATH elements.
   2374 case $as_dir/ in #((
   2375   ./ | .// | /[cC]/* | \
   2376   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2377   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2378   /usr/ucb/* ) ;;
   2379   *)
   2380     # OSF1 and SCO ODT 3.0 have their own names for install.
   2381     # Don't use installbsd from OSF since it installs stuff as root
   2382     # by default.
   2383     for ac_prog in ginstall scoinst install; do
   2384       for ac_exec_ext in '' $ac_executable_extensions; do
   2385 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2386 	  if test $ac_prog = install &&
   2387 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2388 	    # AIX install.  It has an incompatible calling convention.
   2389 	    :
   2390 	  elif test $ac_prog = install &&
   2391 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2392 	    # program-specific install script used by HP pwplus--don't use.
   2393 	    :
   2394 	  else
   2395 	    rm -rf conftest.one conftest.two conftest.dir
   2396 	    echo one > conftest.one
   2397 	    echo two > conftest.two
   2398 	    mkdir conftest.dir
   2399 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2400 	      test -s conftest.one && test -s conftest.two &&
   2401 	      test -s conftest.dir/conftest.one &&
   2402 	      test -s conftest.dir/conftest.two
   2403 	    then
   2404 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2405 	      break 3
   2406 	    fi
   2407 	  fi
   2408 	fi
   2409       done
   2410     done
   2411     ;;
   2412 esac
   2413 
   2414   done
   2415 IFS=$as_save_IFS
   2416 
   2417 rm -rf conftest.one conftest.two conftest.dir
   2418 
   2419 fi
   2420   if test "${ac_cv_path_install+set}" = set; then
   2421     INSTALL=$ac_cv_path_install
   2422   else
   2423     # As a last resort, use the slow shell script.  Don't cache a
   2424     # value for INSTALL within a source directory, because that will
   2425     # break other packages using the cache if that directory is
   2426     # removed, or if the value is a relative name.
   2427     INSTALL=$ac_install_sh
   2428   fi
   2429 fi
   2430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2431 $as_echo "$INSTALL" >&6; }
   2432 
   2433 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2434 # It thinks the first close brace ends the variable substitution.
   2435 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2436 
   2437 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2438 
   2439 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2440 
   2441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2442 $as_echo_n "checking whether build environment is sane... " >&6; }
   2443 # Just in case
   2444 sleep 1
   2445 echo timestamp > conftest.file
   2446 # Reject unsafe characters in $srcdir or the absolute working directory
   2447 # name.  Accept space and tab only in the latter.
   2448 am_lf='
   2449 '
   2450 case `pwd` in
   2451   *[\\\"\#\$\&\'\`$am_lf]*)
   2452     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2453 esac
   2454 case $srcdir in
   2455   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2456     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
   2457 esac
   2458 
   2459 # Do `set' in a subshell so we don't clobber the current shell's
   2460 # arguments.  Must try -L first in case configure is actually a
   2461 # symlink; some systems play weird games with the mod time of symlinks
   2462 # (eg FreeBSD returns the mod time of the symlink's containing
   2463 # directory).
   2464 if (
   2465    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2466    if test "$*" = "X"; then
   2467       # -L didn't work.
   2468       set X `ls -t "$srcdir/configure" conftest.file`
   2469    fi
   2470    rm -f conftest.file
   2471    if test "$*" != "X $srcdir/configure conftest.file" \
   2472       && test "$*" != "X conftest.file $srcdir/configure"; then
   2473 
   2474       # If neither matched, then we have a broken ls.  This can happen
   2475       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2476       # broken ls alias from the environment.  This has actually
   2477       # happened.  Such a system could not be considered "sane".
   2478       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2479 alias in your environment" "$LINENO" 5
   2480    fi
   2481 
   2482    test "$2" = conftest.file
   2483    )
   2484 then
   2485    # Ok.
   2486    :
   2487 else
   2488    as_fn_error $? "newly created file is older than distributed files!
   2489 Check your system clock" "$LINENO" 5
   2490 fi
   2491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2492 $as_echo "yes" >&6; }
   2493 test "$program_prefix" != NONE &&
   2494   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2495 # Use a double $ so make ignores it.
   2496 test "$program_suffix" != NONE &&
   2497   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2498 # Double any \ or $.
   2499 # By default was `s,x,x', remove it if useless.
   2500 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2501 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2502 
   2503 # expand $ac_aux_dir to an absolute path
   2504 am_aux_dir=`cd $ac_aux_dir && pwd`
   2505 
   2506 if test x"${MISSING+set}" != xset; then
   2507   case $am_aux_dir in
   2508   *\ * | *\	*)
   2509     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2510   *)
   2511     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2512   esac
   2513 fi
   2514 # Use eval to expand $SHELL
   2515 if eval "$MISSING --run true"; then
   2516   am_missing_run="$MISSING --run "
   2517 else
   2518   am_missing_run=
   2519   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
   2520 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2521 fi
   2522 
   2523 if test x"${install_sh}" != xset; then
   2524   case $am_aux_dir in
   2525   *\ * | *\	*)
   2526     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2527   *)
   2528     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2529   esac
   2530 fi
   2531 
   2532 # Installed binaries are usually stripped using `strip' when the user
   2533 # run `make install-strip'.  However `strip' might not be the right
   2534 # tool to use in cross-compilation environments, therefore Automake
   2535 # will honor the `STRIP' environment variable to overrule this program.
   2536 if test "$cross_compiling" != no; then
   2537   if test -n "$ac_tool_prefix"; then
   2538   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2539 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2541 $as_echo_n "checking for $ac_word... " >&6; }
   2542 if ${ac_cv_prog_STRIP+:} false; then :
   2543   $as_echo_n "(cached) " >&6
   2544 else
   2545   if test -n "$STRIP"; then
   2546   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2547 else
   2548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2549 for as_dir in $PATH
   2550 do
   2551   IFS=$as_save_IFS
   2552   test -z "$as_dir" && as_dir=.
   2553     for ac_exec_ext in '' $ac_executable_extensions; do
   2554   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2555     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2556     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2557     break 2
   2558   fi
   2559 done
   2560   done
   2561 IFS=$as_save_IFS
   2562 
   2563 fi
   2564 fi
   2565 STRIP=$ac_cv_prog_STRIP
   2566 if test -n "$STRIP"; then
   2567   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2568 $as_echo "$STRIP" >&6; }
   2569 else
   2570   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2571 $as_echo "no" >&6; }
   2572 fi
   2573 
   2574 
   2575 fi
   2576 if test -z "$ac_cv_prog_STRIP"; then
   2577   ac_ct_STRIP=$STRIP
   2578   # Extract the first word of "strip", so it can be a program name with args.
   2579 set dummy strip; ac_word=$2
   2580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2581 $as_echo_n "checking for $ac_word... " >&6; }
   2582 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2583   $as_echo_n "(cached) " >&6
   2584 else
   2585   if test -n "$ac_ct_STRIP"; then
   2586   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2587 else
   2588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2589 for as_dir in $PATH
   2590 do
   2591   IFS=$as_save_IFS
   2592   test -z "$as_dir" && as_dir=.
   2593     for ac_exec_ext in '' $ac_executable_extensions; do
   2594   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2595     ac_cv_prog_ac_ct_STRIP="strip"
   2596     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2597     break 2
   2598   fi
   2599 done
   2600   done
   2601 IFS=$as_save_IFS
   2602 
   2603 fi
   2604 fi
   2605 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2606 if test -n "$ac_ct_STRIP"; then
   2607   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2608 $as_echo "$ac_ct_STRIP" >&6; }
   2609 else
   2610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2611 $as_echo "no" >&6; }
   2612 fi
   2613 
   2614   if test "x$ac_ct_STRIP" = x; then
   2615     STRIP=":"
   2616   else
   2617     case $cross_compiling:$ac_tool_warned in
   2618 yes:)
   2619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2620 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2621 ac_tool_warned=yes ;;
   2622 esac
   2623     STRIP=$ac_ct_STRIP
   2624   fi
   2625 else
   2626   STRIP="$ac_cv_prog_STRIP"
   2627 fi
   2628 
   2629 fi
   2630 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2631 
   2632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2633 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2634 if test -z "$MKDIR_P"; then
   2635   if ${ac_cv_path_mkdir+:} false; then :
   2636   $as_echo_n "(cached) " >&6
   2637 else
   2638   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2639 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2640 do
   2641   IFS=$as_save_IFS
   2642   test -z "$as_dir" && as_dir=.
   2643     for ac_prog in mkdir gmkdir; do
   2644 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2645 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2646 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2647 	     'mkdir (GNU coreutils) '* | \
   2648 	     'mkdir (coreutils) '* | \
   2649 	     'mkdir (fileutils) '4.1*)
   2650 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2651 	       break 3;;
   2652 	   esac
   2653 	 done
   2654        done
   2655   done
   2656 IFS=$as_save_IFS
   2657 
   2658 fi
   2659 
   2660   test -d ./--version && rmdir ./--version
   2661   if test "${ac_cv_path_mkdir+set}" = set; then
   2662     MKDIR_P="$ac_cv_path_mkdir -p"
   2663   else
   2664     # As a last resort, use the slow shell script.  Don't cache a
   2665     # value for MKDIR_P within a source directory, because that will
   2666     # break other packages using the cache if that directory is
   2667     # removed, or if the value is a relative name.
   2668     MKDIR_P="$ac_install_sh -d"
   2669   fi
   2670 fi
   2671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2672 $as_echo "$MKDIR_P" >&6; }
   2673 
   2674 mkdir_p="$MKDIR_P"
   2675 case $mkdir_p in
   2676   [\\/$]* | ?:[\\/]*) ;;
   2677   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2678 esac
   2679 
   2680 for ac_prog in gawk mawk nawk awk
   2681 do
   2682   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2683 set dummy $ac_prog; ac_word=$2
   2684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2685 $as_echo_n "checking for $ac_word... " >&6; }
   2686 if ${ac_cv_prog_AWK+:} false; then :
   2687   $as_echo_n "(cached) " >&6
   2688 else
   2689   if test -n "$AWK"; then
   2690   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2691 else
   2692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2693 for as_dir in $PATH
   2694 do
   2695   IFS=$as_save_IFS
   2696   test -z "$as_dir" && as_dir=.
   2697     for ac_exec_ext in '' $ac_executable_extensions; do
   2698   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2699     ac_cv_prog_AWK="$ac_prog"
   2700     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2701     break 2
   2702   fi
   2703 done
   2704   done
   2705 IFS=$as_save_IFS
   2706 
   2707 fi
   2708 fi
   2709 AWK=$ac_cv_prog_AWK
   2710 if test -n "$AWK"; then
   2711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2712 $as_echo "$AWK" >&6; }
   2713 else
   2714   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2715 $as_echo "no" >&6; }
   2716 fi
   2717 
   2718 
   2719   test -n "$AWK" && break
   2720 done
   2721 
   2722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2723 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2724 set x ${MAKE-make}
   2725 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2726 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2727   $as_echo_n "(cached) " >&6
   2728 else
   2729   cat >conftest.make <<\_ACEOF
   2730 SHELL = /bin/sh
   2731 all:
   2732 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2733 _ACEOF
   2734 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2735 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2736   *@@@%%%=?*=@@@%%%*)
   2737     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2738   *)
   2739     eval ac_cv_prog_make_${ac_make}_set=no;;
   2740 esac
   2741 rm -f conftest.make
   2742 fi
   2743 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2745 $as_echo "yes" >&6; }
   2746   SET_MAKE=
   2747 else
   2748   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2749 $as_echo "no" >&6; }
   2750   SET_MAKE="MAKE=${MAKE-make}"
   2751 fi
   2752 
   2753 rm -rf .tst 2>/dev/null
   2754 mkdir .tst 2>/dev/null
   2755 if test -d .tst; then
   2756   am__leading_dot=.
   2757 else
   2758   am__leading_dot=_
   2759 fi
   2760 rmdir .tst 2>/dev/null
   2761 
   2762 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2763   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2764   # is not polluted with repeated "-I."
   2765   am__isrc=' -I$(srcdir)'
   2766   # test to see if srcdir already configured
   2767   if test -f $srcdir/config.status; then
   2768     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2769   fi
   2770 fi
   2771 
   2772 # test whether we have cygpath
   2773 if test -z "$CYGPATH_W"; then
   2774   if (cygpath --version) >/dev/null 2>/dev/null; then
   2775     CYGPATH_W='cygpath -w'
   2776   else
   2777     CYGPATH_W=echo
   2778   fi
   2779 fi
   2780 
   2781 
   2782 # Define the identity of the package.
   2783  PACKAGE='xf86-video-s3virge'
   2784  VERSION='1.10.6'
   2785 
   2786 
   2787 cat >>confdefs.h <<_ACEOF
   2788 #define PACKAGE "$PACKAGE"
   2789 _ACEOF
   2790 
   2791 
   2792 cat >>confdefs.h <<_ACEOF
   2793 #define VERSION "$VERSION"
   2794 _ACEOF
   2795 
   2796 # Some tools Automake needs.
   2797 
   2798 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2799 
   2800 
   2801 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2802 
   2803 
   2804 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2805 
   2806 
   2807 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2808 
   2809 
   2810 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2811 
   2812 # We need awk for the "check" target.  The system "awk" is bad on
   2813 # some platforms.
   2814 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2815 # in the wild :-(  We should find a proper way to deprecate it ...
   2816 AMTAR='$${TAR-tar}'
   2817 
   2818 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2819 
   2820 
   2821 
   2822 
   2823 
   2824 
   2825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2826 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2827     # Check whether --enable-maintainer-mode was given.
   2828 if test "${enable_maintainer_mode+set}" = set; then :
   2829   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2830 else
   2831   USE_MAINTAINER_MODE=no
   2832 fi
   2833 
   2834   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   2835 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2836    if test $USE_MAINTAINER_MODE = yes; then
   2837   MAINTAINER_MODE_TRUE=
   2838   MAINTAINER_MODE_FALSE='#'
   2839 else
   2840   MAINTAINER_MODE_TRUE='#'
   2841   MAINTAINER_MODE_FALSE=
   2842 fi
   2843 
   2844   MAINT=$MAINTAINER_MODE_TRUE
   2845 
   2846 
   2847 
   2848 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2849 
   2850 
   2851 
   2852 
   2853 
   2854 
   2855 
   2856 
   2857 
   2858 
   2859 
   2860 DEPDIR="${am__leading_dot}deps"
   2861 
   2862 ac_config_commands="$ac_config_commands depfiles"
   2863 
   2864 
   2865 am_make=${MAKE-make}
   2866 cat > confinc << 'END'
   2867 am__doit:
   2868 	@echo this is the am__doit target
   2869 .PHONY: am__doit
   2870 END
   2871 # If we don't find an include directive, just comment out the code.
   2872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2873 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2874 am__include="#"
   2875 am__quote=
   2876 _am_result=none
   2877 # First try GNU make style include.
   2878 echo "include confinc" > confmf
   2879 # Ignore all kinds of additional output from `make'.
   2880 case `$am_make -s -f confmf 2> /dev/null` in #(
   2881 *the\ am__doit\ target*)
   2882   am__include=include
   2883   am__quote=
   2884   _am_result=GNU
   2885   ;;
   2886 esac
   2887 # Now try BSD make style include.
   2888 if test "$am__include" = "#"; then
   2889    echo '.include "confinc"' > confmf
   2890    case `$am_make -s -f confmf 2> /dev/null` in #(
   2891    *the\ am__doit\ target*)
   2892      am__include=.include
   2893      am__quote="\""
   2894      _am_result=BSD
   2895      ;;
   2896    esac
   2897 fi
   2898 
   2899 
   2900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2901 $as_echo "$_am_result" >&6; }
   2902 rm -f confinc confmf
   2903 
   2904 # Check whether --enable-dependency-tracking was given.
   2905 if test "${enable_dependency_tracking+set}" = set; then :
   2906   enableval=$enable_dependency_tracking;
   2907 fi
   2908 
   2909 if test "x$enable_dependency_tracking" != xno; then
   2910   am_depcomp="$ac_aux_dir/depcomp"
   2911   AMDEPBACKSLASH='\'
   2912   am__nodep='_no'
   2913 fi
   2914  if test "x$enable_dependency_tracking" != xno; then
   2915   AMDEP_TRUE=
   2916   AMDEP_FALSE='#'
   2917 else
   2918   AMDEP_TRUE='#'
   2919   AMDEP_FALSE=
   2920 fi
   2921 
   2922 
   2923 ac_ext=c
   2924 ac_cpp='$CPP $CPPFLAGS'
   2925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2928 if test -n "$ac_tool_prefix"; then
   2929   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2930 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2932 $as_echo_n "checking for $ac_word... " >&6; }
   2933 if ${ac_cv_prog_CC+:} false; then :
   2934   $as_echo_n "(cached) " >&6
   2935 else
   2936   if test -n "$CC"; then
   2937   ac_cv_prog_CC="$CC" # Let the user override the test.
   2938 else
   2939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2940 for as_dir in $PATH
   2941 do
   2942   IFS=$as_save_IFS
   2943   test -z "$as_dir" && as_dir=.
   2944     for ac_exec_ext in '' $ac_executable_extensions; do
   2945   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2946     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2947     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2948     break 2
   2949   fi
   2950 done
   2951   done
   2952 IFS=$as_save_IFS
   2953 
   2954 fi
   2955 fi
   2956 CC=$ac_cv_prog_CC
   2957 if test -n "$CC"; then
   2958   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2959 $as_echo "$CC" >&6; }
   2960 else
   2961   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2962 $as_echo "no" >&6; }
   2963 fi
   2964 
   2965 
   2966 fi
   2967 if test -z "$ac_cv_prog_CC"; then
   2968   ac_ct_CC=$CC
   2969   # Extract the first word of "gcc", so it can be a program name with args.
   2970 set dummy gcc; ac_word=$2
   2971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2972 $as_echo_n "checking for $ac_word... " >&6; }
   2973 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2974   $as_echo_n "(cached) " >&6
   2975 else
   2976   if test -n "$ac_ct_CC"; then
   2977   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2978 else
   2979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2980 for as_dir in $PATH
   2981 do
   2982   IFS=$as_save_IFS
   2983   test -z "$as_dir" && as_dir=.
   2984     for ac_exec_ext in '' $ac_executable_extensions; do
   2985   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2986     ac_cv_prog_ac_ct_CC="gcc"
   2987     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2988     break 2
   2989   fi
   2990 done
   2991   done
   2992 IFS=$as_save_IFS
   2993 
   2994 fi
   2995 fi
   2996 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2997 if test -n "$ac_ct_CC"; then
   2998   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2999 $as_echo "$ac_ct_CC" >&6; }
   3000 else
   3001   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3002 $as_echo "no" >&6; }
   3003 fi
   3004 
   3005   if test "x$ac_ct_CC" = x; then
   3006     CC=""
   3007   else
   3008     case $cross_compiling:$ac_tool_warned in
   3009 yes:)
   3010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3011 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3012 ac_tool_warned=yes ;;
   3013 esac
   3014     CC=$ac_ct_CC
   3015   fi
   3016 else
   3017   CC="$ac_cv_prog_CC"
   3018 fi
   3019 
   3020 if test -z "$CC"; then
   3021           if test -n "$ac_tool_prefix"; then
   3022     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3023 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3025 $as_echo_n "checking for $ac_word... " >&6; }
   3026 if ${ac_cv_prog_CC+:} false; then :
   3027   $as_echo_n "(cached) " >&6
   3028 else
   3029   if test -n "$CC"; then
   3030   ac_cv_prog_CC="$CC" # Let the user override the test.
   3031 else
   3032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3033 for as_dir in $PATH
   3034 do
   3035   IFS=$as_save_IFS
   3036   test -z "$as_dir" && as_dir=.
   3037     for ac_exec_ext in '' $ac_executable_extensions; do
   3038   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3039     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3040     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3041     break 2
   3042   fi
   3043 done
   3044   done
   3045 IFS=$as_save_IFS
   3046 
   3047 fi
   3048 fi
   3049 CC=$ac_cv_prog_CC
   3050 if test -n "$CC"; then
   3051   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3052 $as_echo "$CC" >&6; }
   3053 else
   3054   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3055 $as_echo "no" >&6; }
   3056 fi
   3057 
   3058 
   3059   fi
   3060 fi
   3061 if test -z "$CC"; then
   3062   # Extract the first word of "cc", so it can be a program name with args.
   3063 set dummy cc; ac_word=$2
   3064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3065 $as_echo_n "checking for $ac_word... " >&6; }
   3066 if ${ac_cv_prog_CC+:} false; then :
   3067   $as_echo_n "(cached) " >&6
   3068 else
   3069   if test -n "$CC"; then
   3070   ac_cv_prog_CC="$CC" # Let the user override the test.
   3071 else
   3072   ac_prog_rejected=no
   3073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3074 for as_dir in $PATH
   3075 do
   3076   IFS=$as_save_IFS
   3077   test -z "$as_dir" && as_dir=.
   3078     for ac_exec_ext in '' $ac_executable_extensions; do
   3079   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3080     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3081        ac_prog_rejected=yes
   3082        continue
   3083      fi
   3084     ac_cv_prog_CC="cc"
   3085     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3086     break 2
   3087   fi
   3088 done
   3089   done
   3090 IFS=$as_save_IFS
   3091 
   3092 if test $ac_prog_rejected = yes; then
   3093   # We found a bogon in the path, so make sure we never use it.
   3094   set dummy $ac_cv_prog_CC
   3095   shift
   3096   if test $# != 0; then
   3097     # We chose a different compiler from the bogus one.
   3098     # However, it has the same basename, so the bogon will be chosen
   3099     # first if we set CC to just the basename; use the full file name.
   3100     shift
   3101     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3102   fi
   3103 fi
   3104 fi
   3105 fi
   3106 CC=$ac_cv_prog_CC
   3107 if test -n "$CC"; then
   3108   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3109 $as_echo "$CC" >&6; }
   3110 else
   3111   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3112 $as_echo "no" >&6; }
   3113 fi
   3114 
   3115 
   3116 fi
   3117 if test -z "$CC"; then
   3118   if test -n "$ac_tool_prefix"; then
   3119   for ac_prog in cl.exe
   3120   do
   3121     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3122 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3124 $as_echo_n "checking for $ac_word... " >&6; }
   3125 if ${ac_cv_prog_CC+:} false; then :
   3126   $as_echo_n "(cached) " >&6
   3127 else
   3128   if test -n "$CC"; then
   3129   ac_cv_prog_CC="$CC" # Let the user override the test.
   3130 else
   3131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3132 for as_dir in $PATH
   3133 do
   3134   IFS=$as_save_IFS
   3135   test -z "$as_dir" && as_dir=.
   3136     for ac_exec_ext in '' $ac_executable_extensions; do
   3137   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3138     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3139     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3140     break 2
   3141   fi
   3142 done
   3143   done
   3144 IFS=$as_save_IFS
   3145 
   3146 fi
   3147 fi
   3148 CC=$ac_cv_prog_CC
   3149 if test -n "$CC"; then
   3150   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3151 $as_echo "$CC" >&6; }
   3152 else
   3153   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3154 $as_echo "no" >&6; }
   3155 fi
   3156 
   3157 
   3158     test -n "$CC" && break
   3159   done
   3160 fi
   3161 if test -z "$CC"; then
   3162   ac_ct_CC=$CC
   3163   for ac_prog in cl.exe
   3164 do
   3165   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3166 set dummy $ac_prog; ac_word=$2
   3167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3168 $as_echo_n "checking for $ac_word... " >&6; }
   3169 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3170   $as_echo_n "(cached) " >&6
   3171 else
   3172   if test -n "$ac_ct_CC"; then
   3173   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3174 else
   3175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3176 for as_dir in $PATH
   3177 do
   3178   IFS=$as_save_IFS
   3179   test -z "$as_dir" && as_dir=.
   3180     for ac_exec_ext in '' $ac_executable_extensions; do
   3181   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3182     ac_cv_prog_ac_ct_CC="$ac_prog"
   3183     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3184     break 2
   3185   fi
   3186 done
   3187   done
   3188 IFS=$as_save_IFS
   3189 
   3190 fi
   3191 fi
   3192 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3193 if test -n "$ac_ct_CC"; then
   3194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3195 $as_echo "$ac_ct_CC" >&6; }
   3196 else
   3197   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3198 $as_echo "no" >&6; }
   3199 fi
   3200 
   3201 
   3202   test -n "$ac_ct_CC" && break
   3203 done
   3204 
   3205   if test "x$ac_ct_CC" = x; then
   3206     CC=""
   3207   else
   3208     case $cross_compiling:$ac_tool_warned in
   3209 yes:)
   3210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3211 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3212 ac_tool_warned=yes ;;
   3213 esac
   3214     CC=$ac_ct_CC
   3215   fi
   3216 fi
   3217 
   3218 fi
   3219 
   3220 
   3221 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3222 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3223 as_fn_error $? "no acceptable C compiler found in \$PATH
   3224 See \`config.log' for more details" "$LINENO" 5; }
   3225 
   3226 # Provide some information about the compiler.
   3227 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3228 set X $ac_compile
   3229 ac_compiler=$2
   3230 for ac_option in --version -v -V -qversion; do
   3231   { { ac_try="$ac_compiler $ac_option >&5"
   3232 case "(($ac_try" in
   3233   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3234   *) ac_try_echo=$ac_try;;
   3235 esac
   3236 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3237 $as_echo "$ac_try_echo"; } >&5
   3238   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3239   ac_status=$?
   3240   if test -s conftest.err; then
   3241     sed '10a\
   3242 ... rest of stderr output deleted ...
   3243          10q' conftest.err >conftest.er1
   3244     cat conftest.er1 >&5
   3245   fi
   3246   rm -f conftest.er1 conftest.err
   3247   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3248   test $ac_status = 0; }
   3249 done
   3250 
   3251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3252 /* end confdefs.h.  */
   3253 
   3254 int
   3255 main ()
   3256 {
   3257 
   3258   ;
   3259   return 0;
   3260 }
   3261 _ACEOF
   3262 ac_clean_files_save=$ac_clean_files
   3263 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3264 # Try to create an executable without -o first, disregard a.out.
   3265 # It will help us diagnose broken compilers, and finding out an intuition
   3266 # of exeext.
   3267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3268 $as_echo_n "checking whether the C compiler works... " >&6; }
   3269 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3270 
   3271 # The possible output files:
   3272 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3273 
   3274 ac_rmfiles=
   3275 for ac_file in $ac_files
   3276 do
   3277   case $ac_file in
   3278     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3279     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3280   esac
   3281 done
   3282 rm -f $ac_rmfiles
   3283 
   3284 if { { ac_try="$ac_link_default"
   3285 case "(($ac_try" in
   3286   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3287   *) ac_try_echo=$ac_try;;
   3288 esac
   3289 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3290 $as_echo "$ac_try_echo"; } >&5
   3291   (eval "$ac_link_default") 2>&5
   3292   ac_status=$?
   3293   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3294   test $ac_status = 0; }; then :
   3295   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3296 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3297 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3298 # so that the user can short-circuit this test for compilers unknown to
   3299 # Autoconf.
   3300 for ac_file in $ac_files ''
   3301 do
   3302   test -f "$ac_file" || continue
   3303   case $ac_file in
   3304     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3305 	;;
   3306     [ab].out )
   3307 	# We found the default executable, but exeext='' is most
   3308 	# certainly right.
   3309 	break;;
   3310     *.* )
   3311 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3312 	then :; else
   3313 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3314 	fi
   3315 	# We set ac_cv_exeext here because the later test for it is not
   3316 	# safe: cross compilers may not add the suffix if given an `-o'
   3317 	# argument, so we may need to know it at that point already.
   3318 	# Even if this section looks crufty: it has the advantage of
   3319 	# actually working.
   3320 	break;;
   3321     * )
   3322 	break;;
   3323   esac
   3324 done
   3325 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3326 
   3327 else
   3328   ac_file=''
   3329 fi
   3330 if test -z "$ac_file"; then :
   3331   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3332 $as_echo "no" >&6; }
   3333 $as_echo "$as_me: failed program was:" >&5
   3334 sed 's/^/| /' conftest.$ac_ext >&5
   3335 
   3336 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3337 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3338 as_fn_error 77 "C compiler cannot create executables
   3339 See \`config.log' for more details" "$LINENO" 5; }
   3340 else
   3341   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3342 $as_echo "yes" >&6; }
   3343 fi
   3344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3345 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3347 $as_echo "$ac_file" >&6; }
   3348 ac_exeext=$ac_cv_exeext
   3349 
   3350 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3351 ac_clean_files=$ac_clean_files_save
   3352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3353 $as_echo_n "checking for suffix of executables... " >&6; }
   3354 if { { ac_try="$ac_link"
   3355 case "(($ac_try" in
   3356   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3357   *) ac_try_echo=$ac_try;;
   3358 esac
   3359 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3360 $as_echo "$ac_try_echo"; } >&5
   3361   (eval "$ac_link") 2>&5
   3362   ac_status=$?
   3363   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3364   test $ac_status = 0; }; then :
   3365   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3366 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3367 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3368 # `rm'.
   3369 for ac_file in conftest.exe conftest conftest.*; do
   3370   test -f "$ac_file" || continue
   3371   case $ac_file in
   3372     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3373     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3374 	  break;;
   3375     * ) break;;
   3376   esac
   3377 done
   3378 else
   3379   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3380 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3381 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3382 See \`config.log' for more details" "$LINENO" 5; }
   3383 fi
   3384 rm -f conftest conftest$ac_cv_exeext
   3385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3386 $as_echo "$ac_cv_exeext" >&6; }
   3387 
   3388 rm -f conftest.$ac_ext
   3389 EXEEXT=$ac_cv_exeext
   3390 ac_exeext=$EXEEXT
   3391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3392 /* end confdefs.h.  */
   3393 #include <stdio.h>
   3394 int
   3395 main ()
   3396 {
   3397 FILE *f = fopen ("conftest.out", "w");
   3398  return ferror (f) || fclose (f) != 0;
   3399 
   3400   ;
   3401   return 0;
   3402 }
   3403 _ACEOF
   3404 ac_clean_files="$ac_clean_files conftest.out"
   3405 # Check that the compiler produces executables we can run.  If not, either
   3406 # the compiler is broken, or we cross compile.
   3407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3408 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3409 if test "$cross_compiling" != yes; then
   3410   { { ac_try="$ac_link"
   3411 case "(($ac_try" in
   3412   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3413   *) ac_try_echo=$ac_try;;
   3414 esac
   3415 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3416 $as_echo "$ac_try_echo"; } >&5
   3417   (eval "$ac_link") 2>&5
   3418   ac_status=$?
   3419   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3420   test $ac_status = 0; }
   3421   if { ac_try='./conftest$ac_cv_exeext'
   3422   { { case "(($ac_try" in
   3423   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3424   *) ac_try_echo=$ac_try;;
   3425 esac
   3426 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3427 $as_echo "$ac_try_echo"; } >&5
   3428   (eval "$ac_try") 2>&5
   3429   ac_status=$?
   3430   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3431   test $ac_status = 0; }; }; then
   3432     cross_compiling=no
   3433   else
   3434     if test "$cross_compiling" = maybe; then
   3435 	cross_compiling=yes
   3436     else
   3437 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3438 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3439 as_fn_error $? "cannot run C compiled programs.
   3440 If you meant to cross compile, use \`--host'.
   3441 See \`config.log' for more details" "$LINENO" 5; }
   3442     fi
   3443   fi
   3444 fi
   3445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3446 $as_echo "$cross_compiling" >&6; }
   3447 
   3448 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3449 ac_clean_files=$ac_clean_files_save
   3450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3451 $as_echo_n "checking for suffix of object files... " >&6; }
   3452 if ${ac_cv_objext+:} false; then :
   3453   $as_echo_n "(cached) " >&6
   3454 else
   3455   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3456 /* end confdefs.h.  */
   3457 
   3458 int
   3459 main ()
   3460 {
   3461 
   3462   ;
   3463   return 0;
   3464 }
   3465 _ACEOF
   3466 rm -f conftest.o conftest.obj
   3467 if { { ac_try="$ac_compile"
   3468 case "(($ac_try" in
   3469   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3470   *) ac_try_echo=$ac_try;;
   3471 esac
   3472 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3473 $as_echo "$ac_try_echo"; } >&5
   3474   (eval "$ac_compile") 2>&5
   3475   ac_status=$?
   3476   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3477   test $ac_status = 0; }; then :
   3478   for ac_file in conftest.o conftest.obj conftest.*; do
   3479   test -f "$ac_file" || continue;
   3480   case $ac_file in
   3481     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3482     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3483        break;;
   3484   esac
   3485 done
   3486 else
   3487   $as_echo "$as_me: failed program was:" >&5
   3488 sed 's/^/| /' conftest.$ac_ext >&5
   3489 
   3490 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3491 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3492 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3493 See \`config.log' for more details" "$LINENO" 5; }
   3494 fi
   3495 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3496 fi
   3497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3498 $as_echo "$ac_cv_objext" >&6; }
   3499 OBJEXT=$ac_cv_objext
   3500 ac_objext=$OBJEXT
   3501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3502 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3503 if ${ac_cv_c_compiler_gnu+:} false; then :
   3504   $as_echo_n "(cached) " >&6
   3505 else
   3506   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3507 /* end confdefs.h.  */
   3508 
   3509 int
   3510 main ()
   3511 {
   3512 #ifndef __GNUC__
   3513        choke me
   3514 #endif
   3515 
   3516   ;
   3517   return 0;
   3518 }
   3519 _ACEOF
   3520 if ac_fn_c_try_compile "$LINENO"; then :
   3521   ac_compiler_gnu=yes
   3522 else
   3523   ac_compiler_gnu=no
   3524 fi
   3525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3526 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3527 
   3528 fi
   3529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3530 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3531 if test $ac_compiler_gnu = yes; then
   3532   GCC=yes
   3533 else
   3534   GCC=
   3535 fi
   3536 ac_test_CFLAGS=${CFLAGS+set}
   3537 ac_save_CFLAGS=$CFLAGS
   3538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3539 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3540 if ${ac_cv_prog_cc_g+:} false; then :
   3541   $as_echo_n "(cached) " >&6
   3542 else
   3543   ac_save_c_werror_flag=$ac_c_werror_flag
   3544    ac_c_werror_flag=yes
   3545    ac_cv_prog_cc_g=no
   3546    CFLAGS="-g"
   3547    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3548 /* end confdefs.h.  */
   3549 
   3550 int
   3551 main ()
   3552 {
   3553 
   3554   ;
   3555   return 0;
   3556 }
   3557 _ACEOF
   3558 if ac_fn_c_try_compile "$LINENO"; then :
   3559   ac_cv_prog_cc_g=yes
   3560 else
   3561   CFLAGS=""
   3562       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3563 /* end confdefs.h.  */
   3564 
   3565 int
   3566 main ()
   3567 {
   3568 
   3569   ;
   3570   return 0;
   3571 }
   3572 _ACEOF
   3573 if ac_fn_c_try_compile "$LINENO"; then :
   3574 
   3575 else
   3576   ac_c_werror_flag=$ac_save_c_werror_flag
   3577 	 CFLAGS="-g"
   3578 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3579 /* end confdefs.h.  */
   3580 
   3581 int
   3582 main ()
   3583 {
   3584 
   3585   ;
   3586   return 0;
   3587 }
   3588 _ACEOF
   3589 if ac_fn_c_try_compile "$LINENO"; then :
   3590   ac_cv_prog_cc_g=yes
   3591 fi
   3592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3593 fi
   3594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3595 fi
   3596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3597    ac_c_werror_flag=$ac_save_c_werror_flag
   3598 fi
   3599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3600 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3601 if test "$ac_test_CFLAGS" = set; then
   3602   CFLAGS=$ac_save_CFLAGS
   3603 elif test $ac_cv_prog_cc_g = yes; then
   3604   if test "$GCC" = yes; then
   3605     CFLAGS="-g -O2"
   3606   else
   3607     CFLAGS="-g"
   3608   fi
   3609 else
   3610   if test "$GCC" = yes; then
   3611     CFLAGS="-O2"
   3612   else
   3613     CFLAGS=
   3614   fi
   3615 fi
   3616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3617 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3618 if ${ac_cv_prog_cc_c89+:} false; then :
   3619   $as_echo_n "(cached) " >&6
   3620 else
   3621   ac_cv_prog_cc_c89=no
   3622 ac_save_CC=$CC
   3623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3624 /* end confdefs.h.  */
   3625 #include <stdarg.h>
   3626 #include <stdio.h>
   3627 #include <sys/types.h>
   3628 #include <sys/stat.h>
   3629 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3630 struct buf { int x; };
   3631 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3632 static char *e (p, i)
   3633      char **p;
   3634      int i;
   3635 {
   3636   return p[i];
   3637 }
   3638 static char *f (char * (*g) (char **, int), char **p, ...)
   3639 {
   3640   char *s;
   3641   va_list v;
   3642   va_start (v,p);
   3643   s = g (p, va_arg (v,int));
   3644   va_end (v);
   3645   return s;
   3646 }
   3647 
   3648 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3649    function prototypes and stuff, but not '\xHH' hex character constants.
   3650    These don't provoke an error unfortunately, instead are silently treated
   3651    as 'x'.  The following induces an error, until -std is added to get
   3652    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3653    array size at least.  It's necessary to write '\x00'==0 to get something
   3654    that's true only with -std.  */
   3655 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3656 
   3657 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3658    inside strings and character constants.  */
   3659 #define FOO(x) 'x'
   3660 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3661 
   3662 int test (int i, double x);
   3663 struct s1 {int (*f) (int a);};
   3664 struct s2 {int (*f) (double a);};
   3665 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3666 int argc;
   3667 char **argv;
   3668 int
   3669 main ()
   3670 {
   3671 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3672   ;
   3673   return 0;
   3674 }
   3675 _ACEOF
   3676 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3677 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3678 do
   3679   CC="$ac_save_CC $ac_arg"
   3680   if ac_fn_c_try_compile "$LINENO"; then :
   3681   ac_cv_prog_cc_c89=$ac_arg
   3682 fi
   3683 rm -f core conftest.err conftest.$ac_objext
   3684   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3685 done
   3686 rm -f conftest.$ac_ext
   3687 CC=$ac_save_CC
   3688 
   3689 fi
   3690 # AC_CACHE_VAL
   3691 case "x$ac_cv_prog_cc_c89" in
   3692   x)
   3693     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3694 $as_echo "none needed" >&6; } ;;
   3695   xno)
   3696     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3697 $as_echo "unsupported" >&6; } ;;
   3698   *)
   3699     CC="$CC $ac_cv_prog_cc_c89"
   3700     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3701 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3702 esac
   3703 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3704 
   3705 fi
   3706 
   3707 ac_ext=c
   3708 ac_cpp='$CPP $CPPFLAGS'
   3709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3712 
   3713 depcc="$CC"   am_compiler_list=
   3714 
   3715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3716 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3717 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3718   $as_echo_n "(cached) " >&6
   3719 else
   3720   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3721   # We make a subdir and do the tests there.  Otherwise we can end up
   3722   # making bogus files that we don't know about and never remove.  For
   3723   # instance it was reported that on HP-UX the gcc test will end up
   3724   # making a dummy file named `D' -- because `-MD' means `put the output
   3725   # in D'.
   3726   rm -rf conftest.dir
   3727   mkdir conftest.dir
   3728   # Copy depcomp to subdir because otherwise we won't find it if we're
   3729   # using a relative directory.
   3730   cp "$am_depcomp" conftest.dir
   3731   cd conftest.dir
   3732   # We will build objects and dependencies in a subdirectory because
   3733   # it helps to detect inapplicable dependency modes.  For instance
   3734   # both Tru64's cc and ICC support -MD to output dependencies as a
   3735   # side effect of compilation, but ICC will put the dependencies in
   3736   # the current directory while Tru64 will put them in the object
   3737   # directory.
   3738   mkdir sub
   3739 
   3740   am_cv_CC_dependencies_compiler_type=none
   3741   if test "$am_compiler_list" = ""; then
   3742      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3743   fi
   3744   am__universal=false
   3745   case " $depcc " in #(
   3746      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3747      esac
   3748 
   3749   for depmode in $am_compiler_list; do
   3750     # Setup a source with many dependencies, because some compilers
   3751     # like to wrap large dependency lists on column 80 (with \), and
   3752     # we should not choose a depcomp mode which is confused by this.
   3753     #
   3754     # We need to recreate these files for each test, as the compiler may
   3755     # overwrite some of them when testing with obscure command lines.
   3756     # This happens at least with the AIX C compiler.
   3757     : > sub/conftest.c
   3758     for i in 1 2 3 4 5 6; do
   3759       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3760       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3761       # Solaris 8's {/usr,}/bin/sh.
   3762       touch sub/conftst$i.h
   3763     done
   3764     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3765 
   3766     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3767     # mode.  It turns out that the SunPro C++ compiler does not properly
   3768     # handle `-M -o', and we need to detect this.  Also, some Intel
   3769     # versions had trouble with output in subdirs
   3770     am__obj=sub/conftest.${OBJEXT-o}
   3771     am__minus_obj="-o $am__obj"
   3772     case $depmode in
   3773     gcc)
   3774       # This depmode causes a compiler race in universal mode.
   3775       test "$am__universal" = false || continue
   3776       ;;
   3777     nosideeffect)
   3778       # after this tag, mechanisms are not by side-effect, so they'll
   3779       # only be used when explicitly requested
   3780       if test "x$enable_dependency_tracking" = xyes; then
   3781 	continue
   3782       else
   3783 	break
   3784       fi
   3785       ;;
   3786     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3787       # This compiler won't grok `-c -o', but also, the minuso test has
   3788       # not run yet.  These depmodes are late enough in the game, and
   3789       # so weak that their functioning should not be impacted.
   3790       am__obj=conftest.${OBJEXT-o}
   3791       am__minus_obj=
   3792       ;;
   3793     none) break ;;
   3794     esac
   3795     if depmode=$depmode \
   3796        source=sub/conftest.c object=$am__obj \
   3797        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3798        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3799          >/dev/null 2>conftest.err &&
   3800        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3801        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3802        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3803        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3804       # icc doesn't choke on unknown options, it will just issue warnings
   3805       # or remarks (even with -Werror).  So we grep stderr for any message
   3806       # that says an option was ignored or not supported.
   3807       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3808       #   icc: Command line warning: ignoring option '-M'; no argument required
   3809       # The diagnosis changed in icc 8.0:
   3810       #   icc: Command line remark: option '-MP' not supported
   3811       if (grep 'ignoring option' conftest.err ||
   3812           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3813         am_cv_CC_dependencies_compiler_type=$depmode
   3814         break
   3815       fi
   3816     fi
   3817   done
   3818 
   3819   cd ..
   3820   rm -rf conftest.dir
   3821 else
   3822   am_cv_CC_dependencies_compiler_type=none
   3823 fi
   3824 
   3825 fi
   3826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3827 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3828 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3829 
   3830  if
   3831   test "x$enable_dependency_tracking" != xno \
   3832   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3833   am__fastdepCC_TRUE=
   3834   am__fastdepCC_FALSE='#'
   3835 else
   3836   am__fastdepCC_TRUE='#'
   3837   am__fastdepCC_FALSE=
   3838 fi
   3839 
   3840 
   3841    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   3842 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3843 if ${ac_cv_prog_cc_c99+:} false; then :
   3844   $as_echo_n "(cached) " >&6
   3845 else
   3846   ac_cv_prog_cc_c99=no
   3847 ac_save_CC=$CC
   3848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3849 /* end confdefs.h.  */
   3850 #include <stdarg.h>
   3851 #include <stdbool.h>
   3852 #include <stdlib.h>
   3853 #include <wchar.h>
   3854 #include <stdio.h>
   3855 
   3856 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3857 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3858 #define showlist(...) puts (#__VA_ARGS__)
   3859 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3860 static void
   3861 test_varargs_macros (void)
   3862 {
   3863   int x = 1234;
   3864   int y = 5678;
   3865   debug ("Flag");
   3866   debug ("X = %d\n", x);
   3867   showlist (The first, second, and third items.);
   3868   report (x>y, "x is %d but y is %d", x, y);
   3869 }
   3870 
   3871 // Check long long types.
   3872 #define BIG64 18446744073709551615ull
   3873 #define BIG32 4294967295ul
   3874 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3875 #if !BIG_OK
   3876   your preprocessor is broken;
   3877 #endif
   3878 #if BIG_OK
   3879 #else
   3880   your preprocessor is broken;
   3881 #endif
   3882 static long long int bignum = -9223372036854775807LL;
   3883 static unsigned long long int ubignum = BIG64;
   3884 
   3885 struct incomplete_array
   3886 {
   3887   int datasize;
   3888   double data[];
   3889 };
   3890 
   3891 struct named_init {
   3892   int number;
   3893   const wchar_t *name;
   3894   double average;
   3895 };
   3896 
   3897 typedef const char *ccp;
   3898 
   3899 static inline int
   3900 test_restrict (ccp restrict text)
   3901 {
   3902   // See if C++-style comments work.
   3903   // Iterate through items via the restricted pointer.
   3904   // Also check for declarations in for loops.
   3905   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3906     continue;
   3907   return 0;
   3908 }
   3909 
   3910 // Check varargs and va_copy.
   3911 static void
   3912 test_varargs (const char *format, ...)
   3913 {
   3914   va_list args;
   3915   va_start (args, format);
   3916   va_list args_copy;
   3917   va_copy (args_copy, args);
   3918 
   3919   const char *str;
   3920   int number;
   3921   float fnumber;
   3922 
   3923   while (*format)
   3924     {
   3925       switch (*format++)
   3926 	{
   3927 	case 's': // string
   3928 	  str = va_arg (args_copy, const char *);
   3929 	  break;
   3930 	case 'd': // int
   3931 	  number = va_arg (args_copy, int);
   3932 	  break;
   3933 	case 'f': // float
   3934 	  fnumber = va_arg (args_copy, double);
   3935 	  break;
   3936 	default:
   3937 	  break;
   3938 	}
   3939     }
   3940   va_end (args_copy);
   3941   va_end (args);
   3942 }
   3943 
   3944 int
   3945 main ()
   3946 {
   3947 
   3948   // Check bool.
   3949   _Bool success = false;
   3950 
   3951   // Check restrict.
   3952   if (test_restrict ("String literal") == 0)
   3953     success = true;
   3954   char *restrict newvar = "Another string";
   3955 
   3956   // Check varargs.
   3957   test_varargs ("s, d' f .", "string", 65, 34.234);
   3958   test_varargs_macros ();
   3959 
   3960   // Check flexible array members.
   3961   struct incomplete_array *ia =
   3962     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   3963   ia->datasize = 10;
   3964   for (int i = 0; i < ia->datasize; ++i)
   3965     ia->data[i] = i * 1.234;
   3966 
   3967   // Check named initializers.
   3968   struct named_init ni = {
   3969     .number = 34,
   3970     .name = L"Test wide string",
   3971     .average = 543.34343,
   3972   };
   3973 
   3974   ni.number = 58;
   3975 
   3976   int dynamic_array[ni.number];
   3977   dynamic_array[ni.number - 1] = 543;
   3978 
   3979   // work around unused variable warnings
   3980   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   3981 	  || dynamic_array[ni.number - 1] != 543);
   3982 
   3983   ;
   3984   return 0;
   3985 }
   3986 _ACEOF
   3987 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   3988 do
   3989   CC="$ac_save_CC $ac_arg"
   3990   if ac_fn_c_try_compile "$LINENO"; then :
   3991   ac_cv_prog_cc_c99=$ac_arg
   3992 fi
   3993 rm -f core conftest.err conftest.$ac_objext
   3994   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3995 done
   3996 rm -f conftest.$ac_ext
   3997 CC=$ac_save_CC
   3998 
   3999 fi
   4000 # AC_CACHE_VAL
   4001 case "x$ac_cv_prog_cc_c99" in
   4002   x)
   4003     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4004 $as_echo "none needed" >&6; } ;;
   4005   xno)
   4006     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4007 $as_echo "unsupported" >&6; } ;;
   4008   *)
   4009     CC="$CC $ac_cv_prog_cc_c99"
   4010     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4011 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   4012 esac
   4013 if test "x$ac_cv_prog_cc_c99" != xno; then :
   4014 
   4015 fi
   4016 
   4017 
   4018 
   4019 ac_ext=c
   4020 ac_cpp='$CPP $CPPFLAGS'
   4021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4025 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4026 # On Suns, sometimes $CPP names a directory.
   4027 if test -n "$CPP" && test -d "$CPP"; then
   4028   CPP=
   4029 fi
   4030 if test -z "$CPP"; then
   4031   if ${ac_cv_prog_CPP+:} false; then :
   4032   $as_echo_n "(cached) " >&6
   4033 else
   4034       # Double quotes because CPP needs to be expanded
   4035     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4036     do
   4037       ac_preproc_ok=false
   4038 for ac_c_preproc_warn_flag in '' yes
   4039 do
   4040   # Use a header file that comes with gcc, so configuring glibc
   4041   # with a fresh cross-compiler works.
   4042   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4043   # <limits.h> exists even on freestanding compilers.
   4044   # On the NeXT, cc -E runs the code through the compiler's parser,
   4045   # not just through cpp. "Syntax error" is here to catch this case.
   4046   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4047 /* end confdefs.h.  */
   4048 #ifdef __STDC__
   4049 # include <limits.h>
   4050 #else
   4051 # include <assert.h>
   4052 #endif
   4053 		     Syntax error
   4054 _ACEOF
   4055 if ac_fn_c_try_cpp "$LINENO"; then :
   4056 
   4057 else
   4058   # Broken: fails on valid input.
   4059 continue
   4060 fi
   4061 rm -f conftest.err conftest.i conftest.$ac_ext
   4062 
   4063   # OK, works on sane cases.  Now check whether nonexistent headers
   4064   # can be detected and how.
   4065   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4066 /* end confdefs.h.  */
   4067 #include <ac_nonexistent.h>
   4068 _ACEOF
   4069 if ac_fn_c_try_cpp "$LINENO"; then :
   4070   # Broken: success on invalid input.
   4071 continue
   4072 else
   4073   # Passes both tests.
   4074 ac_preproc_ok=:
   4075 break
   4076 fi
   4077 rm -f conftest.err conftest.i conftest.$ac_ext
   4078 
   4079 done
   4080 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4081 rm -f conftest.i conftest.err conftest.$ac_ext
   4082 if $ac_preproc_ok; then :
   4083   break
   4084 fi
   4085 
   4086     done
   4087     ac_cv_prog_CPP=$CPP
   4088 
   4089 fi
   4090   CPP=$ac_cv_prog_CPP
   4091 else
   4092   ac_cv_prog_CPP=$CPP
   4093 fi
   4094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4095 $as_echo "$CPP" >&6; }
   4096 ac_preproc_ok=false
   4097 for ac_c_preproc_warn_flag in '' yes
   4098 do
   4099   # Use a header file that comes with gcc, so configuring glibc
   4100   # with a fresh cross-compiler works.
   4101   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4102   # <limits.h> exists even on freestanding compilers.
   4103   # On the NeXT, cc -E runs the code through the compiler's parser,
   4104   # not just through cpp. "Syntax error" is here to catch this case.
   4105   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4106 /* end confdefs.h.  */
   4107 #ifdef __STDC__
   4108 # include <limits.h>
   4109 #else
   4110 # include <assert.h>
   4111 #endif
   4112 		     Syntax error
   4113 _ACEOF
   4114 if ac_fn_c_try_cpp "$LINENO"; then :
   4115 
   4116 else
   4117   # Broken: fails on valid input.
   4118 continue
   4119 fi
   4120 rm -f conftest.err conftest.i conftest.$ac_ext
   4121 
   4122   # OK, works on sane cases.  Now check whether nonexistent headers
   4123   # can be detected and how.
   4124   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4125 /* end confdefs.h.  */
   4126 #include <ac_nonexistent.h>
   4127 _ACEOF
   4128 if ac_fn_c_try_cpp "$LINENO"; then :
   4129   # Broken: success on invalid input.
   4130 continue
   4131 else
   4132   # Passes both tests.
   4133 ac_preproc_ok=:
   4134 break
   4135 fi
   4136 rm -f conftest.err conftest.i conftest.$ac_ext
   4137 
   4138 done
   4139 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4140 rm -f conftest.i conftest.err conftest.$ac_ext
   4141 if $ac_preproc_ok; then :
   4142 
   4143 else
   4144   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4145 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4146 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4147 See \`config.log' for more details" "$LINENO" 5; }
   4148 fi
   4149 
   4150 ac_ext=c
   4151 ac_cpp='$CPP $CPPFLAGS'
   4152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4155 
   4156 
   4157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4158 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4159 if ${ac_cv_path_GREP+:} false; then :
   4160   $as_echo_n "(cached) " >&6
   4161 else
   4162   if test -z "$GREP"; then
   4163   ac_path_GREP_found=false
   4164   # Loop through the user's path and test for each of PROGNAME-LIST
   4165   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4166 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4167 do
   4168   IFS=$as_save_IFS
   4169   test -z "$as_dir" && as_dir=.
   4170     for ac_prog in grep ggrep; do
   4171     for ac_exec_ext in '' $ac_executable_extensions; do
   4172       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4173       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4174 # Check for GNU ac_path_GREP and select it if it is found.
   4175   # Check for GNU $ac_path_GREP
   4176 case `"$ac_path_GREP" --version 2>&1` in
   4177 *GNU*)
   4178   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4179 *)
   4180   ac_count=0
   4181   $as_echo_n 0123456789 >"conftest.in"
   4182   while :
   4183   do
   4184     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4185     mv "conftest.tmp" "conftest.in"
   4186     cp "conftest.in" "conftest.nl"
   4187     $as_echo 'GREP' >> "conftest.nl"
   4188     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4189     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4190     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4191     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4192       # Best one so far, save it but keep looking for a better one
   4193       ac_cv_path_GREP="$ac_path_GREP"
   4194       ac_path_GREP_max=$ac_count
   4195     fi
   4196     # 10*(2^10) chars as input seems more than enough
   4197     test $ac_count -gt 10 && break
   4198   done
   4199   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4200 esac
   4201 
   4202       $ac_path_GREP_found && break 3
   4203     done
   4204   done
   4205   done
   4206 IFS=$as_save_IFS
   4207   if test -z "$ac_cv_path_GREP"; then
   4208     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4209   fi
   4210 else
   4211   ac_cv_path_GREP=$GREP
   4212 fi
   4213 
   4214 fi
   4215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4216 $as_echo "$ac_cv_path_GREP" >&6; }
   4217  GREP="$ac_cv_path_GREP"
   4218 
   4219 
   4220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4221 $as_echo_n "checking for egrep... " >&6; }
   4222 if ${ac_cv_path_EGREP+:} false; then :
   4223   $as_echo_n "(cached) " >&6
   4224 else
   4225   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4226    then ac_cv_path_EGREP="$GREP -E"
   4227    else
   4228      if test -z "$EGREP"; then
   4229   ac_path_EGREP_found=false
   4230   # Loop through the user's path and test for each of PROGNAME-LIST
   4231   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4232 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4233 do
   4234   IFS=$as_save_IFS
   4235   test -z "$as_dir" && as_dir=.
   4236     for ac_prog in egrep; do
   4237     for ac_exec_ext in '' $ac_executable_extensions; do
   4238       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4239       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4240 # Check for GNU ac_path_EGREP and select it if it is found.
   4241   # Check for GNU $ac_path_EGREP
   4242 case `"$ac_path_EGREP" --version 2>&1` in
   4243 *GNU*)
   4244   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4245 *)
   4246   ac_count=0
   4247   $as_echo_n 0123456789 >"conftest.in"
   4248   while :
   4249   do
   4250     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4251     mv "conftest.tmp" "conftest.in"
   4252     cp "conftest.in" "conftest.nl"
   4253     $as_echo 'EGREP' >> "conftest.nl"
   4254     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4255     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4256     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4257     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4258       # Best one so far, save it but keep looking for a better one
   4259       ac_cv_path_EGREP="$ac_path_EGREP"
   4260       ac_path_EGREP_max=$ac_count
   4261     fi
   4262     # 10*(2^10) chars as input seems more than enough
   4263     test $ac_count -gt 10 && break
   4264   done
   4265   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4266 esac
   4267 
   4268       $ac_path_EGREP_found && break 3
   4269     done
   4270   done
   4271   done
   4272 IFS=$as_save_IFS
   4273   if test -z "$ac_cv_path_EGREP"; then
   4274     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4275   fi
   4276 else
   4277   ac_cv_path_EGREP=$EGREP
   4278 fi
   4279 
   4280    fi
   4281 fi
   4282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4283 $as_echo "$ac_cv_path_EGREP" >&6; }
   4284  EGREP="$ac_cv_path_EGREP"
   4285 
   4286 
   4287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4288 $as_echo_n "checking for ANSI C header files... " >&6; }
   4289 if ${ac_cv_header_stdc+:} false; then :
   4290   $as_echo_n "(cached) " >&6
   4291 else
   4292   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4293 /* end confdefs.h.  */
   4294 #include <stdlib.h>
   4295 #include <stdarg.h>
   4296 #include <string.h>
   4297 #include <float.h>
   4298 
   4299 int
   4300 main ()
   4301 {
   4302 
   4303   ;
   4304   return 0;
   4305 }
   4306 _ACEOF
   4307 if ac_fn_c_try_compile "$LINENO"; then :
   4308   ac_cv_header_stdc=yes
   4309 else
   4310   ac_cv_header_stdc=no
   4311 fi
   4312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4313 
   4314 if test $ac_cv_header_stdc = yes; then
   4315   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4316   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4317 /* end confdefs.h.  */
   4318 #include <string.h>
   4319 
   4320 _ACEOF
   4321 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4322   $EGREP "memchr" >/dev/null 2>&1; then :
   4323 
   4324 else
   4325   ac_cv_header_stdc=no
   4326 fi
   4327 rm -f conftest*
   4328 
   4329 fi
   4330 
   4331 if test $ac_cv_header_stdc = yes; then
   4332   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4333   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4334 /* end confdefs.h.  */
   4335 #include <stdlib.h>
   4336 
   4337 _ACEOF
   4338 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4339   $EGREP "free" >/dev/null 2>&1; then :
   4340 
   4341 else
   4342   ac_cv_header_stdc=no
   4343 fi
   4344 rm -f conftest*
   4345 
   4346 fi
   4347 
   4348 if test $ac_cv_header_stdc = yes; then
   4349   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4350   if test "$cross_compiling" = yes; then :
   4351   :
   4352 else
   4353   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4354 /* end confdefs.h.  */
   4355 #include <ctype.h>
   4356 #include <stdlib.h>
   4357 #if ((' ' & 0x0FF) == 0x020)
   4358 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4359 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4360 #else
   4361 # define ISLOWER(c) \
   4362 		   (('a' <= (c) && (c) <= 'i') \
   4363 		     || ('j' <= (c) && (c) <= 'r') \
   4364 		     || ('s' <= (c) && (c) <= 'z'))
   4365 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4366 #endif
   4367 
   4368 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4369 int
   4370 main ()
   4371 {
   4372   int i;
   4373   for (i = 0; i < 256; i++)
   4374     if (XOR (islower (i), ISLOWER (i))
   4375 	|| toupper (i) != TOUPPER (i))
   4376       return 2;
   4377   return 0;
   4378 }
   4379 _ACEOF
   4380 if ac_fn_c_try_run "$LINENO"; then :
   4381 
   4382 else
   4383   ac_cv_header_stdc=no
   4384 fi
   4385 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4386   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4387 fi
   4388 
   4389 fi
   4390 fi
   4391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4392 $as_echo "$ac_cv_header_stdc" >&6; }
   4393 if test $ac_cv_header_stdc = yes; then
   4394 
   4395 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4396 
   4397 fi
   4398 
   4399 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4400 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4401 		  inttypes.h stdint.h unistd.h
   4402 do :
   4403   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4404 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4405 "
   4406 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4407   cat >>confdefs.h <<_ACEOF
   4408 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4409 _ACEOF
   4410 
   4411 fi
   4412 
   4413 done
   4414 
   4415 
   4416 
   4417 
   4418 
   4419 
   4420 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4421 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4422   CLANGCC="yes"
   4423 else
   4424   CLANGCC="no"
   4425 fi
   4426 
   4427 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4428 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4429   INTELCC="yes"
   4430 else
   4431   INTELCC="no"
   4432 fi
   4433 
   4434 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4435 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4436   SUNCC="yes"
   4437 else
   4438   SUNCC="no"
   4439 fi
   4440 
   4441 
   4442 
   4443 
   4444 
   4445 
   4446 
   4447 
   4448 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4449 	if test -n "$ac_tool_prefix"; then
   4450   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4451 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4453 $as_echo_n "checking for $ac_word... " >&6; }
   4454 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4455   $as_echo_n "(cached) " >&6
   4456 else
   4457   case $PKG_CONFIG in
   4458   [\\/]* | ?:[\\/]*)
   4459   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4460   ;;
   4461   *)
   4462   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4463 for as_dir in $PATH
   4464 do
   4465   IFS=$as_save_IFS
   4466   test -z "$as_dir" && as_dir=.
   4467     for ac_exec_ext in '' $ac_executable_extensions; do
   4468   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4469     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4470     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4471     break 2
   4472   fi
   4473 done
   4474   done
   4475 IFS=$as_save_IFS
   4476 
   4477   ;;
   4478 esac
   4479 fi
   4480 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4481 if test -n "$PKG_CONFIG"; then
   4482   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4483 $as_echo "$PKG_CONFIG" >&6; }
   4484 else
   4485   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4486 $as_echo "no" >&6; }
   4487 fi
   4488 
   4489 
   4490 fi
   4491 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4492   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4493   # Extract the first word of "pkg-config", so it can be a program name with args.
   4494 set dummy pkg-config; ac_word=$2
   4495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4496 $as_echo_n "checking for $ac_word... " >&6; }
   4497 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4498   $as_echo_n "(cached) " >&6
   4499 else
   4500   case $ac_pt_PKG_CONFIG in
   4501   [\\/]* | ?:[\\/]*)
   4502   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4503   ;;
   4504   *)
   4505   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4506 for as_dir in $PATH
   4507 do
   4508   IFS=$as_save_IFS
   4509   test -z "$as_dir" && as_dir=.
   4510     for ac_exec_ext in '' $ac_executable_extensions; do
   4511   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4512     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4513     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4514     break 2
   4515   fi
   4516 done
   4517   done
   4518 IFS=$as_save_IFS
   4519 
   4520   ;;
   4521 esac
   4522 fi
   4523 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4524 if test -n "$ac_pt_PKG_CONFIG"; then
   4525   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4526 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4527 else
   4528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4529 $as_echo "no" >&6; }
   4530 fi
   4531 
   4532   if test "x$ac_pt_PKG_CONFIG" = x; then
   4533     PKG_CONFIG=""
   4534   else
   4535     case $cross_compiling:$ac_tool_warned in
   4536 yes:)
   4537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4538 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4539 ac_tool_warned=yes ;;
   4540 esac
   4541     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4542   fi
   4543 else
   4544   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4545 fi
   4546 
   4547 fi
   4548 if test -n "$PKG_CONFIG"; then
   4549 	_pkg_min_version=0.9.0
   4550 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4551 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4552 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4553 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4554 $as_echo "yes" >&6; }
   4555 	else
   4556 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4557 $as_echo "no" >&6; }
   4558 		PKG_CONFIG=""
   4559 	fi
   4560 fi
   4561 # Make sure we can run config.sub.
   4562 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4563   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4564 
   4565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4566 $as_echo_n "checking build system type... " >&6; }
   4567 if ${ac_cv_build+:} false; then :
   4568   $as_echo_n "(cached) " >&6
   4569 else
   4570   ac_build_alias=$build_alias
   4571 test "x$ac_build_alias" = x &&
   4572   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4573 test "x$ac_build_alias" = x &&
   4574   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4575 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4576   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4577 
   4578 fi
   4579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4580 $as_echo "$ac_cv_build" >&6; }
   4581 case $ac_cv_build in
   4582 *-*-*) ;;
   4583 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4584 esac
   4585 build=$ac_cv_build
   4586 ac_save_IFS=$IFS; IFS='-'
   4587 set x $ac_cv_build
   4588 shift
   4589 build_cpu=$1
   4590 build_vendor=$2
   4591 shift; shift
   4592 # Remember, the first character of IFS is used to create $*,
   4593 # except with old shells:
   4594 build_os=$*
   4595 IFS=$ac_save_IFS
   4596 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4597 
   4598 
   4599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4600 $as_echo_n "checking host system type... " >&6; }
   4601 if ${ac_cv_host+:} false; then :
   4602   $as_echo_n "(cached) " >&6
   4603 else
   4604   if test "x$host_alias" = x; then
   4605   ac_cv_host=$ac_cv_build
   4606 else
   4607   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4608     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4609 fi
   4610 
   4611 fi
   4612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4613 $as_echo "$ac_cv_host" >&6; }
   4614 case $ac_cv_host in
   4615 *-*-*) ;;
   4616 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4617 esac
   4618 host=$ac_cv_host
   4619 ac_save_IFS=$IFS; IFS='-'
   4620 set x $ac_cv_host
   4621 shift
   4622 host_cpu=$1
   4623 host_vendor=$2
   4624 shift; shift
   4625 # Remember, the first character of IFS is used to create $*,
   4626 # except with old shells:
   4627 host_os=$*
   4628 IFS=$ac_save_IFS
   4629 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4630 
   4631 
   4632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4633 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4634 if ${ac_cv_path_SED+:} false; then :
   4635   $as_echo_n "(cached) " >&6
   4636 else
   4637             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4638      for ac_i in 1 2 3 4 5 6 7; do
   4639        ac_script="$ac_script$as_nl$ac_script"
   4640      done
   4641      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4642      { ac_script=; unset ac_script;}
   4643      if test -z "$SED"; then
   4644   ac_path_SED_found=false
   4645   # Loop through the user's path and test for each of PROGNAME-LIST
   4646   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4647 for as_dir in $PATH
   4648 do
   4649   IFS=$as_save_IFS
   4650   test -z "$as_dir" && as_dir=.
   4651     for ac_prog in sed gsed; do
   4652     for ac_exec_ext in '' $ac_executable_extensions; do
   4653       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4654       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   4655 # Check for GNU ac_path_SED and select it if it is found.
   4656   # Check for GNU $ac_path_SED
   4657 case `"$ac_path_SED" --version 2>&1` in
   4658 *GNU*)
   4659   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4660 *)
   4661   ac_count=0
   4662   $as_echo_n 0123456789 >"conftest.in"
   4663   while :
   4664   do
   4665     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4666     mv "conftest.tmp" "conftest.in"
   4667     cp "conftest.in" "conftest.nl"
   4668     $as_echo '' >> "conftest.nl"
   4669     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4670     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4671     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4672     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4673       # Best one so far, save it but keep looking for a better one
   4674       ac_cv_path_SED="$ac_path_SED"
   4675       ac_path_SED_max=$ac_count
   4676     fi
   4677     # 10*(2^10) chars as input seems more than enough
   4678     test $ac_count -gt 10 && break
   4679   done
   4680   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4681 esac
   4682 
   4683       $ac_path_SED_found && break 3
   4684     done
   4685   done
   4686   done
   4687 IFS=$as_save_IFS
   4688   if test -z "$ac_cv_path_SED"; then
   4689     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4690   fi
   4691 else
   4692   ac_cv_path_SED=$SED
   4693 fi
   4694 
   4695 fi
   4696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4697 $as_echo "$ac_cv_path_SED" >&6; }
   4698  SED="$ac_cv_path_SED"
   4699   rm -f conftest.sed
   4700 
   4701 
   4702 
   4703 
   4704 
   4705 
   4706 # Check whether --enable-selective-werror was given.
   4707 if test "${enable_selective_werror+set}" = set; then :
   4708   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4709 else
   4710   SELECTIVE_WERROR=yes
   4711 fi
   4712 
   4713 
   4714 
   4715 
   4716 
   4717 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4718 if test "x$SUNCC" = "xyes"; then
   4719     BASE_CFLAGS="-v"
   4720 else
   4721     BASE_CFLAGS=""
   4722 fi
   4723 
   4724 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4725 
   4726 
   4727 
   4728 
   4729 
   4730 
   4731 
   4732 
   4733 
   4734 
   4735 
   4736 
   4737 
   4738 xorg_testset_save_CFLAGS="$CFLAGS"
   4739 
   4740 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4741 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4742 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4743 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4744 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4745   $as_echo_n "(cached) " >&6
   4746 else
   4747   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4748 /* end confdefs.h.  */
   4749 int i;
   4750 _ACEOF
   4751 if ac_fn_c_try_compile "$LINENO"; then :
   4752   xorg_cv_cc_flag_unknown_warning_option=yes
   4753 else
   4754   xorg_cv_cc_flag_unknown_warning_option=no
   4755 fi
   4756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4757 fi
   4758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4759 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4760 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4761 	CFLAGS="$xorg_testset_save_CFLAGS"
   4762 fi
   4763 
   4764 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4765 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4766 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4767 	fi
   4768 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4769 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4770 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4771 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4772   $as_echo_n "(cached) " >&6
   4773 else
   4774   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4775 /* end confdefs.h.  */
   4776 int i;
   4777 _ACEOF
   4778 if ac_fn_c_try_compile "$LINENO"; then :
   4779   xorg_cv_cc_flag_unused_command_line_argument=yes
   4780 else
   4781   xorg_cv_cc_flag_unused_command_line_argument=no
   4782 fi
   4783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4784 fi
   4785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4786 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4787 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4788 	CFLAGS="$xorg_testset_save_CFLAGS"
   4789 fi
   4790 
   4791 found="no"
   4792 
   4793 	if test $found = "no" ; then
   4794 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4795 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4796 		fi
   4797 
   4798 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4799 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4800 		fi
   4801 
   4802 		CFLAGS="$CFLAGS -Wall"
   4803 
   4804 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4805 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4806 		cacheid=xorg_cv_cc_flag__Wall
   4807 		if eval \${$cacheid+:} false; then :
   4808   $as_echo_n "(cached) " >&6
   4809 else
   4810   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4811 /* end confdefs.h.  */
   4812 int i;
   4813 int
   4814 main ()
   4815 {
   4816 
   4817   ;
   4818   return 0;
   4819 }
   4820 _ACEOF
   4821 if ac_fn_c_try_link "$LINENO"; then :
   4822   eval $cacheid=yes
   4823 else
   4824   eval $cacheid=no
   4825 fi
   4826 rm -f core conftest.err conftest.$ac_objext \
   4827     conftest$ac_exeext conftest.$ac_ext
   4828 fi
   4829 
   4830 
   4831 		CFLAGS="$xorg_testset_save_CFLAGS"
   4832 
   4833 		eval supported=\$$cacheid
   4834 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4835 $as_echo "$supported" >&6; }
   4836 		if test "$supported" = "yes" ; then
   4837 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4838 			found="yes"
   4839 		fi
   4840 	fi
   4841 
   4842 
   4843 
   4844 
   4845 
   4846 
   4847 
   4848 
   4849 
   4850 
   4851 
   4852 
   4853 
   4854 
   4855 
   4856 xorg_testset_save_CFLAGS="$CFLAGS"
   4857 
   4858 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4859 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4860 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4861 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4862 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4863   $as_echo_n "(cached) " >&6
   4864 else
   4865   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4866 /* end confdefs.h.  */
   4867 int i;
   4868 _ACEOF
   4869 if ac_fn_c_try_compile "$LINENO"; then :
   4870   xorg_cv_cc_flag_unknown_warning_option=yes
   4871 else
   4872   xorg_cv_cc_flag_unknown_warning_option=no
   4873 fi
   4874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4875 fi
   4876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4877 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4878 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4879 	CFLAGS="$xorg_testset_save_CFLAGS"
   4880 fi
   4881 
   4882 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4883 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4884 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4885 	fi
   4886 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4887 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4888 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4889 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4890   $as_echo_n "(cached) " >&6
   4891 else
   4892   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4893 /* end confdefs.h.  */
   4894 int i;
   4895 _ACEOF
   4896 if ac_fn_c_try_compile "$LINENO"; then :
   4897   xorg_cv_cc_flag_unused_command_line_argument=yes
   4898 else
   4899   xorg_cv_cc_flag_unused_command_line_argument=no
   4900 fi
   4901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4902 fi
   4903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4904 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4905 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4906 	CFLAGS="$xorg_testset_save_CFLAGS"
   4907 fi
   4908 
   4909 found="no"
   4910 
   4911 	if test $found = "no" ; then
   4912 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4913 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4914 		fi
   4915 
   4916 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4917 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4918 		fi
   4919 
   4920 		CFLAGS="$CFLAGS -Wpointer-arith"
   4921 
   4922 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   4923 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   4924 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   4925 		if eval \${$cacheid+:} false; then :
   4926   $as_echo_n "(cached) " >&6
   4927 else
   4928   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4929 /* end confdefs.h.  */
   4930 int i;
   4931 int
   4932 main ()
   4933 {
   4934 
   4935   ;
   4936   return 0;
   4937 }
   4938 _ACEOF
   4939 if ac_fn_c_try_link "$LINENO"; then :
   4940   eval $cacheid=yes
   4941 else
   4942   eval $cacheid=no
   4943 fi
   4944 rm -f core conftest.err conftest.$ac_objext \
   4945     conftest$ac_exeext conftest.$ac_ext
   4946 fi
   4947 
   4948 
   4949 		CFLAGS="$xorg_testset_save_CFLAGS"
   4950 
   4951 		eval supported=\$$cacheid
   4952 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4953 $as_echo "$supported" >&6; }
   4954 		if test "$supported" = "yes" ; then
   4955 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   4956 			found="yes"
   4957 		fi
   4958 	fi
   4959 
   4960 
   4961 
   4962 
   4963 
   4964 
   4965 
   4966 
   4967 
   4968 
   4969 
   4970 
   4971 
   4972 
   4973 
   4974 xorg_testset_save_CFLAGS="$CFLAGS"
   4975 
   4976 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4977 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4978 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4979 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4980 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4981   $as_echo_n "(cached) " >&6
   4982 else
   4983   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4984 /* end confdefs.h.  */
   4985 int i;
   4986 _ACEOF
   4987 if ac_fn_c_try_compile "$LINENO"; then :
   4988   xorg_cv_cc_flag_unknown_warning_option=yes
   4989 else
   4990   xorg_cv_cc_flag_unknown_warning_option=no
   4991 fi
   4992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4993 fi
   4994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4995 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4996 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4997 	CFLAGS="$xorg_testset_save_CFLAGS"
   4998 fi
   4999 
   5000 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5001 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5002 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5003 	fi
   5004 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5005 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5006 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5007 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5008   $as_echo_n "(cached) " >&6
   5009 else
   5010   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5011 /* end confdefs.h.  */
   5012 int i;
   5013 _ACEOF
   5014 if ac_fn_c_try_compile "$LINENO"; then :
   5015   xorg_cv_cc_flag_unused_command_line_argument=yes
   5016 else
   5017   xorg_cv_cc_flag_unused_command_line_argument=no
   5018 fi
   5019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5020 fi
   5021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5022 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5023 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5024 	CFLAGS="$xorg_testset_save_CFLAGS"
   5025 fi
   5026 
   5027 found="no"
   5028 
   5029 	if test $found = "no" ; then
   5030 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5031 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5032 		fi
   5033 
   5034 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5035 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5036 		fi
   5037 
   5038 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5039 
   5040 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5041 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   5042 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5043 		if eval \${$cacheid+:} false; then :
   5044   $as_echo_n "(cached) " >&6
   5045 else
   5046   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5047 /* end confdefs.h.  */
   5048 int i;
   5049 int
   5050 main ()
   5051 {
   5052 
   5053   ;
   5054   return 0;
   5055 }
   5056 _ACEOF
   5057 if ac_fn_c_try_link "$LINENO"; then :
   5058   eval $cacheid=yes
   5059 else
   5060   eval $cacheid=no
   5061 fi
   5062 rm -f core conftest.err conftest.$ac_objext \
   5063     conftest$ac_exeext conftest.$ac_ext
   5064 fi
   5065 
   5066 
   5067 		CFLAGS="$xorg_testset_save_CFLAGS"
   5068 
   5069 		eval supported=\$$cacheid
   5070 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5071 $as_echo "$supported" >&6; }
   5072 		if test "$supported" = "yes" ; then
   5073 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5074 			found="yes"
   5075 		fi
   5076 	fi
   5077 
   5078 
   5079 
   5080 
   5081 
   5082 
   5083 
   5084 
   5085 
   5086 
   5087 
   5088 
   5089 
   5090 
   5091 
   5092 xorg_testset_save_CFLAGS="$CFLAGS"
   5093 
   5094 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5095 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5096 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5097 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5098 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5099   $as_echo_n "(cached) " >&6
   5100 else
   5101   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5102 /* end confdefs.h.  */
   5103 int i;
   5104 _ACEOF
   5105 if ac_fn_c_try_compile "$LINENO"; then :
   5106   xorg_cv_cc_flag_unknown_warning_option=yes
   5107 else
   5108   xorg_cv_cc_flag_unknown_warning_option=no
   5109 fi
   5110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5111 fi
   5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5113 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5114 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5115 	CFLAGS="$xorg_testset_save_CFLAGS"
   5116 fi
   5117 
   5118 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5119 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5120 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5121 	fi
   5122 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5123 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5124 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5125 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5126   $as_echo_n "(cached) " >&6
   5127 else
   5128   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5129 /* end confdefs.h.  */
   5130 int i;
   5131 _ACEOF
   5132 if ac_fn_c_try_compile "$LINENO"; then :
   5133   xorg_cv_cc_flag_unused_command_line_argument=yes
   5134 else
   5135   xorg_cv_cc_flag_unused_command_line_argument=no
   5136 fi
   5137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5138 fi
   5139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5140 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5141 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5142 	CFLAGS="$xorg_testset_save_CFLAGS"
   5143 fi
   5144 
   5145 found="no"
   5146 
   5147 	if test $found = "no" ; then
   5148 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5149 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5150 		fi
   5151 
   5152 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5153 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5154 		fi
   5155 
   5156 		CFLAGS="$CFLAGS -Wformat=2"
   5157 
   5158 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5159 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5160 		cacheid=`$as_echo "xorg_cv_cc_flag_-Wformat=2" | $as_tr_sh`
   5161 		if eval \${$cacheid+:} false; then :
   5162   $as_echo_n "(cached) " >&6
   5163 else
   5164   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5165 /* end confdefs.h.  */
   5166 int i;
   5167 int
   5168 main ()
   5169 {
   5170 
   5171   ;
   5172   return 0;
   5173 }
   5174 _ACEOF
   5175 if ac_fn_c_try_link "$LINENO"; then :
   5176   eval $cacheid=yes
   5177 else
   5178   eval $cacheid=no
   5179 fi
   5180 rm -f core conftest.err conftest.$ac_objext \
   5181     conftest$ac_exeext conftest.$ac_ext
   5182 fi
   5183 
   5184 
   5185 		CFLAGS="$xorg_testset_save_CFLAGS"
   5186 
   5187 		eval supported=\$$cacheid
   5188 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5189 $as_echo "$supported" >&6; }
   5190 		if test "$supported" = "yes" ; then
   5191 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5192 			found="yes"
   5193 		fi
   5194 	fi
   5195 
   5196 	if test $found = "no" ; then
   5197 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5198 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5199 		fi
   5200 
   5201 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5202 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5203 		fi
   5204 
   5205 		CFLAGS="$CFLAGS -Wformat"
   5206 
   5207 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5208 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5209 		cacheid=xorg_cv_cc_flag__Wformat
   5210 		if eval \${$cacheid+:} false; then :
   5211   $as_echo_n "(cached) " >&6
   5212 else
   5213   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5214 /* end confdefs.h.  */
   5215 int i;
   5216 int
   5217 main ()
   5218 {
   5219 
   5220   ;
   5221   return 0;
   5222 }
   5223 _ACEOF
   5224 if ac_fn_c_try_link "$LINENO"; then :
   5225   eval $cacheid=yes
   5226 else
   5227   eval $cacheid=no
   5228 fi
   5229 rm -f core conftest.err conftest.$ac_objext \
   5230     conftest$ac_exeext conftest.$ac_ext
   5231 fi
   5232 
   5233 
   5234 		CFLAGS="$xorg_testset_save_CFLAGS"
   5235 
   5236 		eval supported=\$$cacheid
   5237 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5238 $as_echo "$supported" >&6; }
   5239 		if test "$supported" = "yes" ; then
   5240 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5241 			found="yes"
   5242 		fi
   5243 	fi
   5244 
   5245 
   5246 
   5247 
   5248 
   5249 
   5250 
   5251 
   5252 
   5253 
   5254 
   5255 
   5256 
   5257 
   5258 
   5259 
   5260 
   5261 xorg_testset_save_CFLAGS="$CFLAGS"
   5262 
   5263 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5264 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5265 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5266 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5267 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5268   $as_echo_n "(cached) " >&6
   5269 else
   5270   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5271 /* end confdefs.h.  */
   5272 int i;
   5273 _ACEOF
   5274 if ac_fn_c_try_compile "$LINENO"; then :
   5275   xorg_cv_cc_flag_unknown_warning_option=yes
   5276 else
   5277   xorg_cv_cc_flag_unknown_warning_option=no
   5278 fi
   5279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5280 fi
   5281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5282 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5283 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5284 	CFLAGS="$xorg_testset_save_CFLAGS"
   5285 fi
   5286 
   5287 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5288 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5289 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5290 	fi
   5291 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5292 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5293 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5294 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5295   $as_echo_n "(cached) " >&6
   5296 else
   5297   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5298 /* end confdefs.h.  */
   5299 int i;
   5300 _ACEOF
   5301 if ac_fn_c_try_compile "$LINENO"; then :
   5302   xorg_cv_cc_flag_unused_command_line_argument=yes
   5303 else
   5304   xorg_cv_cc_flag_unused_command_line_argument=no
   5305 fi
   5306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5307 fi
   5308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5309 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5310 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5311 	CFLAGS="$xorg_testset_save_CFLAGS"
   5312 fi
   5313 
   5314 found="no"
   5315 
   5316 	if test $found = "no" ; then
   5317 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5318 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5319 		fi
   5320 
   5321 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5322 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5323 		fi
   5324 
   5325 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5326 
   5327 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5328 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5329 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5330 		if eval \${$cacheid+:} false; then :
   5331   $as_echo_n "(cached) " >&6
   5332 else
   5333   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5334 /* end confdefs.h.  */
   5335 int i;
   5336 int
   5337 main ()
   5338 {
   5339 
   5340   ;
   5341   return 0;
   5342 }
   5343 _ACEOF
   5344 if ac_fn_c_try_link "$LINENO"; then :
   5345   eval $cacheid=yes
   5346 else
   5347   eval $cacheid=no
   5348 fi
   5349 rm -f core conftest.err conftest.$ac_objext \
   5350     conftest$ac_exeext conftest.$ac_ext
   5351 fi
   5352 
   5353 
   5354 		CFLAGS="$xorg_testset_save_CFLAGS"
   5355 
   5356 		eval supported=\$$cacheid
   5357 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5358 $as_echo "$supported" >&6; }
   5359 		if test "$supported" = "yes" ; then
   5360 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5361 			found="yes"
   5362 		fi
   5363 	fi
   5364 
   5365 
   5366 
   5367 
   5368 
   5369 
   5370 
   5371 
   5372 
   5373 
   5374 
   5375 
   5376 
   5377 
   5378 
   5379 xorg_testset_save_CFLAGS="$CFLAGS"
   5380 
   5381 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5382 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5383 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5384 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5385 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5386   $as_echo_n "(cached) " >&6
   5387 else
   5388   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5389 /* end confdefs.h.  */
   5390 int i;
   5391 _ACEOF
   5392 if ac_fn_c_try_compile "$LINENO"; then :
   5393   xorg_cv_cc_flag_unknown_warning_option=yes
   5394 else
   5395   xorg_cv_cc_flag_unknown_warning_option=no
   5396 fi
   5397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5398 fi
   5399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5400 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5401 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5402 	CFLAGS="$xorg_testset_save_CFLAGS"
   5403 fi
   5404 
   5405 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5406 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5407 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5408 	fi
   5409 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5410 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5411 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5412 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5413   $as_echo_n "(cached) " >&6
   5414 else
   5415   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5416 /* end confdefs.h.  */
   5417 int i;
   5418 _ACEOF
   5419 if ac_fn_c_try_compile "$LINENO"; then :
   5420   xorg_cv_cc_flag_unused_command_line_argument=yes
   5421 else
   5422   xorg_cv_cc_flag_unused_command_line_argument=no
   5423 fi
   5424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5425 fi
   5426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5427 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5428 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5429 	CFLAGS="$xorg_testset_save_CFLAGS"
   5430 fi
   5431 
   5432 found="no"
   5433 
   5434 	if test $found = "no" ; then
   5435 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5436 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5437 		fi
   5438 
   5439 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5440 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5441 		fi
   5442 
   5443 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5444 
   5445 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5446 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5447 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5448 		if eval \${$cacheid+:} false; then :
   5449   $as_echo_n "(cached) " >&6
   5450 else
   5451   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5452 /* end confdefs.h.  */
   5453 int i;
   5454 int
   5455 main ()
   5456 {
   5457 
   5458   ;
   5459   return 0;
   5460 }
   5461 _ACEOF
   5462 if ac_fn_c_try_link "$LINENO"; then :
   5463   eval $cacheid=yes
   5464 else
   5465   eval $cacheid=no
   5466 fi
   5467 rm -f core conftest.err conftest.$ac_objext \
   5468     conftest$ac_exeext conftest.$ac_ext
   5469 fi
   5470 
   5471 
   5472 		CFLAGS="$xorg_testset_save_CFLAGS"
   5473 
   5474 		eval supported=\$$cacheid
   5475 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5476 $as_echo "$supported" >&6; }
   5477 		if test "$supported" = "yes" ; then
   5478 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5479 			found="yes"
   5480 		fi
   5481 	fi
   5482 
   5483 
   5484 
   5485 
   5486 
   5487 
   5488 
   5489 
   5490 
   5491 
   5492 
   5493 
   5494 
   5495 
   5496 
   5497 xorg_testset_save_CFLAGS="$CFLAGS"
   5498 
   5499 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5500 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5501 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5502 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5503 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5504   $as_echo_n "(cached) " >&6
   5505 else
   5506   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5507 /* end confdefs.h.  */
   5508 int i;
   5509 _ACEOF
   5510 if ac_fn_c_try_compile "$LINENO"; then :
   5511   xorg_cv_cc_flag_unknown_warning_option=yes
   5512 else
   5513   xorg_cv_cc_flag_unknown_warning_option=no
   5514 fi
   5515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5516 fi
   5517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5518 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5519 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5520 	CFLAGS="$xorg_testset_save_CFLAGS"
   5521 fi
   5522 
   5523 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5524 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5525 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5526 	fi
   5527 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5528 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5529 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5530 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5531   $as_echo_n "(cached) " >&6
   5532 else
   5533   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5534 /* end confdefs.h.  */
   5535 int i;
   5536 _ACEOF
   5537 if ac_fn_c_try_compile "$LINENO"; then :
   5538   xorg_cv_cc_flag_unused_command_line_argument=yes
   5539 else
   5540   xorg_cv_cc_flag_unused_command_line_argument=no
   5541 fi
   5542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5543 fi
   5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5545 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5546 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5547 	CFLAGS="$xorg_testset_save_CFLAGS"
   5548 fi
   5549 
   5550 found="no"
   5551 
   5552 	if test $found = "no" ; then
   5553 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5554 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5555 		fi
   5556 
   5557 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5558 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5559 		fi
   5560 
   5561 		CFLAGS="$CFLAGS -Wnested-externs"
   5562 
   5563 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5564 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5565 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5566 		if eval \${$cacheid+:} false; then :
   5567   $as_echo_n "(cached) " >&6
   5568 else
   5569   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5570 /* end confdefs.h.  */
   5571 int i;
   5572 int
   5573 main ()
   5574 {
   5575 
   5576   ;
   5577   return 0;
   5578 }
   5579 _ACEOF
   5580 if ac_fn_c_try_link "$LINENO"; then :
   5581   eval $cacheid=yes
   5582 else
   5583   eval $cacheid=no
   5584 fi
   5585 rm -f core conftest.err conftest.$ac_objext \
   5586     conftest$ac_exeext conftest.$ac_ext
   5587 fi
   5588 
   5589 
   5590 		CFLAGS="$xorg_testset_save_CFLAGS"
   5591 
   5592 		eval supported=\$$cacheid
   5593 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5594 $as_echo "$supported" >&6; }
   5595 		if test "$supported" = "yes" ; then
   5596 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5597 			found="yes"
   5598 		fi
   5599 	fi
   5600 
   5601 
   5602 
   5603 
   5604 
   5605 
   5606 
   5607 
   5608 
   5609 
   5610 
   5611 
   5612 
   5613 
   5614 
   5615 xorg_testset_save_CFLAGS="$CFLAGS"
   5616 
   5617 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5618 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5619 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5620 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5621 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5622   $as_echo_n "(cached) " >&6
   5623 else
   5624   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5625 /* end confdefs.h.  */
   5626 int i;
   5627 _ACEOF
   5628 if ac_fn_c_try_compile "$LINENO"; then :
   5629   xorg_cv_cc_flag_unknown_warning_option=yes
   5630 else
   5631   xorg_cv_cc_flag_unknown_warning_option=no
   5632 fi
   5633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5634 fi
   5635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5636 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5637 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5638 	CFLAGS="$xorg_testset_save_CFLAGS"
   5639 fi
   5640 
   5641 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5642 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5643 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5644 	fi
   5645 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5646 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5647 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5648 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5649   $as_echo_n "(cached) " >&6
   5650 else
   5651   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5652 /* end confdefs.h.  */
   5653 int i;
   5654 _ACEOF
   5655 if ac_fn_c_try_compile "$LINENO"; then :
   5656   xorg_cv_cc_flag_unused_command_line_argument=yes
   5657 else
   5658   xorg_cv_cc_flag_unused_command_line_argument=no
   5659 fi
   5660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5661 fi
   5662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5663 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5664 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5665 	CFLAGS="$xorg_testset_save_CFLAGS"
   5666 fi
   5667 
   5668 found="no"
   5669 
   5670 	if test $found = "no" ; then
   5671 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5672 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5673 		fi
   5674 
   5675 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5676 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5677 		fi
   5678 
   5679 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5680 
   5681 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5682 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5683 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5684 		if eval \${$cacheid+:} false; then :
   5685   $as_echo_n "(cached) " >&6
   5686 else
   5687   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5688 /* end confdefs.h.  */
   5689 int i;
   5690 int
   5691 main ()
   5692 {
   5693 
   5694   ;
   5695   return 0;
   5696 }
   5697 _ACEOF
   5698 if ac_fn_c_try_link "$LINENO"; then :
   5699   eval $cacheid=yes
   5700 else
   5701   eval $cacheid=no
   5702 fi
   5703 rm -f core conftest.err conftest.$ac_objext \
   5704     conftest$ac_exeext conftest.$ac_ext
   5705 fi
   5706 
   5707 
   5708 		CFLAGS="$xorg_testset_save_CFLAGS"
   5709 
   5710 		eval supported=\$$cacheid
   5711 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5712 $as_echo "$supported" >&6; }
   5713 		if test "$supported" = "yes" ; then
   5714 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5715 			found="yes"
   5716 		fi
   5717 	fi
   5718 
   5719 
   5720 
   5721 
   5722 
   5723 
   5724 
   5725 
   5726 
   5727 
   5728 
   5729 
   5730 
   5731 
   5732 
   5733 xorg_testset_save_CFLAGS="$CFLAGS"
   5734 
   5735 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5736 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5737 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5738 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5739 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5740   $as_echo_n "(cached) " >&6
   5741 else
   5742   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5743 /* end confdefs.h.  */
   5744 int i;
   5745 _ACEOF
   5746 if ac_fn_c_try_compile "$LINENO"; then :
   5747   xorg_cv_cc_flag_unknown_warning_option=yes
   5748 else
   5749   xorg_cv_cc_flag_unknown_warning_option=no
   5750 fi
   5751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5752 fi
   5753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5754 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5755 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5756 	CFLAGS="$xorg_testset_save_CFLAGS"
   5757 fi
   5758 
   5759 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5760 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5761 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5762 	fi
   5763 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5764 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5765 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5766 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5767   $as_echo_n "(cached) " >&6
   5768 else
   5769   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5770 /* end confdefs.h.  */
   5771 int i;
   5772 _ACEOF
   5773 if ac_fn_c_try_compile "$LINENO"; then :
   5774   xorg_cv_cc_flag_unused_command_line_argument=yes
   5775 else
   5776   xorg_cv_cc_flag_unused_command_line_argument=no
   5777 fi
   5778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5779 fi
   5780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5781 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5782 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5783 	CFLAGS="$xorg_testset_save_CFLAGS"
   5784 fi
   5785 
   5786 found="no"
   5787 
   5788 	if test $found = "no" ; then
   5789 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5790 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5791 		fi
   5792 
   5793 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5794 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5795 		fi
   5796 
   5797 		CFLAGS="$CFLAGS -Wold-style-definition"
   5798 
   5799 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5800 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5801 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5802 		if eval \${$cacheid+:} false; then :
   5803   $as_echo_n "(cached) " >&6
   5804 else
   5805   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5806 /* end confdefs.h.  */
   5807 int i;
   5808 int
   5809 main ()
   5810 {
   5811 
   5812   ;
   5813   return 0;
   5814 }
   5815 _ACEOF
   5816 if ac_fn_c_try_link "$LINENO"; then :
   5817   eval $cacheid=yes
   5818 else
   5819   eval $cacheid=no
   5820 fi
   5821 rm -f core conftest.err conftest.$ac_objext \
   5822     conftest$ac_exeext conftest.$ac_ext
   5823 fi
   5824 
   5825 
   5826 		CFLAGS="$xorg_testset_save_CFLAGS"
   5827 
   5828 		eval supported=\$$cacheid
   5829 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5830 $as_echo "$supported" >&6; }
   5831 		if test "$supported" = "yes" ; then
   5832 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5833 			found="yes"
   5834 		fi
   5835 	fi
   5836 
   5837 
   5838 
   5839 
   5840 
   5841 
   5842 
   5843 
   5844 
   5845 
   5846 
   5847 
   5848 
   5849 
   5850 
   5851 xorg_testset_save_CFLAGS="$CFLAGS"
   5852 
   5853 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5854 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5855 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5856 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5857 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5858   $as_echo_n "(cached) " >&6
   5859 else
   5860   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5861 /* end confdefs.h.  */
   5862 int i;
   5863 _ACEOF
   5864 if ac_fn_c_try_compile "$LINENO"; then :
   5865   xorg_cv_cc_flag_unknown_warning_option=yes
   5866 else
   5867   xorg_cv_cc_flag_unknown_warning_option=no
   5868 fi
   5869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5870 fi
   5871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5872 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5873 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5874 	CFLAGS="$xorg_testset_save_CFLAGS"
   5875 fi
   5876 
   5877 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5878 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5879 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5880 	fi
   5881 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5882 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5883 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5884 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5885   $as_echo_n "(cached) " >&6
   5886 else
   5887   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5888 /* end confdefs.h.  */
   5889 int i;
   5890 _ACEOF
   5891 if ac_fn_c_try_compile "$LINENO"; then :
   5892   xorg_cv_cc_flag_unused_command_line_argument=yes
   5893 else
   5894   xorg_cv_cc_flag_unused_command_line_argument=no
   5895 fi
   5896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5897 fi
   5898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5899 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5900 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5901 	CFLAGS="$xorg_testset_save_CFLAGS"
   5902 fi
   5903 
   5904 found="no"
   5905 
   5906 	if test $found = "no" ; then
   5907 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5908 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5909 		fi
   5910 
   5911 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5912 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5913 		fi
   5914 
   5915 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   5916 
   5917 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   5918 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   5919 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   5920 		if eval \${$cacheid+:} false; then :
   5921   $as_echo_n "(cached) " >&6
   5922 else
   5923   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5924 /* end confdefs.h.  */
   5925 int i;
   5926 int
   5927 main ()
   5928 {
   5929 
   5930   ;
   5931   return 0;
   5932 }
   5933 _ACEOF
   5934 if ac_fn_c_try_link "$LINENO"; then :
   5935   eval $cacheid=yes
   5936 else
   5937   eval $cacheid=no
   5938 fi
   5939 rm -f core conftest.err conftest.$ac_objext \
   5940     conftest$ac_exeext conftest.$ac_ext
   5941 fi
   5942 
   5943 
   5944 		CFLAGS="$xorg_testset_save_CFLAGS"
   5945 
   5946 		eval supported=\$$cacheid
   5947 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5948 $as_echo "$supported" >&6; }
   5949 		if test "$supported" = "yes" ; then
   5950 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   5951 			found="yes"
   5952 		fi
   5953 	fi
   5954 
   5955 
   5956 
   5957 
   5958 
   5959 # This chunk adds additional warnings that could catch undesired effects.
   5960 
   5961 
   5962 
   5963 
   5964 
   5965 
   5966 
   5967 
   5968 
   5969 
   5970 
   5971 
   5972 
   5973 xorg_testset_save_CFLAGS="$CFLAGS"
   5974 
   5975 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5976 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5977 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5978 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5979 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5980   $as_echo_n "(cached) " >&6
   5981 else
   5982   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5983 /* end confdefs.h.  */
   5984 int i;
   5985 _ACEOF
   5986 if ac_fn_c_try_compile "$LINENO"; then :
   5987   xorg_cv_cc_flag_unknown_warning_option=yes
   5988 else
   5989   xorg_cv_cc_flag_unknown_warning_option=no
   5990 fi
   5991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5992 fi
   5993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5994 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5995 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5996 	CFLAGS="$xorg_testset_save_CFLAGS"
   5997 fi
   5998 
   5999 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6000 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6001 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6002 	fi
   6003 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6004 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6005 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6006 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6007   $as_echo_n "(cached) " >&6
   6008 else
   6009   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6010 /* end confdefs.h.  */
   6011 int i;
   6012 _ACEOF
   6013 if ac_fn_c_try_compile "$LINENO"; then :
   6014   xorg_cv_cc_flag_unused_command_line_argument=yes
   6015 else
   6016   xorg_cv_cc_flag_unused_command_line_argument=no
   6017 fi
   6018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6019 fi
   6020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6021 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6022 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6023 	CFLAGS="$xorg_testset_save_CFLAGS"
   6024 fi
   6025 
   6026 found="no"
   6027 
   6028 	if test $found = "no" ; then
   6029 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6030 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6031 		fi
   6032 
   6033 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6034 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6035 		fi
   6036 
   6037 		CFLAGS="$CFLAGS -Wunused"
   6038 
   6039 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6040 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   6041 		cacheid=xorg_cv_cc_flag__Wunused
   6042 		if eval \${$cacheid+:} false; then :
   6043   $as_echo_n "(cached) " >&6
   6044 else
   6045   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6046 /* end confdefs.h.  */
   6047 int i;
   6048 int
   6049 main ()
   6050 {
   6051 
   6052   ;
   6053   return 0;
   6054 }
   6055 _ACEOF
   6056 if ac_fn_c_try_link "$LINENO"; then :
   6057   eval $cacheid=yes
   6058 else
   6059   eval $cacheid=no
   6060 fi
   6061 rm -f core conftest.err conftest.$ac_objext \
   6062     conftest$ac_exeext conftest.$ac_ext
   6063 fi
   6064 
   6065 
   6066 		CFLAGS="$xorg_testset_save_CFLAGS"
   6067 
   6068 		eval supported=\$$cacheid
   6069 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6070 $as_echo "$supported" >&6; }
   6071 		if test "$supported" = "yes" ; then
   6072 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6073 			found="yes"
   6074 		fi
   6075 	fi
   6076 
   6077 
   6078 
   6079 
   6080 
   6081 
   6082 
   6083 
   6084 
   6085 
   6086 
   6087 
   6088 
   6089 
   6090 
   6091 xorg_testset_save_CFLAGS="$CFLAGS"
   6092 
   6093 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6094 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6095 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6096 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6097 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6098   $as_echo_n "(cached) " >&6
   6099 else
   6100   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6101 /* end confdefs.h.  */
   6102 int i;
   6103 _ACEOF
   6104 if ac_fn_c_try_compile "$LINENO"; then :
   6105   xorg_cv_cc_flag_unknown_warning_option=yes
   6106 else
   6107   xorg_cv_cc_flag_unknown_warning_option=no
   6108 fi
   6109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6110 fi
   6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6112 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6113 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6114 	CFLAGS="$xorg_testset_save_CFLAGS"
   6115 fi
   6116 
   6117 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6118 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6119 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6120 	fi
   6121 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6122 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6123 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6124 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6125   $as_echo_n "(cached) " >&6
   6126 else
   6127   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6128 /* end confdefs.h.  */
   6129 int i;
   6130 _ACEOF
   6131 if ac_fn_c_try_compile "$LINENO"; then :
   6132   xorg_cv_cc_flag_unused_command_line_argument=yes
   6133 else
   6134   xorg_cv_cc_flag_unused_command_line_argument=no
   6135 fi
   6136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6137 fi
   6138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6139 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6140 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6141 	CFLAGS="$xorg_testset_save_CFLAGS"
   6142 fi
   6143 
   6144 found="no"
   6145 
   6146 	if test $found = "no" ; then
   6147 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6148 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6149 		fi
   6150 
   6151 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6152 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6153 		fi
   6154 
   6155 		CFLAGS="$CFLAGS -Wuninitialized"
   6156 
   6157 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6158 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6159 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6160 		if eval \${$cacheid+:} false; then :
   6161   $as_echo_n "(cached) " >&6
   6162 else
   6163   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6164 /* end confdefs.h.  */
   6165 int i;
   6166 int
   6167 main ()
   6168 {
   6169 
   6170   ;
   6171   return 0;
   6172 }
   6173 _ACEOF
   6174 if ac_fn_c_try_link "$LINENO"; then :
   6175   eval $cacheid=yes
   6176 else
   6177   eval $cacheid=no
   6178 fi
   6179 rm -f core conftest.err conftest.$ac_objext \
   6180     conftest$ac_exeext conftest.$ac_ext
   6181 fi
   6182 
   6183 
   6184 		CFLAGS="$xorg_testset_save_CFLAGS"
   6185 
   6186 		eval supported=\$$cacheid
   6187 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6188 $as_echo "$supported" >&6; }
   6189 		if test "$supported" = "yes" ; then
   6190 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6191 			found="yes"
   6192 		fi
   6193 	fi
   6194 
   6195 
   6196 
   6197 
   6198 
   6199 
   6200 
   6201 
   6202 
   6203 
   6204 
   6205 
   6206 
   6207 
   6208 
   6209 xorg_testset_save_CFLAGS="$CFLAGS"
   6210 
   6211 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6212 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6213 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6214 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6215 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6216   $as_echo_n "(cached) " >&6
   6217 else
   6218   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6219 /* end confdefs.h.  */
   6220 int i;
   6221 _ACEOF
   6222 if ac_fn_c_try_compile "$LINENO"; then :
   6223   xorg_cv_cc_flag_unknown_warning_option=yes
   6224 else
   6225   xorg_cv_cc_flag_unknown_warning_option=no
   6226 fi
   6227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6228 fi
   6229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6230 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6231 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6232 	CFLAGS="$xorg_testset_save_CFLAGS"
   6233 fi
   6234 
   6235 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6236 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6237 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6238 	fi
   6239 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6240 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6241 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6242 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6243   $as_echo_n "(cached) " >&6
   6244 else
   6245   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6246 /* end confdefs.h.  */
   6247 int i;
   6248 _ACEOF
   6249 if ac_fn_c_try_compile "$LINENO"; then :
   6250   xorg_cv_cc_flag_unused_command_line_argument=yes
   6251 else
   6252   xorg_cv_cc_flag_unused_command_line_argument=no
   6253 fi
   6254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6255 fi
   6256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6257 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6258 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6259 	CFLAGS="$xorg_testset_save_CFLAGS"
   6260 fi
   6261 
   6262 found="no"
   6263 
   6264 	if test $found = "no" ; then
   6265 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6266 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6267 		fi
   6268 
   6269 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6270 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6271 		fi
   6272 
   6273 		CFLAGS="$CFLAGS -Wshadow"
   6274 
   6275 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6276 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6277 		cacheid=xorg_cv_cc_flag__Wshadow
   6278 		if eval \${$cacheid+:} false; then :
   6279   $as_echo_n "(cached) " >&6
   6280 else
   6281   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6282 /* end confdefs.h.  */
   6283 int i;
   6284 int
   6285 main ()
   6286 {
   6287 
   6288   ;
   6289   return 0;
   6290 }
   6291 _ACEOF
   6292 if ac_fn_c_try_link "$LINENO"; then :
   6293   eval $cacheid=yes
   6294 else
   6295   eval $cacheid=no
   6296 fi
   6297 rm -f core conftest.err conftest.$ac_objext \
   6298     conftest$ac_exeext conftest.$ac_ext
   6299 fi
   6300 
   6301 
   6302 		CFLAGS="$xorg_testset_save_CFLAGS"
   6303 
   6304 		eval supported=\$$cacheid
   6305 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6306 $as_echo "$supported" >&6; }
   6307 		if test "$supported" = "yes" ; then
   6308 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6309 			found="yes"
   6310 		fi
   6311 	fi
   6312 
   6313 
   6314 
   6315 
   6316 
   6317 
   6318 
   6319 
   6320 
   6321 
   6322 
   6323 
   6324 
   6325 
   6326 
   6327 xorg_testset_save_CFLAGS="$CFLAGS"
   6328 
   6329 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6330 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6331 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6332 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6333 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6334   $as_echo_n "(cached) " >&6
   6335 else
   6336   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6337 /* end confdefs.h.  */
   6338 int i;
   6339 _ACEOF
   6340 if ac_fn_c_try_compile "$LINENO"; then :
   6341   xorg_cv_cc_flag_unknown_warning_option=yes
   6342 else
   6343   xorg_cv_cc_flag_unknown_warning_option=no
   6344 fi
   6345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6346 fi
   6347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6348 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6349 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6350 	CFLAGS="$xorg_testset_save_CFLAGS"
   6351 fi
   6352 
   6353 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6354 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6355 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6356 	fi
   6357 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6358 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6359 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6360 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6361   $as_echo_n "(cached) " >&6
   6362 else
   6363   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6364 /* end confdefs.h.  */
   6365 int i;
   6366 _ACEOF
   6367 if ac_fn_c_try_compile "$LINENO"; then :
   6368   xorg_cv_cc_flag_unused_command_line_argument=yes
   6369 else
   6370   xorg_cv_cc_flag_unused_command_line_argument=no
   6371 fi
   6372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6373 fi
   6374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6375 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6376 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6377 	CFLAGS="$xorg_testset_save_CFLAGS"
   6378 fi
   6379 
   6380 found="no"
   6381 
   6382 	if test $found = "no" ; then
   6383 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6384 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6385 		fi
   6386 
   6387 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6388 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6389 		fi
   6390 
   6391 		CFLAGS="$CFLAGS -Wcast-qual"
   6392 
   6393 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wcast-qual" >&5
   6394 $as_echo_n "checking if $CC supports -Wcast-qual... " >&6; }
   6395 		cacheid=xorg_cv_cc_flag__Wcast_qual
   6396 		if eval \${$cacheid+:} false; then :
   6397   $as_echo_n "(cached) " >&6
   6398 else
   6399   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6400 /* end confdefs.h.  */
   6401 int i;
   6402 int
   6403 main ()
   6404 {
   6405 
   6406   ;
   6407   return 0;
   6408 }
   6409 _ACEOF
   6410 if ac_fn_c_try_link "$LINENO"; then :
   6411   eval $cacheid=yes
   6412 else
   6413   eval $cacheid=no
   6414 fi
   6415 rm -f core conftest.err conftest.$ac_objext \
   6416     conftest$ac_exeext conftest.$ac_ext
   6417 fi
   6418 
   6419 
   6420 		CFLAGS="$xorg_testset_save_CFLAGS"
   6421 
   6422 		eval supported=\$$cacheid
   6423 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6424 $as_echo "$supported" >&6; }
   6425 		if test "$supported" = "yes" ; then
   6426 			BASE_CFLAGS="$BASE_CFLAGS -Wcast-qual"
   6427 			found="yes"
   6428 		fi
   6429 	fi
   6430 
   6431 
   6432 
   6433 
   6434 
   6435 
   6436 
   6437 
   6438 
   6439 
   6440 
   6441 
   6442 
   6443 
   6444 
   6445 xorg_testset_save_CFLAGS="$CFLAGS"
   6446 
   6447 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6448 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6449 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6450 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6451 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6452   $as_echo_n "(cached) " >&6
   6453 else
   6454   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6455 /* end confdefs.h.  */
   6456 int i;
   6457 _ACEOF
   6458 if ac_fn_c_try_compile "$LINENO"; then :
   6459   xorg_cv_cc_flag_unknown_warning_option=yes
   6460 else
   6461   xorg_cv_cc_flag_unknown_warning_option=no
   6462 fi
   6463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6464 fi
   6465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6466 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6467 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6468 	CFLAGS="$xorg_testset_save_CFLAGS"
   6469 fi
   6470 
   6471 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6472 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6473 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6474 	fi
   6475 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6476 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6477 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6478 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6479   $as_echo_n "(cached) " >&6
   6480 else
   6481   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6482 /* end confdefs.h.  */
   6483 int i;
   6484 _ACEOF
   6485 if ac_fn_c_try_compile "$LINENO"; then :
   6486   xorg_cv_cc_flag_unused_command_line_argument=yes
   6487 else
   6488   xorg_cv_cc_flag_unused_command_line_argument=no
   6489 fi
   6490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6491 fi
   6492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6493 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6494 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6495 	CFLAGS="$xorg_testset_save_CFLAGS"
   6496 fi
   6497 
   6498 found="no"
   6499 
   6500 	if test $found = "no" ; then
   6501 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6502 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6503 		fi
   6504 
   6505 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6506 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6507 		fi
   6508 
   6509 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6510 
   6511 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6512 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6513 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6514 		if eval \${$cacheid+:} false; then :
   6515   $as_echo_n "(cached) " >&6
   6516 else
   6517   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6518 /* end confdefs.h.  */
   6519 int i;
   6520 int
   6521 main ()
   6522 {
   6523 
   6524   ;
   6525   return 0;
   6526 }
   6527 _ACEOF
   6528 if ac_fn_c_try_link "$LINENO"; then :
   6529   eval $cacheid=yes
   6530 else
   6531   eval $cacheid=no
   6532 fi
   6533 rm -f core conftest.err conftest.$ac_objext \
   6534     conftest$ac_exeext conftest.$ac_ext
   6535 fi
   6536 
   6537 
   6538 		CFLAGS="$xorg_testset_save_CFLAGS"
   6539 
   6540 		eval supported=\$$cacheid
   6541 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6542 $as_echo "$supported" >&6; }
   6543 		if test "$supported" = "yes" ; then
   6544 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6545 			found="yes"
   6546 		fi
   6547 	fi
   6548 
   6549 
   6550 
   6551 
   6552 
   6553 
   6554 
   6555 
   6556 
   6557 
   6558 
   6559 
   6560 
   6561 
   6562 
   6563 xorg_testset_save_CFLAGS="$CFLAGS"
   6564 
   6565 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6566 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6567 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6568 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6569 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6570   $as_echo_n "(cached) " >&6
   6571 else
   6572   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6573 /* end confdefs.h.  */
   6574 int i;
   6575 _ACEOF
   6576 if ac_fn_c_try_compile "$LINENO"; then :
   6577   xorg_cv_cc_flag_unknown_warning_option=yes
   6578 else
   6579   xorg_cv_cc_flag_unknown_warning_option=no
   6580 fi
   6581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6582 fi
   6583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6584 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6585 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6586 	CFLAGS="$xorg_testset_save_CFLAGS"
   6587 fi
   6588 
   6589 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6590 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6591 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6592 	fi
   6593 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6594 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6595 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6596 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6597   $as_echo_n "(cached) " >&6
   6598 else
   6599   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6600 /* end confdefs.h.  */
   6601 int i;
   6602 _ACEOF
   6603 if ac_fn_c_try_compile "$LINENO"; then :
   6604   xorg_cv_cc_flag_unused_command_line_argument=yes
   6605 else
   6606   xorg_cv_cc_flag_unused_command_line_argument=no
   6607 fi
   6608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6609 fi
   6610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6611 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6612 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6613 	CFLAGS="$xorg_testset_save_CFLAGS"
   6614 fi
   6615 
   6616 found="no"
   6617 
   6618 	if test $found = "no" ; then
   6619 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6620 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6621 		fi
   6622 
   6623 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6624 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6625 		fi
   6626 
   6627 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6628 
   6629 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6630 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6631 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6632 		if eval \${$cacheid+:} false; then :
   6633   $as_echo_n "(cached) " >&6
   6634 else
   6635   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6636 /* end confdefs.h.  */
   6637 int i;
   6638 int
   6639 main ()
   6640 {
   6641 
   6642   ;
   6643   return 0;
   6644 }
   6645 _ACEOF
   6646 if ac_fn_c_try_link "$LINENO"; then :
   6647   eval $cacheid=yes
   6648 else
   6649   eval $cacheid=no
   6650 fi
   6651 rm -f core conftest.err conftest.$ac_objext \
   6652     conftest$ac_exeext conftest.$ac_ext
   6653 fi
   6654 
   6655 
   6656 		CFLAGS="$xorg_testset_save_CFLAGS"
   6657 
   6658 		eval supported=\$$cacheid
   6659 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6660 $as_echo "$supported" >&6; }
   6661 		if test "$supported" = "yes" ; then
   6662 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6663 			found="yes"
   6664 		fi
   6665 	fi
   6666 
   6667 
   6668 
   6669 
   6670 
   6671 
   6672 
   6673 
   6674 
   6675 
   6676 
   6677 
   6678 
   6679 
   6680 
   6681 xorg_testset_save_CFLAGS="$CFLAGS"
   6682 
   6683 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6684 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6685 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6686 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6687 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6688   $as_echo_n "(cached) " >&6
   6689 else
   6690   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6691 /* end confdefs.h.  */
   6692 int i;
   6693 _ACEOF
   6694 if ac_fn_c_try_compile "$LINENO"; then :
   6695   xorg_cv_cc_flag_unknown_warning_option=yes
   6696 else
   6697   xorg_cv_cc_flag_unknown_warning_option=no
   6698 fi
   6699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6700 fi
   6701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6702 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6703 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6704 	CFLAGS="$xorg_testset_save_CFLAGS"
   6705 fi
   6706 
   6707 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6708 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6709 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6710 	fi
   6711 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6712 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6713 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6714 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6715   $as_echo_n "(cached) " >&6
   6716 else
   6717   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6718 /* end confdefs.h.  */
   6719 int i;
   6720 _ACEOF
   6721 if ac_fn_c_try_compile "$LINENO"; then :
   6722   xorg_cv_cc_flag_unused_command_line_argument=yes
   6723 else
   6724   xorg_cv_cc_flag_unused_command_line_argument=no
   6725 fi
   6726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6727 fi
   6728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6729 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6730 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6731 	CFLAGS="$xorg_testset_save_CFLAGS"
   6732 fi
   6733 
   6734 found="no"
   6735 
   6736 	if test $found = "no" ; then
   6737 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6738 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6739 		fi
   6740 
   6741 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6742 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6743 		fi
   6744 
   6745 		CFLAGS="$CFLAGS -Wredundant-decls"
   6746 
   6747 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6748 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6749 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6750 		if eval \${$cacheid+:} false; then :
   6751   $as_echo_n "(cached) " >&6
   6752 else
   6753   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6754 /* end confdefs.h.  */
   6755 int i;
   6756 int
   6757 main ()
   6758 {
   6759 
   6760   ;
   6761   return 0;
   6762 }
   6763 _ACEOF
   6764 if ac_fn_c_try_link "$LINENO"; then :
   6765   eval $cacheid=yes
   6766 else
   6767   eval $cacheid=no
   6768 fi
   6769 rm -f core conftest.err conftest.$ac_objext \
   6770     conftest$ac_exeext conftest.$ac_ext
   6771 fi
   6772 
   6773 
   6774 		CFLAGS="$xorg_testset_save_CFLAGS"
   6775 
   6776 		eval supported=\$$cacheid
   6777 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6778 $as_echo "$supported" >&6; }
   6779 		if test "$supported" = "yes" ; then
   6780 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6781 			found="yes"
   6782 		fi
   6783 	fi
   6784 
   6785 
   6786 
   6787 # These are currently disabled because they are noisy.  They will be enabled
   6788 # in the future once the codebase is sufficiently modernized to silence
   6789 # them.  For now, I don't want them to drown out the other warnings.
   6790 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wlogical-op])
   6791 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6792 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6793 
   6794 # Turn some warnings into errors, so we don't accidently get successful builds
   6795 # when there are problems that should be fixed.
   6796 
   6797 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6798 
   6799 
   6800 
   6801 
   6802 
   6803 
   6804 
   6805 
   6806 
   6807 
   6808 
   6809 
   6810 
   6811 xorg_testset_save_CFLAGS="$CFLAGS"
   6812 
   6813 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6814 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6815 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6816 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6817 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6818   $as_echo_n "(cached) " >&6
   6819 else
   6820   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6821 /* end confdefs.h.  */
   6822 int i;
   6823 _ACEOF
   6824 if ac_fn_c_try_compile "$LINENO"; then :
   6825   xorg_cv_cc_flag_unknown_warning_option=yes
   6826 else
   6827   xorg_cv_cc_flag_unknown_warning_option=no
   6828 fi
   6829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6830 fi
   6831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6832 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6833 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6834 	CFLAGS="$xorg_testset_save_CFLAGS"
   6835 fi
   6836 
   6837 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6838 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6839 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6840 	fi
   6841 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6842 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6843 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6844 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6845   $as_echo_n "(cached) " >&6
   6846 else
   6847   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6848 /* end confdefs.h.  */
   6849 int i;
   6850 _ACEOF
   6851 if ac_fn_c_try_compile "$LINENO"; then :
   6852   xorg_cv_cc_flag_unused_command_line_argument=yes
   6853 else
   6854   xorg_cv_cc_flag_unused_command_line_argument=no
   6855 fi
   6856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6857 fi
   6858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6859 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6860 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6861 	CFLAGS="$xorg_testset_save_CFLAGS"
   6862 fi
   6863 
   6864 found="no"
   6865 
   6866 	if test $found = "no" ; then
   6867 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6868 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6869 		fi
   6870 
   6871 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6872 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6873 		fi
   6874 
   6875 		CFLAGS="$CFLAGS -Werror=implicit"
   6876 
   6877 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   6878 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   6879 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=implicit" | $as_tr_sh`
   6880 		if eval \${$cacheid+:} false; then :
   6881   $as_echo_n "(cached) " >&6
   6882 else
   6883   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6884 /* end confdefs.h.  */
   6885 int i;
   6886 int
   6887 main ()
   6888 {
   6889 
   6890   ;
   6891   return 0;
   6892 }
   6893 _ACEOF
   6894 if ac_fn_c_try_link "$LINENO"; then :
   6895   eval $cacheid=yes
   6896 else
   6897   eval $cacheid=no
   6898 fi
   6899 rm -f core conftest.err conftest.$ac_objext \
   6900     conftest$ac_exeext conftest.$ac_ext
   6901 fi
   6902 
   6903 
   6904 		CFLAGS="$xorg_testset_save_CFLAGS"
   6905 
   6906 		eval supported=\$$cacheid
   6907 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6908 $as_echo "$supported" >&6; }
   6909 		if test "$supported" = "yes" ; then
   6910 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   6911 			found="yes"
   6912 		fi
   6913 	fi
   6914 
   6915 	if test $found = "no" ; then
   6916 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6917 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6918 		fi
   6919 
   6920 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6921 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6922 		fi
   6923 
   6924 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6925 
   6926 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   6927 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   6928 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" | $as_tr_sh`
   6929 		if eval \${$cacheid+:} false; then :
   6930   $as_echo_n "(cached) " >&6
   6931 else
   6932   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6933 /* end confdefs.h.  */
   6934 int i;
   6935 int
   6936 main ()
   6937 {
   6938 
   6939   ;
   6940   return 0;
   6941 }
   6942 _ACEOF
   6943 if ac_fn_c_try_link "$LINENO"; then :
   6944   eval $cacheid=yes
   6945 else
   6946   eval $cacheid=no
   6947 fi
   6948 rm -f core conftest.err conftest.$ac_objext \
   6949     conftest$ac_exeext conftest.$ac_ext
   6950 fi
   6951 
   6952 
   6953 		CFLAGS="$xorg_testset_save_CFLAGS"
   6954 
   6955 		eval supported=\$$cacheid
   6956 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6957 $as_echo "$supported" >&6; }
   6958 		if test "$supported" = "yes" ; then
   6959 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6960 			found="yes"
   6961 		fi
   6962 	fi
   6963 
   6964 
   6965 
   6966 
   6967 
   6968 
   6969 
   6970 
   6971 
   6972 
   6973 
   6974 
   6975 
   6976 
   6977 
   6978 xorg_testset_save_CFLAGS="$CFLAGS"
   6979 
   6980 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6981 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6982 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6983 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6984 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6985   $as_echo_n "(cached) " >&6
   6986 else
   6987   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6988 /* end confdefs.h.  */
   6989 int i;
   6990 _ACEOF
   6991 if ac_fn_c_try_compile "$LINENO"; then :
   6992   xorg_cv_cc_flag_unknown_warning_option=yes
   6993 else
   6994   xorg_cv_cc_flag_unknown_warning_option=no
   6995 fi
   6996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6997 fi
   6998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6999 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7000 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7001 	CFLAGS="$xorg_testset_save_CFLAGS"
   7002 fi
   7003 
   7004 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7005 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7006 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7007 	fi
   7008 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7009 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7010 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7011 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7012   $as_echo_n "(cached) " >&6
   7013 else
   7014   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7015 /* end confdefs.h.  */
   7016 int i;
   7017 _ACEOF
   7018 if ac_fn_c_try_compile "$LINENO"; then :
   7019   xorg_cv_cc_flag_unused_command_line_argument=yes
   7020 else
   7021   xorg_cv_cc_flag_unused_command_line_argument=no
   7022 fi
   7023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7024 fi
   7025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7026 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7027 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7028 	CFLAGS="$xorg_testset_save_CFLAGS"
   7029 fi
   7030 
   7031 found="no"
   7032 
   7033 	if test $found = "no" ; then
   7034 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7035 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7036 		fi
   7037 
   7038 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7039 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7040 		fi
   7041 
   7042 		CFLAGS="$CFLAGS -Werror=nonnull"
   7043 
   7044 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7045 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   7046 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=nonnull" | $as_tr_sh`
   7047 		if eval \${$cacheid+:} false; then :
   7048   $as_echo_n "(cached) " >&6
   7049 else
   7050   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7051 /* end confdefs.h.  */
   7052 int i;
   7053 int
   7054 main ()
   7055 {
   7056 
   7057   ;
   7058   return 0;
   7059 }
   7060 _ACEOF
   7061 if ac_fn_c_try_link "$LINENO"; then :
   7062   eval $cacheid=yes
   7063 else
   7064   eval $cacheid=no
   7065 fi
   7066 rm -f core conftest.err conftest.$ac_objext \
   7067     conftest$ac_exeext conftest.$ac_ext
   7068 fi
   7069 
   7070 
   7071 		CFLAGS="$xorg_testset_save_CFLAGS"
   7072 
   7073 		eval supported=\$$cacheid
   7074 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7075 $as_echo "$supported" >&6; }
   7076 		if test "$supported" = "yes" ; then
   7077 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7078 			found="yes"
   7079 		fi
   7080 	fi
   7081 
   7082 
   7083 
   7084 
   7085 
   7086 
   7087 
   7088 
   7089 
   7090 
   7091 
   7092 
   7093 
   7094 
   7095 
   7096 xorg_testset_save_CFLAGS="$CFLAGS"
   7097 
   7098 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7099 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7100 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7101 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7102 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7103   $as_echo_n "(cached) " >&6
   7104 else
   7105   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7106 /* end confdefs.h.  */
   7107 int i;
   7108 _ACEOF
   7109 if ac_fn_c_try_compile "$LINENO"; then :
   7110   xorg_cv_cc_flag_unknown_warning_option=yes
   7111 else
   7112   xorg_cv_cc_flag_unknown_warning_option=no
   7113 fi
   7114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7115 fi
   7116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7117 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7118 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7119 	CFLAGS="$xorg_testset_save_CFLAGS"
   7120 fi
   7121 
   7122 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7123 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7124 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7125 	fi
   7126 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7127 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7128 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7129 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7130   $as_echo_n "(cached) " >&6
   7131 else
   7132   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7133 /* end confdefs.h.  */
   7134 int i;
   7135 _ACEOF
   7136 if ac_fn_c_try_compile "$LINENO"; then :
   7137   xorg_cv_cc_flag_unused_command_line_argument=yes
   7138 else
   7139   xorg_cv_cc_flag_unused_command_line_argument=no
   7140 fi
   7141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7142 fi
   7143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7144 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7145 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7146 	CFLAGS="$xorg_testset_save_CFLAGS"
   7147 fi
   7148 
   7149 found="no"
   7150 
   7151 	if test $found = "no" ; then
   7152 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7153 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7154 		fi
   7155 
   7156 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7157 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7158 		fi
   7159 
   7160 		CFLAGS="$CFLAGS -Werror=init-self"
   7161 
   7162 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7163 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7164 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=init-self" | $as_tr_sh`
   7165 		if eval \${$cacheid+:} false; then :
   7166   $as_echo_n "(cached) " >&6
   7167 else
   7168   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7169 /* end confdefs.h.  */
   7170 int i;
   7171 int
   7172 main ()
   7173 {
   7174 
   7175   ;
   7176   return 0;
   7177 }
   7178 _ACEOF
   7179 if ac_fn_c_try_link "$LINENO"; then :
   7180   eval $cacheid=yes
   7181 else
   7182   eval $cacheid=no
   7183 fi
   7184 rm -f core conftest.err conftest.$ac_objext \
   7185     conftest$ac_exeext conftest.$ac_ext
   7186 fi
   7187 
   7188 
   7189 		CFLAGS="$xorg_testset_save_CFLAGS"
   7190 
   7191 		eval supported=\$$cacheid
   7192 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7193 $as_echo "$supported" >&6; }
   7194 		if test "$supported" = "yes" ; then
   7195 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7196 			found="yes"
   7197 		fi
   7198 	fi
   7199 
   7200 
   7201 
   7202 
   7203 
   7204 
   7205 
   7206 
   7207 
   7208 
   7209 
   7210 
   7211 
   7212 
   7213 
   7214 xorg_testset_save_CFLAGS="$CFLAGS"
   7215 
   7216 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7217 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7218 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7219 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7220 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7221   $as_echo_n "(cached) " >&6
   7222 else
   7223   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7224 /* end confdefs.h.  */
   7225 int i;
   7226 _ACEOF
   7227 if ac_fn_c_try_compile "$LINENO"; then :
   7228   xorg_cv_cc_flag_unknown_warning_option=yes
   7229 else
   7230   xorg_cv_cc_flag_unknown_warning_option=no
   7231 fi
   7232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7233 fi
   7234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7235 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7236 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7237 	CFLAGS="$xorg_testset_save_CFLAGS"
   7238 fi
   7239 
   7240 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7241 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7242 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7243 	fi
   7244 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7245 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7246 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7247 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7248   $as_echo_n "(cached) " >&6
   7249 else
   7250   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7251 /* end confdefs.h.  */
   7252 int i;
   7253 _ACEOF
   7254 if ac_fn_c_try_compile "$LINENO"; then :
   7255   xorg_cv_cc_flag_unused_command_line_argument=yes
   7256 else
   7257   xorg_cv_cc_flag_unused_command_line_argument=no
   7258 fi
   7259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7260 fi
   7261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7262 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7263 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7264 	CFLAGS="$xorg_testset_save_CFLAGS"
   7265 fi
   7266 
   7267 found="no"
   7268 
   7269 	if test $found = "no" ; then
   7270 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7271 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7272 		fi
   7273 
   7274 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7275 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7276 		fi
   7277 
   7278 		CFLAGS="$CFLAGS -Werror=main"
   7279 
   7280 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7281 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7282 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=main" | $as_tr_sh`
   7283 		if eval \${$cacheid+:} false; then :
   7284   $as_echo_n "(cached) " >&6
   7285 else
   7286   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7287 /* end confdefs.h.  */
   7288 int i;
   7289 int
   7290 main ()
   7291 {
   7292 
   7293   ;
   7294   return 0;
   7295 }
   7296 _ACEOF
   7297 if ac_fn_c_try_link "$LINENO"; then :
   7298   eval $cacheid=yes
   7299 else
   7300   eval $cacheid=no
   7301 fi
   7302 rm -f core conftest.err conftest.$ac_objext \
   7303     conftest$ac_exeext conftest.$ac_ext
   7304 fi
   7305 
   7306 
   7307 		CFLAGS="$xorg_testset_save_CFLAGS"
   7308 
   7309 		eval supported=\$$cacheid
   7310 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7311 $as_echo "$supported" >&6; }
   7312 		if test "$supported" = "yes" ; then
   7313 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7314 			found="yes"
   7315 		fi
   7316 	fi
   7317 
   7318 
   7319 
   7320 
   7321 
   7322 
   7323 
   7324 
   7325 
   7326 
   7327 
   7328 
   7329 
   7330 
   7331 
   7332 xorg_testset_save_CFLAGS="$CFLAGS"
   7333 
   7334 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7335 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7336 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7337 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7338 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7339   $as_echo_n "(cached) " >&6
   7340 else
   7341   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7342 /* end confdefs.h.  */
   7343 int i;
   7344 _ACEOF
   7345 if ac_fn_c_try_compile "$LINENO"; then :
   7346   xorg_cv_cc_flag_unknown_warning_option=yes
   7347 else
   7348   xorg_cv_cc_flag_unknown_warning_option=no
   7349 fi
   7350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7351 fi
   7352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7353 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7354 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7355 	CFLAGS="$xorg_testset_save_CFLAGS"
   7356 fi
   7357 
   7358 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7359 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7360 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7361 	fi
   7362 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7363 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7364 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7365 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7366   $as_echo_n "(cached) " >&6
   7367 else
   7368   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7369 /* end confdefs.h.  */
   7370 int i;
   7371 _ACEOF
   7372 if ac_fn_c_try_compile "$LINENO"; then :
   7373   xorg_cv_cc_flag_unused_command_line_argument=yes
   7374 else
   7375   xorg_cv_cc_flag_unused_command_line_argument=no
   7376 fi
   7377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7378 fi
   7379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7380 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7381 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7382 	CFLAGS="$xorg_testset_save_CFLAGS"
   7383 fi
   7384 
   7385 found="no"
   7386 
   7387 	if test $found = "no" ; then
   7388 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7389 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7390 		fi
   7391 
   7392 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7393 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7394 		fi
   7395 
   7396 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7397 
   7398 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7399 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7400 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=missing-braces" | $as_tr_sh`
   7401 		if eval \${$cacheid+:} false; then :
   7402   $as_echo_n "(cached) " >&6
   7403 else
   7404   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7405 /* end confdefs.h.  */
   7406 int i;
   7407 int
   7408 main ()
   7409 {
   7410 
   7411   ;
   7412   return 0;
   7413 }
   7414 _ACEOF
   7415 if ac_fn_c_try_link "$LINENO"; then :
   7416   eval $cacheid=yes
   7417 else
   7418   eval $cacheid=no
   7419 fi
   7420 rm -f core conftest.err conftest.$ac_objext \
   7421     conftest$ac_exeext conftest.$ac_ext
   7422 fi
   7423 
   7424 
   7425 		CFLAGS="$xorg_testset_save_CFLAGS"
   7426 
   7427 		eval supported=\$$cacheid
   7428 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7429 $as_echo "$supported" >&6; }
   7430 		if test "$supported" = "yes" ; then
   7431 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7432 			found="yes"
   7433 		fi
   7434 	fi
   7435 
   7436 
   7437 
   7438 
   7439 
   7440 
   7441 
   7442 
   7443 
   7444 
   7445 
   7446 
   7447 
   7448 
   7449 
   7450 xorg_testset_save_CFLAGS="$CFLAGS"
   7451 
   7452 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7453 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7454 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7455 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7456 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7457   $as_echo_n "(cached) " >&6
   7458 else
   7459   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7460 /* end confdefs.h.  */
   7461 int i;
   7462 _ACEOF
   7463 if ac_fn_c_try_compile "$LINENO"; then :
   7464   xorg_cv_cc_flag_unknown_warning_option=yes
   7465 else
   7466   xorg_cv_cc_flag_unknown_warning_option=no
   7467 fi
   7468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7469 fi
   7470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7471 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7472 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7473 	CFLAGS="$xorg_testset_save_CFLAGS"
   7474 fi
   7475 
   7476 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7477 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7478 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7479 	fi
   7480 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7481 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7482 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7483 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7484   $as_echo_n "(cached) " >&6
   7485 else
   7486   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7487 /* end confdefs.h.  */
   7488 int i;
   7489 _ACEOF
   7490 if ac_fn_c_try_compile "$LINENO"; then :
   7491   xorg_cv_cc_flag_unused_command_line_argument=yes
   7492 else
   7493   xorg_cv_cc_flag_unused_command_line_argument=no
   7494 fi
   7495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7496 fi
   7497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7498 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7499 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7500 	CFLAGS="$xorg_testset_save_CFLAGS"
   7501 fi
   7502 
   7503 found="no"
   7504 
   7505 	if test $found = "no" ; then
   7506 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7507 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7508 		fi
   7509 
   7510 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7511 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7512 		fi
   7513 
   7514 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7515 
   7516 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7517 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7518 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=sequence-point" | $as_tr_sh`
   7519 		if eval \${$cacheid+:} false; then :
   7520   $as_echo_n "(cached) " >&6
   7521 else
   7522   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7523 /* end confdefs.h.  */
   7524 int i;
   7525 int
   7526 main ()
   7527 {
   7528 
   7529   ;
   7530   return 0;
   7531 }
   7532 _ACEOF
   7533 if ac_fn_c_try_link "$LINENO"; then :
   7534   eval $cacheid=yes
   7535 else
   7536   eval $cacheid=no
   7537 fi
   7538 rm -f core conftest.err conftest.$ac_objext \
   7539     conftest$ac_exeext conftest.$ac_ext
   7540 fi
   7541 
   7542 
   7543 		CFLAGS="$xorg_testset_save_CFLAGS"
   7544 
   7545 		eval supported=\$$cacheid
   7546 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7547 $as_echo "$supported" >&6; }
   7548 		if test "$supported" = "yes" ; then
   7549 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7550 			found="yes"
   7551 		fi
   7552 	fi
   7553 
   7554 
   7555 
   7556 
   7557 
   7558 
   7559 
   7560 
   7561 
   7562 
   7563 
   7564 
   7565 
   7566 
   7567 
   7568 xorg_testset_save_CFLAGS="$CFLAGS"
   7569 
   7570 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7571 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7572 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7573 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7574 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7575   $as_echo_n "(cached) " >&6
   7576 else
   7577   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7578 /* end confdefs.h.  */
   7579 int i;
   7580 _ACEOF
   7581 if ac_fn_c_try_compile "$LINENO"; then :
   7582   xorg_cv_cc_flag_unknown_warning_option=yes
   7583 else
   7584   xorg_cv_cc_flag_unknown_warning_option=no
   7585 fi
   7586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7587 fi
   7588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7589 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7590 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7591 	CFLAGS="$xorg_testset_save_CFLAGS"
   7592 fi
   7593 
   7594 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7595 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7596 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7597 	fi
   7598 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7599 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7600 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7601 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7602   $as_echo_n "(cached) " >&6
   7603 else
   7604   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7605 /* end confdefs.h.  */
   7606 int i;
   7607 _ACEOF
   7608 if ac_fn_c_try_compile "$LINENO"; then :
   7609   xorg_cv_cc_flag_unused_command_line_argument=yes
   7610 else
   7611   xorg_cv_cc_flag_unused_command_line_argument=no
   7612 fi
   7613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7614 fi
   7615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7616 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7617 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7618 	CFLAGS="$xorg_testset_save_CFLAGS"
   7619 fi
   7620 
   7621 found="no"
   7622 
   7623 	if test $found = "no" ; then
   7624 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7625 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7626 		fi
   7627 
   7628 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7629 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7630 		fi
   7631 
   7632 		CFLAGS="$CFLAGS -Werror=return-type"
   7633 
   7634 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7635 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7636 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=return-type" | $as_tr_sh`
   7637 		if eval \${$cacheid+:} false; then :
   7638   $as_echo_n "(cached) " >&6
   7639 else
   7640   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7641 /* end confdefs.h.  */
   7642 int i;
   7643 int
   7644 main ()
   7645 {
   7646 
   7647   ;
   7648   return 0;
   7649 }
   7650 _ACEOF
   7651 if ac_fn_c_try_link "$LINENO"; then :
   7652   eval $cacheid=yes
   7653 else
   7654   eval $cacheid=no
   7655 fi
   7656 rm -f core conftest.err conftest.$ac_objext \
   7657     conftest$ac_exeext conftest.$ac_ext
   7658 fi
   7659 
   7660 
   7661 		CFLAGS="$xorg_testset_save_CFLAGS"
   7662 
   7663 		eval supported=\$$cacheid
   7664 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7665 $as_echo "$supported" >&6; }
   7666 		if test "$supported" = "yes" ; then
   7667 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7668 			found="yes"
   7669 		fi
   7670 	fi
   7671 
   7672 	if test $found = "no" ; then
   7673 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7674 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7675 		fi
   7676 
   7677 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7678 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7679 		fi
   7680 
   7681 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7682 
   7683 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7684 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7685 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_FUNC_HAS_NO_RETURN_STMT" | $as_tr_sh`
   7686 		if eval \${$cacheid+:} false; then :
   7687   $as_echo_n "(cached) " >&6
   7688 else
   7689   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7690 /* end confdefs.h.  */
   7691 int i;
   7692 int
   7693 main ()
   7694 {
   7695 
   7696   ;
   7697   return 0;
   7698 }
   7699 _ACEOF
   7700 if ac_fn_c_try_link "$LINENO"; then :
   7701   eval $cacheid=yes
   7702 else
   7703   eval $cacheid=no
   7704 fi
   7705 rm -f core conftest.err conftest.$ac_objext \
   7706     conftest$ac_exeext conftest.$ac_ext
   7707 fi
   7708 
   7709 
   7710 		CFLAGS="$xorg_testset_save_CFLAGS"
   7711 
   7712 		eval supported=\$$cacheid
   7713 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7714 $as_echo "$supported" >&6; }
   7715 		if test "$supported" = "yes" ; then
   7716 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7717 			found="yes"
   7718 		fi
   7719 	fi
   7720 
   7721 
   7722 
   7723 
   7724 
   7725 
   7726 
   7727 
   7728 
   7729 
   7730 
   7731 
   7732 
   7733 
   7734 
   7735 xorg_testset_save_CFLAGS="$CFLAGS"
   7736 
   7737 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7738 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7739 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7740 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7741 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7742   $as_echo_n "(cached) " >&6
   7743 else
   7744   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7745 /* end confdefs.h.  */
   7746 int i;
   7747 _ACEOF
   7748 if ac_fn_c_try_compile "$LINENO"; then :
   7749   xorg_cv_cc_flag_unknown_warning_option=yes
   7750 else
   7751   xorg_cv_cc_flag_unknown_warning_option=no
   7752 fi
   7753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7754 fi
   7755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7756 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7757 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7758 	CFLAGS="$xorg_testset_save_CFLAGS"
   7759 fi
   7760 
   7761 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7762 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7763 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7764 	fi
   7765 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7766 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7767 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7768 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7769   $as_echo_n "(cached) " >&6
   7770 else
   7771   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7772 /* end confdefs.h.  */
   7773 int i;
   7774 _ACEOF
   7775 if ac_fn_c_try_compile "$LINENO"; then :
   7776   xorg_cv_cc_flag_unused_command_line_argument=yes
   7777 else
   7778   xorg_cv_cc_flag_unused_command_line_argument=no
   7779 fi
   7780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7781 fi
   7782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7783 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7784 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7785 	CFLAGS="$xorg_testset_save_CFLAGS"
   7786 fi
   7787 
   7788 found="no"
   7789 
   7790 	if test $found = "no" ; then
   7791 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7792 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7793 		fi
   7794 
   7795 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7796 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7797 		fi
   7798 
   7799 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7800 
   7801 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   7802 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   7803 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=trigraphs" | $as_tr_sh`
   7804 		if eval \${$cacheid+:} false; then :
   7805   $as_echo_n "(cached) " >&6
   7806 else
   7807   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7808 /* end confdefs.h.  */
   7809 int i;
   7810 int
   7811 main ()
   7812 {
   7813 
   7814   ;
   7815   return 0;
   7816 }
   7817 _ACEOF
   7818 if ac_fn_c_try_link "$LINENO"; then :
   7819   eval $cacheid=yes
   7820 else
   7821   eval $cacheid=no
   7822 fi
   7823 rm -f core conftest.err conftest.$ac_objext \
   7824     conftest$ac_exeext conftest.$ac_ext
   7825 fi
   7826 
   7827 
   7828 		CFLAGS="$xorg_testset_save_CFLAGS"
   7829 
   7830 		eval supported=\$$cacheid
   7831 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7832 $as_echo "$supported" >&6; }
   7833 		if test "$supported" = "yes" ; then
   7834 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   7835 			found="yes"
   7836 		fi
   7837 	fi
   7838 
   7839 
   7840 
   7841 
   7842 
   7843 
   7844 
   7845 
   7846 
   7847 
   7848 
   7849 
   7850 
   7851 
   7852 
   7853 xorg_testset_save_CFLAGS="$CFLAGS"
   7854 
   7855 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7856 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7857 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7858 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7859 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7860   $as_echo_n "(cached) " >&6
   7861 else
   7862   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7863 /* end confdefs.h.  */
   7864 int i;
   7865 _ACEOF
   7866 if ac_fn_c_try_compile "$LINENO"; then :
   7867   xorg_cv_cc_flag_unknown_warning_option=yes
   7868 else
   7869   xorg_cv_cc_flag_unknown_warning_option=no
   7870 fi
   7871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7872 fi
   7873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7874 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7875 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7876 	CFLAGS="$xorg_testset_save_CFLAGS"
   7877 fi
   7878 
   7879 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7880 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7881 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7882 	fi
   7883 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7884 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7885 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7886 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7887   $as_echo_n "(cached) " >&6
   7888 else
   7889   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7890 /* end confdefs.h.  */
   7891 int i;
   7892 _ACEOF
   7893 if ac_fn_c_try_compile "$LINENO"; then :
   7894   xorg_cv_cc_flag_unused_command_line_argument=yes
   7895 else
   7896   xorg_cv_cc_flag_unused_command_line_argument=no
   7897 fi
   7898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7899 fi
   7900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7901 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7902 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7903 	CFLAGS="$xorg_testset_save_CFLAGS"
   7904 fi
   7905 
   7906 found="no"
   7907 
   7908 	if test $found = "no" ; then
   7909 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7910 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7911 		fi
   7912 
   7913 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7914 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7915 		fi
   7916 
   7917 		CFLAGS="$CFLAGS -Werror=array-bounds"
   7918 
   7919 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   7920 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   7921 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=array-bounds" | $as_tr_sh`
   7922 		if eval \${$cacheid+:} false; then :
   7923   $as_echo_n "(cached) " >&6
   7924 else
   7925   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7926 /* end confdefs.h.  */
   7927 int i;
   7928 int
   7929 main ()
   7930 {
   7931 
   7932   ;
   7933   return 0;
   7934 }
   7935 _ACEOF
   7936 if ac_fn_c_try_link "$LINENO"; then :
   7937   eval $cacheid=yes
   7938 else
   7939   eval $cacheid=no
   7940 fi
   7941 rm -f core conftest.err conftest.$ac_objext \
   7942     conftest$ac_exeext conftest.$ac_ext
   7943 fi
   7944 
   7945 
   7946 		CFLAGS="$xorg_testset_save_CFLAGS"
   7947 
   7948 		eval supported=\$$cacheid
   7949 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7950 $as_echo "$supported" >&6; }
   7951 		if test "$supported" = "yes" ; then
   7952 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   7953 			found="yes"
   7954 		fi
   7955 	fi
   7956 
   7957 
   7958 
   7959 
   7960 
   7961 
   7962 
   7963 
   7964 
   7965 
   7966 
   7967 
   7968 
   7969 
   7970 
   7971 xorg_testset_save_CFLAGS="$CFLAGS"
   7972 
   7973 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7974 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7975 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7976 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7977 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7978   $as_echo_n "(cached) " >&6
   7979 else
   7980   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7981 /* end confdefs.h.  */
   7982 int i;
   7983 _ACEOF
   7984 if ac_fn_c_try_compile "$LINENO"; then :
   7985   xorg_cv_cc_flag_unknown_warning_option=yes
   7986 else
   7987   xorg_cv_cc_flag_unknown_warning_option=no
   7988 fi
   7989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7990 fi
   7991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7992 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7993 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7994 	CFLAGS="$xorg_testset_save_CFLAGS"
   7995 fi
   7996 
   7997 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7998 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7999 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8000 	fi
   8001 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8002 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8003 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8004 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8005   $as_echo_n "(cached) " >&6
   8006 else
   8007   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8008 /* end confdefs.h.  */
   8009 int i;
   8010 _ACEOF
   8011 if ac_fn_c_try_compile "$LINENO"; then :
   8012   xorg_cv_cc_flag_unused_command_line_argument=yes
   8013 else
   8014   xorg_cv_cc_flag_unused_command_line_argument=no
   8015 fi
   8016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8017 fi
   8018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8019 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8020 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8021 	CFLAGS="$xorg_testset_save_CFLAGS"
   8022 fi
   8023 
   8024 found="no"
   8025 
   8026 	if test $found = "no" ; then
   8027 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8028 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8029 		fi
   8030 
   8031 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8032 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8033 		fi
   8034 
   8035 		CFLAGS="$CFLAGS -Werror=write-strings"
   8036 
   8037 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8038 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   8039 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=write-strings" | $as_tr_sh`
   8040 		if eval \${$cacheid+:} false; then :
   8041   $as_echo_n "(cached) " >&6
   8042 else
   8043   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8044 /* end confdefs.h.  */
   8045 int i;
   8046 int
   8047 main ()
   8048 {
   8049 
   8050   ;
   8051   return 0;
   8052 }
   8053 _ACEOF
   8054 if ac_fn_c_try_link "$LINENO"; then :
   8055   eval $cacheid=yes
   8056 else
   8057   eval $cacheid=no
   8058 fi
   8059 rm -f core conftest.err conftest.$ac_objext \
   8060     conftest$ac_exeext conftest.$ac_ext
   8061 fi
   8062 
   8063 
   8064 		CFLAGS="$xorg_testset_save_CFLAGS"
   8065 
   8066 		eval supported=\$$cacheid
   8067 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8068 $as_echo "$supported" >&6; }
   8069 		if test "$supported" = "yes" ; then
   8070 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8071 			found="yes"
   8072 		fi
   8073 	fi
   8074 
   8075 
   8076 
   8077 
   8078 
   8079 
   8080 
   8081 
   8082 
   8083 
   8084 
   8085 
   8086 
   8087 
   8088 
   8089 xorg_testset_save_CFLAGS="$CFLAGS"
   8090 
   8091 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8092 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8093 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8094 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8095 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8096   $as_echo_n "(cached) " >&6
   8097 else
   8098   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8099 /* end confdefs.h.  */
   8100 int i;
   8101 _ACEOF
   8102 if ac_fn_c_try_compile "$LINENO"; then :
   8103   xorg_cv_cc_flag_unknown_warning_option=yes
   8104 else
   8105   xorg_cv_cc_flag_unknown_warning_option=no
   8106 fi
   8107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8108 fi
   8109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8110 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8111 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8112 	CFLAGS="$xorg_testset_save_CFLAGS"
   8113 fi
   8114 
   8115 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8116 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8117 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8118 	fi
   8119 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8120 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8121 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8122 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8123   $as_echo_n "(cached) " >&6
   8124 else
   8125   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8126 /* end confdefs.h.  */
   8127 int i;
   8128 _ACEOF
   8129 if ac_fn_c_try_compile "$LINENO"; then :
   8130   xorg_cv_cc_flag_unused_command_line_argument=yes
   8131 else
   8132   xorg_cv_cc_flag_unused_command_line_argument=no
   8133 fi
   8134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8135 fi
   8136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8137 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8138 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8139 	CFLAGS="$xorg_testset_save_CFLAGS"
   8140 fi
   8141 
   8142 found="no"
   8143 
   8144 	if test $found = "no" ; then
   8145 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8146 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8147 		fi
   8148 
   8149 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8150 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8151 		fi
   8152 
   8153 		CFLAGS="$CFLAGS -Werror=address"
   8154 
   8155 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8156 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8157 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=address" | $as_tr_sh`
   8158 		if eval \${$cacheid+:} false; then :
   8159   $as_echo_n "(cached) " >&6
   8160 else
   8161   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8162 /* end confdefs.h.  */
   8163 int i;
   8164 int
   8165 main ()
   8166 {
   8167 
   8168   ;
   8169   return 0;
   8170 }
   8171 _ACEOF
   8172 if ac_fn_c_try_link "$LINENO"; then :
   8173   eval $cacheid=yes
   8174 else
   8175   eval $cacheid=no
   8176 fi
   8177 rm -f core conftest.err conftest.$ac_objext \
   8178     conftest$ac_exeext conftest.$ac_ext
   8179 fi
   8180 
   8181 
   8182 		CFLAGS="$xorg_testset_save_CFLAGS"
   8183 
   8184 		eval supported=\$$cacheid
   8185 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8186 $as_echo "$supported" >&6; }
   8187 		if test "$supported" = "yes" ; then
   8188 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8189 			found="yes"
   8190 		fi
   8191 	fi
   8192 
   8193 
   8194 
   8195 
   8196 
   8197 
   8198 
   8199 
   8200 
   8201 
   8202 
   8203 
   8204 
   8205 
   8206 
   8207 xorg_testset_save_CFLAGS="$CFLAGS"
   8208 
   8209 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8210 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8211 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8212 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8213 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8214   $as_echo_n "(cached) " >&6
   8215 else
   8216   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8217 /* end confdefs.h.  */
   8218 int i;
   8219 _ACEOF
   8220 if ac_fn_c_try_compile "$LINENO"; then :
   8221   xorg_cv_cc_flag_unknown_warning_option=yes
   8222 else
   8223   xorg_cv_cc_flag_unknown_warning_option=no
   8224 fi
   8225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8226 fi
   8227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8228 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8229 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8230 	CFLAGS="$xorg_testset_save_CFLAGS"
   8231 fi
   8232 
   8233 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8234 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8235 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8236 	fi
   8237 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8238 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8239 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8240 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8241   $as_echo_n "(cached) " >&6
   8242 else
   8243   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8244 /* end confdefs.h.  */
   8245 int i;
   8246 _ACEOF
   8247 if ac_fn_c_try_compile "$LINENO"; then :
   8248   xorg_cv_cc_flag_unused_command_line_argument=yes
   8249 else
   8250   xorg_cv_cc_flag_unused_command_line_argument=no
   8251 fi
   8252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8253 fi
   8254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8255 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8256 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8257 	CFLAGS="$xorg_testset_save_CFLAGS"
   8258 fi
   8259 
   8260 found="no"
   8261 
   8262 	if test $found = "no" ; then
   8263 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8264 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8265 		fi
   8266 
   8267 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8268 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8269 		fi
   8270 
   8271 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8272 
   8273 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8274 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8275 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=int-to-pointer-cast" | $as_tr_sh`
   8276 		if eval \${$cacheid+:} false; then :
   8277   $as_echo_n "(cached) " >&6
   8278 else
   8279   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8280 /* end confdefs.h.  */
   8281 int i;
   8282 int
   8283 main ()
   8284 {
   8285 
   8286   ;
   8287   return 0;
   8288 }
   8289 _ACEOF
   8290 if ac_fn_c_try_link "$LINENO"; then :
   8291   eval $cacheid=yes
   8292 else
   8293   eval $cacheid=no
   8294 fi
   8295 rm -f core conftest.err conftest.$ac_objext \
   8296     conftest$ac_exeext conftest.$ac_ext
   8297 fi
   8298 
   8299 
   8300 		CFLAGS="$xorg_testset_save_CFLAGS"
   8301 
   8302 		eval supported=\$$cacheid
   8303 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8304 $as_echo "$supported" >&6; }
   8305 		if test "$supported" = "yes" ; then
   8306 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8307 			found="yes"
   8308 		fi
   8309 	fi
   8310 
   8311 	if test $found = "no" ; then
   8312 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8313 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8314 		fi
   8315 
   8316 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8317 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8318 		fi
   8319 
   8320 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8321 
   8322 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8323 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8324 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_BAD_PTR_INT_COMBINATION" | $as_tr_sh`
   8325 		if eval \${$cacheid+:} false; then :
   8326   $as_echo_n "(cached) " >&6
   8327 else
   8328   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8329 /* end confdefs.h.  */
   8330 int i;
   8331 int
   8332 main ()
   8333 {
   8334 
   8335   ;
   8336   return 0;
   8337 }
   8338 _ACEOF
   8339 if ac_fn_c_try_link "$LINENO"; then :
   8340   eval $cacheid=yes
   8341 else
   8342   eval $cacheid=no
   8343 fi
   8344 rm -f core conftest.err conftest.$ac_objext \
   8345     conftest$ac_exeext conftest.$ac_ext
   8346 fi
   8347 
   8348 
   8349 		CFLAGS="$xorg_testset_save_CFLAGS"
   8350 
   8351 		eval supported=\$$cacheid
   8352 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8353 $as_echo "$supported" >&6; }
   8354 		if test "$supported" = "yes" ; then
   8355 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8356 			found="yes"
   8357 		fi
   8358 	fi
   8359 
   8360 
   8361 
   8362 
   8363 
   8364 
   8365 
   8366 
   8367 
   8368 
   8369 
   8370 
   8371 
   8372 
   8373 
   8374 xorg_testset_save_CFLAGS="$CFLAGS"
   8375 
   8376 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8377 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8378 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8379 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8380 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8381   $as_echo_n "(cached) " >&6
   8382 else
   8383   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8384 /* end confdefs.h.  */
   8385 int i;
   8386 _ACEOF
   8387 if ac_fn_c_try_compile "$LINENO"; then :
   8388   xorg_cv_cc_flag_unknown_warning_option=yes
   8389 else
   8390   xorg_cv_cc_flag_unknown_warning_option=no
   8391 fi
   8392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8393 fi
   8394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8395 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8396 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8397 	CFLAGS="$xorg_testset_save_CFLAGS"
   8398 fi
   8399 
   8400 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8401 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8402 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8403 	fi
   8404 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8405 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8406 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8407 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8408   $as_echo_n "(cached) " >&6
   8409 else
   8410   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8411 /* end confdefs.h.  */
   8412 int i;
   8413 _ACEOF
   8414 if ac_fn_c_try_compile "$LINENO"; then :
   8415   xorg_cv_cc_flag_unused_command_line_argument=yes
   8416 else
   8417   xorg_cv_cc_flag_unused_command_line_argument=no
   8418 fi
   8419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8420 fi
   8421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8422 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8423 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8424 	CFLAGS="$xorg_testset_save_CFLAGS"
   8425 fi
   8426 
   8427 found="no"
   8428 
   8429 	if test $found = "no" ; then
   8430 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8431 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8432 		fi
   8433 
   8434 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8435 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8436 		fi
   8437 
   8438 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8439 
   8440 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8441 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8442 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=pointer-to-int-cast" | $as_tr_sh`
   8443 		if eval \${$cacheid+:} false; then :
   8444   $as_echo_n "(cached) " >&6
   8445 else
   8446   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8447 /* end confdefs.h.  */
   8448 int i;
   8449 int
   8450 main ()
   8451 {
   8452 
   8453   ;
   8454   return 0;
   8455 }
   8456 _ACEOF
   8457 if ac_fn_c_try_link "$LINENO"; then :
   8458   eval $cacheid=yes
   8459 else
   8460   eval $cacheid=no
   8461 fi
   8462 rm -f core conftest.err conftest.$ac_objext \
   8463     conftest$ac_exeext conftest.$ac_ext
   8464 fi
   8465 
   8466 
   8467 		CFLAGS="$xorg_testset_save_CFLAGS"
   8468 
   8469 		eval supported=\$$cacheid
   8470 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8471 $as_echo "$supported" >&6; }
   8472 		if test "$supported" = "yes" ; then
   8473 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8474 			found="yes"
   8475 		fi
   8476 	fi
   8477 
   8478  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8479 else
   8480 { $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
   8481 $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;}
   8482 
   8483 
   8484 
   8485 
   8486 
   8487 
   8488 
   8489 
   8490 
   8491 
   8492 
   8493 
   8494 
   8495 xorg_testset_save_CFLAGS="$CFLAGS"
   8496 
   8497 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8498 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8499 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8500 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8501 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8502   $as_echo_n "(cached) " >&6
   8503 else
   8504   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8505 /* end confdefs.h.  */
   8506 int i;
   8507 _ACEOF
   8508 if ac_fn_c_try_compile "$LINENO"; then :
   8509   xorg_cv_cc_flag_unknown_warning_option=yes
   8510 else
   8511   xorg_cv_cc_flag_unknown_warning_option=no
   8512 fi
   8513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8514 fi
   8515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8516 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8517 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8518 	CFLAGS="$xorg_testset_save_CFLAGS"
   8519 fi
   8520 
   8521 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8522 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8523 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8524 	fi
   8525 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8526 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8527 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8528 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8529   $as_echo_n "(cached) " >&6
   8530 else
   8531   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8532 /* end confdefs.h.  */
   8533 int i;
   8534 _ACEOF
   8535 if ac_fn_c_try_compile "$LINENO"; then :
   8536   xorg_cv_cc_flag_unused_command_line_argument=yes
   8537 else
   8538   xorg_cv_cc_flag_unused_command_line_argument=no
   8539 fi
   8540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8541 fi
   8542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8543 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8544 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8545 	CFLAGS="$xorg_testset_save_CFLAGS"
   8546 fi
   8547 
   8548 found="no"
   8549 
   8550 	if test $found = "no" ; then
   8551 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8552 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8553 		fi
   8554 
   8555 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8556 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8557 		fi
   8558 
   8559 		CFLAGS="$CFLAGS -Wimplicit"
   8560 
   8561 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8562 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8563 		cacheid=xorg_cv_cc_flag__Wimplicit
   8564 		if eval \${$cacheid+:} false; then :
   8565   $as_echo_n "(cached) " >&6
   8566 else
   8567   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8568 /* end confdefs.h.  */
   8569 int i;
   8570 int
   8571 main ()
   8572 {
   8573 
   8574   ;
   8575   return 0;
   8576 }
   8577 _ACEOF
   8578 if ac_fn_c_try_link "$LINENO"; then :
   8579   eval $cacheid=yes
   8580 else
   8581   eval $cacheid=no
   8582 fi
   8583 rm -f core conftest.err conftest.$ac_objext \
   8584     conftest$ac_exeext conftest.$ac_ext
   8585 fi
   8586 
   8587 
   8588 		CFLAGS="$xorg_testset_save_CFLAGS"
   8589 
   8590 		eval supported=\$$cacheid
   8591 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8592 $as_echo "$supported" >&6; }
   8593 		if test "$supported" = "yes" ; then
   8594 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8595 			found="yes"
   8596 		fi
   8597 	fi
   8598 
   8599 
   8600 
   8601 
   8602 
   8603 
   8604 
   8605 
   8606 
   8607 
   8608 
   8609 
   8610 
   8611 
   8612 
   8613 xorg_testset_save_CFLAGS="$CFLAGS"
   8614 
   8615 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8616 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8617 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8618 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8619 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8620   $as_echo_n "(cached) " >&6
   8621 else
   8622   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8623 /* end confdefs.h.  */
   8624 int i;
   8625 _ACEOF
   8626 if ac_fn_c_try_compile "$LINENO"; then :
   8627   xorg_cv_cc_flag_unknown_warning_option=yes
   8628 else
   8629   xorg_cv_cc_flag_unknown_warning_option=no
   8630 fi
   8631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8632 fi
   8633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8634 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8635 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8636 	CFLAGS="$xorg_testset_save_CFLAGS"
   8637 fi
   8638 
   8639 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8640 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8641 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8642 	fi
   8643 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8644 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8645 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8646 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8647   $as_echo_n "(cached) " >&6
   8648 else
   8649   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8650 /* end confdefs.h.  */
   8651 int i;
   8652 _ACEOF
   8653 if ac_fn_c_try_compile "$LINENO"; then :
   8654   xorg_cv_cc_flag_unused_command_line_argument=yes
   8655 else
   8656   xorg_cv_cc_flag_unused_command_line_argument=no
   8657 fi
   8658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8659 fi
   8660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8661 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8662 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8663 	CFLAGS="$xorg_testset_save_CFLAGS"
   8664 fi
   8665 
   8666 found="no"
   8667 
   8668 	if test $found = "no" ; then
   8669 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8670 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8671 		fi
   8672 
   8673 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8674 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8675 		fi
   8676 
   8677 		CFLAGS="$CFLAGS -Wnonnull"
   8678 
   8679 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8680 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8681 		cacheid=xorg_cv_cc_flag__Wnonnull
   8682 		if eval \${$cacheid+:} false; then :
   8683   $as_echo_n "(cached) " >&6
   8684 else
   8685   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8686 /* end confdefs.h.  */
   8687 int i;
   8688 int
   8689 main ()
   8690 {
   8691 
   8692   ;
   8693   return 0;
   8694 }
   8695 _ACEOF
   8696 if ac_fn_c_try_link "$LINENO"; then :
   8697   eval $cacheid=yes
   8698 else
   8699   eval $cacheid=no
   8700 fi
   8701 rm -f core conftest.err conftest.$ac_objext \
   8702     conftest$ac_exeext conftest.$ac_ext
   8703 fi
   8704 
   8705 
   8706 		CFLAGS="$xorg_testset_save_CFLAGS"
   8707 
   8708 		eval supported=\$$cacheid
   8709 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8710 $as_echo "$supported" >&6; }
   8711 		if test "$supported" = "yes" ; then
   8712 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8713 			found="yes"
   8714 		fi
   8715 	fi
   8716 
   8717 
   8718 
   8719 
   8720 
   8721 
   8722 
   8723 
   8724 
   8725 
   8726 
   8727 
   8728 
   8729 
   8730 
   8731 xorg_testset_save_CFLAGS="$CFLAGS"
   8732 
   8733 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8734 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8735 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8736 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8737 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8738   $as_echo_n "(cached) " >&6
   8739 else
   8740   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8741 /* end confdefs.h.  */
   8742 int i;
   8743 _ACEOF
   8744 if ac_fn_c_try_compile "$LINENO"; then :
   8745   xorg_cv_cc_flag_unknown_warning_option=yes
   8746 else
   8747   xorg_cv_cc_flag_unknown_warning_option=no
   8748 fi
   8749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8750 fi
   8751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8752 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8753 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8754 	CFLAGS="$xorg_testset_save_CFLAGS"
   8755 fi
   8756 
   8757 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8758 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8759 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8760 	fi
   8761 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8762 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8763 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8764 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8765   $as_echo_n "(cached) " >&6
   8766 else
   8767   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8768 /* end confdefs.h.  */
   8769 int i;
   8770 _ACEOF
   8771 if ac_fn_c_try_compile "$LINENO"; then :
   8772   xorg_cv_cc_flag_unused_command_line_argument=yes
   8773 else
   8774   xorg_cv_cc_flag_unused_command_line_argument=no
   8775 fi
   8776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8777 fi
   8778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8779 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8780 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8781 	CFLAGS="$xorg_testset_save_CFLAGS"
   8782 fi
   8783 
   8784 found="no"
   8785 
   8786 	if test $found = "no" ; then
   8787 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8788 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8789 		fi
   8790 
   8791 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8792 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8793 		fi
   8794 
   8795 		CFLAGS="$CFLAGS -Winit-self"
   8796 
   8797 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   8798 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   8799 		cacheid=xorg_cv_cc_flag__Winit_self
   8800 		if eval \${$cacheid+:} false; then :
   8801   $as_echo_n "(cached) " >&6
   8802 else
   8803   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8804 /* end confdefs.h.  */
   8805 int i;
   8806 int
   8807 main ()
   8808 {
   8809 
   8810   ;
   8811   return 0;
   8812 }
   8813 _ACEOF
   8814 if ac_fn_c_try_link "$LINENO"; then :
   8815   eval $cacheid=yes
   8816 else
   8817   eval $cacheid=no
   8818 fi
   8819 rm -f core conftest.err conftest.$ac_objext \
   8820     conftest$ac_exeext conftest.$ac_ext
   8821 fi
   8822 
   8823 
   8824 		CFLAGS="$xorg_testset_save_CFLAGS"
   8825 
   8826 		eval supported=\$$cacheid
   8827 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8828 $as_echo "$supported" >&6; }
   8829 		if test "$supported" = "yes" ; then
   8830 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   8831 			found="yes"
   8832 		fi
   8833 	fi
   8834 
   8835 
   8836 
   8837 
   8838 
   8839 
   8840 
   8841 
   8842 
   8843 
   8844 
   8845 
   8846 
   8847 
   8848 
   8849 xorg_testset_save_CFLAGS="$CFLAGS"
   8850 
   8851 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8852 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8853 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8854 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8855 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8856   $as_echo_n "(cached) " >&6
   8857 else
   8858   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8859 /* end confdefs.h.  */
   8860 int i;
   8861 _ACEOF
   8862 if ac_fn_c_try_compile "$LINENO"; then :
   8863   xorg_cv_cc_flag_unknown_warning_option=yes
   8864 else
   8865   xorg_cv_cc_flag_unknown_warning_option=no
   8866 fi
   8867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8868 fi
   8869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8870 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8871 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8872 	CFLAGS="$xorg_testset_save_CFLAGS"
   8873 fi
   8874 
   8875 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8876 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8877 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8878 	fi
   8879 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8880 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8881 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8882 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8883   $as_echo_n "(cached) " >&6
   8884 else
   8885   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8886 /* end confdefs.h.  */
   8887 int i;
   8888 _ACEOF
   8889 if ac_fn_c_try_compile "$LINENO"; then :
   8890   xorg_cv_cc_flag_unused_command_line_argument=yes
   8891 else
   8892   xorg_cv_cc_flag_unused_command_line_argument=no
   8893 fi
   8894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8895 fi
   8896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8897 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8898 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8899 	CFLAGS="$xorg_testset_save_CFLAGS"
   8900 fi
   8901 
   8902 found="no"
   8903 
   8904 	if test $found = "no" ; then
   8905 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8906 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8907 		fi
   8908 
   8909 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8910 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8911 		fi
   8912 
   8913 		CFLAGS="$CFLAGS -Wmain"
   8914 
   8915 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   8916 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   8917 		cacheid=xorg_cv_cc_flag__Wmain
   8918 		if eval \${$cacheid+:} false; then :
   8919   $as_echo_n "(cached) " >&6
   8920 else
   8921   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8922 /* end confdefs.h.  */
   8923 int i;
   8924 int
   8925 main ()
   8926 {
   8927 
   8928   ;
   8929   return 0;
   8930 }
   8931 _ACEOF
   8932 if ac_fn_c_try_link "$LINENO"; then :
   8933   eval $cacheid=yes
   8934 else
   8935   eval $cacheid=no
   8936 fi
   8937 rm -f core conftest.err conftest.$ac_objext \
   8938     conftest$ac_exeext conftest.$ac_ext
   8939 fi
   8940 
   8941 
   8942 		CFLAGS="$xorg_testset_save_CFLAGS"
   8943 
   8944 		eval supported=\$$cacheid
   8945 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8946 $as_echo "$supported" >&6; }
   8947 		if test "$supported" = "yes" ; then
   8948 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   8949 			found="yes"
   8950 		fi
   8951 	fi
   8952 
   8953 
   8954 
   8955 
   8956 
   8957 
   8958 
   8959 
   8960 
   8961 
   8962 
   8963 
   8964 
   8965 
   8966 
   8967 xorg_testset_save_CFLAGS="$CFLAGS"
   8968 
   8969 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8970 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8971 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8972 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8973 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8974   $as_echo_n "(cached) " >&6
   8975 else
   8976   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8977 /* end confdefs.h.  */
   8978 int i;
   8979 _ACEOF
   8980 if ac_fn_c_try_compile "$LINENO"; then :
   8981   xorg_cv_cc_flag_unknown_warning_option=yes
   8982 else
   8983   xorg_cv_cc_flag_unknown_warning_option=no
   8984 fi
   8985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8986 fi
   8987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8988 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8989 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8990 	CFLAGS="$xorg_testset_save_CFLAGS"
   8991 fi
   8992 
   8993 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8994 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8995 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8996 	fi
   8997 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8998 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8999 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9000 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9001   $as_echo_n "(cached) " >&6
   9002 else
   9003   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9004 /* end confdefs.h.  */
   9005 int i;
   9006 _ACEOF
   9007 if ac_fn_c_try_compile "$LINENO"; then :
   9008   xorg_cv_cc_flag_unused_command_line_argument=yes
   9009 else
   9010   xorg_cv_cc_flag_unused_command_line_argument=no
   9011 fi
   9012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9013 fi
   9014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9015 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9016 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9017 	CFLAGS="$xorg_testset_save_CFLAGS"
   9018 fi
   9019 
   9020 found="no"
   9021 
   9022 	if test $found = "no" ; then
   9023 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9024 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9025 		fi
   9026 
   9027 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9028 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9029 		fi
   9030 
   9031 		CFLAGS="$CFLAGS -Wmissing-braces"
   9032 
   9033 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9034 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   9035 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9036 		if eval \${$cacheid+:} false; then :
   9037   $as_echo_n "(cached) " >&6
   9038 else
   9039   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9040 /* end confdefs.h.  */
   9041 int i;
   9042 int
   9043 main ()
   9044 {
   9045 
   9046   ;
   9047   return 0;
   9048 }
   9049 _ACEOF
   9050 if ac_fn_c_try_link "$LINENO"; then :
   9051   eval $cacheid=yes
   9052 else
   9053   eval $cacheid=no
   9054 fi
   9055 rm -f core conftest.err conftest.$ac_objext \
   9056     conftest$ac_exeext conftest.$ac_ext
   9057 fi
   9058 
   9059 
   9060 		CFLAGS="$xorg_testset_save_CFLAGS"
   9061 
   9062 		eval supported=\$$cacheid
   9063 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9064 $as_echo "$supported" >&6; }
   9065 		if test "$supported" = "yes" ; then
   9066 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9067 			found="yes"
   9068 		fi
   9069 	fi
   9070 
   9071 
   9072 
   9073 
   9074 
   9075 
   9076 
   9077 
   9078 
   9079 
   9080 
   9081 
   9082 
   9083 
   9084 
   9085 xorg_testset_save_CFLAGS="$CFLAGS"
   9086 
   9087 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9088 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9089 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9090 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9091 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9092   $as_echo_n "(cached) " >&6
   9093 else
   9094   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9095 /* end confdefs.h.  */
   9096 int i;
   9097 _ACEOF
   9098 if ac_fn_c_try_compile "$LINENO"; then :
   9099   xorg_cv_cc_flag_unknown_warning_option=yes
   9100 else
   9101   xorg_cv_cc_flag_unknown_warning_option=no
   9102 fi
   9103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9104 fi
   9105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9106 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9107 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9108 	CFLAGS="$xorg_testset_save_CFLAGS"
   9109 fi
   9110 
   9111 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9112 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9113 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9114 	fi
   9115 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9116 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9117 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9118 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9119   $as_echo_n "(cached) " >&6
   9120 else
   9121   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9122 /* end confdefs.h.  */
   9123 int i;
   9124 _ACEOF
   9125 if ac_fn_c_try_compile "$LINENO"; then :
   9126   xorg_cv_cc_flag_unused_command_line_argument=yes
   9127 else
   9128   xorg_cv_cc_flag_unused_command_line_argument=no
   9129 fi
   9130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9131 fi
   9132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9133 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9134 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9135 	CFLAGS="$xorg_testset_save_CFLAGS"
   9136 fi
   9137 
   9138 found="no"
   9139 
   9140 	if test $found = "no" ; then
   9141 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9142 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9143 		fi
   9144 
   9145 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9146 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9147 		fi
   9148 
   9149 		CFLAGS="$CFLAGS -Wsequence-point"
   9150 
   9151 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9152 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9153 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9154 		if eval \${$cacheid+:} false; then :
   9155   $as_echo_n "(cached) " >&6
   9156 else
   9157   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9158 /* end confdefs.h.  */
   9159 int i;
   9160 int
   9161 main ()
   9162 {
   9163 
   9164   ;
   9165   return 0;
   9166 }
   9167 _ACEOF
   9168 if ac_fn_c_try_link "$LINENO"; then :
   9169   eval $cacheid=yes
   9170 else
   9171   eval $cacheid=no
   9172 fi
   9173 rm -f core conftest.err conftest.$ac_objext \
   9174     conftest$ac_exeext conftest.$ac_ext
   9175 fi
   9176 
   9177 
   9178 		CFLAGS="$xorg_testset_save_CFLAGS"
   9179 
   9180 		eval supported=\$$cacheid
   9181 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9182 $as_echo "$supported" >&6; }
   9183 		if test "$supported" = "yes" ; then
   9184 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9185 			found="yes"
   9186 		fi
   9187 	fi
   9188 
   9189 
   9190 
   9191 
   9192 
   9193 
   9194 
   9195 
   9196 
   9197 
   9198 
   9199 
   9200 
   9201 
   9202 
   9203 xorg_testset_save_CFLAGS="$CFLAGS"
   9204 
   9205 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9206 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9207 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9208 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9209 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9210   $as_echo_n "(cached) " >&6
   9211 else
   9212   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9213 /* end confdefs.h.  */
   9214 int i;
   9215 _ACEOF
   9216 if ac_fn_c_try_compile "$LINENO"; then :
   9217   xorg_cv_cc_flag_unknown_warning_option=yes
   9218 else
   9219   xorg_cv_cc_flag_unknown_warning_option=no
   9220 fi
   9221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9222 fi
   9223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9224 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9225 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9226 	CFLAGS="$xorg_testset_save_CFLAGS"
   9227 fi
   9228 
   9229 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9230 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9231 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9232 	fi
   9233 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9234 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9235 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9236 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9237   $as_echo_n "(cached) " >&6
   9238 else
   9239   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9240 /* end confdefs.h.  */
   9241 int i;
   9242 _ACEOF
   9243 if ac_fn_c_try_compile "$LINENO"; then :
   9244   xorg_cv_cc_flag_unused_command_line_argument=yes
   9245 else
   9246   xorg_cv_cc_flag_unused_command_line_argument=no
   9247 fi
   9248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9249 fi
   9250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9251 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9252 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9253 	CFLAGS="$xorg_testset_save_CFLAGS"
   9254 fi
   9255 
   9256 found="no"
   9257 
   9258 	if test $found = "no" ; then
   9259 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9260 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9261 		fi
   9262 
   9263 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9264 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9265 		fi
   9266 
   9267 		CFLAGS="$CFLAGS -Wreturn-type"
   9268 
   9269 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9270 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9271 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9272 		if eval \${$cacheid+:} false; then :
   9273   $as_echo_n "(cached) " >&6
   9274 else
   9275   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9276 /* end confdefs.h.  */
   9277 int i;
   9278 int
   9279 main ()
   9280 {
   9281 
   9282   ;
   9283   return 0;
   9284 }
   9285 _ACEOF
   9286 if ac_fn_c_try_link "$LINENO"; then :
   9287   eval $cacheid=yes
   9288 else
   9289   eval $cacheid=no
   9290 fi
   9291 rm -f core conftest.err conftest.$ac_objext \
   9292     conftest$ac_exeext conftest.$ac_ext
   9293 fi
   9294 
   9295 
   9296 		CFLAGS="$xorg_testset_save_CFLAGS"
   9297 
   9298 		eval supported=\$$cacheid
   9299 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9300 $as_echo "$supported" >&6; }
   9301 		if test "$supported" = "yes" ; then
   9302 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9303 			found="yes"
   9304 		fi
   9305 	fi
   9306 
   9307 
   9308 
   9309 
   9310 
   9311 
   9312 
   9313 
   9314 
   9315 
   9316 
   9317 
   9318 
   9319 
   9320 
   9321 xorg_testset_save_CFLAGS="$CFLAGS"
   9322 
   9323 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9324 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9325 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9326 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9327 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9328   $as_echo_n "(cached) " >&6
   9329 else
   9330   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9331 /* end confdefs.h.  */
   9332 int i;
   9333 _ACEOF
   9334 if ac_fn_c_try_compile "$LINENO"; then :
   9335   xorg_cv_cc_flag_unknown_warning_option=yes
   9336 else
   9337   xorg_cv_cc_flag_unknown_warning_option=no
   9338 fi
   9339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9340 fi
   9341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9342 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9343 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9344 	CFLAGS="$xorg_testset_save_CFLAGS"
   9345 fi
   9346 
   9347 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9348 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9349 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9350 	fi
   9351 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9352 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9353 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9354 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9355   $as_echo_n "(cached) " >&6
   9356 else
   9357   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9358 /* end confdefs.h.  */
   9359 int i;
   9360 _ACEOF
   9361 if ac_fn_c_try_compile "$LINENO"; then :
   9362   xorg_cv_cc_flag_unused_command_line_argument=yes
   9363 else
   9364   xorg_cv_cc_flag_unused_command_line_argument=no
   9365 fi
   9366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9367 fi
   9368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9369 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9370 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9371 	CFLAGS="$xorg_testset_save_CFLAGS"
   9372 fi
   9373 
   9374 found="no"
   9375 
   9376 	if test $found = "no" ; then
   9377 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9378 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9379 		fi
   9380 
   9381 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9382 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9383 		fi
   9384 
   9385 		CFLAGS="$CFLAGS -Wtrigraphs"
   9386 
   9387 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9388 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9389 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9390 		if eval \${$cacheid+:} false; then :
   9391   $as_echo_n "(cached) " >&6
   9392 else
   9393   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9394 /* end confdefs.h.  */
   9395 int i;
   9396 int
   9397 main ()
   9398 {
   9399 
   9400   ;
   9401   return 0;
   9402 }
   9403 _ACEOF
   9404 if ac_fn_c_try_link "$LINENO"; then :
   9405   eval $cacheid=yes
   9406 else
   9407   eval $cacheid=no
   9408 fi
   9409 rm -f core conftest.err conftest.$ac_objext \
   9410     conftest$ac_exeext conftest.$ac_ext
   9411 fi
   9412 
   9413 
   9414 		CFLAGS="$xorg_testset_save_CFLAGS"
   9415 
   9416 		eval supported=\$$cacheid
   9417 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9418 $as_echo "$supported" >&6; }
   9419 		if test "$supported" = "yes" ; then
   9420 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9421 			found="yes"
   9422 		fi
   9423 	fi
   9424 
   9425 
   9426 
   9427 
   9428 
   9429 
   9430 
   9431 
   9432 
   9433 
   9434 
   9435 
   9436 
   9437 
   9438 
   9439 xorg_testset_save_CFLAGS="$CFLAGS"
   9440 
   9441 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9442 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9443 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9444 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9445 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9446   $as_echo_n "(cached) " >&6
   9447 else
   9448   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9449 /* end confdefs.h.  */
   9450 int i;
   9451 _ACEOF
   9452 if ac_fn_c_try_compile "$LINENO"; then :
   9453   xorg_cv_cc_flag_unknown_warning_option=yes
   9454 else
   9455   xorg_cv_cc_flag_unknown_warning_option=no
   9456 fi
   9457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9458 fi
   9459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9460 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9461 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9462 	CFLAGS="$xorg_testset_save_CFLAGS"
   9463 fi
   9464 
   9465 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9466 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9467 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9468 	fi
   9469 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9470 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9471 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9472 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9473   $as_echo_n "(cached) " >&6
   9474 else
   9475   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9476 /* end confdefs.h.  */
   9477 int i;
   9478 _ACEOF
   9479 if ac_fn_c_try_compile "$LINENO"; then :
   9480   xorg_cv_cc_flag_unused_command_line_argument=yes
   9481 else
   9482   xorg_cv_cc_flag_unused_command_line_argument=no
   9483 fi
   9484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9485 fi
   9486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9487 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9488 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9489 	CFLAGS="$xorg_testset_save_CFLAGS"
   9490 fi
   9491 
   9492 found="no"
   9493 
   9494 	if test $found = "no" ; then
   9495 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9496 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9497 		fi
   9498 
   9499 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9500 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9501 		fi
   9502 
   9503 		CFLAGS="$CFLAGS -Warray-bounds"
   9504 
   9505 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9506 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9507 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9508 		if eval \${$cacheid+:} false; then :
   9509   $as_echo_n "(cached) " >&6
   9510 else
   9511   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9512 /* end confdefs.h.  */
   9513 int i;
   9514 int
   9515 main ()
   9516 {
   9517 
   9518   ;
   9519   return 0;
   9520 }
   9521 _ACEOF
   9522 if ac_fn_c_try_link "$LINENO"; then :
   9523   eval $cacheid=yes
   9524 else
   9525   eval $cacheid=no
   9526 fi
   9527 rm -f core conftest.err conftest.$ac_objext \
   9528     conftest$ac_exeext conftest.$ac_ext
   9529 fi
   9530 
   9531 
   9532 		CFLAGS="$xorg_testset_save_CFLAGS"
   9533 
   9534 		eval supported=\$$cacheid
   9535 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9536 $as_echo "$supported" >&6; }
   9537 		if test "$supported" = "yes" ; then
   9538 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9539 			found="yes"
   9540 		fi
   9541 	fi
   9542 
   9543 
   9544 
   9545 
   9546 
   9547 
   9548 
   9549 
   9550 
   9551 
   9552 
   9553 
   9554 
   9555 
   9556 
   9557 xorg_testset_save_CFLAGS="$CFLAGS"
   9558 
   9559 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9560 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9561 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9562 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9563 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9564   $as_echo_n "(cached) " >&6
   9565 else
   9566   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9567 /* end confdefs.h.  */
   9568 int i;
   9569 _ACEOF
   9570 if ac_fn_c_try_compile "$LINENO"; then :
   9571   xorg_cv_cc_flag_unknown_warning_option=yes
   9572 else
   9573   xorg_cv_cc_flag_unknown_warning_option=no
   9574 fi
   9575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9576 fi
   9577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9578 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9579 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9580 	CFLAGS="$xorg_testset_save_CFLAGS"
   9581 fi
   9582 
   9583 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9584 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9585 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9586 	fi
   9587 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9588 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9589 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9590 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9591   $as_echo_n "(cached) " >&6
   9592 else
   9593   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9594 /* end confdefs.h.  */
   9595 int i;
   9596 _ACEOF
   9597 if ac_fn_c_try_compile "$LINENO"; then :
   9598   xorg_cv_cc_flag_unused_command_line_argument=yes
   9599 else
   9600   xorg_cv_cc_flag_unused_command_line_argument=no
   9601 fi
   9602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9603 fi
   9604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9605 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9606 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9607 	CFLAGS="$xorg_testset_save_CFLAGS"
   9608 fi
   9609 
   9610 found="no"
   9611 
   9612 	if test $found = "no" ; then
   9613 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9614 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9615 		fi
   9616 
   9617 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9618 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9619 		fi
   9620 
   9621 		CFLAGS="$CFLAGS -Wwrite-strings"
   9622 
   9623 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9624 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9625 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9626 		if eval \${$cacheid+:} false; then :
   9627   $as_echo_n "(cached) " >&6
   9628 else
   9629   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9630 /* end confdefs.h.  */
   9631 int i;
   9632 int
   9633 main ()
   9634 {
   9635 
   9636   ;
   9637   return 0;
   9638 }
   9639 _ACEOF
   9640 if ac_fn_c_try_link "$LINENO"; then :
   9641   eval $cacheid=yes
   9642 else
   9643   eval $cacheid=no
   9644 fi
   9645 rm -f core conftest.err conftest.$ac_objext \
   9646     conftest$ac_exeext conftest.$ac_ext
   9647 fi
   9648 
   9649 
   9650 		CFLAGS="$xorg_testset_save_CFLAGS"
   9651 
   9652 		eval supported=\$$cacheid
   9653 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9654 $as_echo "$supported" >&6; }
   9655 		if test "$supported" = "yes" ; then
   9656 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9657 			found="yes"
   9658 		fi
   9659 	fi
   9660 
   9661 
   9662 
   9663 
   9664 
   9665 
   9666 
   9667 
   9668 
   9669 
   9670 
   9671 
   9672 
   9673 
   9674 
   9675 xorg_testset_save_CFLAGS="$CFLAGS"
   9676 
   9677 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9678 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9679 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9680 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9681 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9682   $as_echo_n "(cached) " >&6
   9683 else
   9684   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9685 /* end confdefs.h.  */
   9686 int i;
   9687 _ACEOF
   9688 if ac_fn_c_try_compile "$LINENO"; then :
   9689   xorg_cv_cc_flag_unknown_warning_option=yes
   9690 else
   9691   xorg_cv_cc_flag_unknown_warning_option=no
   9692 fi
   9693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9694 fi
   9695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9696 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9697 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9698 	CFLAGS="$xorg_testset_save_CFLAGS"
   9699 fi
   9700 
   9701 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9702 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9703 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9704 	fi
   9705 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9706 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9707 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9708 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9709   $as_echo_n "(cached) " >&6
   9710 else
   9711   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9712 /* end confdefs.h.  */
   9713 int i;
   9714 _ACEOF
   9715 if ac_fn_c_try_compile "$LINENO"; then :
   9716   xorg_cv_cc_flag_unused_command_line_argument=yes
   9717 else
   9718   xorg_cv_cc_flag_unused_command_line_argument=no
   9719 fi
   9720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9721 fi
   9722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9723 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9724 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9725 	CFLAGS="$xorg_testset_save_CFLAGS"
   9726 fi
   9727 
   9728 found="no"
   9729 
   9730 	if test $found = "no" ; then
   9731 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9732 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9733 		fi
   9734 
   9735 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9736 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9737 		fi
   9738 
   9739 		CFLAGS="$CFLAGS -Waddress"
   9740 
   9741 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9742 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9743 		cacheid=xorg_cv_cc_flag__Waddress
   9744 		if eval \${$cacheid+:} false; then :
   9745   $as_echo_n "(cached) " >&6
   9746 else
   9747   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9748 /* end confdefs.h.  */
   9749 int i;
   9750 int
   9751 main ()
   9752 {
   9753 
   9754   ;
   9755   return 0;
   9756 }
   9757 _ACEOF
   9758 if ac_fn_c_try_link "$LINENO"; then :
   9759   eval $cacheid=yes
   9760 else
   9761   eval $cacheid=no
   9762 fi
   9763 rm -f core conftest.err conftest.$ac_objext \
   9764     conftest$ac_exeext conftest.$ac_ext
   9765 fi
   9766 
   9767 
   9768 		CFLAGS="$xorg_testset_save_CFLAGS"
   9769 
   9770 		eval supported=\$$cacheid
   9771 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9772 $as_echo "$supported" >&6; }
   9773 		if test "$supported" = "yes" ; then
   9774 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9775 			found="yes"
   9776 		fi
   9777 	fi
   9778 
   9779 
   9780 
   9781 
   9782 
   9783 
   9784 
   9785 
   9786 
   9787 
   9788 
   9789 
   9790 
   9791 
   9792 
   9793 xorg_testset_save_CFLAGS="$CFLAGS"
   9794 
   9795 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9796 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9797 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9798 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9799 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9800   $as_echo_n "(cached) " >&6
   9801 else
   9802   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9803 /* end confdefs.h.  */
   9804 int i;
   9805 _ACEOF
   9806 if ac_fn_c_try_compile "$LINENO"; then :
   9807   xorg_cv_cc_flag_unknown_warning_option=yes
   9808 else
   9809   xorg_cv_cc_flag_unknown_warning_option=no
   9810 fi
   9811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9812 fi
   9813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9814 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9815 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9816 	CFLAGS="$xorg_testset_save_CFLAGS"
   9817 fi
   9818 
   9819 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9820 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9821 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9822 	fi
   9823 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9824 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9825 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9826 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9827   $as_echo_n "(cached) " >&6
   9828 else
   9829   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9830 /* end confdefs.h.  */
   9831 int i;
   9832 _ACEOF
   9833 if ac_fn_c_try_compile "$LINENO"; then :
   9834   xorg_cv_cc_flag_unused_command_line_argument=yes
   9835 else
   9836   xorg_cv_cc_flag_unused_command_line_argument=no
   9837 fi
   9838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9839 fi
   9840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9841 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9842 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9843 	CFLAGS="$xorg_testset_save_CFLAGS"
   9844 fi
   9845 
   9846 found="no"
   9847 
   9848 	if test $found = "no" ; then
   9849 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9850 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9851 		fi
   9852 
   9853 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9854 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9855 		fi
   9856 
   9857 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   9858 
   9859 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   9860 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   9861 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   9862 		if eval \${$cacheid+:} false; then :
   9863   $as_echo_n "(cached) " >&6
   9864 else
   9865   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9866 /* end confdefs.h.  */
   9867 int i;
   9868 int
   9869 main ()
   9870 {
   9871 
   9872   ;
   9873   return 0;
   9874 }
   9875 _ACEOF
   9876 if ac_fn_c_try_link "$LINENO"; then :
   9877   eval $cacheid=yes
   9878 else
   9879   eval $cacheid=no
   9880 fi
   9881 rm -f core conftest.err conftest.$ac_objext \
   9882     conftest$ac_exeext conftest.$ac_ext
   9883 fi
   9884 
   9885 
   9886 		CFLAGS="$xorg_testset_save_CFLAGS"
   9887 
   9888 		eval supported=\$$cacheid
   9889 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9890 $as_echo "$supported" >&6; }
   9891 		if test "$supported" = "yes" ; then
   9892 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   9893 			found="yes"
   9894 		fi
   9895 	fi
   9896 
   9897 
   9898 
   9899 
   9900 
   9901 
   9902 
   9903 
   9904 
   9905 
   9906 
   9907 
   9908 
   9909 
   9910 
   9911 xorg_testset_save_CFLAGS="$CFLAGS"
   9912 
   9913 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9914 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9915 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9916 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9917 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9918   $as_echo_n "(cached) " >&6
   9919 else
   9920   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9921 /* end confdefs.h.  */
   9922 int i;
   9923 _ACEOF
   9924 if ac_fn_c_try_compile "$LINENO"; then :
   9925   xorg_cv_cc_flag_unknown_warning_option=yes
   9926 else
   9927   xorg_cv_cc_flag_unknown_warning_option=no
   9928 fi
   9929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9930 fi
   9931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9932 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9933 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9934 	CFLAGS="$xorg_testset_save_CFLAGS"
   9935 fi
   9936 
   9937 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9938 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9939 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9940 	fi
   9941 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9942 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9943 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9944 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9945   $as_echo_n "(cached) " >&6
   9946 else
   9947   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9948 /* end confdefs.h.  */
   9949 int i;
   9950 _ACEOF
   9951 if ac_fn_c_try_compile "$LINENO"; then :
   9952   xorg_cv_cc_flag_unused_command_line_argument=yes
   9953 else
   9954   xorg_cv_cc_flag_unused_command_line_argument=no
   9955 fi
   9956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9957 fi
   9958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9959 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9960 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9961 	CFLAGS="$xorg_testset_save_CFLAGS"
   9962 fi
   9963 
   9964 found="no"
   9965 
   9966 	if test $found = "no" ; then
   9967 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9968 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9969 		fi
   9970 
   9971 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9972 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9973 		fi
   9974 
   9975 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   9976 
   9977 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   9978 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   9979 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   9980 		if eval \${$cacheid+:} false; then :
   9981   $as_echo_n "(cached) " >&6
   9982 else
   9983   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9984 /* end confdefs.h.  */
   9985 int i;
   9986 int
   9987 main ()
   9988 {
   9989 
   9990   ;
   9991   return 0;
   9992 }
   9993 _ACEOF
   9994 if ac_fn_c_try_link "$LINENO"; then :
   9995   eval $cacheid=yes
   9996 else
   9997   eval $cacheid=no
   9998 fi
   9999 rm -f core conftest.err conftest.$ac_objext \
   10000     conftest$ac_exeext conftest.$ac_ext
   10001 fi
   10002 
   10003 
   10004 		CFLAGS="$xorg_testset_save_CFLAGS"
   10005 
   10006 		eval supported=\$$cacheid
   10007 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10008 $as_echo "$supported" >&6; }
   10009 		if test "$supported" = "yes" ; then
   10010 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10011 			found="yes"
   10012 		fi
   10013 	fi
   10014 
   10015 
   10016 fi
   10017 
   10018 
   10019 
   10020 
   10021 
   10022 
   10023 
   10024 		CWARNFLAGS="$BASE_CFLAGS"
   10025 		if  test "x$GCC" = xyes ; then
   10026 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10027 		fi
   10028 
   10029 
   10030 
   10031 
   10032 
   10033 
   10034 
   10035 
   10036 # Check whether --enable-strict-compilation was given.
   10037 if test "${enable_strict_compilation+set}" = set; then :
   10038   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10039 else
   10040   STRICT_COMPILE=no
   10041 fi
   10042 
   10043 
   10044 
   10045 
   10046 
   10047 
   10048 STRICT_CFLAGS=""
   10049 
   10050 
   10051 
   10052 
   10053 
   10054 
   10055 
   10056 
   10057 
   10058 
   10059 
   10060 
   10061 
   10062 xorg_testset_save_CFLAGS="$CFLAGS"
   10063 
   10064 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10065 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10066 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10067 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10068 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10069   $as_echo_n "(cached) " >&6
   10070 else
   10071   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10072 /* end confdefs.h.  */
   10073 int i;
   10074 _ACEOF
   10075 if ac_fn_c_try_compile "$LINENO"; then :
   10076   xorg_cv_cc_flag_unknown_warning_option=yes
   10077 else
   10078   xorg_cv_cc_flag_unknown_warning_option=no
   10079 fi
   10080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10081 fi
   10082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10083 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10084 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10085 	CFLAGS="$xorg_testset_save_CFLAGS"
   10086 fi
   10087 
   10088 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10089 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10090 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10091 	fi
   10092 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10093 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10094 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10095 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10096   $as_echo_n "(cached) " >&6
   10097 else
   10098   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10099 /* end confdefs.h.  */
   10100 int i;
   10101 _ACEOF
   10102 if ac_fn_c_try_compile "$LINENO"; then :
   10103   xorg_cv_cc_flag_unused_command_line_argument=yes
   10104 else
   10105   xorg_cv_cc_flag_unused_command_line_argument=no
   10106 fi
   10107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10108 fi
   10109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10110 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10111 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10112 	CFLAGS="$xorg_testset_save_CFLAGS"
   10113 fi
   10114 
   10115 found="no"
   10116 
   10117 	if test $found = "no" ; then
   10118 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10119 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10120 		fi
   10121 
   10122 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10123 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10124 		fi
   10125 
   10126 		CFLAGS="$CFLAGS -pedantic"
   10127 
   10128 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10129 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10130 		cacheid=xorg_cv_cc_flag__pedantic
   10131 		if eval \${$cacheid+:} false; then :
   10132   $as_echo_n "(cached) " >&6
   10133 else
   10134   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10135 /* end confdefs.h.  */
   10136 int i;
   10137 int
   10138 main ()
   10139 {
   10140 
   10141   ;
   10142   return 0;
   10143 }
   10144 _ACEOF
   10145 if ac_fn_c_try_link "$LINENO"; then :
   10146   eval $cacheid=yes
   10147 else
   10148   eval $cacheid=no
   10149 fi
   10150 rm -f core conftest.err conftest.$ac_objext \
   10151     conftest$ac_exeext conftest.$ac_ext
   10152 fi
   10153 
   10154 
   10155 		CFLAGS="$xorg_testset_save_CFLAGS"
   10156 
   10157 		eval supported=\$$cacheid
   10158 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10159 $as_echo "$supported" >&6; }
   10160 		if test "$supported" = "yes" ; then
   10161 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10162 			found="yes"
   10163 		fi
   10164 	fi
   10165 
   10166 
   10167 
   10168 
   10169 
   10170 
   10171 
   10172 
   10173 
   10174 
   10175 
   10176 
   10177 
   10178 
   10179 
   10180 xorg_testset_save_CFLAGS="$CFLAGS"
   10181 
   10182 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10183 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10184 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10185 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10186 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10187   $as_echo_n "(cached) " >&6
   10188 else
   10189   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10190 /* end confdefs.h.  */
   10191 int i;
   10192 _ACEOF
   10193 if ac_fn_c_try_compile "$LINENO"; then :
   10194   xorg_cv_cc_flag_unknown_warning_option=yes
   10195 else
   10196   xorg_cv_cc_flag_unknown_warning_option=no
   10197 fi
   10198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10199 fi
   10200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10201 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10202 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10203 	CFLAGS="$xorg_testset_save_CFLAGS"
   10204 fi
   10205 
   10206 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10207 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10208 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10209 	fi
   10210 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10211 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10212 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10213 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10214   $as_echo_n "(cached) " >&6
   10215 else
   10216   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10217 /* end confdefs.h.  */
   10218 int i;
   10219 _ACEOF
   10220 if ac_fn_c_try_compile "$LINENO"; then :
   10221   xorg_cv_cc_flag_unused_command_line_argument=yes
   10222 else
   10223   xorg_cv_cc_flag_unused_command_line_argument=no
   10224 fi
   10225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10226 fi
   10227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10228 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10229 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10230 	CFLAGS="$xorg_testset_save_CFLAGS"
   10231 fi
   10232 
   10233 found="no"
   10234 
   10235 	if test $found = "no" ; then
   10236 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10237 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10238 		fi
   10239 
   10240 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10241 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10242 		fi
   10243 
   10244 		CFLAGS="$CFLAGS -Werror"
   10245 
   10246 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10247 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10248 		cacheid=xorg_cv_cc_flag__Werror
   10249 		if eval \${$cacheid+:} false; then :
   10250   $as_echo_n "(cached) " >&6
   10251 else
   10252   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10253 /* end confdefs.h.  */
   10254 int i;
   10255 int
   10256 main ()
   10257 {
   10258 
   10259   ;
   10260   return 0;
   10261 }
   10262 _ACEOF
   10263 if ac_fn_c_try_link "$LINENO"; then :
   10264   eval $cacheid=yes
   10265 else
   10266   eval $cacheid=no
   10267 fi
   10268 rm -f core conftest.err conftest.$ac_objext \
   10269     conftest$ac_exeext conftest.$ac_ext
   10270 fi
   10271 
   10272 
   10273 		CFLAGS="$xorg_testset_save_CFLAGS"
   10274 
   10275 		eval supported=\$$cacheid
   10276 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10277 $as_echo "$supported" >&6; }
   10278 		if test "$supported" = "yes" ; then
   10279 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10280 			found="yes"
   10281 		fi
   10282 	fi
   10283 
   10284 	if test $found = "no" ; then
   10285 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10286 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10287 		fi
   10288 
   10289 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10290 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10291 		fi
   10292 
   10293 		CFLAGS="$CFLAGS -errwarn"
   10294 
   10295 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10296 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10297 		cacheid=xorg_cv_cc_flag__errwarn
   10298 		if eval \${$cacheid+:} false; then :
   10299   $as_echo_n "(cached) " >&6
   10300 else
   10301   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10302 /* end confdefs.h.  */
   10303 int i;
   10304 int
   10305 main ()
   10306 {
   10307 
   10308   ;
   10309   return 0;
   10310 }
   10311 _ACEOF
   10312 if ac_fn_c_try_link "$LINENO"; then :
   10313   eval $cacheid=yes
   10314 else
   10315   eval $cacheid=no
   10316 fi
   10317 rm -f core conftest.err conftest.$ac_objext \
   10318     conftest$ac_exeext conftest.$ac_ext
   10319 fi
   10320 
   10321 
   10322 		CFLAGS="$xorg_testset_save_CFLAGS"
   10323 
   10324 		eval supported=\$$cacheid
   10325 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10326 $as_echo "$supported" >&6; }
   10327 		if test "$supported" = "yes" ; then
   10328 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10329 			found="yes"
   10330 		fi
   10331 	fi
   10332 
   10333 
   10334 
   10335 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10336 # activate it with -Werror, so we add it here explicitly.
   10337 
   10338 
   10339 
   10340 
   10341 
   10342 
   10343 
   10344 
   10345 
   10346 
   10347 
   10348 
   10349 
   10350 xorg_testset_save_CFLAGS="$CFLAGS"
   10351 
   10352 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10353 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10354 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10355 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10356 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10357   $as_echo_n "(cached) " >&6
   10358 else
   10359   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10360 /* end confdefs.h.  */
   10361 int i;
   10362 _ACEOF
   10363 if ac_fn_c_try_compile "$LINENO"; then :
   10364   xorg_cv_cc_flag_unknown_warning_option=yes
   10365 else
   10366   xorg_cv_cc_flag_unknown_warning_option=no
   10367 fi
   10368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10369 fi
   10370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10371 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10372 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10373 	CFLAGS="$xorg_testset_save_CFLAGS"
   10374 fi
   10375 
   10376 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10377 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10378 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10379 	fi
   10380 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10381 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10382 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10383 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10384   $as_echo_n "(cached) " >&6
   10385 else
   10386   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10387 /* end confdefs.h.  */
   10388 int i;
   10389 _ACEOF
   10390 if ac_fn_c_try_compile "$LINENO"; then :
   10391   xorg_cv_cc_flag_unused_command_line_argument=yes
   10392 else
   10393   xorg_cv_cc_flag_unused_command_line_argument=no
   10394 fi
   10395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10396 fi
   10397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10398 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10399 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10400 	CFLAGS="$xorg_testset_save_CFLAGS"
   10401 fi
   10402 
   10403 found="no"
   10404 
   10405 	if test $found = "no" ; then
   10406 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10407 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10408 		fi
   10409 
   10410 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10411 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10412 		fi
   10413 
   10414 		CFLAGS="$CFLAGS -Werror=attributes"
   10415 
   10416 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10417 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10418 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=attributes" | $as_tr_sh`
   10419 		if eval \${$cacheid+:} false; then :
   10420   $as_echo_n "(cached) " >&6
   10421 else
   10422   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10423 /* end confdefs.h.  */
   10424 int i;
   10425 int
   10426 main ()
   10427 {
   10428 
   10429   ;
   10430   return 0;
   10431 }
   10432 _ACEOF
   10433 if ac_fn_c_try_link "$LINENO"; then :
   10434   eval $cacheid=yes
   10435 else
   10436   eval $cacheid=no
   10437 fi
   10438 rm -f core conftest.err conftest.$ac_objext \
   10439     conftest$ac_exeext conftest.$ac_ext
   10440 fi
   10441 
   10442 
   10443 		CFLAGS="$xorg_testset_save_CFLAGS"
   10444 
   10445 		eval supported=\$$cacheid
   10446 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10447 $as_echo "$supported" >&6; }
   10448 		if test "$supported" = "yes" ; then
   10449 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10450 			found="yes"
   10451 		fi
   10452 	fi
   10453 
   10454 
   10455 
   10456 if test "x$STRICT_COMPILE" = "xyes"; then
   10457     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10458     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10459 fi
   10460 
   10461 
   10462 
   10463 
   10464 
   10465 
   10466 cat >>confdefs.h <<_ACEOF
   10467 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10468 _ACEOF
   10469 
   10470 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10471 	if test "x$PVM" = "x"; then
   10472 		PVM="0"
   10473 	fi
   10474 
   10475 cat >>confdefs.h <<_ACEOF
   10476 #define PACKAGE_VERSION_MINOR $PVM
   10477 _ACEOF
   10478 
   10479 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10480 	if test "x$PVP" = "x"; then
   10481 		PVP="0"
   10482 	fi
   10483 
   10484 cat >>confdefs.h <<_ACEOF
   10485 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10486 _ACEOF
   10487 
   10488 
   10489 
   10490 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10491 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10492 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10493 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10494 
   10495 
   10496 
   10497 
   10498 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10499 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10500 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10501 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10502 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10503 
   10504 
   10505 
   10506 
   10507 
   10508 
   10509 if test x$APP_MAN_SUFFIX = x    ; then
   10510     APP_MAN_SUFFIX=1
   10511 fi
   10512 if test x$APP_MAN_DIR = x    ; then
   10513     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10514 fi
   10515 
   10516 if test x$LIB_MAN_SUFFIX = x    ; then
   10517     LIB_MAN_SUFFIX=3
   10518 fi
   10519 if test x$LIB_MAN_DIR = x    ; then
   10520     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10521 fi
   10522 
   10523 if test x$FILE_MAN_SUFFIX = x    ; then
   10524     case $host_os in
   10525 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   10526 	*)		FILE_MAN_SUFFIX=5  ;;
   10527     esac
   10528 fi
   10529 if test x$FILE_MAN_DIR = x    ; then
   10530     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10531 fi
   10532 
   10533 if test x$MISC_MAN_SUFFIX = x    ; then
   10534     case $host_os in
   10535 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   10536 	*)		MISC_MAN_SUFFIX=7  ;;
   10537     esac
   10538 fi
   10539 if test x$MISC_MAN_DIR = x    ; then
   10540     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10541 fi
   10542 
   10543 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10544     case $host_os in
   10545 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   10546 	*)		DRIVER_MAN_SUFFIX=4  ;;
   10547     esac
   10548 fi
   10549 if test x$DRIVER_MAN_DIR = x    ; then
   10550     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10551 fi
   10552 
   10553 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10554     case $host_os in
   10555 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   10556 	*)		ADMIN_MAN_SUFFIX=8  ;;
   10557     esac
   10558 fi
   10559 if test x$ADMIN_MAN_DIR = x    ; then
   10560     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10561 fi
   10562 
   10563 
   10564 
   10565 
   10566 
   10567 
   10568 
   10569 
   10570 
   10571 
   10572 
   10573 
   10574 
   10575 
   10576 
   10577 XORG_MAN_PAGE="X Version 11"
   10578 
   10579 MAN_SUBSTS="\
   10580 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10581 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10582 	-e 's|__xservername__|Xorg|g' \
   10583 	-e 's|__xconfigfile__|xorg.conf|g' \
   10584 	-e 's|__projectroot__|\$(prefix)|g' \
   10585 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10586 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10587 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10588 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10589 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10590 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10591 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10592 
   10593 
   10594 
   10595 # Check whether --enable-silent-rules was given.
   10596 if test "${enable_silent_rules+set}" = set; then :
   10597   enableval=$enable_silent_rules;
   10598 fi
   10599 
   10600 case $enable_silent_rules in
   10601 yes) AM_DEFAULT_VERBOSITY=0;;
   10602 no)  AM_DEFAULT_VERBOSITY=1;;
   10603 *)   AM_DEFAULT_VERBOSITY=0;;
   10604 esac
   10605 am_make=${MAKE-make}
   10606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10607 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10608 if ${am_cv_make_support_nested_variables+:} false; then :
   10609   $as_echo_n "(cached) " >&6
   10610 else
   10611   if $as_echo 'TRUE=$(BAR$(V))
   10612 BAR0=false
   10613 BAR1=true
   10614 V=1
   10615 am__doit:
   10616 	@$(TRUE)
   10617 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10618   am_cv_make_support_nested_variables=yes
   10619 else
   10620   am_cv_make_support_nested_variables=no
   10621 fi
   10622 fi
   10623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10624 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10625 if test $am_cv_make_support_nested_variables = yes; then
   10626     AM_V='$(V)'
   10627   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10628 else
   10629   AM_V=$AM_DEFAULT_VERBOSITY
   10630   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10631 fi
   10632 AM_BACKSLASH='\'
   10633 
   10634 
   10635 
   10636 # Initialize libtool
   10637 # Check whether --enable-static was given.
   10638 if test "${enable_static+set}" = set; then :
   10639   enableval=$enable_static; p=${PACKAGE-default}
   10640     case $enableval in
   10641     yes) enable_static=yes ;;
   10642     no) enable_static=no ;;
   10643     *)
   10644      enable_static=no
   10645       # Look at the argument we got.  We use all the common list separators.
   10646       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   10647       for pkg in $enableval; do
   10648 	IFS="$lt_save_ifs"
   10649 	if test "X$pkg" = "X$p"; then
   10650 	  enable_static=yes
   10651 	fi
   10652       done
   10653       IFS="$lt_save_ifs"
   10654       ;;
   10655     esac
   10656 else
   10657   enable_static=no
   10658 fi
   10659 
   10660 
   10661 
   10662 
   10663 
   10664 
   10665 
   10666 
   10667 
   10668 case `pwd` in
   10669   *\ * | *\	*)
   10670     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   10671 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   10672 esac
   10673 
   10674 
   10675 
   10676 macro_version='2.4.2'
   10677 macro_revision='1.3337'
   10678 
   10679 
   10680 
   10681 
   10682 
   10683 
   10684 
   10685 
   10686 
   10687 
   10688 
   10689 
   10690 
   10691 ltmain="$ac_aux_dir/ltmain.sh"
   10692 
   10693 # Backslashify metacharacters that are still active within
   10694 # double-quoted strings.
   10695 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   10696 
   10697 # Same as above, but do not quote variable references.
   10698 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   10699 
   10700 # Sed substitution to delay expansion of an escaped shell variable in a
   10701 # double_quote_subst'ed string.
   10702 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   10703 
   10704 # Sed substitution to delay expansion of an escaped single quote.
   10705 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   10706 
   10707 # Sed substitution to avoid accidental globbing in evaled expressions
   10708 no_glob_subst='s/\*/\\\*/g'
   10709 
   10710 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   10711 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   10712 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   10713 
   10714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   10715 $as_echo_n "checking how to print strings... " >&6; }
   10716 # Test print first, because it will be a builtin if present.
   10717 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   10718    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   10719   ECHO='print -r --'
   10720 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   10721   ECHO='printf %s\n'
   10722 else
   10723   # Use this function as a fallback that always works.
   10724   func_fallback_echo ()
   10725   {
   10726     eval 'cat <<_LTECHO_EOF
   10727 $1
   10728 _LTECHO_EOF'
   10729   }
   10730   ECHO='func_fallback_echo'
   10731 fi
   10732 
   10733 # func_echo_all arg...
   10734 # Invoke $ECHO with all args, space-separated.
   10735 func_echo_all ()
   10736 {
   10737     $ECHO ""
   10738 }
   10739 
   10740 case "$ECHO" in
   10741   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   10742 $as_echo "printf" >&6; } ;;
   10743   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   10744 $as_echo "print -r" >&6; } ;;
   10745   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   10746 $as_echo "cat" >&6; } ;;
   10747 esac
   10748 
   10749 
   10750 
   10751 
   10752 
   10753 
   10754 
   10755 
   10756 
   10757 
   10758 
   10759 
   10760 
   10761 
   10762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   10763 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   10764 if ${ac_cv_path_SED+:} false; then :
   10765   $as_echo_n "(cached) " >&6
   10766 else
   10767             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   10768      for ac_i in 1 2 3 4 5 6 7; do
   10769        ac_script="$ac_script$as_nl$ac_script"
   10770      done
   10771      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   10772      { ac_script=; unset ac_script;}
   10773      if test -z "$SED"; then
   10774   ac_path_SED_found=false
   10775   # Loop through the user's path and test for each of PROGNAME-LIST
   10776   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10777 for as_dir in $PATH
   10778 do
   10779   IFS=$as_save_IFS
   10780   test -z "$as_dir" && as_dir=.
   10781     for ac_prog in sed gsed; do
   10782     for ac_exec_ext in '' $ac_executable_extensions; do
   10783       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   10784       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   10785 # Check for GNU ac_path_SED and select it if it is found.
   10786   # Check for GNU $ac_path_SED
   10787 case `"$ac_path_SED" --version 2>&1` in
   10788 *GNU*)
   10789   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   10790 *)
   10791   ac_count=0
   10792   $as_echo_n 0123456789 >"conftest.in"
   10793   while :
   10794   do
   10795     cat "conftest.in" "conftest.in" >"conftest.tmp"
   10796     mv "conftest.tmp" "conftest.in"
   10797     cp "conftest.in" "conftest.nl"
   10798     $as_echo '' >> "conftest.nl"
   10799     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   10800     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   10801     as_fn_arith $ac_count + 1 && ac_count=$as_val
   10802     if test $ac_count -gt ${ac_path_SED_max-0}; then
   10803       # Best one so far, save it but keep looking for a better one
   10804       ac_cv_path_SED="$ac_path_SED"
   10805       ac_path_SED_max=$ac_count
   10806     fi
   10807     # 10*(2^10) chars as input seems more than enough
   10808     test $ac_count -gt 10 && break
   10809   done
   10810   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   10811 esac
   10812 
   10813       $ac_path_SED_found && break 3
   10814     done
   10815   done
   10816   done
   10817 IFS=$as_save_IFS
   10818   if test -z "$ac_cv_path_SED"; then
   10819     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   10820   fi
   10821 else
   10822   ac_cv_path_SED=$SED
   10823 fi
   10824 
   10825 fi
   10826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   10827 $as_echo "$ac_cv_path_SED" >&6; }
   10828  SED="$ac_cv_path_SED"
   10829   rm -f conftest.sed
   10830 
   10831 test -z "$SED" && SED=sed
   10832 Xsed="$SED -e 1s/^X//"
   10833 
   10834 
   10835 
   10836 
   10837 
   10838 
   10839 
   10840 
   10841 
   10842 
   10843 
   10844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   10845 $as_echo_n "checking for fgrep... " >&6; }
   10846 if ${ac_cv_path_FGREP+:} false; then :
   10847   $as_echo_n "(cached) " >&6
   10848 else
   10849   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   10850    then ac_cv_path_FGREP="$GREP -F"
   10851    else
   10852      if test -z "$FGREP"; then
   10853   ac_path_FGREP_found=false
   10854   # Loop through the user's path and test for each of PROGNAME-LIST
   10855   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10856 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   10857 do
   10858   IFS=$as_save_IFS
   10859   test -z "$as_dir" && as_dir=.
   10860     for ac_prog in fgrep; do
   10861     for ac_exec_ext in '' $ac_executable_extensions; do
   10862       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   10863       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   10864 # Check for GNU ac_path_FGREP and select it if it is found.
   10865   # Check for GNU $ac_path_FGREP
   10866 case `"$ac_path_FGREP" --version 2>&1` in
   10867 *GNU*)
   10868   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   10869 *)
   10870   ac_count=0
   10871   $as_echo_n 0123456789 >"conftest.in"
   10872   while :
   10873   do
   10874     cat "conftest.in" "conftest.in" >"conftest.tmp"
   10875     mv "conftest.tmp" "conftest.in"
   10876     cp "conftest.in" "conftest.nl"
   10877     $as_echo 'FGREP' >> "conftest.nl"
   10878     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   10879     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   10880     as_fn_arith $ac_count + 1 && ac_count=$as_val
   10881     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   10882       # Best one so far, save it but keep looking for a better one
   10883       ac_cv_path_FGREP="$ac_path_FGREP"
   10884       ac_path_FGREP_max=$ac_count
   10885     fi
   10886     # 10*(2^10) chars as input seems more than enough
   10887     test $ac_count -gt 10 && break
   10888   done
   10889   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   10890 esac
   10891 
   10892       $ac_path_FGREP_found && break 3
   10893     done
   10894   done
   10895   done
   10896 IFS=$as_save_IFS
   10897   if test -z "$ac_cv_path_FGREP"; then
   10898     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   10899   fi
   10900 else
   10901   ac_cv_path_FGREP=$FGREP
   10902 fi
   10903 
   10904    fi
   10905 fi
   10906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   10907 $as_echo "$ac_cv_path_FGREP" >&6; }
   10908  FGREP="$ac_cv_path_FGREP"
   10909 
   10910 
   10911 test -z "$GREP" && GREP=grep
   10912 
   10913 
   10914 
   10915 
   10916 
   10917 
   10918 
   10919 
   10920 
   10921 
   10922 
   10923 
   10924 
   10925 
   10926 
   10927 
   10928 
   10929 
   10930 
   10931 # Check whether --with-gnu-ld was given.
   10932 if test "${with_gnu_ld+set}" = set; then :
   10933   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   10934 else
   10935   with_gnu_ld=no
   10936 fi
   10937 
   10938 ac_prog=ld
   10939 if test "$GCC" = yes; then
   10940   # Check if gcc -print-prog-name=ld gives a path.
   10941   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   10942 $as_echo_n "checking for ld used by $CC... " >&6; }
   10943   case $host in
   10944   *-*-mingw*)
   10945     # gcc leaves a trailing carriage return which upsets mingw
   10946     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   10947   *)
   10948     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   10949   esac
   10950   case $ac_prog in
   10951     # Accept absolute paths.
   10952     [\\/]* | ?:[\\/]*)
   10953       re_direlt='/[^/][^/]*/\.\./'
   10954       # Canonicalize the pathname of ld
   10955       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   10956       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   10957 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   10958       done
   10959       test -z "$LD" && LD="$ac_prog"
   10960       ;;
   10961   "")
   10962     # If it fails, then pretend we aren't using GCC.
   10963     ac_prog=ld
   10964     ;;
   10965   *)
   10966     # If it is relative, then search for the first ld in PATH.
   10967     with_gnu_ld=unknown
   10968     ;;
   10969   esac
   10970 elif test "$with_gnu_ld" = yes; then
   10971   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   10972 $as_echo_n "checking for GNU ld... " >&6; }
   10973 else
   10974   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   10975 $as_echo_n "checking for non-GNU ld... " >&6; }
   10976 fi
   10977 if ${lt_cv_path_LD+:} false; then :
   10978   $as_echo_n "(cached) " >&6
   10979 else
   10980   if test -z "$LD"; then
   10981   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   10982   for ac_dir in $PATH; do
   10983     IFS="$lt_save_ifs"
   10984     test -z "$ac_dir" && ac_dir=.
   10985     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   10986       lt_cv_path_LD="$ac_dir/$ac_prog"
   10987       # Check to see if the program is GNU ld.  I'd rather use --version,
   10988       # but apparently some variants of GNU ld only accept -v.
   10989       # Break only if it was the GNU/non-GNU ld that we prefer.
   10990       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   10991       *GNU* | *'with BFD'*)
   10992 	test "$with_gnu_ld" != no && break
   10993 	;;
   10994       *)
   10995 	test "$with_gnu_ld" != yes && break
   10996 	;;
   10997       esac
   10998     fi
   10999   done
   11000   IFS="$lt_save_ifs"
   11001 else
   11002   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   11003 fi
   11004 fi
   11005 
   11006 LD="$lt_cv_path_LD"
   11007 if test -n "$LD"; then
   11008   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   11009 $as_echo "$LD" >&6; }
   11010 else
   11011   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11012 $as_echo "no" >&6; }
   11013 fi
   11014 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   11015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   11016 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   11017 if ${lt_cv_prog_gnu_ld+:} false; then :
   11018   $as_echo_n "(cached) " >&6
   11019 else
   11020   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   11021 case `$LD -v 2>&1 </dev/null` in
   11022 *GNU* | *'with BFD'*)
   11023   lt_cv_prog_gnu_ld=yes
   11024   ;;
   11025 *)
   11026   lt_cv_prog_gnu_ld=no
   11027   ;;
   11028 esac
   11029 fi
   11030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   11031 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   11032 with_gnu_ld=$lt_cv_prog_gnu_ld
   11033 
   11034 
   11035 
   11036 
   11037 
   11038 
   11039 
   11040 
   11041 
   11042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   11043 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   11044 if ${lt_cv_path_NM+:} false; then :
   11045   $as_echo_n "(cached) " >&6
   11046 else
   11047   if test -n "$NM"; then
   11048   # Let the user override the test.
   11049   lt_cv_path_NM="$NM"
   11050 else
   11051   lt_nm_to_check="${ac_tool_prefix}nm"
   11052   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   11053     lt_nm_to_check="$lt_nm_to_check nm"
   11054   fi
   11055   for lt_tmp_nm in $lt_nm_to_check; do
   11056     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   11057     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   11058       IFS="$lt_save_ifs"
   11059       test -z "$ac_dir" && ac_dir=.
   11060       tmp_nm="$ac_dir/$lt_tmp_nm"
   11061       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   11062 	# Check to see if the nm accepts a BSD-compat flag.
   11063 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   11064 	#   nm: unknown option "B" ignored
   11065 	# Tru64's nm complains that /dev/null is an invalid object file
   11066 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   11067 	*/dev/null* | *'Invalid file or object type'*)
   11068 	  lt_cv_path_NM="$tmp_nm -B"
   11069 	  break
   11070 	  ;;
   11071 	*)
   11072 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   11073 	  */dev/null*)
   11074 	    lt_cv_path_NM="$tmp_nm -p"
   11075 	    break
   11076 	    ;;
   11077 	  *)
   11078 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   11079 	    continue # so that we can try to find one that supports BSD flags
   11080 	    ;;
   11081 	  esac
   11082 	  ;;
   11083 	esac
   11084       fi
   11085     done
   11086     IFS="$lt_save_ifs"
   11087   done
   11088   : ${lt_cv_path_NM=no}
   11089 fi
   11090 fi
   11091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   11092 $as_echo "$lt_cv_path_NM" >&6; }
   11093 if test "$lt_cv_path_NM" != "no"; then
   11094   NM="$lt_cv_path_NM"
   11095 else
   11096   # Didn't find any BSD compatible name lister, look for dumpbin.
   11097   if test -n "$DUMPBIN"; then :
   11098     # Let the user override the test.
   11099   else
   11100     if test -n "$ac_tool_prefix"; then
   11101   for ac_prog in dumpbin "link -dump"
   11102   do
   11103     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   11104 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   11105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11106 $as_echo_n "checking for $ac_word... " >&6; }
   11107 if ${ac_cv_prog_DUMPBIN+:} false; then :
   11108   $as_echo_n "(cached) " >&6
   11109 else
   11110   if test -n "$DUMPBIN"; then
   11111   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   11112 else
   11113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11114 for as_dir in $PATH
   11115 do
   11116   IFS=$as_save_IFS
   11117   test -z "$as_dir" && as_dir=.
   11118     for ac_exec_ext in '' $ac_executable_extensions; do
   11119   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11120     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   11121     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11122     break 2
   11123   fi
   11124 done
   11125   done
   11126 IFS=$as_save_IFS
   11127 
   11128 fi
   11129 fi
   11130 DUMPBIN=$ac_cv_prog_DUMPBIN
   11131 if test -n "$DUMPBIN"; then
   11132   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   11133 $as_echo "$DUMPBIN" >&6; }
   11134 else
   11135   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11136 $as_echo "no" >&6; }
   11137 fi
   11138 
   11139 
   11140     test -n "$DUMPBIN" && break
   11141   done
   11142 fi
   11143 if test -z "$DUMPBIN"; then
   11144   ac_ct_DUMPBIN=$DUMPBIN
   11145   for ac_prog in dumpbin "link -dump"
   11146 do
   11147   # Extract the first word of "$ac_prog", so it can be a program name with args.
   11148 set dummy $ac_prog; ac_word=$2
   11149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11150 $as_echo_n "checking for $ac_word... " >&6; }
   11151 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   11152   $as_echo_n "(cached) " >&6
   11153 else
   11154   if test -n "$ac_ct_DUMPBIN"; then
   11155   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   11156 else
   11157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11158 for as_dir in $PATH
   11159 do
   11160   IFS=$as_save_IFS
   11161   test -z "$as_dir" && as_dir=.
   11162     for ac_exec_ext in '' $ac_executable_extensions; do
   11163   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11164     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   11165     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11166     break 2
   11167   fi
   11168 done
   11169   done
   11170 IFS=$as_save_IFS
   11171 
   11172 fi
   11173 fi
   11174 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   11175 if test -n "$ac_ct_DUMPBIN"; then
   11176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   11177 $as_echo "$ac_ct_DUMPBIN" >&6; }
   11178 else
   11179   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11180 $as_echo "no" >&6; }
   11181 fi
   11182 
   11183 
   11184   test -n "$ac_ct_DUMPBIN" && break
   11185 done
   11186 
   11187   if test "x$ac_ct_DUMPBIN" = x; then
   11188     DUMPBIN=":"
   11189   else
   11190     case $cross_compiling:$ac_tool_warned in
   11191 yes:)
   11192 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11193 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11194 ac_tool_warned=yes ;;
   11195 esac
   11196     DUMPBIN=$ac_ct_DUMPBIN
   11197   fi
   11198 fi
   11199 
   11200     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   11201     *COFF*)
   11202       DUMPBIN="$DUMPBIN -symbols"
   11203       ;;
   11204     *)
   11205       DUMPBIN=:
   11206       ;;
   11207     esac
   11208   fi
   11209 
   11210   if test "$DUMPBIN" != ":"; then
   11211     NM="$DUMPBIN"
   11212   fi
   11213 fi
   11214 test -z "$NM" && NM=nm
   11215 
   11216 
   11217 
   11218 
   11219 
   11220 
   11221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   11222 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   11223 if ${lt_cv_nm_interface+:} false; then :
   11224   $as_echo_n "(cached) " >&6
   11225 else
   11226   lt_cv_nm_interface="BSD nm"
   11227   echo "int some_variable = 0;" > conftest.$ac_ext
   11228   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   11229   (eval "$ac_compile" 2>conftest.err)
   11230   cat conftest.err >&5
   11231   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   11232   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   11233   cat conftest.err >&5
   11234   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   11235   cat conftest.out >&5
   11236   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   11237     lt_cv_nm_interface="MS dumpbin"
   11238   fi
   11239   rm -f conftest*
   11240 fi
   11241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   11242 $as_echo "$lt_cv_nm_interface" >&6; }
   11243 
   11244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   11245 $as_echo_n "checking whether ln -s works... " >&6; }
   11246 LN_S=$as_ln_s
   11247 if test "$LN_S" = "ln -s"; then
   11248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11249 $as_echo "yes" >&6; }
   11250 else
   11251   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   11252 $as_echo "no, using $LN_S" >&6; }
   11253 fi
   11254 
   11255 # find the maximum length of command line arguments
   11256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   11257 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   11258 if ${lt_cv_sys_max_cmd_len+:} false; then :
   11259   $as_echo_n "(cached) " >&6
   11260 else
   11261     i=0
   11262   teststring="ABCD"
   11263 
   11264   case $build_os in
   11265   msdosdjgpp*)
   11266     # On DJGPP, this test can blow up pretty badly due to problems in libc
   11267     # (any single argument exceeding 2000 bytes causes a buffer overrun
   11268     # during glob expansion).  Even if it were fixed, the result of this
   11269     # check would be larger than it should be.
   11270     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   11271     ;;
   11272 
   11273   gnu*)
   11274     # Under GNU Hurd, this test is not required because there is
   11275     # no limit to the length of command line arguments.
   11276     # Libtool will interpret -1 as no limit whatsoever
   11277     lt_cv_sys_max_cmd_len=-1;
   11278     ;;
   11279 
   11280   cygwin* | mingw* | cegcc*)
   11281     # On Win9x/ME, this test blows up -- it succeeds, but takes
   11282     # about 5 minutes as the teststring grows exponentially.
   11283     # Worse, since 9x/ME are not pre-emptively multitasking,
   11284     # you end up with a "frozen" computer, even though with patience
   11285     # the test eventually succeeds (with a max line length of 256k).
   11286     # Instead, let's just punt: use the minimum linelength reported by
   11287     # all of the supported platforms: 8192 (on NT/2K/XP).
   11288     lt_cv_sys_max_cmd_len=8192;
   11289     ;;
   11290 
   11291   mint*)
   11292     # On MiNT this can take a long time and run out of memory.
   11293     lt_cv_sys_max_cmd_len=8192;
   11294     ;;
   11295 
   11296   amigaos*)
   11297     # On AmigaOS with pdksh, this test takes hours, literally.
   11298     # So we just punt and use a minimum line length of 8192.
   11299     lt_cv_sys_max_cmd_len=8192;
   11300     ;;
   11301 
   11302   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   11303     # This has been around since 386BSD, at least.  Likely further.
   11304     if test -x /sbin/sysctl; then
   11305       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   11306     elif test -x /usr/sbin/sysctl; then
   11307       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   11308     else
   11309       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   11310     fi
   11311     # And add a safety zone
   11312     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   11313     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   11314     ;;
   11315 
   11316   interix*)
   11317     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   11318     lt_cv_sys_max_cmd_len=196608
   11319     ;;
   11320 
   11321   os2*)
   11322     # The test takes a long time on OS/2.
   11323     lt_cv_sys_max_cmd_len=8192
   11324     ;;
   11325 
   11326   osf*)
   11327     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   11328     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   11329     # nice to cause kernel panics so lets avoid the loop below.
   11330     # First set a reasonable default.
   11331     lt_cv_sys_max_cmd_len=16384
   11332     #
   11333     if test -x /sbin/sysconfig; then
   11334       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   11335         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   11336       esac
   11337     fi
   11338     ;;
   11339   sco3.2v5*)
   11340     lt_cv_sys_max_cmd_len=102400
   11341     ;;
   11342   sysv5* | sco5v6* | sysv4.2uw2*)
   11343     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   11344     if test -n "$kargmax"; then
   11345       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   11346     else
   11347       lt_cv_sys_max_cmd_len=32768
   11348     fi
   11349     ;;
   11350   *)
   11351     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   11352     if test -n "$lt_cv_sys_max_cmd_len"; then
   11353       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   11354       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   11355     else
   11356       # Make teststring a little bigger before we do anything with it.
   11357       # a 1K string should be a reasonable start.
   11358       for i in 1 2 3 4 5 6 7 8 ; do
   11359         teststring=$teststring$teststring
   11360       done
   11361       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   11362       # If test is not a shell built-in, we'll probably end up computing a
   11363       # maximum length that is only half of the actual maximum length, but
   11364       # we can't tell.
   11365       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
   11366 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   11367 	      test $i != 17 # 1/2 MB should be enough
   11368       do
   11369         i=`expr $i + 1`
   11370         teststring=$teststring$teststring
   11371       done
   11372       # Only check the string length outside the loop.
   11373       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   11374       teststring=
   11375       # Add a significant safety factor because C++ compilers can tack on
   11376       # massive amounts of additional arguments before passing them to the
   11377       # linker.  It appears as though 1/2 is a usable value.
   11378       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   11379     fi
   11380     ;;
   11381   esac
   11382 
   11383 fi
   11384 
   11385 if test -n $lt_cv_sys_max_cmd_len ; then
   11386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   11387 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   11388 else
   11389   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   11390 $as_echo "none" >&6; }
   11391 fi
   11392 max_cmd_len=$lt_cv_sys_max_cmd_len
   11393 
   11394 
   11395 
   11396 
   11397 
   11398 
   11399 : ${CP="cp -f"}
   11400 : ${MV="mv -f"}
   11401 : ${RM="rm -f"}
   11402 
   11403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   11404 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   11405 # Try some XSI features
   11406 xsi_shell=no
   11407 ( _lt_dummy="a/b/c"
   11408   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
   11409       = c,a/b,b/c, \
   11410     && eval 'test $(( 1 + 1 )) -eq 2 \
   11411     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   11412   && xsi_shell=yes
   11413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   11414 $as_echo "$xsi_shell" >&6; }
   11415 
   11416 
   11417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   11418 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   11419 lt_shell_append=no
   11420 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   11421     >/dev/null 2>&1 \
   11422   && lt_shell_append=yes
   11423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   11424 $as_echo "$lt_shell_append" >&6; }
   11425 
   11426 
   11427 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   11428   lt_unset=unset
   11429 else
   11430   lt_unset=false
   11431 fi
   11432 
   11433 
   11434 
   11435 
   11436 
   11437 # test EBCDIC or ASCII
   11438 case `echo X|tr X '\101'` in
   11439  A) # ASCII based system
   11440     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   11441   lt_SP2NL='tr \040 \012'
   11442   lt_NL2SP='tr \015\012 \040\040'
   11443   ;;
   11444  *) # EBCDIC based system
   11445   lt_SP2NL='tr \100 \n'
   11446   lt_NL2SP='tr \r\n \100\100'
   11447   ;;
   11448 esac
   11449 
   11450 
   11451 
   11452 
   11453 
   11454 
   11455 
   11456 
   11457 
   11458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   11459 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   11460 if ${lt_cv_to_host_file_cmd+:} false; then :
   11461   $as_echo_n "(cached) " >&6
   11462 else
   11463   case $host in
   11464   *-*-mingw* )
   11465     case $build in
   11466       *-*-mingw* ) # actually msys
   11467         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   11468         ;;
   11469       *-*-cygwin* )
   11470         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   11471         ;;
   11472       * ) # otherwise, assume *nix
   11473         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   11474         ;;
   11475     esac
   11476     ;;
   11477   *-*-cygwin* )
   11478     case $build in
   11479       *-*-mingw* ) # actually msys
   11480         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   11481         ;;
   11482       *-*-cygwin* )
   11483         lt_cv_to_host_file_cmd=func_convert_file_noop
   11484         ;;
   11485       * ) # otherwise, assume *nix
   11486         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   11487         ;;
   11488     esac
   11489     ;;
   11490   * ) # unhandled hosts (and "normal" native builds)
   11491     lt_cv_to_host_file_cmd=func_convert_file_noop
   11492     ;;
   11493 esac
   11494 
   11495 fi
   11496 
   11497 to_host_file_cmd=$lt_cv_to_host_file_cmd
   11498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   11499 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   11500 
   11501 
   11502 
   11503 
   11504 
   11505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   11506 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   11507 if ${lt_cv_to_tool_file_cmd+:} false; then :
   11508   $as_echo_n "(cached) " >&6
   11509 else
   11510   #assume ordinary cross tools, or native build.
   11511 lt_cv_to_tool_file_cmd=func_convert_file_noop
   11512 case $host in
   11513   *-*-mingw* )
   11514     case $build in
   11515       *-*-mingw* ) # actually msys
   11516         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   11517         ;;
   11518     esac
   11519     ;;
   11520 esac
   11521 
   11522 fi
   11523 
   11524 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   11525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   11526 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   11527 
   11528 
   11529 
   11530 
   11531 
   11532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   11533 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   11534 if ${lt_cv_ld_reload_flag+:} false; then :
   11535   $as_echo_n "(cached) " >&6
   11536 else
   11537   lt_cv_ld_reload_flag='-r'
   11538 fi
   11539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   11540 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   11541 reload_flag=$lt_cv_ld_reload_flag
   11542 case $reload_flag in
   11543 "" | " "*) ;;
   11544 *) reload_flag=" $reload_flag" ;;
   11545 esac
   11546 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   11547 case $host_os in
   11548   cygwin* | mingw* | pw32* | cegcc*)
   11549     if test "$GCC" != yes; then
   11550       reload_cmds=false
   11551     fi
   11552     ;;
   11553   darwin*)
   11554     if test "$GCC" = yes; then
   11555       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   11556     else
   11557       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   11558     fi
   11559     ;;
   11560 esac
   11561 
   11562 
   11563 
   11564 
   11565 
   11566 
   11567 
   11568 
   11569 
   11570 if test -n "$ac_tool_prefix"; then
   11571   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   11572 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   11573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11574 $as_echo_n "checking for $ac_word... " >&6; }
   11575 if ${ac_cv_prog_OBJDUMP+:} false; then :
   11576   $as_echo_n "(cached) " >&6
   11577 else
   11578   if test -n "$OBJDUMP"; then
   11579   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   11580 else
   11581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11582 for as_dir in $PATH
   11583 do
   11584   IFS=$as_save_IFS
   11585   test -z "$as_dir" && as_dir=.
   11586     for ac_exec_ext in '' $ac_executable_extensions; do
   11587   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11588     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   11589     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11590     break 2
   11591   fi
   11592 done
   11593   done
   11594 IFS=$as_save_IFS
   11595 
   11596 fi
   11597 fi
   11598 OBJDUMP=$ac_cv_prog_OBJDUMP
   11599 if test -n "$OBJDUMP"; then
   11600   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   11601 $as_echo "$OBJDUMP" >&6; }
   11602 else
   11603   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11604 $as_echo "no" >&6; }
   11605 fi
   11606 
   11607 
   11608 fi
   11609 if test -z "$ac_cv_prog_OBJDUMP"; then
   11610   ac_ct_OBJDUMP=$OBJDUMP
   11611   # Extract the first word of "objdump", so it can be a program name with args.
   11612 set dummy objdump; ac_word=$2
   11613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11614 $as_echo_n "checking for $ac_word... " >&6; }
   11615 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   11616   $as_echo_n "(cached) " >&6
   11617 else
   11618   if test -n "$ac_ct_OBJDUMP"; then
   11619   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   11620 else
   11621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11622 for as_dir in $PATH
   11623 do
   11624   IFS=$as_save_IFS
   11625   test -z "$as_dir" && as_dir=.
   11626     for ac_exec_ext in '' $ac_executable_extensions; do
   11627   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11628     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   11629     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11630     break 2
   11631   fi
   11632 done
   11633   done
   11634 IFS=$as_save_IFS
   11635 
   11636 fi
   11637 fi
   11638 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   11639 if test -n "$ac_ct_OBJDUMP"; then
   11640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   11641 $as_echo "$ac_ct_OBJDUMP" >&6; }
   11642 else
   11643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11644 $as_echo "no" >&6; }
   11645 fi
   11646 
   11647   if test "x$ac_ct_OBJDUMP" = x; then
   11648     OBJDUMP="false"
   11649   else
   11650     case $cross_compiling:$ac_tool_warned in
   11651 yes:)
   11652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11653 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11654 ac_tool_warned=yes ;;
   11655 esac
   11656     OBJDUMP=$ac_ct_OBJDUMP
   11657   fi
   11658 else
   11659   OBJDUMP="$ac_cv_prog_OBJDUMP"
   11660 fi
   11661 
   11662 test -z "$OBJDUMP" && OBJDUMP=objdump
   11663 
   11664 
   11665 
   11666 
   11667 
   11668 
   11669 
   11670 
   11671 
   11672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   11673 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   11674 if ${lt_cv_deplibs_check_method+:} false; then :
   11675   $as_echo_n "(cached) " >&6
   11676 else
   11677   lt_cv_file_magic_cmd='$MAGIC_CMD'
   11678 lt_cv_file_magic_test_file=
   11679 lt_cv_deplibs_check_method='unknown'
   11680 # Need to set the preceding variable on all platforms that support
   11681 # interlibrary dependencies.
   11682 # 'none' -- dependencies not supported.
   11683 # `unknown' -- same as none, but documents that we really don't know.
   11684 # 'pass_all' -- all dependencies passed with no checks.
   11685 # 'test_compile' -- check by making test program.
   11686 # 'file_magic [[regex]]' -- check by looking for files in library path
   11687 # which responds to the $file_magic_cmd with a given extended regex.
   11688 # If you have `file' or equivalent on your system and you're not sure
   11689 # whether `pass_all' will *always* work, you probably want this one.
   11690 
   11691 case $host_os in
   11692 aix[4-9]*)
   11693   lt_cv_deplibs_check_method=pass_all
   11694   ;;
   11695 
   11696 beos*)
   11697   lt_cv_deplibs_check_method=pass_all
   11698   ;;
   11699 
   11700 bsdi[45]*)
   11701   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   11702   lt_cv_file_magic_cmd='/usr/bin/file -L'
   11703   lt_cv_file_magic_test_file=/shlib/libc.so
   11704   ;;
   11705 
   11706 cygwin*)
   11707   # func_win32_libid is a shell function defined in ltmain.sh
   11708   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   11709   lt_cv_file_magic_cmd='func_win32_libid'
   11710   ;;
   11711 
   11712 mingw* | pw32*)
   11713   # Base MSYS/MinGW do not provide the 'file' command needed by
   11714   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   11715   # unless we find 'file', for example because we are cross-compiling.
   11716   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   11717   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   11718     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   11719     lt_cv_file_magic_cmd='func_win32_libid'
   11720   else
   11721     # Keep this pattern in sync with the one in func_win32_libid.
   11722     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   11723     lt_cv_file_magic_cmd='$OBJDUMP -f'
   11724   fi
   11725   ;;
   11726 
   11727 cegcc*)
   11728   # use the weaker test based on 'objdump'. See mingw*.
   11729   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   11730   lt_cv_file_magic_cmd='$OBJDUMP -f'
   11731   ;;
   11732 
   11733 darwin* | rhapsody*)
   11734   lt_cv_deplibs_check_method=pass_all
   11735   ;;
   11736 
   11737 freebsd* | dragonfly*)
   11738   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   11739     case $host_cpu in
   11740     i*86 )
   11741       # Not sure whether the presence of OpenBSD here was a mistake.
   11742       # Let's accept both of them until this is cleared up.
   11743       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   11744       lt_cv_file_magic_cmd=/usr/bin/file
   11745       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   11746       ;;
   11747     esac
   11748   else
   11749     lt_cv_deplibs_check_method=pass_all
   11750   fi
   11751   ;;
   11752 
   11753 gnu*)
   11754   lt_cv_deplibs_check_method=pass_all
   11755   ;;
   11756 
   11757 haiku*)
   11758   lt_cv_deplibs_check_method=pass_all
   11759   ;;
   11760 
   11761 hpux10.20* | hpux11*)
   11762   lt_cv_file_magic_cmd=/usr/bin/file
   11763   case $host_cpu in
   11764   ia64*)
   11765     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   11766     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   11767     ;;
   11768   hppa*64*)
   11769     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]'
   11770     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   11771     ;;
   11772   *)
   11773     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   11774     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   11775     ;;
   11776   esac
   11777   ;;
   11778 
   11779 interix[3-9]*)
   11780   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   11781   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   11782   ;;
   11783 
   11784 irix5* | irix6* | nonstopux*)
   11785   case $LD in
   11786   *-32|*"-32 ") libmagic=32-bit;;
   11787   *-n32|*"-n32 ") libmagic=N32;;
   11788   *-64|*"-64 ") libmagic=64-bit;;
   11789   *) libmagic=never-match;;
   11790   esac
   11791   lt_cv_deplibs_check_method=pass_all
   11792   ;;
   11793 
   11794 # This must be glibc/ELF.
   11795 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   11796   lt_cv_deplibs_check_method=pass_all
   11797   ;;
   11798 
   11799 netbsd*)
   11800   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   11801     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   11802   else
   11803     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   11804   fi
   11805   ;;
   11806 
   11807 newos6*)
   11808   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   11809   lt_cv_file_magic_cmd=/usr/bin/file
   11810   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   11811   ;;
   11812 
   11813 *nto* | *qnx*)
   11814   lt_cv_deplibs_check_method=pass_all
   11815   ;;
   11816 
   11817 openbsd*)
   11818   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   11819     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   11820   else
   11821     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   11822   fi
   11823   ;;
   11824 
   11825 osf3* | osf4* | osf5*)
   11826   lt_cv_deplibs_check_method=pass_all
   11827   ;;
   11828 
   11829 rdos*)
   11830   lt_cv_deplibs_check_method=pass_all
   11831   ;;
   11832 
   11833 solaris*)
   11834   lt_cv_deplibs_check_method=pass_all
   11835   ;;
   11836 
   11837 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   11838   lt_cv_deplibs_check_method=pass_all
   11839   ;;
   11840 
   11841 sysv4 | sysv4.3*)
   11842   case $host_vendor in
   11843   motorola)
   11844     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]'
   11845     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   11846     ;;
   11847   ncr)
   11848     lt_cv_deplibs_check_method=pass_all
   11849     ;;
   11850   sequent)
   11851     lt_cv_file_magic_cmd='/bin/file'
   11852     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   11853     ;;
   11854   sni)
   11855     lt_cv_file_magic_cmd='/bin/file'
   11856     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   11857     lt_cv_file_magic_test_file=/lib/libc.so
   11858     ;;
   11859   siemens)
   11860     lt_cv_deplibs_check_method=pass_all
   11861     ;;
   11862   pc)
   11863     lt_cv_deplibs_check_method=pass_all
   11864     ;;
   11865   esac
   11866   ;;
   11867 
   11868 tpf*)
   11869   lt_cv_deplibs_check_method=pass_all
   11870   ;;
   11871 esac
   11872 
   11873 fi
   11874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   11875 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   11876 
   11877 file_magic_glob=
   11878 want_nocaseglob=no
   11879 if test "$build" = "$host"; then
   11880   case $host_os in
   11881   mingw* | pw32*)
   11882     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   11883       want_nocaseglob=yes
   11884     else
   11885       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   11886     fi
   11887     ;;
   11888   esac
   11889 fi
   11890 
   11891 file_magic_cmd=$lt_cv_file_magic_cmd
   11892 deplibs_check_method=$lt_cv_deplibs_check_method
   11893 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   11894 
   11895 
   11896 
   11897 
   11898 
   11899 
   11900 
   11901 
   11902 
   11903 
   11904 
   11905 
   11906 
   11907 
   11908 
   11909 
   11910 
   11911 
   11912 
   11913 
   11914 
   11915 
   11916 if test -n "$ac_tool_prefix"; then
   11917   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   11918 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   11919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11920 $as_echo_n "checking for $ac_word... " >&6; }
   11921 if ${ac_cv_prog_DLLTOOL+:} false; then :
   11922   $as_echo_n "(cached) " >&6
   11923 else
   11924   if test -n "$DLLTOOL"; then
   11925   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   11926 else
   11927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11928 for as_dir in $PATH
   11929 do
   11930   IFS=$as_save_IFS
   11931   test -z "$as_dir" && as_dir=.
   11932     for ac_exec_ext in '' $ac_executable_extensions; do
   11933   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11934     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   11935     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11936     break 2
   11937   fi
   11938 done
   11939   done
   11940 IFS=$as_save_IFS
   11941 
   11942 fi
   11943 fi
   11944 DLLTOOL=$ac_cv_prog_DLLTOOL
   11945 if test -n "$DLLTOOL"; then
   11946   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   11947 $as_echo "$DLLTOOL" >&6; }
   11948 else
   11949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11950 $as_echo "no" >&6; }
   11951 fi
   11952 
   11953 
   11954 fi
   11955 if test -z "$ac_cv_prog_DLLTOOL"; then
   11956   ac_ct_DLLTOOL=$DLLTOOL
   11957   # Extract the first word of "dlltool", so it can be a program name with args.
   11958 set dummy dlltool; ac_word=$2
   11959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11960 $as_echo_n "checking for $ac_word... " >&6; }
   11961 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   11962   $as_echo_n "(cached) " >&6
   11963 else
   11964   if test -n "$ac_ct_DLLTOOL"; then
   11965   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   11966 else
   11967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11968 for as_dir in $PATH
   11969 do
   11970   IFS=$as_save_IFS
   11971   test -z "$as_dir" && as_dir=.
   11972     for ac_exec_ext in '' $ac_executable_extensions; do
   11973   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11974     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   11975     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11976     break 2
   11977   fi
   11978 done
   11979   done
   11980 IFS=$as_save_IFS
   11981 
   11982 fi
   11983 fi
   11984 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   11985 if test -n "$ac_ct_DLLTOOL"; then
   11986   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   11987 $as_echo "$ac_ct_DLLTOOL" >&6; }
   11988 else
   11989   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11990 $as_echo "no" >&6; }
   11991 fi
   11992 
   11993   if test "x$ac_ct_DLLTOOL" = x; then
   11994     DLLTOOL="false"
   11995   else
   11996     case $cross_compiling:$ac_tool_warned in
   11997 yes:)
   11998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11999 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12000 ac_tool_warned=yes ;;
   12001 esac
   12002     DLLTOOL=$ac_ct_DLLTOOL
   12003   fi
   12004 else
   12005   DLLTOOL="$ac_cv_prog_DLLTOOL"
   12006 fi
   12007 
   12008 test -z "$DLLTOOL" && DLLTOOL=dlltool
   12009 
   12010 
   12011 
   12012 
   12013 
   12014 
   12015 
   12016 
   12017 
   12018 
   12019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   12020 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   12021 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   12022   $as_echo_n "(cached) " >&6
   12023 else
   12024   lt_cv_sharedlib_from_linklib_cmd='unknown'
   12025 
   12026 case $host_os in
   12027 cygwin* | mingw* | pw32* | cegcc*)
   12028   # two different shell functions defined in ltmain.sh
   12029   # decide which to use based on capabilities of $DLLTOOL
   12030   case `$DLLTOOL --help 2>&1` in
   12031   *--identify-strict*)
   12032     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   12033     ;;
   12034   *)
   12035     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   12036     ;;
   12037   esac
   12038   ;;
   12039 *)
   12040   # fallback: assume linklib IS sharedlib
   12041   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
   12042   ;;
   12043 esac
   12044 
   12045 fi
   12046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   12047 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   12048 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   12049 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   12050 
   12051 
   12052 
   12053 
   12054 
   12055 
   12056 
   12057 if test -n "$ac_tool_prefix"; then
   12058   for ac_prog in ar
   12059   do
   12060     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   12061 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   12062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12063 $as_echo_n "checking for $ac_word... " >&6; }
   12064 if ${ac_cv_prog_AR+:} false; then :
   12065   $as_echo_n "(cached) " >&6
   12066 else
   12067   if test -n "$AR"; then
   12068   ac_cv_prog_AR="$AR" # Let the user override the test.
   12069 else
   12070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12071 for as_dir in $PATH
   12072 do
   12073   IFS=$as_save_IFS
   12074   test -z "$as_dir" && as_dir=.
   12075     for ac_exec_ext in '' $ac_executable_extensions; do
   12076   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12077     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   12078     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12079     break 2
   12080   fi
   12081 done
   12082   done
   12083 IFS=$as_save_IFS
   12084 
   12085 fi
   12086 fi
   12087 AR=$ac_cv_prog_AR
   12088 if test -n "$AR"; then
   12089   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   12090 $as_echo "$AR" >&6; }
   12091 else
   12092   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12093 $as_echo "no" >&6; }
   12094 fi
   12095 
   12096 
   12097     test -n "$AR" && break
   12098   done
   12099 fi
   12100 if test -z "$AR"; then
   12101   ac_ct_AR=$AR
   12102   for ac_prog in ar
   12103 do
   12104   # Extract the first word of "$ac_prog", so it can be a program name with args.
   12105 set dummy $ac_prog; ac_word=$2
   12106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12107 $as_echo_n "checking for $ac_word... " >&6; }
   12108 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   12109   $as_echo_n "(cached) " >&6
   12110 else
   12111   if test -n "$ac_ct_AR"; then
   12112   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   12113 else
   12114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12115 for as_dir in $PATH
   12116 do
   12117   IFS=$as_save_IFS
   12118   test -z "$as_dir" && as_dir=.
   12119     for ac_exec_ext in '' $ac_executable_extensions; do
   12120   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12121     ac_cv_prog_ac_ct_AR="$ac_prog"
   12122     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12123     break 2
   12124   fi
   12125 done
   12126   done
   12127 IFS=$as_save_IFS
   12128 
   12129 fi
   12130 fi
   12131 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   12132 if test -n "$ac_ct_AR"; then
   12133   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   12134 $as_echo "$ac_ct_AR" >&6; }
   12135 else
   12136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12137 $as_echo "no" >&6; }
   12138 fi
   12139 
   12140 
   12141   test -n "$ac_ct_AR" && break
   12142 done
   12143 
   12144   if test "x$ac_ct_AR" = x; then
   12145     AR="false"
   12146   else
   12147     case $cross_compiling:$ac_tool_warned in
   12148 yes:)
   12149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12150 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12151 ac_tool_warned=yes ;;
   12152 esac
   12153     AR=$ac_ct_AR
   12154   fi
   12155 fi
   12156 
   12157 : ${AR=ar}
   12158 : ${AR_FLAGS=cru}
   12159 
   12160 
   12161 
   12162 
   12163 
   12164 
   12165 
   12166 
   12167 
   12168 
   12169 
   12170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   12171 $as_echo_n "checking for archiver @FILE support... " >&6; }
   12172 if ${lt_cv_ar_at_file+:} false; then :
   12173   $as_echo_n "(cached) " >&6
   12174 else
   12175   lt_cv_ar_at_file=no
   12176    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12177 /* end confdefs.h.  */
   12178 
   12179 int
   12180 main ()
   12181 {
   12182 
   12183   ;
   12184   return 0;
   12185 }
   12186 _ACEOF
   12187 if ac_fn_c_try_compile "$LINENO"; then :
   12188   echo conftest.$ac_objext > conftest.lst
   12189       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   12190       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   12191   (eval $lt_ar_try) 2>&5
   12192   ac_status=$?
   12193   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12194   test $ac_status = 0; }
   12195       if test "$ac_status" -eq 0; then
   12196 	# Ensure the archiver fails upon bogus file names.
   12197 	rm -f conftest.$ac_objext libconftest.a
   12198 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   12199   (eval $lt_ar_try) 2>&5
   12200   ac_status=$?
   12201   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12202   test $ac_status = 0; }
   12203 	if test "$ac_status" -ne 0; then
   12204           lt_cv_ar_at_file=@
   12205         fi
   12206       fi
   12207       rm -f conftest.* libconftest.a
   12208 
   12209 fi
   12210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12211 
   12212 fi
   12213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   12214 $as_echo "$lt_cv_ar_at_file" >&6; }
   12215 
   12216 if test "x$lt_cv_ar_at_file" = xno; then
   12217   archiver_list_spec=
   12218 else
   12219   archiver_list_spec=$lt_cv_ar_at_file
   12220 fi
   12221 
   12222 
   12223 
   12224 
   12225 
   12226 
   12227 
   12228 if test -n "$ac_tool_prefix"; then
   12229   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   12230 set dummy ${ac_tool_prefix}strip; ac_word=$2
   12231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12232 $as_echo_n "checking for $ac_word... " >&6; }
   12233 if ${ac_cv_prog_STRIP+:} false; then :
   12234   $as_echo_n "(cached) " >&6
   12235 else
   12236   if test -n "$STRIP"; then
   12237   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   12238 else
   12239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12240 for as_dir in $PATH
   12241 do
   12242   IFS=$as_save_IFS
   12243   test -z "$as_dir" && as_dir=.
   12244     for ac_exec_ext in '' $ac_executable_extensions; do
   12245   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12246     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   12247     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12248     break 2
   12249   fi
   12250 done
   12251   done
   12252 IFS=$as_save_IFS
   12253 
   12254 fi
   12255 fi
   12256 STRIP=$ac_cv_prog_STRIP
   12257 if test -n "$STRIP"; then
   12258   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   12259 $as_echo "$STRIP" >&6; }
   12260 else
   12261   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12262 $as_echo "no" >&6; }
   12263 fi
   12264 
   12265 
   12266 fi
   12267 if test -z "$ac_cv_prog_STRIP"; then
   12268   ac_ct_STRIP=$STRIP
   12269   # Extract the first word of "strip", so it can be a program name with args.
   12270 set dummy strip; ac_word=$2
   12271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12272 $as_echo_n "checking for $ac_word... " >&6; }
   12273 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   12274   $as_echo_n "(cached) " >&6
   12275 else
   12276   if test -n "$ac_ct_STRIP"; then
   12277   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   12278 else
   12279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12280 for as_dir in $PATH
   12281 do
   12282   IFS=$as_save_IFS
   12283   test -z "$as_dir" && as_dir=.
   12284     for ac_exec_ext in '' $ac_executable_extensions; do
   12285   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12286     ac_cv_prog_ac_ct_STRIP="strip"
   12287     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12288     break 2
   12289   fi
   12290 done
   12291   done
   12292 IFS=$as_save_IFS
   12293 
   12294 fi
   12295 fi
   12296 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   12297 if test -n "$ac_ct_STRIP"; then
   12298   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   12299 $as_echo "$ac_ct_STRIP" >&6; }
   12300 else
   12301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12302 $as_echo "no" >&6; }
   12303 fi
   12304 
   12305   if test "x$ac_ct_STRIP" = x; then
   12306     STRIP=":"
   12307   else
   12308     case $cross_compiling:$ac_tool_warned in
   12309 yes:)
   12310 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12311 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12312 ac_tool_warned=yes ;;
   12313 esac
   12314     STRIP=$ac_ct_STRIP
   12315   fi
   12316 else
   12317   STRIP="$ac_cv_prog_STRIP"
   12318 fi
   12319 
   12320 test -z "$STRIP" && STRIP=:
   12321 
   12322 
   12323 
   12324 
   12325 
   12326 
   12327 if test -n "$ac_tool_prefix"; then
   12328   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   12329 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   12330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12331 $as_echo_n "checking for $ac_word... " >&6; }
   12332 if ${ac_cv_prog_RANLIB+:} false; then :
   12333   $as_echo_n "(cached) " >&6
   12334 else
   12335   if test -n "$RANLIB"; then
   12336   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   12337 else
   12338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12339 for as_dir in $PATH
   12340 do
   12341   IFS=$as_save_IFS
   12342   test -z "$as_dir" && as_dir=.
   12343     for ac_exec_ext in '' $ac_executable_extensions; do
   12344   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12345     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   12346     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12347     break 2
   12348   fi
   12349 done
   12350   done
   12351 IFS=$as_save_IFS
   12352 
   12353 fi
   12354 fi
   12355 RANLIB=$ac_cv_prog_RANLIB
   12356 if test -n "$RANLIB"; then
   12357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   12358 $as_echo "$RANLIB" >&6; }
   12359 else
   12360   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12361 $as_echo "no" >&6; }
   12362 fi
   12363 
   12364 
   12365 fi
   12366 if test -z "$ac_cv_prog_RANLIB"; then
   12367   ac_ct_RANLIB=$RANLIB
   12368   # Extract the first word of "ranlib", so it can be a program name with args.
   12369 set dummy ranlib; ac_word=$2
   12370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12371 $as_echo_n "checking for $ac_word... " >&6; }
   12372 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   12373   $as_echo_n "(cached) " >&6
   12374 else
   12375   if test -n "$ac_ct_RANLIB"; then
   12376   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   12377 else
   12378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12379 for as_dir in $PATH
   12380 do
   12381   IFS=$as_save_IFS
   12382   test -z "$as_dir" && as_dir=.
   12383     for ac_exec_ext in '' $ac_executable_extensions; do
   12384   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12385     ac_cv_prog_ac_ct_RANLIB="ranlib"
   12386     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12387     break 2
   12388   fi
   12389 done
   12390   done
   12391 IFS=$as_save_IFS
   12392 
   12393 fi
   12394 fi
   12395 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   12396 if test -n "$ac_ct_RANLIB"; then
   12397   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   12398 $as_echo "$ac_ct_RANLIB" >&6; }
   12399 else
   12400   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12401 $as_echo "no" >&6; }
   12402 fi
   12403 
   12404   if test "x$ac_ct_RANLIB" = x; then
   12405     RANLIB=":"
   12406   else
   12407     case $cross_compiling:$ac_tool_warned in
   12408 yes:)
   12409 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12410 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12411 ac_tool_warned=yes ;;
   12412 esac
   12413     RANLIB=$ac_ct_RANLIB
   12414   fi
   12415 else
   12416   RANLIB="$ac_cv_prog_RANLIB"
   12417 fi
   12418 
   12419 test -z "$RANLIB" && RANLIB=:
   12420 
   12421 
   12422 
   12423 
   12424 
   12425 
   12426 # Determine commands to create old-style static archives.
   12427 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   12428 old_postinstall_cmds='chmod 644 $oldlib'
   12429 old_postuninstall_cmds=
   12430 
   12431 if test -n "$RANLIB"; then
   12432   case $host_os in
   12433   openbsd*)
   12434     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   12435     ;;
   12436   *)
   12437     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   12438     ;;
   12439   esac
   12440   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   12441 fi
   12442 
   12443 case $host_os in
   12444   darwin*)
   12445     lock_old_archive_extraction=yes ;;
   12446   *)
   12447     lock_old_archive_extraction=no ;;
   12448 esac
   12449 
   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 # If no C compiler was specified, use CC.
   12489 LTCC=${LTCC-"$CC"}
   12490 
   12491 # If no C compiler flags were specified, use CFLAGS.
   12492 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   12493 
   12494 # Allow CC to be a program name with arguments.
   12495 compiler=$CC
   12496 
   12497 
   12498 # Check for command to grab the raw symbol name followed by C symbol from nm.
   12499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   12500 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   12501 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   12502   $as_echo_n "(cached) " >&6
   12503 else
   12504 
   12505 # These are sane defaults that work on at least a few old systems.
   12506 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   12507 
   12508 # Character class describing NM global symbol codes.
   12509 symcode='[BCDEGRST]'
   12510 
   12511 # Regexp to match symbols that can be accessed directly from C.
   12512 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   12513 
   12514 # Define system-specific variables.
   12515 case $host_os in
   12516 aix*)
   12517   symcode='[BCDT]'
   12518   ;;
   12519 cygwin* | mingw* | pw32* | cegcc*)
   12520   symcode='[ABCDGISTW]'
   12521   ;;
   12522 hpux*)
   12523   if test "$host_cpu" = ia64; then
   12524     symcode='[ABCDEGRST]'
   12525   fi
   12526   ;;
   12527 irix* | nonstopux*)
   12528   symcode='[BCDEGRST]'
   12529   ;;
   12530 osf*)
   12531   symcode='[BCDEGQRST]'
   12532   ;;
   12533 solaris*)
   12534   symcode='[BDRT]'
   12535   ;;
   12536 sco3.2v5*)
   12537   symcode='[DT]'
   12538   ;;
   12539 sysv4.2uw2*)
   12540   symcode='[DT]'
   12541   ;;
   12542 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   12543   symcode='[ABDT]'
   12544   ;;
   12545 sysv4)
   12546   symcode='[DFNSTU]'
   12547   ;;
   12548 esac
   12549 
   12550 # If we're using GNU nm, then use its standard symbol codes.
   12551 case `$NM -V 2>&1` in
   12552 *GNU* | *'with BFD'*)
   12553   symcode='[ABCDGIRSTW]' ;;
   12554 esac
   12555 
   12556 # Transform an extracted symbol line into a proper C declaration.
   12557 # Some systems (esp. on ia64) link data and code symbols differently,
   12558 # so use this general approach.
   12559 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   12560 
   12561 # Transform an extracted symbol line into symbol name and symbol address
   12562 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   12563 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'"
   12564 
   12565 # Handle CRLF in mingw tool chain
   12566 opt_cr=
   12567 case $build_os in
   12568 mingw*)
   12569   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   12570   ;;
   12571 esac
   12572 
   12573 # Try without a prefix underscore, then with it.
   12574 for ac_symprfx in "" "_"; do
   12575 
   12576   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   12577   symxfrm="\\1 $ac_symprfx\\2 \\2"
   12578 
   12579   # Write the raw and C identifiers.
   12580   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   12581     # Fake it for dumpbin and say T for any non-static function
   12582     # and D for any global variable.
   12583     # Also find C++ and __fastcall symbols from MSVC++,
   12584     # which start with @ or ?.
   12585     lt_cv_sys_global_symbol_pipe="$AWK '"\
   12586 "     {last_section=section; section=\$ 3};"\
   12587 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   12588 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   12589 "     \$ 0!~/External *\|/{next};"\
   12590 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   12591 "     {if(hide[section]) next};"\
   12592 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   12593 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   12594 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   12595 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   12596 "     ' prfx=^$ac_symprfx"
   12597   else
   12598     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   12599   fi
   12600   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   12601 
   12602   # Check to see that the pipe works correctly.
   12603   pipe_works=no
   12604 
   12605   rm -f conftest*
   12606   cat > conftest.$ac_ext <<_LT_EOF
   12607 #ifdef __cplusplus
   12608 extern "C" {
   12609 #endif
   12610 char nm_test_var;
   12611 void nm_test_func(void);
   12612 void nm_test_func(void){}
   12613 #ifdef __cplusplus
   12614 }
   12615 #endif
   12616 int main(){nm_test_var='a';nm_test_func();return(0);}
   12617 _LT_EOF
   12618 
   12619   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   12620   (eval $ac_compile) 2>&5
   12621   ac_status=$?
   12622   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12623   test $ac_status = 0; }; then
   12624     # Now try to grab the symbols.
   12625     nlist=conftest.nm
   12626     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   12627   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   12628   ac_status=$?
   12629   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12630   test $ac_status = 0; } && test -s "$nlist"; then
   12631       # Try sorting and uniquifying the output.
   12632       if sort "$nlist" | uniq > "$nlist"T; then
   12633 	mv -f "$nlist"T "$nlist"
   12634       else
   12635 	rm -f "$nlist"T
   12636       fi
   12637 
   12638       # Make sure that we snagged all the symbols we need.
   12639       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   12640 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   12641 	  cat <<_LT_EOF > conftest.$ac_ext
   12642 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   12643 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
   12644 /* DATA imports from DLLs on WIN32 con't be const, because runtime
   12645    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   12646 # define LT_DLSYM_CONST
   12647 #elif defined(__osf__)
   12648 /* This system does not cope well with relocations in const data.  */
   12649 # define LT_DLSYM_CONST
   12650 #else
   12651 # define LT_DLSYM_CONST const
   12652 #endif
   12653 
   12654 #ifdef __cplusplus
   12655 extern "C" {
   12656 #endif
   12657 
   12658 _LT_EOF
   12659 	  # Now generate the symbol file.
   12660 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   12661 
   12662 	  cat <<_LT_EOF >> conftest.$ac_ext
   12663 
   12664 /* The mapping between symbol names and symbols.  */
   12665 LT_DLSYM_CONST struct {
   12666   const char *name;
   12667   void       *address;
   12668 }
   12669 lt__PROGRAM__LTX_preloaded_symbols[] =
   12670 {
   12671   { "@PROGRAM@", (void *) 0 },
   12672 _LT_EOF
   12673 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   12674 	  cat <<\_LT_EOF >> conftest.$ac_ext
   12675   {0, (void *) 0}
   12676 };
   12677 
   12678 /* This works around a problem in FreeBSD linker */
   12679 #ifdef FREEBSD_WORKAROUND
   12680 static const void *lt_preloaded_setup() {
   12681   return lt__PROGRAM__LTX_preloaded_symbols;
   12682 }
   12683 #endif
   12684 
   12685 #ifdef __cplusplus
   12686 }
   12687 #endif
   12688 _LT_EOF
   12689 	  # Now try linking the two files.
   12690 	  mv conftest.$ac_objext conftstm.$ac_objext
   12691 	  lt_globsym_save_LIBS=$LIBS
   12692 	  lt_globsym_save_CFLAGS=$CFLAGS
   12693 	  LIBS="conftstm.$ac_objext"
   12694 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   12695 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12696   (eval $ac_link) 2>&5
   12697   ac_status=$?
   12698   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12699   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   12700 	    pipe_works=yes
   12701 	  fi
   12702 	  LIBS=$lt_globsym_save_LIBS
   12703 	  CFLAGS=$lt_globsym_save_CFLAGS
   12704 	else
   12705 	  echo "cannot find nm_test_func in $nlist" >&5
   12706 	fi
   12707       else
   12708 	echo "cannot find nm_test_var in $nlist" >&5
   12709       fi
   12710     else
   12711       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   12712     fi
   12713   else
   12714     echo "$progname: failed program was:" >&5
   12715     cat conftest.$ac_ext >&5
   12716   fi
   12717   rm -rf conftest* conftst*
   12718 
   12719   # Do not use the global_symbol_pipe unless it works.
   12720   if test "$pipe_works" = yes; then
   12721     break
   12722   else
   12723     lt_cv_sys_global_symbol_pipe=
   12724   fi
   12725 done
   12726 
   12727 fi
   12728 
   12729 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   12730   lt_cv_sys_global_symbol_to_cdecl=
   12731 fi
   12732 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   12733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   12734 $as_echo "failed" >&6; }
   12735 else
   12736   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   12737 $as_echo "ok" >&6; }
   12738 fi
   12739 
   12740 # Response file support.
   12741 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   12742   nm_file_list_spec='@'
   12743 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   12744   nm_file_list_spec='@'
   12745 fi
   12746 
   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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   12774 $as_echo_n "checking for sysroot... " >&6; }
   12775 
   12776 # Check whether --with-sysroot was given.
   12777 if test "${with_sysroot+set}" = set; then :
   12778   withval=$with_sysroot;
   12779 else
   12780   with_sysroot=no
   12781 fi
   12782 
   12783 
   12784 lt_sysroot=
   12785 case ${with_sysroot} in #(
   12786  yes)
   12787    if test "$GCC" = yes; then
   12788      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   12789    fi
   12790    ;; #(
   12791  /*)
   12792    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   12793    ;; #(
   12794  no|'')
   12795    ;; #(
   12796  *)
   12797    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
   12798 $as_echo "${with_sysroot}" >&6; }
   12799    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   12800    ;;
   12801 esac
   12802 
   12803  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   12804 $as_echo "${lt_sysroot:-no}" >&6; }
   12805 
   12806 
   12807 
   12808 
   12809 
   12810 # Check whether --enable-libtool-lock was given.
   12811 if test "${enable_libtool_lock+set}" = set; then :
   12812   enableval=$enable_libtool_lock;
   12813 fi
   12814 
   12815 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   12816 
   12817 # Some flags need to be propagated to the compiler or linker for good
   12818 # libtool support.
   12819 case $host in
   12820 ia64-*-hpux*)
   12821   # Find out which ABI we are using.
   12822   echo 'int i;' > conftest.$ac_ext
   12823   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   12824   (eval $ac_compile) 2>&5
   12825   ac_status=$?
   12826   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12827   test $ac_status = 0; }; then
   12828     case `/usr/bin/file conftest.$ac_objext` in
   12829       *ELF-32*)
   12830 	HPUX_IA64_MODE="32"
   12831 	;;
   12832       *ELF-64*)
   12833 	HPUX_IA64_MODE="64"
   12834 	;;
   12835     esac
   12836   fi
   12837   rm -rf conftest*
   12838   ;;
   12839 *-*-irix6*)
   12840   # Find out which ABI we are using.
   12841   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   12842   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   12843   (eval $ac_compile) 2>&5
   12844   ac_status=$?
   12845   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12846   test $ac_status = 0; }; then
   12847     if test "$lt_cv_prog_gnu_ld" = yes; then
   12848       case `/usr/bin/file conftest.$ac_objext` in
   12849 	*32-bit*)
   12850 	  LD="${LD-ld} -melf32bsmip"
   12851 	  ;;
   12852 	*N32*)
   12853 	  LD="${LD-ld} -melf32bmipn32"
   12854 	  ;;
   12855 	*64-bit*)
   12856 	  LD="${LD-ld} -melf64bmip"
   12857 	;;
   12858       esac
   12859     else
   12860       case `/usr/bin/file conftest.$ac_objext` in
   12861 	*32-bit*)
   12862 	  LD="${LD-ld} -32"
   12863 	  ;;
   12864 	*N32*)
   12865 	  LD="${LD-ld} -n32"
   12866 	  ;;
   12867 	*64-bit*)
   12868 	  LD="${LD-ld} -64"
   12869 	  ;;
   12870       esac
   12871     fi
   12872   fi
   12873   rm -rf conftest*
   12874   ;;
   12875 
   12876 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   12877 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   12878   # Find out which ABI we are using.
   12879   echo 'int i;' > conftest.$ac_ext
   12880   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   12881   (eval $ac_compile) 2>&5
   12882   ac_status=$?
   12883   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12884   test $ac_status = 0; }; then
   12885     case `/usr/bin/file conftest.o` in
   12886       *32-bit*)
   12887 	case $host in
   12888 	  x86_64-*kfreebsd*-gnu)
   12889 	    LD="${LD-ld} -m elf_i386_fbsd"
   12890 	    ;;
   12891 	  x86_64-*linux*)
   12892 	    LD="${LD-ld} -m elf_i386"
   12893 	    ;;
   12894 	  ppc64-*linux*|powerpc64-*linux*)
   12895 	    LD="${LD-ld} -m elf32ppclinux"
   12896 	    ;;
   12897 	  s390x-*linux*)
   12898 	    LD="${LD-ld} -m elf_s390"
   12899 	    ;;
   12900 	  sparc64-*linux*)
   12901 	    LD="${LD-ld} -m elf32_sparc"
   12902 	    ;;
   12903 	esac
   12904 	;;
   12905       *64-bit*)
   12906 	case $host in
   12907 	  x86_64-*kfreebsd*-gnu)
   12908 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   12909 	    ;;
   12910 	  x86_64-*linux*)
   12911 	    LD="${LD-ld} -m elf_x86_64"
   12912 	    ;;
   12913 	  ppc*-*linux*|powerpc*-*linux*)
   12914 	    LD="${LD-ld} -m elf64ppc"
   12915 	    ;;
   12916 	  s390*-*linux*|s390*-*tpf*)
   12917 	    LD="${LD-ld} -m elf64_s390"
   12918 	    ;;
   12919 	  sparc*-*linux*)
   12920 	    LD="${LD-ld} -m elf64_sparc"
   12921 	    ;;
   12922 	esac
   12923 	;;
   12924     esac
   12925   fi
   12926   rm -rf conftest*
   12927   ;;
   12928 
   12929 *-*-sco3.2v5*)
   12930   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   12931   SAVE_CFLAGS="$CFLAGS"
   12932   CFLAGS="$CFLAGS -belf"
   12933   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   12934 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   12935 if ${lt_cv_cc_needs_belf+:} false; then :
   12936   $as_echo_n "(cached) " >&6
   12937 else
   12938   ac_ext=c
   12939 ac_cpp='$CPP $CPPFLAGS'
   12940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12943 
   12944      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12945 /* end confdefs.h.  */
   12946 
   12947 int
   12948 main ()
   12949 {
   12950 
   12951   ;
   12952   return 0;
   12953 }
   12954 _ACEOF
   12955 if ac_fn_c_try_link "$LINENO"; then :
   12956   lt_cv_cc_needs_belf=yes
   12957 else
   12958   lt_cv_cc_needs_belf=no
   12959 fi
   12960 rm -f core conftest.err conftest.$ac_objext \
   12961     conftest$ac_exeext conftest.$ac_ext
   12962      ac_ext=c
   12963 ac_cpp='$CPP $CPPFLAGS'
   12964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12967 
   12968 fi
   12969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   12970 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   12971   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   12972     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   12973     CFLAGS="$SAVE_CFLAGS"
   12974   fi
   12975   ;;
   12976 *-*solaris*)
   12977   # Find out which ABI we are using.
   12978   echo 'int i;' > conftest.$ac_ext
   12979   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   12980   (eval $ac_compile) 2>&5
   12981   ac_status=$?
   12982   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12983   test $ac_status = 0; }; then
   12984     case `/usr/bin/file conftest.o` in
   12985     *64-bit*)
   12986       case $lt_cv_prog_gnu_ld in
   12987       yes*)
   12988         case $host in
   12989         i?86-*-solaris*)
   12990           LD="${LD-ld} -m elf_x86_64"
   12991           ;;
   12992         sparc*-*-solaris*)
   12993           LD="${LD-ld} -m elf64_sparc"
   12994           ;;
   12995         esac
   12996         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   12997         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   12998           LD="${LD-ld}_sol2"
   12999         fi
   13000         ;;
   13001       *)
   13002 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   13003 	  LD="${LD-ld} -64"
   13004 	fi
   13005 	;;
   13006       esac
   13007       ;;
   13008     esac
   13009   fi
   13010   rm -rf conftest*
   13011   ;;
   13012 esac
   13013 
   13014 need_locks="$enable_libtool_lock"
   13015 
   13016 if test -n "$ac_tool_prefix"; then
   13017   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   13018 set dummy ${ac_tool_prefix}mt; ac_word=$2
   13019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13020 $as_echo_n "checking for $ac_word... " >&6; }
   13021 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   13022   $as_echo_n "(cached) " >&6
   13023 else
   13024   if test -n "$MANIFEST_TOOL"; then
   13025   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   13026 else
   13027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13028 for as_dir in $PATH
   13029 do
   13030   IFS=$as_save_IFS
   13031   test -z "$as_dir" && as_dir=.
   13032     for ac_exec_ext in '' $ac_executable_extensions; do
   13033   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13034     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   13035     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13036     break 2
   13037   fi
   13038 done
   13039   done
   13040 IFS=$as_save_IFS
   13041 
   13042 fi
   13043 fi
   13044 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   13045 if test -n "$MANIFEST_TOOL"; then
   13046   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   13047 $as_echo "$MANIFEST_TOOL" >&6; }
   13048 else
   13049   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13050 $as_echo "no" >&6; }
   13051 fi
   13052 
   13053 
   13054 fi
   13055 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   13056   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   13057   # Extract the first word of "mt", so it can be a program name with args.
   13058 set dummy mt; ac_word=$2
   13059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13060 $as_echo_n "checking for $ac_word... " >&6; }
   13061 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   13062   $as_echo_n "(cached) " >&6
   13063 else
   13064   if test -n "$ac_ct_MANIFEST_TOOL"; then
   13065   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   13066 else
   13067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13068 for as_dir in $PATH
   13069 do
   13070   IFS=$as_save_IFS
   13071   test -z "$as_dir" && as_dir=.
   13072     for ac_exec_ext in '' $ac_executable_extensions; do
   13073   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13074     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   13075     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13076     break 2
   13077   fi
   13078 done
   13079   done
   13080 IFS=$as_save_IFS
   13081 
   13082 fi
   13083 fi
   13084 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   13085 if test -n "$ac_ct_MANIFEST_TOOL"; then
   13086   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   13087 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   13088 else
   13089   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13090 $as_echo "no" >&6; }
   13091 fi
   13092 
   13093   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   13094     MANIFEST_TOOL=":"
   13095   else
   13096     case $cross_compiling:$ac_tool_warned in
   13097 yes:)
   13098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13099 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13100 ac_tool_warned=yes ;;
   13101 esac
   13102     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   13103   fi
   13104 else
   13105   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   13106 fi
   13107 
   13108 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   13109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   13110 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   13111 if ${lt_cv_path_mainfest_tool+:} false; then :
   13112   $as_echo_n "(cached) " >&6
   13113 else
   13114   lt_cv_path_mainfest_tool=no
   13115   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   13116   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   13117   cat conftest.err >&5
   13118   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   13119     lt_cv_path_mainfest_tool=yes
   13120   fi
   13121   rm -f conftest*
   13122 fi
   13123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   13124 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   13125 if test "x$lt_cv_path_mainfest_tool" != xyes; then
   13126   MANIFEST_TOOL=:
   13127 fi
   13128 
   13129 
   13130 
   13131 
   13132 
   13133 
   13134   case $host_os in
   13135     rhapsody* | darwin*)
   13136     if test -n "$ac_tool_prefix"; then
   13137   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   13138 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   13139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13140 $as_echo_n "checking for $ac_word... " >&6; }
   13141 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   13142   $as_echo_n "(cached) " >&6
   13143 else
   13144   if test -n "$DSYMUTIL"; then
   13145   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   13146 else
   13147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13148 for as_dir in $PATH
   13149 do
   13150   IFS=$as_save_IFS
   13151   test -z "$as_dir" && as_dir=.
   13152     for ac_exec_ext in '' $ac_executable_extensions; do
   13153   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13154     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   13155     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13156     break 2
   13157   fi
   13158 done
   13159   done
   13160 IFS=$as_save_IFS
   13161 
   13162 fi
   13163 fi
   13164 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   13165 if test -n "$DSYMUTIL"; then
   13166   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   13167 $as_echo "$DSYMUTIL" >&6; }
   13168 else
   13169   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13170 $as_echo "no" >&6; }
   13171 fi
   13172 
   13173 
   13174 fi
   13175 if test -z "$ac_cv_prog_DSYMUTIL"; then
   13176   ac_ct_DSYMUTIL=$DSYMUTIL
   13177   # Extract the first word of "dsymutil", so it can be a program name with args.
   13178 set dummy dsymutil; ac_word=$2
   13179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13180 $as_echo_n "checking for $ac_word... " >&6; }
   13181 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   13182   $as_echo_n "(cached) " >&6
   13183 else
   13184   if test -n "$ac_ct_DSYMUTIL"; then
   13185   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   13186 else
   13187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13188 for as_dir in $PATH
   13189 do
   13190   IFS=$as_save_IFS
   13191   test -z "$as_dir" && as_dir=.
   13192     for ac_exec_ext in '' $ac_executable_extensions; do
   13193   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13194     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   13195     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13196     break 2
   13197   fi
   13198 done
   13199   done
   13200 IFS=$as_save_IFS
   13201 
   13202 fi
   13203 fi
   13204 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   13205 if test -n "$ac_ct_DSYMUTIL"; then
   13206   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   13207 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   13208 else
   13209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13210 $as_echo "no" >&6; }
   13211 fi
   13212 
   13213   if test "x$ac_ct_DSYMUTIL" = x; then
   13214     DSYMUTIL=":"
   13215   else
   13216     case $cross_compiling:$ac_tool_warned in
   13217 yes:)
   13218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13219 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13220 ac_tool_warned=yes ;;
   13221 esac
   13222     DSYMUTIL=$ac_ct_DSYMUTIL
   13223   fi
   13224 else
   13225   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   13226 fi
   13227 
   13228     if test -n "$ac_tool_prefix"; then
   13229   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   13230 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   13231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13232 $as_echo_n "checking for $ac_word... " >&6; }
   13233 if ${ac_cv_prog_NMEDIT+:} false; then :
   13234   $as_echo_n "(cached) " >&6
   13235 else
   13236   if test -n "$NMEDIT"; then
   13237   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   13238 else
   13239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13240 for as_dir in $PATH
   13241 do
   13242   IFS=$as_save_IFS
   13243   test -z "$as_dir" && as_dir=.
   13244     for ac_exec_ext in '' $ac_executable_extensions; do
   13245   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13246     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   13247     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13248     break 2
   13249   fi
   13250 done
   13251   done
   13252 IFS=$as_save_IFS
   13253 
   13254 fi
   13255 fi
   13256 NMEDIT=$ac_cv_prog_NMEDIT
   13257 if test -n "$NMEDIT"; then
   13258   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   13259 $as_echo "$NMEDIT" >&6; }
   13260 else
   13261   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13262 $as_echo "no" >&6; }
   13263 fi
   13264 
   13265 
   13266 fi
   13267 if test -z "$ac_cv_prog_NMEDIT"; then
   13268   ac_ct_NMEDIT=$NMEDIT
   13269   # Extract the first word of "nmedit", so it can be a program name with args.
   13270 set dummy nmedit; ac_word=$2
   13271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13272 $as_echo_n "checking for $ac_word... " >&6; }
   13273 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   13274   $as_echo_n "(cached) " >&6
   13275 else
   13276   if test -n "$ac_ct_NMEDIT"; then
   13277   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   13278 else
   13279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13280 for as_dir in $PATH
   13281 do
   13282   IFS=$as_save_IFS
   13283   test -z "$as_dir" && as_dir=.
   13284     for ac_exec_ext in '' $ac_executable_extensions; do
   13285   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13286     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   13287     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13288     break 2
   13289   fi
   13290 done
   13291   done
   13292 IFS=$as_save_IFS
   13293 
   13294 fi
   13295 fi
   13296 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   13297 if test -n "$ac_ct_NMEDIT"; then
   13298   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   13299 $as_echo "$ac_ct_NMEDIT" >&6; }
   13300 else
   13301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13302 $as_echo "no" >&6; }
   13303 fi
   13304 
   13305   if test "x$ac_ct_NMEDIT" = x; then
   13306     NMEDIT=":"
   13307   else
   13308     case $cross_compiling:$ac_tool_warned in
   13309 yes:)
   13310 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13311 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13312 ac_tool_warned=yes ;;
   13313 esac
   13314     NMEDIT=$ac_ct_NMEDIT
   13315   fi
   13316 else
   13317   NMEDIT="$ac_cv_prog_NMEDIT"
   13318 fi
   13319 
   13320     if test -n "$ac_tool_prefix"; then
   13321   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   13322 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   13323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13324 $as_echo_n "checking for $ac_word... " >&6; }
   13325 if ${ac_cv_prog_LIPO+:} false; then :
   13326   $as_echo_n "(cached) " >&6
   13327 else
   13328   if test -n "$LIPO"; then
   13329   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   13330 else
   13331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13332 for as_dir in $PATH
   13333 do
   13334   IFS=$as_save_IFS
   13335   test -z "$as_dir" && as_dir=.
   13336     for ac_exec_ext in '' $ac_executable_extensions; do
   13337   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13338     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   13339     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13340     break 2
   13341   fi
   13342 done
   13343   done
   13344 IFS=$as_save_IFS
   13345 
   13346 fi
   13347 fi
   13348 LIPO=$ac_cv_prog_LIPO
   13349 if test -n "$LIPO"; then
   13350   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   13351 $as_echo "$LIPO" >&6; }
   13352 else
   13353   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13354 $as_echo "no" >&6; }
   13355 fi
   13356 
   13357 
   13358 fi
   13359 if test -z "$ac_cv_prog_LIPO"; then
   13360   ac_ct_LIPO=$LIPO
   13361   # Extract the first word of "lipo", so it can be a program name with args.
   13362 set dummy lipo; ac_word=$2
   13363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13364 $as_echo_n "checking for $ac_word... " >&6; }
   13365 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   13366   $as_echo_n "(cached) " >&6
   13367 else
   13368   if test -n "$ac_ct_LIPO"; then
   13369   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   13370 else
   13371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13372 for as_dir in $PATH
   13373 do
   13374   IFS=$as_save_IFS
   13375   test -z "$as_dir" && as_dir=.
   13376     for ac_exec_ext in '' $ac_executable_extensions; do
   13377   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13378     ac_cv_prog_ac_ct_LIPO="lipo"
   13379     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13380     break 2
   13381   fi
   13382 done
   13383   done
   13384 IFS=$as_save_IFS
   13385 
   13386 fi
   13387 fi
   13388 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   13389 if test -n "$ac_ct_LIPO"; then
   13390   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   13391 $as_echo "$ac_ct_LIPO" >&6; }
   13392 else
   13393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13394 $as_echo "no" >&6; }
   13395 fi
   13396 
   13397   if test "x$ac_ct_LIPO" = x; then
   13398     LIPO=":"
   13399   else
   13400     case $cross_compiling:$ac_tool_warned in
   13401 yes:)
   13402 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13403 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13404 ac_tool_warned=yes ;;
   13405 esac
   13406     LIPO=$ac_ct_LIPO
   13407   fi
   13408 else
   13409   LIPO="$ac_cv_prog_LIPO"
   13410 fi
   13411 
   13412     if test -n "$ac_tool_prefix"; then
   13413   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   13414 set dummy ${ac_tool_prefix}otool; ac_word=$2
   13415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13416 $as_echo_n "checking for $ac_word... " >&6; }
   13417 if ${ac_cv_prog_OTOOL+:} false; then :
   13418   $as_echo_n "(cached) " >&6
   13419 else
   13420   if test -n "$OTOOL"; then
   13421   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   13422 else
   13423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13424 for as_dir in $PATH
   13425 do
   13426   IFS=$as_save_IFS
   13427   test -z "$as_dir" && as_dir=.
   13428     for ac_exec_ext in '' $ac_executable_extensions; do
   13429   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13430     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   13431     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13432     break 2
   13433   fi
   13434 done
   13435   done
   13436 IFS=$as_save_IFS
   13437 
   13438 fi
   13439 fi
   13440 OTOOL=$ac_cv_prog_OTOOL
   13441 if test -n "$OTOOL"; then
   13442   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   13443 $as_echo "$OTOOL" >&6; }
   13444 else
   13445   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13446 $as_echo "no" >&6; }
   13447 fi
   13448 
   13449 
   13450 fi
   13451 if test -z "$ac_cv_prog_OTOOL"; then
   13452   ac_ct_OTOOL=$OTOOL
   13453   # Extract the first word of "otool", so it can be a program name with args.
   13454 set dummy otool; ac_word=$2
   13455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13456 $as_echo_n "checking for $ac_word... " >&6; }
   13457 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   13458   $as_echo_n "(cached) " >&6
   13459 else
   13460   if test -n "$ac_ct_OTOOL"; then
   13461   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   13462 else
   13463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13464 for as_dir in $PATH
   13465 do
   13466   IFS=$as_save_IFS
   13467   test -z "$as_dir" && as_dir=.
   13468     for ac_exec_ext in '' $ac_executable_extensions; do
   13469   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13470     ac_cv_prog_ac_ct_OTOOL="otool"
   13471     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13472     break 2
   13473   fi
   13474 done
   13475   done
   13476 IFS=$as_save_IFS
   13477 
   13478 fi
   13479 fi
   13480 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   13481 if test -n "$ac_ct_OTOOL"; then
   13482   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   13483 $as_echo "$ac_ct_OTOOL" >&6; }
   13484 else
   13485   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13486 $as_echo "no" >&6; }
   13487 fi
   13488 
   13489   if test "x$ac_ct_OTOOL" = x; then
   13490     OTOOL=":"
   13491   else
   13492     case $cross_compiling:$ac_tool_warned in
   13493 yes:)
   13494 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13495 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13496 ac_tool_warned=yes ;;
   13497 esac
   13498     OTOOL=$ac_ct_OTOOL
   13499   fi
   13500 else
   13501   OTOOL="$ac_cv_prog_OTOOL"
   13502 fi
   13503 
   13504     if test -n "$ac_tool_prefix"; then
   13505   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   13506 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   13507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13508 $as_echo_n "checking for $ac_word... " >&6; }
   13509 if ${ac_cv_prog_OTOOL64+:} false; then :
   13510   $as_echo_n "(cached) " >&6
   13511 else
   13512   if test -n "$OTOOL64"; then
   13513   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   13514 else
   13515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13516 for as_dir in $PATH
   13517 do
   13518   IFS=$as_save_IFS
   13519   test -z "$as_dir" && as_dir=.
   13520     for ac_exec_ext in '' $ac_executable_extensions; do
   13521   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13522     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   13523     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13524     break 2
   13525   fi
   13526 done
   13527   done
   13528 IFS=$as_save_IFS
   13529 
   13530 fi
   13531 fi
   13532 OTOOL64=$ac_cv_prog_OTOOL64
   13533 if test -n "$OTOOL64"; then
   13534   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   13535 $as_echo "$OTOOL64" >&6; }
   13536 else
   13537   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13538 $as_echo "no" >&6; }
   13539 fi
   13540 
   13541 
   13542 fi
   13543 if test -z "$ac_cv_prog_OTOOL64"; then
   13544   ac_ct_OTOOL64=$OTOOL64
   13545   # Extract the first word of "otool64", so it can be a program name with args.
   13546 set dummy otool64; ac_word=$2
   13547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13548 $as_echo_n "checking for $ac_word... " >&6; }
   13549 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   13550   $as_echo_n "(cached) " >&6
   13551 else
   13552   if test -n "$ac_ct_OTOOL64"; then
   13553   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   13554 else
   13555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13556 for as_dir in $PATH
   13557 do
   13558   IFS=$as_save_IFS
   13559   test -z "$as_dir" && as_dir=.
   13560     for ac_exec_ext in '' $ac_executable_extensions; do
   13561   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13562     ac_cv_prog_ac_ct_OTOOL64="otool64"
   13563     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13564     break 2
   13565   fi
   13566 done
   13567   done
   13568 IFS=$as_save_IFS
   13569 
   13570 fi
   13571 fi
   13572 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   13573 if test -n "$ac_ct_OTOOL64"; then
   13574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   13575 $as_echo "$ac_ct_OTOOL64" >&6; }
   13576 else
   13577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13578 $as_echo "no" >&6; }
   13579 fi
   13580 
   13581   if test "x$ac_ct_OTOOL64" = x; then
   13582     OTOOL64=":"
   13583   else
   13584     case $cross_compiling:$ac_tool_warned in
   13585 yes:)
   13586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13587 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13588 ac_tool_warned=yes ;;
   13589 esac
   13590     OTOOL64=$ac_ct_OTOOL64
   13591   fi
   13592 else
   13593   OTOOL64="$ac_cv_prog_OTOOL64"
   13594 fi
   13595 
   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     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   13623 $as_echo_n "checking for -single_module linker flag... " >&6; }
   13624 if ${lt_cv_apple_cc_single_mod+:} false; then :
   13625   $as_echo_n "(cached) " >&6
   13626 else
   13627   lt_cv_apple_cc_single_mod=no
   13628       if test -z "${LT_MULTI_MODULE}"; then
   13629 	# By default we will add the -single_module flag. You can override
   13630 	# by either setting the environment variable LT_MULTI_MODULE
   13631 	# non-empty at configure time, or by adding -multi_module to the
   13632 	# link flags.
   13633 	rm -rf libconftest.dylib*
   13634 	echo "int foo(void){return 1;}" > conftest.c
   13635 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   13636 -dynamiclib -Wl,-single_module conftest.c" >&5
   13637 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   13638 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   13639         _lt_result=$?
   13640 	# If there is a non-empty error log, and "single_module"
   13641 	# appears in it, assume the flag caused a linker warning
   13642         if test -s conftest.err && $GREP single_module conftest.err; then
   13643 	  cat conftest.err >&5
   13644 	# Otherwise, if the output was created with a 0 exit code from
   13645 	# the compiler, it worked.
   13646 	elif test -f libconftest.dylib && test $_lt_result -eq 0; then
   13647 	  lt_cv_apple_cc_single_mod=yes
   13648 	else
   13649 	  cat conftest.err >&5
   13650 	fi
   13651 	rm -rf libconftest.dylib*
   13652 	rm -f conftest.*
   13653       fi
   13654 fi
   13655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   13656 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   13657 
   13658     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   13659 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   13660 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   13661   $as_echo_n "(cached) " >&6
   13662 else
   13663   lt_cv_ld_exported_symbols_list=no
   13664       save_LDFLAGS=$LDFLAGS
   13665       echo "_main" > conftest.sym
   13666       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   13667       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13668 /* end confdefs.h.  */
   13669 
   13670 int
   13671 main ()
   13672 {
   13673 
   13674   ;
   13675   return 0;
   13676 }
   13677 _ACEOF
   13678 if ac_fn_c_try_link "$LINENO"; then :
   13679   lt_cv_ld_exported_symbols_list=yes
   13680 else
   13681   lt_cv_ld_exported_symbols_list=no
   13682 fi
   13683 rm -f core conftest.err conftest.$ac_objext \
   13684     conftest$ac_exeext conftest.$ac_ext
   13685 	LDFLAGS="$save_LDFLAGS"
   13686 
   13687 fi
   13688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   13689 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   13690 
   13691     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   13692 $as_echo_n "checking for -force_load linker flag... " >&6; }
   13693 if ${lt_cv_ld_force_load+:} false; then :
   13694   $as_echo_n "(cached) " >&6
   13695 else
   13696   lt_cv_ld_force_load=no
   13697       cat > conftest.c << _LT_EOF
   13698 int forced_loaded() { return 2;}
   13699 _LT_EOF
   13700       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   13701       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   13702       echo "$AR cru libconftest.a conftest.o" >&5
   13703       $AR cru libconftest.a conftest.o 2>&5
   13704       echo "$RANLIB libconftest.a" >&5
   13705       $RANLIB libconftest.a 2>&5
   13706       cat > conftest.c << _LT_EOF
   13707 int main() { return 0;}
   13708 _LT_EOF
   13709       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   13710       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   13711       _lt_result=$?
   13712       if test -s conftest.err && $GREP force_load conftest.err; then
   13713 	cat conftest.err >&5
   13714       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
   13715 	lt_cv_ld_force_load=yes
   13716       else
   13717 	cat conftest.err >&5
   13718       fi
   13719         rm -f conftest.err libconftest.a conftest conftest.c
   13720         rm -rf conftest.dSYM
   13721 
   13722 fi
   13723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   13724 $as_echo "$lt_cv_ld_force_load" >&6; }
   13725     case $host_os in
   13726     rhapsody* | darwin1.[012])
   13727       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   13728     darwin1.*)
   13729       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   13730     darwin*) # darwin 5.x on
   13731       # if running on 10.5 or later, the deployment target defaults
   13732       # to the OS version, if on x86, and 10.4, the deployment
   13733       # target defaults to 10.4. Don't you love it?
   13734       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   13735 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   13736 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   13737 	10.[012]*)
   13738 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   13739 	10.*)
   13740 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   13741       esac
   13742     ;;
   13743   esac
   13744     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   13745       _lt_dar_single_mod='$single_module'
   13746     fi
   13747     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   13748       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   13749     else
   13750       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   13751     fi
   13752     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   13753       _lt_dsymutil='~$DSYMUTIL $lib || :'
   13754     else
   13755       _lt_dsymutil=
   13756     fi
   13757     ;;
   13758   esac
   13759 
   13760 for ac_header in dlfcn.h
   13761 do :
   13762   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   13763 "
   13764 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   13765   cat >>confdefs.h <<_ACEOF
   13766 #define HAVE_DLFCN_H 1
   13767 _ACEOF
   13768 
   13769 fi
   13770 
   13771 done
   13772 
   13773 
   13774 
   13775 
   13776 
   13777 # Set options
   13778 
   13779 
   13780 
   13781         enable_dlopen=no
   13782 
   13783 
   13784   enable_win32_dll=no
   13785 
   13786 
   13787             # Check whether --enable-shared was given.
   13788 if test "${enable_shared+set}" = set; then :
   13789   enableval=$enable_shared; p=${PACKAGE-default}
   13790     case $enableval in
   13791     yes) enable_shared=yes ;;
   13792     no) enable_shared=no ;;
   13793     *)
   13794       enable_shared=no
   13795       # Look at the argument we got.  We use all the common list separators.
   13796       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   13797       for pkg in $enableval; do
   13798 	IFS="$lt_save_ifs"
   13799 	if test "X$pkg" = "X$p"; then
   13800 	  enable_shared=yes
   13801 	fi
   13802       done
   13803       IFS="$lt_save_ifs"
   13804       ;;
   13805     esac
   13806 else
   13807   enable_shared=yes
   13808 fi
   13809 
   13810 
   13811 
   13812 
   13813 
   13814 
   13815 
   13816 
   13817 
   13818 
   13819 
   13820 # Check whether --with-pic was given.
   13821 if test "${with_pic+set}" = set; then :
   13822   withval=$with_pic; lt_p=${PACKAGE-default}
   13823     case $withval in
   13824     yes|no) pic_mode=$withval ;;
   13825     *)
   13826       pic_mode=default
   13827       # Look at the argument we got.  We use all the common list separators.
   13828       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   13829       for lt_pkg in $withval; do
   13830 	IFS="$lt_save_ifs"
   13831 	if test "X$lt_pkg" = "X$lt_p"; then
   13832 	  pic_mode=yes
   13833 	fi
   13834       done
   13835       IFS="$lt_save_ifs"
   13836       ;;
   13837     esac
   13838 else
   13839   pic_mode=default
   13840 fi
   13841 
   13842 
   13843 test -z "$pic_mode" && pic_mode=default
   13844 
   13845 
   13846 
   13847 
   13848 
   13849 
   13850 
   13851   # Check whether --enable-fast-install was given.
   13852 if test "${enable_fast_install+set}" = set; then :
   13853   enableval=$enable_fast_install; p=${PACKAGE-default}
   13854     case $enableval in
   13855     yes) enable_fast_install=yes ;;
   13856     no) enable_fast_install=no ;;
   13857     *)
   13858       enable_fast_install=no
   13859       # Look at the argument we got.  We use all the common list separators.
   13860       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   13861       for pkg in $enableval; do
   13862 	IFS="$lt_save_ifs"
   13863 	if test "X$pkg" = "X$p"; then
   13864 	  enable_fast_install=yes
   13865 	fi
   13866       done
   13867       IFS="$lt_save_ifs"
   13868       ;;
   13869     esac
   13870 else
   13871   enable_fast_install=yes
   13872 fi
   13873 
   13874 
   13875 
   13876 
   13877 
   13878 
   13879 
   13880 
   13881 
   13882 
   13883 
   13884 # This can be used to rebuild libtool when needed
   13885 LIBTOOL_DEPS="$ltmain"
   13886 
   13887 # Always use our own libtool.
   13888 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   13889 
   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 test -z "$LN_S" && LN_S="ln -s"
   13920 
   13921 
   13922 
   13923 
   13924 
   13925 
   13926 
   13927 
   13928 
   13929 
   13930 
   13931 
   13932 
   13933 
   13934 if test -n "${ZSH_VERSION+set}" ; then
   13935    setopt NO_GLOB_SUBST
   13936 fi
   13937 
   13938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   13939 $as_echo_n "checking for objdir... " >&6; }
   13940 if ${lt_cv_objdir+:} false; then :
   13941   $as_echo_n "(cached) " >&6
   13942 else
   13943   rm -f .libs 2>/dev/null
   13944 mkdir .libs 2>/dev/null
   13945 if test -d .libs; then
   13946   lt_cv_objdir=.libs
   13947 else
   13948   # MS-DOS does not allow filenames that begin with a dot.
   13949   lt_cv_objdir=_libs
   13950 fi
   13951 rmdir .libs 2>/dev/null
   13952 fi
   13953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   13954 $as_echo "$lt_cv_objdir" >&6; }
   13955 objdir=$lt_cv_objdir
   13956 
   13957 
   13958 
   13959 
   13960 
   13961 cat >>confdefs.h <<_ACEOF
   13962 #define LT_OBJDIR "$lt_cv_objdir/"
   13963 _ACEOF
   13964 
   13965 
   13966 
   13967 
   13968 case $host_os in
   13969 aix3*)
   13970   # AIX sometimes has problems with the GCC collect2 program.  For some
   13971   # reason, if we set the COLLECT_NAMES environment variable, the problems
   13972   # vanish in a puff of smoke.
   13973   if test "X${COLLECT_NAMES+set}" != Xset; then
   13974     COLLECT_NAMES=
   13975     export COLLECT_NAMES
   13976   fi
   13977   ;;
   13978 esac
   13979 
   13980 # Global variables:
   13981 ofile=libtool
   13982 can_build_shared=yes
   13983 
   13984 # All known linkers require a `.a' archive for static linking (except MSVC,
   13985 # which needs '.lib').
   13986 libext=a
   13987 
   13988 with_gnu_ld="$lt_cv_prog_gnu_ld"
   13989 
   13990 old_CC="$CC"
   13991 old_CFLAGS="$CFLAGS"
   13992 
   13993 # Set sane defaults for various variables
   13994 test -z "$CC" && CC=cc
   13995 test -z "$LTCC" && LTCC=$CC
   13996 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   13997 test -z "$LD" && LD=ld
   13998 test -z "$ac_objext" && ac_objext=o
   13999 
   14000 for cc_temp in $compiler""; do
   14001   case $cc_temp in
   14002     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14003     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14004     \-*) ;;
   14005     *) break;;
   14006   esac
   14007 done
   14008 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   14009 
   14010 
   14011 # Only perform the check for file, if the check method requires it
   14012 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   14013 case $deplibs_check_method in
   14014 file_magic*)
   14015   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   14016     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   14017 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   14018 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   14019   $as_echo_n "(cached) " >&6
   14020 else
   14021   case $MAGIC_CMD in
   14022 [\\/*] |  ?:[\\/]*)
   14023   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   14024   ;;
   14025 *)
   14026   lt_save_MAGIC_CMD="$MAGIC_CMD"
   14027   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   14028   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   14029   for ac_dir in $ac_dummy; do
   14030     IFS="$lt_save_ifs"
   14031     test -z "$ac_dir" && ac_dir=.
   14032     if test -f $ac_dir/${ac_tool_prefix}file; then
   14033       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   14034       if test -n "$file_magic_test_file"; then
   14035 	case $deplibs_check_method in
   14036 	"file_magic "*)
   14037 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   14038 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   14039 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   14040 	    $EGREP "$file_magic_regex" > /dev/null; then
   14041 	    :
   14042 	  else
   14043 	    cat <<_LT_EOF 1>&2
   14044 
   14045 *** Warning: the command libtool uses to detect shared libraries,
   14046 *** $file_magic_cmd, produces output that libtool cannot recognize.
   14047 *** The result is that libtool may fail to recognize shared libraries
   14048 *** as such.  This will affect the creation of libtool libraries that
   14049 *** depend on shared libraries, but programs linked with such libtool
   14050 *** libraries will work regardless of this problem.  Nevertheless, you
   14051 *** may want to report the problem to your system manager and/or to
   14052 *** bug-libtool@gnu.org
   14053 
   14054 _LT_EOF
   14055 	  fi ;;
   14056 	esac
   14057       fi
   14058       break
   14059     fi
   14060   done
   14061   IFS="$lt_save_ifs"
   14062   MAGIC_CMD="$lt_save_MAGIC_CMD"
   14063   ;;
   14064 esac
   14065 fi
   14066 
   14067 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   14068 if test -n "$MAGIC_CMD"; then
   14069   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   14070 $as_echo "$MAGIC_CMD" >&6; }
   14071 else
   14072   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14073 $as_echo "no" >&6; }
   14074 fi
   14075 
   14076 
   14077 
   14078 
   14079 
   14080 if test -z "$lt_cv_path_MAGIC_CMD"; then
   14081   if test -n "$ac_tool_prefix"; then
   14082     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   14083 $as_echo_n "checking for file... " >&6; }
   14084 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   14085   $as_echo_n "(cached) " >&6
   14086 else
   14087   case $MAGIC_CMD in
   14088 [\\/*] |  ?:[\\/]*)
   14089   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   14090   ;;
   14091 *)
   14092   lt_save_MAGIC_CMD="$MAGIC_CMD"
   14093   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   14094   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   14095   for ac_dir in $ac_dummy; do
   14096     IFS="$lt_save_ifs"
   14097     test -z "$ac_dir" && ac_dir=.
   14098     if test -f $ac_dir/file; then
   14099       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   14100       if test -n "$file_magic_test_file"; then
   14101 	case $deplibs_check_method in
   14102 	"file_magic "*)
   14103 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   14104 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   14105 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   14106 	    $EGREP "$file_magic_regex" > /dev/null; then
   14107 	    :
   14108 	  else
   14109 	    cat <<_LT_EOF 1>&2
   14110 
   14111 *** Warning: the command libtool uses to detect shared libraries,
   14112 *** $file_magic_cmd, produces output that libtool cannot recognize.
   14113 *** The result is that libtool may fail to recognize shared libraries
   14114 *** as such.  This will affect the creation of libtool libraries that
   14115 *** depend on shared libraries, but programs linked with such libtool
   14116 *** libraries will work regardless of this problem.  Nevertheless, you
   14117 *** may want to report the problem to your system manager and/or to
   14118 *** bug-libtool@gnu.org
   14119 
   14120 _LT_EOF
   14121 	  fi ;;
   14122 	esac
   14123       fi
   14124       break
   14125     fi
   14126   done
   14127   IFS="$lt_save_ifs"
   14128   MAGIC_CMD="$lt_save_MAGIC_CMD"
   14129   ;;
   14130 esac
   14131 fi
   14132 
   14133 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   14134 if test -n "$MAGIC_CMD"; then
   14135   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   14136 $as_echo "$MAGIC_CMD" >&6; }
   14137 else
   14138   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14139 $as_echo "no" >&6; }
   14140 fi
   14141 
   14142 
   14143   else
   14144     MAGIC_CMD=:
   14145   fi
   14146 fi
   14147 
   14148   fi
   14149   ;;
   14150 esac
   14151 
   14152 # Use C for the default configuration in the libtool script
   14153 
   14154 lt_save_CC="$CC"
   14155 ac_ext=c
   14156 ac_cpp='$CPP $CPPFLAGS'
   14157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14160 
   14161 
   14162 # Source file extension for C test sources.
   14163 ac_ext=c
   14164 
   14165 # Object file extension for compiled C test sources.
   14166 objext=o
   14167 objext=$objext
   14168 
   14169 # Code to be used in simple compile tests
   14170 lt_simple_compile_test_code="int some_variable = 0;"
   14171 
   14172 # Code to be used in simple link tests
   14173 lt_simple_link_test_code='int main(){return(0);}'
   14174 
   14175 
   14176 
   14177 
   14178 
   14179 
   14180 
   14181 # If no C compiler was specified, use CC.
   14182 LTCC=${LTCC-"$CC"}
   14183 
   14184 # If no C compiler flags were specified, use CFLAGS.
   14185 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   14186 
   14187 # Allow CC to be a program name with arguments.
   14188 compiler=$CC
   14189 
   14190 # Save the default compiler, since it gets overwritten when the other
   14191 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   14192 compiler_DEFAULT=$CC
   14193 
   14194 # save warnings/boilerplate of simple test code
   14195 ac_outfile=conftest.$ac_objext
   14196 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   14197 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14198 _lt_compiler_boilerplate=`cat conftest.err`
   14199 $RM conftest*
   14200 
   14201 ac_outfile=conftest.$ac_objext
   14202 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   14203 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14204 _lt_linker_boilerplate=`cat conftest.err`
   14205 $RM -r conftest*
   14206 
   14207 
   14208 if test -n "$compiler"; then
   14209 
   14210 lt_prog_compiler_no_builtin_flag=
   14211 
   14212 if test "$GCC" = yes; then
   14213   case $cc_basename in
   14214   nvcc*)
   14215     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   14216   *)
   14217     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   14218   esac
   14219 
   14220   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   14221 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   14222 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   14223   $as_echo_n "(cached) " >&6
   14224 else
   14225   lt_cv_prog_compiler_rtti_exceptions=no
   14226    ac_outfile=conftest.$ac_objext
   14227    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14228    lt_compiler_flag="-fno-rtti -fno-exceptions"
   14229    # Insert the option either (1) after the last *FLAGS variable, or
   14230    # (2) before a word containing "conftest.", or (3) at the end.
   14231    # Note that $ac_compile itself does not contain backslashes and begins
   14232    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14233    # The option is referenced via a variable to avoid confusing sed.
   14234    lt_compile=`echo "$ac_compile" | $SED \
   14235    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14236    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14237    -e 's:$: $lt_compiler_flag:'`
   14238    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14239    (eval "$lt_compile" 2>conftest.err)
   14240    ac_status=$?
   14241    cat conftest.err >&5
   14242    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14243    if (exit $ac_status) && test -s "$ac_outfile"; then
   14244      # The compiler can only warn and ignore the option if not recognized
   14245      # So say no if there are warnings other than the usual output.
   14246      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   14247      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14248      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14249        lt_cv_prog_compiler_rtti_exceptions=yes
   14250      fi
   14251    fi
   14252    $RM conftest*
   14253 
   14254 fi
   14255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   14256 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   14257 
   14258 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   14259     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   14260 else
   14261     :
   14262 fi
   14263 
   14264 fi
   14265 
   14266 
   14267 
   14268 
   14269 
   14270 
   14271   lt_prog_compiler_wl=
   14272 lt_prog_compiler_pic=
   14273 lt_prog_compiler_static=
   14274 
   14275 
   14276   if test "$GCC" = yes; then
   14277     lt_prog_compiler_wl='-Wl,'
   14278     lt_prog_compiler_static='-static'
   14279 
   14280     case $host_os in
   14281       aix*)
   14282       # All AIX code is PIC.
   14283       if test "$host_cpu" = ia64; then
   14284 	# AIX 5 now supports IA64 processor
   14285 	lt_prog_compiler_static='-Bstatic'
   14286       fi
   14287       ;;
   14288 
   14289     amigaos*)
   14290       case $host_cpu in
   14291       powerpc)
   14292             # see comment about AmigaOS4 .so support
   14293             lt_prog_compiler_pic='-fPIC'
   14294         ;;
   14295       m68k)
   14296             # FIXME: we need at least 68020 code to build shared libraries, but
   14297             # adding the `-m68020' flag to GCC prevents building anything better,
   14298             # like `-m68040'.
   14299             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   14300         ;;
   14301       esac
   14302       ;;
   14303 
   14304     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   14305       # PIC is the default for these OSes.
   14306       ;;
   14307 
   14308     mingw* | cygwin* | pw32* | os2* | cegcc*)
   14309       # This hack is so that the source file can tell whether it is being
   14310       # built for inclusion in a dll (and should export symbols for example).
   14311       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   14312       # (--disable-auto-import) libraries
   14313       lt_prog_compiler_pic='-DDLL_EXPORT'
   14314       ;;
   14315 
   14316     darwin* | rhapsody*)
   14317       # PIC is the default on this platform
   14318       # Common symbols not allowed in MH_DYLIB files
   14319       lt_prog_compiler_pic='-fno-common'
   14320       ;;
   14321 
   14322     haiku*)
   14323       # PIC is the default for Haiku.
   14324       # The "-static" flag exists, but is broken.
   14325       lt_prog_compiler_static=
   14326       ;;
   14327 
   14328     hpux*)
   14329       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   14330       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   14331       # sets the default TLS model and affects inlining.
   14332       case $host_cpu in
   14333       hppa*64*)
   14334 	# +Z the default
   14335 	;;
   14336       *)
   14337 	lt_prog_compiler_pic='-fPIC'
   14338 	;;
   14339       esac
   14340       ;;
   14341 
   14342     interix[3-9]*)
   14343       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   14344       # Instead, we relocate shared libraries at runtime.
   14345       ;;
   14346 
   14347     msdosdjgpp*)
   14348       # Just because we use GCC doesn't mean we suddenly get shared libraries
   14349       # on systems that don't support them.
   14350       lt_prog_compiler_can_build_shared=no
   14351       enable_shared=no
   14352       ;;
   14353 
   14354     *nto* | *qnx*)
   14355       # QNX uses GNU C++, but need to define -shared option too, otherwise
   14356       # it will coredump.
   14357       lt_prog_compiler_pic='-fPIC -shared'
   14358       ;;
   14359 
   14360     sysv4*MP*)
   14361       if test -d /usr/nec; then
   14362 	lt_prog_compiler_pic=-Kconform_pic
   14363       fi
   14364       ;;
   14365 
   14366     *)
   14367       lt_prog_compiler_pic='-fPIC'
   14368       ;;
   14369     esac
   14370 
   14371     case $cc_basename in
   14372     nvcc*) # Cuda Compiler Driver 2.2
   14373       lt_prog_compiler_wl='-Xlinker '
   14374       if test -n "$lt_prog_compiler_pic"; then
   14375         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   14376       fi
   14377       ;;
   14378     esac
   14379   else
   14380     # PORTME Check for flag to pass linker flags through the system compiler.
   14381     case $host_os in
   14382     aix*)
   14383       lt_prog_compiler_wl='-Wl,'
   14384       if test "$host_cpu" = ia64; then
   14385 	# AIX 5 now supports IA64 processor
   14386 	lt_prog_compiler_static='-Bstatic'
   14387       else
   14388 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   14389       fi
   14390       ;;
   14391 
   14392     mingw* | cygwin* | pw32* | os2* | cegcc*)
   14393       # This hack is so that the source file can tell whether it is being
   14394       # built for inclusion in a dll (and should export symbols for example).
   14395       lt_prog_compiler_pic='-DDLL_EXPORT'
   14396       ;;
   14397 
   14398     hpux9* | hpux10* | hpux11*)
   14399       lt_prog_compiler_wl='-Wl,'
   14400       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14401       # not for PA HP-UX.
   14402       case $host_cpu in
   14403       hppa*64*|ia64*)
   14404 	# +Z the default
   14405 	;;
   14406       *)
   14407 	lt_prog_compiler_pic='+Z'
   14408 	;;
   14409       esac
   14410       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   14411       lt_prog_compiler_static='${wl}-a ${wl}archive'
   14412       ;;
   14413 
   14414     irix5* | irix6* | nonstopux*)
   14415       lt_prog_compiler_wl='-Wl,'
   14416       # PIC (with -KPIC) is the default.
   14417       lt_prog_compiler_static='-non_shared'
   14418       ;;
   14419 
   14420     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   14421       case $cc_basename in
   14422       # old Intel for x86_64 which still supported -KPIC.
   14423       ecc*)
   14424 	lt_prog_compiler_wl='-Wl,'
   14425 	lt_prog_compiler_pic='-KPIC'
   14426 	lt_prog_compiler_static='-static'
   14427         ;;
   14428       # icc used to be incompatible with GCC.
   14429       # ICC 10 doesn't accept -KPIC any more.
   14430       icc* | ifort*)
   14431 	lt_prog_compiler_wl='-Wl,'
   14432 	lt_prog_compiler_pic='-fPIC'
   14433 	lt_prog_compiler_static='-static'
   14434         ;;
   14435       # Lahey Fortran 8.1.
   14436       lf95*)
   14437 	lt_prog_compiler_wl='-Wl,'
   14438 	lt_prog_compiler_pic='--shared'
   14439 	lt_prog_compiler_static='--static'
   14440 	;;
   14441       nagfor*)
   14442 	# NAG Fortran compiler
   14443 	lt_prog_compiler_wl='-Wl,-Wl,,'
   14444 	lt_prog_compiler_pic='-PIC'
   14445 	lt_prog_compiler_static='-Bstatic'
   14446 	;;
   14447       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   14448         # Portland Group compilers (*not* the Pentium gcc compiler,
   14449 	# which looks to be a dead project)
   14450 	lt_prog_compiler_wl='-Wl,'
   14451 	lt_prog_compiler_pic='-fpic'
   14452 	lt_prog_compiler_static='-Bstatic'
   14453         ;;
   14454       ccc*)
   14455         lt_prog_compiler_wl='-Wl,'
   14456         # All Alpha code is PIC.
   14457         lt_prog_compiler_static='-non_shared'
   14458         ;;
   14459       xl* | bgxl* | bgf* | mpixl*)
   14460 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   14461 	lt_prog_compiler_wl='-Wl,'
   14462 	lt_prog_compiler_pic='-qpic'
   14463 	lt_prog_compiler_static='-qstaticlink'
   14464 	;;
   14465       *)
   14466 	case `$CC -V 2>&1 | sed 5q` in
   14467 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   14468 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   14469 	  lt_prog_compiler_pic='-KPIC'
   14470 	  lt_prog_compiler_static='-Bstatic'
   14471 	  lt_prog_compiler_wl=''
   14472 	  ;;
   14473 	*Sun\ F* | *Sun*Fortran*)
   14474 	  lt_prog_compiler_pic='-KPIC'
   14475 	  lt_prog_compiler_static='-Bstatic'
   14476 	  lt_prog_compiler_wl='-Qoption ld '
   14477 	  ;;
   14478 	*Sun\ C*)
   14479 	  # Sun C 5.9
   14480 	  lt_prog_compiler_pic='-KPIC'
   14481 	  lt_prog_compiler_static='-Bstatic'
   14482 	  lt_prog_compiler_wl='-Wl,'
   14483 	  ;;
   14484         *Intel*\ [CF]*Compiler*)
   14485 	  lt_prog_compiler_wl='-Wl,'
   14486 	  lt_prog_compiler_pic='-fPIC'
   14487 	  lt_prog_compiler_static='-static'
   14488 	  ;;
   14489 	*Portland\ Group*)
   14490 	  lt_prog_compiler_wl='-Wl,'
   14491 	  lt_prog_compiler_pic='-fpic'
   14492 	  lt_prog_compiler_static='-Bstatic'
   14493 	  ;;
   14494 	esac
   14495 	;;
   14496       esac
   14497       ;;
   14498 
   14499     newsos6)
   14500       lt_prog_compiler_pic='-KPIC'
   14501       lt_prog_compiler_static='-Bstatic'
   14502       ;;
   14503 
   14504     *nto* | *qnx*)
   14505       # QNX uses GNU C++, but need to define -shared option too, otherwise
   14506       # it will coredump.
   14507       lt_prog_compiler_pic='-fPIC -shared'
   14508       ;;
   14509 
   14510     osf3* | osf4* | osf5*)
   14511       lt_prog_compiler_wl='-Wl,'
   14512       # All OSF/1 code is PIC.
   14513       lt_prog_compiler_static='-non_shared'
   14514       ;;
   14515 
   14516     rdos*)
   14517       lt_prog_compiler_static='-non_shared'
   14518       ;;
   14519 
   14520     solaris*)
   14521       lt_prog_compiler_pic='-KPIC'
   14522       lt_prog_compiler_static='-Bstatic'
   14523       case $cc_basename in
   14524       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   14525 	lt_prog_compiler_wl='-Qoption ld ';;
   14526       *)
   14527 	lt_prog_compiler_wl='-Wl,';;
   14528       esac
   14529       ;;
   14530 
   14531     sunos4*)
   14532       lt_prog_compiler_wl='-Qoption ld '
   14533       lt_prog_compiler_pic='-PIC'
   14534       lt_prog_compiler_static='-Bstatic'
   14535       ;;
   14536 
   14537     sysv4 | sysv4.2uw2* | sysv4.3*)
   14538       lt_prog_compiler_wl='-Wl,'
   14539       lt_prog_compiler_pic='-KPIC'
   14540       lt_prog_compiler_static='-Bstatic'
   14541       ;;
   14542 
   14543     sysv4*MP*)
   14544       if test -d /usr/nec ;then
   14545 	lt_prog_compiler_pic='-Kconform_pic'
   14546 	lt_prog_compiler_static='-Bstatic'
   14547       fi
   14548       ;;
   14549 
   14550     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   14551       lt_prog_compiler_wl='-Wl,'
   14552       lt_prog_compiler_pic='-KPIC'
   14553       lt_prog_compiler_static='-Bstatic'
   14554       ;;
   14555 
   14556     unicos*)
   14557       lt_prog_compiler_wl='-Wl,'
   14558       lt_prog_compiler_can_build_shared=no
   14559       ;;
   14560 
   14561     uts4*)
   14562       lt_prog_compiler_pic='-pic'
   14563       lt_prog_compiler_static='-Bstatic'
   14564       ;;
   14565 
   14566     *)
   14567       lt_prog_compiler_can_build_shared=no
   14568       ;;
   14569     esac
   14570   fi
   14571 
   14572 case $host_os in
   14573   # For platforms which do not support PIC, -DPIC is meaningless:
   14574   *djgpp*)
   14575     lt_prog_compiler_pic=
   14576     ;;
   14577   *)
   14578     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   14579     ;;
   14580 esac
   14581 
   14582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   14583 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   14584 if ${lt_cv_prog_compiler_pic+:} false; then :
   14585   $as_echo_n "(cached) " >&6
   14586 else
   14587   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   14588 fi
   14589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   14590 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   14591 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   14592 
   14593 #
   14594 # Check to make sure the PIC flag actually works.
   14595 #
   14596 if test -n "$lt_prog_compiler_pic"; then
   14597   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   14598 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   14599 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   14600   $as_echo_n "(cached) " >&6
   14601 else
   14602   lt_cv_prog_compiler_pic_works=no
   14603    ac_outfile=conftest.$ac_objext
   14604    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14605    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   14606    # Insert the option either (1) after the last *FLAGS variable, or
   14607    # (2) before a word containing "conftest.", or (3) at the end.
   14608    # Note that $ac_compile itself does not contain backslashes and begins
   14609    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14610    # The option is referenced via a variable to avoid confusing sed.
   14611    lt_compile=`echo "$ac_compile" | $SED \
   14612    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14613    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14614    -e 's:$: $lt_compiler_flag:'`
   14615    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14616    (eval "$lt_compile" 2>conftest.err)
   14617    ac_status=$?
   14618    cat conftest.err >&5
   14619    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14620    if (exit $ac_status) && test -s "$ac_outfile"; then
   14621      # The compiler can only warn and ignore the option if not recognized
   14622      # So say no if there are warnings other than the usual output.
   14623      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   14624      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14625      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14626        lt_cv_prog_compiler_pic_works=yes
   14627      fi
   14628    fi
   14629    $RM conftest*
   14630 
   14631 fi
   14632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   14633 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   14634 
   14635 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   14636     case $lt_prog_compiler_pic in
   14637      "" | " "*) ;;
   14638      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   14639      esac
   14640 else
   14641     lt_prog_compiler_pic=
   14642      lt_prog_compiler_can_build_shared=no
   14643 fi
   14644 
   14645 fi
   14646 
   14647 
   14648 
   14649 
   14650 
   14651 
   14652 
   14653 
   14654 
   14655 
   14656 
   14657 #
   14658 # Check to make sure the static flag actually works.
   14659 #
   14660 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   14661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   14662 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   14663 if ${lt_cv_prog_compiler_static_works+:} false; then :
   14664   $as_echo_n "(cached) " >&6
   14665 else
   14666   lt_cv_prog_compiler_static_works=no
   14667    save_LDFLAGS="$LDFLAGS"
   14668    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   14669    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   14670    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   14671      # The linker can only warn and ignore the option if not recognized
   14672      # So say no if there are warnings
   14673      if test -s conftest.err; then
   14674        # Append any errors to the config.log.
   14675        cat conftest.err 1>&5
   14676        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   14677        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14678        if diff conftest.exp conftest.er2 >/dev/null; then
   14679          lt_cv_prog_compiler_static_works=yes
   14680        fi
   14681      else
   14682        lt_cv_prog_compiler_static_works=yes
   14683      fi
   14684    fi
   14685    $RM -r conftest*
   14686    LDFLAGS="$save_LDFLAGS"
   14687 
   14688 fi
   14689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   14690 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   14691 
   14692 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   14693     :
   14694 else
   14695     lt_prog_compiler_static=
   14696 fi
   14697 
   14698 
   14699 
   14700 
   14701 
   14702 
   14703 
   14704   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   14705 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   14706 if ${lt_cv_prog_compiler_c_o+:} false; then :
   14707   $as_echo_n "(cached) " >&6
   14708 else
   14709   lt_cv_prog_compiler_c_o=no
   14710    $RM -r conftest 2>/dev/null
   14711    mkdir conftest
   14712    cd conftest
   14713    mkdir out
   14714    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14715 
   14716    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14717    # Insert the option either (1) after the last *FLAGS variable, or
   14718    # (2) before a word containing "conftest.", or (3) at the end.
   14719    # Note that $ac_compile itself does not contain backslashes and begins
   14720    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14721    lt_compile=`echo "$ac_compile" | $SED \
   14722    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14723    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14724    -e 's:$: $lt_compiler_flag:'`
   14725    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14726    (eval "$lt_compile" 2>out/conftest.err)
   14727    ac_status=$?
   14728    cat out/conftest.err >&5
   14729    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14730    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14731    then
   14732      # The compiler can only warn and ignore the option if not recognized
   14733      # So say no if there are warnings
   14734      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   14735      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14736      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14737        lt_cv_prog_compiler_c_o=yes
   14738      fi
   14739    fi
   14740    chmod u+w . 2>&5
   14741    $RM conftest*
   14742    # SGI C++ compiler will create directory out/ii_files/ for
   14743    # template instantiation
   14744    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   14745    $RM out/* && rmdir out
   14746    cd ..
   14747    $RM -r conftest
   14748    $RM conftest*
   14749 
   14750 fi
   14751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   14752 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   14753 
   14754 
   14755 
   14756 
   14757 
   14758 
   14759   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   14760 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   14761 if ${lt_cv_prog_compiler_c_o+:} false; then :
   14762   $as_echo_n "(cached) " >&6
   14763 else
   14764   lt_cv_prog_compiler_c_o=no
   14765    $RM -r conftest 2>/dev/null
   14766    mkdir conftest
   14767    cd conftest
   14768    mkdir out
   14769    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14770 
   14771    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14772    # Insert the option either (1) after the last *FLAGS variable, or
   14773    # (2) before a word containing "conftest.", or (3) at the end.
   14774    # Note that $ac_compile itself does not contain backslashes and begins
   14775    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14776    lt_compile=`echo "$ac_compile" | $SED \
   14777    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14778    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14779    -e 's:$: $lt_compiler_flag:'`
   14780    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14781    (eval "$lt_compile" 2>out/conftest.err)
   14782    ac_status=$?
   14783    cat out/conftest.err >&5
   14784    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14785    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14786    then
   14787      # The compiler can only warn and ignore the option if not recognized
   14788      # So say no if there are warnings
   14789      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   14790      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14791      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14792        lt_cv_prog_compiler_c_o=yes
   14793      fi
   14794    fi
   14795    chmod u+w . 2>&5
   14796    $RM conftest*
   14797    # SGI C++ compiler will create directory out/ii_files/ for
   14798    # template instantiation
   14799    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   14800    $RM out/* && rmdir out
   14801    cd ..
   14802    $RM -r conftest
   14803    $RM conftest*
   14804 
   14805 fi
   14806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   14807 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   14808 
   14809 
   14810 
   14811 
   14812 hard_links="nottested"
   14813 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   14814   # do not overwrite the value of need_locks provided by the user
   14815   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   14816 $as_echo_n "checking if we can lock with hard links... " >&6; }
   14817   hard_links=yes
   14818   $RM conftest*
   14819   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14820   touch conftest.a
   14821   ln conftest.a conftest.b 2>&5 || hard_links=no
   14822   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   14824 $as_echo "$hard_links" >&6; }
   14825   if test "$hard_links" = no; then
   14826     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   14827 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   14828     need_locks=warn
   14829   fi
   14830 else
   14831   need_locks=no
   14832 fi
   14833 
   14834 
   14835 
   14836 
   14837 
   14838 
   14839   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   14840 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   14841 
   14842   runpath_var=
   14843   allow_undefined_flag=
   14844   always_export_symbols=no
   14845   archive_cmds=
   14846   archive_expsym_cmds=
   14847   compiler_needs_object=no
   14848   enable_shared_with_static_runtimes=no
   14849   export_dynamic_flag_spec=
   14850   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   14851   hardcode_automatic=no
   14852   hardcode_direct=no
   14853   hardcode_direct_absolute=no
   14854   hardcode_libdir_flag_spec=
   14855   hardcode_libdir_separator=
   14856   hardcode_minus_L=no
   14857   hardcode_shlibpath_var=unsupported
   14858   inherit_rpath=no
   14859   link_all_deplibs=unknown
   14860   module_cmds=
   14861   module_expsym_cmds=
   14862   old_archive_from_new_cmds=
   14863   old_archive_from_expsyms_cmds=
   14864   thread_safe_flag_spec=
   14865   whole_archive_flag_spec=
   14866   # include_expsyms should be a list of space-separated symbols to be *always*
   14867   # included in the symbol list
   14868   include_expsyms=
   14869   # exclude_expsyms can be an extended regexp of symbols to exclude
   14870   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   14871   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   14872   # as well as any symbol that contains `d'.
   14873   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   14874   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   14875   # platforms (ab)use it in PIC code, but their linkers get confused if
   14876   # the symbol is explicitly referenced.  Since portable code cannot
   14877   # rely on this symbol name, it's probably fine to never include it in
   14878   # preloaded symbol tables.
   14879   # Exclude shared library initialization/finalization symbols.
   14880   extract_expsyms_cmds=
   14881 
   14882   case $host_os in
   14883   cygwin* | mingw* | pw32* | cegcc*)
   14884     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   14885     # When not using gcc, we currently assume that we are using
   14886     # Microsoft Visual C++.
   14887     if test "$GCC" != yes; then
   14888       with_gnu_ld=no
   14889     fi
   14890     ;;
   14891   interix*)
   14892     # we just hope/assume this is gcc and not c89 (= MSVC++)
   14893     with_gnu_ld=yes
   14894     ;;
   14895   openbsd*)
   14896     with_gnu_ld=no
   14897     ;;
   14898   esac
   14899 
   14900   ld_shlibs=yes
   14901 
   14902   # On some targets, GNU ld is compatible enough with the native linker
   14903   # that we're better off using the native interface for both.
   14904   lt_use_gnu_ld_interface=no
   14905   if test "$with_gnu_ld" = yes; then
   14906     case $host_os in
   14907       aix*)
   14908 	# The AIX port of GNU ld has always aspired to compatibility
   14909 	# with the native linker.  However, as the warning in the GNU ld
   14910 	# block says, versions before 2.19.5* couldn't really create working
   14911 	# shared libraries, regardless of the interface used.
   14912 	case `$LD -v 2>&1` in
   14913 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   14914 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   14915 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   14916 	  *)
   14917 	    lt_use_gnu_ld_interface=yes
   14918 	    ;;
   14919 	esac
   14920 	;;
   14921       *)
   14922 	lt_use_gnu_ld_interface=yes
   14923 	;;
   14924     esac
   14925   fi
   14926 
   14927   if test "$lt_use_gnu_ld_interface" = yes; then
   14928     # If archive_cmds runs LD, not CC, wlarc should be empty
   14929     wlarc='${wl}'
   14930 
   14931     # Set some defaults for GNU ld with shared library support. These
   14932     # are reset later if shared libraries are not supported. Putting them
   14933     # here allows them to be overridden if necessary.
   14934     runpath_var=LD_RUN_PATH
   14935     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   14936     export_dynamic_flag_spec='${wl}--export-dynamic'
   14937     # ancient GNU ld didn't support --whole-archive et. al.
   14938     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   14939       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   14940     else
   14941       whole_archive_flag_spec=
   14942     fi
   14943     supports_anon_versioning=no
   14944     case `$LD -v 2>&1` in
   14945       *GNU\ gold*) supports_anon_versioning=yes ;;
   14946       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   14947       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   14948       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   14949       *\ 2.11.*) ;; # other 2.11 versions
   14950       *) supports_anon_versioning=yes ;;
   14951     esac
   14952 
   14953     # See if GNU ld supports shared libraries.
   14954     case $host_os in
   14955     aix[3-9]*)
   14956       # On AIX/PPC, the GNU linker is very broken
   14957       if test "$host_cpu" != ia64; then
   14958 	ld_shlibs=no
   14959 	cat <<_LT_EOF 1>&2
   14960 
   14961 *** Warning: the GNU linker, at least up to release 2.19, is reported
   14962 *** to be unable to reliably create shared libraries on AIX.
   14963 *** Therefore, libtool is disabling shared libraries support.  If you
   14964 *** really care for shared libraries, you may want to install binutils
   14965 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   14966 *** You will then need to restart the configuration process.
   14967 
   14968 _LT_EOF
   14969       fi
   14970       ;;
   14971 
   14972     amigaos*)
   14973       case $host_cpu in
   14974       powerpc)
   14975             # see comment about AmigaOS4 .so support
   14976             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14977             archive_expsym_cmds=''
   14978         ;;
   14979       m68k)
   14980             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)'
   14981             hardcode_libdir_flag_spec='-L$libdir'
   14982             hardcode_minus_L=yes
   14983         ;;
   14984       esac
   14985       ;;
   14986 
   14987     beos*)
   14988       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   14989 	allow_undefined_flag=unsupported
   14990 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   14991 	# support --undefined.  This deserves some investigation.  FIXME
   14992 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14993       else
   14994 	ld_shlibs=no
   14995       fi
   14996       ;;
   14997 
   14998     cygwin* | mingw* | pw32* | cegcc*)
   14999       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   15000       # as there is no search path for DLLs.
   15001       hardcode_libdir_flag_spec='-L$libdir'
   15002       export_dynamic_flag_spec='${wl}--export-all-symbols'
   15003       allow_undefined_flag=unsupported
   15004       always_export_symbols=no
   15005       enable_shared_with_static_runtimes=yes
   15006       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'
   15007       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   15008 
   15009       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   15010         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   15011 	# If the export-symbols file already is a .def file (1st line
   15012 	# is EXPORTS), use it as is; otherwise, prepend...
   15013 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   15014 	  cp $export_symbols $output_objdir/$soname.def;
   15015 	else
   15016 	  echo EXPORTS > $output_objdir/$soname.def;
   15017 	  cat $export_symbols >> $output_objdir/$soname.def;
   15018 	fi~
   15019 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   15020       else
   15021 	ld_shlibs=no
   15022       fi
   15023       ;;
   15024 
   15025     haiku*)
   15026       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15027       link_all_deplibs=yes
   15028       ;;
   15029 
   15030     interix[3-9]*)
   15031       hardcode_direct=no
   15032       hardcode_shlibpath_var=no
   15033       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   15034       export_dynamic_flag_spec='${wl}-E'
   15035       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   15036       # Instead, shared libraries are loaded at an image base (0x10000000 by
   15037       # default) and relocated if they conflict, which is a slow very memory
   15038       # consuming and fragmenting process.  To avoid this, we pick a random,
   15039       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   15040       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   15041       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   15042       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'
   15043       ;;
   15044 
   15045     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   15046       tmp_diet=no
   15047       if test "$host_os" = linux-dietlibc; then
   15048 	case $cc_basename in
   15049 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   15050 	esac
   15051       fi
   15052       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   15053 	 && test "$tmp_diet" = no
   15054       then
   15055 	tmp_addflag=' $pic_flag'
   15056 	tmp_sharedflag='-shared'
   15057 	case $cc_basename,$host_cpu in
   15058         pgcc*)				# Portland Group C compiler
   15059 	  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'
   15060 	  tmp_addflag=' $pic_flag'
   15061 	  ;;
   15062 	pgf77* | pgf90* | pgf95* | pgfortran*)
   15063 					# Portland Group f77 and f90 compilers
   15064 	  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'
   15065 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   15066 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   15067 	  tmp_addflag=' -i_dynamic' ;;
   15068 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   15069 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   15070 	ifc* | ifort*)			# Intel Fortran compiler
   15071 	  tmp_addflag=' -nofor_main' ;;
   15072 	lf95*)				# Lahey Fortran 8.1
   15073 	  whole_archive_flag_spec=
   15074 	  tmp_sharedflag='--shared' ;;
   15075 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   15076 	  tmp_sharedflag='-qmkshrobj'
   15077 	  tmp_addflag= ;;
   15078 	nvcc*)	# Cuda Compiler Driver 2.2
   15079 	  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'
   15080 	  compiler_needs_object=yes
   15081 	  ;;
   15082 	esac
   15083 	case `$CC -V 2>&1 | sed 5q` in
   15084 	*Sun\ C*)			# Sun C 5.9
   15085 	  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'
   15086 	  compiler_needs_object=yes
   15087 	  tmp_sharedflag='-G' ;;
   15088 	*Sun\ F*)			# Sun Fortran 8.3
   15089 	  tmp_sharedflag='-G' ;;
   15090 	esac
   15091 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15092 
   15093         if test "x$supports_anon_versioning" = xyes; then
   15094           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   15095 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   15096 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   15097 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   15098         fi
   15099 
   15100 	case $cc_basename in
   15101 	xlf* | bgf* | bgxlf* | mpixlf*)
   15102 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   15103 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   15104 	  hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   15105 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   15106 	  if test "x$supports_anon_versioning" = xyes; then
   15107 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   15108 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   15109 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   15110 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   15111 	  fi
   15112 	  ;;
   15113 	esac
   15114       else
   15115         ld_shlibs=no
   15116       fi
   15117       ;;
   15118 
   15119     netbsd*)
   15120       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   15121 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   15122 	wlarc=
   15123       else
   15124 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15125 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15126       fi
   15127       ;;
   15128 
   15129     solaris*)
   15130       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   15131 	ld_shlibs=no
   15132 	cat <<_LT_EOF 1>&2
   15133 
   15134 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   15135 *** create shared libraries on Solaris systems.  Therefore, libtool
   15136 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15137 *** binutils to release 2.9.1 or newer.  Another option is to modify
   15138 *** your PATH or compiler configuration so that the native linker is
   15139 *** used, and then restart.
   15140 
   15141 _LT_EOF
   15142       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15143 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15144 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15145       else
   15146 	ld_shlibs=no
   15147       fi
   15148       ;;
   15149 
   15150     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   15151       case `$LD -v 2>&1` in
   15152         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   15153 	ld_shlibs=no
   15154 	cat <<_LT_EOF 1>&2
   15155 
   15156 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   15157 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   15158 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15159 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   15160 *** your PATH or compiler configuration so that the native linker is
   15161 *** used, and then restart.
   15162 
   15163 _LT_EOF
   15164 	;;
   15165 	*)
   15166 	  # For security reasons, it is highly recommended that you always
   15167 	  # use absolute paths for naming shared libraries, and exclude the
   15168 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   15169 	  # requires that you compile everything twice, which is a pain.
   15170 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15171 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   15172 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15173 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15174 	  else
   15175 	    ld_shlibs=no
   15176 	  fi
   15177 	;;
   15178       esac
   15179       ;;
   15180 
   15181     sunos4*)
   15182       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15183       wlarc=
   15184       hardcode_direct=yes
   15185       hardcode_shlibpath_var=no
   15186       ;;
   15187 
   15188     *)
   15189       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15190 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15191 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15192       else
   15193 	ld_shlibs=no
   15194       fi
   15195       ;;
   15196     esac
   15197 
   15198     if test "$ld_shlibs" = no; then
   15199       runpath_var=
   15200       hardcode_libdir_flag_spec=
   15201       export_dynamic_flag_spec=
   15202       whole_archive_flag_spec=
   15203     fi
   15204   else
   15205     # PORTME fill in a description of your system's linker (not GNU ld)
   15206     case $host_os in
   15207     aix3*)
   15208       allow_undefined_flag=unsupported
   15209       always_export_symbols=yes
   15210       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'
   15211       # Note: this linker hardcodes the directories in LIBPATH if there
   15212       # are no directories specified by -L.
   15213       hardcode_minus_L=yes
   15214       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   15215 	# Neither direct hardcoding nor static linking is supported with a
   15216 	# broken collect2.
   15217 	hardcode_direct=unsupported
   15218       fi
   15219       ;;
   15220 
   15221     aix[4-9]*)
   15222       if test "$host_cpu" = ia64; then
   15223 	# On IA64, the linker does run time linking by default, so we don't
   15224 	# have to do anything special.
   15225 	aix_use_runtimelinking=no
   15226 	exp_sym_flag='-Bexport'
   15227 	no_entry_flag=""
   15228       else
   15229 	# If we're using GNU nm, then we don't want the "-C" option.
   15230 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   15231 	# Also, AIX nm treats weak defined symbols like other global
   15232 	# defined symbols, whereas GNU nm marks them as "W".
   15233 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   15234 	  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'
   15235 	else
   15236 	  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'
   15237 	fi
   15238 	aix_use_runtimelinking=no
   15239 
   15240 	# Test if we are trying to use run time linking or normal
   15241 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   15242 	# need to do runtime linking.
   15243 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   15244 	  for ld_flag in $LDFLAGS; do
   15245 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   15246 	    aix_use_runtimelinking=yes
   15247 	    break
   15248 	  fi
   15249 	  done
   15250 	  ;;
   15251 	esac
   15252 
   15253 	exp_sym_flag='-bexport'
   15254 	no_entry_flag='-bnoentry'
   15255       fi
   15256 
   15257       # When large executables or shared objects are built, AIX ld can
   15258       # have problems creating the table of contents.  If linking a library
   15259       # or program results in "error TOC overflow" add -mminimal-toc to
   15260       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   15261       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   15262 
   15263       archive_cmds=''
   15264       hardcode_direct=yes
   15265       hardcode_direct_absolute=yes
   15266       hardcode_libdir_separator=':'
   15267       link_all_deplibs=yes
   15268       file_list_spec='${wl}-f,'
   15269 
   15270       if test "$GCC" = yes; then
   15271 	case $host_os in aix4.[012]|aix4.[012].*)
   15272 	# We only want to do this on AIX 4.2 and lower, the check
   15273 	# below for broken collect2 doesn't work under 4.3+
   15274 	  collect2name=`${CC} -print-prog-name=collect2`
   15275 	  if test -f "$collect2name" &&
   15276 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   15277 	  then
   15278 	  # We have reworked collect2
   15279 	  :
   15280 	  else
   15281 	  # We have old collect2
   15282 	  hardcode_direct=unsupported
   15283 	  # It fails to find uninstalled libraries when the uninstalled
   15284 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   15285 	  # to unsupported forces relinking
   15286 	  hardcode_minus_L=yes
   15287 	  hardcode_libdir_flag_spec='-L$libdir'
   15288 	  hardcode_libdir_separator=
   15289 	  fi
   15290 	  ;;
   15291 	esac
   15292 	shared_flag='-shared'
   15293 	if test "$aix_use_runtimelinking" = yes; then
   15294 	  shared_flag="$shared_flag "'${wl}-G'
   15295 	fi
   15296       else
   15297 	# not using gcc
   15298 	if test "$host_cpu" = ia64; then
   15299 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   15300 	# chokes on -Wl,-G. The following line is correct:
   15301 	  shared_flag='-G'
   15302 	else
   15303 	  if test "$aix_use_runtimelinking" = yes; then
   15304 	    shared_flag='${wl}-G'
   15305 	  else
   15306 	    shared_flag='${wl}-bM:SRE'
   15307 	  fi
   15308 	fi
   15309       fi
   15310 
   15311       export_dynamic_flag_spec='${wl}-bexpall'
   15312       # It seems that -bexpall does not export symbols beginning with
   15313       # underscore (_), so it is better to generate a list of symbols to export.
   15314       always_export_symbols=yes
   15315       if test "$aix_use_runtimelinking" = yes; then
   15316 	# Warning - without using the other runtime loading flags (-brtl),
   15317 	# -berok will link without error, but may produce a broken library.
   15318 	allow_undefined_flag='-berok'
   15319         # Determine the default libpath from the value encoded in an
   15320         # empty executable.
   15321         if test "${lt_cv_aix_libpath+set}" = set; then
   15322   aix_libpath=$lt_cv_aix_libpath
   15323 else
   15324   if ${lt_cv_aix_libpath_+:} false; then :
   15325   $as_echo_n "(cached) " >&6
   15326 else
   15327   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15328 /* end confdefs.h.  */
   15329 
   15330 int
   15331 main ()
   15332 {
   15333 
   15334   ;
   15335   return 0;
   15336 }
   15337 _ACEOF
   15338 if ac_fn_c_try_link "$LINENO"; then :
   15339 
   15340   lt_aix_libpath_sed='
   15341       /Import File Strings/,/^$/ {
   15342 	  /^0/ {
   15343 	      s/^0  *\([^ ]*\) *$/\1/
   15344 	      p
   15345 	  }
   15346       }'
   15347   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15348   # Check for a 64-bit object if we didn't find anything.
   15349   if test -z "$lt_cv_aix_libpath_"; then
   15350     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15351   fi
   15352 fi
   15353 rm -f core conftest.err conftest.$ac_objext \
   15354     conftest$ac_exeext conftest.$ac_ext
   15355   if test -z "$lt_cv_aix_libpath_"; then
   15356     lt_cv_aix_libpath_="/usr/lib:/lib"
   15357   fi
   15358 
   15359 fi
   15360 
   15361   aix_libpath=$lt_cv_aix_libpath_
   15362 fi
   15363 
   15364         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   15365         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"
   15366       else
   15367 	if test "$host_cpu" = ia64; then
   15368 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   15369 	  allow_undefined_flag="-z nodefs"
   15370 	  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"
   15371 	else
   15372 	 # Determine the default libpath from the value encoded in an
   15373 	 # empty executable.
   15374 	 if test "${lt_cv_aix_libpath+set}" = set; then
   15375   aix_libpath=$lt_cv_aix_libpath
   15376 else
   15377   if ${lt_cv_aix_libpath_+:} false; then :
   15378   $as_echo_n "(cached) " >&6
   15379 else
   15380   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15381 /* end confdefs.h.  */
   15382 
   15383 int
   15384 main ()
   15385 {
   15386 
   15387   ;
   15388   return 0;
   15389 }
   15390 _ACEOF
   15391 if ac_fn_c_try_link "$LINENO"; then :
   15392 
   15393   lt_aix_libpath_sed='
   15394       /Import File Strings/,/^$/ {
   15395 	  /^0/ {
   15396 	      s/^0  *\([^ ]*\) *$/\1/
   15397 	      p
   15398 	  }
   15399       }'
   15400   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15401   # Check for a 64-bit object if we didn't find anything.
   15402   if test -z "$lt_cv_aix_libpath_"; then
   15403     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15404   fi
   15405 fi
   15406 rm -f core conftest.err conftest.$ac_objext \
   15407     conftest$ac_exeext conftest.$ac_ext
   15408   if test -z "$lt_cv_aix_libpath_"; then
   15409     lt_cv_aix_libpath_="/usr/lib:/lib"
   15410   fi
   15411 
   15412 fi
   15413 
   15414   aix_libpath=$lt_cv_aix_libpath_
   15415 fi
   15416 
   15417 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   15418 	  # Warning - without using the other run time loading flags,
   15419 	  # -berok will link without error, but may produce a broken library.
   15420 	  no_undefined_flag=' ${wl}-bernotok'
   15421 	  allow_undefined_flag=' ${wl}-berok'
   15422 	  if test "$with_gnu_ld" = yes; then
   15423 	    # We only use this code for GNU lds that support --whole-archive.
   15424 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   15425 	  else
   15426 	    # Exported symbols can be pulled into shared objects from archives
   15427 	    whole_archive_flag_spec='$convenience'
   15428 	  fi
   15429 	  archive_cmds_need_lc=yes
   15430 	  # This is similar to how AIX traditionally builds its shared libraries.
   15431 	  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'
   15432 	fi
   15433       fi
   15434       ;;
   15435 
   15436     amigaos*)
   15437       case $host_cpu in
   15438       powerpc)
   15439             # see comment about AmigaOS4 .so support
   15440             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15441             archive_expsym_cmds=''
   15442         ;;
   15443       m68k)
   15444             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)'
   15445             hardcode_libdir_flag_spec='-L$libdir'
   15446             hardcode_minus_L=yes
   15447         ;;
   15448       esac
   15449       ;;
   15450 
   15451     bsdi[45]*)
   15452       export_dynamic_flag_spec=-rdynamic
   15453       ;;
   15454 
   15455     cygwin* | mingw* | pw32* | cegcc*)
   15456       # When not using gcc, we currently assume that we are using
   15457       # Microsoft Visual C++.
   15458       # hardcode_libdir_flag_spec is actually meaningless, as there is
   15459       # no search path for DLLs.
   15460       case $cc_basename in
   15461       cl*)
   15462 	# Native MSVC
   15463 	hardcode_libdir_flag_spec=' '
   15464 	allow_undefined_flag=unsupported
   15465 	always_export_symbols=yes
   15466 	file_list_spec='@'
   15467 	# Tell ltmain to make .lib files, not .a files.
   15468 	libext=lib
   15469 	# Tell ltmain to make .dll files, not .so files.
   15470 	shrext_cmds=".dll"
   15471 	# FIXME: Setting linknames here is a bad hack.
   15472 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
   15473 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   15474 	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
   15475 	  else
   15476 	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
   15477 	  fi~
   15478 	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   15479 	  linknames='
   15480 	# The linker will not automatically build a static lib if we build a DLL.
   15481 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   15482 	enable_shared_with_static_runtimes=yes
   15483 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   15484 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   15485 	# Don't use ranlib
   15486 	old_postinstall_cmds='chmod 644 $oldlib'
   15487 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   15488 	  lt_tool_outputfile="@TOOL_OUTPUT@"~
   15489 	  case $lt_outputfile in
   15490 	    *.exe|*.EXE) ;;
   15491 	    *)
   15492 	      lt_outputfile="$lt_outputfile.exe"
   15493 	      lt_tool_outputfile="$lt_tool_outputfile.exe"
   15494 	      ;;
   15495 	  esac~
   15496 	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
   15497 	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   15498 	    $RM "$lt_outputfile.manifest";
   15499 	  fi'
   15500 	;;
   15501       *)
   15502 	# Assume MSVC wrapper
   15503 	hardcode_libdir_flag_spec=' '
   15504 	allow_undefined_flag=unsupported
   15505 	# Tell ltmain to make .lib files, not .a files.
   15506 	libext=lib
   15507 	# Tell ltmain to make .dll files, not .so files.
   15508 	shrext_cmds=".dll"
   15509 	# FIXME: Setting linknames here is a bad hack.
   15510 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   15511 	# The linker will automatically build a .lib file if we build a DLL.
   15512 	old_archive_from_new_cmds='true'
   15513 	# FIXME: Should let the user specify the lib program.
   15514 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   15515 	enable_shared_with_static_runtimes=yes
   15516 	;;
   15517       esac
   15518       ;;
   15519 
   15520     darwin* | rhapsody*)
   15521 
   15522 
   15523   archive_cmds_need_lc=no
   15524   hardcode_direct=no
   15525   hardcode_automatic=yes
   15526   hardcode_shlibpath_var=unsupported
   15527   if test "$lt_cv_ld_force_load" = "yes"; then
   15528     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\"`'
   15529 
   15530   else
   15531     whole_archive_flag_spec=''
   15532   fi
   15533   link_all_deplibs=yes
   15534   allow_undefined_flag="$_lt_dar_allow_undefined"
   15535   case $cc_basename in
   15536      ifort*) _lt_dar_can_shared=yes ;;
   15537      *) _lt_dar_can_shared=$GCC ;;
   15538   esac
   15539   if test "$_lt_dar_can_shared" = "yes"; then
   15540     output_verbose_link_cmd=func_echo_all
   15541     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   15542     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   15543     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}"
   15544     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}"
   15545 
   15546   else
   15547   ld_shlibs=no
   15548   fi
   15549 
   15550       ;;
   15551 
   15552     dgux*)
   15553       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15554       hardcode_libdir_flag_spec='-L$libdir'
   15555       hardcode_shlibpath_var=no
   15556       ;;
   15557 
   15558     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   15559     # support.  Future versions do this automatically, but an explicit c++rt0.o
   15560     # does not break anything, and helps significantly (at the cost of a little
   15561     # extra space).
   15562     freebsd2.2*)
   15563       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   15564       hardcode_libdir_flag_spec='-R$libdir'
   15565       hardcode_direct=yes
   15566       hardcode_shlibpath_var=no
   15567       ;;
   15568 
   15569     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   15570     freebsd2.*)
   15571       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15572       hardcode_direct=yes
   15573       hardcode_minus_L=yes
   15574       hardcode_shlibpath_var=no
   15575       ;;
   15576 
   15577     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   15578     freebsd* | dragonfly*)
   15579       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15580       hardcode_libdir_flag_spec='-R$libdir'
   15581       hardcode_direct=yes
   15582       hardcode_shlibpath_var=no
   15583       ;;
   15584 
   15585     hpux9*)
   15586       if test "$GCC" = yes; then
   15587 	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'
   15588       else
   15589 	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'
   15590       fi
   15591       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   15592       hardcode_libdir_separator=:
   15593       hardcode_direct=yes
   15594 
   15595       # hardcode_minus_L: Not really in the search PATH,
   15596       # but as the default location of the library.
   15597       hardcode_minus_L=yes
   15598       export_dynamic_flag_spec='${wl}-E'
   15599       ;;
   15600 
   15601     hpux10*)
   15602       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   15603 	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15604       else
   15605 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   15606       fi
   15607       if test "$with_gnu_ld" = no; then
   15608 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   15609 	hardcode_libdir_separator=:
   15610 	hardcode_direct=yes
   15611 	hardcode_direct_absolute=yes
   15612 	export_dynamic_flag_spec='${wl}-E'
   15613 	# hardcode_minus_L: Not really in the search PATH,
   15614 	# but as the default location of the library.
   15615 	hardcode_minus_L=yes
   15616       fi
   15617       ;;
   15618 
   15619     hpux11*)
   15620       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   15621 	case $host_cpu in
   15622 	hppa*64*)
   15623 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15624 	  ;;
   15625 	ia64*)
   15626 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15627 	  ;;
   15628 	*)
   15629 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15630 	  ;;
   15631 	esac
   15632       else
   15633 	case $host_cpu in
   15634 	hppa*64*)
   15635 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15636 	  ;;
   15637 	ia64*)
   15638 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15639 	  ;;
   15640 	*)
   15641 
   15642 	  # Older versions of the 11.00 compiler do not understand -b yet
   15643 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   15644 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   15645 $as_echo_n "checking if $CC understands -b... " >&6; }
   15646 if ${lt_cv_prog_compiler__b+:} false; then :
   15647   $as_echo_n "(cached) " >&6
   15648 else
   15649   lt_cv_prog_compiler__b=no
   15650    save_LDFLAGS="$LDFLAGS"
   15651    LDFLAGS="$LDFLAGS -b"
   15652    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   15653    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   15654      # The linker can only warn and ignore the option if not recognized
   15655      # So say no if there are warnings
   15656      if test -s conftest.err; then
   15657        # Append any errors to the config.log.
   15658        cat conftest.err 1>&5
   15659        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   15660        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   15661        if diff conftest.exp conftest.er2 >/dev/null; then
   15662          lt_cv_prog_compiler__b=yes
   15663        fi
   15664      else
   15665        lt_cv_prog_compiler__b=yes
   15666      fi
   15667    fi
   15668    $RM -r conftest*
   15669    LDFLAGS="$save_LDFLAGS"
   15670 
   15671 fi
   15672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   15673 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   15674 
   15675 if test x"$lt_cv_prog_compiler__b" = xyes; then
   15676     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15677 else
   15678     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   15679 fi
   15680 
   15681 	  ;;
   15682 	esac
   15683       fi
   15684       if test "$with_gnu_ld" = no; then
   15685 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   15686 	hardcode_libdir_separator=:
   15687 
   15688 	case $host_cpu in
   15689 	hppa*64*|ia64*)
   15690 	  hardcode_direct=no
   15691 	  hardcode_shlibpath_var=no
   15692 	  ;;
   15693 	*)
   15694 	  hardcode_direct=yes
   15695 	  hardcode_direct_absolute=yes
   15696 	  export_dynamic_flag_spec='${wl}-E'
   15697 
   15698 	  # hardcode_minus_L: Not really in the search PATH,
   15699 	  # but as the default location of the library.
   15700 	  hardcode_minus_L=yes
   15701 	  ;;
   15702 	esac
   15703       fi
   15704       ;;
   15705 
   15706     irix5* | irix6* | nonstopux*)
   15707       if test "$GCC" = yes; then
   15708 	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'
   15709 	# Try to use the -exported_symbol ld option, if it does not
   15710 	# work, assume that -exports_file does not work either and
   15711 	# implicitly export all symbols.
   15712 	# This should be the same for all languages, so no per-tag cache variable.
   15713 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   15714 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   15715 if ${lt_cv_irix_exported_symbol+:} false; then :
   15716   $as_echo_n "(cached) " >&6
   15717 else
   15718   save_LDFLAGS="$LDFLAGS"
   15719 	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   15720 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15721 /* end confdefs.h.  */
   15722 int foo (void) { return 0; }
   15723 _ACEOF
   15724 if ac_fn_c_try_link "$LINENO"; then :
   15725   lt_cv_irix_exported_symbol=yes
   15726 else
   15727   lt_cv_irix_exported_symbol=no
   15728 fi
   15729 rm -f core conftest.err conftest.$ac_objext \
   15730     conftest$ac_exeext conftest.$ac_ext
   15731            LDFLAGS="$save_LDFLAGS"
   15732 fi
   15733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   15734 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   15735 	if test "$lt_cv_irix_exported_symbol" = yes; then
   15736           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'
   15737 	fi
   15738       else
   15739 	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'
   15740 	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'
   15741       fi
   15742       archive_cmds_need_lc='no'
   15743       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   15744       hardcode_libdir_separator=:
   15745       inherit_rpath=yes
   15746       link_all_deplibs=yes
   15747       ;;
   15748 
   15749     netbsd*)
   15750       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   15751 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   15752       else
   15753 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   15754       fi
   15755       hardcode_libdir_flag_spec='-R$libdir'
   15756       hardcode_direct=yes
   15757       hardcode_shlibpath_var=no
   15758       ;;
   15759 
   15760     newsos6)
   15761       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15762       hardcode_direct=yes
   15763       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   15764       hardcode_libdir_separator=:
   15765       hardcode_shlibpath_var=no
   15766       ;;
   15767 
   15768     *nto* | *qnx*)
   15769       ;;
   15770 
   15771     openbsd*)
   15772       if test -f /usr/libexec/ld.so; then
   15773 	hardcode_direct=yes
   15774 	hardcode_shlibpath_var=no
   15775 	hardcode_direct_absolute=yes
   15776 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   15777 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15778 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   15779 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   15780 	  export_dynamic_flag_spec='${wl}-E'
   15781 	else
   15782 	  case $host_os in
   15783 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   15784 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15785 	     hardcode_libdir_flag_spec='-R$libdir'
   15786 	     ;;
   15787 	   *)
   15788 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15789 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   15790 	     ;;
   15791 	  esac
   15792 	fi
   15793       else
   15794 	ld_shlibs=no
   15795       fi
   15796       ;;
   15797 
   15798     os2*)
   15799       hardcode_libdir_flag_spec='-L$libdir'
   15800       hardcode_minus_L=yes
   15801       allow_undefined_flag=unsupported
   15802       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'
   15803       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   15804       ;;
   15805 
   15806     osf3*)
   15807       if test "$GCC" = yes; then
   15808 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   15809 	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'
   15810       else
   15811 	allow_undefined_flag=' -expect_unresolved \*'
   15812 	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'
   15813       fi
   15814       archive_cmds_need_lc='no'
   15815       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   15816       hardcode_libdir_separator=:
   15817       ;;
   15818 
   15819     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   15820       if test "$GCC" = yes; then
   15821 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   15822 	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'
   15823 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   15824       else
   15825 	allow_undefined_flag=' -expect_unresolved \*'
   15826 	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'
   15827 	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~
   15828 	$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'
   15829 
   15830 	# Both c and cxx compiler support -rpath directly
   15831 	hardcode_libdir_flag_spec='-rpath $libdir'
   15832       fi
   15833       archive_cmds_need_lc='no'
   15834       hardcode_libdir_separator=:
   15835       ;;
   15836 
   15837     solaris*)
   15838       no_undefined_flag=' -z defs'
   15839       if test "$GCC" = yes; then
   15840 	wlarc='${wl}'
   15841 	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15842 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   15843 	  $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'
   15844       else
   15845 	case `$CC -V 2>&1` in
   15846 	*"Compilers 5.0"*)
   15847 	  wlarc=''
   15848 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15849 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   15850 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   15851 	  ;;
   15852 	*)
   15853 	  wlarc='${wl}'
   15854 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   15855 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   15856 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   15857 	  ;;
   15858 	esac
   15859       fi
   15860       hardcode_libdir_flag_spec='-R$libdir'
   15861       hardcode_shlibpath_var=no
   15862       case $host_os in
   15863       solaris2.[0-5] | solaris2.[0-5].*) ;;
   15864       *)
   15865 	# The compiler driver will combine and reorder linker options,
   15866 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   15867 	# but is careful enough not to reorder.
   15868 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   15869 	if test "$GCC" = yes; then
   15870 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   15871 	else
   15872 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   15873 	fi
   15874 	;;
   15875       esac
   15876       link_all_deplibs=yes
   15877       ;;
   15878 
   15879     sunos4*)
   15880       if test "x$host_vendor" = xsequent; then
   15881 	# Use $CC to link under sequent, because it throws in some extra .o
   15882 	# files that make .init and .fini sections work.
   15883 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   15884       else
   15885 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   15886       fi
   15887       hardcode_libdir_flag_spec='-L$libdir'
   15888       hardcode_direct=yes
   15889       hardcode_minus_L=yes
   15890       hardcode_shlibpath_var=no
   15891       ;;
   15892 
   15893     sysv4)
   15894       case $host_vendor in
   15895 	sni)
   15896 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15897 	  hardcode_direct=yes # is this really true???
   15898 	;;
   15899 	siemens)
   15900 	  ## LD is ld it makes a PLAMLIB
   15901 	  ## CC just makes a GrossModule.
   15902 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   15903 	  reload_cmds='$CC -r -o $output$reload_objs'
   15904 	  hardcode_direct=no
   15905         ;;
   15906 	motorola)
   15907 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15908 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   15909 	;;
   15910       esac
   15911       runpath_var='LD_RUN_PATH'
   15912       hardcode_shlibpath_var=no
   15913       ;;
   15914 
   15915     sysv4.3*)
   15916       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15917       hardcode_shlibpath_var=no
   15918       export_dynamic_flag_spec='-Bexport'
   15919       ;;
   15920 
   15921     sysv4*MP*)
   15922       if test -d /usr/nec; then
   15923 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15924 	hardcode_shlibpath_var=no
   15925 	runpath_var=LD_RUN_PATH
   15926 	hardcode_runpath_var=yes
   15927 	ld_shlibs=yes
   15928       fi
   15929       ;;
   15930 
   15931     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   15932       no_undefined_flag='${wl}-z,text'
   15933       archive_cmds_need_lc=no
   15934       hardcode_shlibpath_var=no
   15935       runpath_var='LD_RUN_PATH'
   15936 
   15937       if test "$GCC" = yes; then
   15938 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15939 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15940       else
   15941 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15942 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15943       fi
   15944       ;;
   15945 
   15946     sysv5* | sco3.2v5* | sco5v6*)
   15947       # Note: We can NOT use -z defs as we might desire, because we do not
   15948       # link with -lc, and that would cause any symbols used from libc to
   15949       # always be unresolved, which means just about no library would
   15950       # ever link correctly.  If we're not using GNU ld we use -z text
   15951       # though, which does catch some bad symbols but isn't as heavy-handed
   15952       # as -z defs.
   15953       no_undefined_flag='${wl}-z,text'
   15954       allow_undefined_flag='${wl}-z,nodefs'
   15955       archive_cmds_need_lc=no
   15956       hardcode_shlibpath_var=no
   15957       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   15958       hardcode_libdir_separator=':'
   15959       link_all_deplibs=yes
   15960       export_dynamic_flag_spec='${wl}-Bexport'
   15961       runpath_var='LD_RUN_PATH'
   15962 
   15963       if test "$GCC" = yes; then
   15964 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15965 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15966       else
   15967 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15968 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15969       fi
   15970       ;;
   15971 
   15972     uts4*)
   15973       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15974       hardcode_libdir_flag_spec='-L$libdir'
   15975       hardcode_shlibpath_var=no
   15976       ;;
   15977 
   15978     *)
   15979       ld_shlibs=no
   15980       ;;
   15981     esac
   15982 
   15983     if test x$host_vendor = xsni; then
   15984       case $host in
   15985       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   15986 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   15987 	;;
   15988       esac
   15989     fi
   15990   fi
   15991 
   15992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   15993 $as_echo "$ld_shlibs" >&6; }
   15994 test "$ld_shlibs" = no && can_build_shared=no
   15995 
   15996 with_gnu_ld=$with_gnu_ld
   15997 
   15998 
   15999 
   16000 
   16001 
   16002 
   16003 
   16004 
   16005 
   16006 
   16007 
   16008 
   16009 
   16010 
   16011 
   16012 #
   16013 # Do we need to explicitly link libc?
   16014 #
   16015 case "x$archive_cmds_need_lc" in
   16016 x|xyes)
   16017   # Assume -lc should be added
   16018   archive_cmds_need_lc=yes
   16019 
   16020   if test "$enable_shared" = yes && test "$GCC" = yes; then
   16021     case $archive_cmds in
   16022     *'~'*)
   16023       # FIXME: we may have to deal with multi-command sequences.
   16024       ;;
   16025     '$CC '*)
   16026       # Test whether the compiler implicitly links with -lc since on some
   16027       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   16028       # to ld, don't add -lc before -lgcc.
   16029       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   16030 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   16031 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   16032   $as_echo_n "(cached) " >&6
   16033 else
   16034   $RM conftest*
   16035 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16036 
   16037 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   16038   (eval $ac_compile) 2>&5
   16039   ac_status=$?
   16040   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16041   test $ac_status = 0; } 2>conftest.err; then
   16042 	  soname=conftest
   16043 	  lib=conftest
   16044 	  libobjs=conftest.$ac_objext
   16045 	  deplibs=
   16046 	  wl=$lt_prog_compiler_wl
   16047 	  pic_flag=$lt_prog_compiler_pic
   16048 	  compiler_flags=-v
   16049 	  linker_flags=-v
   16050 	  verstring=
   16051 	  output_objdir=.
   16052 	  libname=conftest
   16053 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   16054 	  allow_undefined_flag=
   16055 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   16056   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   16057   ac_status=$?
   16058   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16059   test $ac_status = 0; }
   16060 	  then
   16061 	    lt_cv_archive_cmds_need_lc=no
   16062 	  else
   16063 	    lt_cv_archive_cmds_need_lc=yes
   16064 	  fi
   16065 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   16066 	else
   16067 	  cat conftest.err 1>&5
   16068 	fi
   16069 	$RM conftest*
   16070 
   16071 fi
   16072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   16073 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   16074       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   16075       ;;
   16076     esac
   16077   fi
   16078   ;;
   16079 esac
   16080 
   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   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   16233 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   16234 
   16235 if test "$GCC" = yes; then
   16236   case $host_os in
   16237     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   16238     *) lt_awk_arg="/^libraries:/" ;;
   16239   esac
   16240   case $host_os in
   16241     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   16242     *) lt_sed_strip_eq="s,=/,/,g" ;;
   16243   esac
   16244   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   16245   case $lt_search_path_spec in
   16246   *\;*)
   16247     # if the path contains ";" then we assume it to be the separator
   16248     # otherwise default to the standard path separator (i.e. ":") - it is
   16249     # assumed that no part of a normal pathname contains ";" but that should
   16250     # okay in the real world where ";" in dirpaths is itself problematic.
   16251     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   16252     ;;
   16253   *)
   16254     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   16255     ;;
   16256   esac
   16257   # Ok, now we have the path, separated by spaces, we can step through it
   16258   # and add multilib dir if necessary.
   16259   lt_tmp_lt_search_path_spec=
   16260   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   16261   for lt_sys_path in $lt_search_path_spec; do
   16262     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   16263       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   16264     else
   16265       test -d "$lt_sys_path" && \
   16266 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   16267     fi
   16268   done
   16269   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   16270 BEGIN {RS=" "; FS="/|\n";} {
   16271   lt_foo="";
   16272   lt_count=0;
   16273   for (lt_i = NF; lt_i > 0; lt_i--) {
   16274     if ($lt_i != "" && $lt_i != ".") {
   16275       if ($lt_i == "..") {
   16276         lt_count++;
   16277       } else {
   16278         if (lt_count == 0) {
   16279           lt_foo="/" $lt_i lt_foo;
   16280         } else {
   16281           lt_count--;
   16282         }
   16283       }
   16284     }
   16285   }
   16286   if (lt_foo != "") { lt_freq[lt_foo]++; }
   16287   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   16288 }'`
   16289   # AWK program above erroneously prepends '/' to C:/dos/paths
   16290   # for these hosts.
   16291   case $host_os in
   16292     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   16293       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   16294   esac
   16295   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   16296 else
   16297   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   16298 fi
   16299 library_names_spec=
   16300 libname_spec='lib$name'
   16301 soname_spec=
   16302 shrext_cmds=".so"
   16303 postinstall_cmds=
   16304 postuninstall_cmds=
   16305 finish_cmds=
   16306 finish_eval=
   16307 shlibpath_var=
   16308 shlibpath_overrides_runpath=unknown
   16309 version_type=none
   16310 dynamic_linker="$host_os ld.so"
   16311 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   16312 need_lib_prefix=unknown
   16313 hardcode_into_libs=no
   16314 
   16315 # when you set need_version to no, make sure it does not cause -set_version
   16316 # flags to be left without arguments
   16317 need_version=unknown
   16318 
   16319 case $host_os in
   16320 aix3*)
   16321   version_type=linux # correct to gnu/linux during the next big refactor
   16322   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   16323   shlibpath_var=LIBPATH
   16324 
   16325   # AIX 3 has no versioning support, so we append a major version to the name.
   16326   soname_spec='${libname}${release}${shared_ext}$major'
   16327   ;;
   16328 
   16329 aix[4-9]*)
   16330   version_type=linux # correct to gnu/linux during the next big refactor
   16331   need_lib_prefix=no
   16332   need_version=no
   16333   hardcode_into_libs=yes
   16334   if test "$host_cpu" = ia64; then
   16335     # AIX 5 supports IA64
   16336     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   16337     shlibpath_var=LD_LIBRARY_PATH
   16338   else
   16339     # With GCC up to 2.95.x, collect2 would create an import file
   16340     # for dependence libraries.  The import file would start with
   16341     # the line `#! .'.  This would cause the generated library to
   16342     # depend on `.', always an invalid library.  This was fixed in
   16343     # development snapshots of GCC prior to 3.0.
   16344     case $host_os in
   16345       aix4 | aix4.[01] | aix4.[01].*)
   16346       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   16347 	   echo ' yes '
   16348 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   16349 	:
   16350       else
   16351 	can_build_shared=no
   16352       fi
   16353       ;;
   16354     esac
   16355     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   16356     # soname into executable. Probably we can add versioning support to
   16357     # collect2, so additional links can be useful in future.
   16358     if test "$aix_use_runtimelinking" = yes; then
   16359       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   16360       # instead of lib<name>.a to let people know that these are not
   16361       # typical AIX shared libraries.
   16362       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16363     else
   16364       # We preserve .a as extension for shared libraries through AIX4.2
   16365       # and later when we are not doing run time linking.
   16366       library_names_spec='${libname}${release}.a $libname.a'
   16367       soname_spec='${libname}${release}${shared_ext}$major'
   16368     fi
   16369     shlibpath_var=LIBPATH
   16370   fi
   16371   ;;
   16372 
   16373 amigaos*)
   16374   case $host_cpu in
   16375   powerpc)
   16376     # Since July 2007 AmigaOS4 officially supports .so libraries.
   16377     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   16378     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16379     ;;
   16380   m68k)
   16381     library_names_spec='$libname.ixlibrary $libname.a'
   16382     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   16383     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'
   16384     ;;
   16385   esac
   16386   ;;
   16387 
   16388 beos*)
   16389   library_names_spec='${libname}${shared_ext}'
   16390   dynamic_linker="$host_os ld.so"
   16391   shlibpath_var=LIBRARY_PATH
   16392   ;;
   16393 
   16394 bsdi[45]*)
   16395   version_type=linux # correct to gnu/linux during the next big refactor
   16396   need_version=no
   16397   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16398   soname_spec='${libname}${release}${shared_ext}$major'
   16399   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   16400   shlibpath_var=LD_LIBRARY_PATH
   16401   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   16402   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   16403   # the default ld.so.conf also contains /usr/contrib/lib and
   16404   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   16405   # libtool to hard-code these into programs
   16406   ;;
   16407 
   16408 cygwin* | mingw* | pw32* | cegcc*)
   16409   version_type=windows
   16410   shrext_cmds=".dll"
   16411   need_version=no
   16412   need_lib_prefix=no
   16413 
   16414   case $GCC,$cc_basename in
   16415   yes,*)
   16416     # gcc
   16417     library_names_spec='$libname.dll.a'
   16418     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   16419     postinstall_cmds='base_file=`basename \${file}`~
   16420       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   16421       dldir=$destdir/`dirname \$dlpath`~
   16422       test -d \$dldir || mkdir -p \$dldir~
   16423       $install_prog $dir/$dlname \$dldir/$dlname~
   16424       chmod a+x \$dldir/$dlname~
   16425       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   16426         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   16427       fi'
   16428     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   16429       dlpath=$dir/\$dldll~
   16430        $RM \$dlpath'
   16431     shlibpath_overrides_runpath=yes
   16432 
   16433     case $host_os in
   16434     cygwin*)
   16435       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   16436       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   16437 
   16438       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   16439       ;;
   16440     mingw* | cegcc*)
   16441       # MinGW DLLs use traditional 'lib' prefix
   16442       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   16443       ;;
   16444     pw32*)
   16445       # pw32 DLLs use 'pw' prefix rather than 'lib'
   16446       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   16447       ;;
   16448     esac
   16449     dynamic_linker='Win32 ld.exe'
   16450     ;;
   16451 
   16452   *,cl*)
   16453     # Native MSVC
   16454     libname_spec='$name'
   16455     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   16456     library_names_spec='${libname}.dll.lib'
   16457 
   16458     case $build_os in
   16459     mingw*)
   16460       sys_lib_search_path_spec=
   16461       lt_save_ifs=$IFS
   16462       IFS=';'
   16463       for lt_path in $LIB
   16464       do
   16465         IFS=$lt_save_ifs
   16466         # Let DOS variable expansion print the short 8.3 style file name.
   16467         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   16468         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   16469       done
   16470       IFS=$lt_save_ifs
   16471       # Convert to MSYS style.
   16472       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   16473       ;;
   16474     cygwin*)
   16475       # Convert to unix form, then to dos form, then back to unix form
   16476       # but this time dos style (no spaces!) so that the unix form looks
   16477       # like /cygdrive/c/PROGRA~1:/cygdr...
   16478       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   16479       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   16480       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   16481       ;;
   16482     *)
   16483       sys_lib_search_path_spec="$LIB"
   16484       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   16485         # It is most probably a Windows format PATH.
   16486         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   16487       else
   16488         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   16489       fi
   16490       # FIXME: find the short name or the path components, as spaces are
   16491       # common. (e.g. "Program Files" -> "PROGRA~1")
   16492       ;;
   16493     esac
   16494 
   16495     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   16496     postinstall_cmds='base_file=`basename \${file}`~
   16497       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   16498       dldir=$destdir/`dirname \$dlpath`~
   16499       test -d \$dldir || mkdir -p \$dldir~
   16500       $install_prog $dir/$dlname \$dldir/$dlname'
   16501     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   16502       dlpath=$dir/\$dldll~
   16503        $RM \$dlpath'
   16504     shlibpath_overrides_runpath=yes
   16505     dynamic_linker='Win32 link.exe'
   16506     ;;
   16507 
   16508   *)
   16509     # Assume MSVC wrapper
   16510     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   16511     dynamic_linker='Win32 ld.exe'
   16512     ;;
   16513   esac
   16514   # FIXME: first we should search . and the directory the executable is in
   16515   shlibpath_var=PATH
   16516   ;;
   16517 
   16518 darwin* | rhapsody*)
   16519   dynamic_linker="$host_os dyld"
   16520   version_type=darwin
   16521   need_lib_prefix=no
   16522   need_version=no
   16523   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   16524   soname_spec='${libname}${release}${major}$shared_ext'
   16525   shlibpath_overrides_runpath=yes
   16526   shlibpath_var=DYLD_LIBRARY_PATH
   16527   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   16528 
   16529   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   16530   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   16531   ;;
   16532 
   16533 dgux*)
   16534   version_type=linux # correct to gnu/linux during the next big refactor
   16535   need_lib_prefix=no
   16536   need_version=no
   16537   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   16538   soname_spec='${libname}${release}${shared_ext}$major'
   16539   shlibpath_var=LD_LIBRARY_PATH
   16540   ;;
   16541 
   16542 freebsd* | dragonfly*)
   16543   # DragonFly does not have aout.  When/if they implement a new
   16544   # versioning mechanism, adjust this.
   16545   if test -x /usr/bin/objformat; then
   16546     objformat=`/usr/bin/objformat`
   16547   else
   16548     case $host_os in
   16549     freebsd[23].*) objformat=aout ;;
   16550     *) objformat=elf ;;
   16551     esac
   16552   fi
   16553   version_type=freebsd-$objformat
   16554   case $version_type in
   16555     freebsd-elf*)
   16556       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   16557       need_version=no
   16558       need_lib_prefix=no
   16559       ;;
   16560     freebsd-*)
   16561       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   16562       need_version=yes
   16563       ;;
   16564   esac
   16565   shlibpath_var=LD_LIBRARY_PATH
   16566   case $host_os in
   16567   freebsd2.*)
   16568     shlibpath_overrides_runpath=yes
   16569     ;;
   16570   freebsd3.[01]* | freebsdelf3.[01]*)
   16571     shlibpath_overrides_runpath=yes
   16572     hardcode_into_libs=yes
   16573     ;;
   16574   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   16575   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   16576     shlibpath_overrides_runpath=no
   16577     hardcode_into_libs=yes
   16578     ;;
   16579   *) # from 4.6 on, and DragonFly
   16580     shlibpath_overrides_runpath=yes
   16581     hardcode_into_libs=yes
   16582     ;;
   16583   esac
   16584   ;;
   16585 
   16586 gnu*)
   16587   version_type=linux # correct to gnu/linux during the next big refactor
   16588   need_lib_prefix=no
   16589   need_version=no
   16590   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   16591   soname_spec='${libname}${release}${shared_ext}$major'
   16592   shlibpath_var=LD_LIBRARY_PATH
   16593   shlibpath_overrides_runpath=no
   16594   hardcode_into_libs=yes
   16595   ;;
   16596 
   16597 haiku*)
   16598   version_type=linux # correct to gnu/linux during the next big refactor
   16599   need_lib_prefix=no
   16600   need_version=no
   16601   dynamic_linker="$host_os runtime_loader"
   16602   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   16603   soname_spec='${libname}${release}${shared_ext}$major'
   16604   shlibpath_var=LIBRARY_PATH
   16605   shlibpath_overrides_runpath=yes
   16606   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   16607   hardcode_into_libs=yes
   16608   ;;
   16609 
   16610 hpux9* | hpux10* | hpux11*)
   16611   # Give a soname corresponding to the major version so that dld.sl refuses to
   16612   # link against other versions.
   16613   version_type=sunos
   16614   need_lib_prefix=no
   16615   need_version=no
   16616   case $host_cpu in
   16617   ia64*)
   16618     shrext_cmds='.so'
   16619     hardcode_into_libs=yes
   16620     dynamic_linker="$host_os dld.so"
   16621     shlibpath_var=LD_LIBRARY_PATH
   16622     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   16623     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16624     soname_spec='${libname}${release}${shared_ext}$major'
   16625     if test "X$HPUX_IA64_MODE" = X32; then
   16626       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   16627     else
   16628       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   16629     fi
   16630     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16631     ;;
   16632   hppa*64*)
   16633     shrext_cmds='.sl'
   16634     hardcode_into_libs=yes
   16635     dynamic_linker="$host_os dld.sl"
   16636     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   16637     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   16638     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16639     soname_spec='${libname}${release}${shared_ext}$major'
   16640     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   16641     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16642     ;;
   16643   *)
   16644     shrext_cmds='.sl'
   16645     dynamic_linker="$host_os dld.sl"
   16646     shlibpath_var=SHLIB_PATH
   16647     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   16648     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16649     soname_spec='${libname}${release}${shared_ext}$major'
   16650     ;;
   16651   esac
   16652   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   16653   postinstall_cmds='chmod 555 $lib'
   16654   # or fails outright, so override atomically:
   16655   install_override_mode=555
   16656   ;;
   16657 
   16658 interix[3-9]*)
   16659   version_type=linux # correct to gnu/linux during the next big refactor
   16660   need_lib_prefix=no
   16661   need_version=no
   16662   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16663   soname_spec='${libname}${release}${shared_ext}$major'
   16664   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   16665   shlibpath_var=LD_LIBRARY_PATH
   16666   shlibpath_overrides_runpath=no
   16667   hardcode_into_libs=yes
   16668   ;;
   16669 
   16670 irix5* | irix6* | nonstopux*)
   16671   case $host_os in
   16672     nonstopux*) version_type=nonstopux ;;
   16673     *)
   16674 	if test "$lt_cv_prog_gnu_ld" = yes; then
   16675 		version_type=linux # correct to gnu/linux during the next big refactor
   16676 	else
   16677 		version_type=irix
   16678 	fi ;;
   16679   esac
   16680   need_lib_prefix=no
   16681   need_version=no
   16682   soname_spec='${libname}${release}${shared_ext}$major'
   16683   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   16684   case $host_os in
   16685   irix5* | nonstopux*)
   16686     libsuff= shlibsuff=
   16687     ;;
   16688   *)
   16689     case $LD in # libtool.m4 will add one of these switches to LD
   16690     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   16691       libsuff= shlibsuff= libmagic=32-bit;;
   16692     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   16693       libsuff=32 shlibsuff=N32 libmagic=N32;;
   16694     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   16695       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   16696     *) libsuff= shlibsuff= libmagic=never-match;;
   16697     esac
   16698     ;;
   16699   esac
   16700   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   16701   shlibpath_overrides_runpath=no
   16702   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   16703   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   16704   hardcode_into_libs=yes
   16705   ;;
   16706 
   16707 # No shared lib support for Linux oldld, aout, or coff.
   16708 linux*oldld* | linux*aout* | linux*coff*)
   16709   dynamic_linker=no
   16710   ;;
   16711 
   16712 # This must be glibc/ELF.
   16713 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   16714   version_type=linux # correct to gnu/linux during the next big refactor
   16715   need_lib_prefix=no
   16716   need_version=no
   16717   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16718   soname_spec='${libname}${release}${shared_ext}$major'
   16719   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   16720   shlibpath_var=LD_LIBRARY_PATH
   16721   shlibpath_overrides_runpath=no
   16722 
   16723   # Some binutils ld are patched to set DT_RUNPATH
   16724   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   16725   $as_echo_n "(cached) " >&6
   16726 else
   16727   lt_cv_shlibpath_overrides_runpath=no
   16728     save_LDFLAGS=$LDFLAGS
   16729     save_libdir=$libdir
   16730     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   16731 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   16732     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16733 /* end confdefs.h.  */
   16734 
   16735 int
   16736 main ()
   16737 {
   16738 
   16739   ;
   16740   return 0;
   16741 }
   16742 _ACEOF
   16743 if ac_fn_c_try_link "$LINENO"; then :
   16744   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   16745   lt_cv_shlibpath_overrides_runpath=yes
   16746 fi
   16747 fi
   16748 rm -f core conftest.err conftest.$ac_objext \
   16749     conftest$ac_exeext conftest.$ac_ext
   16750     LDFLAGS=$save_LDFLAGS
   16751     libdir=$save_libdir
   16752 
   16753 fi
   16754 
   16755   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   16756 
   16757   # This implies no fast_install, which is unacceptable.
   16758   # Some rework will be needed to allow for fast_install
   16759   # before this can be enabled.
   16760   hardcode_into_libs=yes
   16761 
   16762   # Add ABI-specific directories to the system library path.
   16763   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
   16764 
   16765   # Append ld.so.conf contents to the search path
   16766   if test -f /etc/ld.so.conf; then
   16767     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' ' '`
   16768     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   16769 
   16770   fi
   16771 
   16772   # We used to test for /lib/ld.so.1 and disable shared libraries on
   16773   # powerpc, because MkLinux only supported shared libraries with the
   16774   # GNU dynamic linker.  Since this was broken with cross compilers,
   16775   # most powerpc-linux boxes support dynamic linking these days and
   16776   # people can always --disable-shared, the test was removed, and we
   16777   # assume the GNU/Linux dynamic linker is in use.
   16778   dynamic_linker='GNU/Linux ld.so'
   16779   ;;
   16780 
   16781 netbsd*)
   16782   version_type=sunos
   16783   need_lib_prefix=no
   16784   need_version=no
   16785   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   16786     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16787     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16788     dynamic_linker='NetBSD (a.out) ld.so'
   16789   else
   16790     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16791     soname_spec='${libname}${release}${shared_ext}$major'
   16792     dynamic_linker='NetBSD ld.elf_so'
   16793   fi
   16794   shlibpath_var=LD_LIBRARY_PATH
   16795   shlibpath_overrides_runpath=yes
   16796   hardcode_into_libs=yes
   16797   ;;
   16798 
   16799 newsos6)
   16800   version_type=linux # correct to gnu/linux during the next big refactor
   16801   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16802   shlibpath_var=LD_LIBRARY_PATH
   16803   shlibpath_overrides_runpath=yes
   16804   ;;
   16805 
   16806 *nto* | *qnx*)
   16807   version_type=qnx
   16808   need_lib_prefix=no
   16809   need_version=no
   16810   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16811   soname_spec='${libname}${release}${shared_ext}$major'
   16812   shlibpath_var=LD_LIBRARY_PATH
   16813   shlibpath_overrides_runpath=no
   16814   hardcode_into_libs=yes
   16815   dynamic_linker='ldqnx.so'
   16816   ;;
   16817 
   16818 openbsd*)
   16819   version_type=sunos
   16820   sys_lib_dlsearch_path_spec="/usr/lib"
   16821   need_lib_prefix=no
   16822   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   16823   case $host_os in
   16824     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   16825     *)				need_version=no  ;;
   16826   esac
   16827   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16828   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16829   shlibpath_var=LD_LIBRARY_PATH
   16830   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   16831     case $host_os in
   16832       openbsd2.[89] | openbsd2.[89].*)
   16833 	shlibpath_overrides_runpath=no
   16834 	;;
   16835       *)
   16836 	shlibpath_overrides_runpath=yes
   16837 	;;
   16838       esac
   16839   else
   16840     shlibpath_overrides_runpath=yes
   16841   fi
   16842   ;;
   16843 
   16844 os2*)
   16845   libname_spec='$name'
   16846   shrext_cmds=".dll"
   16847   need_lib_prefix=no
   16848   library_names_spec='$libname${shared_ext} $libname.a'
   16849   dynamic_linker='OS/2 ld.exe'
   16850   shlibpath_var=LIBPATH
   16851   ;;
   16852 
   16853 osf3* | osf4* | osf5*)
   16854   version_type=osf
   16855   need_lib_prefix=no
   16856   need_version=no
   16857   soname_spec='${libname}${release}${shared_ext}$major'
   16858   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16859   shlibpath_var=LD_LIBRARY_PATH
   16860   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   16861   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   16862   ;;
   16863 
   16864 rdos*)
   16865   dynamic_linker=no
   16866   ;;
   16867 
   16868 solaris*)
   16869   version_type=linux # correct to gnu/linux during the next big refactor
   16870   need_lib_prefix=no
   16871   need_version=no
   16872   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16873   soname_spec='${libname}${release}${shared_ext}$major'
   16874   shlibpath_var=LD_LIBRARY_PATH
   16875   shlibpath_overrides_runpath=yes
   16876   hardcode_into_libs=yes
   16877   # ldd complains unless libraries are executable
   16878   postinstall_cmds='chmod +x $lib'
   16879   ;;
   16880 
   16881 sunos4*)
   16882   version_type=sunos
   16883   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16884   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   16885   shlibpath_var=LD_LIBRARY_PATH
   16886   shlibpath_overrides_runpath=yes
   16887   if test "$with_gnu_ld" = yes; then
   16888     need_lib_prefix=no
   16889   fi
   16890   need_version=yes
   16891   ;;
   16892 
   16893 sysv4 | sysv4.3*)
   16894   version_type=linux # correct to gnu/linux during the next big refactor
   16895   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16896   soname_spec='${libname}${release}${shared_ext}$major'
   16897   shlibpath_var=LD_LIBRARY_PATH
   16898   case $host_vendor in
   16899     sni)
   16900       shlibpath_overrides_runpath=no
   16901       need_lib_prefix=no
   16902       runpath_var=LD_RUN_PATH
   16903       ;;
   16904     siemens)
   16905       need_lib_prefix=no
   16906       ;;
   16907     motorola)
   16908       need_lib_prefix=no
   16909       need_version=no
   16910       shlibpath_overrides_runpath=no
   16911       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   16912       ;;
   16913   esac
   16914   ;;
   16915 
   16916 sysv4*MP*)
   16917   if test -d /usr/nec ;then
   16918     version_type=linux # correct to gnu/linux during the next big refactor
   16919     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   16920     soname_spec='$libname${shared_ext}.$major'
   16921     shlibpath_var=LD_LIBRARY_PATH
   16922   fi
   16923   ;;
   16924 
   16925 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   16926   version_type=freebsd-elf
   16927   need_lib_prefix=no
   16928   need_version=no
   16929   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   16930   soname_spec='${libname}${release}${shared_ext}$major'
   16931   shlibpath_var=LD_LIBRARY_PATH
   16932   shlibpath_overrides_runpath=yes
   16933   hardcode_into_libs=yes
   16934   if test "$with_gnu_ld" = yes; then
   16935     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   16936   else
   16937     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   16938     case $host_os in
   16939       sco3.2v5*)
   16940         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   16941 	;;
   16942     esac
   16943   fi
   16944   sys_lib_dlsearch_path_spec='/usr/lib'
   16945   ;;
   16946 
   16947 tpf*)
   16948   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   16949   version_type=linux # correct to gnu/linux during the next big refactor
   16950   need_lib_prefix=no
   16951   need_version=no
   16952   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16953   shlibpath_var=LD_LIBRARY_PATH
   16954   shlibpath_overrides_runpath=no
   16955   hardcode_into_libs=yes
   16956   ;;
   16957 
   16958 uts4*)
   16959   version_type=linux # correct to gnu/linux during the next big refactor
   16960   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16961   soname_spec='${libname}${release}${shared_ext}$major'
   16962   shlibpath_var=LD_LIBRARY_PATH
   16963   ;;
   16964 
   16965 *)
   16966   dynamic_linker=no
   16967   ;;
   16968 esac
   16969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   16970 $as_echo "$dynamic_linker" >&6; }
   16971 test "$dynamic_linker" = no && can_build_shared=no
   16972 
   16973 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   16974 if test "$GCC" = yes; then
   16975   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   16976 fi
   16977 
   16978 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   16979   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   16980 fi
   16981 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   16982   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   16983 fi
   16984 
   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   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   17077 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   17078 hardcode_action=
   17079 if test -n "$hardcode_libdir_flag_spec" ||
   17080    test -n "$runpath_var" ||
   17081    test "X$hardcode_automatic" = "Xyes" ; then
   17082 
   17083   # We can hardcode non-existent directories.
   17084   if test "$hardcode_direct" != no &&
   17085      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   17086      # have to relink, otherwise we might link with an installed library
   17087      # when we should be linking with a yet-to-be-installed one
   17088      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   17089      test "$hardcode_minus_L" != no; then
   17090     # Linking always hardcodes the temporary library directory.
   17091     hardcode_action=relink
   17092   else
   17093     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   17094     hardcode_action=immediate
   17095   fi
   17096 else
   17097   # We cannot hardcode anything, or else we can only hardcode existing
   17098   # directories.
   17099   hardcode_action=unsupported
   17100 fi
   17101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   17102 $as_echo "$hardcode_action" >&6; }
   17103 
   17104 if test "$hardcode_action" = relink ||
   17105    test "$inherit_rpath" = yes; then
   17106   # Fast installation is not supported
   17107   enable_fast_install=no
   17108 elif test "$shlibpath_overrides_runpath" = yes ||
   17109      test "$enable_shared" = no; then
   17110   # Fast installation is not necessary
   17111   enable_fast_install=needless
   17112 fi
   17113 
   17114 
   17115 
   17116 
   17117 
   17118 
   17119   if test "x$enable_dlopen" != xyes; then
   17120   enable_dlopen=unknown
   17121   enable_dlopen_self=unknown
   17122   enable_dlopen_self_static=unknown
   17123 else
   17124   lt_cv_dlopen=no
   17125   lt_cv_dlopen_libs=
   17126 
   17127   case $host_os in
   17128   beos*)
   17129     lt_cv_dlopen="load_add_on"
   17130     lt_cv_dlopen_libs=
   17131     lt_cv_dlopen_self=yes
   17132     ;;
   17133 
   17134   mingw* | pw32* | cegcc*)
   17135     lt_cv_dlopen="LoadLibrary"
   17136     lt_cv_dlopen_libs=
   17137     ;;
   17138 
   17139   cygwin*)
   17140     lt_cv_dlopen="dlopen"
   17141     lt_cv_dlopen_libs=
   17142     ;;
   17143 
   17144   darwin*)
   17145   # if libdl is installed we need to link against it
   17146     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   17147 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   17148 if ${ac_cv_lib_dl_dlopen+:} false; then :
   17149   $as_echo_n "(cached) " >&6
   17150 else
   17151   ac_check_lib_save_LIBS=$LIBS
   17152 LIBS="-ldl  $LIBS"
   17153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17154 /* end confdefs.h.  */
   17155 
   17156 /* Override any GCC internal prototype to avoid an error.
   17157    Use char because int might match the return type of a GCC
   17158    builtin and then its argument prototype would still apply.  */
   17159 #ifdef __cplusplus
   17160 extern "C"
   17161 #endif
   17162 char dlopen ();
   17163 int
   17164 main ()
   17165 {
   17166 return dlopen ();
   17167   ;
   17168   return 0;
   17169 }
   17170 _ACEOF
   17171 if ac_fn_c_try_link "$LINENO"; then :
   17172   ac_cv_lib_dl_dlopen=yes
   17173 else
   17174   ac_cv_lib_dl_dlopen=no
   17175 fi
   17176 rm -f core conftest.err conftest.$ac_objext \
   17177     conftest$ac_exeext conftest.$ac_ext
   17178 LIBS=$ac_check_lib_save_LIBS
   17179 fi
   17180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   17181 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   17182 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   17183   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   17184 else
   17185 
   17186     lt_cv_dlopen="dyld"
   17187     lt_cv_dlopen_libs=
   17188     lt_cv_dlopen_self=yes
   17189 
   17190 fi
   17191 
   17192     ;;
   17193 
   17194   *)
   17195     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   17196 if test "x$ac_cv_func_shl_load" = xyes; then :
   17197   lt_cv_dlopen="shl_load"
   17198 else
   17199   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   17200 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   17201 if ${ac_cv_lib_dld_shl_load+:} false; then :
   17202   $as_echo_n "(cached) " >&6
   17203 else
   17204   ac_check_lib_save_LIBS=$LIBS
   17205 LIBS="-ldld  $LIBS"
   17206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17207 /* end confdefs.h.  */
   17208 
   17209 /* Override any GCC internal prototype to avoid an error.
   17210    Use char because int might match the return type of a GCC
   17211    builtin and then its argument prototype would still apply.  */
   17212 #ifdef __cplusplus
   17213 extern "C"
   17214 #endif
   17215 char shl_load ();
   17216 int
   17217 main ()
   17218 {
   17219 return shl_load ();
   17220   ;
   17221   return 0;
   17222 }
   17223 _ACEOF
   17224 if ac_fn_c_try_link "$LINENO"; then :
   17225   ac_cv_lib_dld_shl_load=yes
   17226 else
   17227   ac_cv_lib_dld_shl_load=no
   17228 fi
   17229 rm -f core conftest.err conftest.$ac_objext \
   17230     conftest$ac_exeext conftest.$ac_ext
   17231 LIBS=$ac_check_lib_save_LIBS
   17232 fi
   17233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   17234 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   17235 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   17236   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   17237 else
   17238   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   17239 if test "x$ac_cv_func_dlopen" = xyes; then :
   17240   lt_cv_dlopen="dlopen"
   17241 else
   17242   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   17243 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   17244 if ${ac_cv_lib_dl_dlopen+:} false; then :
   17245   $as_echo_n "(cached) " >&6
   17246 else
   17247   ac_check_lib_save_LIBS=$LIBS
   17248 LIBS="-ldl  $LIBS"
   17249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17250 /* end confdefs.h.  */
   17251 
   17252 /* Override any GCC internal prototype to avoid an error.
   17253    Use char because int might match the return type of a GCC
   17254    builtin and then its argument prototype would still apply.  */
   17255 #ifdef __cplusplus
   17256 extern "C"
   17257 #endif
   17258 char dlopen ();
   17259 int
   17260 main ()
   17261 {
   17262 return dlopen ();
   17263   ;
   17264   return 0;
   17265 }
   17266 _ACEOF
   17267 if ac_fn_c_try_link "$LINENO"; then :
   17268   ac_cv_lib_dl_dlopen=yes
   17269 else
   17270   ac_cv_lib_dl_dlopen=no
   17271 fi
   17272 rm -f core conftest.err conftest.$ac_objext \
   17273     conftest$ac_exeext conftest.$ac_ext
   17274 LIBS=$ac_check_lib_save_LIBS
   17275 fi
   17276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   17277 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   17278 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   17279   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   17280 else
   17281   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   17282 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   17283 if ${ac_cv_lib_svld_dlopen+:} false; then :
   17284   $as_echo_n "(cached) " >&6
   17285 else
   17286   ac_check_lib_save_LIBS=$LIBS
   17287 LIBS="-lsvld  $LIBS"
   17288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17289 /* end confdefs.h.  */
   17290 
   17291 /* Override any GCC internal prototype to avoid an error.
   17292    Use char because int might match the return type of a GCC
   17293    builtin and then its argument prototype would still apply.  */
   17294 #ifdef __cplusplus
   17295 extern "C"
   17296 #endif
   17297 char dlopen ();
   17298 int
   17299 main ()
   17300 {
   17301 return dlopen ();
   17302   ;
   17303   return 0;
   17304 }
   17305 _ACEOF
   17306 if ac_fn_c_try_link "$LINENO"; then :
   17307   ac_cv_lib_svld_dlopen=yes
   17308 else
   17309   ac_cv_lib_svld_dlopen=no
   17310 fi
   17311 rm -f core conftest.err conftest.$ac_objext \
   17312     conftest$ac_exeext conftest.$ac_ext
   17313 LIBS=$ac_check_lib_save_LIBS
   17314 fi
   17315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   17316 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   17317 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   17318   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   17319 else
   17320   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   17321 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   17322 if ${ac_cv_lib_dld_dld_link+:} false; then :
   17323   $as_echo_n "(cached) " >&6
   17324 else
   17325   ac_check_lib_save_LIBS=$LIBS
   17326 LIBS="-ldld  $LIBS"
   17327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17328 /* end confdefs.h.  */
   17329 
   17330 /* Override any GCC internal prototype to avoid an error.
   17331    Use char because int might match the return type of a GCC
   17332    builtin and then its argument prototype would still apply.  */
   17333 #ifdef __cplusplus
   17334 extern "C"
   17335 #endif
   17336 char dld_link ();
   17337 int
   17338 main ()
   17339 {
   17340 return dld_link ();
   17341   ;
   17342   return 0;
   17343 }
   17344 _ACEOF
   17345 if ac_fn_c_try_link "$LINENO"; then :
   17346   ac_cv_lib_dld_dld_link=yes
   17347 else
   17348   ac_cv_lib_dld_dld_link=no
   17349 fi
   17350 rm -f core conftest.err conftest.$ac_objext \
   17351     conftest$ac_exeext conftest.$ac_ext
   17352 LIBS=$ac_check_lib_save_LIBS
   17353 fi
   17354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   17355 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   17356 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   17357   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   17358 fi
   17359 
   17360 
   17361 fi
   17362 
   17363 
   17364 fi
   17365 
   17366 
   17367 fi
   17368 
   17369 
   17370 fi
   17371 
   17372 
   17373 fi
   17374 
   17375     ;;
   17376   esac
   17377 
   17378   if test "x$lt_cv_dlopen" != xno; then
   17379     enable_dlopen=yes
   17380   else
   17381     enable_dlopen=no
   17382   fi
   17383 
   17384   case $lt_cv_dlopen in
   17385   dlopen)
   17386     save_CPPFLAGS="$CPPFLAGS"
   17387     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   17388 
   17389     save_LDFLAGS="$LDFLAGS"
   17390     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   17391 
   17392     save_LIBS="$LIBS"
   17393     LIBS="$lt_cv_dlopen_libs $LIBS"
   17394 
   17395     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   17396 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   17397 if ${lt_cv_dlopen_self+:} false; then :
   17398   $as_echo_n "(cached) " >&6
   17399 else
   17400   	  if test "$cross_compiling" = yes; then :
   17401   lt_cv_dlopen_self=cross
   17402 else
   17403   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   17404   lt_status=$lt_dlunknown
   17405   cat > conftest.$ac_ext <<_LT_EOF
   17406 #line $LINENO "configure"
   17407 #include "confdefs.h"
   17408 
   17409 #if HAVE_DLFCN_H
   17410 #include <dlfcn.h>
   17411 #endif
   17412 
   17413 #include <stdio.h>
   17414 
   17415 #ifdef RTLD_GLOBAL
   17416 #  define LT_DLGLOBAL		RTLD_GLOBAL
   17417 #else
   17418 #  ifdef DL_GLOBAL
   17419 #    define LT_DLGLOBAL		DL_GLOBAL
   17420 #  else
   17421 #    define LT_DLGLOBAL		0
   17422 #  endif
   17423 #endif
   17424 
   17425 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   17426    find out it does not work in some platform. */
   17427 #ifndef LT_DLLAZY_OR_NOW
   17428 #  ifdef RTLD_LAZY
   17429 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   17430 #  else
   17431 #    ifdef DL_LAZY
   17432 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   17433 #    else
   17434 #      ifdef RTLD_NOW
   17435 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   17436 #      else
   17437 #        ifdef DL_NOW
   17438 #          define LT_DLLAZY_OR_NOW	DL_NOW
   17439 #        else
   17440 #          define LT_DLLAZY_OR_NOW	0
   17441 #        endif
   17442 #      endif
   17443 #    endif
   17444 #  endif
   17445 #endif
   17446 
   17447 /* When -fvisbility=hidden is used, assume the code has been annotated
   17448    correspondingly for the symbols needed.  */
   17449 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   17450 int fnord () __attribute__((visibility("default")));
   17451 #endif
   17452 
   17453 int fnord () { return 42; }
   17454 int main ()
   17455 {
   17456   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   17457   int status = $lt_dlunknown;
   17458 
   17459   if (self)
   17460     {
   17461       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   17462       else
   17463         {
   17464 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   17465           else puts (dlerror ());
   17466 	}
   17467       /* dlclose (self); */
   17468     }
   17469   else
   17470     puts (dlerror ());
   17471 
   17472   return status;
   17473 }
   17474 _LT_EOF
   17475   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   17476   (eval $ac_link) 2>&5
   17477   ac_status=$?
   17478   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17479   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   17480     (./conftest; exit; ) >&5 2>/dev/null
   17481     lt_status=$?
   17482     case x$lt_status in
   17483       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   17484       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   17485       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   17486     esac
   17487   else :
   17488     # compilation failed
   17489     lt_cv_dlopen_self=no
   17490   fi
   17491 fi
   17492 rm -fr conftest*
   17493 
   17494 
   17495 fi
   17496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   17497 $as_echo "$lt_cv_dlopen_self" >&6; }
   17498 
   17499     if test "x$lt_cv_dlopen_self" = xyes; then
   17500       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   17501       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   17502 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   17503 if ${lt_cv_dlopen_self_static+:} false; then :
   17504   $as_echo_n "(cached) " >&6
   17505 else
   17506   	  if test "$cross_compiling" = yes; then :
   17507   lt_cv_dlopen_self_static=cross
   17508 else
   17509   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   17510   lt_status=$lt_dlunknown
   17511   cat > conftest.$ac_ext <<_LT_EOF
   17512 #line $LINENO "configure"
   17513 #include "confdefs.h"
   17514 
   17515 #if HAVE_DLFCN_H
   17516 #include <dlfcn.h>
   17517 #endif
   17518 
   17519 #include <stdio.h>
   17520 
   17521 #ifdef RTLD_GLOBAL
   17522 #  define LT_DLGLOBAL		RTLD_GLOBAL
   17523 #else
   17524 #  ifdef DL_GLOBAL
   17525 #    define LT_DLGLOBAL		DL_GLOBAL
   17526 #  else
   17527 #    define LT_DLGLOBAL		0
   17528 #  endif
   17529 #endif
   17530 
   17531 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   17532    find out it does not work in some platform. */
   17533 #ifndef LT_DLLAZY_OR_NOW
   17534 #  ifdef RTLD_LAZY
   17535 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   17536 #  else
   17537 #    ifdef DL_LAZY
   17538 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   17539 #    else
   17540 #      ifdef RTLD_NOW
   17541 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   17542 #      else
   17543 #        ifdef DL_NOW
   17544 #          define LT_DLLAZY_OR_NOW	DL_NOW
   17545 #        else
   17546 #          define LT_DLLAZY_OR_NOW	0
   17547 #        endif
   17548 #      endif
   17549 #    endif
   17550 #  endif
   17551 #endif
   17552 
   17553 /* When -fvisbility=hidden is used, assume the code has been annotated
   17554    correspondingly for the symbols needed.  */
   17555 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   17556 int fnord () __attribute__((visibility("default")));
   17557 #endif
   17558 
   17559 int fnord () { return 42; }
   17560 int main ()
   17561 {
   17562   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   17563   int status = $lt_dlunknown;
   17564 
   17565   if (self)
   17566     {
   17567       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   17568       else
   17569         {
   17570 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   17571           else puts (dlerror ());
   17572 	}
   17573       /* dlclose (self); */
   17574     }
   17575   else
   17576     puts (dlerror ());
   17577 
   17578   return status;
   17579 }
   17580 _LT_EOF
   17581   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   17582   (eval $ac_link) 2>&5
   17583   ac_status=$?
   17584   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17585   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   17586     (./conftest; exit; ) >&5 2>/dev/null
   17587     lt_status=$?
   17588     case x$lt_status in
   17589       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   17590       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   17591       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   17592     esac
   17593   else :
   17594     # compilation failed
   17595     lt_cv_dlopen_self_static=no
   17596   fi
   17597 fi
   17598 rm -fr conftest*
   17599 
   17600 
   17601 fi
   17602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   17603 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   17604     fi
   17605 
   17606     CPPFLAGS="$save_CPPFLAGS"
   17607     LDFLAGS="$save_LDFLAGS"
   17608     LIBS="$save_LIBS"
   17609     ;;
   17610   esac
   17611 
   17612   case $lt_cv_dlopen_self in
   17613   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   17614   *) enable_dlopen_self=unknown ;;
   17615   esac
   17616 
   17617   case $lt_cv_dlopen_self_static in
   17618   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   17619   *) enable_dlopen_self_static=unknown ;;
   17620   esac
   17621 fi
   17622 
   17623 
   17624 
   17625 
   17626 
   17627 
   17628 
   17629 
   17630 
   17631 
   17632 
   17633 
   17634 
   17635 
   17636 
   17637 
   17638 
   17639 striplib=
   17640 old_striplib=
   17641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   17642 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   17643 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   17644   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   17645   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   17646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17647 $as_echo "yes" >&6; }
   17648 else
   17649 # FIXME - insert some real tests, host_os isn't really good enough
   17650   case $host_os in
   17651   darwin*)
   17652     if test -n "$STRIP" ; then
   17653       striplib="$STRIP -x"
   17654       old_striplib="$STRIP -S"
   17655       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17656 $as_echo "yes" >&6; }
   17657     else
   17658       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17659 $as_echo "no" >&6; }
   17660     fi
   17661     ;;
   17662   *)
   17663     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17664 $as_echo "no" >&6; }
   17665     ;;
   17666   esac
   17667 fi
   17668 
   17669 
   17670 
   17671 
   17672 
   17673 
   17674 
   17675 
   17676 
   17677 
   17678 
   17679 
   17680   # Report which library types will actually be built
   17681   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   17682 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   17683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   17684 $as_echo "$can_build_shared" >&6; }
   17685 
   17686   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   17687 $as_echo_n "checking whether to build shared libraries... " >&6; }
   17688   test "$can_build_shared" = "no" && enable_shared=no
   17689 
   17690   # On AIX, shared libraries and static libraries use the same namespace, and
   17691   # are all built from PIC.
   17692   case $host_os in
   17693   aix3*)
   17694     test "$enable_shared" = yes && enable_static=no
   17695     if test -n "$RANLIB"; then
   17696       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   17697       postinstall_cmds='$RANLIB $lib'
   17698     fi
   17699     ;;
   17700 
   17701   aix[4-9]*)
   17702     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   17703       test "$enable_shared" = yes && enable_static=no
   17704     fi
   17705     ;;
   17706   esac
   17707   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   17708 $as_echo "$enable_shared" >&6; }
   17709 
   17710   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   17711 $as_echo_n "checking whether to build static libraries... " >&6; }
   17712   # Make sure either enable_shared or enable_static is yes.
   17713   test "$enable_shared" = yes || enable_static=yes
   17714   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   17715 $as_echo "$enable_static" >&6; }
   17716 
   17717 
   17718 
   17719 
   17720 fi
   17721 ac_ext=c
   17722 ac_cpp='$CPP $CPPFLAGS'
   17723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   17724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   17725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   17726 
   17727 CC="$lt_save_CC"
   17728 
   17729 
   17730 
   17731 
   17732 
   17733 
   17734 
   17735 
   17736 
   17737 
   17738 
   17739 
   17740 
   17741 
   17742 
   17743         ac_config_commands="$ac_config_commands libtool"
   17744 
   17745 
   17746 
   17747 
   17748 # Only expand once:
   17749 
   17750 
   17751 
   17752 
   17753 
   17754 # Define a configure option for an alternate module directory
   17755 
   17756 # Check whether --with-xorg-module-dir was given.
   17757 if test "${with_xorg_module_dir+set}" = set; then :
   17758   withval=$with_xorg_module_dir; moduledir="$withval"
   17759 else
   17760   moduledir="$libdir/xorg/modules"
   17761 fi
   17762 
   17763 
   17764 # Store the list of server defined optional extensions in REQUIRED_MODULES
   17765 
   17766 
   17767 	SAVE_CFLAGS="$CFLAGS"
   17768 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   17769 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17770 /* end confdefs.h.  */
   17771 
   17772 #include "xorg-server.h"
   17773 #if !defined RANDR
   17774 #error RANDR not defined
   17775 #endif
   17776 
   17777 int
   17778 main ()
   17779 {
   17780 
   17781   ;
   17782   return 0;
   17783 }
   17784 _ACEOF
   17785 if ac_fn_c_try_compile "$LINENO"; then :
   17786   _EXT_CHECK=yes
   17787 else
   17788   _EXT_CHECK=no
   17789 fi
   17790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17791 	CFLAGS="$SAVE_CFLAGS"
   17792 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if RANDR is defined" >&5
   17793 $as_echo_n "checking if RANDR is defined... " >&6; }
   17794 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   17795 $as_echo "$_EXT_CHECK" >&6; }
   17796 	if test "$_EXT_CHECK" != no; then
   17797 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   17798 	fi
   17799 
   17800 
   17801 
   17802 	SAVE_CFLAGS="$CFLAGS"
   17803 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   17804 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17805 /* end confdefs.h.  */
   17806 
   17807 #include "xorg-server.h"
   17808 #if !defined RENDER
   17809 #error RENDER not defined
   17810 #endif
   17811 
   17812 int
   17813 main ()
   17814 {
   17815 
   17816   ;
   17817   return 0;
   17818 }
   17819 _ACEOF
   17820 if ac_fn_c_try_compile "$LINENO"; then :
   17821   _EXT_CHECK=yes
   17822 else
   17823   _EXT_CHECK=no
   17824 fi
   17825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17826 	CFLAGS="$SAVE_CFLAGS"
   17827 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if RENDER is defined" >&5
   17828 $as_echo_n "checking if RENDER is defined... " >&6; }
   17829 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   17830 $as_echo "$_EXT_CHECK" >&6; }
   17831 	if test "$_EXT_CHECK" != no; then
   17832 		REQUIRED_MODULES="$REQUIRED_MODULES renderproto"
   17833 	fi
   17834 
   17835 
   17836 
   17837 	SAVE_CFLAGS="$CFLAGS"
   17838 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   17839 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17840 /* end confdefs.h.  */
   17841 
   17842 #include "xorg-server.h"
   17843 #if !defined XV
   17844 #error XV not defined
   17845 #endif
   17846 
   17847 int
   17848 main ()
   17849 {
   17850 
   17851   ;
   17852   return 0;
   17853 }
   17854 _ACEOF
   17855 if ac_fn_c_try_compile "$LINENO"; then :
   17856   _EXT_CHECK=yes
   17857 else
   17858   _EXT_CHECK=no
   17859 fi
   17860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17861 	CFLAGS="$SAVE_CFLAGS"
   17862 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if XV is defined" >&5
   17863 $as_echo_n "checking if XV is defined... " >&6; }
   17864 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   17865 $as_echo "$_EXT_CHECK" >&6; }
   17866 	if test "$_EXT_CHECK" != no; then
   17867 		REQUIRED_MODULES="$REQUIRED_MODULES videoproto"
   17868 	fi
   17869 
   17870 
   17871 
   17872 	SAVE_CFLAGS="$CFLAGS"
   17873 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   17874 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17875 /* end confdefs.h.  */
   17876 
   17877 #include "xorg-server.h"
   17878 #if !defined DPMSExtension
   17879 #error DPMSExtension not defined
   17880 #endif
   17881 
   17882 int
   17883 main ()
   17884 {
   17885 
   17886   ;
   17887   return 0;
   17888 }
   17889 _ACEOF
   17890 if ac_fn_c_try_compile "$LINENO"; then :
   17891   _EXT_CHECK=yes
   17892 else
   17893   _EXT_CHECK=no
   17894 fi
   17895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17896 	CFLAGS="$SAVE_CFLAGS"
   17897 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if DPMSExtension is defined" >&5
   17898 $as_echo_n "checking if DPMSExtension is defined... " >&6; }
   17899 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   17900 $as_echo "$_EXT_CHECK" >&6; }
   17901 	if test "$_EXT_CHECK" != no; then
   17902 		REQUIRED_MODULES="$REQUIRED_MODULES xextproto"
   17903 	fi
   17904 
   17905 
   17906 # Obtain compiler/linker options for the driver dependencies
   17907 
   17908 pkg_failed=no
   17909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XORG" >&5
   17910 $as_echo_n "checking for XORG... " >&6; }
   17911 
   17912 if test -n "$XORG_CFLAGS"; then
   17913     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   17914  elif test -n "$PKG_CONFIG"; then
   17915     if test -n "$PKG_CONFIG" && \
   17916     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901 xproto fontsproto \$REQUIRED_MODULES\""; } >&5
   17917   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES") 2>&5
   17918   ac_status=$?
   17919   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17920   test $ac_status = 0; }; then
   17921   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   17922 else
   17923   pkg_failed=yes
   17924 fi
   17925  else
   17926     pkg_failed=untried
   17927 fi
   17928 if test -n "$XORG_LIBS"; then
   17929     pkg_cv_XORG_LIBS="$XORG_LIBS"
   17930  elif test -n "$PKG_CONFIG"; then
   17931     if test -n "$PKG_CONFIG" && \
   17932     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901 xproto fontsproto \$REQUIRED_MODULES\""; } >&5
   17933   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES") 2>&5
   17934   ac_status=$?
   17935   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17936   test $ac_status = 0; }; then
   17937   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   17938 else
   17939   pkg_failed=yes
   17940 fi
   17941  else
   17942     pkg_failed=untried
   17943 fi
   17944 
   17945 
   17946 
   17947 if test $pkg_failed = yes; then
   17948    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17949 $as_echo "no" >&6; }
   17950 
   17951 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   17952         _pkg_short_errors_supported=yes
   17953 else
   17954         _pkg_short_errors_supported=no
   17955 fi
   17956         if test $_pkg_short_errors_supported = yes; then
   17957 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   17958         else
   17959 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   17960         fi
   17961 	# Put the nasty error message in config.log where it belongs
   17962 	echo "$XORG_PKG_ERRORS" >&5
   17963 
   17964 	as_fn_error $? "Package requirements (xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES) were not met:
   17965 
   17966 $XORG_PKG_ERRORS
   17967 
   17968 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   17969 installed software in a non-standard prefix.
   17970 
   17971 Alternatively, you may set the environment variables XORG_CFLAGS
   17972 and XORG_LIBS to avoid the need to call pkg-config.
   17973 See the pkg-config man page for more details." "$LINENO" 5
   17974 
   17975 elif test $pkg_failed = untried; then
   17976      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17977 $as_echo "no" >&6; }
   17978 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   17979 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   17980 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   17981 is in your PATH or set the PKG_CONFIG environment variable to the full
   17982 path to pkg-config.
   17983 
   17984 Alternatively, you may set the environment variables XORG_CFLAGS
   17985 and XORG_LIBS to avoid the need to call pkg-config.
   17986 See the pkg-config man page for more details.
   17987 
   17988 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   17989 See \`config.log' for more details" "$LINENO" 5; }
   17990 
   17991 else
   17992 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   17993 	XORG_LIBS=$pkg_cv_XORG_LIBS
   17994         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17995 $as_echo "yes" >&6; }
   17996 
   17997 fi
   17998 
   17999 pkg_failed=no
   18000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XEXT" >&5
   18001 $as_echo_n "checking for XEXT... " >&6; }
   18002 
   18003 if test -n "$XEXT_CFLAGS"; then
   18004     pkg_cv_XEXT_CFLAGS="$XEXT_CFLAGS"
   18005  elif test -n "$PKG_CONFIG"; then
   18006     if test -n "$PKG_CONFIG" && \
   18007     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\""; } >&5
   18008   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   18009   ac_status=$?
   18010   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18011   test $ac_status = 0; }; then
   18012   pkg_cv_XEXT_CFLAGS=`$PKG_CONFIG --cflags "xextproto >= 7.0.99.1" 2>/dev/null`
   18013 else
   18014   pkg_failed=yes
   18015 fi
   18016  else
   18017     pkg_failed=untried
   18018 fi
   18019 if test -n "$XEXT_LIBS"; then
   18020     pkg_cv_XEXT_LIBS="$XEXT_LIBS"
   18021  elif test -n "$PKG_CONFIG"; then
   18022     if test -n "$PKG_CONFIG" && \
   18023     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\""; } >&5
   18024   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   18025   ac_status=$?
   18026   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18027   test $ac_status = 0; }; then
   18028   pkg_cv_XEXT_LIBS=`$PKG_CONFIG --libs "xextproto >= 7.0.99.1" 2>/dev/null`
   18029 else
   18030   pkg_failed=yes
   18031 fi
   18032  else
   18033     pkg_failed=untried
   18034 fi
   18035 
   18036 
   18037 
   18038 if test $pkg_failed = yes; then
   18039    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18040 $as_echo "no" >&6; }
   18041 
   18042 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18043         _pkg_short_errors_supported=yes
   18044 else
   18045         _pkg_short_errors_supported=no
   18046 fi
   18047         if test $_pkg_short_errors_supported = yes; then
   18048 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xextproto >= 7.0.99.1" 2>&1`
   18049         else
   18050 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors "xextproto >= 7.0.99.1" 2>&1`
   18051         fi
   18052 	# Put the nasty error message in config.log where it belongs
   18053 	echo "$XEXT_PKG_ERRORS" >&5
   18054 
   18055 	HAVE_XEXTPROTO_71="no"
   18056 elif test $pkg_failed = untried; then
   18057      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18058 $as_echo "no" >&6; }
   18059 	HAVE_XEXTPROTO_71="no"
   18060 else
   18061 	XEXT_CFLAGS=$pkg_cv_XEXT_CFLAGS
   18062 	XEXT_LIBS=$pkg_cv_XEXT_LIBS
   18063         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18064 $as_echo "yes" >&6; }
   18065 	HAVE_XEXTPROTO_71="yes";
   18066 $as_echo "#define HAVE_XEXTPROTO_71 1" >>confdefs.h
   18067 
   18068 fi
   18069  if  test "$HAVE_XEXTPROTO_71" = "yes" ; then
   18070   HAVE_XEXTPROTO_71_TRUE=
   18071   HAVE_XEXTPROTO_71_FALSE='#'
   18072 else
   18073   HAVE_XEXTPROTO_71_TRUE='#'
   18074   HAVE_XEXTPROTO_71_FALSE=
   18075 fi
   18076 
   18077 
   18078 # Checks for libraries.
   18079 SAVE_CPPFLAGS="$CPPFLAGS"
   18080 CPPFLAGS="$CPPFLAGS $XORG_CFLAGS"
   18081 ac_fn_c_check_decl "$LINENO" "XSERVER_LIBPCIACCESS" "ac_cv_have_decl_XSERVER_LIBPCIACCESS" "#include \"xorg-server.h\"
   18082 "
   18083 if test "x$ac_cv_have_decl_XSERVER_LIBPCIACCESS" = xyes; then :
   18084   XSERVER_LIBPCIACCESS=yes
   18085 else
   18086   XSERVER_LIBPCIACCESS=no
   18087 fi
   18088 
   18089 CPPFLAGS="$SAVE_CPPFLAGS"
   18090 
   18091 
   18092 if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   18093 
   18094 pkg_failed=no
   18095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PCIACCESS" >&5
   18096 $as_echo_n "checking for PCIACCESS... " >&6; }
   18097 
   18098 if test -n "$PCIACCESS_CFLAGS"; then
   18099     pkg_cv_PCIACCESS_CFLAGS="$PCIACCESS_CFLAGS"
   18100  elif test -n "$PKG_CONFIG"; then
   18101     if test -n "$PKG_CONFIG" && \
   18102     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\""; } >&5
   18103   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   18104   ac_status=$?
   18105   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18106   test $ac_status = 0; }; then
   18107   pkg_cv_PCIACCESS_CFLAGS=`$PKG_CONFIG --cflags "pciaccess >= 0.8.0" 2>/dev/null`
   18108 else
   18109   pkg_failed=yes
   18110 fi
   18111  else
   18112     pkg_failed=untried
   18113 fi
   18114 if test -n "$PCIACCESS_LIBS"; then
   18115     pkg_cv_PCIACCESS_LIBS="$PCIACCESS_LIBS"
   18116  elif test -n "$PKG_CONFIG"; then
   18117     if test -n "$PKG_CONFIG" && \
   18118     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\""; } >&5
   18119   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   18120   ac_status=$?
   18121   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18122   test $ac_status = 0; }; then
   18123   pkg_cv_PCIACCESS_LIBS=`$PKG_CONFIG --libs "pciaccess >= 0.8.0" 2>/dev/null`
   18124 else
   18125   pkg_failed=yes
   18126 fi
   18127  else
   18128     pkg_failed=untried
   18129 fi
   18130 
   18131 
   18132 
   18133 if test $pkg_failed = yes; then
   18134    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18135 $as_echo "no" >&6; }
   18136 
   18137 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18138         _pkg_short_errors_supported=yes
   18139 else
   18140         _pkg_short_errors_supported=no
   18141 fi
   18142         if test $_pkg_short_errors_supported = yes; then
   18143 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pciaccess >= 0.8.0" 2>&1`
   18144         else
   18145 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --print-errors "pciaccess >= 0.8.0" 2>&1`
   18146         fi
   18147 	# Put the nasty error message in config.log where it belongs
   18148 	echo "$PCIACCESS_PKG_ERRORS" >&5
   18149 
   18150 	as_fn_error $? "Package requirements (pciaccess >= 0.8.0) were not met:
   18151 
   18152 $PCIACCESS_PKG_ERRORS
   18153 
   18154 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18155 installed software in a non-standard prefix.
   18156 
   18157 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   18158 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   18159 See the pkg-config man page for more details." "$LINENO" 5
   18160 
   18161 elif test $pkg_failed = untried; then
   18162      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18163 $as_echo "no" >&6; }
   18164 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18165 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18166 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18167 is in your PATH or set the PKG_CONFIG environment variable to the full
   18168 path to pkg-config.
   18169 
   18170 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   18171 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   18172 See the pkg-config man page for more details.
   18173 
   18174 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18175 See \`config.log' for more details" "$LINENO" 5; }
   18176 
   18177 else
   18178 	PCIACCESS_CFLAGS=$pkg_cv_PCIACCESS_CFLAGS
   18179 	PCIACCESS_LIBS=$pkg_cv_PCIACCESS_LIBS
   18180         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18181 $as_echo "yes" >&6; }
   18182 
   18183 fi
   18184     XORG_CFLAGS="$XORG_CFLAGS $PCIACCESS_CFLAGS"
   18185 fi
   18186  if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   18187   XSERVER_LIBPCIACCESS_TRUE=
   18188   XSERVER_LIBPCIACCESS_FALSE='#'
   18189 else
   18190   XSERVER_LIBPCIACCESS_TRUE='#'
   18191   XSERVER_LIBPCIACCESS_FALSE=
   18192 fi
   18193 
   18194 
   18195 # Check whether --enable-xaa was given.
   18196 if test "${enable_xaa+set}" = set; then :
   18197   enableval=$enable_xaa; XAA="$enableval"
   18198 else
   18199   XAA=auto
   18200 fi
   18201 
   18202 if test "x$XAA" != xno; then
   18203         save_CFLAGS=$CFLAGS
   18204         save_CPPFLAGS=$CPPFLAGS
   18205         CFLAGS=$XORG_CFLAGS
   18206         CPPFLAGS="$XORG_CFLAGS"
   18207         for ac_header in xaa.h
   18208 do :
   18209   ac_fn_c_check_header_mongrel "$LINENO" "xaa.h" "ac_cv_header_xaa_h" "$ac_includes_default"
   18210 if test "x$ac_cv_header_xaa_h" = xyes; then :
   18211   cat >>confdefs.h <<_ACEOF
   18212 #define HAVE_XAA_H 1
   18213 _ACEOF
   18214  XAA=yes
   18215 else
   18216   XAA=no
   18217 fi
   18218 
   18219 done
   18220 
   18221         CFLAGS=$save_CFLAGS
   18222         CPPFLAGS=$save_CPPFLAGS
   18223 fi
   18224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include XAA support" >&5
   18225 $as_echo_n "checking whether to include XAA support... " >&6; }
   18226  if test "x$XAA" = xyes; then
   18227   XAA_TRUE=
   18228   XAA_FALSE='#'
   18229 else
   18230   XAA_TRUE='#'
   18231   XAA_FALSE=
   18232 fi
   18233 
   18234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XAA" >&5
   18235 $as_echo "$XAA" >&6; }
   18236 
   18237 
   18238 
   18239 DRIVER_NAME=s3virge
   18240 
   18241 
   18242 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile"
   18243 
   18244 cat >confcache <<\_ACEOF
   18245 # This file is a shell script that caches the results of configure
   18246 # tests run on this system so they can be shared between configure
   18247 # scripts and configure runs, see configure's option --config-cache.
   18248 # It is not useful on other systems.  If it contains results you don't
   18249 # want to keep, you may remove or edit it.
   18250 #
   18251 # config.status only pays attention to the cache file if you give it
   18252 # the --recheck option to rerun configure.
   18253 #
   18254 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   18255 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   18256 # following values.
   18257 
   18258 _ACEOF
   18259 
   18260 # The following way of writing the cache mishandles newlines in values,
   18261 # but we know of no workaround that is simple, portable, and efficient.
   18262 # So, we kill variables containing newlines.
   18263 # Ultrix sh set writes to stderr and can't be redirected directly,
   18264 # and sets the high bit in the cache file unless we assign to the vars.
   18265 (
   18266   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   18267     eval ac_val=\$$ac_var
   18268     case $ac_val in #(
   18269     *${as_nl}*)
   18270       case $ac_var in #(
   18271       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   18272 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   18273       esac
   18274       case $ac_var in #(
   18275       _ | IFS | as_nl) ;; #(
   18276       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   18277       *) { eval $ac_var=; unset $ac_var;} ;;
   18278       esac ;;
   18279     esac
   18280   done
   18281 
   18282   (set) 2>&1 |
   18283     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   18284     *${as_nl}ac_space=\ *)
   18285       # `set' does not quote correctly, so add quotes: double-quote
   18286       # substitution turns \\\\ into \\, and sed turns \\ into \.
   18287       sed -n \
   18288 	"s/'/'\\\\''/g;
   18289 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   18290       ;; #(
   18291     *)
   18292       # `set' quotes correctly as required by POSIX, so do not add quotes.
   18293       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   18294       ;;
   18295     esac |
   18296     sort
   18297 ) |
   18298   sed '
   18299      /^ac_cv_env_/b end
   18300      t clear
   18301      :clear
   18302      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   18303      t end
   18304      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   18305      :end' >>confcache
   18306 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   18307   if test -w "$cache_file"; then
   18308     if test "x$cache_file" != "x/dev/null"; then
   18309       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   18310 $as_echo "$as_me: updating cache $cache_file" >&6;}
   18311       if test ! -f "$cache_file" || test -h "$cache_file"; then
   18312 	cat confcache >"$cache_file"
   18313       else
   18314         case $cache_file in #(
   18315         */* | ?:*)
   18316 	  mv -f confcache "$cache_file"$$ &&
   18317 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   18318         *)
   18319 	  mv -f confcache "$cache_file" ;;
   18320 	esac
   18321       fi
   18322     fi
   18323   else
   18324     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   18325 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   18326   fi
   18327 fi
   18328 rm -f confcache
   18329 
   18330 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   18331 # Let make expand exec_prefix.
   18332 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   18333 
   18334 DEFS=-DHAVE_CONFIG_H
   18335 
   18336 ac_libobjs=
   18337 ac_ltlibobjs=
   18338 U=
   18339 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   18340   # 1. Remove the extension, and $U if already installed.
   18341   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   18342   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   18343   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   18344   #    will be set to the directory where LIBOBJS objects are built.
   18345   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   18346   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   18347 done
   18348 LIBOBJS=$ac_libobjs
   18349 
   18350 LTLIBOBJS=$ac_ltlibobjs
   18351 
   18352 
   18353  if test -n "$EXEEXT"; then
   18354   am__EXEEXT_TRUE=
   18355   am__EXEEXT_FALSE='#'
   18356 else
   18357   am__EXEEXT_TRUE='#'
   18358   am__EXEEXT_FALSE=
   18359 fi
   18360 
   18361 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   18362   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   18363 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18364 fi
   18365 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   18366   as_fn_error $? "conditional \"AMDEP\" was never defined.
   18367 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18368 fi
   18369 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   18370   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   18371 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18372 fi
   18373 if test -z "${HAVE_XEXTPROTO_71_TRUE}" && test -z "${HAVE_XEXTPROTO_71_FALSE}"; then
   18374   as_fn_error $? "conditional \"HAVE_XEXTPROTO_71\" was never defined.
   18375 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18376 fi
   18377 if test -z "${XSERVER_LIBPCIACCESS_TRUE}" && test -z "${XSERVER_LIBPCIACCESS_FALSE}"; then
   18378   as_fn_error $? "conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   18379 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18380 fi
   18381 if test -z "${XAA_TRUE}" && test -z "${XAA_FALSE}"; then
   18382   as_fn_error $? "conditional \"XAA\" was never defined.
   18383 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18384 fi
   18385 
   18386 : "${CONFIG_STATUS=./config.status}"
   18387 ac_write_fail=0
   18388 ac_clean_files_save=$ac_clean_files
   18389 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   18390 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   18391 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   18392 as_write_fail=0
   18393 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   18394 #! $SHELL
   18395 # Generated by $as_me.
   18396 # Run this file to recreate the current configuration.
   18397 # Compiler output produced by configure, useful for debugging
   18398 # configure, is in config.log if it exists.
   18399 
   18400 debug=false
   18401 ac_cs_recheck=false
   18402 ac_cs_silent=false
   18403 
   18404 SHELL=\${CONFIG_SHELL-$SHELL}
   18405 export SHELL
   18406 _ASEOF
   18407 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   18408 ## -------------------- ##
   18409 ## M4sh Initialization. ##
   18410 ## -------------------- ##
   18411 
   18412 # Be more Bourne compatible
   18413 DUALCASE=1; export DUALCASE # for MKS sh
   18414 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   18415   emulate sh
   18416   NULLCMD=:
   18417   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   18418   # is contrary to our usage.  Disable this feature.
   18419   alias -g '${1+"$@"}'='"$@"'
   18420   setopt NO_GLOB_SUBST
   18421 else
   18422   case `(set -o) 2>/dev/null` in #(
   18423   *posix*) :
   18424     set -o posix ;; #(
   18425   *) :
   18426      ;;
   18427 esac
   18428 fi
   18429 
   18430 
   18431 as_nl='
   18432 '
   18433 export as_nl
   18434 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   18435 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   18436 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   18437 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   18438 # Prefer a ksh shell builtin over an external printf program on Solaris,
   18439 # but without wasting forks for bash or zsh.
   18440 if test -z "$BASH_VERSION$ZSH_VERSION" \
   18441     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   18442   as_echo='print -r --'
   18443   as_echo_n='print -rn --'
   18444 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   18445   as_echo='printf %s\n'
   18446   as_echo_n='printf %s'
   18447 else
   18448   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   18449     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   18450     as_echo_n='/usr/ucb/echo -n'
   18451   else
   18452     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   18453     as_echo_n_body='eval
   18454       arg=$1;
   18455       case $arg in #(
   18456       *"$as_nl"*)
   18457 	expr "X$arg" : "X\\(.*\\)$as_nl";
   18458 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   18459       esac;
   18460       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   18461     '
   18462     export as_echo_n_body
   18463     as_echo_n='sh -c $as_echo_n_body as_echo'
   18464   fi
   18465   export as_echo_body
   18466   as_echo='sh -c $as_echo_body as_echo'
   18467 fi
   18468 
   18469 # The user is always right.
   18470 if test "${PATH_SEPARATOR+set}" != set; then
   18471   PATH_SEPARATOR=:
   18472   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   18473     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   18474       PATH_SEPARATOR=';'
   18475   }
   18476 fi
   18477 
   18478 
   18479 # IFS
   18480 # We need space, tab and new line, in precisely that order.  Quoting is
   18481 # there to prevent editors from complaining about space-tab.
   18482 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   18483 # splitting by setting IFS to empty value.)
   18484 IFS=" ""	$as_nl"
   18485 
   18486 # Find who we are.  Look in the path if we contain no directory separator.
   18487 as_myself=
   18488 case $0 in #((
   18489   *[\\/]* ) as_myself=$0 ;;
   18490   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18491 for as_dir in $PATH
   18492 do
   18493   IFS=$as_save_IFS
   18494   test -z "$as_dir" && as_dir=.
   18495     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   18496   done
   18497 IFS=$as_save_IFS
   18498 
   18499      ;;
   18500 esac
   18501 # We did not find ourselves, most probably we were run as `sh COMMAND'
   18502 # in which case we are not to be found in the path.
   18503 if test "x$as_myself" = x; then
   18504   as_myself=$0
   18505 fi
   18506 if test ! -f "$as_myself"; then
   18507   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   18508   exit 1
   18509 fi
   18510 
   18511 # Unset variables that we do not need and which cause bugs (e.g. in
   18512 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   18513 # suppresses any "Segmentation fault" message there.  '((' could
   18514 # trigger a bug in pdksh 5.2.14.
   18515 for as_var in BASH_ENV ENV MAIL MAILPATH
   18516 do eval test x\${$as_var+set} = xset \
   18517   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   18518 done
   18519 PS1='$ '
   18520 PS2='> '
   18521 PS4='+ '
   18522 
   18523 # NLS nuisances.
   18524 LC_ALL=C
   18525 export LC_ALL
   18526 LANGUAGE=C
   18527 export LANGUAGE
   18528 
   18529 # CDPATH.
   18530 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18531 
   18532 
   18533 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   18534 # ----------------------------------------
   18535 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   18536 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   18537 # script with STATUS, using 1 if that was 0.
   18538 as_fn_error ()
   18539 {
   18540   as_status=$1; test $as_status -eq 0 && as_status=1
   18541   if test "$4"; then
   18542     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   18543     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   18544   fi
   18545   $as_echo "$as_me: error: $2" >&2
   18546   as_fn_exit $as_status
   18547 } # as_fn_error
   18548 
   18549 
   18550 # as_fn_set_status STATUS
   18551 # -----------------------
   18552 # Set $? to STATUS, without forking.
   18553 as_fn_set_status ()
   18554 {
   18555   return $1
   18556 } # as_fn_set_status
   18557 
   18558 # as_fn_exit STATUS
   18559 # -----------------
   18560 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   18561 as_fn_exit ()
   18562 {
   18563   set +e
   18564   as_fn_set_status $1
   18565   exit $1
   18566 } # as_fn_exit
   18567 
   18568 # as_fn_unset VAR
   18569 # ---------------
   18570 # Portably unset VAR.
   18571 as_fn_unset ()
   18572 {
   18573   { eval $1=; unset $1;}
   18574 }
   18575 as_unset=as_fn_unset
   18576 # as_fn_append VAR VALUE
   18577 # ----------------------
   18578 # Append the text in VALUE to the end of the definition contained in VAR. Take
   18579 # advantage of any shell optimizations that allow amortized linear growth over
   18580 # repeated appends, instead of the typical quadratic growth present in naive
   18581 # implementations.
   18582 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   18583   eval 'as_fn_append ()
   18584   {
   18585     eval $1+=\$2
   18586   }'
   18587 else
   18588   as_fn_append ()
   18589   {
   18590     eval $1=\$$1\$2
   18591   }
   18592 fi # as_fn_append
   18593 
   18594 # as_fn_arith ARG...
   18595 # ------------------
   18596 # Perform arithmetic evaluation on the ARGs, and store the result in the
   18597 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   18598 # must be portable across $(()) and expr.
   18599 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   18600   eval 'as_fn_arith ()
   18601   {
   18602     as_val=$(( $* ))
   18603   }'
   18604 else
   18605   as_fn_arith ()
   18606   {
   18607     as_val=`expr "$@" || test $? -eq 1`
   18608   }
   18609 fi # as_fn_arith
   18610 
   18611 
   18612 if expr a : '\(a\)' >/dev/null 2>&1 &&
   18613    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   18614   as_expr=expr
   18615 else
   18616   as_expr=false
   18617 fi
   18618 
   18619 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   18620   as_basename=basename
   18621 else
   18622   as_basename=false
   18623 fi
   18624 
   18625 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   18626   as_dirname=dirname
   18627 else
   18628   as_dirname=false
   18629 fi
   18630 
   18631 as_me=`$as_basename -- "$0" ||
   18632 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   18633 	 X"$0" : 'X\(//\)$' \| \
   18634 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   18635 $as_echo X/"$0" |
   18636     sed '/^.*\/\([^/][^/]*\)\/*$/{
   18637 	    s//\1/
   18638 	    q
   18639 	  }
   18640 	  /^X\/\(\/\/\)$/{
   18641 	    s//\1/
   18642 	    q
   18643 	  }
   18644 	  /^X\/\(\/\).*/{
   18645 	    s//\1/
   18646 	    q
   18647 	  }
   18648 	  s/.*/./; q'`
   18649 
   18650 # Avoid depending upon Character Ranges.
   18651 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   18652 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   18653 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   18654 as_cr_digits='0123456789'
   18655 as_cr_alnum=$as_cr_Letters$as_cr_digits
   18656 
   18657 ECHO_C= ECHO_N= ECHO_T=
   18658 case `echo -n x` in #(((((
   18659 -n*)
   18660   case `echo 'xy\c'` in
   18661   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   18662   xy)  ECHO_C='\c';;
   18663   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   18664        ECHO_T='	';;
   18665   esac;;
   18666 *)
   18667   ECHO_N='-n';;
   18668 esac
   18669 
   18670 rm -f conf$$ conf$$.exe conf$$.file
   18671 if test -d conf$$.dir; then
   18672   rm -f conf$$.dir/conf$$.file
   18673 else
   18674   rm -f conf$$.dir
   18675   mkdir conf$$.dir 2>/dev/null
   18676 fi
   18677 if (echo >conf$$.file) 2>/dev/null; then
   18678   if ln -s conf$$.file conf$$ 2>/dev/null; then
   18679     as_ln_s='ln -s'
   18680     # ... but there are two gotchas:
   18681     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   18682     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   18683     # In both cases, we have to default to `cp -p'.
   18684     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   18685       as_ln_s='cp -p'
   18686   elif ln conf$$.file conf$$ 2>/dev/null; then
   18687     as_ln_s=ln
   18688   else
   18689     as_ln_s='cp -p'
   18690   fi
   18691 else
   18692   as_ln_s='cp -p'
   18693 fi
   18694 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   18695 rmdir conf$$.dir 2>/dev/null
   18696 
   18697 
   18698 # as_fn_mkdir_p
   18699 # -------------
   18700 # Create "$as_dir" as a directory, including parents if necessary.
   18701 as_fn_mkdir_p ()
   18702 {
   18703 
   18704   case $as_dir in #(
   18705   -*) as_dir=./$as_dir;;
   18706   esac
   18707   test -d "$as_dir" || eval $as_mkdir_p || {
   18708     as_dirs=
   18709     while :; do
   18710       case $as_dir in #(
   18711       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   18712       *) as_qdir=$as_dir;;
   18713       esac
   18714       as_dirs="'$as_qdir' $as_dirs"
   18715       as_dir=`$as_dirname -- "$as_dir" ||
   18716 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18717 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   18718 	 X"$as_dir" : 'X\(//\)$' \| \
   18719 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   18720 $as_echo X"$as_dir" |
   18721     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18722 	    s//\1/
   18723 	    q
   18724 	  }
   18725 	  /^X\(\/\/\)[^/].*/{
   18726 	    s//\1/
   18727 	    q
   18728 	  }
   18729 	  /^X\(\/\/\)$/{
   18730 	    s//\1/
   18731 	    q
   18732 	  }
   18733 	  /^X\(\/\).*/{
   18734 	    s//\1/
   18735 	    q
   18736 	  }
   18737 	  s/.*/./; q'`
   18738       test -d "$as_dir" && break
   18739     done
   18740     test -z "$as_dirs" || eval "mkdir $as_dirs"
   18741   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   18742 
   18743 
   18744 } # as_fn_mkdir_p
   18745 if mkdir -p . 2>/dev/null; then
   18746   as_mkdir_p='mkdir -p "$as_dir"'
   18747 else
   18748   test -d ./-p && rmdir ./-p
   18749   as_mkdir_p=false
   18750 fi
   18751 
   18752 if test -x / >/dev/null 2>&1; then
   18753   as_test_x='test -x'
   18754 else
   18755   if ls -dL / >/dev/null 2>&1; then
   18756     as_ls_L_option=L
   18757   else
   18758     as_ls_L_option=
   18759   fi
   18760   as_test_x='
   18761     eval sh -c '\''
   18762       if test -d "$1"; then
   18763 	test -d "$1/.";
   18764       else
   18765 	case $1 in #(
   18766 	-*)set "./$1";;
   18767 	esac;
   18768 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   18769 	???[sx]*):;;*)false;;esac;fi
   18770     '\'' sh
   18771   '
   18772 fi
   18773 as_executable_p=$as_test_x
   18774 
   18775 # Sed expression to map a string onto a valid CPP name.
   18776 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   18777 
   18778 # Sed expression to map a string onto a valid variable name.
   18779 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   18780 
   18781 
   18782 exec 6>&1
   18783 ## ----------------------------------- ##
   18784 ## Main body of $CONFIG_STATUS script. ##
   18785 ## ----------------------------------- ##
   18786 _ASEOF
   18787 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   18788 
   18789 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18790 # Save the log message, to keep $0 and so on meaningful, and to
   18791 # report actual input values of CONFIG_FILES etc. instead of their
   18792 # values after options handling.
   18793 ac_log="
   18794 This file was extended by xf86-video-s3virge $as_me 1.10.6, which was
   18795 generated by GNU Autoconf 2.68.  Invocation command line was
   18796 
   18797   CONFIG_FILES    = $CONFIG_FILES
   18798   CONFIG_HEADERS  = $CONFIG_HEADERS
   18799   CONFIG_LINKS    = $CONFIG_LINKS
   18800   CONFIG_COMMANDS = $CONFIG_COMMANDS
   18801   $ $0 $@
   18802 
   18803 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   18804 "
   18805 
   18806 _ACEOF
   18807 
   18808 case $ac_config_files in *"
   18809 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   18810 esac
   18811 
   18812 case $ac_config_headers in *"
   18813 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   18814 esac
   18815 
   18816 
   18817 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18818 # Files that config.status was made for.
   18819 config_files="$ac_config_files"
   18820 config_headers="$ac_config_headers"
   18821 config_commands="$ac_config_commands"
   18822 
   18823 _ACEOF
   18824 
   18825 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18826 ac_cs_usage="\
   18827 \`$as_me' instantiates files and other configuration actions
   18828 from templates according to the current configuration.  Unless the files
   18829 and actions are specified as TAGs, all are instantiated by default.
   18830 
   18831 Usage: $0 [OPTION]... [TAG]...
   18832 
   18833   -h, --help       print this help, then exit
   18834   -V, --version    print version number and configuration settings, then exit
   18835       --config     print configuration, then exit
   18836   -q, --quiet, --silent
   18837                    do not print progress messages
   18838   -d, --debug      don't remove temporary files
   18839       --recheck    update $as_me by reconfiguring in the same conditions
   18840       --file=FILE[:TEMPLATE]
   18841                    instantiate the configuration file FILE
   18842       --header=FILE[:TEMPLATE]
   18843                    instantiate the configuration header FILE
   18844 
   18845 Configuration files:
   18846 $config_files
   18847 
   18848 Configuration headers:
   18849 $config_headers
   18850 
   18851 Configuration commands:
   18852 $config_commands
   18853 
   18854 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   18855 
   18856 _ACEOF
   18857 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18858 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   18859 ac_cs_version="\\
   18860 xf86-video-s3virge config.status 1.10.6
   18861 configured by $0, generated by GNU Autoconf 2.68,
   18862   with options \\"\$ac_cs_config\\"
   18863 
   18864 Copyright (C) 2010 Free Software Foundation, Inc.
   18865 This config.status script is free software; the Free Software Foundation
   18866 gives unlimited permission to copy, distribute and modify it."
   18867 
   18868 ac_pwd='$ac_pwd'
   18869 srcdir='$srcdir'
   18870 INSTALL='$INSTALL'
   18871 MKDIR_P='$MKDIR_P'
   18872 AWK='$AWK'
   18873 test -n "\$AWK" || AWK=awk
   18874 _ACEOF
   18875 
   18876 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18877 # The default lists apply if the user does not specify any file.
   18878 ac_need_defaults=:
   18879 while test $# != 0
   18880 do
   18881   case $1 in
   18882   --*=?*)
   18883     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18884     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   18885     ac_shift=:
   18886     ;;
   18887   --*=)
   18888     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18889     ac_optarg=
   18890     ac_shift=:
   18891     ;;
   18892   *)
   18893     ac_option=$1
   18894     ac_optarg=$2
   18895     ac_shift=shift
   18896     ;;
   18897   esac
   18898 
   18899   case $ac_option in
   18900   # Handling of the options.
   18901   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   18902     ac_cs_recheck=: ;;
   18903   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   18904     $as_echo "$ac_cs_version"; exit ;;
   18905   --config | --confi | --conf | --con | --co | --c )
   18906     $as_echo "$ac_cs_config"; exit ;;
   18907   --debug | --debu | --deb | --de | --d | -d )
   18908     debug=: ;;
   18909   --file | --fil | --fi | --f )
   18910     $ac_shift
   18911     case $ac_optarg in
   18912     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18913     '') as_fn_error $? "missing file argument" ;;
   18914     esac
   18915     as_fn_append CONFIG_FILES " '$ac_optarg'"
   18916     ac_need_defaults=false;;
   18917   --header | --heade | --head | --hea )
   18918     $ac_shift
   18919     case $ac_optarg in
   18920     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18921     esac
   18922     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   18923     ac_need_defaults=false;;
   18924   --he | --h)
   18925     # Conflict between --help and --header
   18926     as_fn_error $? "ambiguous option: \`$1'
   18927 Try \`$0 --help' for more information.";;
   18928   --help | --hel | -h )
   18929     $as_echo "$ac_cs_usage"; exit ;;
   18930   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   18931   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   18932     ac_cs_silent=: ;;
   18933 
   18934   # This is an error.
   18935   -*) as_fn_error $? "unrecognized option: \`$1'
   18936 Try \`$0 --help' for more information." ;;
   18937 
   18938   *) as_fn_append ac_config_targets " $1"
   18939      ac_need_defaults=false ;;
   18940 
   18941   esac
   18942   shift
   18943 done
   18944 
   18945 ac_configure_extra_args=
   18946 
   18947 if $ac_cs_silent; then
   18948   exec 6>/dev/null
   18949   ac_configure_extra_args="$ac_configure_extra_args --silent"
   18950 fi
   18951 
   18952 _ACEOF
   18953 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18954 if \$ac_cs_recheck; then
   18955   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   18956   shift
   18957   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   18958   CONFIG_SHELL='$SHELL'
   18959   export CONFIG_SHELL
   18960   exec "\$@"
   18961 fi
   18962 
   18963 _ACEOF
   18964 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18965 exec 5>>config.log
   18966 {
   18967   echo
   18968   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   18969 ## Running $as_me. ##
   18970 _ASBOX
   18971   $as_echo "$ac_log"
   18972 } >&5
   18973 
   18974 _ACEOF
   18975 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18976 #
   18977 # INIT-COMMANDS
   18978 #
   18979 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   18980 
   18981 
   18982 # The HP-UX ksh and POSIX shell print the target directory to stdout
   18983 # if CDPATH is set.
   18984 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18985 
   18986 sed_quote_subst='$sed_quote_subst'
   18987 double_quote_subst='$double_quote_subst'
   18988 delay_variable_subst='$delay_variable_subst'
   18989 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   18990 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   18991 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   18992 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   18993 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   18994 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   18995 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   18996 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   18997 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   18998 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   18999 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   19000 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   19001 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   19002 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   19003 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   19004 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   19005 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   19006 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   19007 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   19008 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   19009 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   19010 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   19011 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   19012 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   19013 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   19014 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   19015 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   19016 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   19017 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   19018 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   19019 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   19020 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   19021 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   19022 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   19023 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   19024 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   19025 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   19026 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   19027 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   19028 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   19029 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   19030 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   19031 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   19032 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   19033 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   19034 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   19035 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   19036 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   19037 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   19038 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   19039 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   19040 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   19041 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   19042 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   19043 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   19044 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   19045 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"`'
   19046 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   19047 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   19048 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   19049 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   19050 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   19051 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   19052 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   19053 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   19054 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   19055 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   19056 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   19057 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   19058 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   19059 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   19060 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   19061 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   19062 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   19063 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   19064 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   19065 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   19066 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   19067 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   19068 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   19069 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   19070 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   19071 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   19072 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   19073 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   19074 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   19075 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   19076 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   19077 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   19078 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   19079 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   19080 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   19081 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   19082 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   19083 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   19084 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   19085 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   19086 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   19087 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   19088 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   19089 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   19090 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   19091 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   19092 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   19093 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   19094 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   19095 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   19096 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   19097 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   19098 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   19099 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   19100 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   19101 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   19102 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   19103 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   19104 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   19105 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   19106 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   19107 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   19108 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   19109 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   19110 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   19111 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   19112 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   19113 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   19114 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   19115 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   19116 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   19117 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   19118 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   19119 
   19120 LTCC='$LTCC'
   19121 LTCFLAGS='$LTCFLAGS'
   19122 compiler='$compiler_DEFAULT'
   19123 
   19124 # A function that is used when there is no print builtin or printf.
   19125 func_fallback_echo ()
   19126 {
   19127   eval 'cat <<_LTECHO_EOF
   19128 \$1
   19129 _LTECHO_EOF'
   19130 }
   19131 
   19132 # Quote evaled strings.
   19133 for var in SHELL \
   19134 ECHO \
   19135 PATH_SEPARATOR \
   19136 SED \
   19137 GREP \
   19138 EGREP \
   19139 FGREP \
   19140 LD \
   19141 NM \
   19142 LN_S \
   19143 lt_SP2NL \
   19144 lt_NL2SP \
   19145 reload_flag \
   19146 OBJDUMP \
   19147 deplibs_check_method \
   19148 file_magic_cmd \
   19149 file_magic_glob \
   19150 want_nocaseglob \
   19151 DLLTOOL \
   19152 sharedlib_from_linklib_cmd \
   19153 AR \
   19154 AR_FLAGS \
   19155 archiver_list_spec \
   19156 STRIP \
   19157 RANLIB \
   19158 CC \
   19159 CFLAGS \
   19160 compiler \
   19161 lt_cv_sys_global_symbol_pipe \
   19162 lt_cv_sys_global_symbol_to_cdecl \
   19163 lt_cv_sys_global_symbol_to_c_name_address \
   19164 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   19165 nm_file_list_spec \
   19166 lt_prog_compiler_no_builtin_flag \
   19167 lt_prog_compiler_pic \
   19168 lt_prog_compiler_wl \
   19169 lt_prog_compiler_static \
   19170 lt_cv_prog_compiler_c_o \
   19171 need_locks \
   19172 MANIFEST_TOOL \
   19173 DSYMUTIL \
   19174 NMEDIT \
   19175 LIPO \
   19176 OTOOL \
   19177 OTOOL64 \
   19178 shrext_cmds \
   19179 export_dynamic_flag_spec \
   19180 whole_archive_flag_spec \
   19181 compiler_needs_object \
   19182 with_gnu_ld \
   19183 allow_undefined_flag \
   19184 no_undefined_flag \
   19185 hardcode_libdir_flag_spec \
   19186 hardcode_libdir_separator \
   19187 exclude_expsyms \
   19188 include_expsyms \
   19189 file_list_spec \
   19190 variables_saved_for_relink \
   19191 libname_spec \
   19192 library_names_spec \
   19193 soname_spec \
   19194 install_override_mode \
   19195 finish_eval \
   19196 old_striplib \
   19197 striplib; do
   19198     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   19199     *[\\\\\\\`\\"\\\$]*)
   19200       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   19201       ;;
   19202     *)
   19203       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   19204       ;;
   19205     esac
   19206 done
   19207 
   19208 # Double-quote double-evaled strings.
   19209 for var in reload_cmds \
   19210 old_postinstall_cmds \
   19211 old_postuninstall_cmds \
   19212 old_archive_cmds \
   19213 extract_expsyms_cmds \
   19214 old_archive_from_new_cmds \
   19215 old_archive_from_expsyms_cmds \
   19216 archive_cmds \
   19217 archive_expsym_cmds \
   19218 module_cmds \
   19219 module_expsym_cmds \
   19220 export_symbols_cmds \
   19221 prelink_cmds \
   19222 postlink_cmds \
   19223 postinstall_cmds \
   19224 postuninstall_cmds \
   19225 finish_cmds \
   19226 sys_lib_search_path_spec \
   19227 sys_lib_dlsearch_path_spec; do
   19228     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   19229     *[\\\\\\\`\\"\\\$]*)
   19230       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   19231       ;;
   19232     *)
   19233       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   19234       ;;
   19235     esac
   19236 done
   19237 
   19238 ac_aux_dir='$ac_aux_dir'
   19239 xsi_shell='$xsi_shell'
   19240 lt_shell_append='$lt_shell_append'
   19241 
   19242 # See if we are running on zsh, and set the options which allow our
   19243 # commands through without removal of \ escapes INIT.
   19244 if test -n "\${ZSH_VERSION+set}" ; then
   19245    setopt NO_GLOB_SUBST
   19246 fi
   19247 
   19248 
   19249     PACKAGE='$PACKAGE'
   19250     VERSION='$VERSION'
   19251     TIMESTAMP='$TIMESTAMP'
   19252     RM='$RM'
   19253     ofile='$ofile'
   19254 
   19255 
   19256 
   19257 
   19258 _ACEOF
   19259 
   19260 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19261 
   19262 # Handling of arguments.
   19263 for ac_config_target in $ac_config_targets
   19264 do
   19265   case $ac_config_target in
   19266     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   19267     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   19268     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   19269     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   19270     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   19271     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   19272 
   19273   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   19274   esac
   19275 done
   19276 
   19277 
   19278 # If the user did not use the arguments to specify the items to instantiate,
   19279 # then the envvar interface is used.  Set only those that are not.
   19280 # We use the long form for the default assignment because of an extremely
   19281 # bizarre bug on SunOS 4.1.3.
   19282 if $ac_need_defaults; then
   19283   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   19284   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   19285   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   19286 fi
   19287 
   19288 # Have a temporary directory for convenience.  Make it in the build tree
   19289 # simply because there is no reason against having it here, and in addition,
   19290 # creating and moving files from /tmp can sometimes cause problems.
   19291 # Hook for its removal unless debugging.
   19292 # Note that there is a small window in which the directory will not be cleaned:
   19293 # after its creation but before its name has been assigned to `$tmp'.
   19294 $debug ||
   19295 {
   19296   tmp= ac_tmp=
   19297   trap 'exit_status=$?
   19298   : "${ac_tmp:=$tmp}"
   19299   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   19300 ' 0
   19301   trap 'as_fn_exit 1' 1 2 13 15
   19302 }
   19303 # Create a (secure) tmp directory for tmp files.
   19304 
   19305 {
   19306   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   19307   test -d "$tmp"
   19308 }  ||
   19309 {
   19310   tmp=./conf$$-$RANDOM
   19311   (umask 077 && mkdir "$tmp")
   19312 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   19313 ac_tmp=$tmp
   19314 
   19315 # Set up the scripts for CONFIG_FILES section.
   19316 # No need to generate them if there are no CONFIG_FILES.
   19317 # This happens for instance with `./config.status config.h'.
   19318 if test -n "$CONFIG_FILES"; then
   19319 
   19320 
   19321 ac_cr=`echo X | tr X '\015'`
   19322 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   19323 # But we know of no other shell where ac_cr would be empty at this
   19324 # point, so we can use a bashism as a fallback.
   19325 if test "x$ac_cr" = x; then
   19326   eval ac_cr=\$\'\\r\'
   19327 fi
   19328 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   19329 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   19330   ac_cs_awk_cr='\\r'
   19331 else
   19332   ac_cs_awk_cr=$ac_cr
   19333 fi
   19334 
   19335 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   19336 _ACEOF
   19337 
   19338 
   19339 {
   19340   echo "cat >conf$$subs.awk <<_ACEOF" &&
   19341   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   19342   echo "_ACEOF"
   19343 } >conf$$subs.sh ||
   19344   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19345 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   19346 ac_delim='%!_!# '
   19347 for ac_last_try in false false false false false :; do
   19348   . ./conf$$subs.sh ||
   19349     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19350 
   19351   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   19352   if test $ac_delim_n = $ac_delim_num; then
   19353     break
   19354   elif $ac_last_try; then
   19355     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19356   else
   19357     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19358   fi
   19359 done
   19360 rm -f conf$$subs.sh
   19361 
   19362 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19363 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   19364 _ACEOF
   19365 sed -n '
   19366 h
   19367 s/^/S["/; s/!.*/"]=/
   19368 p
   19369 g
   19370 s/^[^!]*!//
   19371 :repl
   19372 t repl
   19373 s/'"$ac_delim"'$//
   19374 t delim
   19375 :nl
   19376 h
   19377 s/\(.\{148\}\)..*/\1/
   19378 t more1
   19379 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   19380 p
   19381 n
   19382 b repl
   19383 :more1
   19384 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19385 p
   19386 g
   19387 s/.\{148\}//
   19388 t nl
   19389 :delim
   19390 h
   19391 s/\(.\{148\}\)..*/\1/
   19392 t more2
   19393 s/["\\]/\\&/g; s/^/"/; s/$/"/
   19394 p
   19395 b
   19396 :more2
   19397 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19398 p
   19399 g
   19400 s/.\{148\}//
   19401 t delim
   19402 ' <conf$$subs.awk | sed '
   19403 /^[^""]/{
   19404   N
   19405   s/\n//
   19406 }
   19407 ' >>$CONFIG_STATUS || ac_write_fail=1
   19408 rm -f conf$$subs.awk
   19409 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19410 _ACAWK
   19411 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   19412   for (key in S) S_is_set[key] = 1
   19413   FS = ""
   19414 
   19415 }
   19416 {
   19417   line = $ 0
   19418   nfields = split(line, field, "@")
   19419   substed = 0
   19420   len = length(field[1])
   19421   for (i = 2; i < nfields; i++) {
   19422     key = field[i]
   19423     keylen = length(key)
   19424     if (S_is_set[key]) {
   19425       value = S[key]
   19426       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   19427       len += length(value) + length(field[++i])
   19428       substed = 1
   19429     } else
   19430       len += 1 + keylen
   19431   }
   19432 
   19433   print line
   19434 }
   19435 
   19436 _ACAWK
   19437 _ACEOF
   19438 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19439 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   19440   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   19441 else
   19442   cat
   19443 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   19444   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   19445 _ACEOF
   19446 
   19447 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   19448 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   19449 # trailing colons and then remove the whole line if VPATH becomes empty
   19450 # (actually we leave an empty line to preserve line numbers).
   19451 if test "x$srcdir" = x.; then
   19452   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   19453 h
   19454 s///
   19455 s/^/:/
   19456 s/[	 ]*$/:/
   19457 s/:\$(srcdir):/:/g
   19458 s/:\${srcdir}:/:/g
   19459 s/:@srcdir@:/:/g
   19460 s/^:*//
   19461 s/:*$//
   19462 x
   19463 s/\(=[	 ]*\).*/\1/
   19464 G
   19465 s/\n//
   19466 s/^[^=]*=[	 ]*$//
   19467 }'
   19468 fi
   19469 
   19470 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19471 fi # test -n "$CONFIG_FILES"
   19472 
   19473 # Set up the scripts for CONFIG_HEADERS section.
   19474 # No need to generate them if there are no CONFIG_HEADERS.
   19475 # This happens for instance with `./config.status Makefile'.
   19476 if test -n "$CONFIG_HEADERS"; then
   19477 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   19478 BEGIN {
   19479 _ACEOF
   19480 
   19481 # Transform confdefs.h into an awk script `defines.awk', embedded as
   19482 # here-document in config.status, that substitutes the proper values into
   19483 # config.h.in to produce config.h.
   19484 
   19485 # Create a delimiter string that does not exist in confdefs.h, to ease
   19486 # handling of long lines.
   19487 ac_delim='%!_!# '
   19488 for ac_last_try in false false :; do
   19489   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   19490   if test -z "$ac_tt"; then
   19491     break
   19492   elif $ac_last_try; then
   19493     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   19494   else
   19495     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19496   fi
   19497 done
   19498 
   19499 # For the awk script, D is an array of macro values keyed by name,
   19500 # likewise P contains macro parameters if any.  Preserve backslash
   19501 # newline sequences.
   19502 
   19503 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   19504 sed -n '
   19505 s/.\{148\}/&'"$ac_delim"'/g
   19506 t rset
   19507 :rset
   19508 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   19509 t def
   19510 d
   19511 :def
   19512 s/\\$//
   19513 t bsnl
   19514 s/["\\]/\\&/g
   19515 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19516 D["\1"]=" \3"/p
   19517 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   19518 d
   19519 :bsnl
   19520 s/["\\]/\\&/g
   19521 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19522 D["\1"]=" \3\\\\\\n"\\/p
   19523 t cont
   19524 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   19525 t cont
   19526 d
   19527 :cont
   19528 n
   19529 s/.\{148\}/&'"$ac_delim"'/g
   19530 t clear
   19531 :clear
   19532 s/\\$//
   19533 t bsnlc
   19534 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   19535 d
   19536 :bsnlc
   19537 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   19538 b cont
   19539 ' <confdefs.h | sed '
   19540 s/'"$ac_delim"'/"\\\
   19541 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   19542 
   19543 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19544   for (key in D) D_is_set[key] = 1
   19545   FS = ""
   19546 }
   19547 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   19548   line = \$ 0
   19549   split(line, arg, " ")
   19550   if (arg[1] == "#") {
   19551     defundef = arg[2]
   19552     mac1 = arg[3]
   19553   } else {
   19554     defundef = substr(arg[1], 2)
   19555     mac1 = arg[2]
   19556   }
   19557   split(mac1, mac2, "(") #)
   19558   macro = mac2[1]
   19559   prefix = substr(line, 1, index(line, defundef) - 1)
   19560   if (D_is_set[macro]) {
   19561     # Preserve the white space surrounding the "#".
   19562     print prefix "define", macro P[macro] D[macro]
   19563     next
   19564   } else {
   19565     # Replace #undef with comments.  This is necessary, for example,
   19566     # in the case of _POSIX_SOURCE, which is predefined and required
   19567     # on some systems where configure will not decide to define it.
   19568     if (defundef == "undef") {
   19569       print "/*", prefix defundef, macro, "*/"
   19570       next
   19571     }
   19572   }
   19573 }
   19574 { print }
   19575 _ACAWK
   19576 _ACEOF
   19577 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19578   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   19579 fi # test -n "$CONFIG_HEADERS"
   19580 
   19581 
   19582 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   19583 shift
   19584 for ac_tag
   19585 do
   19586   case $ac_tag in
   19587   :[FHLC]) ac_mode=$ac_tag; continue;;
   19588   esac
   19589   case $ac_mode$ac_tag in
   19590   :[FHL]*:*);;
   19591   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   19592   :[FH]-) ac_tag=-:-;;
   19593   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   19594   esac
   19595   ac_save_IFS=$IFS
   19596   IFS=:
   19597   set x $ac_tag
   19598   IFS=$ac_save_IFS
   19599   shift
   19600   ac_file=$1
   19601   shift
   19602 
   19603   case $ac_mode in
   19604   :L) ac_source=$1;;
   19605   :[FH])
   19606     ac_file_inputs=
   19607     for ac_f
   19608     do
   19609       case $ac_f in
   19610       -) ac_f="$ac_tmp/stdin";;
   19611       *) # Look for the file first in the build tree, then in the source tree
   19612 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   19613 	 # because $ac_f cannot contain `:'.
   19614 	 test -f "$ac_f" ||
   19615 	   case $ac_f in
   19616 	   [\\/$]*) false;;
   19617 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   19618 	   esac ||
   19619 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   19620       esac
   19621       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   19622       as_fn_append ac_file_inputs " '$ac_f'"
   19623     done
   19624 
   19625     # Let's still pretend it is `configure' which instantiates (i.e., don't
   19626     # use $as_me), people would be surprised to read:
   19627     #    /* config.h.  Generated by config.status.  */
   19628     configure_input='Generated from '`
   19629 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   19630 	`' by configure.'
   19631     if test x"$ac_file" != x-; then
   19632       configure_input="$ac_file.  $configure_input"
   19633       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   19634 $as_echo "$as_me: creating $ac_file" >&6;}
   19635     fi
   19636     # Neutralize special characters interpreted by sed in replacement strings.
   19637     case $configure_input in #(
   19638     *\&* | *\|* | *\\* )
   19639        ac_sed_conf_input=`$as_echo "$configure_input" |
   19640        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   19641     *) ac_sed_conf_input=$configure_input;;
   19642     esac
   19643 
   19644     case $ac_tag in
   19645     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   19646       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   19647     esac
   19648     ;;
   19649   esac
   19650 
   19651   ac_dir=`$as_dirname -- "$ac_file" ||
   19652 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19653 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   19654 	 X"$ac_file" : 'X\(//\)$' \| \
   19655 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   19656 $as_echo X"$ac_file" |
   19657     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19658 	    s//\1/
   19659 	    q
   19660 	  }
   19661 	  /^X\(\/\/\)[^/].*/{
   19662 	    s//\1/
   19663 	    q
   19664 	  }
   19665 	  /^X\(\/\/\)$/{
   19666 	    s//\1/
   19667 	    q
   19668 	  }
   19669 	  /^X\(\/\).*/{
   19670 	    s//\1/
   19671 	    q
   19672 	  }
   19673 	  s/.*/./; q'`
   19674   as_dir="$ac_dir"; as_fn_mkdir_p
   19675   ac_builddir=.
   19676 
   19677 case "$ac_dir" in
   19678 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19679 *)
   19680   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   19681   # A ".." for each directory in $ac_dir_suffix.
   19682   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   19683   case $ac_top_builddir_sub in
   19684   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19685   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   19686   esac ;;
   19687 esac
   19688 ac_abs_top_builddir=$ac_pwd
   19689 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   19690 # for backward compatibility:
   19691 ac_top_builddir=$ac_top_build_prefix
   19692 
   19693 case $srcdir in
   19694   .)  # We are building in place.
   19695     ac_srcdir=.
   19696     ac_top_srcdir=$ac_top_builddir_sub
   19697     ac_abs_top_srcdir=$ac_pwd ;;
   19698   [\\/]* | ?:[\\/]* )  # Absolute name.
   19699     ac_srcdir=$srcdir$ac_dir_suffix;
   19700     ac_top_srcdir=$srcdir
   19701     ac_abs_top_srcdir=$srcdir ;;
   19702   *) # Relative name.
   19703     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   19704     ac_top_srcdir=$ac_top_build_prefix$srcdir
   19705     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   19706 esac
   19707 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   19708 
   19709 
   19710   case $ac_mode in
   19711   :F)
   19712   #
   19713   # CONFIG_FILE
   19714   #
   19715 
   19716   case $INSTALL in
   19717   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   19718   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   19719   esac
   19720   ac_MKDIR_P=$MKDIR_P
   19721   case $MKDIR_P in
   19722   [\\/$]* | ?:[\\/]* ) ;;
   19723   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   19724   esac
   19725 _ACEOF
   19726 
   19727 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19728 # If the template does not know about datarootdir, expand it.
   19729 # FIXME: This hack should be removed a few years after 2.60.
   19730 ac_datarootdir_hack=; ac_datarootdir_seen=
   19731 ac_sed_dataroot='
   19732 /datarootdir/ {
   19733   p
   19734   q
   19735 }
   19736 /@datadir@/p
   19737 /@docdir@/p
   19738 /@infodir@/p
   19739 /@localedir@/p
   19740 /@mandir@/p'
   19741 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   19742 *datarootdir*) ac_datarootdir_seen=yes;;
   19743 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   19744   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   19745 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   19746 _ACEOF
   19747 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19748   ac_datarootdir_hack='
   19749   s&@datadir@&$datadir&g
   19750   s&@docdir@&$docdir&g
   19751   s&@infodir@&$infodir&g
   19752   s&@localedir@&$localedir&g
   19753   s&@mandir@&$mandir&g
   19754   s&\\\${datarootdir}&$datarootdir&g' ;;
   19755 esac
   19756 _ACEOF
   19757 
   19758 # Neutralize VPATH when `$srcdir' = `.'.
   19759 # Shell code in configure.ac might set extrasub.
   19760 # FIXME: do we really want to maintain this feature?
   19761 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19762 ac_sed_extra="$ac_vpsub
   19763 $extrasub
   19764 _ACEOF
   19765 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19766 :t
   19767 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   19768 s|@configure_input@|$ac_sed_conf_input|;t t
   19769 s&@top_builddir@&$ac_top_builddir_sub&;t t
   19770 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   19771 s&@srcdir@&$ac_srcdir&;t t
   19772 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   19773 s&@top_srcdir@&$ac_top_srcdir&;t t
   19774 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   19775 s&@builddir@&$ac_builddir&;t t
   19776 s&@abs_builddir@&$ac_abs_builddir&;t t
   19777 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   19778 s&@INSTALL@&$ac_INSTALL&;t t
   19779 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   19780 $ac_datarootdir_hack
   19781 "
   19782 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   19783   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19784 
   19785 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   19786   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   19787   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   19788       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   19789   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19790 which seems to be undefined.  Please make sure it is defined" >&5
   19791 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19792 which seems to be undefined.  Please make sure it is defined" >&2;}
   19793 
   19794   rm -f "$ac_tmp/stdin"
   19795   case $ac_file in
   19796   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   19797   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   19798   esac \
   19799   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19800  ;;
   19801   :H)
   19802   #
   19803   # CONFIG_HEADER
   19804   #
   19805   if test x"$ac_file" != x-; then
   19806     {
   19807       $as_echo "/* $configure_input  */" \
   19808       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   19809     } >"$ac_tmp/config.h" \
   19810       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19811     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   19812       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   19813 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   19814     else
   19815       rm -f "$ac_file"
   19816       mv "$ac_tmp/config.h" "$ac_file" \
   19817 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19818     fi
   19819   else
   19820     $as_echo "/* $configure_input  */" \
   19821       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   19822       || as_fn_error $? "could not create -" "$LINENO" 5
   19823   fi
   19824 # Compute "$ac_file"'s index in $config_headers.
   19825 _am_arg="$ac_file"
   19826 _am_stamp_count=1
   19827 for _am_header in $config_headers :; do
   19828   case $_am_header in
   19829     $_am_arg | $_am_arg:* )
   19830       break ;;
   19831     * )
   19832       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   19833   esac
   19834 done
   19835 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   19836 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19837 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   19838 	 X"$_am_arg" : 'X\(//\)$' \| \
   19839 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   19840 $as_echo X"$_am_arg" |
   19841     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19842 	    s//\1/
   19843 	    q
   19844 	  }
   19845 	  /^X\(\/\/\)[^/].*/{
   19846 	    s//\1/
   19847 	    q
   19848 	  }
   19849 	  /^X\(\/\/\)$/{
   19850 	    s//\1/
   19851 	    q
   19852 	  }
   19853 	  /^X\(\/\).*/{
   19854 	    s//\1/
   19855 	    q
   19856 	  }
   19857 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   19858  ;;
   19859 
   19860   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   19861 $as_echo "$as_me: executing $ac_file commands" >&6;}
   19862  ;;
   19863   esac
   19864 
   19865 
   19866   case $ac_file$ac_mode in
   19867     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   19868   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   19869   # are listed without --file.  Let's play safe and only enable the eval
   19870   # if we detect the quoting.
   19871   case $CONFIG_FILES in
   19872   *\'*) eval set x "$CONFIG_FILES" ;;
   19873   *)   set x $CONFIG_FILES ;;
   19874   esac
   19875   shift
   19876   for mf
   19877   do
   19878     # Strip MF so we end up with the name of the file.
   19879     mf=`echo "$mf" | sed -e 's/:.*$//'`
   19880     # Check whether this is an Automake generated Makefile or not.
   19881     # We used to match only the files named `Makefile.in', but
   19882     # some people rename them; so instead we look at the file content.
   19883     # Grep'ing the first line is not enough: some people post-process
   19884     # each Makefile.in and add a new line on top of each file to say so.
   19885     # Grep'ing the whole file is not good either: AIX grep has a line
   19886     # limit of 2048, but all sed's we know have understand at least 4000.
   19887     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   19888       dirpart=`$as_dirname -- "$mf" ||
   19889 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19890 	 X"$mf" : 'X\(//\)[^/]' \| \
   19891 	 X"$mf" : 'X\(//\)$' \| \
   19892 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   19893 $as_echo X"$mf" |
   19894     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19895 	    s//\1/
   19896 	    q
   19897 	  }
   19898 	  /^X\(\/\/\)[^/].*/{
   19899 	    s//\1/
   19900 	    q
   19901 	  }
   19902 	  /^X\(\/\/\)$/{
   19903 	    s//\1/
   19904 	    q
   19905 	  }
   19906 	  /^X\(\/\).*/{
   19907 	    s//\1/
   19908 	    q
   19909 	  }
   19910 	  s/.*/./; q'`
   19911     else
   19912       continue
   19913     fi
   19914     # Extract the definition of DEPDIR, am__include, and am__quote
   19915     # from the Makefile without running `make'.
   19916     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   19917     test -z "$DEPDIR" && continue
   19918     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   19919     test -z "am__include" && continue
   19920     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   19921     # When using ansi2knr, U may be empty or an underscore; expand it
   19922     U=`sed -n 's/^U = //p' < "$mf"`
   19923     # Find all dependency output files, they are included files with
   19924     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   19925     # simplest approach to changing $(DEPDIR) to its actual value in the
   19926     # expansion.
   19927     for file in `sed -n "
   19928       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   19929 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   19930       # Make sure the directory exists.
   19931       test -f "$dirpart/$file" && continue
   19932       fdir=`$as_dirname -- "$file" ||
   19933 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19934 	 X"$file" : 'X\(//\)[^/]' \| \
   19935 	 X"$file" : 'X\(//\)$' \| \
   19936 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   19937 $as_echo X"$file" |
   19938     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19939 	    s//\1/
   19940 	    q
   19941 	  }
   19942 	  /^X\(\/\/\)[^/].*/{
   19943 	    s//\1/
   19944 	    q
   19945 	  }
   19946 	  /^X\(\/\/\)$/{
   19947 	    s//\1/
   19948 	    q
   19949 	  }
   19950 	  /^X\(\/\).*/{
   19951 	    s//\1/
   19952 	    q
   19953 	  }
   19954 	  s/.*/./; q'`
   19955       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   19956       # echo "creating $dirpart/$file"
   19957       echo '# dummy' > "$dirpart/$file"
   19958     done
   19959   done
   19960 }
   19961  ;;
   19962     "libtool":C)
   19963 
   19964     # See if we are running on zsh, and set the options which allow our
   19965     # commands through without removal of \ escapes.
   19966     if test -n "${ZSH_VERSION+set}" ; then
   19967       setopt NO_GLOB_SUBST
   19968     fi
   19969 
   19970     cfgfile="${ofile}T"
   19971     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   19972     $RM "$cfgfile"
   19973 
   19974     cat <<_LT_EOF >> "$cfgfile"
   19975 #! $SHELL
   19976 
   19977 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   19978 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   19979 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19980 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   19981 #
   19982 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   19983 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
   19984 #                 Foundation, Inc.
   19985 #   Written by Gordon Matzigkeit, 1996
   19986 #
   19987 #   This file is part of GNU Libtool.
   19988 #
   19989 # GNU Libtool is free software; you can redistribute it and/or
   19990 # modify it under the terms of the GNU General Public License as
   19991 # published by the Free Software Foundation; either version 2 of
   19992 # the License, or (at your option) any later version.
   19993 #
   19994 # As a special exception to the GNU General Public License,
   19995 # if you distribute this file as part of a program or library that
   19996 # is built using GNU Libtool, you may include this file under the
   19997 # same distribution terms that you use for the rest of that program.
   19998 #
   19999 # GNU Libtool is distributed in the hope that it will be useful,
   20000 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   20001 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   20002 # GNU General Public License for more details.
   20003 #
   20004 # You should have received a copy of the GNU General Public License
   20005 # along with GNU Libtool; see the file COPYING.  If not, a copy
   20006 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   20007 # obtained by writing to the Free Software Foundation, Inc.,
   20008 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   20009 
   20010 
   20011 # The names of the tagged configurations supported by this script.
   20012 available_tags=""
   20013 
   20014 # ### BEGIN LIBTOOL CONFIG
   20015 
   20016 # Whether or not to build static libraries.
   20017 build_old_libs=$enable_static
   20018 
   20019 # Which release of libtool.m4 was used?
   20020 macro_version=$macro_version
   20021 macro_revision=$macro_revision
   20022 
   20023 # Whether or not to build shared libraries.
   20024 build_libtool_libs=$enable_shared
   20025 
   20026 # What type of objects to build.
   20027 pic_mode=$pic_mode
   20028 
   20029 # Whether or not to optimize for fast installation.
   20030 fast_install=$enable_fast_install
   20031 
   20032 # Shell to use when invoking shell scripts.
   20033 SHELL=$lt_SHELL
   20034 
   20035 # An echo program that protects backslashes.
   20036 ECHO=$lt_ECHO
   20037 
   20038 # The PATH separator for the build system.
   20039 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   20040 
   20041 # The host system.
   20042 host_alias=$host_alias
   20043 host=$host
   20044 host_os=$host_os
   20045 
   20046 # The build system.
   20047 build_alias=$build_alias
   20048 build=$build
   20049 build_os=$build_os
   20050 
   20051 # A sed program that does not truncate output.
   20052 SED=$lt_SED
   20053 
   20054 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   20055 Xsed="\$SED -e 1s/^X//"
   20056 
   20057 # A grep program that handles long lines.
   20058 GREP=$lt_GREP
   20059 
   20060 # An ERE matcher.
   20061 EGREP=$lt_EGREP
   20062 
   20063 # A literal string matcher.
   20064 FGREP=$lt_FGREP
   20065 
   20066 # A BSD- or MS-compatible name lister.
   20067 NM=$lt_NM
   20068 
   20069 # Whether we need soft or hard links.
   20070 LN_S=$lt_LN_S
   20071 
   20072 # What is the maximum length of a command?
   20073 max_cmd_len=$max_cmd_len
   20074 
   20075 # Object file suffix (normally "o").
   20076 objext=$ac_objext
   20077 
   20078 # Executable file suffix (normally "").
   20079 exeext=$exeext
   20080 
   20081 # whether the shell understands "unset".
   20082 lt_unset=$lt_unset
   20083 
   20084 # turn spaces into newlines.
   20085 SP2NL=$lt_lt_SP2NL
   20086 
   20087 # turn newlines into spaces.
   20088 NL2SP=$lt_lt_NL2SP
   20089 
   20090 # convert \$build file names to \$host format.
   20091 to_host_file_cmd=$lt_cv_to_host_file_cmd
   20092 
   20093 # convert \$build files to toolchain format.
   20094 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   20095 
   20096 # An object symbol dumper.
   20097 OBJDUMP=$lt_OBJDUMP
   20098 
   20099 # Method to check whether dependent libraries are shared objects.
   20100 deplibs_check_method=$lt_deplibs_check_method
   20101 
   20102 # Command to use when deplibs_check_method = "file_magic".
   20103 file_magic_cmd=$lt_file_magic_cmd
   20104 
   20105 # How to find potential files when deplibs_check_method = "file_magic".
   20106 file_magic_glob=$lt_file_magic_glob
   20107 
   20108 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   20109 want_nocaseglob=$lt_want_nocaseglob
   20110 
   20111 # DLL creation program.
   20112 DLLTOOL=$lt_DLLTOOL
   20113 
   20114 # Command to associate shared and link libraries.
   20115 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   20116 
   20117 # The archiver.
   20118 AR=$lt_AR
   20119 
   20120 # Flags to create an archive.
   20121 AR_FLAGS=$lt_AR_FLAGS
   20122 
   20123 # How to feed a file listing to the archiver.
   20124 archiver_list_spec=$lt_archiver_list_spec
   20125 
   20126 # A symbol stripping program.
   20127 STRIP=$lt_STRIP
   20128 
   20129 # Commands used to install an old-style archive.
   20130 RANLIB=$lt_RANLIB
   20131 old_postinstall_cmds=$lt_old_postinstall_cmds
   20132 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   20133 
   20134 # Whether to use a lock for old archive extraction.
   20135 lock_old_archive_extraction=$lock_old_archive_extraction
   20136 
   20137 # A C compiler.
   20138 LTCC=$lt_CC
   20139 
   20140 # LTCC compiler flags.
   20141 LTCFLAGS=$lt_CFLAGS
   20142 
   20143 # Take the output of nm and produce a listing of raw symbols and C names.
   20144 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   20145 
   20146 # Transform the output of nm in a proper C declaration.
   20147 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   20148 
   20149 # Transform the output of nm in a C name address pair.
   20150 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   20151 
   20152 # Transform the output of nm in a C name address pair when lib prefix is needed.
   20153 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   20154 
   20155 # Specify filename containing input files for \$NM.
   20156 nm_file_list_spec=$lt_nm_file_list_spec
   20157 
   20158 # The root where to search for dependent libraries,and in which our libraries should be installed.
   20159 lt_sysroot=$lt_sysroot
   20160 
   20161 # The name of the directory that contains temporary libtool files.
   20162 objdir=$objdir
   20163 
   20164 # Used to examine libraries when file_magic_cmd begins with "file".
   20165 MAGIC_CMD=$MAGIC_CMD
   20166 
   20167 # Must we lock files when doing compilation?
   20168 need_locks=$lt_need_locks
   20169 
   20170 # Manifest tool.
   20171 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   20172 
   20173 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   20174 DSYMUTIL=$lt_DSYMUTIL
   20175 
   20176 # Tool to change global to local symbols on Mac OS X.
   20177 NMEDIT=$lt_NMEDIT
   20178 
   20179 # Tool to manipulate fat objects and archives on Mac OS X.
   20180 LIPO=$lt_LIPO
   20181 
   20182 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   20183 OTOOL=$lt_OTOOL
   20184 
   20185 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   20186 OTOOL64=$lt_OTOOL64
   20187 
   20188 # Old archive suffix (normally "a").
   20189 libext=$libext
   20190 
   20191 # Shared library suffix (normally ".so").
   20192 shrext_cmds=$lt_shrext_cmds
   20193 
   20194 # The commands to extract the exported symbol list from a shared archive.
   20195 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   20196 
   20197 # Variables whose values should be saved in libtool wrapper scripts and
   20198 # restored at link time.
   20199 variables_saved_for_relink=$lt_variables_saved_for_relink
   20200 
   20201 # Do we need the "lib" prefix for modules?
   20202 need_lib_prefix=$need_lib_prefix
   20203 
   20204 # Do we need a version for libraries?
   20205 need_version=$need_version
   20206 
   20207 # Library versioning type.
   20208 version_type=$version_type
   20209 
   20210 # Shared library runtime path variable.
   20211 runpath_var=$runpath_var
   20212 
   20213 # Shared library path variable.
   20214 shlibpath_var=$shlibpath_var
   20215 
   20216 # Is shlibpath searched before the hard-coded library search path?
   20217 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   20218 
   20219 # Format of library name prefix.
   20220 libname_spec=$lt_libname_spec
   20221 
   20222 # List of archive names.  First name is the real one, the rest are links.
   20223 # The last name is the one that the linker finds with -lNAME
   20224 library_names_spec=$lt_library_names_spec
   20225 
   20226 # The coded name of the library, if different from the real name.
   20227 soname_spec=$lt_soname_spec
   20228 
   20229 # Permission mode override for installation of shared libraries.
   20230 install_override_mode=$lt_install_override_mode
   20231 
   20232 # Command to use after installation of a shared archive.
   20233 postinstall_cmds=$lt_postinstall_cmds
   20234 
   20235 # Command to use after uninstallation of a shared archive.
   20236 postuninstall_cmds=$lt_postuninstall_cmds
   20237 
   20238 # Commands used to finish a libtool library installation in a directory.
   20239 finish_cmds=$lt_finish_cmds
   20240 
   20241 # As "finish_cmds", except a single script fragment to be evaled but
   20242 # not shown.
   20243 finish_eval=$lt_finish_eval
   20244 
   20245 # Whether we should hardcode library paths into libraries.
   20246 hardcode_into_libs=$hardcode_into_libs
   20247 
   20248 # Compile-time system search path for libraries.
   20249 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   20250 
   20251 # Run-time system search path for libraries.
   20252 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   20253 
   20254 # Whether dlopen is supported.
   20255 dlopen_support=$enable_dlopen
   20256 
   20257 # Whether dlopen of programs is supported.
   20258 dlopen_self=$enable_dlopen_self
   20259 
   20260 # Whether dlopen of statically linked programs is supported.
   20261 dlopen_self_static=$enable_dlopen_self_static
   20262 
   20263 # Commands to strip libraries.
   20264 old_striplib=$lt_old_striplib
   20265 striplib=$lt_striplib
   20266 
   20267 
   20268 # The linker used to build libraries.
   20269 LD=$lt_LD
   20270 
   20271 # How to create reloadable object files.
   20272 reload_flag=$lt_reload_flag
   20273 reload_cmds=$lt_reload_cmds
   20274 
   20275 # Commands used to build an old-style archive.
   20276 old_archive_cmds=$lt_old_archive_cmds
   20277 
   20278 # A language specific compiler.
   20279 CC=$lt_compiler
   20280 
   20281 # Is the compiler the GNU compiler?
   20282 with_gcc=$GCC
   20283 
   20284 # Compiler flag to turn off builtin functions.
   20285 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   20286 
   20287 # Additional compiler flags for building library objects.
   20288 pic_flag=$lt_lt_prog_compiler_pic
   20289 
   20290 # How to pass a linker flag through the compiler.
   20291 wl=$lt_lt_prog_compiler_wl
   20292 
   20293 # Compiler flag to prevent dynamic linking.
   20294 link_static_flag=$lt_lt_prog_compiler_static
   20295 
   20296 # Does compiler simultaneously support -c and -o options?
   20297 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   20298 
   20299 # Whether or not to add -lc for building shared libraries.
   20300 build_libtool_need_lc=$archive_cmds_need_lc
   20301 
   20302 # Whether or not to disallow shared libs when runtime libs are static.
   20303 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   20304 
   20305 # Compiler flag to allow reflexive dlopens.
   20306 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   20307 
   20308 # Compiler flag to generate shared objects directly from archives.
   20309 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   20310 
   20311 # Whether the compiler copes with passing no objects directly.
   20312 compiler_needs_object=$lt_compiler_needs_object
   20313 
   20314 # Create an old-style archive from a shared archive.
   20315 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   20316 
   20317 # Create a temporary old-style archive to link instead of a shared archive.
   20318 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   20319 
   20320 # Commands used to build a shared archive.
   20321 archive_cmds=$lt_archive_cmds
   20322 archive_expsym_cmds=$lt_archive_expsym_cmds
   20323 
   20324 # Commands used to build a loadable module if different from building
   20325 # a shared archive.
   20326 module_cmds=$lt_module_cmds
   20327 module_expsym_cmds=$lt_module_expsym_cmds
   20328 
   20329 # Whether we are building with GNU ld or not.
   20330 with_gnu_ld=$lt_with_gnu_ld
   20331 
   20332 # Flag that allows shared libraries with undefined symbols to be built.
   20333 allow_undefined_flag=$lt_allow_undefined_flag
   20334 
   20335 # Flag that enforces no undefined symbols.
   20336 no_undefined_flag=$lt_no_undefined_flag
   20337 
   20338 # Flag to hardcode \$libdir into a binary during linking.
   20339 # This must work even if \$libdir does not exist
   20340 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   20341 
   20342 # Whether we need a single "-rpath" flag with a separated argument.
   20343 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   20344 
   20345 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   20346 # DIR into the resulting binary.
   20347 hardcode_direct=$hardcode_direct
   20348 
   20349 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   20350 # DIR into the resulting binary and the resulting library dependency is
   20351 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   20352 # library is relocated.
   20353 hardcode_direct_absolute=$hardcode_direct_absolute
   20354 
   20355 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   20356 # into the resulting binary.
   20357 hardcode_minus_L=$hardcode_minus_L
   20358 
   20359 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   20360 # into the resulting binary.
   20361 hardcode_shlibpath_var=$hardcode_shlibpath_var
   20362 
   20363 # Set to "yes" if building a shared library automatically hardcodes DIR
   20364 # into the library and all subsequent libraries and executables linked
   20365 # against it.
   20366 hardcode_automatic=$hardcode_automatic
   20367 
   20368 # Set to yes if linker adds runtime paths of dependent libraries
   20369 # to runtime path list.
   20370 inherit_rpath=$inherit_rpath
   20371 
   20372 # Whether libtool must link a program against all its dependency libraries.
   20373 link_all_deplibs=$link_all_deplibs
   20374 
   20375 # Set to "yes" if exported symbols are required.
   20376 always_export_symbols=$always_export_symbols
   20377 
   20378 # The commands to list exported symbols.
   20379 export_symbols_cmds=$lt_export_symbols_cmds
   20380 
   20381 # Symbols that should not be listed in the preloaded symbols.
   20382 exclude_expsyms=$lt_exclude_expsyms
   20383 
   20384 # Symbols that must always be exported.
   20385 include_expsyms=$lt_include_expsyms
   20386 
   20387 # Commands necessary for linking programs (against libraries) with templates.
   20388 prelink_cmds=$lt_prelink_cmds
   20389 
   20390 # Commands necessary for finishing linking programs.
   20391 postlink_cmds=$lt_postlink_cmds
   20392 
   20393 # Specify filename containing input files.
   20394 file_list_spec=$lt_file_list_spec
   20395 
   20396 # How to hardcode a shared library path into an executable.
   20397 hardcode_action=$hardcode_action
   20398 
   20399 # ### END LIBTOOL CONFIG
   20400 
   20401 _LT_EOF
   20402 
   20403   case $host_os in
   20404   aix3*)
   20405     cat <<\_LT_EOF >> "$cfgfile"
   20406 # AIX sometimes has problems with the GCC collect2 program.  For some
   20407 # reason, if we set the COLLECT_NAMES environment variable, the problems
   20408 # vanish in a puff of smoke.
   20409 if test "X${COLLECT_NAMES+set}" != Xset; then
   20410   COLLECT_NAMES=
   20411   export COLLECT_NAMES
   20412 fi
   20413 _LT_EOF
   20414     ;;
   20415   esac
   20416 
   20417 
   20418 ltmain="$ac_aux_dir/ltmain.sh"
   20419 
   20420 
   20421   # We use sed instead of cat because bash on DJGPP gets confused if
   20422   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   20423   # text mode, it properly converts lines to CR/LF.  This bash problem
   20424   # is reportedly fixed, but why not run on old versions too?
   20425   sed '$q' "$ltmain" >> "$cfgfile" \
   20426      || (rm -f "$cfgfile"; exit 1)
   20427 
   20428   if test x"$xsi_shell" = xyes; then
   20429   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
   20430 func_dirname ()\
   20431 {\
   20432 \    case ${1} in\
   20433 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   20434 \      *  ) func_dirname_result="${3}" ;;\
   20435 \    esac\
   20436 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
   20437   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20438     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20439 test 0 -eq $? || _lt_function_replace_fail=:
   20440 
   20441 
   20442   sed -e '/^func_basename ()$/,/^} # func_basename /c\
   20443 func_basename ()\
   20444 {\
   20445 \    func_basename_result="${1##*/}"\
   20446 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
   20447   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20448     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20449 test 0 -eq $? || _lt_function_replace_fail=:
   20450 
   20451 
   20452   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
   20453 func_dirname_and_basename ()\
   20454 {\
   20455 \    case ${1} in\
   20456 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   20457 \      *  ) func_dirname_result="${3}" ;;\
   20458 \    esac\
   20459 \    func_basename_result="${1##*/}"\
   20460 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
   20461   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20462     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20463 test 0 -eq $? || _lt_function_replace_fail=:
   20464 
   20465 
   20466   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
   20467 func_stripname ()\
   20468 {\
   20469 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
   20470 \    # positional parameters, so assign one to ordinary parameter first.\
   20471 \    func_stripname_result=${3}\
   20472 \    func_stripname_result=${func_stripname_result#"${1}"}\
   20473 \    func_stripname_result=${func_stripname_result%"${2}"}\
   20474 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
   20475   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20476     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20477 test 0 -eq $? || _lt_function_replace_fail=:
   20478 
   20479 
   20480   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
   20481 func_split_long_opt ()\
   20482 {\
   20483 \    func_split_long_opt_name=${1%%=*}\
   20484 \    func_split_long_opt_arg=${1#*=}\
   20485 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
   20486   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20487     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20488 test 0 -eq $? || _lt_function_replace_fail=:
   20489 
   20490 
   20491   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
   20492 func_split_short_opt ()\
   20493 {\
   20494 \    func_split_short_opt_arg=${1#??}\
   20495 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
   20496 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
   20497   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20498     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20499 test 0 -eq $? || _lt_function_replace_fail=:
   20500 
   20501 
   20502   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
   20503 func_lo2o ()\
   20504 {\
   20505 \    case ${1} in\
   20506 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
   20507 \      *)    func_lo2o_result=${1} ;;\
   20508 \    esac\
   20509 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
   20510   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20511     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20512 test 0 -eq $? || _lt_function_replace_fail=:
   20513 
   20514 
   20515   sed -e '/^func_xform ()$/,/^} # func_xform /c\
   20516 func_xform ()\
   20517 {\
   20518     func_xform_result=${1%.*}.lo\
   20519 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
   20520   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20521     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20522 test 0 -eq $? || _lt_function_replace_fail=:
   20523 
   20524 
   20525   sed -e '/^func_arith ()$/,/^} # func_arith /c\
   20526 func_arith ()\
   20527 {\
   20528     func_arith_result=$(( $* ))\
   20529 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
   20530   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20531     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20532 test 0 -eq $? || _lt_function_replace_fail=:
   20533 
   20534 
   20535   sed -e '/^func_len ()$/,/^} # func_len /c\
   20536 func_len ()\
   20537 {\
   20538     func_len_result=${#1}\
   20539 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
   20540   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20541     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20542 test 0 -eq $? || _lt_function_replace_fail=:
   20543 
   20544 fi
   20545 
   20546 if test x"$lt_shell_append" = xyes; then
   20547   sed -e '/^func_append ()$/,/^} # func_append /c\
   20548 func_append ()\
   20549 {\
   20550     eval "${1}+=\\${2}"\
   20551 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
   20552   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20553     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20554 test 0 -eq $? || _lt_function_replace_fail=:
   20555 
   20556 
   20557   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
   20558 func_append_quoted ()\
   20559 {\
   20560 \    func_quote_for_eval "${2}"\
   20561 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
   20562 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
   20563   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20564     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20565 test 0 -eq $? || _lt_function_replace_fail=:
   20566 
   20567 
   20568   # Save a `func_append' function call where possible by direct use of '+='
   20569   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
   20570     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20571       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20572   test 0 -eq $? || _lt_function_replace_fail=:
   20573 else
   20574   # Save a `func_append' function call even when '+=' is not available
   20575   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
   20576     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20577       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20578   test 0 -eq $? || _lt_function_replace_fail=:
   20579 fi
   20580 
   20581 if test x"$_lt_function_replace_fail" = x":"; then
   20582   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
   20583 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
   20584 fi
   20585 
   20586 
   20587    mv -f "$cfgfile" "$ofile" ||
   20588     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   20589   chmod +x "$ofile"
   20590 
   20591  ;;
   20592 
   20593   esac
   20594 done # for ac_tag
   20595 
   20596 
   20597 as_fn_exit 0
   20598 _ACEOF
   20599 ac_clean_files=$ac_clean_files_save
   20600 
   20601 test $ac_write_fail = 0 ||
   20602   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   20603 
   20604 
   20605 # configure is writing to config.log, and then calls config.status.
   20606 # config.status does its own redirection, appending to config.log.
   20607 # Unfortunately, on DOS this fails, as config.log is still kept open
   20608 # by configure, so config.status won't be able to write to it; its
   20609 # output is simply discarded.  So we exec the FD to /dev/null,
   20610 # effectively closing config.log, so it can be properly (re)opened and
   20611 # appended to by config.status.  When coming back to configure, we
   20612 # need to make the FD available again.
   20613 if test "$no_create" != yes; then
   20614   ac_cs_success=:
   20615   ac_config_status_args=
   20616   test "$silent" = yes &&
   20617     ac_config_status_args="$ac_config_status_args --quiet"
   20618   exec 5>/dev/null
   20619   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   20620   exec 5>>config.log
   20621   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   20622   # would make configure fail if this is the last instruction.
   20623   $ac_cs_success || as_fn_exit 1
   20624 fi
   20625 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   20626   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   20627 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   20628 fi
   20629 
   20630