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-sis 0.10.7.
      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-sis'
    573 PACKAGE_TARNAME='xf86-video-sis'
    574 PACKAGE_VERSION='0.10.7'
    575 PACKAGE_STRING='xf86-video-sis 0.10.7'
    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 XSERVER_LIBPCIACCESS_FALSE
    623 XSERVER_LIBPCIACCESS_TRUE
    624 PCIACCESS_LIBS
    625 PCIACCESS_CFLAGS
    626 XAA_FALSE
    627 XAA_TRUE
    628 DRI_LIBS
    629 DRI_CFLAGS
    630 DRI_FALSE
    631 DRI_TRUE
    632 HAVE_XEXTPROTO_71_FALSE
    633 HAVE_XEXTPROTO_71_TRUE
    634 XEXT_LIBS
    635 XEXT_CFLAGS
    636 XORG_LIBS
    637 XORG_CFLAGS
    638 OTOOL64
    639 OTOOL
    640 LIPO
    641 NMEDIT
    642 DSYMUTIL
    643 MANIFEST_TOOL
    644 RANLIB
    645 ac_ct_AR
    646 AR
    647 DLLTOOL
    648 OBJDUMP
    649 LN_S
    650 NM
    651 ac_ct_DUMPBIN
    652 DUMPBIN
    653 LD
    654 FGREP
    655 LIBTOOL
    656 AM_BACKSLASH
    657 AM_DEFAULT_VERBOSITY
    658 AM_DEFAULT_V
    659 AM_V
    660 MAN_SUBSTS
    661 XORG_MAN_PAGE
    662 ADMIN_MAN_DIR
    663 DRIVER_MAN_DIR
    664 MISC_MAN_DIR
    665 FILE_MAN_DIR
    666 LIB_MAN_DIR
    667 APP_MAN_DIR
    668 ADMIN_MAN_SUFFIX
    669 DRIVER_MAN_SUFFIX
    670 MISC_MAN_SUFFIX
    671 FILE_MAN_SUFFIX
    672 LIB_MAN_SUFFIX
    673 APP_MAN_SUFFIX
    674 SED
    675 host_os
    676 host_vendor
    677 host_cpu
    678 host
    679 build_os
    680 build_vendor
    681 build_cpu
    682 build
    683 INSTALL_CMD
    684 PKG_CONFIG_LIBDIR
    685 PKG_CONFIG_PATH
    686 PKG_CONFIG
    687 CHANGELOG_CMD
    688 STRICT_CFLAGS
    689 CWARNFLAGS
    690 BASE_CFLAGS
    691 EGREP
    692 GREP
    693 CPP
    694 am__fastdepCC_FALSE
    695 am__fastdepCC_TRUE
    696 CCDEPMODE
    697 am__nodep
    698 AMDEPBACKSLASH
    699 AMDEP_FALSE
    700 AMDEP_TRUE
    701 am__quote
    702 am__include
    703 DEPDIR
    704 OBJEXT
    705 EXEEXT
    706 ac_ct_CC
    707 CPPFLAGS
    708 LDFLAGS
    709 CFLAGS
    710 CC
    711 MAINT
    712 MAINTAINER_MODE_FALSE
    713 MAINTAINER_MODE_TRUE
    714 am__untar
    715 am__tar
    716 AMTAR
    717 am__leading_dot
    718 SET_MAKE
    719 AWK
    720 mkdir_p
    721 MKDIR_P
    722 INSTALL_STRIP_PROGRAM
    723 STRIP
    724 install_sh
    725 MAKEINFO
    726 AUTOHEADER
    727 AUTOMAKE
    728 AUTOCONF
    729 ACLOCAL
    730 VERSION
    731 PACKAGE
    732 CYGPATH_W
    733 am__isrc
    734 INSTALL_DATA
    735 INSTALL_SCRIPT
    736 INSTALL_PROGRAM
    737 target_alias
    738 host_alias
    739 build_alias
    740 LIBS
    741 ECHO_T
    742 ECHO_N
    743 ECHO_C
    744 DEFS
    745 mandir
    746 localedir
    747 libdir
    748 psdir
    749 pdfdir
    750 dvidir
    751 htmldir
    752 infodir
    753 docdir
    754 oldincludedir
    755 includedir
    756 localstatedir
    757 sharedstatedir
    758 sysconfdir
    759 datadir
    760 datarootdir
    761 libexecdir
    762 sbindir
    763 bindir
    764 program_transform_name
    765 prefix
    766 exec_prefix
    767 PACKAGE_URL
    768 PACKAGE_BUGREPORT
    769 PACKAGE_STRING
    770 PACKAGE_VERSION
    771 PACKAGE_TARNAME
    772 PACKAGE_NAME
    773 PATH_SEPARATOR
    774 SHELL'
    775 ac_subst_files=''
    776 ac_user_opts='
    777 enable_option_checking
    778 enable_maintainer_mode
    779 enable_dependency_tracking
    780 enable_selective_werror
    781 enable_strict_compilation
    782 enable_silent_rules
    783 enable_static
    784 enable_shared
    785 with_pic
    786 enable_fast_install
    787 with_gnu_ld
    788 with_sysroot
    789 enable_libtool_lock
    790 with_xorg_module_dir
    791 enable_dri
    792 enable_xaa
    793 '
    794       ac_precious_vars='build_alias
    795 host_alias
    796 target_alias
    797 CC
    798 CFLAGS
    799 LDFLAGS
    800 LIBS
    801 CPPFLAGS
    802 CPP
    803 PKG_CONFIG
    804 PKG_CONFIG_PATH
    805 PKG_CONFIG_LIBDIR
    806 XORG_CFLAGS
    807 XORG_LIBS
    808 XEXT_CFLAGS
    809 XEXT_LIBS
    810 DRI_CFLAGS
    811 DRI_LIBS
    812 PCIACCESS_CFLAGS
    813 PCIACCESS_LIBS'
    814 
    815 
    816 # Initialize some variables set by options.
    817 ac_init_help=
    818 ac_init_version=false
    819 ac_unrecognized_opts=
    820 ac_unrecognized_sep=
    821 # The variables have the same names as the options, with
    822 # dashes changed to underlines.
    823 cache_file=/dev/null
    824 exec_prefix=NONE
    825 no_create=
    826 no_recursion=
    827 prefix=NONE
    828 program_prefix=NONE
    829 program_suffix=NONE
    830 program_transform_name=s,x,x,
    831 silent=
    832 site=
    833 srcdir=
    834 verbose=
    835 x_includes=NONE
    836 x_libraries=NONE
    837 
    838 # Installation directory options.
    839 # These are left unexpanded so users can "make install exec_prefix=/foo"
    840 # and all the variables that are supposed to be based on exec_prefix
    841 # by default will actually change.
    842 # Use braces instead of parens because sh, perl, etc. also accept them.
    843 # (The list follows the same order as the GNU Coding Standards.)
    844 bindir='${exec_prefix}/bin'
    845 sbindir='${exec_prefix}/sbin'
    846 libexecdir='${exec_prefix}/libexec'
    847 datarootdir='${prefix}/share'
    848 datadir='${datarootdir}'
    849 sysconfdir='${prefix}/etc'
    850 sharedstatedir='${prefix}/com'
    851 localstatedir='${prefix}/var'
    852 includedir='${prefix}/include'
    853 oldincludedir='/usr/include'
    854 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    855 infodir='${datarootdir}/info'
    856 htmldir='${docdir}'
    857 dvidir='${docdir}'
    858 pdfdir='${docdir}'
    859 psdir='${docdir}'
    860 libdir='${exec_prefix}/lib'
    861 localedir='${datarootdir}/locale'
    862 mandir='${datarootdir}/man'
    863 
    864 ac_prev=
    865 ac_dashdash=
    866 for ac_option
    867 do
    868   # If the previous option needs an argument, assign it.
    869   if test -n "$ac_prev"; then
    870     eval $ac_prev=\$ac_option
    871     ac_prev=
    872     continue
    873   fi
    874 
    875   case $ac_option in
    876   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    877   *=)   ac_optarg= ;;
    878   *)    ac_optarg=yes ;;
    879   esac
    880 
    881   # Accept the important Cygnus configure options, so we can diagnose typos.
    882 
    883   case $ac_dashdash$ac_option in
    884   --)
    885     ac_dashdash=yes ;;
    886 
    887   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    888     ac_prev=bindir ;;
    889   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    890     bindir=$ac_optarg ;;
    891 
    892   -build | --build | --buil | --bui | --bu)
    893     ac_prev=build_alias ;;
    894   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    895     build_alias=$ac_optarg ;;
    896 
    897   -cache-file | --cache-file | --cache-fil | --cache-fi \
    898   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    899     ac_prev=cache_file ;;
    900   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    901   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    902     cache_file=$ac_optarg ;;
    903 
    904   --config-cache | -C)
    905     cache_file=config.cache ;;
    906 
    907   -datadir | --datadir | --datadi | --datad)
    908     ac_prev=datadir ;;
    909   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    910     datadir=$ac_optarg ;;
    911 
    912   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    913   | --dataroo | --dataro | --datar)
    914     ac_prev=datarootdir ;;
    915   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    916   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    917     datarootdir=$ac_optarg ;;
    918 
    919   -disable-* | --disable-*)
    920     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    921     # Reject names that are not valid shell variable names.
    922     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    923       as_fn_error $? "invalid feature name: $ac_useropt"
    924     ac_useropt_orig=$ac_useropt
    925     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    926     case $ac_user_opts in
    927       *"
    928 "enable_$ac_useropt"
    929 "*) ;;
    930       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    931 	 ac_unrecognized_sep=', ';;
    932     esac
    933     eval enable_$ac_useropt=no ;;
    934 
    935   -docdir | --docdir | --docdi | --doc | --do)
    936     ac_prev=docdir ;;
    937   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    938     docdir=$ac_optarg ;;
    939 
    940   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    941     ac_prev=dvidir ;;
    942   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    943     dvidir=$ac_optarg ;;
    944 
    945   -enable-* | --enable-*)
    946     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    947     # Reject names that are not valid shell variable names.
    948     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    949       as_fn_error $? "invalid feature name: $ac_useropt"
    950     ac_useropt_orig=$ac_useropt
    951     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    952     case $ac_user_opts in
    953       *"
    954 "enable_$ac_useropt"
    955 "*) ;;
    956       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    957 	 ac_unrecognized_sep=', ';;
    958     esac
    959     eval enable_$ac_useropt=\$ac_optarg ;;
    960 
    961   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    962   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    963   | --exec | --exe | --ex)
    964     ac_prev=exec_prefix ;;
    965   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    966   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    967   | --exec=* | --exe=* | --ex=*)
    968     exec_prefix=$ac_optarg ;;
    969 
    970   -gas | --gas | --ga | --g)
    971     # Obsolete; use --with-gas.
    972     with_gas=yes ;;
    973 
    974   -help | --help | --hel | --he | -h)
    975     ac_init_help=long ;;
    976   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    977     ac_init_help=recursive ;;
    978   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    979     ac_init_help=short ;;
    980 
    981   -host | --host | --hos | --ho)
    982     ac_prev=host_alias ;;
    983   -host=* | --host=* | --hos=* | --ho=*)
    984     host_alias=$ac_optarg ;;
    985 
    986   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    987     ac_prev=htmldir ;;
    988   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    989   | --ht=*)
    990     htmldir=$ac_optarg ;;
    991 
    992   -includedir | --includedir | --includedi | --included | --include \
    993   | --includ | --inclu | --incl | --inc)
    994     ac_prev=includedir ;;
    995   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    996   | --includ=* | --inclu=* | --incl=* | --inc=*)
    997     includedir=$ac_optarg ;;
    998 
    999   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1000     ac_prev=infodir ;;
   1001   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1002     infodir=$ac_optarg ;;
   1003 
   1004   -libdir | --libdir | --libdi | --libd)
   1005     ac_prev=libdir ;;
   1006   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1007     libdir=$ac_optarg ;;
   1008 
   1009   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1010   | --libexe | --libex | --libe)
   1011     ac_prev=libexecdir ;;
   1012   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1013   | --libexe=* | --libex=* | --libe=*)
   1014     libexecdir=$ac_optarg ;;
   1015 
   1016   -localedir | --localedir | --localedi | --localed | --locale)
   1017     ac_prev=localedir ;;
   1018   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1019     localedir=$ac_optarg ;;
   1020 
   1021   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1022   | --localstate | --localstat | --localsta | --localst | --locals)
   1023     ac_prev=localstatedir ;;
   1024   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1025   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1026     localstatedir=$ac_optarg ;;
   1027 
   1028   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1029     ac_prev=mandir ;;
   1030   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1031     mandir=$ac_optarg ;;
   1032 
   1033   -nfp | --nfp | --nf)
   1034     # Obsolete; use --without-fp.
   1035     with_fp=no ;;
   1036 
   1037   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1038   | --no-cr | --no-c | -n)
   1039     no_create=yes ;;
   1040 
   1041   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1042   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1043     no_recursion=yes ;;
   1044 
   1045   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1046   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1047   | --oldin | --oldi | --old | --ol | --o)
   1048     ac_prev=oldincludedir ;;
   1049   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1050   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1051   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1052     oldincludedir=$ac_optarg ;;
   1053 
   1054   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1055     ac_prev=prefix ;;
   1056   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1057     prefix=$ac_optarg ;;
   1058 
   1059   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1060   | --program-pre | --program-pr | --program-p)
   1061     ac_prev=program_prefix ;;
   1062   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1063   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1064     program_prefix=$ac_optarg ;;
   1065 
   1066   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1067   | --program-suf | --program-su | --program-s)
   1068     ac_prev=program_suffix ;;
   1069   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1070   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1071     program_suffix=$ac_optarg ;;
   1072 
   1073   -program-transform-name | --program-transform-name \
   1074   | --program-transform-nam | --program-transform-na \
   1075   | --program-transform-n | --program-transform- \
   1076   | --program-transform | --program-transfor \
   1077   | --program-transfo | --program-transf \
   1078   | --program-trans | --program-tran \
   1079   | --progr-tra | --program-tr | --program-t)
   1080     ac_prev=program_transform_name ;;
   1081   -program-transform-name=* | --program-transform-name=* \
   1082   | --program-transform-nam=* | --program-transform-na=* \
   1083   | --program-transform-n=* | --program-transform-=* \
   1084   | --program-transform=* | --program-transfor=* \
   1085   | --program-transfo=* | --program-transf=* \
   1086   | --program-trans=* | --program-tran=* \
   1087   | --progr-tra=* | --program-tr=* | --program-t=*)
   1088     program_transform_name=$ac_optarg ;;
   1089 
   1090   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1091     ac_prev=pdfdir ;;
   1092   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1093     pdfdir=$ac_optarg ;;
   1094 
   1095   -psdir | --psdir | --psdi | --psd | --ps)
   1096     ac_prev=psdir ;;
   1097   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1098     psdir=$ac_optarg ;;
   1099 
   1100   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1101   | -silent | --silent | --silen | --sile | --sil)
   1102     silent=yes ;;
   1103 
   1104   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1105     ac_prev=sbindir ;;
   1106   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1107   | --sbi=* | --sb=*)
   1108     sbindir=$ac_optarg ;;
   1109 
   1110   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1111   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1112   | --sharedst | --shareds | --shared | --share | --shar \
   1113   | --sha | --sh)
   1114     ac_prev=sharedstatedir ;;
   1115   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1116   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1117   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1118   | --sha=* | --sh=*)
   1119     sharedstatedir=$ac_optarg ;;
   1120 
   1121   -site | --site | --sit)
   1122     ac_prev=site ;;
   1123   -site=* | --site=* | --sit=*)
   1124     site=$ac_optarg ;;
   1125 
   1126   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1127     ac_prev=srcdir ;;
   1128   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1129     srcdir=$ac_optarg ;;
   1130 
   1131   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1132   | --syscon | --sysco | --sysc | --sys | --sy)
   1133     ac_prev=sysconfdir ;;
   1134   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1135   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1136     sysconfdir=$ac_optarg ;;
   1137 
   1138   -target | --target | --targe | --targ | --tar | --ta | --t)
   1139     ac_prev=target_alias ;;
   1140   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1141     target_alias=$ac_optarg ;;
   1142 
   1143   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1144     verbose=yes ;;
   1145 
   1146   -version | --version | --versio | --versi | --vers | -V)
   1147     ac_init_version=: ;;
   1148 
   1149   -with-* | --with-*)
   1150     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1151     # Reject names that are not valid shell variable names.
   1152     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1153       as_fn_error $? "invalid package name: $ac_useropt"
   1154     ac_useropt_orig=$ac_useropt
   1155     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1156     case $ac_user_opts in
   1157       *"
   1158 "with_$ac_useropt"
   1159 "*) ;;
   1160       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1161 	 ac_unrecognized_sep=', ';;
   1162     esac
   1163     eval with_$ac_useropt=\$ac_optarg ;;
   1164 
   1165   -without-* | --without-*)
   1166     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1167     # Reject names that are not valid shell variable names.
   1168     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1169       as_fn_error $? "invalid package name: $ac_useropt"
   1170     ac_useropt_orig=$ac_useropt
   1171     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1172     case $ac_user_opts in
   1173       *"
   1174 "with_$ac_useropt"
   1175 "*) ;;
   1176       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1177 	 ac_unrecognized_sep=', ';;
   1178     esac
   1179     eval with_$ac_useropt=no ;;
   1180 
   1181   --x)
   1182     # Obsolete; use --with-x.
   1183     with_x=yes ;;
   1184 
   1185   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1186   | --x-incl | --x-inc | --x-in | --x-i)
   1187     ac_prev=x_includes ;;
   1188   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1189   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1190     x_includes=$ac_optarg ;;
   1191 
   1192   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1193   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1194     ac_prev=x_libraries ;;
   1195   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1196   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1197     x_libraries=$ac_optarg ;;
   1198 
   1199   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1200 Try \`$0 --help' for more information"
   1201     ;;
   1202 
   1203   *=*)
   1204     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1205     # Reject names that are not valid shell variable names.
   1206     case $ac_envvar in #(
   1207       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1208       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1209     esac
   1210     eval $ac_envvar=\$ac_optarg
   1211     export $ac_envvar ;;
   1212 
   1213   *)
   1214     # FIXME: should be removed in autoconf 3.0.
   1215     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1216     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1217       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1218     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1219     ;;
   1220 
   1221   esac
   1222 done
   1223 
   1224 if test -n "$ac_prev"; then
   1225   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1226   as_fn_error $? "missing argument to $ac_option"
   1227 fi
   1228 
   1229 if test -n "$ac_unrecognized_opts"; then
   1230   case $enable_option_checking in
   1231     no) ;;
   1232     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1233     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1234   esac
   1235 fi
   1236 
   1237 # Check all directory arguments for consistency.
   1238 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1239 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1240 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1241 		libdir localedir mandir
   1242 do
   1243   eval ac_val=\$$ac_var
   1244   # Remove trailing slashes.
   1245   case $ac_val in
   1246     */ )
   1247       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1248       eval $ac_var=\$ac_val;;
   1249   esac
   1250   # Be sure to have absolute directory names.
   1251   case $ac_val in
   1252     [\\/$]* | ?:[\\/]* )  continue;;
   1253     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1254   esac
   1255   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1256 done
   1257 
   1258 # There might be people who depend on the old broken behavior: `$host'
   1259 # used to hold the argument of --host etc.
   1260 # FIXME: To remove some day.
   1261 build=$build_alias
   1262 host=$host_alias
   1263 target=$target_alias
   1264 
   1265 # FIXME: To remove some day.
   1266 if test "x$host_alias" != x; then
   1267   if test "x$build_alias" = x; then
   1268     cross_compiling=maybe
   1269     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1270     If a cross compiler is detected then cross compile mode will be used" >&2
   1271   elif test "x$build_alias" != "x$host_alias"; then
   1272     cross_compiling=yes
   1273   fi
   1274 fi
   1275 
   1276 ac_tool_prefix=
   1277 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1278 
   1279 test "$silent" = yes && exec 6>/dev/null
   1280 
   1281 
   1282 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1283 ac_ls_di=`ls -di .` &&
   1284 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1285   as_fn_error $? "working directory cannot be determined"
   1286 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1287   as_fn_error $? "pwd does not report name of working directory"
   1288 
   1289 
   1290 # Find the source files, if location was not specified.
   1291 if test -z "$srcdir"; then
   1292   ac_srcdir_defaulted=yes
   1293   # Try the directory containing this script, then the parent directory.
   1294   ac_confdir=`$as_dirname -- "$as_myself" ||
   1295 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1296 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1297 	 X"$as_myself" : 'X\(//\)$' \| \
   1298 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1299 $as_echo X"$as_myself" |
   1300     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1301 	    s//\1/
   1302 	    q
   1303 	  }
   1304 	  /^X\(\/\/\)[^/].*/{
   1305 	    s//\1/
   1306 	    q
   1307 	  }
   1308 	  /^X\(\/\/\)$/{
   1309 	    s//\1/
   1310 	    q
   1311 	  }
   1312 	  /^X\(\/\).*/{
   1313 	    s//\1/
   1314 	    q
   1315 	  }
   1316 	  s/.*/./; q'`
   1317   srcdir=$ac_confdir
   1318   if test ! -r "$srcdir/$ac_unique_file"; then
   1319     srcdir=..
   1320   fi
   1321 else
   1322   ac_srcdir_defaulted=no
   1323 fi
   1324 if test ! -r "$srcdir/$ac_unique_file"; then
   1325   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1326   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1327 fi
   1328 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1329 ac_abs_confdir=`(
   1330 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1331 	pwd)`
   1332 # When building in place, set srcdir=.
   1333 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1334   srcdir=.
   1335 fi
   1336 # Remove unnecessary trailing slashes from srcdir.
   1337 # Double slashes in file names in object file debugging info
   1338 # mess up M-x gdb in Emacs.
   1339 case $srcdir in
   1340 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1341 esac
   1342 for ac_var in $ac_precious_vars; do
   1343   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1344   eval ac_env_${ac_var}_value=\$${ac_var}
   1345   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1346   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1347 done
   1348 
   1349 #
   1350 # Report the --help message.
   1351 #
   1352 if test "$ac_init_help" = "long"; then
   1353   # Omit some internal or obsolete options to make the list less imposing.
   1354   # This message is too long to be a string in the A/UX 3.1 sh.
   1355   cat <<_ACEOF
   1356 \`configure' configures xf86-video-sis 0.10.7 to adapt to many kinds of systems.
   1357 
   1358 Usage: $0 [OPTION]... [VAR=VALUE]...
   1359 
   1360 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1361 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1362 
   1363 Defaults for the options are specified in brackets.
   1364 
   1365 Configuration:
   1366   -h, --help              display this help and exit
   1367       --help=short        display options specific to this package
   1368       --help=recursive    display the short help of all the included packages
   1369   -V, --version           display version information and exit
   1370   -q, --quiet, --silent   do not print \`checking ...' messages
   1371       --cache-file=FILE   cache test results in FILE [disabled]
   1372   -C, --config-cache      alias for \`--cache-file=config.cache'
   1373   -n, --no-create         do not create output files
   1374       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1375 
   1376 Installation directories:
   1377   --prefix=PREFIX         install architecture-independent files in PREFIX
   1378                           [$ac_default_prefix]
   1379   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1380                           [PREFIX]
   1381 
   1382 By default, \`make install' will install all the files in
   1383 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1384 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1385 for instance \`--prefix=\$HOME'.
   1386 
   1387 For better control, use the options below.
   1388 
   1389 Fine tuning of the installation directories:
   1390   --bindir=DIR            user executables [EPREFIX/bin]
   1391   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1392   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1393   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1394   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1395   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1396   --libdir=DIR            object code libraries [EPREFIX/lib]
   1397   --includedir=DIR        C header files [PREFIX/include]
   1398   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1399   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1400   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1401   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1402   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1403   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1404   --docdir=DIR            documentation root [DATAROOTDIR/doc/xf86-video-sis]
   1405   --htmldir=DIR           html documentation [DOCDIR]
   1406   --dvidir=DIR            dvi documentation [DOCDIR]
   1407   --pdfdir=DIR            pdf documentation [DOCDIR]
   1408   --psdir=DIR             ps documentation [DOCDIR]
   1409 _ACEOF
   1410 
   1411   cat <<\_ACEOF
   1412 
   1413 Program names:
   1414   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1415   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1416   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1417 
   1418 System types:
   1419   --build=BUILD     configure for building on BUILD [guessed]
   1420   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1421 _ACEOF
   1422 fi
   1423 
   1424 if test -n "$ac_init_help"; then
   1425   case $ac_init_help in
   1426      short | recursive ) echo "Configuration of xf86-video-sis 0.10.7:";;
   1427    esac
   1428   cat <<\_ACEOF
   1429 
   1430 Optional Features:
   1431   --disable-option-checking  ignore unrecognized --enable/--with options
   1432   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1433   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1434   --enable-maintainer-mode  enable make rules and dependencies not useful
   1435 			  (and sometimes confusing) to the casual installer
   1436   --disable-dependency-tracking  speeds up one-time build
   1437   --enable-dependency-tracking   do not reject slow dependency extractors
   1438   --disable-selective-werror
   1439                           Turn off selective compiler errors. (default:
   1440                           enabled)
   1441   --enable-strict-compilation
   1442                           Enable all warnings from compiler and make them
   1443                           errors (default: disabled)
   1444   --enable-silent-rules          less verbose build output (undo: `make V=1')
   1445   --disable-silent-rules         verbose build output (undo: `make V=0')
   1446   --enable-static[=PKGS]  build static libraries [default=no]
   1447   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1448   --enable-fast-install[=PKGS]
   1449                           optimize for fast installation [default=yes]
   1450   --disable-libtool-lock  avoid locking (might break parallel builds)
   1451   --disable-dri           Disable DRI support [[default=auto]]
   1452   --enable-xaa            Enable legacy X Acceleration Architecture (XAA)
   1453                           [default=auto]
   1454 
   1455 Optional Packages:
   1456   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1457   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1458   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1459                           both]
   1460   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1461   --with-sysroot=DIR Search for dependent libraries within DIR
   1462                         (or the compiler's sysroot if not specified).
   1463   --with-xorg-module-dir=DIR
   1464                           Default xorg module directory
   1465                           [[default=$libdir/xorg/modules]]
   1466 
   1467 Some influential environment variables:
   1468   CC          C compiler command
   1469   CFLAGS      C compiler flags
   1470   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1471               nonstandard directory <lib dir>
   1472   LIBS        libraries to pass to the linker, e.g. -l<library>
   1473   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1474               you have headers in a nonstandard directory <include dir>
   1475   CPP         C preprocessor
   1476   PKG_CONFIG  path to pkg-config utility
   1477   PKG_CONFIG_PATH
   1478               directories to add to pkg-config's search path
   1479   PKG_CONFIG_LIBDIR
   1480               path overriding pkg-config's built-in search path
   1481   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1482   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1483   XEXT_CFLAGS C compiler flags for XEXT, overriding pkg-config
   1484   XEXT_LIBS   linker flags for XEXT, overriding pkg-config
   1485   DRI_CFLAGS  C compiler flags for DRI, overriding pkg-config
   1486   DRI_LIBS    linker flags for DRI, overriding pkg-config
   1487   PCIACCESS_CFLAGS
   1488               C compiler flags for PCIACCESS, overriding pkg-config
   1489   PCIACCESS_LIBS
   1490               linker flags for PCIACCESS, overriding pkg-config
   1491 
   1492 Use these variables to override the choices made by `configure' or to help
   1493 it to find libraries and programs with nonstandard names/locations.
   1494 
   1495 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1496 _ACEOF
   1497 ac_status=$?
   1498 fi
   1499 
   1500 if test "$ac_init_help" = "recursive"; then
   1501   # If there are subdirs, report their specific --help.
   1502   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1503     test -d "$ac_dir" ||
   1504       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1505       continue
   1506     ac_builddir=.
   1507 
   1508 case "$ac_dir" in
   1509 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1510 *)
   1511   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1512   # A ".." for each directory in $ac_dir_suffix.
   1513   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1514   case $ac_top_builddir_sub in
   1515   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1516   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1517   esac ;;
   1518 esac
   1519 ac_abs_top_builddir=$ac_pwd
   1520 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1521 # for backward compatibility:
   1522 ac_top_builddir=$ac_top_build_prefix
   1523 
   1524 case $srcdir in
   1525   .)  # We are building in place.
   1526     ac_srcdir=.
   1527     ac_top_srcdir=$ac_top_builddir_sub
   1528     ac_abs_top_srcdir=$ac_pwd ;;
   1529   [\\/]* | ?:[\\/]* )  # Absolute name.
   1530     ac_srcdir=$srcdir$ac_dir_suffix;
   1531     ac_top_srcdir=$srcdir
   1532     ac_abs_top_srcdir=$srcdir ;;
   1533   *) # Relative name.
   1534     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1535     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1536     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1537 esac
   1538 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1539 
   1540     cd "$ac_dir" || { ac_status=$?; continue; }
   1541     # Check for guested configure.
   1542     if test -f "$ac_srcdir/configure.gnu"; then
   1543       echo &&
   1544       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1545     elif test -f "$ac_srcdir/configure"; then
   1546       echo &&
   1547       $SHELL "$ac_srcdir/configure" --help=recursive
   1548     else
   1549       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1550     fi || ac_status=$?
   1551     cd "$ac_pwd" || { ac_status=$?; break; }
   1552   done
   1553 fi
   1554 
   1555 test -n "$ac_init_help" && exit $ac_status
   1556 if $ac_init_version; then
   1557   cat <<\_ACEOF
   1558 xf86-video-sis configure 0.10.7
   1559 generated by GNU Autoconf 2.68
   1560 
   1561 Copyright (C) 2010 Free Software Foundation, Inc.
   1562 This configure script is free software; the Free Software Foundation
   1563 gives unlimited permission to copy, distribute and modify it.
   1564 _ACEOF
   1565   exit
   1566 fi
   1567 
   1568 ## ------------------------ ##
   1569 ## Autoconf initialization. ##
   1570 ## ------------------------ ##
   1571 
   1572 # ac_fn_c_try_compile LINENO
   1573 # --------------------------
   1574 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1575 ac_fn_c_try_compile ()
   1576 {
   1577   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1578   rm -f conftest.$ac_objext
   1579   if { { ac_try="$ac_compile"
   1580 case "(($ac_try" in
   1581   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1582   *) ac_try_echo=$ac_try;;
   1583 esac
   1584 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1585 $as_echo "$ac_try_echo"; } >&5
   1586   (eval "$ac_compile") 2>conftest.err
   1587   ac_status=$?
   1588   if test -s conftest.err; then
   1589     grep -v '^ *+' conftest.err >conftest.er1
   1590     cat conftest.er1 >&5
   1591     mv -f conftest.er1 conftest.err
   1592   fi
   1593   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1594   test $ac_status = 0; } && {
   1595 	 test -z "$ac_c_werror_flag" ||
   1596 	 test ! -s conftest.err
   1597        } && test -s conftest.$ac_objext; then :
   1598   ac_retval=0
   1599 else
   1600   $as_echo "$as_me: failed program was:" >&5
   1601 sed 's/^/| /' conftest.$ac_ext >&5
   1602 
   1603 	ac_retval=1
   1604 fi
   1605   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1606   as_fn_set_status $ac_retval
   1607 
   1608 } # ac_fn_c_try_compile
   1609 
   1610 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1611 # ---------------------------------------------
   1612 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1613 # accordingly.
   1614 ac_fn_c_check_decl ()
   1615 {
   1616   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1617   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1618   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1619   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1620 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1621 if eval \${$3+:} false; then :
   1622   $as_echo_n "(cached) " >&6
   1623 else
   1624   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1625 /* end confdefs.h.  */
   1626 $4
   1627 int
   1628 main ()
   1629 {
   1630 #ifndef $as_decl_name
   1631 #ifdef __cplusplus
   1632   (void) $as_decl_use;
   1633 #else
   1634   (void) $as_decl_name;
   1635 #endif
   1636 #endif
   1637 
   1638   ;
   1639   return 0;
   1640 }
   1641 _ACEOF
   1642 if ac_fn_c_try_compile "$LINENO"; then :
   1643   eval "$3=yes"
   1644 else
   1645   eval "$3=no"
   1646 fi
   1647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1648 fi
   1649 eval ac_res=\$$3
   1650 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1651 $as_echo "$ac_res" >&6; }
   1652   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1653 
   1654 } # ac_fn_c_check_decl
   1655 
   1656 # ac_fn_c_try_cpp LINENO
   1657 # ----------------------
   1658 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1659 ac_fn_c_try_cpp ()
   1660 {
   1661   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1662   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1663 case "(($ac_try" in
   1664   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1665   *) ac_try_echo=$ac_try;;
   1666 esac
   1667 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1668 $as_echo "$ac_try_echo"; } >&5
   1669   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1670   ac_status=$?
   1671   if test -s conftest.err; then
   1672     grep -v '^ *+' conftest.err >conftest.er1
   1673     cat conftest.er1 >&5
   1674     mv -f conftest.er1 conftest.err
   1675   fi
   1676   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1677   test $ac_status = 0; } > conftest.i && {
   1678 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1679 	 test ! -s conftest.err
   1680        }; then :
   1681   ac_retval=0
   1682 else
   1683   $as_echo "$as_me: failed program was:" >&5
   1684 sed 's/^/| /' conftest.$ac_ext >&5
   1685 
   1686     ac_retval=1
   1687 fi
   1688   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1689   as_fn_set_status $ac_retval
   1690 
   1691 } # ac_fn_c_try_cpp
   1692 
   1693 # ac_fn_c_try_run LINENO
   1694 # ----------------------
   1695 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1696 # that executables *can* be run.
   1697 ac_fn_c_try_run ()
   1698 {
   1699   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1700   if { { ac_try="$ac_link"
   1701 case "(($ac_try" in
   1702   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1703   *) ac_try_echo=$ac_try;;
   1704 esac
   1705 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1706 $as_echo "$ac_try_echo"; } >&5
   1707   (eval "$ac_link") 2>&5
   1708   ac_status=$?
   1709   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1710   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1711   { { case "(($ac_try" in
   1712   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1713   *) ac_try_echo=$ac_try;;
   1714 esac
   1715 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1716 $as_echo "$ac_try_echo"; } >&5
   1717   (eval "$ac_try") 2>&5
   1718   ac_status=$?
   1719   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1720   test $ac_status = 0; }; }; then :
   1721   ac_retval=0
   1722 else
   1723   $as_echo "$as_me: program exited with status $ac_status" >&5
   1724        $as_echo "$as_me: failed program was:" >&5
   1725 sed 's/^/| /' conftest.$ac_ext >&5
   1726 
   1727        ac_retval=$ac_status
   1728 fi
   1729   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1730   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1731   as_fn_set_status $ac_retval
   1732 
   1733 } # ac_fn_c_try_run
   1734 
   1735 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1736 # -------------------------------------------------------
   1737 # Tests whether HEADER exists and can be compiled using the include files in
   1738 # INCLUDES, setting the cache variable VAR accordingly.
   1739 ac_fn_c_check_header_compile ()
   1740 {
   1741   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1742   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1743 $as_echo_n "checking for $2... " >&6; }
   1744 if eval \${$3+:} false; then :
   1745   $as_echo_n "(cached) " >&6
   1746 else
   1747   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1748 /* end confdefs.h.  */
   1749 $4
   1750 #include <$2>
   1751 _ACEOF
   1752 if ac_fn_c_try_compile "$LINENO"; then :
   1753   eval "$3=yes"
   1754 else
   1755   eval "$3=no"
   1756 fi
   1757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1758 fi
   1759 eval ac_res=\$$3
   1760 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1761 $as_echo "$ac_res" >&6; }
   1762   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1763 
   1764 } # ac_fn_c_check_header_compile
   1765 
   1766 # ac_fn_c_try_link LINENO
   1767 # -----------------------
   1768 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1769 ac_fn_c_try_link ()
   1770 {
   1771   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1772   rm -f conftest.$ac_objext conftest$ac_exeext
   1773   if { { ac_try="$ac_link"
   1774 case "(($ac_try" in
   1775   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1776   *) ac_try_echo=$ac_try;;
   1777 esac
   1778 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1779 $as_echo "$ac_try_echo"; } >&5
   1780   (eval "$ac_link") 2>conftest.err
   1781   ac_status=$?
   1782   if test -s conftest.err; then
   1783     grep -v '^ *+' conftest.err >conftest.er1
   1784     cat conftest.er1 >&5
   1785     mv -f conftest.er1 conftest.err
   1786   fi
   1787   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1788   test $ac_status = 0; } && {
   1789 	 test -z "$ac_c_werror_flag" ||
   1790 	 test ! -s conftest.err
   1791        } && test -s conftest$ac_exeext && {
   1792 	 test "$cross_compiling" = yes ||
   1793 	 $as_test_x conftest$ac_exeext
   1794        }; then :
   1795   ac_retval=0
   1796 else
   1797   $as_echo "$as_me: failed program was:" >&5
   1798 sed 's/^/| /' conftest.$ac_ext >&5
   1799 
   1800 	ac_retval=1
   1801 fi
   1802   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1803   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1804   # interfere with the next link command; also delete a directory that is
   1805   # left behind by Apple's compiler.  We do this before executing the actions.
   1806   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1807   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1808   as_fn_set_status $ac_retval
   1809 
   1810 } # ac_fn_c_try_link
   1811 
   1812 # ac_fn_c_check_func LINENO FUNC VAR
   1813 # ----------------------------------
   1814 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1815 ac_fn_c_check_func ()
   1816 {
   1817   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1818   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1819 $as_echo_n "checking for $2... " >&6; }
   1820 if eval \${$3+:} false; then :
   1821   $as_echo_n "(cached) " >&6
   1822 else
   1823   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1824 /* end confdefs.h.  */
   1825 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1826    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1827 #define $2 innocuous_$2
   1828 
   1829 /* System header to define __stub macros and hopefully few prototypes,
   1830     which can conflict with char $2 (); below.
   1831     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1832     <limits.h> exists even on freestanding compilers.  */
   1833 
   1834 #ifdef __STDC__
   1835 # include <limits.h>
   1836 #else
   1837 # include <assert.h>
   1838 #endif
   1839 
   1840 #undef $2
   1841 
   1842 /* Override any GCC internal prototype to avoid an error.
   1843    Use char because int might match the return type of a GCC
   1844    builtin and then its argument prototype would still apply.  */
   1845 #ifdef __cplusplus
   1846 extern "C"
   1847 #endif
   1848 char $2 ();
   1849 /* The GNU C library defines this for functions which it implements
   1850     to always fail with ENOSYS.  Some functions are actually named
   1851     something starting with __ and the normal name is an alias.  */
   1852 #if defined __stub_$2 || defined __stub___$2
   1853 choke me
   1854 #endif
   1855 
   1856 int
   1857 main ()
   1858 {
   1859 return $2 ();
   1860   ;
   1861   return 0;
   1862 }
   1863 _ACEOF
   1864 if ac_fn_c_try_link "$LINENO"; then :
   1865   eval "$3=yes"
   1866 else
   1867   eval "$3=no"
   1868 fi
   1869 rm -f core conftest.err conftest.$ac_objext \
   1870     conftest$ac_exeext conftest.$ac_ext
   1871 fi
   1872 eval ac_res=\$$3
   1873 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1874 $as_echo "$ac_res" >&6; }
   1875   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1876 
   1877 } # ac_fn_c_check_func
   1878 
   1879 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1880 # -------------------------------------------------------
   1881 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1882 # the include files in INCLUDES and setting the cache variable VAR
   1883 # accordingly.
   1884 ac_fn_c_check_header_mongrel ()
   1885 {
   1886   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1887   if eval \${$3+:} false; then :
   1888   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1889 $as_echo_n "checking for $2... " >&6; }
   1890 if eval \${$3+:} false; then :
   1891   $as_echo_n "(cached) " >&6
   1892 fi
   1893 eval ac_res=\$$3
   1894 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1895 $as_echo "$ac_res" >&6; }
   1896 else
   1897   # Is the header compilable?
   1898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1899 $as_echo_n "checking $2 usability... " >&6; }
   1900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1901 /* end confdefs.h.  */
   1902 $4
   1903 #include <$2>
   1904 _ACEOF
   1905 if ac_fn_c_try_compile "$LINENO"; then :
   1906   ac_header_compiler=yes
   1907 else
   1908   ac_header_compiler=no
   1909 fi
   1910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1912 $as_echo "$ac_header_compiler" >&6; }
   1913 
   1914 # Is the header present?
   1915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1916 $as_echo_n "checking $2 presence... " >&6; }
   1917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1918 /* end confdefs.h.  */
   1919 #include <$2>
   1920 _ACEOF
   1921 if ac_fn_c_try_cpp "$LINENO"; then :
   1922   ac_header_preproc=yes
   1923 else
   1924   ac_header_preproc=no
   1925 fi
   1926 rm -f conftest.err conftest.i conftest.$ac_ext
   1927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1928 $as_echo "$ac_header_preproc" >&6; }
   1929 
   1930 # So?  What about this header?
   1931 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1932   yes:no: )
   1933     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1934 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1935     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1936 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1937     ;;
   1938   no:yes:* )
   1939     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1940 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1941     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1942 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1943     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1944 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1945     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1946 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1947     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1948 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1949 ( $as_echo "## ---------------------------------------------------------------------- ##
   1950 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   1951 ## ---------------------------------------------------------------------- ##"
   1952      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1953     ;;
   1954 esac
   1955   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1956 $as_echo_n "checking for $2... " >&6; }
   1957 if eval \${$3+:} false; then :
   1958   $as_echo_n "(cached) " >&6
   1959 else
   1960   eval "$3=\$ac_header_compiler"
   1961 fi
   1962 eval ac_res=\$$3
   1963 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1964 $as_echo "$ac_res" >&6; }
   1965 fi
   1966   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1967 
   1968 } # ac_fn_c_check_header_mongrel
   1969 cat >config.log <<_ACEOF
   1970 This file contains any messages produced by compilers while
   1971 running configure, to aid debugging if configure makes a mistake.
   1972 
   1973 It was created by xf86-video-sis $as_me 0.10.7, which was
   1974 generated by GNU Autoconf 2.68.  Invocation command line was
   1975 
   1976   $ $0 $@
   1977 
   1978 _ACEOF
   1979 exec 5>>config.log
   1980 {
   1981 cat <<_ASUNAME
   1982 ## --------- ##
   1983 ## Platform. ##
   1984 ## --------- ##
   1985 
   1986 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1987 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1988 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1989 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1990 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1991 
   1992 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1993 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1994 
   1995 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1996 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1997 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1998 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1999 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2000 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2001 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2002 
   2003 _ASUNAME
   2004 
   2005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2006 for as_dir in $PATH
   2007 do
   2008   IFS=$as_save_IFS
   2009   test -z "$as_dir" && as_dir=.
   2010     $as_echo "PATH: $as_dir"
   2011   done
   2012 IFS=$as_save_IFS
   2013 
   2014 } >&5
   2015 
   2016 cat >&5 <<_ACEOF
   2017 
   2018 
   2019 ## ----------- ##
   2020 ## Core tests. ##
   2021 ## ----------- ##
   2022 
   2023 _ACEOF
   2024 
   2025 
   2026 # Keep a trace of the command line.
   2027 # Strip out --no-create and --no-recursion so they do not pile up.
   2028 # Strip out --silent because we don't want to record it for future runs.
   2029 # Also quote any args containing shell meta-characters.
   2030 # Make two passes to allow for proper duplicate-argument suppression.
   2031 ac_configure_args=
   2032 ac_configure_args0=
   2033 ac_configure_args1=
   2034 ac_must_keep_next=false
   2035 for ac_pass in 1 2
   2036 do
   2037   for ac_arg
   2038   do
   2039     case $ac_arg in
   2040     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2041     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2042     | -silent | --silent | --silen | --sile | --sil)
   2043       continue ;;
   2044     *\'*)
   2045       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2046     esac
   2047     case $ac_pass in
   2048     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2049     2)
   2050       as_fn_append ac_configure_args1 " '$ac_arg'"
   2051       if test $ac_must_keep_next = true; then
   2052 	ac_must_keep_next=false # Got value, back to normal.
   2053       else
   2054 	case $ac_arg in
   2055 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2056 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2057 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2058 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2059 	    case "$ac_configure_args0 " in
   2060 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2061 	    esac
   2062 	    ;;
   2063 	  -* ) ac_must_keep_next=true ;;
   2064 	esac
   2065       fi
   2066       as_fn_append ac_configure_args " '$ac_arg'"
   2067       ;;
   2068     esac
   2069   done
   2070 done
   2071 { ac_configure_args0=; unset ac_configure_args0;}
   2072 { ac_configure_args1=; unset ac_configure_args1;}
   2073 
   2074 # When interrupted or exit'd, cleanup temporary files, and complete
   2075 # config.log.  We remove comments because anyway the quotes in there
   2076 # would cause problems or look ugly.
   2077 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2078 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2079 trap 'exit_status=$?
   2080   # Save into config.log some information that might help in debugging.
   2081   {
   2082     echo
   2083 
   2084     $as_echo "## ---------------- ##
   2085 ## Cache variables. ##
   2086 ## ---------------- ##"
   2087     echo
   2088     # The following way of writing the cache mishandles newlines in values,
   2089 (
   2090   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2091     eval ac_val=\$$ac_var
   2092     case $ac_val in #(
   2093     *${as_nl}*)
   2094       case $ac_var in #(
   2095       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2096 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2097       esac
   2098       case $ac_var in #(
   2099       _ | IFS | as_nl) ;; #(
   2100       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2101       *) { eval $ac_var=; unset $ac_var;} ;;
   2102       esac ;;
   2103     esac
   2104   done
   2105   (set) 2>&1 |
   2106     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2107     *${as_nl}ac_space=\ *)
   2108       sed -n \
   2109 	"s/'\''/'\''\\\\'\'''\''/g;
   2110 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2111       ;; #(
   2112     *)
   2113       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2114       ;;
   2115     esac |
   2116     sort
   2117 )
   2118     echo
   2119 
   2120     $as_echo "## ----------------- ##
   2121 ## Output variables. ##
   2122 ## ----------------- ##"
   2123     echo
   2124     for ac_var in $ac_subst_vars
   2125     do
   2126       eval ac_val=\$$ac_var
   2127       case $ac_val in
   2128       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2129       esac
   2130       $as_echo "$ac_var='\''$ac_val'\''"
   2131     done | sort
   2132     echo
   2133 
   2134     if test -n "$ac_subst_files"; then
   2135       $as_echo "## ------------------- ##
   2136 ## File substitutions. ##
   2137 ## ------------------- ##"
   2138       echo
   2139       for ac_var in $ac_subst_files
   2140       do
   2141 	eval ac_val=\$$ac_var
   2142 	case $ac_val in
   2143 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2144 	esac
   2145 	$as_echo "$ac_var='\''$ac_val'\''"
   2146       done | sort
   2147       echo
   2148     fi
   2149 
   2150     if test -s confdefs.h; then
   2151       $as_echo "## ----------- ##
   2152 ## confdefs.h. ##
   2153 ## ----------- ##"
   2154       echo
   2155       cat confdefs.h
   2156       echo
   2157     fi
   2158     test "$ac_signal" != 0 &&
   2159       $as_echo "$as_me: caught signal $ac_signal"
   2160     $as_echo "$as_me: exit $exit_status"
   2161   } >&5
   2162   rm -f core *.core core.conftest.* &&
   2163     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2164     exit $exit_status
   2165 ' 0
   2166 for ac_signal in 1 2 13 15; do
   2167   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2168 done
   2169 ac_signal=0
   2170 
   2171 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2172 rm -f -r conftest* confdefs.h
   2173 
   2174 $as_echo "/* confdefs.h */" > confdefs.h
   2175 
   2176 # Predefined preprocessor variables.
   2177 
   2178 cat >>confdefs.h <<_ACEOF
   2179 #define PACKAGE_NAME "$PACKAGE_NAME"
   2180 _ACEOF
   2181 
   2182 cat >>confdefs.h <<_ACEOF
   2183 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2184 _ACEOF
   2185 
   2186 cat >>confdefs.h <<_ACEOF
   2187 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2188 _ACEOF
   2189 
   2190 cat >>confdefs.h <<_ACEOF
   2191 #define PACKAGE_STRING "$PACKAGE_STRING"
   2192 _ACEOF
   2193 
   2194 cat >>confdefs.h <<_ACEOF
   2195 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2196 _ACEOF
   2197 
   2198 cat >>confdefs.h <<_ACEOF
   2199 #define PACKAGE_URL "$PACKAGE_URL"
   2200 _ACEOF
   2201 
   2202 
   2203 # Let the site file select an alternate cache file if it wants to.
   2204 # Prefer an explicitly selected file to automatically selected ones.
   2205 ac_site_file1=NONE
   2206 ac_site_file2=NONE
   2207 if test -n "$CONFIG_SITE"; then
   2208   # We do not want a PATH search for config.site.
   2209   case $CONFIG_SITE in #((
   2210     -*)  ac_site_file1=./$CONFIG_SITE;;
   2211     */*) ac_site_file1=$CONFIG_SITE;;
   2212     *)   ac_site_file1=./$CONFIG_SITE;;
   2213   esac
   2214 elif test "x$prefix" != xNONE; then
   2215   ac_site_file1=$prefix/share/config.site
   2216   ac_site_file2=$prefix/etc/config.site
   2217 else
   2218   ac_site_file1=$ac_default_prefix/share/config.site
   2219   ac_site_file2=$ac_default_prefix/etc/config.site
   2220 fi
   2221 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2222 do
   2223   test "x$ac_site_file" = xNONE && continue
   2224   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2225     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2226 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2227     sed 's/^/| /' "$ac_site_file" >&5
   2228     . "$ac_site_file" \
   2229       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2230 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2231 as_fn_error $? "failed to load site script $ac_site_file
   2232 See \`config.log' for more details" "$LINENO" 5; }
   2233   fi
   2234 done
   2235 
   2236 if test -r "$cache_file"; then
   2237   # Some versions of bash will fail to source /dev/null (special files
   2238   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2239   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2240     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2241 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2242     case $cache_file in
   2243       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2244       *)                      . "./$cache_file";;
   2245     esac
   2246   fi
   2247 else
   2248   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2249 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2250   >$cache_file
   2251 fi
   2252 
   2253 # Check that the precious variables saved in the cache have kept the same
   2254 # value.
   2255 ac_cache_corrupted=false
   2256 for ac_var in $ac_precious_vars; do
   2257   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2258   eval ac_new_set=\$ac_env_${ac_var}_set
   2259   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2260   eval ac_new_val=\$ac_env_${ac_var}_value
   2261   case $ac_old_set,$ac_new_set in
   2262     set,)
   2263       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2264 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2265       ac_cache_corrupted=: ;;
   2266     ,set)
   2267       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2268 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2269       ac_cache_corrupted=: ;;
   2270     ,);;
   2271     *)
   2272       if test "x$ac_old_val" != "x$ac_new_val"; then
   2273 	# differences in whitespace do not lead to failure.
   2274 	ac_old_val_w=`echo x $ac_old_val`
   2275 	ac_new_val_w=`echo x $ac_new_val`
   2276 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2277 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2278 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2279 	  ac_cache_corrupted=:
   2280 	else
   2281 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2282 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2283 	  eval $ac_var=\$ac_old_val
   2284 	fi
   2285 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2286 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2287 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2288 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2289       fi;;
   2290   esac
   2291   # Pass precious variables to config.status.
   2292   if test "$ac_new_set" = set; then
   2293     case $ac_new_val in
   2294     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2295     *) ac_arg=$ac_var=$ac_new_val ;;
   2296     esac
   2297     case " $ac_configure_args " in
   2298       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2299       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2300     esac
   2301   fi
   2302 done
   2303 if $ac_cache_corrupted; then
   2304   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2305 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2306   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2307 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2308   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2309 fi
   2310 ## -------------------- ##
   2311 ## Main body of script. ##
   2312 ## -------------------- ##
   2313 
   2314 ac_ext=c
   2315 ac_cpp='$CPP $CPPFLAGS'
   2316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2319 
   2320 
   2321 
   2322 ac_config_headers="$ac_config_headers config.h"
   2323 
   2324 ac_aux_dir=
   2325 for ac_dir in . "$srcdir"/.; do
   2326   if test -f "$ac_dir/install-sh"; then
   2327     ac_aux_dir=$ac_dir
   2328     ac_install_sh="$ac_aux_dir/install-sh -c"
   2329     break
   2330   elif test -f "$ac_dir/install.sh"; then
   2331     ac_aux_dir=$ac_dir
   2332     ac_install_sh="$ac_aux_dir/install.sh -c"
   2333     break
   2334   elif test -f "$ac_dir/shtool"; then
   2335     ac_aux_dir=$ac_dir
   2336     ac_install_sh="$ac_aux_dir/shtool install -c"
   2337     break
   2338   fi
   2339 done
   2340 if test -z "$ac_aux_dir"; then
   2341   as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
   2342 fi
   2343 
   2344 # These three variables are undocumented and unsupported,
   2345 # and are intended to be withdrawn in a future Autoconf release.
   2346 # They can cause serious problems if a builder's source tree is in a directory
   2347 # whose full name contains unusual characters.
   2348 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2349 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2350 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2351 
   2352 
   2353 
   2354 # Initialize Automake
   2355 am__api_version='1.11'
   2356 
   2357 # Find a good install program.  We prefer a C program (faster),
   2358 # so one script is as good as another.  But avoid the broken or
   2359 # incompatible versions:
   2360 # SysV /etc/install, /usr/sbin/install
   2361 # SunOS /usr/etc/install
   2362 # IRIX /sbin/install
   2363 # AIX /bin/install
   2364 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2365 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2366 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2367 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2368 # OS/2's system install, which has a completely different semantic
   2369 # ./install, which can be erroneously created by make from ./install.sh.
   2370 # Reject install programs that cannot install multiple files.
   2371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2372 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2373 if test -z "$INSTALL"; then
   2374 if ${ac_cv_path_install+:} false; then :
   2375   $as_echo_n "(cached) " >&6
   2376 else
   2377   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2378 for as_dir in $PATH
   2379 do
   2380   IFS=$as_save_IFS
   2381   test -z "$as_dir" && as_dir=.
   2382     # Account for people who put trailing slashes in PATH elements.
   2383 case $as_dir/ in #((
   2384   ./ | .// | /[cC]/* | \
   2385   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2386   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2387   /usr/ucb/* ) ;;
   2388   *)
   2389     # OSF1 and SCO ODT 3.0 have their own names for install.
   2390     # Don't use installbsd from OSF since it installs stuff as root
   2391     # by default.
   2392     for ac_prog in ginstall scoinst install; do
   2393       for ac_exec_ext in '' $ac_executable_extensions; do
   2394 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2395 	  if test $ac_prog = install &&
   2396 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2397 	    # AIX install.  It has an incompatible calling convention.
   2398 	    :
   2399 	  elif test $ac_prog = install &&
   2400 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2401 	    # program-specific install script used by HP pwplus--don't use.
   2402 	    :
   2403 	  else
   2404 	    rm -rf conftest.one conftest.two conftest.dir
   2405 	    echo one > conftest.one
   2406 	    echo two > conftest.two
   2407 	    mkdir conftest.dir
   2408 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2409 	      test -s conftest.one && test -s conftest.two &&
   2410 	      test -s conftest.dir/conftest.one &&
   2411 	      test -s conftest.dir/conftest.two
   2412 	    then
   2413 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2414 	      break 3
   2415 	    fi
   2416 	  fi
   2417 	fi
   2418       done
   2419     done
   2420     ;;
   2421 esac
   2422 
   2423   done
   2424 IFS=$as_save_IFS
   2425 
   2426 rm -rf conftest.one conftest.two conftest.dir
   2427 
   2428 fi
   2429   if test "${ac_cv_path_install+set}" = set; then
   2430     INSTALL=$ac_cv_path_install
   2431   else
   2432     # As a last resort, use the slow shell script.  Don't cache a
   2433     # value for INSTALL within a source directory, because that will
   2434     # break other packages using the cache if that directory is
   2435     # removed, or if the value is a relative name.
   2436     INSTALL=$ac_install_sh
   2437   fi
   2438 fi
   2439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2440 $as_echo "$INSTALL" >&6; }
   2441 
   2442 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2443 # It thinks the first close brace ends the variable substitution.
   2444 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2445 
   2446 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2447 
   2448 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2449 
   2450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2451 $as_echo_n "checking whether build environment is sane... " >&6; }
   2452 # Just in case
   2453 sleep 1
   2454 echo timestamp > conftest.file
   2455 # Reject unsafe characters in $srcdir or the absolute working directory
   2456 # name.  Accept space and tab only in the latter.
   2457 am_lf='
   2458 '
   2459 case `pwd` in
   2460   *[\\\"\#\$\&\'\`$am_lf]*)
   2461     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2462 esac
   2463 case $srcdir in
   2464   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2465     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
   2466 esac
   2467 
   2468 # Do `set' in a subshell so we don't clobber the current shell's
   2469 # arguments.  Must try -L first in case configure is actually a
   2470 # symlink; some systems play weird games with the mod time of symlinks
   2471 # (eg FreeBSD returns the mod time of the symlink's containing
   2472 # directory).
   2473 if (
   2474    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2475    if test "$*" = "X"; then
   2476       # -L didn't work.
   2477       set X `ls -t "$srcdir/configure" conftest.file`
   2478    fi
   2479    rm -f conftest.file
   2480    if test "$*" != "X $srcdir/configure conftest.file" \
   2481       && test "$*" != "X conftest.file $srcdir/configure"; then
   2482 
   2483       # If neither matched, then we have a broken ls.  This can happen
   2484       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2485       # broken ls alias from the environment.  This has actually
   2486       # happened.  Such a system could not be considered "sane".
   2487       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2488 alias in your environment" "$LINENO" 5
   2489    fi
   2490 
   2491    test "$2" = conftest.file
   2492    )
   2493 then
   2494    # Ok.
   2495    :
   2496 else
   2497    as_fn_error $? "newly created file is older than distributed files!
   2498 Check your system clock" "$LINENO" 5
   2499 fi
   2500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2501 $as_echo "yes" >&6; }
   2502 test "$program_prefix" != NONE &&
   2503   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2504 # Use a double $ so make ignores it.
   2505 test "$program_suffix" != NONE &&
   2506   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2507 # Double any \ or $.
   2508 # By default was `s,x,x', remove it if useless.
   2509 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2510 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2511 
   2512 # expand $ac_aux_dir to an absolute path
   2513 am_aux_dir=`cd $ac_aux_dir && pwd`
   2514 
   2515 if test x"${MISSING+set}" != xset; then
   2516   case $am_aux_dir in
   2517   *\ * | *\	*)
   2518     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2519   *)
   2520     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2521   esac
   2522 fi
   2523 # Use eval to expand $SHELL
   2524 if eval "$MISSING --run true"; then
   2525   am_missing_run="$MISSING --run "
   2526 else
   2527   am_missing_run=
   2528   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
   2529 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2530 fi
   2531 
   2532 if test x"${install_sh}" != xset; then
   2533   case $am_aux_dir in
   2534   *\ * | *\	*)
   2535     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2536   *)
   2537     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2538   esac
   2539 fi
   2540 
   2541 # Installed binaries are usually stripped using `strip' when the user
   2542 # run `make install-strip'.  However `strip' might not be the right
   2543 # tool to use in cross-compilation environments, therefore Automake
   2544 # will honor the `STRIP' environment variable to overrule this program.
   2545 if test "$cross_compiling" != no; then
   2546   if test -n "$ac_tool_prefix"; then
   2547   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2548 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2550 $as_echo_n "checking for $ac_word... " >&6; }
   2551 if ${ac_cv_prog_STRIP+:} false; then :
   2552   $as_echo_n "(cached) " >&6
   2553 else
   2554   if test -n "$STRIP"; then
   2555   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2556 else
   2557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2558 for as_dir in $PATH
   2559 do
   2560   IFS=$as_save_IFS
   2561   test -z "$as_dir" && as_dir=.
   2562     for ac_exec_ext in '' $ac_executable_extensions; do
   2563   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2564     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2565     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2566     break 2
   2567   fi
   2568 done
   2569   done
   2570 IFS=$as_save_IFS
   2571 
   2572 fi
   2573 fi
   2574 STRIP=$ac_cv_prog_STRIP
   2575 if test -n "$STRIP"; then
   2576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2577 $as_echo "$STRIP" >&6; }
   2578 else
   2579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2580 $as_echo "no" >&6; }
   2581 fi
   2582 
   2583 
   2584 fi
   2585 if test -z "$ac_cv_prog_STRIP"; then
   2586   ac_ct_STRIP=$STRIP
   2587   # Extract the first word of "strip", so it can be a program name with args.
   2588 set dummy strip; ac_word=$2
   2589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2590 $as_echo_n "checking for $ac_word... " >&6; }
   2591 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2592   $as_echo_n "(cached) " >&6
   2593 else
   2594   if test -n "$ac_ct_STRIP"; then
   2595   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2596 else
   2597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2598 for as_dir in $PATH
   2599 do
   2600   IFS=$as_save_IFS
   2601   test -z "$as_dir" && as_dir=.
   2602     for ac_exec_ext in '' $ac_executable_extensions; do
   2603   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2604     ac_cv_prog_ac_ct_STRIP="strip"
   2605     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2606     break 2
   2607   fi
   2608 done
   2609   done
   2610 IFS=$as_save_IFS
   2611 
   2612 fi
   2613 fi
   2614 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2615 if test -n "$ac_ct_STRIP"; then
   2616   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2617 $as_echo "$ac_ct_STRIP" >&6; }
   2618 else
   2619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2620 $as_echo "no" >&6; }
   2621 fi
   2622 
   2623   if test "x$ac_ct_STRIP" = x; then
   2624     STRIP=":"
   2625   else
   2626     case $cross_compiling:$ac_tool_warned in
   2627 yes:)
   2628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2629 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2630 ac_tool_warned=yes ;;
   2631 esac
   2632     STRIP=$ac_ct_STRIP
   2633   fi
   2634 else
   2635   STRIP="$ac_cv_prog_STRIP"
   2636 fi
   2637 
   2638 fi
   2639 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2640 
   2641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2642 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2643 if test -z "$MKDIR_P"; then
   2644   if ${ac_cv_path_mkdir+:} false; then :
   2645   $as_echo_n "(cached) " >&6
   2646 else
   2647   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2648 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2649 do
   2650   IFS=$as_save_IFS
   2651   test -z "$as_dir" && as_dir=.
   2652     for ac_prog in mkdir gmkdir; do
   2653 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2654 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2655 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2656 	     'mkdir (GNU coreutils) '* | \
   2657 	     'mkdir (coreutils) '* | \
   2658 	     'mkdir (fileutils) '4.1*)
   2659 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2660 	       break 3;;
   2661 	   esac
   2662 	 done
   2663        done
   2664   done
   2665 IFS=$as_save_IFS
   2666 
   2667 fi
   2668 
   2669   test -d ./--version && rmdir ./--version
   2670   if test "${ac_cv_path_mkdir+set}" = set; then
   2671     MKDIR_P="$ac_cv_path_mkdir -p"
   2672   else
   2673     # As a last resort, use the slow shell script.  Don't cache a
   2674     # value for MKDIR_P within a source directory, because that will
   2675     # break other packages using the cache if that directory is
   2676     # removed, or if the value is a relative name.
   2677     MKDIR_P="$ac_install_sh -d"
   2678   fi
   2679 fi
   2680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2681 $as_echo "$MKDIR_P" >&6; }
   2682 
   2683 mkdir_p="$MKDIR_P"
   2684 case $mkdir_p in
   2685   [\\/$]* | ?:[\\/]*) ;;
   2686   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2687 esac
   2688 
   2689 for ac_prog in gawk mawk nawk awk
   2690 do
   2691   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2692 set dummy $ac_prog; ac_word=$2
   2693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2694 $as_echo_n "checking for $ac_word... " >&6; }
   2695 if ${ac_cv_prog_AWK+:} false; then :
   2696   $as_echo_n "(cached) " >&6
   2697 else
   2698   if test -n "$AWK"; then
   2699   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2700 else
   2701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2702 for as_dir in $PATH
   2703 do
   2704   IFS=$as_save_IFS
   2705   test -z "$as_dir" && as_dir=.
   2706     for ac_exec_ext in '' $ac_executable_extensions; do
   2707   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2708     ac_cv_prog_AWK="$ac_prog"
   2709     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2710     break 2
   2711   fi
   2712 done
   2713   done
   2714 IFS=$as_save_IFS
   2715 
   2716 fi
   2717 fi
   2718 AWK=$ac_cv_prog_AWK
   2719 if test -n "$AWK"; then
   2720   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2721 $as_echo "$AWK" >&6; }
   2722 else
   2723   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2724 $as_echo "no" >&6; }
   2725 fi
   2726 
   2727 
   2728   test -n "$AWK" && break
   2729 done
   2730 
   2731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2732 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2733 set x ${MAKE-make}
   2734 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2735 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2736   $as_echo_n "(cached) " >&6
   2737 else
   2738   cat >conftest.make <<\_ACEOF
   2739 SHELL = /bin/sh
   2740 all:
   2741 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2742 _ACEOF
   2743 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2744 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2745   *@@@%%%=?*=@@@%%%*)
   2746     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2747   *)
   2748     eval ac_cv_prog_make_${ac_make}_set=no;;
   2749 esac
   2750 rm -f conftest.make
   2751 fi
   2752 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2754 $as_echo "yes" >&6; }
   2755   SET_MAKE=
   2756 else
   2757   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2758 $as_echo "no" >&6; }
   2759   SET_MAKE="MAKE=${MAKE-make}"
   2760 fi
   2761 
   2762 rm -rf .tst 2>/dev/null
   2763 mkdir .tst 2>/dev/null
   2764 if test -d .tst; then
   2765   am__leading_dot=.
   2766 else
   2767   am__leading_dot=_
   2768 fi
   2769 rmdir .tst 2>/dev/null
   2770 
   2771 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2772   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2773   # is not polluted with repeated "-I."
   2774   am__isrc=' -I$(srcdir)'
   2775   # test to see if srcdir already configured
   2776   if test -f $srcdir/config.status; then
   2777     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2778   fi
   2779 fi
   2780 
   2781 # test whether we have cygpath
   2782 if test -z "$CYGPATH_W"; then
   2783   if (cygpath --version) >/dev/null 2>/dev/null; then
   2784     CYGPATH_W='cygpath -w'
   2785   else
   2786     CYGPATH_W=echo
   2787   fi
   2788 fi
   2789 
   2790 
   2791 # Define the identity of the package.
   2792  PACKAGE='xf86-video-sis'
   2793  VERSION='0.10.7'
   2794 
   2795 
   2796 cat >>confdefs.h <<_ACEOF
   2797 #define PACKAGE "$PACKAGE"
   2798 _ACEOF
   2799 
   2800 
   2801 cat >>confdefs.h <<_ACEOF
   2802 #define VERSION "$VERSION"
   2803 _ACEOF
   2804 
   2805 # Some tools Automake needs.
   2806 
   2807 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2808 
   2809 
   2810 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2811 
   2812 
   2813 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2814 
   2815 
   2816 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2817 
   2818 
   2819 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2820 
   2821 # We need awk for the "check" target.  The system "awk" is bad on
   2822 # some platforms.
   2823 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2824 # in the wild :-(  We should find a proper way to deprecate it ...
   2825 AMTAR='$${TAR-tar}'
   2826 
   2827 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2828 
   2829 
   2830 
   2831 
   2832 
   2833 
   2834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2835 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2836     # Check whether --enable-maintainer-mode was given.
   2837 if test "${enable_maintainer_mode+set}" = set; then :
   2838   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2839 else
   2840   USE_MAINTAINER_MODE=no
   2841 fi
   2842 
   2843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   2844 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2845    if test $USE_MAINTAINER_MODE = yes; then
   2846   MAINTAINER_MODE_TRUE=
   2847   MAINTAINER_MODE_FALSE='#'
   2848 else
   2849   MAINTAINER_MODE_TRUE='#'
   2850   MAINTAINER_MODE_FALSE=
   2851 fi
   2852 
   2853   MAINT=$MAINTAINER_MODE_TRUE
   2854 
   2855 
   2856 
   2857 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2858 
   2859 
   2860 
   2861 
   2862 
   2863 
   2864 
   2865 
   2866 
   2867 
   2868 
   2869 DEPDIR="${am__leading_dot}deps"
   2870 
   2871 ac_config_commands="$ac_config_commands depfiles"
   2872 
   2873 
   2874 am_make=${MAKE-make}
   2875 cat > confinc << 'END'
   2876 am__doit:
   2877 	@echo this is the am__doit target
   2878 .PHONY: am__doit
   2879 END
   2880 # If we don't find an include directive, just comment out the code.
   2881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2882 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2883 am__include="#"
   2884 am__quote=
   2885 _am_result=none
   2886 # First try GNU make style include.
   2887 echo "include confinc" > confmf
   2888 # Ignore all kinds of additional output from `make'.
   2889 case `$am_make -s -f confmf 2> /dev/null` in #(
   2890 *the\ am__doit\ target*)
   2891   am__include=include
   2892   am__quote=
   2893   _am_result=GNU
   2894   ;;
   2895 esac
   2896 # Now try BSD make style include.
   2897 if test "$am__include" = "#"; then
   2898    echo '.include "confinc"' > confmf
   2899    case `$am_make -s -f confmf 2> /dev/null` in #(
   2900    *the\ am__doit\ target*)
   2901      am__include=.include
   2902      am__quote="\""
   2903      _am_result=BSD
   2904      ;;
   2905    esac
   2906 fi
   2907 
   2908 
   2909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2910 $as_echo "$_am_result" >&6; }
   2911 rm -f confinc confmf
   2912 
   2913 # Check whether --enable-dependency-tracking was given.
   2914 if test "${enable_dependency_tracking+set}" = set; then :
   2915   enableval=$enable_dependency_tracking;
   2916 fi
   2917 
   2918 if test "x$enable_dependency_tracking" != xno; then
   2919   am_depcomp="$ac_aux_dir/depcomp"
   2920   AMDEPBACKSLASH='\'
   2921   am__nodep='_no'
   2922 fi
   2923  if test "x$enable_dependency_tracking" != xno; then
   2924   AMDEP_TRUE=
   2925   AMDEP_FALSE='#'
   2926 else
   2927   AMDEP_TRUE='#'
   2928   AMDEP_FALSE=
   2929 fi
   2930 
   2931 
   2932 ac_ext=c
   2933 ac_cpp='$CPP $CPPFLAGS'
   2934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2937 if test -n "$ac_tool_prefix"; then
   2938   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2939 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2941 $as_echo_n "checking for $ac_word... " >&6; }
   2942 if ${ac_cv_prog_CC+:} false; then :
   2943   $as_echo_n "(cached) " >&6
   2944 else
   2945   if test -n "$CC"; then
   2946   ac_cv_prog_CC="$CC" # Let the user override the test.
   2947 else
   2948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2949 for as_dir in $PATH
   2950 do
   2951   IFS=$as_save_IFS
   2952   test -z "$as_dir" && as_dir=.
   2953     for ac_exec_ext in '' $ac_executable_extensions; do
   2954   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2955     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2956     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2957     break 2
   2958   fi
   2959 done
   2960   done
   2961 IFS=$as_save_IFS
   2962 
   2963 fi
   2964 fi
   2965 CC=$ac_cv_prog_CC
   2966 if test -n "$CC"; then
   2967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2968 $as_echo "$CC" >&6; }
   2969 else
   2970   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2971 $as_echo "no" >&6; }
   2972 fi
   2973 
   2974 
   2975 fi
   2976 if test -z "$ac_cv_prog_CC"; then
   2977   ac_ct_CC=$CC
   2978   # Extract the first word of "gcc", so it can be a program name with args.
   2979 set dummy gcc; ac_word=$2
   2980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2981 $as_echo_n "checking for $ac_word... " >&6; }
   2982 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2983   $as_echo_n "(cached) " >&6
   2984 else
   2985   if test -n "$ac_ct_CC"; then
   2986   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2987 else
   2988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2989 for as_dir in $PATH
   2990 do
   2991   IFS=$as_save_IFS
   2992   test -z "$as_dir" && as_dir=.
   2993     for ac_exec_ext in '' $ac_executable_extensions; do
   2994   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2995     ac_cv_prog_ac_ct_CC="gcc"
   2996     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2997     break 2
   2998   fi
   2999 done
   3000   done
   3001 IFS=$as_save_IFS
   3002 
   3003 fi
   3004 fi
   3005 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3006 if test -n "$ac_ct_CC"; then
   3007   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3008 $as_echo "$ac_ct_CC" >&6; }
   3009 else
   3010   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3011 $as_echo "no" >&6; }
   3012 fi
   3013 
   3014   if test "x$ac_ct_CC" = x; then
   3015     CC=""
   3016   else
   3017     case $cross_compiling:$ac_tool_warned in
   3018 yes:)
   3019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3020 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3021 ac_tool_warned=yes ;;
   3022 esac
   3023     CC=$ac_ct_CC
   3024   fi
   3025 else
   3026   CC="$ac_cv_prog_CC"
   3027 fi
   3028 
   3029 if test -z "$CC"; then
   3030           if test -n "$ac_tool_prefix"; then
   3031     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3032 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3034 $as_echo_n "checking for $ac_word... " >&6; }
   3035 if ${ac_cv_prog_CC+:} false; then :
   3036   $as_echo_n "(cached) " >&6
   3037 else
   3038   if test -n "$CC"; then
   3039   ac_cv_prog_CC="$CC" # Let the user override the test.
   3040 else
   3041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3042 for as_dir in $PATH
   3043 do
   3044   IFS=$as_save_IFS
   3045   test -z "$as_dir" && as_dir=.
   3046     for ac_exec_ext in '' $ac_executable_extensions; do
   3047   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3048     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3049     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3050     break 2
   3051   fi
   3052 done
   3053   done
   3054 IFS=$as_save_IFS
   3055 
   3056 fi
   3057 fi
   3058 CC=$ac_cv_prog_CC
   3059 if test -n "$CC"; then
   3060   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3061 $as_echo "$CC" >&6; }
   3062 else
   3063   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3064 $as_echo "no" >&6; }
   3065 fi
   3066 
   3067 
   3068   fi
   3069 fi
   3070 if test -z "$CC"; then
   3071   # Extract the first word of "cc", so it can be a program name with args.
   3072 set dummy cc; ac_word=$2
   3073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3074 $as_echo_n "checking for $ac_word... " >&6; }
   3075 if ${ac_cv_prog_CC+:} false; then :
   3076   $as_echo_n "(cached) " >&6
   3077 else
   3078   if test -n "$CC"; then
   3079   ac_cv_prog_CC="$CC" # Let the user override the test.
   3080 else
   3081   ac_prog_rejected=no
   3082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3083 for as_dir in $PATH
   3084 do
   3085   IFS=$as_save_IFS
   3086   test -z "$as_dir" && as_dir=.
   3087     for ac_exec_ext in '' $ac_executable_extensions; do
   3088   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3089     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3090        ac_prog_rejected=yes
   3091        continue
   3092      fi
   3093     ac_cv_prog_CC="cc"
   3094     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3095     break 2
   3096   fi
   3097 done
   3098   done
   3099 IFS=$as_save_IFS
   3100 
   3101 if test $ac_prog_rejected = yes; then
   3102   # We found a bogon in the path, so make sure we never use it.
   3103   set dummy $ac_cv_prog_CC
   3104   shift
   3105   if test $# != 0; then
   3106     # We chose a different compiler from the bogus one.
   3107     # However, it has the same basename, so the bogon will be chosen
   3108     # first if we set CC to just the basename; use the full file name.
   3109     shift
   3110     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3111   fi
   3112 fi
   3113 fi
   3114 fi
   3115 CC=$ac_cv_prog_CC
   3116 if test -n "$CC"; then
   3117   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3118 $as_echo "$CC" >&6; }
   3119 else
   3120   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3121 $as_echo "no" >&6; }
   3122 fi
   3123 
   3124 
   3125 fi
   3126 if test -z "$CC"; then
   3127   if test -n "$ac_tool_prefix"; then
   3128   for ac_prog in cl.exe
   3129   do
   3130     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3131 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3133 $as_echo_n "checking for $ac_word... " >&6; }
   3134 if ${ac_cv_prog_CC+:} false; then :
   3135   $as_echo_n "(cached) " >&6
   3136 else
   3137   if test -n "$CC"; then
   3138   ac_cv_prog_CC="$CC" # Let the user override the test.
   3139 else
   3140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3141 for as_dir in $PATH
   3142 do
   3143   IFS=$as_save_IFS
   3144   test -z "$as_dir" && as_dir=.
   3145     for ac_exec_ext in '' $ac_executable_extensions; do
   3146   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3147     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3148     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3149     break 2
   3150   fi
   3151 done
   3152   done
   3153 IFS=$as_save_IFS
   3154 
   3155 fi
   3156 fi
   3157 CC=$ac_cv_prog_CC
   3158 if test -n "$CC"; then
   3159   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3160 $as_echo "$CC" >&6; }
   3161 else
   3162   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3163 $as_echo "no" >&6; }
   3164 fi
   3165 
   3166 
   3167     test -n "$CC" && break
   3168   done
   3169 fi
   3170 if test -z "$CC"; then
   3171   ac_ct_CC=$CC
   3172   for ac_prog in cl.exe
   3173 do
   3174   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3175 set dummy $ac_prog; ac_word=$2
   3176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3177 $as_echo_n "checking for $ac_word... " >&6; }
   3178 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3179   $as_echo_n "(cached) " >&6
   3180 else
   3181   if test -n "$ac_ct_CC"; then
   3182   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3183 else
   3184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3185 for as_dir in $PATH
   3186 do
   3187   IFS=$as_save_IFS
   3188   test -z "$as_dir" && as_dir=.
   3189     for ac_exec_ext in '' $ac_executable_extensions; do
   3190   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3191     ac_cv_prog_ac_ct_CC="$ac_prog"
   3192     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3193     break 2
   3194   fi
   3195 done
   3196   done
   3197 IFS=$as_save_IFS
   3198 
   3199 fi
   3200 fi
   3201 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3202 if test -n "$ac_ct_CC"; then
   3203   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3204 $as_echo "$ac_ct_CC" >&6; }
   3205 else
   3206   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3207 $as_echo "no" >&6; }
   3208 fi
   3209 
   3210 
   3211   test -n "$ac_ct_CC" && break
   3212 done
   3213 
   3214   if test "x$ac_ct_CC" = x; then
   3215     CC=""
   3216   else
   3217     case $cross_compiling:$ac_tool_warned in
   3218 yes:)
   3219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3220 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3221 ac_tool_warned=yes ;;
   3222 esac
   3223     CC=$ac_ct_CC
   3224   fi
   3225 fi
   3226 
   3227 fi
   3228 
   3229 
   3230 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3231 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3232 as_fn_error $? "no acceptable C compiler found in \$PATH
   3233 See \`config.log' for more details" "$LINENO" 5; }
   3234 
   3235 # Provide some information about the compiler.
   3236 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3237 set X $ac_compile
   3238 ac_compiler=$2
   3239 for ac_option in --version -v -V -qversion; do
   3240   { { ac_try="$ac_compiler $ac_option >&5"
   3241 case "(($ac_try" in
   3242   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3243   *) ac_try_echo=$ac_try;;
   3244 esac
   3245 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3246 $as_echo "$ac_try_echo"; } >&5
   3247   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3248   ac_status=$?
   3249   if test -s conftest.err; then
   3250     sed '10a\
   3251 ... rest of stderr output deleted ...
   3252          10q' conftest.err >conftest.er1
   3253     cat conftest.er1 >&5
   3254   fi
   3255   rm -f conftest.er1 conftest.err
   3256   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3257   test $ac_status = 0; }
   3258 done
   3259 
   3260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3261 /* end confdefs.h.  */
   3262 
   3263 int
   3264 main ()
   3265 {
   3266 
   3267   ;
   3268   return 0;
   3269 }
   3270 _ACEOF
   3271 ac_clean_files_save=$ac_clean_files
   3272 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3273 # Try to create an executable without -o first, disregard a.out.
   3274 # It will help us diagnose broken compilers, and finding out an intuition
   3275 # of exeext.
   3276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3277 $as_echo_n "checking whether the C compiler works... " >&6; }
   3278 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3279 
   3280 # The possible output files:
   3281 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3282 
   3283 ac_rmfiles=
   3284 for ac_file in $ac_files
   3285 do
   3286   case $ac_file in
   3287     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3288     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3289   esac
   3290 done
   3291 rm -f $ac_rmfiles
   3292 
   3293 if { { ac_try="$ac_link_default"
   3294 case "(($ac_try" in
   3295   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3296   *) ac_try_echo=$ac_try;;
   3297 esac
   3298 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3299 $as_echo "$ac_try_echo"; } >&5
   3300   (eval "$ac_link_default") 2>&5
   3301   ac_status=$?
   3302   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3303   test $ac_status = 0; }; then :
   3304   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3305 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3306 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3307 # so that the user can short-circuit this test for compilers unknown to
   3308 # Autoconf.
   3309 for ac_file in $ac_files ''
   3310 do
   3311   test -f "$ac_file" || continue
   3312   case $ac_file in
   3313     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3314 	;;
   3315     [ab].out )
   3316 	# We found the default executable, but exeext='' is most
   3317 	# certainly right.
   3318 	break;;
   3319     *.* )
   3320 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3321 	then :; else
   3322 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3323 	fi
   3324 	# We set ac_cv_exeext here because the later test for it is not
   3325 	# safe: cross compilers may not add the suffix if given an `-o'
   3326 	# argument, so we may need to know it at that point already.
   3327 	# Even if this section looks crufty: it has the advantage of
   3328 	# actually working.
   3329 	break;;
   3330     * )
   3331 	break;;
   3332   esac
   3333 done
   3334 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3335 
   3336 else
   3337   ac_file=''
   3338 fi
   3339 if test -z "$ac_file"; then :
   3340   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3341 $as_echo "no" >&6; }
   3342 $as_echo "$as_me: failed program was:" >&5
   3343 sed 's/^/| /' conftest.$ac_ext >&5
   3344 
   3345 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3346 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3347 as_fn_error 77 "C compiler cannot create executables
   3348 See \`config.log' for more details" "$LINENO" 5; }
   3349 else
   3350   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3351 $as_echo "yes" >&6; }
   3352 fi
   3353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3354 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3356 $as_echo "$ac_file" >&6; }
   3357 ac_exeext=$ac_cv_exeext
   3358 
   3359 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3360 ac_clean_files=$ac_clean_files_save
   3361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3362 $as_echo_n "checking for suffix of executables... " >&6; }
   3363 if { { ac_try="$ac_link"
   3364 case "(($ac_try" in
   3365   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3366   *) ac_try_echo=$ac_try;;
   3367 esac
   3368 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3369 $as_echo "$ac_try_echo"; } >&5
   3370   (eval "$ac_link") 2>&5
   3371   ac_status=$?
   3372   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3373   test $ac_status = 0; }; then :
   3374   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3375 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3376 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3377 # `rm'.
   3378 for ac_file in conftest.exe conftest conftest.*; do
   3379   test -f "$ac_file" || continue
   3380   case $ac_file in
   3381     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3382     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3383 	  break;;
   3384     * ) break;;
   3385   esac
   3386 done
   3387 else
   3388   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3389 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3390 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3391 See \`config.log' for more details" "$LINENO" 5; }
   3392 fi
   3393 rm -f conftest conftest$ac_cv_exeext
   3394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3395 $as_echo "$ac_cv_exeext" >&6; }
   3396 
   3397 rm -f conftest.$ac_ext
   3398 EXEEXT=$ac_cv_exeext
   3399 ac_exeext=$EXEEXT
   3400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3401 /* end confdefs.h.  */
   3402 #include <stdio.h>
   3403 int
   3404 main ()
   3405 {
   3406 FILE *f = fopen ("conftest.out", "w");
   3407  return ferror (f) || fclose (f) != 0;
   3408 
   3409   ;
   3410   return 0;
   3411 }
   3412 _ACEOF
   3413 ac_clean_files="$ac_clean_files conftest.out"
   3414 # Check that the compiler produces executables we can run.  If not, either
   3415 # the compiler is broken, or we cross compile.
   3416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3417 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3418 if test "$cross_compiling" != yes; then
   3419   { { ac_try="$ac_link"
   3420 case "(($ac_try" in
   3421   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3422   *) ac_try_echo=$ac_try;;
   3423 esac
   3424 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3425 $as_echo "$ac_try_echo"; } >&5
   3426   (eval "$ac_link") 2>&5
   3427   ac_status=$?
   3428   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3429   test $ac_status = 0; }
   3430   if { ac_try='./conftest$ac_cv_exeext'
   3431   { { case "(($ac_try" in
   3432   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3433   *) ac_try_echo=$ac_try;;
   3434 esac
   3435 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3436 $as_echo "$ac_try_echo"; } >&5
   3437   (eval "$ac_try") 2>&5
   3438   ac_status=$?
   3439   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3440   test $ac_status = 0; }; }; then
   3441     cross_compiling=no
   3442   else
   3443     if test "$cross_compiling" = maybe; then
   3444 	cross_compiling=yes
   3445     else
   3446 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3447 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3448 as_fn_error $? "cannot run C compiled programs.
   3449 If you meant to cross compile, use \`--host'.
   3450 See \`config.log' for more details" "$LINENO" 5; }
   3451     fi
   3452   fi
   3453 fi
   3454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3455 $as_echo "$cross_compiling" >&6; }
   3456 
   3457 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3458 ac_clean_files=$ac_clean_files_save
   3459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3460 $as_echo_n "checking for suffix of object files... " >&6; }
   3461 if ${ac_cv_objext+:} false; then :
   3462   $as_echo_n "(cached) " >&6
   3463 else
   3464   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3465 /* end confdefs.h.  */
   3466 
   3467 int
   3468 main ()
   3469 {
   3470 
   3471   ;
   3472   return 0;
   3473 }
   3474 _ACEOF
   3475 rm -f conftest.o conftest.obj
   3476 if { { ac_try="$ac_compile"
   3477 case "(($ac_try" in
   3478   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3479   *) ac_try_echo=$ac_try;;
   3480 esac
   3481 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3482 $as_echo "$ac_try_echo"; } >&5
   3483   (eval "$ac_compile") 2>&5
   3484   ac_status=$?
   3485   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3486   test $ac_status = 0; }; then :
   3487   for ac_file in conftest.o conftest.obj conftest.*; do
   3488   test -f "$ac_file" || continue;
   3489   case $ac_file in
   3490     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3491     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3492        break;;
   3493   esac
   3494 done
   3495 else
   3496   $as_echo "$as_me: failed program was:" >&5
   3497 sed 's/^/| /' conftest.$ac_ext >&5
   3498 
   3499 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3500 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3501 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3502 See \`config.log' for more details" "$LINENO" 5; }
   3503 fi
   3504 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3505 fi
   3506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3507 $as_echo "$ac_cv_objext" >&6; }
   3508 OBJEXT=$ac_cv_objext
   3509 ac_objext=$OBJEXT
   3510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3511 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3512 if ${ac_cv_c_compiler_gnu+:} false; then :
   3513   $as_echo_n "(cached) " >&6
   3514 else
   3515   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3516 /* end confdefs.h.  */
   3517 
   3518 int
   3519 main ()
   3520 {
   3521 #ifndef __GNUC__
   3522        choke me
   3523 #endif
   3524 
   3525   ;
   3526   return 0;
   3527 }
   3528 _ACEOF
   3529 if ac_fn_c_try_compile "$LINENO"; then :
   3530   ac_compiler_gnu=yes
   3531 else
   3532   ac_compiler_gnu=no
   3533 fi
   3534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3535 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3536 
   3537 fi
   3538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3539 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3540 if test $ac_compiler_gnu = yes; then
   3541   GCC=yes
   3542 else
   3543   GCC=
   3544 fi
   3545 ac_test_CFLAGS=${CFLAGS+set}
   3546 ac_save_CFLAGS=$CFLAGS
   3547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3548 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3549 if ${ac_cv_prog_cc_g+:} false; then :
   3550   $as_echo_n "(cached) " >&6
   3551 else
   3552   ac_save_c_werror_flag=$ac_c_werror_flag
   3553    ac_c_werror_flag=yes
   3554    ac_cv_prog_cc_g=no
   3555    CFLAGS="-g"
   3556    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3557 /* end confdefs.h.  */
   3558 
   3559 int
   3560 main ()
   3561 {
   3562 
   3563   ;
   3564   return 0;
   3565 }
   3566 _ACEOF
   3567 if ac_fn_c_try_compile "$LINENO"; then :
   3568   ac_cv_prog_cc_g=yes
   3569 else
   3570   CFLAGS=""
   3571       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3572 /* end confdefs.h.  */
   3573 
   3574 int
   3575 main ()
   3576 {
   3577 
   3578   ;
   3579   return 0;
   3580 }
   3581 _ACEOF
   3582 if ac_fn_c_try_compile "$LINENO"; then :
   3583 
   3584 else
   3585   ac_c_werror_flag=$ac_save_c_werror_flag
   3586 	 CFLAGS="-g"
   3587 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3588 /* end confdefs.h.  */
   3589 
   3590 int
   3591 main ()
   3592 {
   3593 
   3594   ;
   3595   return 0;
   3596 }
   3597 _ACEOF
   3598 if ac_fn_c_try_compile "$LINENO"; then :
   3599   ac_cv_prog_cc_g=yes
   3600 fi
   3601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3602 fi
   3603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3604 fi
   3605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3606    ac_c_werror_flag=$ac_save_c_werror_flag
   3607 fi
   3608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3609 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3610 if test "$ac_test_CFLAGS" = set; then
   3611   CFLAGS=$ac_save_CFLAGS
   3612 elif test $ac_cv_prog_cc_g = yes; then
   3613   if test "$GCC" = yes; then
   3614     CFLAGS="-g -O2"
   3615   else
   3616     CFLAGS="-g"
   3617   fi
   3618 else
   3619   if test "$GCC" = yes; then
   3620     CFLAGS="-O2"
   3621   else
   3622     CFLAGS=
   3623   fi
   3624 fi
   3625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3626 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3627 if ${ac_cv_prog_cc_c89+:} false; then :
   3628   $as_echo_n "(cached) " >&6
   3629 else
   3630   ac_cv_prog_cc_c89=no
   3631 ac_save_CC=$CC
   3632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3633 /* end confdefs.h.  */
   3634 #include <stdarg.h>
   3635 #include <stdio.h>
   3636 #include <sys/types.h>
   3637 #include <sys/stat.h>
   3638 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3639 struct buf { int x; };
   3640 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3641 static char *e (p, i)
   3642      char **p;
   3643      int i;
   3644 {
   3645   return p[i];
   3646 }
   3647 static char *f (char * (*g) (char **, int), char **p, ...)
   3648 {
   3649   char *s;
   3650   va_list v;
   3651   va_start (v,p);
   3652   s = g (p, va_arg (v,int));
   3653   va_end (v);
   3654   return s;
   3655 }
   3656 
   3657 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3658    function prototypes and stuff, but not '\xHH' hex character constants.
   3659    These don't provoke an error unfortunately, instead are silently treated
   3660    as 'x'.  The following induces an error, until -std is added to get
   3661    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3662    array size at least.  It's necessary to write '\x00'==0 to get something
   3663    that's true only with -std.  */
   3664 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3665 
   3666 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3667    inside strings and character constants.  */
   3668 #define FOO(x) 'x'
   3669 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3670 
   3671 int test (int i, double x);
   3672 struct s1 {int (*f) (int a);};
   3673 struct s2 {int (*f) (double a);};
   3674 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3675 int argc;
   3676 char **argv;
   3677 int
   3678 main ()
   3679 {
   3680 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3681   ;
   3682   return 0;
   3683 }
   3684 _ACEOF
   3685 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3686 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3687 do
   3688   CC="$ac_save_CC $ac_arg"
   3689   if ac_fn_c_try_compile "$LINENO"; then :
   3690   ac_cv_prog_cc_c89=$ac_arg
   3691 fi
   3692 rm -f core conftest.err conftest.$ac_objext
   3693   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3694 done
   3695 rm -f conftest.$ac_ext
   3696 CC=$ac_save_CC
   3697 
   3698 fi
   3699 # AC_CACHE_VAL
   3700 case "x$ac_cv_prog_cc_c89" in
   3701   x)
   3702     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3703 $as_echo "none needed" >&6; } ;;
   3704   xno)
   3705     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3706 $as_echo "unsupported" >&6; } ;;
   3707   *)
   3708     CC="$CC $ac_cv_prog_cc_c89"
   3709     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3710 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3711 esac
   3712 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3713 
   3714 fi
   3715 
   3716 ac_ext=c
   3717 ac_cpp='$CPP $CPPFLAGS'
   3718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3721 
   3722 depcc="$CC"   am_compiler_list=
   3723 
   3724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3725 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3726 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3727   $as_echo_n "(cached) " >&6
   3728 else
   3729   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3730   # We make a subdir and do the tests there.  Otherwise we can end up
   3731   # making bogus files that we don't know about and never remove.  For
   3732   # instance it was reported that on HP-UX the gcc test will end up
   3733   # making a dummy file named `D' -- because `-MD' means `put the output
   3734   # in D'.
   3735   rm -rf conftest.dir
   3736   mkdir conftest.dir
   3737   # Copy depcomp to subdir because otherwise we won't find it if we're
   3738   # using a relative directory.
   3739   cp "$am_depcomp" conftest.dir
   3740   cd conftest.dir
   3741   # We will build objects and dependencies in a subdirectory because
   3742   # it helps to detect inapplicable dependency modes.  For instance
   3743   # both Tru64's cc and ICC support -MD to output dependencies as a
   3744   # side effect of compilation, but ICC will put the dependencies in
   3745   # the current directory while Tru64 will put them in the object
   3746   # directory.
   3747   mkdir sub
   3748 
   3749   am_cv_CC_dependencies_compiler_type=none
   3750   if test "$am_compiler_list" = ""; then
   3751      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3752   fi
   3753   am__universal=false
   3754   case " $depcc " in #(
   3755      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3756      esac
   3757 
   3758   for depmode in $am_compiler_list; do
   3759     # Setup a source with many dependencies, because some compilers
   3760     # like to wrap large dependency lists on column 80 (with \), and
   3761     # we should not choose a depcomp mode which is confused by this.
   3762     #
   3763     # We need to recreate these files for each test, as the compiler may
   3764     # overwrite some of them when testing with obscure command lines.
   3765     # This happens at least with the AIX C compiler.
   3766     : > sub/conftest.c
   3767     for i in 1 2 3 4 5 6; do
   3768       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3769       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3770       # Solaris 8's {/usr,}/bin/sh.
   3771       touch sub/conftst$i.h
   3772     done
   3773     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3774 
   3775     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3776     # mode.  It turns out that the SunPro C++ compiler does not properly
   3777     # handle `-M -o', and we need to detect this.  Also, some Intel
   3778     # versions had trouble with output in subdirs
   3779     am__obj=sub/conftest.${OBJEXT-o}
   3780     am__minus_obj="-o $am__obj"
   3781     case $depmode in
   3782     gcc)
   3783       # This depmode causes a compiler race in universal mode.
   3784       test "$am__universal" = false || continue
   3785       ;;
   3786     nosideeffect)
   3787       # after this tag, mechanisms are not by side-effect, so they'll
   3788       # only be used when explicitly requested
   3789       if test "x$enable_dependency_tracking" = xyes; then
   3790 	continue
   3791       else
   3792 	break
   3793       fi
   3794       ;;
   3795     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3796       # This compiler won't grok `-c -o', but also, the minuso test has
   3797       # not run yet.  These depmodes are late enough in the game, and
   3798       # so weak that their functioning should not be impacted.
   3799       am__obj=conftest.${OBJEXT-o}
   3800       am__minus_obj=
   3801       ;;
   3802     none) break ;;
   3803     esac
   3804     if depmode=$depmode \
   3805        source=sub/conftest.c object=$am__obj \
   3806        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3807        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3808          >/dev/null 2>conftest.err &&
   3809        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3810        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3811        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3812        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3813       # icc doesn't choke on unknown options, it will just issue warnings
   3814       # or remarks (even with -Werror).  So we grep stderr for any message
   3815       # that says an option was ignored or not supported.
   3816       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3817       #   icc: Command line warning: ignoring option '-M'; no argument required
   3818       # The diagnosis changed in icc 8.0:
   3819       #   icc: Command line remark: option '-MP' not supported
   3820       if (grep 'ignoring option' conftest.err ||
   3821           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3822         am_cv_CC_dependencies_compiler_type=$depmode
   3823         break
   3824       fi
   3825     fi
   3826   done
   3827 
   3828   cd ..
   3829   rm -rf conftest.dir
   3830 else
   3831   am_cv_CC_dependencies_compiler_type=none
   3832 fi
   3833 
   3834 fi
   3835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3836 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3837 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3838 
   3839  if
   3840   test "x$enable_dependency_tracking" != xno \
   3841   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3842   am__fastdepCC_TRUE=
   3843   am__fastdepCC_FALSE='#'
   3844 else
   3845   am__fastdepCC_TRUE='#'
   3846   am__fastdepCC_FALSE=
   3847 fi
   3848 
   3849 
   3850    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   3851 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3852 if ${ac_cv_prog_cc_c99+:} false; then :
   3853   $as_echo_n "(cached) " >&6
   3854 else
   3855   ac_cv_prog_cc_c99=no
   3856 ac_save_CC=$CC
   3857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3858 /* end confdefs.h.  */
   3859 #include <stdarg.h>
   3860 #include <stdbool.h>
   3861 #include <stdlib.h>
   3862 #include <wchar.h>
   3863 #include <stdio.h>
   3864 
   3865 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3866 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3867 #define showlist(...) puts (#__VA_ARGS__)
   3868 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3869 static void
   3870 test_varargs_macros (void)
   3871 {
   3872   int x = 1234;
   3873   int y = 5678;
   3874   debug ("Flag");
   3875   debug ("X = %d\n", x);
   3876   showlist (The first, second, and third items.);
   3877   report (x>y, "x is %d but y is %d", x, y);
   3878 }
   3879 
   3880 // Check long long types.
   3881 #define BIG64 18446744073709551615ull
   3882 #define BIG32 4294967295ul
   3883 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3884 #if !BIG_OK
   3885   your preprocessor is broken;
   3886 #endif
   3887 #if BIG_OK
   3888 #else
   3889   your preprocessor is broken;
   3890 #endif
   3891 static long long int bignum = -9223372036854775807LL;
   3892 static unsigned long long int ubignum = BIG64;
   3893 
   3894 struct incomplete_array
   3895 {
   3896   int datasize;
   3897   double data[];
   3898 };
   3899 
   3900 struct named_init {
   3901   int number;
   3902   const wchar_t *name;
   3903   double average;
   3904 };
   3905 
   3906 typedef const char *ccp;
   3907 
   3908 static inline int
   3909 test_restrict (ccp restrict text)
   3910 {
   3911   // See if C++-style comments work.
   3912   // Iterate through items via the restricted pointer.
   3913   // Also check for declarations in for loops.
   3914   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3915     continue;
   3916   return 0;
   3917 }
   3918 
   3919 // Check varargs and va_copy.
   3920 static void
   3921 test_varargs (const char *format, ...)
   3922 {
   3923   va_list args;
   3924   va_start (args, format);
   3925   va_list args_copy;
   3926   va_copy (args_copy, args);
   3927 
   3928   const char *str;
   3929   int number;
   3930   float fnumber;
   3931 
   3932   while (*format)
   3933     {
   3934       switch (*format++)
   3935 	{
   3936 	case 's': // string
   3937 	  str = va_arg (args_copy, const char *);
   3938 	  break;
   3939 	case 'd': // int
   3940 	  number = va_arg (args_copy, int);
   3941 	  break;
   3942 	case 'f': // float
   3943 	  fnumber = va_arg (args_copy, double);
   3944 	  break;
   3945 	default:
   3946 	  break;
   3947 	}
   3948     }
   3949   va_end (args_copy);
   3950   va_end (args);
   3951 }
   3952 
   3953 int
   3954 main ()
   3955 {
   3956 
   3957   // Check bool.
   3958   _Bool success = false;
   3959 
   3960   // Check restrict.
   3961   if (test_restrict ("String literal") == 0)
   3962     success = true;
   3963   char *restrict newvar = "Another string";
   3964 
   3965   // Check varargs.
   3966   test_varargs ("s, d' f .", "string", 65, 34.234);
   3967   test_varargs_macros ();
   3968 
   3969   // Check flexible array members.
   3970   struct incomplete_array *ia =
   3971     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   3972   ia->datasize = 10;
   3973   for (int i = 0; i < ia->datasize; ++i)
   3974     ia->data[i] = i * 1.234;
   3975 
   3976   // Check named initializers.
   3977   struct named_init ni = {
   3978     .number = 34,
   3979     .name = L"Test wide string",
   3980     .average = 543.34343,
   3981   };
   3982 
   3983   ni.number = 58;
   3984 
   3985   int dynamic_array[ni.number];
   3986   dynamic_array[ni.number - 1] = 543;
   3987 
   3988   // work around unused variable warnings
   3989   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   3990 	  || dynamic_array[ni.number - 1] != 543);
   3991 
   3992   ;
   3993   return 0;
   3994 }
   3995 _ACEOF
   3996 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   3997 do
   3998   CC="$ac_save_CC $ac_arg"
   3999   if ac_fn_c_try_compile "$LINENO"; then :
   4000   ac_cv_prog_cc_c99=$ac_arg
   4001 fi
   4002 rm -f core conftest.err conftest.$ac_objext
   4003   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4004 done
   4005 rm -f conftest.$ac_ext
   4006 CC=$ac_save_CC
   4007 
   4008 fi
   4009 # AC_CACHE_VAL
   4010 case "x$ac_cv_prog_cc_c99" in
   4011   x)
   4012     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4013 $as_echo "none needed" >&6; } ;;
   4014   xno)
   4015     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4016 $as_echo "unsupported" >&6; } ;;
   4017   *)
   4018     CC="$CC $ac_cv_prog_cc_c99"
   4019     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4020 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   4021 esac
   4022 if test "x$ac_cv_prog_cc_c99" != xno; then :
   4023 
   4024 fi
   4025 
   4026 
   4027 
   4028 ac_ext=c
   4029 ac_cpp='$CPP $CPPFLAGS'
   4030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4034 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4035 # On Suns, sometimes $CPP names a directory.
   4036 if test -n "$CPP" && test -d "$CPP"; then
   4037   CPP=
   4038 fi
   4039 if test -z "$CPP"; then
   4040   if ${ac_cv_prog_CPP+:} false; then :
   4041   $as_echo_n "(cached) " >&6
   4042 else
   4043       # Double quotes because CPP needs to be expanded
   4044     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4045     do
   4046       ac_preproc_ok=false
   4047 for ac_c_preproc_warn_flag in '' yes
   4048 do
   4049   # Use a header file that comes with gcc, so configuring glibc
   4050   # with a fresh cross-compiler works.
   4051   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4052   # <limits.h> exists even on freestanding compilers.
   4053   # On the NeXT, cc -E runs the code through the compiler's parser,
   4054   # not just through cpp. "Syntax error" is here to catch this case.
   4055   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4056 /* end confdefs.h.  */
   4057 #ifdef __STDC__
   4058 # include <limits.h>
   4059 #else
   4060 # include <assert.h>
   4061 #endif
   4062 		     Syntax error
   4063 _ACEOF
   4064 if ac_fn_c_try_cpp "$LINENO"; then :
   4065 
   4066 else
   4067   # Broken: fails on valid input.
   4068 continue
   4069 fi
   4070 rm -f conftest.err conftest.i conftest.$ac_ext
   4071 
   4072   # OK, works on sane cases.  Now check whether nonexistent headers
   4073   # can be detected and how.
   4074   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4075 /* end confdefs.h.  */
   4076 #include <ac_nonexistent.h>
   4077 _ACEOF
   4078 if ac_fn_c_try_cpp "$LINENO"; then :
   4079   # Broken: success on invalid input.
   4080 continue
   4081 else
   4082   # Passes both tests.
   4083 ac_preproc_ok=:
   4084 break
   4085 fi
   4086 rm -f conftest.err conftest.i conftest.$ac_ext
   4087 
   4088 done
   4089 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4090 rm -f conftest.i conftest.err conftest.$ac_ext
   4091 if $ac_preproc_ok; then :
   4092   break
   4093 fi
   4094 
   4095     done
   4096     ac_cv_prog_CPP=$CPP
   4097 
   4098 fi
   4099   CPP=$ac_cv_prog_CPP
   4100 else
   4101   ac_cv_prog_CPP=$CPP
   4102 fi
   4103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4104 $as_echo "$CPP" >&6; }
   4105 ac_preproc_ok=false
   4106 for ac_c_preproc_warn_flag in '' yes
   4107 do
   4108   # Use a header file that comes with gcc, so configuring glibc
   4109   # with a fresh cross-compiler works.
   4110   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4111   # <limits.h> exists even on freestanding compilers.
   4112   # On the NeXT, cc -E runs the code through the compiler's parser,
   4113   # not just through cpp. "Syntax error" is here to catch this case.
   4114   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4115 /* end confdefs.h.  */
   4116 #ifdef __STDC__
   4117 # include <limits.h>
   4118 #else
   4119 # include <assert.h>
   4120 #endif
   4121 		     Syntax error
   4122 _ACEOF
   4123 if ac_fn_c_try_cpp "$LINENO"; then :
   4124 
   4125 else
   4126   # Broken: fails on valid input.
   4127 continue
   4128 fi
   4129 rm -f conftest.err conftest.i conftest.$ac_ext
   4130 
   4131   # OK, works on sane cases.  Now check whether nonexistent headers
   4132   # can be detected and how.
   4133   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4134 /* end confdefs.h.  */
   4135 #include <ac_nonexistent.h>
   4136 _ACEOF
   4137 if ac_fn_c_try_cpp "$LINENO"; then :
   4138   # Broken: success on invalid input.
   4139 continue
   4140 else
   4141   # Passes both tests.
   4142 ac_preproc_ok=:
   4143 break
   4144 fi
   4145 rm -f conftest.err conftest.i conftest.$ac_ext
   4146 
   4147 done
   4148 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4149 rm -f conftest.i conftest.err conftest.$ac_ext
   4150 if $ac_preproc_ok; then :
   4151 
   4152 else
   4153   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4154 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4155 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4156 See \`config.log' for more details" "$LINENO" 5; }
   4157 fi
   4158 
   4159 ac_ext=c
   4160 ac_cpp='$CPP $CPPFLAGS'
   4161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4164 
   4165 
   4166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4167 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4168 if ${ac_cv_path_GREP+:} false; then :
   4169   $as_echo_n "(cached) " >&6
   4170 else
   4171   if test -z "$GREP"; then
   4172   ac_path_GREP_found=false
   4173   # Loop through the user's path and test for each of PROGNAME-LIST
   4174   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4175 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4176 do
   4177   IFS=$as_save_IFS
   4178   test -z "$as_dir" && as_dir=.
   4179     for ac_prog in grep ggrep; do
   4180     for ac_exec_ext in '' $ac_executable_extensions; do
   4181       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4182       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4183 # Check for GNU ac_path_GREP and select it if it is found.
   4184   # Check for GNU $ac_path_GREP
   4185 case `"$ac_path_GREP" --version 2>&1` in
   4186 *GNU*)
   4187   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4188 *)
   4189   ac_count=0
   4190   $as_echo_n 0123456789 >"conftest.in"
   4191   while :
   4192   do
   4193     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4194     mv "conftest.tmp" "conftest.in"
   4195     cp "conftest.in" "conftest.nl"
   4196     $as_echo 'GREP' >> "conftest.nl"
   4197     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4198     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4199     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4200     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4201       # Best one so far, save it but keep looking for a better one
   4202       ac_cv_path_GREP="$ac_path_GREP"
   4203       ac_path_GREP_max=$ac_count
   4204     fi
   4205     # 10*(2^10) chars as input seems more than enough
   4206     test $ac_count -gt 10 && break
   4207   done
   4208   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4209 esac
   4210 
   4211       $ac_path_GREP_found && break 3
   4212     done
   4213   done
   4214   done
   4215 IFS=$as_save_IFS
   4216   if test -z "$ac_cv_path_GREP"; then
   4217     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4218   fi
   4219 else
   4220   ac_cv_path_GREP=$GREP
   4221 fi
   4222 
   4223 fi
   4224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4225 $as_echo "$ac_cv_path_GREP" >&6; }
   4226  GREP="$ac_cv_path_GREP"
   4227 
   4228 
   4229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4230 $as_echo_n "checking for egrep... " >&6; }
   4231 if ${ac_cv_path_EGREP+:} false; then :
   4232   $as_echo_n "(cached) " >&6
   4233 else
   4234   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4235    then ac_cv_path_EGREP="$GREP -E"
   4236    else
   4237      if test -z "$EGREP"; then
   4238   ac_path_EGREP_found=false
   4239   # Loop through the user's path and test for each of PROGNAME-LIST
   4240   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4241 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4242 do
   4243   IFS=$as_save_IFS
   4244   test -z "$as_dir" && as_dir=.
   4245     for ac_prog in egrep; do
   4246     for ac_exec_ext in '' $ac_executable_extensions; do
   4247       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4248       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4249 # Check for GNU ac_path_EGREP and select it if it is found.
   4250   # Check for GNU $ac_path_EGREP
   4251 case `"$ac_path_EGREP" --version 2>&1` in
   4252 *GNU*)
   4253   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4254 *)
   4255   ac_count=0
   4256   $as_echo_n 0123456789 >"conftest.in"
   4257   while :
   4258   do
   4259     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4260     mv "conftest.tmp" "conftest.in"
   4261     cp "conftest.in" "conftest.nl"
   4262     $as_echo 'EGREP' >> "conftest.nl"
   4263     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4264     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4265     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4266     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4267       # Best one so far, save it but keep looking for a better one
   4268       ac_cv_path_EGREP="$ac_path_EGREP"
   4269       ac_path_EGREP_max=$ac_count
   4270     fi
   4271     # 10*(2^10) chars as input seems more than enough
   4272     test $ac_count -gt 10 && break
   4273   done
   4274   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4275 esac
   4276 
   4277       $ac_path_EGREP_found && break 3
   4278     done
   4279   done
   4280   done
   4281 IFS=$as_save_IFS
   4282   if test -z "$ac_cv_path_EGREP"; then
   4283     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4284   fi
   4285 else
   4286   ac_cv_path_EGREP=$EGREP
   4287 fi
   4288 
   4289    fi
   4290 fi
   4291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4292 $as_echo "$ac_cv_path_EGREP" >&6; }
   4293  EGREP="$ac_cv_path_EGREP"
   4294 
   4295 
   4296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4297 $as_echo_n "checking for ANSI C header files... " >&6; }
   4298 if ${ac_cv_header_stdc+:} false; then :
   4299   $as_echo_n "(cached) " >&6
   4300 else
   4301   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4302 /* end confdefs.h.  */
   4303 #include <stdlib.h>
   4304 #include <stdarg.h>
   4305 #include <string.h>
   4306 #include <float.h>
   4307 
   4308 int
   4309 main ()
   4310 {
   4311 
   4312   ;
   4313   return 0;
   4314 }
   4315 _ACEOF
   4316 if ac_fn_c_try_compile "$LINENO"; then :
   4317   ac_cv_header_stdc=yes
   4318 else
   4319   ac_cv_header_stdc=no
   4320 fi
   4321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4322 
   4323 if test $ac_cv_header_stdc = yes; then
   4324   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4325   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4326 /* end confdefs.h.  */
   4327 #include <string.h>
   4328 
   4329 _ACEOF
   4330 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4331   $EGREP "memchr" >/dev/null 2>&1; then :
   4332 
   4333 else
   4334   ac_cv_header_stdc=no
   4335 fi
   4336 rm -f conftest*
   4337 
   4338 fi
   4339 
   4340 if test $ac_cv_header_stdc = yes; then
   4341   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4342   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4343 /* end confdefs.h.  */
   4344 #include <stdlib.h>
   4345 
   4346 _ACEOF
   4347 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4348   $EGREP "free" >/dev/null 2>&1; then :
   4349 
   4350 else
   4351   ac_cv_header_stdc=no
   4352 fi
   4353 rm -f conftest*
   4354 
   4355 fi
   4356 
   4357 if test $ac_cv_header_stdc = yes; then
   4358   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4359   if test "$cross_compiling" = yes; then :
   4360   :
   4361 else
   4362   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4363 /* end confdefs.h.  */
   4364 #include <ctype.h>
   4365 #include <stdlib.h>
   4366 #if ((' ' & 0x0FF) == 0x020)
   4367 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4368 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4369 #else
   4370 # define ISLOWER(c) \
   4371 		   (('a' <= (c) && (c) <= 'i') \
   4372 		     || ('j' <= (c) && (c) <= 'r') \
   4373 		     || ('s' <= (c) && (c) <= 'z'))
   4374 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4375 #endif
   4376 
   4377 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4378 int
   4379 main ()
   4380 {
   4381   int i;
   4382   for (i = 0; i < 256; i++)
   4383     if (XOR (islower (i), ISLOWER (i))
   4384 	|| toupper (i) != TOUPPER (i))
   4385       return 2;
   4386   return 0;
   4387 }
   4388 _ACEOF
   4389 if ac_fn_c_try_run "$LINENO"; then :
   4390 
   4391 else
   4392   ac_cv_header_stdc=no
   4393 fi
   4394 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4395   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4396 fi
   4397 
   4398 fi
   4399 fi
   4400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4401 $as_echo "$ac_cv_header_stdc" >&6; }
   4402 if test $ac_cv_header_stdc = yes; then
   4403 
   4404 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4405 
   4406 fi
   4407 
   4408 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4409 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4410 		  inttypes.h stdint.h unistd.h
   4411 do :
   4412   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4413 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4414 "
   4415 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4416   cat >>confdefs.h <<_ACEOF
   4417 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4418 _ACEOF
   4419 
   4420 fi
   4421 
   4422 done
   4423 
   4424 
   4425 
   4426 
   4427 
   4428 
   4429 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4430 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4431   CLANGCC="yes"
   4432 else
   4433   CLANGCC="no"
   4434 fi
   4435 
   4436 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4437 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4438   INTELCC="yes"
   4439 else
   4440   INTELCC="no"
   4441 fi
   4442 
   4443 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4444 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4445   SUNCC="yes"
   4446 else
   4447   SUNCC="no"
   4448 fi
   4449 
   4450 
   4451 
   4452 
   4453 
   4454 
   4455 
   4456 
   4457 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4458 	if test -n "$ac_tool_prefix"; then
   4459   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4460 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4462 $as_echo_n "checking for $ac_word... " >&6; }
   4463 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4464   $as_echo_n "(cached) " >&6
   4465 else
   4466   case $PKG_CONFIG in
   4467   [\\/]* | ?:[\\/]*)
   4468   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4469   ;;
   4470   *)
   4471   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4472 for as_dir in $PATH
   4473 do
   4474   IFS=$as_save_IFS
   4475   test -z "$as_dir" && as_dir=.
   4476     for ac_exec_ext in '' $ac_executable_extensions; do
   4477   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4478     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4479     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4480     break 2
   4481   fi
   4482 done
   4483   done
   4484 IFS=$as_save_IFS
   4485 
   4486   ;;
   4487 esac
   4488 fi
   4489 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4490 if test -n "$PKG_CONFIG"; then
   4491   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4492 $as_echo "$PKG_CONFIG" >&6; }
   4493 else
   4494   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4495 $as_echo "no" >&6; }
   4496 fi
   4497 
   4498 
   4499 fi
   4500 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4501   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4502   # Extract the first word of "pkg-config", so it can be a program name with args.
   4503 set dummy pkg-config; ac_word=$2
   4504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4505 $as_echo_n "checking for $ac_word... " >&6; }
   4506 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4507   $as_echo_n "(cached) " >&6
   4508 else
   4509   case $ac_pt_PKG_CONFIG in
   4510   [\\/]* | ?:[\\/]*)
   4511   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4512   ;;
   4513   *)
   4514   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4515 for as_dir in $PATH
   4516 do
   4517   IFS=$as_save_IFS
   4518   test -z "$as_dir" && as_dir=.
   4519     for ac_exec_ext in '' $ac_executable_extensions; do
   4520   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4521     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4522     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4523     break 2
   4524   fi
   4525 done
   4526   done
   4527 IFS=$as_save_IFS
   4528 
   4529   ;;
   4530 esac
   4531 fi
   4532 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4533 if test -n "$ac_pt_PKG_CONFIG"; then
   4534   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4535 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4536 else
   4537   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4538 $as_echo "no" >&6; }
   4539 fi
   4540 
   4541   if test "x$ac_pt_PKG_CONFIG" = x; then
   4542     PKG_CONFIG=""
   4543   else
   4544     case $cross_compiling:$ac_tool_warned in
   4545 yes:)
   4546 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4547 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4548 ac_tool_warned=yes ;;
   4549 esac
   4550     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4551   fi
   4552 else
   4553   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4554 fi
   4555 
   4556 fi
   4557 if test -n "$PKG_CONFIG"; then
   4558 	_pkg_min_version=0.9.0
   4559 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4560 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4561 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4562 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4563 $as_echo "yes" >&6; }
   4564 	else
   4565 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4566 $as_echo "no" >&6; }
   4567 		PKG_CONFIG=""
   4568 	fi
   4569 fi
   4570 # Make sure we can run config.sub.
   4571 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4572   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4573 
   4574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4575 $as_echo_n "checking build system type... " >&6; }
   4576 if ${ac_cv_build+:} false; then :
   4577   $as_echo_n "(cached) " >&6
   4578 else
   4579   ac_build_alias=$build_alias
   4580 test "x$ac_build_alias" = x &&
   4581   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4582 test "x$ac_build_alias" = x &&
   4583   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4584 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4585   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4586 
   4587 fi
   4588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4589 $as_echo "$ac_cv_build" >&6; }
   4590 case $ac_cv_build in
   4591 *-*-*) ;;
   4592 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4593 esac
   4594 build=$ac_cv_build
   4595 ac_save_IFS=$IFS; IFS='-'
   4596 set x $ac_cv_build
   4597 shift
   4598 build_cpu=$1
   4599 build_vendor=$2
   4600 shift; shift
   4601 # Remember, the first character of IFS is used to create $*,
   4602 # except with old shells:
   4603 build_os=$*
   4604 IFS=$ac_save_IFS
   4605 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4606 
   4607 
   4608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4609 $as_echo_n "checking host system type... " >&6; }
   4610 if ${ac_cv_host+:} false; then :
   4611   $as_echo_n "(cached) " >&6
   4612 else
   4613   if test "x$host_alias" = x; then
   4614   ac_cv_host=$ac_cv_build
   4615 else
   4616   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4617     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4618 fi
   4619 
   4620 fi
   4621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4622 $as_echo "$ac_cv_host" >&6; }
   4623 case $ac_cv_host in
   4624 *-*-*) ;;
   4625 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4626 esac
   4627 host=$ac_cv_host
   4628 ac_save_IFS=$IFS; IFS='-'
   4629 set x $ac_cv_host
   4630 shift
   4631 host_cpu=$1
   4632 host_vendor=$2
   4633 shift; shift
   4634 # Remember, the first character of IFS is used to create $*,
   4635 # except with old shells:
   4636 host_os=$*
   4637 IFS=$ac_save_IFS
   4638 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4639 
   4640 
   4641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4642 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4643 if ${ac_cv_path_SED+:} false; then :
   4644   $as_echo_n "(cached) " >&6
   4645 else
   4646             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4647      for ac_i in 1 2 3 4 5 6 7; do
   4648        ac_script="$ac_script$as_nl$ac_script"
   4649      done
   4650      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4651      { ac_script=; unset ac_script;}
   4652      if test -z "$SED"; then
   4653   ac_path_SED_found=false
   4654   # Loop through the user's path and test for each of PROGNAME-LIST
   4655   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4656 for as_dir in $PATH
   4657 do
   4658   IFS=$as_save_IFS
   4659   test -z "$as_dir" && as_dir=.
   4660     for ac_prog in sed gsed; do
   4661     for ac_exec_ext in '' $ac_executable_extensions; do
   4662       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4663       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   4664 # Check for GNU ac_path_SED and select it if it is found.
   4665   # Check for GNU $ac_path_SED
   4666 case `"$ac_path_SED" --version 2>&1` in
   4667 *GNU*)
   4668   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4669 *)
   4670   ac_count=0
   4671   $as_echo_n 0123456789 >"conftest.in"
   4672   while :
   4673   do
   4674     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4675     mv "conftest.tmp" "conftest.in"
   4676     cp "conftest.in" "conftest.nl"
   4677     $as_echo '' >> "conftest.nl"
   4678     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4679     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4680     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4681     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4682       # Best one so far, save it but keep looking for a better one
   4683       ac_cv_path_SED="$ac_path_SED"
   4684       ac_path_SED_max=$ac_count
   4685     fi
   4686     # 10*(2^10) chars as input seems more than enough
   4687     test $ac_count -gt 10 && break
   4688   done
   4689   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4690 esac
   4691 
   4692       $ac_path_SED_found && break 3
   4693     done
   4694   done
   4695   done
   4696 IFS=$as_save_IFS
   4697   if test -z "$ac_cv_path_SED"; then
   4698     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4699   fi
   4700 else
   4701   ac_cv_path_SED=$SED
   4702 fi
   4703 
   4704 fi
   4705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4706 $as_echo "$ac_cv_path_SED" >&6; }
   4707  SED="$ac_cv_path_SED"
   4708   rm -f conftest.sed
   4709 
   4710 
   4711 
   4712 
   4713 
   4714 
   4715 # Check whether --enable-selective-werror was given.
   4716 if test "${enable_selective_werror+set}" = set; then :
   4717   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4718 else
   4719   SELECTIVE_WERROR=yes
   4720 fi
   4721 
   4722 
   4723 
   4724 
   4725 
   4726 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4727 if test "x$SUNCC" = "xyes"; then
   4728     BASE_CFLAGS="-v"
   4729 else
   4730     BASE_CFLAGS=""
   4731 fi
   4732 
   4733 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4734 
   4735 
   4736 
   4737 
   4738 
   4739 
   4740 
   4741 
   4742 
   4743 
   4744 
   4745 
   4746 
   4747 xorg_testset_save_CFLAGS="$CFLAGS"
   4748 
   4749 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4750 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4751 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4752 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4753 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4754   $as_echo_n "(cached) " >&6
   4755 else
   4756   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4757 /* end confdefs.h.  */
   4758 int i;
   4759 _ACEOF
   4760 if ac_fn_c_try_compile "$LINENO"; then :
   4761   xorg_cv_cc_flag_unknown_warning_option=yes
   4762 else
   4763   xorg_cv_cc_flag_unknown_warning_option=no
   4764 fi
   4765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4766 fi
   4767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4768 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4769 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4770 	CFLAGS="$xorg_testset_save_CFLAGS"
   4771 fi
   4772 
   4773 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4774 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4775 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4776 	fi
   4777 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4778 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4779 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4780 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4781   $as_echo_n "(cached) " >&6
   4782 else
   4783   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4784 /* end confdefs.h.  */
   4785 int i;
   4786 _ACEOF
   4787 if ac_fn_c_try_compile "$LINENO"; then :
   4788   xorg_cv_cc_flag_unused_command_line_argument=yes
   4789 else
   4790   xorg_cv_cc_flag_unused_command_line_argument=no
   4791 fi
   4792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4793 fi
   4794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4795 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4796 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4797 	CFLAGS="$xorg_testset_save_CFLAGS"
   4798 fi
   4799 
   4800 found="no"
   4801 
   4802 	if test $found = "no" ; then
   4803 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4804 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4805 		fi
   4806 
   4807 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4808 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4809 		fi
   4810 
   4811 		CFLAGS="$CFLAGS -Wall"
   4812 
   4813 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4814 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4815 		cacheid=xorg_cv_cc_flag__Wall
   4816 		if eval \${$cacheid+:} false; then :
   4817   $as_echo_n "(cached) " >&6
   4818 else
   4819   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4820 /* end confdefs.h.  */
   4821 int i;
   4822 int
   4823 main ()
   4824 {
   4825 
   4826   ;
   4827   return 0;
   4828 }
   4829 _ACEOF
   4830 if ac_fn_c_try_link "$LINENO"; then :
   4831   eval $cacheid=yes
   4832 else
   4833   eval $cacheid=no
   4834 fi
   4835 rm -f core conftest.err conftest.$ac_objext \
   4836     conftest$ac_exeext conftest.$ac_ext
   4837 fi
   4838 
   4839 
   4840 		CFLAGS="$xorg_testset_save_CFLAGS"
   4841 
   4842 		eval supported=\$$cacheid
   4843 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4844 $as_echo "$supported" >&6; }
   4845 		if test "$supported" = "yes" ; then
   4846 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4847 			found="yes"
   4848 		fi
   4849 	fi
   4850 
   4851 
   4852 
   4853 
   4854 
   4855 
   4856 
   4857 
   4858 
   4859 
   4860 
   4861 
   4862 
   4863 
   4864 
   4865 xorg_testset_save_CFLAGS="$CFLAGS"
   4866 
   4867 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4868 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4869 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4870 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4871 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4872   $as_echo_n "(cached) " >&6
   4873 else
   4874   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4875 /* end confdefs.h.  */
   4876 int i;
   4877 _ACEOF
   4878 if ac_fn_c_try_compile "$LINENO"; then :
   4879   xorg_cv_cc_flag_unknown_warning_option=yes
   4880 else
   4881   xorg_cv_cc_flag_unknown_warning_option=no
   4882 fi
   4883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4884 fi
   4885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4886 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4887 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4888 	CFLAGS="$xorg_testset_save_CFLAGS"
   4889 fi
   4890 
   4891 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4892 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4893 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4894 	fi
   4895 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4896 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4897 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4898 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4899   $as_echo_n "(cached) " >&6
   4900 else
   4901   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4902 /* end confdefs.h.  */
   4903 int i;
   4904 _ACEOF
   4905 if ac_fn_c_try_compile "$LINENO"; then :
   4906   xorg_cv_cc_flag_unused_command_line_argument=yes
   4907 else
   4908   xorg_cv_cc_flag_unused_command_line_argument=no
   4909 fi
   4910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4911 fi
   4912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4913 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4914 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4915 	CFLAGS="$xorg_testset_save_CFLAGS"
   4916 fi
   4917 
   4918 found="no"
   4919 
   4920 	if test $found = "no" ; then
   4921 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   4922 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4923 		fi
   4924 
   4925 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   4926 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4927 		fi
   4928 
   4929 		CFLAGS="$CFLAGS -Wpointer-arith"
   4930 
   4931 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   4932 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   4933 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   4934 		if eval \${$cacheid+:} false; then :
   4935   $as_echo_n "(cached) " >&6
   4936 else
   4937   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4938 /* end confdefs.h.  */
   4939 int i;
   4940 int
   4941 main ()
   4942 {
   4943 
   4944   ;
   4945   return 0;
   4946 }
   4947 _ACEOF
   4948 if ac_fn_c_try_link "$LINENO"; then :
   4949   eval $cacheid=yes
   4950 else
   4951   eval $cacheid=no
   4952 fi
   4953 rm -f core conftest.err conftest.$ac_objext \
   4954     conftest$ac_exeext conftest.$ac_ext
   4955 fi
   4956 
   4957 
   4958 		CFLAGS="$xorg_testset_save_CFLAGS"
   4959 
   4960 		eval supported=\$$cacheid
   4961 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4962 $as_echo "$supported" >&6; }
   4963 		if test "$supported" = "yes" ; then
   4964 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   4965 			found="yes"
   4966 		fi
   4967 	fi
   4968 
   4969 
   4970 
   4971 
   4972 
   4973 
   4974 
   4975 
   4976 
   4977 
   4978 
   4979 
   4980 
   4981 
   4982 
   4983 xorg_testset_save_CFLAGS="$CFLAGS"
   4984 
   4985 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4986 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4987 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4988 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4989 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4990   $as_echo_n "(cached) " >&6
   4991 else
   4992   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4993 /* end confdefs.h.  */
   4994 int i;
   4995 _ACEOF
   4996 if ac_fn_c_try_compile "$LINENO"; then :
   4997   xorg_cv_cc_flag_unknown_warning_option=yes
   4998 else
   4999   xorg_cv_cc_flag_unknown_warning_option=no
   5000 fi
   5001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5002 fi
   5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5004 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5005 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5006 	CFLAGS="$xorg_testset_save_CFLAGS"
   5007 fi
   5008 
   5009 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5010 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5011 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5012 	fi
   5013 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5014 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5015 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5016 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5017   $as_echo_n "(cached) " >&6
   5018 else
   5019   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5020 /* end confdefs.h.  */
   5021 int i;
   5022 _ACEOF
   5023 if ac_fn_c_try_compile "$LINENO"; then :
   5024   xorg_cv_cc_flag_unused_command_line_argument=yes
   5025 else
   5026   xorg_cv_cc_flag_unused_command_line_argument=no
   5027 fi
   5028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5029 fi
   5030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5031 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5032 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5033 	CFLAGS="$xorg_testset_save_CFLAGS"
   5034 fi
   5035 
   5036 found="no"
   5037 
   5038 	if test $found = "no" ; then
   5039 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5040 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5041 		fi
   5042 
   5043 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5044 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5045 		fi
   5046 
   5047 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5048 
   5049 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5050 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   5051 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5052 		if eval \${$cacheid+:} false; then :
   5053   $as_echo_n "(cached) " >&6
   5054 else
   5055   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5056 /* end confdefs.h.  */
   5057 int i;
   5058 int
   5059 main ()
   5060 {
   5061 
   5062   ;
   5063   return 0;
   5064 }
   5065 _ACEOF
   5066 if ac_fn_c_try_link "$LINENO"; then :
   5067   eval $cacheid=yes
   5068 else
   5069   eval $cacheid=no
   5070 fi
   5071 rm -f core conftest.err conftest.$ac_objext \
   5072     conftest$ac_exeext conftest.$ac_ext
   5073 fi
   5074 
   5075 
   5076 		CFLAGS="$xorg_testset_save_CFLAGS"
   5077 
   5078 		eval supported=\$$cacheid
   5079 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5080 $as_echo "$supported" >&6; }
   5081 		if test "$supported" = "yes" ; then
   5082 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5083 			found="yes"
   5084 		fi
   5085 	fi
   5086 
   5087 
   5088 
   5089 
   5090 
   5091 
   5092 
   5093 
   5094 
   5095 
   5096 
   5097 
   5098 
   5099 
   5100 
   5101 xorg_testset_save_CFLAGS="$CFLAGS"
   5102 
   5103 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5104 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5105 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5106 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5107 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5108   $as_echo_n "(cached) " >&6
   5109 else
   5110   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5111 /* end confdefs.h.  */
   5112 int i;
   5113 _ACEOF
   5114 if ac_fn_c_try_compile "$LINENO"; then :
   5115   xorg_cv_cc_flag_unknown_warning_option=yes
   5116 else
   5117   xorg_cv_cc_flag_unknown_warning_option=no
   5118 fi
   5119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5120 fi
   5121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5122 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5123 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5124 	CFLAGS="$xorg_testset_save_CFLAGS"
   5125 fi
   5126 
   5127 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5128 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5129 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5130 	fi
   5131 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5132 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5133 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5134 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5135   $as_echo_n "(cached) " >&6
   5136 else
   5137   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5138 /* end confdefs.h.  */
   5139 int i;
   5140 _ACEOF
   5141 if ac_fn_c_try_compile "$LINENO"; then :
   5142   xorg_cv_cc_flag_unused_command_line_argument=yes
   5143 else
   5144   xorg_cv_cc_flag_unused_command_line_argument=no
   5145 fi
   5146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5147 fi
   5148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5149 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5150 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5151 	CFLAGS="$xorg_testset_save_CFLAGS"
   5152 fi
   5153 
   5154 found="no"
   5155 
   5156 	if test $found = "no" ; then
   5157 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5158 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5159 		fi
   5160 
   5161 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5162 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5163 		fi
   5164 
   5165 		CFLAGS="$CFLAGS -Wformat=2"
   5166 
   5167 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5168 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5169 		cacheid=`$as_echo "xorg_cv_cc_flag_-Wformat=2" | $as_tr_sh`
   5170 		if eval \${$cacheid+:} false; then :
   5171   $as_echo_n "(cached) " >&6
   5172 else
   5173   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5174 /* end confdefs.h.  */
   5175 int i;
   5176 int
   5177 main ()
   5178 {
   5179 
   5180   ;
   5181   return 0;
   5182 }
   5183 _ACEOF
   5184 if ac_fn_c_try_link "$LINENO"; then :
   5185   eval $cacheid=yes
   5186 else
   5187   eval $cacheid=no
   5188 fi
   5189 rm -f core conftest.err conftest.$ac_objext \
   5190     conftest$ac_exeext conftest.$ac_ext
   5191 fi
   5192 
   5193 
   5194 		CFLAGS="$xorg_testset_save_CFLAGS"
   5195 
   5196 		eval supported=\$$cacheid
   5197 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5198 $as_echo "$supported" >&6; }
   5199 		if test "$supported" = "yes" ; then
   5200 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5201 			found="yes"
   5202 		fi
   5203 	fi
   5204 
   5205 	if test $found = "no" ; then
   5206 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5207 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5208 		fi
   5209 
   5210 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5211 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5212 		fi
   5213 
   5214 		CFLAGS="$CFLAGS -Wformat"
   5215 
   5216 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5217 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5218 		cacheid=xorg_cv_cc_flag__Wformat
   5219 		if eval \${$cacheid+:} false; then :
   5220   $as_echo_n "(cached) " >&6
   5221 else
   5222   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5223 /* end confdefs.h.  */
   5224 int i;
   5225 int
   5226 main ()
   5227 {
   5228 
   5229   ;
   5230   return 0;
   5231 }
   5232 _ACEOF
   5233 if ac_fn_c_try_link "$LINENO"; then :
   5234   eval $cacheid=yes
   5235 else
   5236   eval $cacheid=no
   5237 fi
   5238 rm -f core conftest.err conftest.$ac_objext \
   5239     conftest$ac_exeext conftest.$ac_ext
   5240 fi
   5241 
   5242 
   5243 		CFLAGS="$xorg_testset_save_CFLAGS"
   5244 
   5245 		eval supported=\$$cacheid
   5246 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5247 $as_echo "$supported" >&6; }
   5248 		if test "$supported" = "yes" ; then
   5249 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5250 			found="yes"
   5251 		fi
   5252 	fi
   5253 
   5254 
   5255 
   5256 
   5257 
   5258 
   5259 
   5260 
   5261 
   5262 
   5263 
   5264 
   5265 
   5266 
   5267 
   5268 
   5269 
   5270 xorg_testset_save_CFLAGS="$CFLAGS"
   5271 
   5272 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5273 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5274 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5275 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5276 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5277   $as_echo_n "(cached) " >&6
   5278 else
   5279   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5280 /* end confdefs.h.  */
   5281 int i;
   5282 _ACEOF
   5283 if ac_fn_c_try_compile "$LINENO"; then :
   5284   xorg_cv_cc_flag_unknown_warning_option=yes
   5285 else
   5286   xorg_cv_cc_flag_unknown_warning_option=no
   5287 fi
   5288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5289 fi
   5290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5291 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5292 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5293 	CFLAGS="$xorg_testset_save_CFLAGS"
   5294 fi
   5295 
   5296 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5297 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5298 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5299 	fi
   5300 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5301 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5302 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5303 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5304   $as_echo_n "(cached) " >&6
   5305 else
   5306   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5307 /* end confdefs.h.  */
   5308 int i;
   5309 _ACEOF
   5310 if ac_fn_c_try_compile "$LINENO"; then :
   5311   xorg_cv_cc_flag_unused_command_line_argument=yes
   5312 else
   5313   xorg_cv_cc_flag_unused_command_line_argument=no
   5314 fi
   5315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5316 fi
   5317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5318 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5319 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5320 	CFLAGS="$xorg_testset_save_CFLAGS"
   5321 fi
   5322 
   5323 found="no"
   5324 
   5325 	if test $found = "no" ; then
   5326 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5327 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5328 		fi
   5329 
   5330 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5331 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5332 		fi
   5333 
   5334 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5335 
   5336 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5337 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5338 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5339 		if eval \${$cacheid+:} false; then :
   5340   $as_echo_n "(cached) " >&6
   5341 else
   5342   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5343 /* end confdefs.h.  */
   5344 int i;
   5345 int
   5346 main ()
   5347 {
   5348 
   5349   ;
   5350   return 0;
   5351 }
   5352 _ACEOF
   5353 if ac_fn_c_try_link "$LINENO"; then :
   5354   eval $cacheid=yes
   5355 else
   5356   eval $cacheid=no
   5357 fi
   5358 rm -f core conftest.err conftest.$ac_objext \
   5359     conftest$ac_exeext conftest.$ac_ext
   5360 fi
   5361 
   5362 
   5363 		CFLAGS="$xorg_testset_save_CFLAGS"
   5364 
   5365 		eval supported=\$$cacheid
   5366 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5367 $as_echo "$supported" >&6; }
   5368 		if test "$supported" = "yes" ; then
   5369 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5370 			found="yes"
   5371 		fi
   5372 	fi
   5373 
   5374 
   5375 
   5376 
   5377 
   5378 
   5379 
   5380 
   5381 
   5382 
   5383 
   5384 
   5385 
   5386 
   5387 
   5388 xorg_testset_save_CFLAGS="$CFLAGS"
   5389 
   5390 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5391 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5392 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5393 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5394 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5395   $as_echo_n "(cached) " >&6
   5396 else
   5397   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5398 /* end confdefs.h.  */
   5399 int i;
   5400 _ACEOF
   5401 if ac_fn_c_try_compile "$LINENO"; then :
   5402   xorg_cv_cc_flag_unknown_warning_option=yes
   5403 else
   5404   xorg_cv_cc_flag_unknown_warning_option=no
   5405 fi
   5406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5407 fi
   5408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5409 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5410 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5411 	CFLAGS="$xorg_testset_save_CFLAGS"
   5412 fi
   5413 
   5414 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5415 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5416 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5417 	fi
   5418 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5419 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5420 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5421 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5422   $as_echo_n "(cached) " >&6
   5423 else
   5424   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5425 /* end confdefs.h.  */
   5426 int i;
   5427 _ACEOF
   5428 if ac_fn_c_try_compile "$LINENO"; then :
   5429   xorg_cv_cc_flag_unused_command_line_argument=yes
   5430 else
   5431   xorg_cv_cc_flag_unused_command_line_argument=no
   5432 fi
   5433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5434 fi
   5435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5436 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5437 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5438 	CFLAGS="$xorg_testset_save_CFLAGS"
   5439 fi
   5440 
   5441 found="no"
   5442 
   5443 	if test $found = "no" ; then
   5444 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5445 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5446 		fi
   5447 
   5448 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5449 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5450 		fi
   5451 
   5452 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5453 
   5454 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5455 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5456 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5457 		if eval \${$cacheid+:} false; then :
   5458   $as_echo_n "(cached) " >&6
   5459 else
   5460   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5461 /* end confdefs.h.  */
   5462 int i;
   5463 int
   5464 main ()
   5465 {
   5466 
   5467   ;
   5468   return 0;
   5469 }
   5470 _ACEOF
   5471 if ac_fn_c_try_link "$LINENO"; then :
   5472   eval $cacheid=yes
   5473 else
   5474   eval $cacheid=no
   5475 fi
   5476 rm -f core conftest.err conftest.$ac_objext \
   5477     conftest$ac_exeext conftest.$ac_ext
   5478 fi
   5479 
   5480 
   5481 		CFLAGS="$xorg_testset_save_CFLAGS"
   5482 
   5483 		eval supported=\$$cacheid
   5484 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5485 $as_echo "$supported" >&6; }
   5486 		if test "$supported" = "yes" ; then
   5487 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5488 			found="yes"
   5489 		fi
   5490 	fi
   5491 
   5492 
   5493 
   5494 
   5495 
   5496 
   5497 
   5498 
   5499 
   5500 
   5501 
   5502 
   5503 
   5504 
   5505 
   5506 xorg_testset_save_CFLAGS="$CFLAGS"
   5507 
   5508 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5509 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5510 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5511 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5512 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5513   $as_echo_n "(cached) " >&6
   5514 else
   5515   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5516 /* end confdefs.h.  */
   5517 int i;
   5518 _ACEOF
   5519 if ac_fn_c_try_compile "$LINENO"; then :
   5520   xorg_cv_cc_flag_unknown_warning_option=yes
   5521 else
   5522   xorg_cv_cc_flag_unknown_warning_option=no
   5523 fi
   5524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5525 fi
   5526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5527 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5528 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5529 	CFLAGS="$xorg_testset_save_CFLAGS"
   5530 fi
   5531 
   5532 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5533 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5534 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5535 	fi
   5536 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5537 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5538 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5539 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5540   $as_echo_n "(cached) " >&6
   5541 else
   5542   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5543 /* end confdefs.h.  */
   5544 int i;
   5545 _ACEOF
   5546 if ac_fn_c_try_compile "$LINENO"; then :
   5547   xorg_cv_cc_flag_unused_command_line_argument=yes
   5548 else
   5549   xorg_cv_cc_flag_unused_command_line_argument=no
   5550 fi
   5551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5552 fi
   5553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5554 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5555 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5556 	CFLAGS="$xorg_testset_save_CFLAGS"
   5557 fi
   5558 
   5559 found="no"
   5560 
   5561 	if test $found = "no" ; then
   5562 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5563 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5564 		fi
   5565 
   5566 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5567 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5568 		fi
   5569 
   5570 		CFLAGS="$CFLAGS -Wnested-externs"
   5571 
   5572 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5573 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5574 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5575 		if eval \${$cacheid+:} false; then :
   5576   $as_echo_n "(cached) " >&6
   5577 else
   5578   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5579 /* end confdefs.h.  */
   5580 int i;
   5581 int
   5582 main ()
   5583 {
   5584 
   5585   ;
   5586   return 0;
   5587 }
   5588 _ACEOF
   5589 if ac_fn_c_try_link "$LINENO"; then :
   5590   eval $cacheid=yes
   5591 else
   5592   eval $cacheid=no
   5593 fi
   5594 rm -f core conftest.err conftest.$ac_objext \
   5595     conftest$ac_exeext conftest.$ac_ext
   5596 fi
   5597 
   5598 
   5599 		CFLAGS="$xorg_testset_save_CFLAGS"
   5600 
   5601 		eval supported=\$$cacheid
   5602 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5603 $as_echo "$supported" >&6; }
   5604 		if test "$supported" = "yes" ; then
   5605 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5606 			found="yes"
   5607 		fi
   5608 	fi
   5609 
   5610 
   5611 
   5612 
   5613 
   5614 
   5615 
   5616 
   5617 
   5618 
   5619 
   5620 
   5621 
   5622 
   5623 
   5624 xorg_testset_save_CFLAGS="$CFLAGS"
   5625 
   5626 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5627 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5628 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5629 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5630 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5631   $as_echo_n "(cached) " >&6
   5632 else
   5633   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5634 /* end confdefs.h.  */
   5635 int i;
   5636 _ACEOF
   5637 if ac_fn_c_try_compile "$LINENO"; then :
   5638   xorg_cv_cc_flag_unknown_warning_option=yes
   5639 else
   5640   xorg_cv_cc_flag_unknown_warning_option=no
   5641 fi
   5642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5643 fi
   5644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5645 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5646 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5647 	CFLAGS="$xorg_testset_save_CFLAGS"
   5648 fi
   5649 
   5650 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5651 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5652 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5653 	fi
   5654 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5655 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5656 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5657 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5658   $as_echo_n "(cached) " >&6
   5659 else
   5660   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5661 /* end confdefs.h.  */
   5662 int i;
   5663 _ACEOF
   5664 if ac_fn_c_try_compile "$LINENO"; then :
   5665   xorg_cv_cc_flag_unused_command_line_argument=yes
   5666 else
   5667   xorg_cv_cc_flag_unused_command_line_argument=no
   5668 fi
   5669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5670 fi
   5671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5672 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5673 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5674 	CFLAGS="$xorg_testset_save_CFLAGS"
   5675 fi
   5676 
   5677 found="no"
   5678 
   5679 	if test $found = "no" ; then
   5680 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5681 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5682 		fi
   5683 
   5684 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5685 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5686 		fi
   5687 
   5688 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5689 
   5690 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5691 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5692 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5693 		if eval \${$cacheid+:} false; then :
   5694   $as_echo_n "(cached) " >&6
   5695 else
   5696   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5697 /* end confdefs.h.  */
   5698 int i;
   5699 int
   5700 main ()
   5701 {
   5702 
   5703   ;
   5704   return 0;
   5705 }
   5706 _ACEOF
   5707 if ac_fn_c_try_link "$LINENO"; then :
   5708   eval $cacheid=yes
   5709 else
   5710   eval $cacheid=no
   5711 fi
   5712 rm -f core conftest.err conftest.$ac_objext \
   5713     conftest$ac_exeext conftest.$ac_ext
   5714 fi
   5715 
   5716 
   5717 		CFLAGS="$xorg_testset_save_CFLAGS"
   5718 
   5719 		eval supported=\$$cacheid
   5720 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5721 $as_echo "$supported" >&6; }
   5722 		if test "$supported" = "yes" ; then
   5723 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5724 			found="yes"
   5725 		fi
   5726 	fi
   5727 
   5728 
   5729 
   5730 
   5731 
   5732 
   5733 
   5734 
   5735 
   5736 
   5737 
   5738 
   5739 
   5740 
   5741 
   5742 xorg_testset_save_CFLAGS="$CFLAGS"
   5743 
   5744 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5745 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5746 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5747 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5748 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5749   $as_echo_n "(cached) " >&6
   5750 else
   5751   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5752 /* end confdefs.h.  */
   5753 int i;
   5754 _ACEOF
   5755 if ac_fn_c_try_compile "$LINENO"; then :
   5756   xorg_cv_cc_flag_unknown_warning_option=yes
   5757 else
   5758   xorg_cv_cc_flag_unknown_warning_option=no
   5759 fi
   5760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5761 fi
   5762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5763 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5764 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5765 	CFLAGS="$xorg_testset_save_CFLAGS"
   5766 fi
   5767 
   5768 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5769 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5770 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5771 	fi
   5772 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5773 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5774 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5775 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5776   $as_echo_n "(cached) " >&6
   5777 else
   5778   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5779 /* end confdefs.h.  */
   5780 int i;
   5781 _ACEOF
   5782 if ac_fn_c_try_compile "$LINENO"; then :
   5783   xorg_cv_cc_flag_unused_command_line_argument=yes
   5784 else
   5785   xorg_cv_cc_flag_unused_command_line_argument=no
   5786 fi
   5787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5788 fi
   5789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5790 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5791 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5792 	CFLAGS="$xorg_testset_save_CFLAGS"
   5793 fi
   5794 
   5795 found="no"
   5796 
   5797 	if test $found = "no" ; then
   5798 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5799 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5800 		fi
   5801 
   5802 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5803 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5804 		fi
   5805 
   5806 		CFLAGS="$CFLAGS -Wold-style-definition"
   5807 
   5808 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5809 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5810 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5811 		if eval \${$cacheid+:} false; then :
   5812   $as_echo_n "(cached) " >&6
   5813 else
   5814   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5815 /* end confdefs.h.  */
   5816 int i;
   5817 int
   5818 main ()
   5819 {
   5820 
   5821   ;
   5822   return 0;
   5823 }
   5824 _ACEOF
   5825 if ac_fn_c_try_link "$LINENO"; then :
   5826   eval $cacheid=yes
   5827 else
   5828   eval $cacheid=no
   5829 fi
   5830 rm -f core conftest.err conftest.$ac_objext \
   5831     conftest$ac_exeext conftest.$ac_ext
   5832 fi
   5833 
   5834 
   5835 		CFLAGS="$xorg_testset_save_CFLAGS"
   5836 
   5837 		eval supported=\$$cacheid
   5838 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5839 $as_echo "$supported" >&6; }
   5840 		if test "$supported" = "yes" ; then
   5841 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5842 			found="yes"
   5843 		fi
   5844 	fi
   5845 
   5846 
   5847 
   5848 
   5849 
   5850 
   5851 
   5852 
   5853 
   5854 
   5855 
   5856 
   5857 
   5858 
   5859 
   5860 xorg_testset_save_CFLAGS="$CFLAGS"
   5861 
   5862 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5863 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5864 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5865 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5866 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5867   $as_echo_n "(cached) " >&6
   5868 else
   5869   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5870 /* end confdefs.h.  */
   5871 int i;
   5872 _ACEOF
   5873 if ac_fn_c_try_compile "$LINENO"; then :
   5874   xorg_cv_cc_flag_unknown_warning_option=yes
   5875 else
   5876   xorg_cv_cc_flag_unknown_warning_option=no
   5877 fi
   5878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5879 fi
   5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5881 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5882 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5883 	CFLAGS="$xorg_testset_save_CFLAGS"
   5884 fi
   5885 
   5886 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5887 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5888 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5889 	fi
   5890 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5891 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5892 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5893 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5894   $as_echo_n "(cached) " >&6
   5895 else
   5896   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5897 /* end confdefs.h.  */
   5898 int i;
   5899 _ACEOF
   5900 if ac_fn_c_try_compile "$LINENO"; then :
   5901   xorg_cv_cc_flag_unused_command_line_argument=yes
   5902 else
   5903   xorg_cv_cc_flag_unused_command_line_argument=no
   5904 fi
   5905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5906 fi
   5907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5908 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5909 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5910 	CFLAGS="$xorg_testset_save_CFLAGS"
   5911 fi
   5912 
   5913 found="no"
   5914 
   5915 	if test $found = "no" ; then
   5916 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   5917 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5918 		fi
   5919 
   5920 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   5921 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5922 		fi
   5923 
   5924 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   5925 
   5926 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   5927 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   5928 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   5929 		if eval \${$cacheid+:} false; then :
   5930   $as_echo_n "(cached) " >&6
   5931 else
   5932   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5933 /* end confdefs.h.  */
   5934 int i;
   5935 int
   5936 main ()
   5937 {
   5938 
   5939   ;
   5940   return 0;
   5941 }
   5942 _ACEOF
   5943 if ac_fn_c_try_link "$LINENO"; then :
   5944   eval $cacheid=yes
   5945 else
   5946   eval $cacheid=no
   5947 fi
   5948 rm -f core conftest.err conftest.$ac_objext \
   5949     conftest$ac_exeext conftest.$ac_ext
   5950 fi
   5951 
   5952 
   5953 		CFLAGS="$xorg_testset_save_CFLAGS"
   5954 
   5955 		eval supported=\$$cacheid
   5956 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5957 $as_echo "$supported" >&6; }
   5958 		if test "$supported" = "yes" ; then
   5959 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   5960 			found="yes"
   5961 		fi
   5962 	fi
   5963 
   5964 
   5965 
   5966 
   5967 
   5968 # This chunk adds additional warnings that could catch undesired effects.
   5969 
   5970 
   5971 
   5972 
   5973 
   5974 
   5975 
   5976 
   5977 
   5978 
   5979 
   5980 
   5981 
   5982 xorg_testset_save_CFLAGS="$CFLAGS"
   5983 
   5984 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5985 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5986 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5987 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5988 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5989   $as_echo_n "(cached) " >&6
   5990 else
   5991   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5992 /* end confdefs.h.  */
   5993 int i;
   5994 _ACEOF
   5995 if ac_fn_c_try_compile "$LINENO"; then :
   5996   xorg_cv_cc_flag_unknown_warning_option=yes
   5997 else
   5998   xorg_cv_cc_flag_unknown_warning_option=no
   5999 fi
   6000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6001 fi
   6002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6003 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6004 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6005 	CFLAGS="$xorg_testset_save_CFLAGS"
   6006 fi
   6007 
   6008 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6009 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6010 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6011 	fi
   6012 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6013 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6014 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6015 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6016   $as_echo_n "(cached) " >&6
   6017 else
   6018   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6019 /* end confdefs.h.  */
   6020 int i;
   6021 _ACEOF
   6022 if ac_fn_c_try_compile "$LINENO"; then :
   6023   xorg_cv_cc_flag_unused_command_line_argument=yes
   6024 else
   6025   xorg_cv_cc_flag_unused_command_line_argument=no
   6026 fi
   6027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6028 fi
   6029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6030 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6031 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6032 	CFLAGS="$xorg_testset_save_CFLAGS"
   6033 fi
   6034 
   6035 found="no"
   6036 
   6037 	if test $found = "no" ; then
   6038 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6039 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6040 		fi
   6041 
   6042 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6043 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6044 		fi
   6045 
   6046 		CFLAGS="$CFLAGS -Wunused"
   6047 
   6048 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6049 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   6050 		cacheid=xorg_cv_cc_flag__Wunused
   6051 		if eval \${$cacheid+:} false; then :
   6052   $as_echo_n "(cached) " >&6
   6053 else
   6054   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6055 /* end confdefs.h.  */
   6056 int i;
   6057 int
   6058 main ()
   6059 {
   6060 
   6061   ;
   6062   return 0;
   6063 }
   6064 _ACEOF
   6065 if ac_fn_c_try_link "$LINENO"; then :
   6066   eval $cacheid=yes
   6067 else
   6068   eval $cacheid=no
   6069 fi
   6070 rm -f core conftest.err conftest.$ac_objext \
   6071     conftest$ac_exeext conftest.$ac_ext
   6072 fi
   6073 
   6074 
   6075 		CFLAGS="$xorg_testset_save_CFLAGS"
   6076 
   6077 		eval supported=\$$cacheid
   6078 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6079 $as_echo "$supported" >&6; }
   6080 		if test "$supported" = "yes" ; then
   6081 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6082 			found="yes"
   6083 		fi
   6084 	fi
   6085 
   6086 
   6087 
   6088 
   6089 
   6090 
   6091 
   6092 
   6093 
   6094 
   6095 
   6096 
   6097 
   6098 
   6099 
   6100 xorg_testset_save_CFLAGS="$CFLAGS"
   6101 
   6102 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6103 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6104 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6105 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6106 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6107   $as_echo_n "(cached) " >&6
   6108 else
   6109   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6110 /* end confdefs.h.  */
   6111 int i;
   6112 _ACEOF
   6113 if ac_fn_c_try_compile "$LINENO"; then :
   6114   xorg_cv_cc_flag_unknown_warning_option=yes
   6115 else
   6116   xorg_cv_cc_flag_unknown_warning_option=no
   6117 fi
   6118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6119 fi
   6120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6121 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6122 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6123 	CFLAGS="$xorg_testset_save_CFLAGS"
   6124 fi
   6125 
   6126 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6127 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6128 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6129 	fi
   6130 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6131 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6132 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6133 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6134   $as_echo_n "(cached) " >&6
   6135 else
   6136   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6137 /* end confdefs.h.  */
   6138 int i;
   6139 _ACEOF
   6140 if ac_fn_c_try_compile "$LINENO"; then :
   6141   xorg_cv_cc_flag_unused_command_line_argument=yes
   6142 else
   6143   xorg_cv_cc_flag_unused_command_line_argument=no
   6144 fi
   6145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6146 fi
   6147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6148 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6149 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6150 	CFLAGS="$xorg_testset_save_CFLAGS"
   6151 fi
   6152 
   6153 found="no"
   6154 
   6155 	if test $found = "no" ; then
   6156 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6157 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6158 		fi
   6159 
   6160 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6161 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6162 		fi
   6163 
   6164 		CFLAGS="$CFLAGS -Wuninitialized"
   6165 
   6166 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6167 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6168 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6169 		if eval \${$cacheid+:} false; then :
   6170   $as_echo_n "(cached) " >&6
   6171 else
   6172   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6173 /* end confdefs.h.  */
   6174 int i;
   6175 int
   6176 main ()
   6177 {
   6178 
   6179   ;
   6180   return 0;
   6181 }
   6182 _ACEOF
   6183 if ac_fn_c_try_link "$LINENO"; then :
   6184   eval $cacheid=yes
   6185 else
   6186   eval $cacheid=no
   6187 fi
   6188 rm -f core conftest.err conftest.$ac_objext \
   6189     conftest$ac_exeext conftest.$ac_ext
   6190 fi
   6191 
   6192 
   6193 		CFLAGS="$xorg_testset_save_CFLAGS"
   6194 
   6195 		eval supported=\$$cacheid
   6196 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6197 $as_echo "$supported" >&6; }
   6198 		if test "$supported" = "yes" ; then
   6199 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6200 			found="yes"
   6201 		fi
   6202 	fi
   6203 
   6204 
   6205 
   6206 
   6207 
   6208 
   6209 
   6210 
   6211 
   6212 
   6213 
   6214 
   6215 
   6216 
   6217 
   6218 xorg_testset_save_CFLAGS="$CFLAGS"
   6219 
   6220 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6221 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6222 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6223 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6224 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6225   $as_echo_n "(cached) " >&6
   6226 else
   6227   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6228 /* end confdefs.h.  */
   6229 int i;
   6230 _ACEOF
   6231 if ac_fn_c_try_compile "$LINENO"; then :
   6232   xorg_cv_cc_flag_unknown_warning_option=yes
   6233 else
   6234   xorg_cv_cc_flag_unknown_warning_option=no
   6235 fi
   6236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6237 fi
   6238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6239 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6240 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6241 	CFLAGS="$xorg_testset_save_CFLAGS"
   6242 fi
   6243 
   6244 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6245 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6246 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6247 	fi
   6248 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6249 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6250 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6251 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6252   $as_echo_n "(cached) " >&6
   6253 else
   6254   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6255 /* end confdefs.h.  */
   6256 int i;
   6257 _ACEOF
   6258 if ac_fn_c_try_compile "$LINENO"; then :
   6259   xorg_cv_cc_flag_unused_command_line_argument=yes
   6260 else
   6261   xorg_cv_cc_flag_unused_command_line_argument=no
   6262 fi
   6263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6264 fi
   6265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6266 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6267 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6268 	CFLAGS="$xorg_testset_save_CFLAGS"
   6269 fi
   6270 
   6271 found="no"
   6272 
   6273 	if test $found = "no" ; then
   6274 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6275 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6276 		fi
   6277 
   6278 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6279 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6280 		fi
   6281 
   6282 		CFLAGS="$CFLAGS -Wshadow"
   6283 
   6284 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6285 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6286 		cacheid=xorg_cv_cc_flag__Wshadow
   6287 		if eval \${$cacheid+:} false; then :
   6288   $as_echo_n "(cached) " >&6
   6289 else
   6290   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6291 /* end confdefs.h.  */
   6292 int i;
   6293 int
   6294 main ()
   6295 {
   6296 
   6297   ;
   6298   return 0;
   6299 }
   6300 _ACEOF
   6301 if ac_fn_c_try_link "$LINENO"; then :
   6302   eval $cacheid=yes
   6303 else
   6304   eval $cacheid=no
   6305 fi
   6306 rm -f core conftest.err conftest.$ac_objext \
   6307     conftest$ac_exeext conftest.$ac_ext
   6308 fi
   6309 
   6310 
   6311 		CFLAGS="$xorg_testset_save_CFLAGS"
   6312 
   6313 		eval supported=\$$cacheid
   6314 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6315 $as_echo "$supported" >&6; }
   6316 		if test "$supported" = "yes" ; then
   6317 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6318 			found="yes"
   6319 		fi
   6320 	fi
   6321 
   6322 
   6323 
   6324 
   6325 
   6326 
   6327 
   6328 
   6329 
   6330 
   6331 
   6332 
   6333 
   6334 
   6335 
   6336 xorg_testset_save_CFLAGS="$CFLAGS"
   6337 
   6338 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6339 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6340 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6341 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6342 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6343   $as_echo_n "(cached) " >&6
   6344 else
   6345   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6346 /* end confdefs.h.  */
   6347 int i;
   6348 _ACEOF
   6349 if ac_fn_c_try_compile "$LINENO"; then :
   6350   xorg_cv_cc_flag_unknown_warning_option=yes
   6351 else
   6352   xorg_cv_cc_flag_unknown_warning_option=no
   6353 fi
   6354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6355 fi
   6356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6357 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6358 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6359 	CFLAGS="$xorg_testset_save_CFLAGS"
   6360 fi
   6361 
   6362 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6363 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6364 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6365 	fi
   6366 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6367 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6368 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6369 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6370   $as_echo_n "(cached) " >&6
   6371 else
   6372   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6373 /* end confdefs.h.  */
   6374 int i;
   6375 _ACEOF
   6376 if ac_fn_c_try_compile "$LINENO"; then :
   6377   xorg_cv_cc_flag_unused_command_line_argument=yes
   6378 else
   6379   xorg_cv_cc_flag_unused_command_line_argument=no
   6380 fi
   6381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6382 fi
   6383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6384 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6385 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6386 	CFLAGS="$xorg_testset_save_CFLAGS"
   6387 fi
   6388 
   6389 found="no"
   6390 
   6391 	if test $found = "no" ; then
   6392 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6393 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6394 		fi
   6395 
   6396 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6397 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6398 		fi
   6399 
   6400 		CFLAGS="$CFLAGS -Wcast-qual"
   6401 
   6402 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wcast-qual" >&5
   6403 $as_echo_n "checking if $CC supports -Wcast-qual... " >&6; }
   6404 		cacheid=xorg_cv_cc_flag__Wcast_qual
   6405 		if eval \${$cacheid+:} false; then :
   6406   $as_echo_n "(cached) " >&6
   6407 else
   6408   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6409 /* end confdefs.h.  */
   6410 int i;
   6411 int
   6412 main ()
   6413 {
   6414 
   6415   ;
   6416   return 0;
   6417 }
   6418 _ACEOF
   6419 if ac_fn_c_try_link "$LINENO"; then :
   6420   eval $cacheid=yes
   6421 else
   6422   eval $cacheid=no
   6423 fi
   6424 rm -f core conftest.err conftest.$ac_objext \
   6425     conftest$ac_exeext conftest.$ac_ext
   6426 fi
   6427 
   6428 
   6429 		CFLAGS="$xorg_testset_save_CFLAGS"
   6430 
   6431 		eval supported=\$$cacheid
   6432 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6433 $as_echo "$supported" >&6; }
   6434 		if test "$supported" = "yes" ; then
   6435 			BASE_CFLAGS="$BASE_CFLAGS -Wcast-qual"
   6436 			found="yes"
   6437 		fi
   6438 	fi
   6439 
   6440 
   6441 
   6442 
   6443 
   6444 
   6445 
   6446 
   6447 
   6448 
   6449 
   6450 
   6451 
   6452 
   6453 
   6454 xorg_testset_save_CFLAGS="$CFLAGS"
   6455 
   6456 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6457 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6458 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6459 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6460 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6461   $as_echo_n "(cached) " >&6
   6462 else
   6463   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6464 /* end confdefs.h.  */
   6465 int i;
   6466 _ACEOF
   6467 if ac_fn_c_try_compile "$LINENO"; then :
   6468   xorg_cv_cc_flag_unknown_warning_option=yes
   6469 else
   6470   xorg_cv_cc_flag_unknown_warning_option=no
   6471 fi
   6472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6473 fi
   6474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6475 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6476 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6477 	CFLAGS="$xorg_testset_save_CFLAGS"
   6478 fi
   6479 
   6480 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6481 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6482 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6483 	fi
   6484 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6485 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6486 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6487 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6488   $as_echo_n "(cached) " >&6
   6489 else
   6490   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6491 /* end confdefs.h.  */
   6492 int i;
   6493 _ACEOF
   6494 if ac_fn_c_try_compile "$LINENO"; then :
   6495   xorg_cv_cc_flag_unused_command_line_argument=yes
   6496 else
   6497   xorg_cv_cc_flag_unused_command_line_argument=no
   6498 fi
   6499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6500 fi
   6501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6502 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6503 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6504 	CFLAGS="$xorg_testset_save_CFLAGS"
   6505 fi
   6506 
   6507 found="no"
   6508 
   6509 	if test $found = "no" ; then
   6510 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6511 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6512 		fi
   6513 
   6514 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6515 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6516 		fi
   6517 
   6518 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6519 
   6520 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6521 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6522 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6523 		if eval \${$cacheid+:} false; then :
   6524   $as_echo_n "(cached) " >&6
   6525 else
   6526   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6527 /* end confdefs.h.  */
   6528 int i;
   6529 int
   6530 main ()
   6531 {
   6532 
   6533   ;
   6534   return 0;
   6535 }
   6536 _ACEOF
   6537 if ac_fn_c_try_link "$LINENO"; then :
   6538   eval $cacheid=yes
   6539 else
   6540   eval $cacheid=no
   6541 fi
   6542 rm -f core conftest.err conftest.$ac_objext \
   6543     conftest$ac_exeext conftest.$ac_ext
   6544 fi
   6545 
   6546 
   6547 		CFLAGS="$xorg_testset_save_CFLAGS"
   6548 
   6549 		eval supported=\$$cacheid
   6550 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6551 $as_echo "$supported" >&6; }
   6552 		if test "$supported" = "yes" ; then
   6553 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6554 			found="yes"
   6555 		fi
   6556 	fi
   6557 
   6558 
   6559 
   6560 
   6561 
   6562 
   6563 
   6564 
   6565 
   6566 
   6567 
   6568 
   6569 
   6570 
   6571 
   6572 xorg_testset_save_CFLAGS="$CFLAGS"
   6573 
   6574 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6575 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6576 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6577 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6578 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6579   $as_echo_n "(cached) " >&6
   6580 else
   6581   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6582 /* end confdefs.h.  */
   6583 int i;
   6584 _ACEOF
   6585 if ac_fn_c_try_compile "$LINENO"; then :
   6586   xorg_cv_cc_flag_unknown_warning_option=yes
   6587 else
   6588   xorg_cv_cc_flag_unknown_warning_option=no
   6589 fi
   6590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6591 fi
   6592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6593 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6594 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6595 	CFLAGS="$xorg_testset_save_CFLAGS"
   6596 fi
   6597 
   6598 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6599 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6600 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6601 	fi
   6602 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6603 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6604 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6605 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6606   $as_echo_n "(cached) " >&6
   6607 else
   6608   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6609 /* end confdefs.h.  */
   6610 int i;
   6611 _ACEOF
   6612 if ac_fn_c_try_compile "$LINENO"; then :
   6613   xorg_cv_cc_flag_unused_command_line_argument=yes
   6614 else
   6615   xorg_cv_cc_flag_unused_command_line_argument=no
   6616 fi
   6617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6618 fi
   6619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6620 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6621 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6622 	CFLAGS="$xorg_testset_save_CFLAGS"
   6623 fi
   6624 
   6625 found="no"
   6626 
   6627 	if test $found = "no" ; then
   6628 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6629 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6630 		fi
   6631 
   6632 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6633 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6634 		fi
   6635 
   6636 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6637 
   6638 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6639 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6640 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6641 		if eval \${$cacheid+:} false; then :
   6642   $as_echo_n "(cached) " >&6
   6643 else
   6644   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6645 /* end confdefs.h.  */
   6646 int i;
   6647 int
   6648 main ()
   6649 {
   6650 
   6651   ;
   6652   return 0;
   6653 }
   6654 _ACEOF
   6655 if ac_fn_c_try_link "$LINENO"; then :
   6656   eval $cacheid=yes
   6657 else
   6658   eval $cacheid=no
   6659 fi
   6660 rm -f core conftest.err conftest.$ac_objext \
   6661     conftest$ac_exeext conftest.$ac_ext
   6662 fi
   6663 
   6664 
   6665 		CFLAGS="$xorg_testset_save_CFLAGS"
   6666 
   6667 		eval supported=\$$cacheid
   6668 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6669 $as_echo "$supported" >&6; }
   6670 		if test "$supported" = "yes" ; then
   6671 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6672 			found="yes"
   6673 		fi
   6674 	fi
   6675 
   6676 
   6677 
   6678 
   6679 
   6680 
   6681 
   6682 
   6683 
   6684 
   6685 
   6686 
   6687 
   6688 
   6689 
   6690 xorg_testset_save_CFLAGS="$CFLAGS"
   6691 
   6692 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6693 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6694 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6695 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6696 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6697   $as_echo_n "(cached) " >&6
   6698 else
   6699   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6700 /* end confdefs.h.  */
   6701 int i;
   6702 _ACEOF
   6703 if ac_fn_c_try_compile "$LINENO"; then :
   6704   xorg_cv_cc_flag_unknown_warning_option=yes
   6705 else
   6706   xorg_cv_cc_flag_unknown_warning_option=no
   6707 fi
   6708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6709 fi
   6710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6711 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6712 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6713 	CFLAGS="$xorg_testset_save_CFLAGS"
   6714 fi
   6715 
   6716 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6717 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6718 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6719 	fi
   6720 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6721 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6722 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6723 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6724   $as_echo_n "(cached) " >&6
   6725 else
   6726   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6727 /* end confdefs.h.  */
   6728 int i;
   6729 _ACEOF
   6730 if ac_fn_c_try_compile "$LINENO"; then :
   6731   xorg_cv_cc_flag_unused_command_line_argument=yes
   6732 else
   6733   xorg_cv_cc_flag_unused_command_line_argument=no
   6734 fi
   6735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6736 fi
   6737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6738 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6739 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6740 	CFLAGS="$xorg_testset_save_CFLAGS"
   6741 fi
   6742 
   6743 found="no"
   6744 
   6745 	if test $found = "no" ; then
   6746 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6747 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6748 		fi
   6749 
   6750 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6751 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6752 		fi
   6753 
   6754 		CFLAGS="$CFLAGS -Wredundant-decls"
   6755 
   6756 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6757 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6758 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6759 		if eval \${$cacheid+:} false; then :
   6760   $as_echo_n "(cached) " >&6
   6761 else
   6762   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6763 /* end confdefs.h.  */
   6764 int i;
   6765 int
   6766 main ()
   6767 {
   6768 
   6769   ;
   6770   return 0;
   6771 }
   6772 _ACEOF
   6773 if ac_fn_c_try_link "$LINENO"; then :
   6774   eval $cacheid=yes
   6775 else
   6776   eval $cacheid=no
   6777 fi
   6778 rm -f core conftest.err conftest.$ac_objext \
   6779     conftest$ac_exeext conftest.$ac_ext
   6780 fi
   6781 
   6782 
   6783 		CFLAGS="$xorg_testset_save_CFLAGS"
   6784 
   6785 		eval supported=\$$cacheid
   6786 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6787 $as_echo "$supported" >&6; }
   6788 		if test "$supported" = "yes" ; then
   6789 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6790 			found="yes"
   6791 		fi
   6792 	fi
   6793 
   6794 
   6795 
   6796 # These are currently disabled because they are noisy.  They will be enabled
   6797 # in the future once the codebase is sufficiently modernized to silence
   6798 # them.  For now, I don't want them to drown out the other warnings.
   6799 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wlogical-op])
   6800 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6801 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6802 
   6803 # Turn some warnings into errors, so we don't accidently get successful builds
   6804 # when there are problems that should be fixed.
   6805 
   6806 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6807 
   6808 
   6809 
   6810 
   6811 
   6812 
   6813 
   6814 
   6815 
   6816 
   6817 
   6818 
   6819 
   6820 xorg_testset_save_CFLAGS="$CFLAGS"
   6821 
   6822 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6823 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6824 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6825 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6826 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6827   $as_echo_n "(cached) " >&6
   6828 else
   6829   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6830 /* end confdefs.h.  */
   6831 int i;
   6832 _ACEOF
   6833 if ac_fn_c_try_compile "$LINENO"; then :
   6834   xorg_cv_cc_flag_unknown_warning_option=yes
   6835 else
   6836   xorg_cv_cc_flag_unknown_warning_option=no
   6837 fi
   6838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6839 fi
   6840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6841 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6842 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6843 	CFLAGS="$xorg_testset_save_CFLAGS"
   6844 fi
   6845 
   6846 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6847 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6848 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6849 	fi
   6850 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6851 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6852 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6853 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6854   $as_echo_n "(cached) " >&6
   6855 else
   6856   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6857 /* end confdefs.h.  */
   6858 int i;
   6859 _ACEOF
   6860 if ac_fn_c_try_compile "$LINENO"; then :
   6861   xorg_cv_cc_flag_unused_command_line_argument=yes
   6862 else
   6863   xorg_cv_cc_flag_unused_command_line_argument=no
   6864 fi
   6865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6866 fi
   6867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6868 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6869 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6870 	CFLAGS="$xorg_testset_save_CFLAGS"
   6871 fi
   6872 
   6873 found="no"
   6874 
   6875 	if test $found = "no" ; then
   6876 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6877 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6878 		fi
   6879 
   6880 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6881 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6882 		fi
   6883 
   6884 		CFLAGS="$CFLAGS -Werror=implicit"
   6885 
   6886 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   6887 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   6888 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=implicit" | $as_tr_sh`
   6889 		if eval \${$cacheid+:} false; then :
   6890   $as_echo_n "(cached) " >&6
   6891 else
   6892   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6893 /* end confdefs.h.  */
   6894 int i;
   6895 int
   6896 main ()
   6897 {
   6898 
   6899   ;
   6900   return 0;
   6901 }
   6902 _ACEOF
   6903 if ac_fn_c_try_link "$LINENO"; then :
   6904   eval $cacheid=yes
   6905 else
   6906   eval $cacheid=no
   6907 fi
   6908 rm -f core conftest.err conftest.$ac_objext \
   6909     conftest$ac_exeext conftest.$ac_ext
   6910 fi
   6911 
   6912 
   6913 		CFLAGS="$xorg_testset_save_CFLAGS"
   6914 
   6915 		eval supported=\$$cacheid
   6916 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6917 $as_echo "$supported" >&6; }
   6918 		if test "$supported" = "yes" ; then
   6919 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   6920 			found="yes"
   6921 		fi
   6922 	fi
   6923 
   6924 	if test $found = "no" ; then
   6925 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   6926 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6927 		fi
   6928 
   6929 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   6930 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6931 		fi
   6932 
   6933 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6934 
   6935 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   6936 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   6937 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" | $as_tr_sh`
   6938 		if eval \${$cacheid+:} false; then :
   6939   $as_echo_n "(cached) " >&6
   6940 else
   6941   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6942 /* end confdefs.h.  */
   6943 int i;
   6944 int
   6945 main ()
   6946 {
   6947 
   6948   ;
   6949   return 0;
   6950 }
   6951 _ACEOF
   6952 if ac_fn_c_try_link "$LINENO"; then :
   6953   eval $cacheid=yes
   6954 else
   6955   eval $cacheid=no
   6956 fi
   6957 rm -f core conftest.err conftest.$ac_objext \
   6958     conftest$ac_exeext conftest.$ac_ext
   6959 fi
   6960 
   6961 
   6962 		CFLAGS="$xorg_testset_save_CFLAGS"
   6963 
   6964 		eval supported=\$$cacheid
   6965 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6966 $as_echo "$supported" >&6; }
   6967 		if test "$supported" = "yes" ; then
   6968 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6969 			found="yes"
   6970 		fi
   6971 	fi
   6972 
   6973 
   6974 
   6975 
   6976 
   6977 
   6978 
   6979 
   6980 
   6981 
   6982 
   6983 
   6984 
   6985 
   6986 
   6987 xorg_testset_save_CFLAGS="$CFLAGS"
   6988 
   6989 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6990 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6991 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6992 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6993 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6994   $as_echo_n "(cached) " >&6
   6995 else
   6996   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6997 /* end confdefs.h.  */
   6998 int i;
   6999 _ACEOF
   7000 if ac_fn_c_try_compile "$LINENO"; then :
   7001   xorg_cv_cc_flag_unknown_warning_option=yes
   7002 else
   7003   xorg_cv_cc_flag_unknown_warning_option=no
   7004 fi
   7005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7006 fi
   7007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7008 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7009 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7010 	CFLAGS="$xorg_testset_save_CFLAGS"
   7011 fi
   7012 
   7013 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7014 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7015 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7016 	fi
   7017 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7018 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7019 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7020 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7021   $as_echo_n "(cached) " >&6
   7022 else
   7023   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7024 /* end confdefs.h.  */
   7025 int i;
   7026 _ACEOF
   7027 if ac_fn_c_try_compile "$LINENO"; then :
   7028   xorg_cv_cc_flag_unused_command_line_argument=yes
   7029 else
   7030   xorg_cv_cc_flag_unused_command_line_argument=no
   7031 fi
   7032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7033 fi
   7034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7035 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7036 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7037 	CFLAGS="$xorg_testset_save_CFLAGS"
   7038 fi
   7039 
   7040 found="no"
   7041 
   7042 	if test $found = "no" ; then
   7043 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7044 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7045 		fi
   7046 
   7047 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7048 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7049 		fi
   7050 
   7051 		CFLAGS="$CFLAGS -Werror=nonnull"
   7052 
   7053 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7054 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   7055 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=nonnull" | $as_tr_sh`
   7056 		if eval \${$cacheid+:} false; then :
   7057   $as_echo_n "(cached) " >&6
   7058 else
   7059   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7060 /* end confdefs.h.  */
   7061 int i;
   7062 int
   7063 main ()
   7064 {
   7065 
   7066   ;
   7067   return 0;
   7068 }
   7069 _ACEOF
   7070 if ac_fn_c_try_link "$LINENO"; then :
   7071   eval $cacheid=yes
   7072 else
   7073   eval $cacheid=no
   7074 fi
   7075 rm -f core conftest.err conftest.$ac_objext \
   7076     conftest$ac_exeext conftest.$ac_ext
   7077 fi
   7078 
   7079 
   7080 		CFLAGS="$xorg_testset_save_CFLAGS"
   7081 
   7082 		eval supported=\$$cacheid
   7083 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7084 $as_echo "$supported" >&6; }
   7085 		if test "$supported" = "yes" ; then
   7086 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7087 			found="yes"
   7088 		fi
   7089 	fi
   7090 
   7091 
   7092 
   7093 
   7094 
   7095 
   7096 
   7097 
   7098 
   7099 
   7100 
   7101 
   7102 
   7103 
   7104 
   7105 xorg_testset_save_CFLAGS="$CFLAGS"
   7106 
   7107 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7108 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7109 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7110 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7111 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7112   $as_echo_n "(cached) " >&6
   7113 else
   7114   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7115 /* end confdefs.h.  */
   7116 int i;
   7117 _ACEOF
   7118 if ac_fn_c_try_compile "$LINENO"; then :
   7119   xorg_cv_cc_flag_unknown_warning_option=yes
   7120 else
   7121   xorg_cv_cc_flag_unknown_warning_option=no
   7122 fi
   7123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7124 fi
   7125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7126 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7127 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7128 	CFLAGS="$xorg_testset_save_CFLAGS"
   7129 fi
   7130 
   7131 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7132 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7133 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7134 	fi
   7135 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7136 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7137 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7138 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7139   $as_echo_n "(cached) " >&6
   7140 else
   7141   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7142 /* end confdefs.h.  */
   7143 int i;
   7144 _ACEOF
   7145 if ac_fn_c_try_compile "$LINENO"; then :
   7146   xorg_cv_cc_flag_unused_command_line_argument=yes
   7147 else
   7148   xorg_cv_cc_flag_unused_command_line_argument=no
   7149 fi
   7150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7151 fi
   7152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7153 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7154 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7155 	CFLAGS="$xorg_testset_save_CFLAGS"
   7156 fi
   7157 
   7158 found="no"
   7159 
   7160 	if test $found = "no" ; then
   7161 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7162 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7163 		fi
   7164 
   7165 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7166 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7167 		fi
   7168 
   7169 		CFLAGS="$CFLAGS -Werror=init-self"
   7170 
   7171 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7172 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7173 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=init-self" | $as_tr_sh`
   7174 		if eval \${$cacheid+:} false; then :
   7175   $as_echo_n "(cached) " >&6
   7176 else
   7177   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7178 /* end confdefs.h.  */
   7179 int i;
   7180 int
   7181 main ()
   7182 {
   7183 
   7184   ;
   7185   return 0;
   7186 }
   7187 _ACEOF
   7188 if ac_fn_c_try_link "$LINENO"; then :
   7189   eval $cacheid=yes
   7190 else
   7191   eval $cacheid=no
   7192 fi
   7193 rm -f core conftest.err conftest.$ac_objext \
   7194     conftest$ac_exeext conftest.$ac_ext
   7195 fi
   7196 
   7197 
   7198 		CFLAGS="$xorg_testset_save_CFLAGS"
   7199 
   7200 		eval supported=\$$cacheid
   7201 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7202 $as_echo "$supported" >&6; }
   7203 		if test "$supported" = "yes" ; then
   7204 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7205 			found="yes"
   7206 		fi
   7207 	fi
   7208 
   7209 
   7210 
   7211 
   7212 
   7213 
   7214 
   7215 
   7216 
   7217 
   7218 
   7219 
   7220 
   7221 
   7222 
   7223 xorg_testset_save_CFLAGS="$CFLAGS"
   7224 
   7225 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7226 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7227 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7228 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7229 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7230   $as_echo_n "(cached) " >&6
   7231 else
   7232   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7233 /* end confdefs.h.  */
   7234 int i;
   7235 _ACEOF
   7236 if ac_fn_c_try_compile "$LINENO"; then :
   7237   xorg_cv_cc_flag_unknown_warning_option=yes
   7238 else
   7239   xorg_cv_cc_flag_unknown_warning_option=no
   7240 fi
   7241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7242 fi
   7243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7244 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7245 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7246 	CFLAGS="$xorg_testset_save_CFLAGS"
   7247 fi
   7248 
   7249 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7250 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7251 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7252 	fi
   7253 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7254 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7255 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7256 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7257   $as_echo_n "(cached) " >&6
   7258 else
   7259   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7260 /* end confdefs.h.  */
   7261 int i;
   7262 _ACEOF
   7263 if ac_fn_c_try_compile "$LINENO"; then :
   7264   xorg_cv_cc_flag_unused_command_line_argument=yes
   7265 else
   7266   xorg_cv_cc_flag_unused_command_line_argument=no
   7267 fi
   7268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7269 fi
   7270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7271 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7272 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7273 	CFLAGS="$xorg_testset_save_CFLAGS"
   7274 fi
   7275 
   7276 found="no"
   7277 
   7278 	if test $found = "no" ; then
   7279 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7280 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7281 		fi
   7282 
   7283 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7284 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7285 		fi
   7286 
   7287 		CFLAGS="$CFLAGS -Werror=main"
   7288 
   7289 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7290 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7291 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=main" | $as_tr_sh`
   7292 		if eval \${$cacheid+:} false; then :
   7293   $as_echo_n "(cached) " >&6
   7294 else
   7295   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7296 /* end confdefs.h.  */
   7297 int i;
   7298 int
   7299 main ()
   7300 {
   7301 
   7302   ;
   7303   return 0;
   7304 }
   7305 _ACEOF
   7306 if ac_fn_c_try_link "$LINENO"; then :
   7307   eval $cacheid=yes
   7308 else
   7309   eval $cacheid=no
   7310 fi
   7311 rm -f core conftest.err conftest.$ac_objext \
   7312     conftest$ac_exeext conftest.$ac_ext
   7313 fi
   7314 
   7315 
   7316 		CFLAGS="$xorg_testset_save_CFLAGS"
   7317 
   7318 		eval supported=\$$cacheid
   7319 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7320 $as_echo "$supported" >&6; }
   7321 		if test "$supported" = "yes" ; then
   7322 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7323 			found="yes"
   7324 		fi
   7325 	fi
   7326 
   7327 
   7328 
   7329 
   7330 
   7331 
   7332 
   7333 
   7334 
   7335 
   7336 
   7337 
   7338 
   7339 
   7340 
   7341 xorg_testset_save_CFLAGS="$CFLAGS"
   7342 
   7343 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7344 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7345 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7346 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7347 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7348   $as_echo_n "(cached) " >&6
   7349 else
   7350   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7351 /* end confdefs.h.  */
   7352 int i;
   7353 _ACEOF
   7354 if ac_fn_c_try_compile "$LINENO"; then :
   7355   xorg_cv_cc_flag_unknown_warning_option=yes
   7356 else
   7357   xorg_cv_cc_flag_unknown_warning_option=no
   7358 fi
   7359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7360 fi
   7361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7362 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7363 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7364 	CFLAGS="$xorg_testset_save_CFLAGS"
   7365 fi
   7366 
   7367 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7368 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7369 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7370 	fi
   7371 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7372 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7373 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7374 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7375   $as_echo_n "(cached) " >&6
   7376 else
   7377   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7378 /* end confdefs.h.  */
   7379 int i;
   7380 _ACEOF
   7381 if ac_fn_c_try_compile "$LINENO"; then :
   7382   xorg_cv_cc_flag_unused_command_line_argument=yes
   7383 else
   7384   xorg_cv_cc_flag_unused_command_line_argument=no
   7385 fi
   7386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7387 fi
   7388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7389 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7390 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7391 	CFLAGS="$xorg_testset_save_CFLAGS"
   7392 fi
   7393 
   7394 found="no"
   7395 
   7396 	if test $found = "no" ; then
   7397 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7398 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7399 		fi
   7400 
   7401 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7402 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7403 		fi
   7404 
   7405 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7406 
   7407 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7408 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7409 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=missing-braces" | $as_tr_sh`
   7410 		if eval \${$cacheid+:} false; then :
   7411   $as_echo_n "(cached) " >&6
   7412 else
   7413   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7414 /* end confdefs.h.  */
   7415 int i;
   7416 int
   7417 main ()
   7418 {
   7419 
   7420   ;
   7421   return 0;
   7422 }
   7423 _ACEOF
   7424 if ac_fn_c_try_link "$LINENO"; then :
   7425   eval $cacheid=yes
   7426 else
   7427   eval $cacheid=no
   7428 fi
   7429 rm -f core conftest.err conftest.$ac_objext \
   7430     conftest$ac_exeext conftest.$ac_ext
   7431 fi
   7432 
   7433 
   7434 		CFLAGS="$xorg_testset_save_CFLAGS"
   7435 
   7436 		eval supported=\$$cacheid
   7437 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7438 $as_echo "$supported" >&6; }
   7439 		if test "$supported" = "yes" ; then
   7440 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7441 			found="yes"
   7442 		fi
   7443 	fi
   7444 
   7445 
   7446 
   7447 
   7448 
   7449 
   7450 
   7451 
   7452 
   7453 
   7454 
   7455 
   7456 
   7457 
   7458 
   7459 xorg_testset_save_CFLAGS="$CFLAGS"
   7460 
   7461 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7462 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7463 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7464 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7465 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7466   $as_echo_n "(cached) " >&6
   7467 else
   7468   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7469 /* end confdefs.h.  */
   7470 int i;
   7471 _ACEOF
   7472 if ac_fn_c_try_compile "$LINENO"; then :
   7473   xorg_cv_cc_flag_unknown_warning_option=yes
   7474 else
   7475   xorg_cv_cc_flag_unknown_warning_option=no
   7476 fi
   7477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7478 fi
   7479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7480 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7481 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7482 	CFLAGS="$xorg_testset_save_CFLAGS"
   7483 fi
   7484 
   7485 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7486 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7487 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7488 	fi
   7489 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7490 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7491 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7492 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7493   $as_echo_n "(cached) " >&6
   7494 else
   7495   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7496 /* end confdefs.h.  */
   7497 int i;
   7498 _ACEOF
   7499 if ac_fn_c_try_compile "$LINENO"; then :
   7500   xorg_cv_cc_flag_unused_command_line_argument=yes
   7501 else
   7502   xorg_cv_cc_flag_unused_command_line_argument=no
   7503 fi
   7504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7505 fi
   7506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7507 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7508 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7509 	CFLAGS="$xorg_testset_save_CFLAGS"
   7510 fi
   7511 
   7512 found="no"
   7513 
   7514 	if test $found = "no" ; then
   7515 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7516 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7517 		fi
   7518 
   7519 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7520 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7521 		fi
   7522 
   7523 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7524 
   7525 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7526 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7527 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=sequence-point" | $as_tr_sh`
   7528 		if eval \${$cacheid+:} false; then :
   7529   $as_echo_n "(cached) " >&6
   7530 else
   7531   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7532 /* end confdefs.h.  */
   7533 int i;
   7534 int
   7535 main ()
   7536 {
   7537 
   7538   ;
   7539   return 0;
   7540 }
   7541 _ACEOF
   7542 if ac_fn_c_try_link "$LINENO"; then :
   7543   eval $cacheid=yes
   7544 else
   7545   eval $cacheid=no
   7546 fi
   7547 rm -f core conftest.err conftest.$ac_objext \
   7548     conftest$ac_exeext conftest.$ac_ext
   7549 fi
   7550 
   7551 
   7552 		CFLAGS="$xorg_testset_save_CFLAGS"
   7553 
   7554 		eval supported=\$$cacheid
   7555 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7556 $as_echo "$supported" >&6; }
   7557 		if test "$supported" = "yes" ; then
   7558 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7559 			found="yes"
   7560 		fi
   7561 	fi
   7562 
   7563 
   7564 
   7565 
   7566 
   7567 
   7568 
   7569 
   7570 
   7571 
   7572 
   7573 
   7574 
   7575 
   7576 
   7577 xorg_testset_save_CFLAGS="$CFLAGS"
   7578 
   7579 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7580 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7581 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7582 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7583 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7584   $as_echo_n "(cached) " >&6
   7585 else
   7586   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7587 /* end confdefs.h.  */
   7588 int i;
   7589 _ACEOF
   7590 if ac_fn_c_try_compile "$LINENO"; then :
   7591   xorg_cv_cc_flag_unknown_warning_option=yes
   7592 else
   7593   xorg_cv_cc_flag_unknown_warning_option=no
   7594 fi
   7595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7596 fi
   7597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7598 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7599 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7600 	CFLAGS="$xorg_testset_save_CFLAGS"
   7601 fi
   7602 
   7603 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7604 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7605 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7606 	fi
   7607 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7608 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7609 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7610 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7611   $as_echo_n "(cached) " >&6
   7612 else
   7613   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7614 /* end confdefs.h.  */
   7615 int i;
   7616 _ACEOF
   7617 if ac_fn_c_try_compile "$LINENO"; then :
   7618   xorg_cv_cc_flag_unused_command_line_argument=yes
   7619 else
   7620   xorg_cv_cc_flag_unused_command_line_argument=no
   7621 fi
   7622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7623 fi
   7624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7625 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7626 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7627 	CFLAGS="$xorg_testset_save_CFLAGS"
   7628 fi
   7629 
   7630 found="no"
   7631 
   7632 	if test $found = "no" ; then
   7633 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7634 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7635 		fi
   7636 
   7637 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7638 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7639 		fi
   7640 
   7641 		CFLAGS="$CFLAGS -Werror=return-type"
   7642 
   7643 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7644 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7645 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=return-type" | $as_tr_sh`
   7646 		if eval \${$cacheid+:} false; then :
   7647   $as_echo_n "(cached) " >&6
   7648 else
   7649   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7650 /* end confdefs.h.  */
   7651 int i;
   7652 int
   7653 main ()
   7654 {
   7655 
   7656   ;
   7657   return 0;
   7658 }
   7659 _ACEOF
   7660 if ac_fn_c_try_link "$LINENO"; then :
   7661   eval $cacheid=yes
   7662 else
   7663   eval $cacheid=no
   7664 fi
   7665 rm -f core conftest.err conftest.$ac_objext \
   7666     conftest$ac_exeext conftest.$ac_ext
   7667 fi
   7668 
   7669 
   7670 		CFLAGS="$xorg_testset_save_CFLAGS"
   7671 
   7672 		eval supported=\$$cacheid
   7673 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7674 $as_echo "$supported" >&6; }
   7675 		if test "$supported" = "yes" ; then
   7676 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7677 			found="yes"
   7678 		fi
   7679 	fi
   7680 
   7681 	if test $found = "no" ; then
   7682 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7683 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7684 		fi
   7685 
   7686 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7687 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7688 		fi
   7689 
   7690 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7691 
   7692 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7693 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7694 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_FUNC_HAS_NO_RETURN_STMT" | $as_tr_sh`
   7695 		if eval \${$cacheid+:} false; then :
   7696   $as_echo_n "(cached) " >&6
   7697 else
   7698   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7699 /* end confdefs.h.  */
   7700 int i;
   7701 int
   7702 main ()
   7703 {
   7704 
   7705   ;
   7706   return 0;
   7707 }
   7708 _ACEOF
   7709 if ac_fn_c_try_link "$LINENO"; then :
   7710   eval $cacheid=yes
   7711 else
   7712   eval $cacheid=no
   7713 fi
   7714 rm -f core conftest.err conftest.$ac_objext \
   7715     conftest$ac_exeext conftest.$ac_ext
   7716 fi
   7717 
   7718 
   7719 		CFLAGS="$xorg_testset_save_CFLAGS"
   7720 
   7721 		eval supported=\$$cacheid
   7722 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7723 $as_echo "$supported" >&6; }
   7724 		if test "$supported" = "yes" ; then
   7725 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7726 			found="yes"
   7727 		fi
   7728 	fi
   7729 
   7730 
   7731 
   7732 
   7733 
   7734 
   7735 
   7736 
   7737 
   7738 
   7739 
   7740 
   7741 
   7742 
   7743 
   7744 xorg_testset_save_CFLAGS="$CFLAGS"
   7745 
   7746 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7747 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7748 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7749 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7750 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7751   $as_echo_n "(cached) " >&6
   7752 else
   7753   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7754 /* end confdefs.h.  */
   7755 int i;
   7756 _ACEOF
   7757 if ac_fn_c_try_compile "$LINENO"; then :
   7758   xorg_cv_cc_flag_unknown_warning_option=yes
   7759 else
   7760   xorg_cv_cc_flag_unknown_warning_option=no
   7761 fi
   7762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7763 fi
   7764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7765 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7766 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7767 	CFLAGS="$xorg_testset_save_CFLAGS"
   7768 fi
   7769 
   7770 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7771 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7772 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7773 	fi
   7774 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7775 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7776 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7777 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7778   $as_echo_n "(cached) " >&6
   7779 else
   7780   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7781 /* end confdefs.h.  */
   7782 int i;
   7783 _ACEOF
   7784 if ac_fn_c_try_compile "$LINENO"; then :
   7785   xorg_cv_cc_flag_unused_command_line_argument=yes
   7786 else
   7787   xorg_cv_cc_flag_unused_command_line_argument=no
   7788 fi
   7789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7790 fi
   7791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7792 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7793 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7794 	CFLAGS="$xorg_testset_save_CFLAGS"
   7795 fi
   7796 
   7797 found="no"
   7798 
   7799 	if test $found = "no" ; then
   7800 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7801 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7802 		fi
   7803 
   7804 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7805 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7806 		fi
   7807 
   7808 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7809 
   7810 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   7811 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   7812 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=trigraphs" | $as_tr_sh`
   7813 		if eval \${$cacheid+:} false; then :
   7814   $as_echo_n "(cached) " >&6
   7815 else
   7816   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7817 /* end confdefs.h.  */
   7818 int i;
   7819 int
   7820 main ()
   7821 {
   7822 
   7823   ;
   7824   return 0;
   7825 }
   7826 _ACEOF
   7827 if ac_fn_c_try_link "$LINENO"; then :
   7828   eval $cacheid=yes
   7829 else
   7830   eval $cacheid=no
   7831 fi
   7832 rm -f core conftest.err conftest.$ac_objext \
   7833     conftest$ac_exeext conftest.$ac_ext
   7834 fi
   7835 
   7836 
   7837 		CFLAGS="$xorg_testset_save_CFLAGS"
   7838 
   7839 		eval supported=\$$cacheid
   7840 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7841 $as_echo "$supported" >&6; }
   7842 		if test "$supported" = "yes" ; then
   7843 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   7844 			found="yes"
   7845 		fi
   7846 	fi
   7847 
   7848 
   7849 
   7850 
   7851 
   7852 
   7853 
   7854 
   7855 
   7856 
   7857 
   7858 
   7859 
   7860 
   7861 
   7862 xorg_testset_save_CFLAGS="$CFLAGS"
   7863 
   7864 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7865 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7866 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7867 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7868 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7869   $as_echo_n "(cached) " >&6
   7870 else
   7871   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7872 /* end confdefs.h.  */
   7873 int i;
   7874 _ACEOF
   7875 if ac_fn_c_try_compile "$LINENO"; then :
   7876   xorg_cv_cc_flag_unknown_warning_option=yes
   7877 else
   7878   xorg_cv_cc_flag_unknown_warning_option=no
   7879 fi
   7880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7881 fi
   7882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7883 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7884 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7885 	CFLAGS="$xorg_testset_save_CFLAGS"
   7886 fi
   7887 
   7888 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7889 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7890 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7891 	fi
   7892 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7893 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7894 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7895 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7896   $as_echo_n "(cached) " >&6
   7897 else
   7898   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7899 /* end confdefs.h.  */
   7900 int i;
   7901 _ACEOF
   7902 if ac_fn_c_try_compile "$LINENO"; then :
   7903   xorg_cv_cc_flag_unused_command_line_argument=yes
   7904 else
   7905   xorg_cv_cc_flag_unused_command_line_argument=no
   7906 fi
   7907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7908 fi
   7909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7910 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7911 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7912 	CFLAGS="$xorg_testset_save_CFLAGS"
   7913 fi
   7914 
   7915 found="no"
   7916 
   7917 	if test $found = "no" ; then
   7918 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   7919 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7920 		fi
   7921 
   7922 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   7923 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7924 		fi
   7925 
   7926 		CFLAGS="$CFLAGS -Werror=array-bounds"
   7927 
   7928 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   7929 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   7930 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=array-bounds" | $as_tr_sh`
   7931 		if eval \${$cacheid+:} false; then :
   7932   $as_echo_n "(cached) " >&6
   7933 else
   7934   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7935 /* end confdefs.h.  */
   7936 int i;
   7937 int
   7938 main ()
   7939 {
   7940 
   7941   ;
   7942   return 0;
   7943 }
   7944 _ACEOF
   7945 if ac_fn_c_try_link "$LINENO"; then :
   7946   eval $cacheid=yes
   7947 else
   7948   eval $cacheid=no
   7949 fi
   7950 rm -f core conftest.err conftest.$ac_objext \
   7951     conftest$ac_exeext conftest.$ac_ext
   7952 fi
   7953 
   7954 
   7955 		CFLAGS="$xorg_testset_save_CFLAGS"
   7956 
   7957 		eval supported=\$$cacheid
   7958 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7959 $as_echo "$supported" >&6; }
   7960 		if test "$supported" = "yes" ; then
   7961 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   7962 			found="yes"
   7963 		fi
   7964 	fi
   7965 
   7966 
   7967 
   7968 
   7969 
   7970 
   7971 
   7972 
   7973 
   7974 
   7975 
   7976 
   7977 
   7978 
   7979 
   7980 xorg_testset_save_CFLAGS="$CFLAGS"
   7981 
   7982 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7983 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7984 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7985 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7986 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7987   $as_echo_n "(cached) " >&6
   7988 else
   7989   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7990 /* end confdefs.h.  */
   7991 int i;
   7992 _ACEOF
   7993 if ac_fn_c_try_compile "$LINENO"; then :
   7994   xorg_cv_cc_flag_unknown_warning_option=yes
   7995 else
   7996   xorg_cv_cc_flag_unknown_warning_option=no
   7997 fi
   7998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7999 fi
   8000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8001 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8002 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8003 	CFLAGS="$xorg_testset_save_CFLAGS"
   8004 fi
   8005 
   8006 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8007 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8008 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8009 	fi
   8010 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8011 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8012 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8013 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8014   $as_echo_n "(cached) " >&6
   8015 else
   8016   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8017 /* end confdefs.h.  */
   8018 int i;
   8019 _ACEOF
   8020 if ac_fn_c_try_compile "$LINENO"; then :
   8021   xorg_cv_cc_flag_unused_command_line_argument=yes
   8022 else
   8023   xorg_cv_cc_flag_unused_command_line_argument=no
   8024 fi
   8025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8026 fi
   8027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8028 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8029 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8030 	CFLAGS="$xorg_testset_save_CFLAGS"
   8031 fi
   8032 
   8033 found="no"
   8034 
   8035 	if test $found = "no" ; then
   8036 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8037 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8038 		fi
   8039 
   8040 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8041 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8042 		fi
   8043 
   8044 		CFLAGS="$CFLAGS -Werror=write-strings"
   8045 
   8046 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8047 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   8048 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=write-strings" | $as_tr_sh`
   8049 		if eval \${$cacheid+:} false; then :
   8050   $as_echo_n "(cached) " >&6
   8051 else
   8052   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8053 /* end confdefs.h.  */
   8054 int i;
   8055 int
   8056 main ()
   8057 {
   8058 
   8059   ;
   8060   return 0;
   8061 }
   8062 _ACEOF
   8063 if ac_fn_c_try_link "$LINENO"; then :
   8064   eval $cacheid=yes
   8065 else
   8066   eval $cacheid=no
   8067 fi
   8068 rm -f core conftest.err conftest.$ac_objext \
   8069     conftest$ac_exeext conftest.$ac_ext
   8070 fi
   8071 
   8072 
   8073 		CFLAGS="$xorg_testset_save_CFLAGS"
   8074 
   8075 		eval supported=\$$cacheid
   8076 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8077 $as_echo "$supported" >&6; }
   8078 		if test "$supported" = "yes" ; then
   8079 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8080 			found="yes"
   8081 		fi
   8082 	fi
   8083 
   8084 
   8085 
   8086 
   8087 
   8088 
   8089 
   8090 
   8091 
   8092 
   8093 
   8094 
   8095 
   8096 
   8097 
   8098 xorg_testset_save_CFLAGS="$CFLAGS"
   8099 
   8100 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8101 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8102 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8103 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8104 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8105   $as_echo_n "(cached) " >&6
   8106 else
   8107   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8108 /* end confdefs.h.  */
   8109 int i;
   8110 _ACEOF
   8111 if ac_fn_c_try_compile "$LINENO"; then :
   8112   xorg_cv_cc_flag_unknown_warning_option=yes
   8113 else
   8114   xorg_cv_cc_flag_unknown_warning_option=no
   8115 fi
   8116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8117 fi
   8118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8119 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8120 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8121 	CFLAGS="$xorg_testset_save_CFLAGS"
   8122 fi
   8123 
   8124 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8125 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8126 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8127 	fi
   8128 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8129 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8130 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8131 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8132   $as_echo_n "(cached) " >&6
   8133 else
   8134   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8135 /* end confdefs.h.  */
   8136 int i;
   8137 _ACEOF
   8138 if ac_fn_c_try_compile "$LINENO"; then :
   8139   xorg_cv_cc_flag_unused_command_line_argument=yes
   8140 else
   8141   xorg_cv_cc_flag_unused_command_line_argument=no
   8142 fi
   8143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8144 fi
   8145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8146 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8147 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8148 	CFLAGS="$xorg_testset_save_CFLAGS"
   8149 fi
   8150 
   8151 found="no"
   8152 
   8153 	if test $found = "no" ; then
   8154 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8155 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8156 		fi
   8157 
   8158 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8159 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8160 		fi
   8161 
   8162 		CFLAGS="$CFLAGS -Werror=address"
   8163 
   8164 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8165 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8166 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=address" | $as_tr_sh`
   8167 		if eval \${$cacheid+:} false; then :
   8168   $as_echo_n "(cached) " >&6
   8169 else
   8170   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8171 /* end confdefs.h.  */
   8172 int i;
   8173 int
   8174 main ()
   8175 {
   8176 
   8177   ;
   8178   return 0;
   8179 }
   8180 _ACEOF
   8181 if ac_fn_c_try_link "$LINENO"; then :
   8182   eval $cacheid=yes
   8183 else
   8184   eval $cacheid=no
   8185 fi
   8186 rm -f core conftest.err conftest.$ac_objext \
   8187     conftest$ac_exeext conftest.$ac_ext
   8188 fi
   8189 
   8190 
   8191 		CFLAGS="$xorg_testset_save_CFLAGS"
   8192 
   8193 		eval supported=\$$cacheid
   8194 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8195 $as_echo "$supported" >&6; }
   8196 		if test "$supported" = "yes" ; then
   8197 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8198 			found="yes"
   8199 		fi
   8200 	fi
   8201 
   8202 
   8203 
   8204 
   8205 
   8206 
   8207 
   8208 
   8209 
   8210 
   8211 
   8212 
   8213 
   8214 
   8215 
   8216 xorg_testset_save_CFLAGS="$CFLAGS"
   8217 
   8218 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8219 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8220 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8221 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8222 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8223   $as_echo_n "(cached) " >&6
   8224 else
   8225   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8226 /* end confdefs.h.  */
   8227 int i;
   8228 _ACEOF
   8229 if ac_fn_c_try_compile "$LINENO"; then :
   8230   xorg_cv_cc_flag_unknown_warning_option=yes
   8231 else
   8232   xorg_cv_cc_flag_unknown_warning_option=no
   8233 fi
   8234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8235 fi
   8236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8237 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8238 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8239 	CFLAGS="$xorg_testset_save_CFLAGS"
   8240 fi
   8241 
   8242 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8243 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8244 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8245 	fi
   8246 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8247 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8248 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8249 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8250   $as_echo_n "(cached) " >&6
   8251 else
   8252   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8253 /* end confdefs.h.  */
   8254 int i;
   8255 _ACEOF
   8256 if ac_fn_c_try_compile "$LINENO"; then :
   8257   xorg_cv_cc_flag_unused_command_line_argument=yes
   8258 else
   8259   xorg_cv_cc_flag_unused_command_line_argument=no
   8260 fi
   8261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8262 fi
   8263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8264 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8265 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8266 	CFLAGS="$xorg_testset_save_CFLAGS"
   8267 fi
   8268 
   8269 found="no"
   8270 
   8271 	if test $found = "no" ; then
   8272 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8273 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8274 		fi
   8275 
   8276 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8277 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8278 		fi
   8279 
   8280 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8281 
   8282 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8283 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8284 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=int-to-pointer-cast" | $as_tr_sh`
   8285 		if eval \${$cacheid+:} false; then :
   8286   $as_echo_n "(cached) " >&6
   8287 else
   8288   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8289 /* end confdefs.h.  */
   8290 int i;
   8291 int
   8292 main ()
   8293 {
   8294 
   8295   ;
   8296   return 0;
   8297 }
   8298 _ACEOF
   8299 if ac_fn_c_try_link "$LINENO"; then :
   8300   eval $cacheid=yes
   8301 else
   8302   eval $cacheid=no
   8303 fi
   8304 rm -f core conftest.err conftest.$ac_objext \
   8305     conftest$ac_exeext conftest.$ac_ext
   8306 fi
   8307 
   8308 
   8309 		CFLAGS="$xorg_testset_save_CFLAGS"
   8310 
   8311 		eval supported=\$$cacheid
   8312 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8313 $as_echo "$supported" >&6; }
   8314 		if test "$supported" = "yes" ; then
   8315 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8316 			found="yes"
   8317 		fi
   8318 	fi
   8319 
   8320 	if test $found = "no" ; then
   8321 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8322 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8323 		fi
   8324 
   8325 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8326 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8327 		fi
   8328 
   8329 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8330 
   8331 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8332 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8333 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_BAD_PTR_INT_COMBINATION" | $as_tr_sh`
   8334 		if eval \${$cacheid+:} false; then :
   8335   $as_echo_n "(cached) " >&6
   8336 else
   8337   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8338 /* end confdefs.h.  */
   8339 int i;
   8340 int
   8341 main ()
   8342 {
   8343 
   8344   ;
   8345   return 0;
   8346 }
   8347 _ACEOF
   8348 if ac_fn_c_try_link "$LINENO"; then :
   8349   eval $cacheid=yes
   8350 else
   8351   eval $cacheid=no
   8352 fi
   8353 rm -f core conftest.err conftest.$ac_objext \
   8354     conftest$ac_exeext conftest.$ac_ext
   8355 fi
   8356 
   8357 
   8358 		CFLAGS="$xorg_testset_save_CFLAGS"
   8359 
   8360 		eval supported=\$$cacheid
   8361 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8362 $as_echo "$supported" >&6; }
   8363 		if test "$supported" = "yes" ; then
   8364 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8365 			found="yes"
   8366 		fi
   8367 	fi
   8368 
   8369 
   8370 
   8371 
   8372 
   8373 
   8374 
   8375 
   8376 
   8377 
   8378 
   8379 
   8380 
   8381 
   8382 
   8383 xorg_testset_save_CFLAGS="$CFLAGS"
   8384 
   8385 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8386 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8387 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8388 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8389 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8390   $as_echo_n "(cached) " >&6
   8391 else
   8392   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8393 /* end confdefs.h.  */
   8394 int i;
   8395 _ACEOF
   8396 if ac_fn_c_try_compile "$LINENO"; then :
   8397   xorg_cv_cc_flag_unknown_warning_option=yes
   8398 else
   8399   xorg_cv_cc_flag_unknown_warning_option=no
   8400 fi
   8401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8402 fi
   8403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8404 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8405 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8406 	CFLAGS="$xorg_testset_save_CFLAGS"
   8407 fi
   8408 
   8409 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8410 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8411 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8412 	fi
   8413 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8414 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8415 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8416 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8417   $as_echo_n "(cached) " >&6
   8418 else
   8419   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8420 /* end confdefs.h.  */
   8421 int i;
   8422 _ACEOF
   8423 if ac_fn_c_try_compile "$LINENO"; then :
   8424   xorg_cv_cc_flag_unused_command_line_argument=yes
   8425 else
   8426   xorg_cv_cc_flag_unused_command_line_argument=no
   8427 fi
   8428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8429 fi
   8430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8431 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8432 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8433 	CFLAGS="$xorg_testset_save_CFLAGS"
   8434 fi
   8435 
   8436 found="no"
   8437 
   8438 	if test $found = "no" ; then
   8439 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8440 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8441 		fi
   8442 
   8443 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8444 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8445 		fi
   8446 
   8447 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8448 
   8449 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8450 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8451 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=pointer-to-int-cast" | $as_tr_sh`
   8452 		if eval \${$cacheid+:} false; then :
   8453   $as_echo_n "(cached) " >&6
   8454 else
   8455   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8456 /* end confdefs.h.  */
   8457 int i;
   8458 int
   8459 main ()
   8460 {
   8461 
   8462   ;
   8463   return 0;
   8464 }
   8465 _ACEOF
   8466 if ac_fn_c_try_link "$LINENO"; then :
   8467   eval $cacheid=yes
   8468 else
   8469   eval $cacheid=no
   8470 fi
   8471 rm -f core conftest.err conftest.$ac_objext \
   8472     conftest$ac_exeext conftest.$ac_ext
   8473 fi
   8474 
   8475 
   8476 		CFLAGS="$xorg_testset_save_CFLAGS"
   8477 
   8478 		eval supported=\$$cacheid
   8479 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8480 $as_echo "$supported" >&6; }
   8481 		if test "$supported" = "yes" ; then
   8482 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8483 			found="yes"
   8484 		fi
   8485 	fi
   8486 
   8487  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8488 else
   8489 { $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
   8490 $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;}
   8491 
   8492 
   8493 
   8494 
   8495 
   8496 
   8497 
   8498 
   8499 
   8500 
   8501 
   8502 
   8503 
   8504 xorg_testset_save_CFLAGS="$CFLAGS"
   8505 
   8506 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8507 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8508 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8509 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8510 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8511   $as_echo_n "(cached) " >&6
   8512 else
   8513   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8514 /* end confdefs.h.  */
   8515 int i;
   8516 _ACEOF
   8517 if ac_fn_c_try_compile "$LINENO"; then :
   8518   xorg_cv_cc_flag_unknown_warning_option=yes
   8519 else
   8520   xorg_cv_cc_flag_unknown_warning_option=no
   8521 fi
   8522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8523 fi
   8524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8525 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8526 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8527 	CFLAGS="$xorg_testset_save_CFLAGS"
   8528 fi
   8529 
   8530 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8531 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8532 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8533 	fi
   8534 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8535 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8536 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8537 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8538   $as_echo_n "(cached) " >&6
   8539 else
   8540   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8541 /* end confdefs.h.  */
   8542 int i;
   8543 _ACEOF
   8544 if ac_fn_c_try_compile "$LINENO"; then :
   8545   xorg_cv_cc_flag_unused_command_line_argument=yes
   8546 else
   8547   xorg_cv_cc_flag_unused_command_line_argument=no
   8548 fi
   8549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8550 fi
   8551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8552 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8553 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8554 	CFLAGS="$xorg_testset_save_CFLAGS"
   8555 fi
   8556 
   8557 found="no"
   8558 
   8559 	if test $found = "no" ; then
   8560 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8561 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8562 		fi
   8563 
   8564 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8565 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8566 		fi
   8567 
   8568 		CFLAGS="$CFLAGS -Wimplicit"
   8569 
   8570 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8571 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8572 		cacheid=xorg_cv_cc_flag__Wimplicit
   8573 		if eval \${$cacheid+:} false; then :
   8574   $as_echo_n "(cached) " >&6
   8575 else
   8576   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8577 /* end confdefs.h.  */
   8578 int i;
   8579 int
   8580 main ()
   8581 {
   8582 
   8583   ;
   8584   return 0;
   8585 }
   8586 _ACEOF
   8587 if ac_fn_c_try_link "$LINENO"; then :
   8588   eval $cacheid=yes
   8589 else
   8590   eval $cacheid=no
   8591 fi
   8592 rm -f core conftest.err conftest.$ac_objext \
   8593     conftest$ac_exeext conftest.$ac_ext
   8594 fi
   8595 
   8596 
   8597 		CFLAGS="$xorg_testset_save_CFLAGS"
   8598 
   8599 		eval supported=\$$cacheid
   8600 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8601 $as_echo "$supported" >&6; }
   8602 		if test "$supported" = "yes" ; then
   8603 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8604 			found="yes"
   8605 		fi
   8606 	fi
   8607 
   8608 
   8609 
   8610 
   8611 
   8612 
   8613 
   8614 
   8615 
   8616 
   8617 
   8618 
   8619 
   8620 
   8621 
   8622 xorg_testset_save_CFLAGS="$CFLAGS"
   8623 
   8624 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8625 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8626 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8627 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8628 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8629   $as_echo_n "(cached) " >&6
   8630 else
   8631   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8632 /* end confdefs.h.  */
   8633 int i;
   8634 _ACEOF
   8635 if ac_fn_c_try_compile "$LINENO"; then :
   8636   xorg_cv_cc_flag_unknown_warning_option=yes
   8637 else
   8638   xorg_cv_cc_flag_unknown_warning_option=no
   8639 fi
   8640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8641 fi
   8642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8643 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8644 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8645 	CFLAGS="$xorg_testset_save_CFLAGS"
   8646 fi
   8647 
   8648 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8649 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8650 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8651 	fi
   8652 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8653 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8654 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8655 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8656   $as_echo_n "(cached) " >&6
   8657 else
   8658   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8659 /* end confdefs.h.  */
   8660 int i;
   8661 _ACEOF
   8662 if ac_fn_c_try_compile "$LINENO"; then :
   8663   xorg_cv_cc_flag_unused_command_line_argument=yes
   8664 else
   8665   xorg_cv_cc_flag_unused_command_line_argument=no
   8666 fi
   8667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8668 fi
   8669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8670 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8671 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8672 	CFLAGS="$xorg_testset_save_CFLAGS"
   8673 fi
   8674 
   8675 found="no"
   8676 
   8677 	if test $found = "no" ; then
   8678 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8679 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8680 		fi
   8681 
   8682 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8683 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8684 		fi
   8685 
   8686 		CFLAGS="$CFLAGS -Wnonnull"
   8687 
   8688 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8689 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8690 		cacheid=xorg_cv_cc_flag__Wnonnull
   8691 		if eval \${$cacheid+:} false; then :
   8692   $as_echo_n "(cached) " >&6
   8693 else
   8694   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8695 /* end confdefs.h.  */
   8696 int i;
   8697 int
   8698 main ()
   8699 {
   8700 
   8701   ;
   8702   return 0;
   8703 }
   8704 _ACEOF
   8705 if ac_fn_c_try_link "$LINENO"; then :
   8706   eval $cacheid=yes
   8707 else
   8708   eval $cacheid=no
   8709 fi
   8710 rm -f core conftest.err conftest.$ac_objext \
   8711     conftest$ac_exeext conftest.$ac_ext
   8712 fi
   8713 
   8714 
   8715 		CFLAGS="$xorg_testset_save_CFLAGS"
   8716 
   8717 		eval supported=\$$cacheid
   8718 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8719 $as_echo "$supported" >&6; }
   8720 		if test "$supported" = "yes" ; then
   8721 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8722 			found="yes"
   8723 		fi
   8724 	fi
   8725 
   8726 
   8727 
   8728 
   8729 
   8730 
   8731 
   8732 
   8733 
   8734 
   8735 
   8736 
   8737 
   8738 
   8739 
   8740 xorg_testset_save_CFLAGS="$CFLAGS"
   8741 
   8742 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8743 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8744 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8745 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8746 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8747   $as_echo_n "(cached) " >&6
   8748 else
   8749   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8750 /* end confdefs.h.  */
   8751 int i;
   8752 _ACEOF
   8753 if ac_fn_c_try_compile "$LINENO"; then :
   8754   xorg_cv_cc_flag_unknown_warning_option=yes
   8755 else
   8756   xorg_cv_cc_flag_unknown_warning_option=no
   8757 fi
   8758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8759 fi
   8760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8761 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8762 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8763 	CFLAGS="$xorg_testset_save_CFLAGS"
   8764 fi
   8765 
   8766 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8767 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8768 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8769 	fi
   8770 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8771 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8772 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8773 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8774   $as_echo_n "(cached) " >&6
   8775 else
   8776   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8777 /* end confdefs.h.  */
   8778 int i;
   8779 _ACEOF
   8780 if ac_fn_c_try_compile "$LINENO"; then :
   8781   xorg_cv_cc_flag_unused_command_line_argument=yes
   8782 else
   8783   xorg_cv_cc_flag_unused_command_line_argument=no
   8784 fi
   8785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8786 fi
   8787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8788 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8789 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8790 	CFLAGS="$xorg_testset_save_CFLAGS"
   8791 fi
   8792 
   8793 found="no"
   8794 
   8795 	if test $found = "no" ; then
   8796 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8797 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8798 		fi
   8799 
   8800 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8801 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8802 		fi
   8803 
   8804 		CFLAGS="$CFLAGS -Winit-self"
   8805 
   8806 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   8807 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   8808 		cacheid=xorg_cv_cc_flag__Winit_self
   8809 		if eval \${$cacheid+:} false; then :
   8810   $as_echo_n "(cached) " >&6
   8811 else
   8812   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8813 /* end confdefs.h.  */
   8814 int i;
   8815 int
   8816 main ()
   8817 {
   8818 
   8819   ;
   8820   return 0;
   8821 }
   8822 _ACEOF
   8823 if ac_fn_c_try_link "$LINENO"; then :
   8824   eval $cacheid=yes
   8825 else
   8826   eval $cacheid=no
   8827 fi
   8828 rm -f core conftest.err conftest.$ac_objext \
   8829     conftest$ac_exeext conftest.$ac_ext
   8830 fi
   8831 
   8832 
   8833 		CFLAGS="$xorg_testset_save_CFLAGS"
   8834 
   8835 		eval supported=\$$cacheid
   8836 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8837 $as_echo "$supported" >&6; }
   8838 		if test "$supported" = "yes" ; then
   8839 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   8840 			found="yes"
   8841 		fi
   8842 	fi
   8843 
   8844 
   8845 
   8846 
   8847 
   8848 
   8849 
   8850 
   8851 
   8852 
   8853 
   8854 
   8855 
   8856 
   8857 
   8858 xorg_testset_save_CFLAGS="$CFLAGS"
   8859 
   8860 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8861 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8862 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8863 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8864 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8865   $as_echo_n "(cached) " >&6
   8866 else
   8867   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8868 /* end confdefs.h.  */
   8869 int i;
   8870 _ACEOF
   8871 if ac_fn_c_try_compile "$LINENO"; then :
   8872   xorg_cv_cc_flag_unknown_warning_option=yes
   8873 else
   8874   xorg_cv_cc_flag_unknown_warning_option=no
   8875 fi
   8876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8877 fi
   8878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8879 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8880 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8881 	CFLAGS="$xorg_testset_save_CFLAGS"
   8882 fi
   8883 
   8884 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8885 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8886 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8887 	fi
   8888 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8889 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8890 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8891 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8892   $as_echo_n "(cached) " >&6
   8893 else
   8894   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8895 /* end confdefs.h.  */
   8896 int i;
   8897 _ACEOF
   8898 if ac_fn_c_try_compile "$LINENO"; then :
   8899   xorg_cv_cc_flag_unused_command_line_argument=yes
   8900 else
   8901   xorg_cv_cc_flag_unused_command_line_argument=no
   8902 fi
   8903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8904 fi
   8905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8906 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8907 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8908 	CFLAGS="$xorg_testset_save_CFLAGS"
   8909 fi
   8910 
   8911 found="no"
   8912 
   8913 	if test $found = "no" ; then
   8914 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   8915 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8916 		fi
   8917 
   8918 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   8919 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8920 		fi
   8921 
   8922 		CFLAGS="$CFLAGS -Wmain"
   8923 
   8924 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   8925 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   8926 		cacheid=xorg_cv_cc_flag__Wmain
   8927 		if eval \${$cacheid+:} false; then :
   8928   $as_echo_n "(cached) " >&6
   8929 else
   8930   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8931 /* end confdefs.h.  */
   8932 int i;
   8933 int
   8934 main ()
   8935 {
   8936 
   8937   ;
   8938   return 0;
   8939 }
   8940 _ACEOF
   8941 if ac_fn_c_try_link "$LINENO"; then :
   8942   eval $cacheid=yes
   8943 else
   8944   eval $cacheid=no
   8945 fi
   8946 rm -f core conftest.err conftest.$ac_objext \
   8947     conftest$ac_exeext conftest.$ac_ext
   8948 fi
   8949 
   8950 
   8951 		CFLAGS="$xorg_testset_save_CFLAGS"
   8952 
   8953 		eval supported=\$$cacheid
   8954 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8955 $as_echo "$supported" >&6; }
   8956 		if test "$supported" = "yes" ; then
   8957 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   8958 			found="yes"
   8959 		fi
   8960 	fi
   8961 
   8962 
   8963 
   8964 
   8965 
   8966 
   8967 
   8968 
   8969 
   8970 
   8971 
   8972 
   8973 
   8974 
   8975 
   8976 xorg_testset_save_CFLAGS="$CFLAGS"
   8977 
   8978 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8979 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8980 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8981 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8982 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8983   $as_echo_n "(cached) " >&6
   8984 else
   8985   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8986 /* end confdefs.h.  */
   8987 int i;
   8988 _ACEOF
   8989 if ac_fn_c_try_compile "$LINENO"; then :
   8990   xorg_cv_cc_flag_unknown_warning_option=yes
   8991 else
   8992   xorg_cv_cc_flag_unknown_warning_option=no
   8993 fi
   8994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8995 fi
   8996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8997 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8998 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8999 	CFLAGS="$xorg_testset_save_CFLAGS"
   9000 fi
   9001 
   9002 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9003 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9004 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9005 	fi
   9006 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9007 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9008 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9009 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9010   $as_echo_n "(cached) " >&6
   9011 else
   9012   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9013 /* end confdefs.h.  */
   9014 int i;
   9015 _ACEOF
   9016 if ac_fn_c_try_compile "$LINENO"; then :
   9017   xorg_cv_cc_flag_unused_command_line_argument=yes
   9018 else
   9019   xorg_cv_cc_flag_unused_command_line_argument=no
   9020 fi
   9021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9022 fi
   9023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9024 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9025 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9026 	CFLAGS="$xorg_testset_save_CFLAGS"
   9027 fi
   9028 
   9029 found="no"
   9030 
   9031 	if test $found = "no" ; then
   9032 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9033 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9034 		fi
   9035 
   9036 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9037 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9038 		fi
   9039 
   9040 		CFLAGS="$CFLAGS -Wmissing-braces"
   9041 
   9042 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9043 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   9044 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9045 		if eval \${$cacheid+:} false; then :
   9046   $as_echo_n "(cached) " >&6
   9047 else
   9048   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9049 /* end confdefs.h.  */
   9050 int i;
   9051 int
   9052 main ()
   9053 {
   9054 
   9055   ;
   9056   return 0;
   9057 }
   9058 _ACEOF
   9059 if ac_fn_c_try_link "$LINENO"; then :
   9060   eval $cacheid=yes
   9061 else
   9062   eval $cacheid=no
   9063 fi
   9064 rm -f core conftest.err conftest.$ac_objext \
   9065     conftest$ac_exeext conftest.$ac_ext
   9066 fi
   9067 
   9068 
   9069 		CFLAGS="$xorg_testset_save_CFLAGS"
   9070 
   9071 		eval supported=\$$cacheid
   9072 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9073 $as_echo "$supported" >&6; }
   9074 		if test "$supported" = "yes" ; then
   9075 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9076 			found="yes"
   9077 		fi
   9078 	fi
   9079 
   9080 
   9081 
   9082 
   9083 
   9084 
   9085 
   9086 
   9087 
   9088 
   9089 
   9090 
   9091 
   9092 
   9093 
   9094 xorg_testset_save_CFLAGS="$CFLAGS"
   9095 
   9096 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9097 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9098 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9099 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9100 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9101   $as_echo_n "(cached) " >&6
   9102 else
   9103   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9104 /* end confdefs.h.  */
   9105 int i;
   9106 _ACEOF
   9107 if ac_fn_c_try_compile "$LINENO"; then :
   9108   xorg_cv_cc_flag_unknown_warning_option=yes
   9109 else
   9110   xorg_cv_cc_flag_unknown_warning_option=no
   9111 fi
   9112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9113 fi
   9114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9115 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9116 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9117 	CFLAGS="$xorg_testset_save_CFLAGS"
   9118 fi
   9119 
   9120 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9121 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9122 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9123 	fi
   9124 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9125 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9126 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9127 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9128   $as_echo_n "(cached) " >&6
   9129 else
   9130   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9131 /* end confdefs.h.  */
   9132 int i;
   9133 _ACEOF
   9134 if ac_fn_c_try_compile "$LINENO"; then :
   9135   xorg_cv_cc_flag_unused_command_line_argument=yes
   9136 else
   9137   xorg_cv_cc_flag_unused_command_line_argument=no
   9138 fi
   9139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9140 fi
   9141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9142 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9143 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9144 	CFLAGS="$xorg_testset_save_CFLAGS"
   9145 fi
   9146 
   9147 found="no"
   9148 
   9149 	if test $found = "no" ; then
   9150 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9151 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9152 		fi
   9153 
   9154 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9155 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9156 		fi
   9157 
   9158 		CFLAGS="$CFLAGS -Wsequence-point"
   9159 
   9160 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9161 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9162 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9163 		if eval \${$cacheid+:} false; then :
   9164   $as_echo_n "(cached) " >&6
   9165 else
   9166   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9167 /* end confdefs.h.  */
   9168 int i;
   9169 int
   9170 main ()
   9171 {
   9172 
   9173   ;
   9174   return 0;
   9175 }
   9176 _ACEOF
   9177 if ac_fn_c_try_link "$LINENO"; then :
   9178   eval $cacheid=yes
   9179 else
   9180   eval $cacheid=no
   9181 fi
   9182 rm -f core conftest.err conftest.$ac_objext \
   9183     conftest$ac_exeext conftest.$ac_ext
   9184 fi
   9185 
   9186 
   9187 		CFLAGS="$xorg_testset_save_CFLAGS"
   9188 
   9189 		eval supported=\$$cacheid
   9190 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9191 $as_echo "$supported" >&6; }
   9192 		if test "$supported" = "yes" ; then
   9193 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9194 			found="yes"
   9195 		fi
   9196 	fi
   9197 
   9198 
   9199 
   9200 
   9201 
   9202 
   9203 
   9204 
   9205 
   9206 
   9207 
   9208 
   9209 
   9210 
   9211 
   9212 xorg_testset_save_CFLAGS="$CFLAGS"
   9213 
   9214 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9215 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9216 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9217 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9218 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9219   $as_echo_n "(cached) " >&6
   9220 else
   9221   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9222 /* end confdefs.h.  */
   9223 int i;
   9224 _ACEOF
   9225 if ac_fn_c_try_compile "$LINENO"; then :
   9226   xorg_cv_cc_flag_unknown_warning_option=yes
   9227 else
   9228   xorg_cv_cc_flag_unknown_warning_option=no
   9229 fi
   9230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9231 fi
   9232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9233 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9234 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9235 	CFLAGS="$xorg_testset_save_CFLAGS"
   9236 fi
   9237 
   9238 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9239 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9240 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9241 	fi
   9242 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9243 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9244 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9245 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9246   $as_echo_n "(cached) " >&6
   9247 else
   9248   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9249 /* end confdefs.h.  */
   9250 int i;
   9251 _ACEOF
   9252 if ac_fn_c_try_compile "$LINENO"; then :
   9253   xorg_cv_cc_flag_unused_command_line_argument=yes
   9254 else
   9255   xorg_cv_cc_flag_unused_command_line_argument=no
   9256 fi
   9257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9258 fi
   9259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9260 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9261 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9262 	CFLAGS="$xorg_testset_save_CFLAGS"
   9263 fi
   9264 
   9265 found="no"
   9266 
   9267 	if test $found = "no" ; then
   9268 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9269 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9270 		fi
   9271 
   9272 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9273 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9274 		fi
   9275 
   9276 		CFLAGS="$CFLAGS -Wreturn-type"
   9277 
   9278 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9279 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9280 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9281 		if eval \${$cacheid+:} false; then :
   9282   $as_echo_n "(cached) " >&6
   9283 else
   9284   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9285 /* end confdefs.h.  */
   9286 int i;
   9287 int
   9288 main ()
   9289 {
   9290 
   9291   ;
   9292   return 0;
   9293 }
   9294 _ACEOF
   9295 if ac_fn_c_try_link "$LINENO"; then :
   9296   eval $cacheid=yes
   9297 else
   9298   eval $cacheid=no
   9299 fi
   9300 rm -f core conftest.err conftest.$ac_objext \
   9301     conftest$ac_exeext conftest.$ac_ext
   9302 fi
   9303 
   9304 
   9305 		CFLAGS="$xorg_testset_save_CFLAGS"
   9306 
   9307 		eval supported=\$$cacheid
   9308 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9309 $as_echo "$supported" >&6; }
   9310 		if test "$supported" = "yes" ; then
   9311 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9312 			found="yes"
   9313 		fi
   9314 	fi
   9315 
   9316 
   9317 
   9318 
   9319 
   9320 
   9321 
   9322 
   9323 
   9324 
   9325 
   9326 
   9327 
   9328 
   9329 
   9330 xorg_testset_save_CFLAGS="$CFLAGS"
   9331 
   9332 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9333 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9334 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9335 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9336 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9337   $as_echo_n "(cached) " >&6
   9338 else
   9339   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9340 /* end confdefs.h.  */
   9341 int i;
   9342 _ACEOF
   9343 if ac_fn_c_try_compile "$LINENO"; then :
   9344   xorg_cv_cc_flag_unknown_warning_option=yes
   9345 else
   9346   xorg_cv_cc_flag_unknown_warning_option=no
   9347 fi
   9348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9349 fi
   9350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9351 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9352 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9353 	CFLAGS="$xorg_testset_save_CFLAGS"
   9354 fi
   9355 
   9356 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9357 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9358 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9359 	fi
   9360 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9361 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9362 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9363 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9364   $as_echo_n "(cached) " >&6
   9365 else
   9366   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9367 /* end confdefs.h.  */
   9368 int i;
   9369 _ACEOF
   9370 if ac_fn_c_try_compile "$LINENO"; then :
   9371   xorg_cv_cc_flag_unused_command_line_argument=yes
   9372 else
   9373   xorg_cv_cc_flag_unused_command_line_argument=no
   9374 fi
   9375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9376 fi
   9377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9378 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9379 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9380 	CFLAGS="$xorg_testset_save_CFLAGS"
   9381 fi
   9382 
   9383 found="no"
   9384 
   9385 	if test $found = "no" ; then
   9386 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9387 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9388 		fi
   9389 
   9390 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9391 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9392 		fi
   9393 
   9394 		CFLAGS="$CFLAGS -Wtrigraphs"
   9395 
   9396 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9397 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9398 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9399 		if eval \${$cacheid+:} false; then :
   9400   $as_echo_n "(cached) " >&6
   9401 else
   9402   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9403 /* end confdefs.h.  */
   9404 int i;
   9405 int
   9406 main ()
   9407 {
   9408 
   9409   ;
   9410   return 0;
   9411 }
   9412 _ACEOF
   9413 if ac_fn_c_try_link "$LINENO"; then :
   9414   eval $cacheid=yes
   9415 else
   9416   eval $cacheid=no
   9417 fi
   9418 rm -f core conftest.err conftest.$ac_objext \
   9419     conftest$ac_exeext conftest.$ac_ext
   9420 fi
   9421 
   9422 
   9423 		CFLAGS="$xorg_testset_save_CFLAGS"
   9424 
   9425 		eval supported=\$$cacheid
   9426 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9427 $as_echo "$supported" >&6; }
   9428 		if test "$supported" = "yes" ; then
   9429 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9430 			found="yes"
   9431 		fi
   9432 	fi
   9433 
   9434 
   9435 
   9436 
   9437 
   9438 
   9439 
   9440 
   9441 
   9442 
   9443 
   9444 
   9445 
   9446 
   9447 
   9448 xorg_testset_save_CFLAGS="$CFLAGS"
   9449 
   9450 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9451 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9452 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9453 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9454 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9455   $as_echo_n "(cached) " >&6
   9456 else
   9457   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9458 /* end confdefs.h.  */
   9459 int i;
   9460 _ACEOF
   9461 if ac_fn_c_try_compile "$LINENO"; then :
   9462   xorg_cv_cc_flag_unknown_warning_option=yes
   9463 else
   9464   xorg_cv_cc_flag_unknown_warning_option=no
   9465 fi
   9466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9467 fi
   9468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9469 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9470 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9471 	CFLAGS="$xorg_testset_save_CFLAGS"
   9472 fi
   9473 
   9474 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9475 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9476 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9477 	fi
   9478 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9479 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9480 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9481 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9482   $as_echo_n "(cached) " >&6
   9483 else
   9484   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9485 /* end confdefs.h.  */
   9486 int i;
   9487 _ACEOF
   9488 if ac_fn_c_try_compile "$LINENO"; then :
   9489   xorg_cv_cc_flag_unused_command_line_argument=yes
   9490 else
   9491   xorg_cv_cc_flag_unused_command_line_argument=no
   9492 fi
   9493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9494 fi
   9495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9496 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9497 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9498 	CFLAGS="$xorg_testset_save_CFLAGS"
   9499 fi
   9500 
   9501 found="no"
   9502 
   9503 	if test $found = "no" ; then
   9504 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9505 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9506 		fi
   9507 
   9508 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9509 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9510 		fi
   9511 
   9512 		CFLAGS="$CFLAGS -Warray-bounds"
   9513 
   9514 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9515 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9516 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9517 		if eval \${$cacheid+:} false; then :
   9518   $as_echo_n "(cached) " >&6
   9519 else
   9520   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9521 /* end confdefs.h.  */
   9522 int i;
   9523 int
   9524 main ()
   9525 {
   9526 
   9527   ;
   9528   return 0;
   9529 }
   9530 _ACEOF
   9531 if ac_fn_c_try_link "$LINENO"; then :
   9532   eval $cacheid=yes
   9533 else
   9534   eval $cacheid=no
   9535 fi
   9536 rm -f core conftest.err conftest.$ac_objext \
   9537     conftest$ac_exeext conftest.$ac_ext
   9538 fi
   9539 
   9540 
   9541 		CFLAGS="$xorg_testset_save_CFLAGS"
   9542 
   9543 		eval supported=\$$cacheid
   9544 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9545 $as_echo "$supported" >&6; }
   9546 		if test "$supported" = "yes" ; then
   9547 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9548 			found="yes"
   9549 		fi
   9550 	fi
   9551 
   9552 
   9553 
   9554 
   9555 
   9556 
   9557 
   9558 
   9559 
   9560 
   9561 
   9562 
   9563 
   9564 
   9565 
   9566 xorg_testset_save_CFLAGS="$CFLAGS"
   9567 
   9568 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9569 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9570 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9571 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9572 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9573   $as_echo_n "(cached) " >&6
   9574 else
   9575   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9576 /* end confdefs.h.  */
   9577 int i;
   9578 _ACEOF
   9579 if ac_fn_c_try_compile "$LINENO"; then :
   9580   xorg_cv_cc_flag_unknown_warning_option=yes
   9581 else
   9582   xorg_cv_cc_flag_unknown_warning_option=no
   9583 fi
   9584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9585 fi
   9586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9587 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9588 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9589 	CFLAGS="$xorg_testset_save_CFLAGS"
   9590 fi
   9591 
   9592 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9593 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9594 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9595 	fi
   9596 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9597 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9598 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9599 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9600   $as_echo_n "(cached) " >&6
   9601 else
   9602   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9603 /* end confdefs.h.  */
   9604 int i;
   9605 _ACEOF
   9606 if ac_fn_c_try_compile "$LINENO"; then :
   9607   xorg_cv_cc_flag_unused_command_line_argument=yes
   9608 else
   9609   xorg_cv_cc_flag_unused_command_line_argument=no
   9610 fi
   9611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9612 fi
   9613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9614 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9615 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9616 	CFLAGS="$xorg_testset_save_CFLAGS"
   9617 fi
   9618 
   9619 found="no"
   9620 
   9621 	if test $found = "no" ; then
   9622 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9623 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9624 		fi
   9625 
   9626 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9627 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9628 		fi
   9629 
   9630 		CFLAGS="$CFLAGS -Wwrite-strings"
   9631 
   9632 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9633 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9634 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9635 		if eval \${$cacheid+:} false; then :
   9636   $as_echo_n "(cached) " >&6
   9637 else
   9638   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9639 /* end confdefs.h.  */
   9640 int i;
   9641 int
   9642 main ()
   9643 {
   9644 
   9645   ;
   9646   return 0;
   9647 }
   9648 _ACEOF
   9649 if ac_fn_c_try_link "$LINENO"; then :
   9650   eval $cacheid=yes
   9651 else
   9652   eval $cacheid=no
   9653 fi
   9654 rm -f core conftest.err conftest.$ac_objext \
   9655     conftest$ac_exeext conftest.$ac_ext
   9656 fi
   9657 
   9658 
   9659 		CFLAGS="$xorg_testset_save_CFLAGS"
   9660 
   9661 		eval supported=\$$cacheid
   9662 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9663 $as_echo "$supported" >&6; }
   9664 		if test "$supported" = "yes" ; then
   9665 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9666 			found="yes"
   9667 		fi
   9668 	fi
   9669 
   9670 
   9671 
   9672 
   9673 
   9674 
   9675 
   9676 
   9677 
   9678 
   9679 
   9680 
   9681 
   9682 
   9683 
   9684 xorg_testset_save_CFLAGS="$CFLAGS"
   9685 
   9686 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9687 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9688 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9689 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9690 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9691   $as_echo_n "(cached) " >&6
   9692 else
   9693   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9694 /* end confdefs.h.  */
   9695 int i;
   9696 _ACEOF
   9697 if ac_fn_c_try_compile "$LINENO"; then :
   9698   xorg_cv_cc_flag_unknown_warning_option=yes
   9699 else
   9700   xorg_cv_cc_flag_unknown_warning_option=no
   9701 fi
   9702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9703 fi
   9704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9705 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9706 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9707 	CFLAGS="$xorg_testset_save_CFLAGS"
   9708 fi
   9709 
   9710 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9711 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9712 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9713 	fi
   9714 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9715 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9716 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9717 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9718   $as_echo_n "(cached) " >&6
   9719 else
   9720   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9721 /* end confdefs.h.  */
   9722 int i;
   9723 _ACEOF
   9724 if ac_fn_c_try_compile "$LINENO"; then :
   9725   xorg_cv_cc_flag_unused_command_line_argument=yes
   9726 else
   9727   xorg_cv_cc_flag_unused_command_line_argument=no
   9728 fi
   9729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9730 fi
   9731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9732 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9733 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9734 	CFLAGS="$xorg_testset_save_CFLAGS"
   9735 fi
   9736 
   9737 found="no"
   9738 
   9739 	if test $found = "no" ; then
   9740 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9741 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9742 		fi
   9743 
   9744 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9745 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9746 		fi
   9747 
   9748 		CFLAGS="$CFLAGS -Waddress"
   9749 
   9750 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9751 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9752 		cacheid=xorg_cv_cc_flag__Waddress
   9753 		if eval \${$cacheid+:} false; then :
   9754   $as_echo_n "(cached) " >&6
   9755 else
   9756   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9757 /* end confdefs.h.  */
   9758 int i;
   9759 int
   9760 main ()
   9761 {
   9762 
   9763   ;
   9764   return 0;
   9765 }
   9766 _ACEOF
   9767 if ac_fn_c_try_link "$LINENO"; then :
   9768   eval $cacheid=yes
   9769 else
   9770   eval $cacheid=no
   9771 fi
   9772 rm -f core conftest.err conftest.$ac_objext \
   9773     conftest$ac_exeext conftest.$ac_ext
   9774 fi
   9775 
   9776 
   9777 		CFLAGS="$xorg_testset_save_CFLAGS"
   9778 
   9779 		eval supported=\$$cacheid
   9780 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9781 $as_echo "$supported" >&6; }
   9782 		if test "$supported" = "yes" ; then
   9783 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9784 			found="yes"
   9785 		fi
   9786 	fi
   9787 
   9788 
   9789 
   9790 
   9791 
   9792 
   9793 
   9794 
   9795 
   9796 
   9797 
   9798 
   9799 
   9800 
   9801 
   9802 xorg_testset_save_CFLAGS="$CFLAGS"
   9803 
   9804 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9805 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9806 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9807 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9808 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9809   $as_echo_n "(cached) " >&6
   9810 else
   9811   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9812 /* end confdefs.h.  */
   9813 int i;
   9814 _ACEOF
   9815 if ac_fn_c_try_compile "$LINENO"; then :
   9816   xorg_cv_cc_flag_unknown_warning_option=yes
   9817 else
   9818   xorg_cv_cc_flag_unknown_warning_option=no
   9819 fi
   9820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9821 fi
   9822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9823 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9824 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9825 	CFLAGS="$xorg_testset_save_CFLAGS"
   9826 fi
   9827 
   9828 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9829 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9830 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9831 	fi
   9832 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9833 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9834 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9835 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9836   $as_echo_n "(cached) " >&6
   9837 else
   9838   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9839 /* end confdefs.h.  */
   9840 int i;
   9841 _ACEOF
   9842 if ac_fn_c_try_compile "$LINENO"; then :
   9843   xorg_cv_cc_flag_unused_command_line_argument=yes
   9844 else
   9845   xorg_cv_cc_flag_unused_command_line_argument=no
   9846 fi
   9847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9848 fi
   9849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9850 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9851 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9852 	CFLAGS="$xorg_testset_save_CFLAGS"
   9853 fi
   9854 
   9855 found="no"
   9856 
   9857 	if test $found = "no" ; then
   9858 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9859 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9860 		fi
   9861 
   9862 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9863 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9864 		fi
   9865 
   9866 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   9867 
   9868 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   9869 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   9870 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   9871 		if eval \${$cacheid+:} false; then :
   9872   $as_echo_n "(cached) " >&6
   9873 else
   9874   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9875 /* end confdefs.h.  */
   9876 int i;
   9877 int
   9878 main ()
   9879 {
   9880 
   9881   ;
   9882   return 0;
   9883 }
   9884 _ACEOF
   9885 if ac_fn_c_try_link "$LINENO"; then :
   9886   eval $cacheid=yes
   9887 else
   9888   eval $cacheid=no
   9889 fi
   9890 rm -f core conftest.err conftest.$ac_objext \
   9891     conftest$ac_exeext conftest.$ac_ext
   9892 fi
   9893 
   9894 
   9895 		CFLAGS="$xorg_testset_save_CFLAGS"
   9896 
   9897 		eval supported=\$$cacheid
   9898 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9899 $as_echo "$supported" >&6; }
   9900 		if test "$supported" = "yes" ; then
   9901 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   9902 			found="yes"
   9903 		fi
   9904 	fi
   9905 
   9906 
   9907 
   9908 
   9909 
   9910 
   9911 
   9912 
   9913 
   9914 
   9915 
   9916 
   9917 
   9918 
   9919 
   9920 xorg_testset_save_CFLAGS="$CFLAGS"
   9921 
   9922 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9923 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9924 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9925 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9926 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9927   $as_echo_n "(cached) " >&6
   9928 else
   9929   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9930 /* end confdefs.h.  */
   9931 int i;
   9932 _ACEOF
   9933 if ac_fn_c_try_compile "$LINENO"; then :
   9934   xorg_cv_cc_flag_unknown_warning_option=yes
   9935 else
   9936   xorg_cv_cc_flag_unknown_warning_option=no
   9937 fi
   9938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9939 fi
   9940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9941 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9942 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9943 	CFLAGS="$xorg_testset_save_CFLAGS"
   9944 fi
   9945 
   9946 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9947 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9948 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9949 	fi
   9950 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9951 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9952 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9953 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9954   $as_echo_n "(cached) " >&6
   9955 else
   9956   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9957 /* end confdefs.h.  */
   9958 int i;
   9959 _ACEOF
   9960 if ac_fn_c_try_compile "$LINENO"; then :
   9961   xorg_cv_cc_flag_unused_command_line_argument=yes
   9962 else
   9963   xorg_cv_cc_flag_unused_command_line_argument=no
   9964 fi
   9965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9966 fi
   9967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9968 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9969 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9970 	CFLAGS="$xorg_testset_save_CFLAGS"
   9971 fi
   9972 
   9973 found="no"
   9974 
   9975 	if test $found = "no" ; then
   9976 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   9977 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9978 		fi
   9979 
   9980 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   9981 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9982 		fi
   9983 
   9984 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   9985 
   9986 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   9987 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   9988 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   9989 		if eval \${$cacheid+:} false; then :
   9990   $as_echo_n "(cached) " >&6
   9991 else
   9992   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9993 /* end confdefs.h.  */
   9994 int i;
   9995 int
   9996 main ()
   9997 {
   9998 
   9999   ;
   10000   return 0;
   10001 }
   10002 _ACEOF
   10003 if ac_fn_c_try_link "$LINENO"; then :
   10004   eval $cacheid=yes
   10005 else
   10006   eval $cacheid=no
   10007 fi
   10008 rm -f core conftest.err conftest.$ac_objext \
   10009     conftest$ac_exeext conftest.$ac_ext
   10010 fi
   10011 
   10012 
   10013 		CFLAGS="$xorg_testset_save_CFLAGS"
   10014 
   10015 		eval supported=\$$cacheid
   10016 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10017 $as_echo "$supported" >&6; }
   10018 		if test "$supported" = "yes" ; then
   10019 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10020 			found="yes"
   10021 		fi
   10022 	fi
   10023 
   10024 
   10025 fi
   10026 
   10027 
   10028 
   10029 
   10030 
   10031 
   10032 
   10033 		CWARNFLAGS="$BASE_CFLAGS"
   10034 		if  test "x$GCC" = xyes ; then
   10035 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10036 		fi
   10037 
   10038 
   10039 
   10040 
   10041 
   10042 
   10043 
   10044 
   10045 # Check whether --enable-strict-compilation was given.
   10046 if test "${enable_strict_compilation+set}" = set; then :
   10047   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10048 else
   10049   STRICT_COMPILE=no
   10050 fi
   10051 
   10052 
   10053 
   10054 
   10055 
   10056 
   10057 STRICT_CFLAGS=""
   10058 
   10059 
   10060 
   10061 
   10062 
   10063 
   10064 
   10065 
   10066 
   10067 
   10068 
   10069 
   10070 
   10071 xorg_testset_save_CFLAGS="$CFLAGS"
   10072 
   10073 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10074 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10075 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10076 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10077 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10078   $as_echo_n "(cached) " >&6
   10079 else
   10080   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10081 /* end confdefs.h.  */
   10082 int i;
   10083 _ACEOF
   10084 if ac_fn_c_try_compile "$LINENO"; then :
   10085   xorg_cv_cc_flag_unknown_warning_option=yes
   10086 else
   10087   xorg_cv_cc_flag_unknown_warning_option=no
   10088 fi
   10089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10090 fi
   10091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10092 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10093 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10094 	CFLAGS="$xorg_testset_save_CFLAGS"
   10095 fi
   10096 
   10097 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10098 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10099 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10100 	fi
   10101 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10102 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10103 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10104 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10105   $as_echo_n "(cached) " >&6
   10106 else
   10107   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10108 /* end confdefs.h.  */
   10109 int i;
   10110 _ACEOF
   10111 if ac_fn_c_try_compile "$LINENO"; then :
   10112   xorg_cv_cc_flag_unused_command_line_argument=yes
   10113 else
   10114   xorg_cv_cc_flag_unused_command_line_argument=no
   10115 fi
   10116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10117 fi
   10118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10119 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10120 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10121 	CFLAGS="$xorg_testset_save_CFLAGS"
   10122 fi
   10123 
   10124 found="no"
   10125 
   10126 	if test $found = "no" ; then
   10127 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10128 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10129 		fi
   10130 
   10131 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10132 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10133 		fi
   10134 
   10135 		CFLAGS="$CFLAGS -pedantic"
   10136 
   10137 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10138 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10139 		cacheid=xorg_cv_cc_flag__pedantic
   10140 		if eval \${$cacheid+:} false; then :
   10141   $as_echo_n "(cached) " >&6
   10142 else
   10143   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10144 /* end confdefs.h.  */
   10145 int i;
   10146 int
   10147 main ()
   10148 {
   10149 
   10150   ;
   10151   return 0;
   10152 }
   10153 _ACEOF
   10154 if ac_fn_c_try_link "$LINENO"; then :
   10155   eval $cacheid=yes
   10156 else
   10157   eval $cacheid=no
   10158 fi
   10159 rm -f core conftest.err conftest.$ac_objext \
   10160     conftest$ac_exeext conftest.$ac_ext
   10161 fi
   10162 
   10163 
   10164 		CFLAGS="$xorg_testset_save_CFLAGS"
   10165 
   10166 		eval supported=\$$cacheid
   10167 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10168 $as_echo "$supported" >&6; }
   10169 		if test "$supported" = "yes" ; then
   10170 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10171 			found="yes"
   10172 		fi
   10173 	fi
   10174 
   10175 
   10176 
   10177 
   10178 
   10179 
   10180 
   10181 
   10182 
   10183 
   10184 
   10185 
   10186 
   10187 
   10188 
   10189 xorg_testset_save_CFLAGS="$CFLAGS"
   10190 
   10191 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10192 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10193 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10194 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10195 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10196   $as_echo_n "(cached) " >&6
   10197 else
   10198   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10199 /* end confdefs.h.  */
   10200 int i;
   10201 _ACEOF
   10202 if ac_fn_c_try_compile "$LINENO"; then :
   10203   xorg_cv_cc_flag_unknown_warning_option=yes
   10204 else
   10205   xorg_cv_cc_flag_unknown_warning_option=no
   10206 fi
   10207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10208 fi
   10209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10210 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10211 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10212 	CFLAGS="$xorg_testset_save_CFLAGS"
   10213 fi
   10214 
   10215 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10216 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10217 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10218 	fi
   10219 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10220 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10221 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10222 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10223   $as_echo_n "(cached) " >&6
   10224 else
   10225   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10226 /* end confdefs.h.  */
   10227 int i;
   10228 _ACEOF
   10229 if ac_fn_c_try_compile "$LINENO"; then :
   10230   xorg_cv_cc_flag_unused_command_line_argument=yes
   10231 else
   10232   xorg_cv_cc_flag_unused_command_line_argument=no
   10233 fi
   10234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10235 fi
   10236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10237 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10238 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10239 	CFLAGS="$xorg_testset_save_CFLAGS"
   10240 fi
   10241 
   10242 found="no"
   10243 
   10244 	if test $found = "no" ; then
   10245 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10246 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10247 		fi
   10248 
   10249 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10250 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10251 		fi
   10252 
   10253 		CFLAGS="$CFLAGS -Werror"
   10254 
   10255 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10256 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10257 		cacheid=xorg_cv_cc_flag__Werror
   10258 		if eval \${$cacheid+:} false; then :
   10259   $as_echo_n "(cached) " >&6
   10260 else
   10261   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10262 /* end confdefs.h.  */
   10263 int i;
   10264 int
   10265 main ()
   10266 {
   10267 
   10268   ;
   10269   return 0;
   10270 }
   10271 _ACEOF
   10272 if ac_fn_c_try_link "$LINENO"; then :
   10273   eval $cacheid=yes
   10274 else
   10275   eval $cacheid=no
   10276 fi
   10277 rm -f core conftest.err conftest.$ac_objext \
   10278     conftest$ac_exeext conftest.$ac_ext
   10279 fi
   10280 
   10281 
   10282 		CFLAGS="$xorg_testset_save_CFLAGS"
   10283 
   10284 		eval supported=\$$cacheid
   10285 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10286 $as_echo "$supported" >&6; }
   10287 		if test "$supported" = "yes" ; then
   10288 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10289 			found="yes"
   10290 		fi
   10291 	fi
   10292 
   10293 	if test $found = "no" ; then
   10294 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10295 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10296 		fi
   10297 
   10298 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10299 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10300 		fi
   10301 
   10302 		CFLAGS="$CFLAGS -errwarn"
   10303 
   10304 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10305 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10306 		cacheid=xorg_cv_cc_flag__errwarn
   10307 		if eval \${$cacheid+:} false; then :
   10308   $as_echo_n "(cached) " >&6
   10309 else
   10310   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10311 /* end confdefs.h.  */
   10312 int i;
   10313 int
   10314 main ()
   10315 {
   10316 
   10317   ;
   10318   return 0;
   10319 }
   10320 _ACEOF
   10321 if ac_fn_c_try_link "$LINENO"; then :
   10322   eval $cacheid=yes
   10323 else
   10324   eval $cacheid=no
   10325 fi
   10326 rm -f core conftest.err conftest.$ac_objext \
   10327     conftest$ac_exeext conftest.$ac_ext
   10328 fi
   10329 
   10330 
   10331 		CFLAGS="$xorg_testset_save_CFLAGS"
   10332 
   10333 		eval supported=\$$cacheid
   10334 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10335 $as_echo "$supported" >&6; }
   10336 		if test "$supported" = "yes" ; then
   10337 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10338 			found="yes"
   10339 		fi
   10340 	fi
   10341 
   10342 
   10343 
   10344 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10345 # activate it with -Werror, so we add it here explicitly.
   10346 
   10347 
   10348 
   10349 
   10350 
   10351 
   10352 
   10353 
   10354 
   10355 
   10356 
   10357 
   10358 
   10359 xorg_testset_save_CFLAGS="$CFLAGS"
   10360 
   10361 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10362 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10363 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10364 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10365 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10366   $as_echo_n "(cached) " >&6
   10367 else
   10368   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10369 /* end confdefs.h.  */
   10370 int i;
   10371 _ACEOF
   10372 if ac_fn_c_try_compile "$LINENO"; then :
   10373   xorg_cv_cc_flag_unknown_warning_option=yes
   10374 else
   10375   xorg_cv_cc_flag_unknown_warning_option=no
   10376 fi
   10377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10378 fi
   10379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10380 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10381 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10382 	CFLAGS="$xorg_testset_save_CFLAGS"
   10383 fi
   10384 
   10385 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10386 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10387 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10388 	fi
   10389 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10390 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10391 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10392 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10393   $as_echo_n "(cached) " >&6
   10394 else
   10395   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10396 /* end confdefs.h.  */
   10397 int i;
   10398 _ACEOF
   10399 if ac_fn_c_try_compile "$LINENO"; then :
   10400   xorg_cv_cc_flag_unused_command_line_argument=yes
   10401 else
   10402   xorg_cv_cc_flag_unused_command_line_argument=no
   10403 fi
   10404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10405 fi
   10406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10407 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10408 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10409 	CFLAGS="$xorg_testset_save_CFLAGS"
   10410 fi
   10411 
   10412 found="no"
   10413 
   10414 	if test $found = "no" ; then
   10415 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   10416 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10417 		fi
   10418 
   10419 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   10420 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10421 		fi
   10422 
   10423 		CFLAGS="$CFLAGS -Werror=attributes"
   10424 
   10425 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10426 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10427 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=attributes" | $as_tr_sh`
   10428 		if eval \${$cacheid+:} false; then :
   10429   $as_echo_n "(cached) " >&6
   10430 else
   10431   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10432 /* end confdefs.h.  */
   10433 int i;
   10434 int
   10435 main ()
   10436 {
   10437 
   10438   ;
   10439   return 0;
   10440 }
   10441 _ACEOF
   10442 if ac_fn_c_try_link "$LINENO"; then :
   10443   eval $cacheid=yes
   10444 else
   10445   eval $cacheid=no
   10446 fi
   10447 rm -f core conftest.err conftest.$ac_objext \
   10448     conftest$ac_exeext conftest.$ac_ext
   10449 fi
   10450 
   10451 
   10452 		CFLAGS="$xorg_testset_save_CFLAGS"
   10453 
   10454 		eval supported=\$$cacheid
   10455 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10456 $as_echo "$supported" >&6; }
   10457 		if test "$supported" = "yes" ; then
   10458 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10459 			found="yes"
   10460 		fi
   10461 	fi
   10462 
   10463 
   10464 
   10465 if test "x$STRICT_COMPILE" = "xyes"; then
   10466     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10467     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10468 fi
   10469 
   10470 
   10471 
   10472 
   10473 
   10474 
   10475 cat >>confdefs.h <<_ACEOF
   10476 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10477 _ACEOF
   10478 
   10479 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10480 	if test "x$PVM" = "x"; then
   10481 		PVM="0"
   10482 	fi
   10483 
   10484 cat >>confdefs.h <<_ACEOF
   10485 #define PACKAGE_VERSION_MINOR $PVM
   10486 _ACEOF
   10487 
   10488 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10489 	if test "x$PVP" = "x"; then
   10490 		PVP="0"
   10491 	fi
   10492 
   10493 cat >>confdefs.h <<_ACEOF
   10494 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10495 _ACEOF
   10496 
   10497 
   10498 
   10499 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10500 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10501 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10502 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10503 
   10504 
   10505 
   10506 
   10507 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10508 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10509 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10510 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10511 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10512 
   10513 
   10514 
   10515 
   10516 
   10517 
   10518 if test x$APP_MAN_SUFFIX = x    ; then
   10519     APP_MAN_SUFFIX=1
   10520 fi
   10521 if test x$APP_MAN_DIR = x    ; then
   10522     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10523 fi
   10524 
   10525 if test x$LIB_MAN_SUFFIX = x    ; then
   10526     LIB_MAN_SUFFIX=3
   10527 fi
   10528 if test x$LIB_MAN_DIR = x    ; then
   10529     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10530 fi
   10531 
   10532 if test x$FILE_MAN_SUFFIX = x    ; then
   10533     case $host_os in
   10534 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   10535 	*)		FILE_MAN_SUFFIX=5  ;;
   10536     esac
   10537 fi
   10538 if test x$FILE_MAN_DIR = x    ; then
   10539     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10540 fi
   10541 
   10542 if test x$MISC_MAN_SUFFIX = x    ; then
   10543     case $host_os in
   10544 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   10545 	*)		MISC_MAN_SUFFIX=7  ;;
   10546     esac
   10547 fi
   10548 if test x$MISC_MAN_DIR = x    ; then
   10549     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10550 fi
   10551 
   10552 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10553     case $host_os in
   10554 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   10555 	*)		DRIVER_MAN_SUFFIX=4  ;;
   10556     esac
   10557 fi
   10558 if test x$DRIVER_MAN_DIR = x    ; then
   10559     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10560 fi
   10561 
   10562 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10563     case $host_os in
   10564 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   10565 	*)		ADMIN_MAN_SUFFIX=8  ;;
   10566     esac
   10567 fi
   10568 if test x$ADMIN_MAN_DIR = x    ; then
   10569     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10570 fi
   10571 
   10572 
   10573 
   10574 
   10575 
   10576 
   10577 
   10578 
   10579 
   10580 
   10581 
   10582 
   10583 
   10584 
   10585 
   10586 XORG_MAN_PAGE="X Version 11"
   10587 
   10588 MAN_SUBSTS="\
   10589 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10590 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10591 	-e 's|__xservername__|Xorg|g' \
   10592 	-e 's|__xconfigfile__|xorg.conf|g' \
   10593 	-e 's|__projectroot__|\$(prefix)|g' \
   10594 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10595 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10596 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10597 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10598 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10599 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10600 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10601 
   10602 
   10603 
   10604 # Check whether --enable-silent-rules was given.
   10605 if test "${enable_silent_rules+set}" = set; then :
   10606   enableval=$enable_silent_rules;
   10607 fi
   10608 
   10609 case $enable_silent_rules in
   10610 yes) AM_DEFAULT_VERBOSITY=0;;
   10611 no)  AM_DEFAULT_VERBOSITY=1;;
   10612 *)   AM_DEFAULT_VERBOSITY=0;;
   10613 esac
   10614 am_make=${MAKE-make}
   10615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10616 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10617 if ${am_cv_make_support_nested_variables+:} false; then :
   10618   $as_echo_n "(cached) " >&6
   10619 else
   10620   if $as_echo 'TRUE=$(BAR$(V))
   10621 BAR0=false
   10622 BAR1=true
   10623 V=1
   10624 am__doit:
   10625 	@$(TRUE)
   10626 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10627   am_cv_make_support_nested_variables=yes
   10628 else
   10629   am_cv_make_support_nested_variables=no
   10630 fi
   10631 fi
   10632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10633 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10634 if test $am_cv_make_support_nested_variables = yes; then
   10635     AM_V='$(V)'
   10636   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10637 else
   10638   AM_V=$AM_DEFAULT_VERBOSITY
   10639   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10640 fi
   10641 AM_BACKSLASH='\'
   10642 
   10643 
   10644 
   10645 # Initialize libtool
   10646 # Check whether --enable-static was given.
   10647 if test "${enable_static+set}" = set; then :
   10648   enableval=$enable_static; p=${PACKAGE-default}
   10649     case $enableval in
   10650     yes) enable_static=yes ;;
   10651     no) enable_static=no ;;
   10652     *)
   10653      enable_static=no
   10654       # Look at the argument we got.  We use all the common list separators.
   10655       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   10656       for pkg in $enableval; do
   10657 	IFS="$lt_save_ifs"
   10658 	if test "X$pkg" = "X$p"; then
   10659 	  enable_static=yes
   10660 	fi
   10661       done
   10662       IFS="$lt_save_ifs"
   10663       ;;
   10664     esac
   10665 else
   10666   enable_static=no
   10667 fi
   10668 
   10669 
   10670 
   10671 
   10672 
   10673 
   10674 
   10675 
   10676 
   10677 case `pwd` in
   10678   *\ * | *\	*)
   10679     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   10680 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   10681 esac
   10682 
   10683 
   10684 
   10685 macro_version='2.4.2'
   10686 macro_revision='1.3337'
   10687 
   10688 
   10689 
   10690 
   10691 
   10692 
   10693 
   10694 
   10695 
   10696 
   10697 
   10698 
   10699 
   10700 ltmain="$ac_aux_dir/ltmain.sh"
   10701 
   10702 # Backslashify metacharacters that are still active within
   10703 # double-quoted strings.
   10704 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   10705 
   10706 # Same as above, but do not quote variable references.
   10707 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   10708 
   10709 # Sed substitution to delay expansion of an escaped shell variable in a
   10710 # double_quote_subst'ed string.
   10711 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   10712 
   10713 # Sed substitution to delay expansion of an escaped single quote.
   10714 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   10715 
   10716 # Sed substitution to avoid accidental globbing in evaled expressions
   10717 no_glob_subst='s/\*/\\\*/g'
   10718 
   10719 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   10720 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   10721 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   10722 
   10723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   10724 $as_echo_n "checking how to print strings... " >&6; }
   10725 # Test print first, because it will be a builtin if present.
   10726 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   10727    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   10728   ECHO='print -r --'
   10729 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   10730   ECHO='printf %s\n'
   10731 else
   10732   # Use this function as a fallback that always works.
   10733   func_fallback_echo ()
   10734   {
   10735     eval 'cat <<_LTECHO_EOF
   10736 $1
   10737 _LTECHO_EOF'
   10738   }
   10739   ECHO='func_fallback_echo'
   10740 fi
   10741 
   10742 # func_echo_all arg...
   10743 # Invoke $ECHO with all args, space-separated.
   10744 func_echo_all ()
   10745 {
   10746     $ECHO ""
   10747 }
   10748 
   10749 case "$ECHO" in
   10750   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   10751 $as_echo "printf" >&6; } ;;
   10752   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   10753 $as_echo "print -r" >&6; } ;;
   10754   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   10755 $as_echo "cat" >&6; } ;;
   10756 esac
   10757 
   10758 
   10759 
   10760 
   10761 
   10762 
   10763 
   10764 
   10765 
   10766 
   10767 
   10768 
   10769 
   10770 
   10771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   10772 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   10773 if ${ac_cv_path_SED+:} false; then :
   10774   $as_echo_n "(cached) " >&6
   10775 else
   10776             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   10777      for ac_i in 1 2 3 4 5 6 7; do
   10778        ac_script="$ac_script$as_nl$ac_script"
   10779      done
   10780      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   10781      { ac_script=; unset ac_script;}
   10782      if test -z "$SED"; then
   10783   ac_path_SED_found=false
   10784   # Loop through the user's path and test for each of PROGNAME-LIST
   10785   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10786 for as_dir in $PATH
   10787 do
   10788   IFS=$as_save_IFS
   10789   test -z "$as_dir" && as_dir=.
   10790     for ac_prog in sed gsed; do
   10791     for ac_exec_ext in '' $ac_executable_extensions; do
   10792       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   10793       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   10794 # Check for GNU ac_path_SED and select it if it is found.
   10795   # Check for GNU $ac_path_SED
   10796 case `"$ac_path_SED" --version 2>&1` in
   10797 *GNU*)
   10798   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   10799 *)
   10800   ac_count=0
   10801   $as_echo_n 0123456789 >"conftest.in"
   10802   while :
   10803   do
   10804     cat "conftest.in" "conftest.in" >"conftest.tmp"
   10805     mv "conftest.tmp" "conftest.in"
   10806     cp "conftest.in" "conftest.nl"
   10807     $as_echo '' >> "conftest.nl"
   10808     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   10809     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   10810     as_fn_arith $ac_count + 1 && ac_count=$as_val
   10811     if test $ac_count -gt ${ac_path_SED_max-0}; then
   10812       # Best one so far, save it but keep looking for a better one
   10813       ac_cv_path_SED="$ac_path_SED"
   10814       ac_path_SED_max=$ac_count
   10815     fi
   10816     # 10*(2^10) chars as input seems more than enough
   10817     test $ac_count -gt 10 && break
   10818   done
   10819   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   10820 esac
   10821 
   10822       $ac_path_SED_found && break 3
   10823     done
   10824   done
   10825   done
   10826 IFS=$as_save_IFS
   10827   if test -z "$ac_cv_path_SED"; then
   10828     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   10829   fi
   10830 else
   10831   ac_cv_path_SED=$SED
   10832 fi
   10833 
   10834 fi
   10835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   10836 $as_echo "$ac_cv_path_SED" >&6; }
   10837  SED="$ac_cv_path_SED"
   10838   rm -f conftest.sed
   10839 
   10840 test -z "$SED" && SED=sed
   10841 Xsed="$SED -e 1s/^X//"
   10842 
   10843 
   10844 
   10845 
   10846 
   10847 
   10848 
   10849 
   10850 
   10851 
   10852 
   10853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   10854 $as_echo_n "checking for fgrep... " >&6; }
   10855 if ${ac_cv_path_FGREP+:} false; then :
   10856   $as_echo_n "(cached) " >&6
   10857 else
   10858   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   10859    then ac_cv_path_FGREP="$GREP -F"
   10860    else
   10861      if test -z "$FGREP"; then
   10862   ac_path_FGREP_found=false
   10863   # Loop through the user's path and test for each of PROGNAME-LIST
   10864   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10865 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   10866 do
   10867   IFS=$as_save_IFS
   10868   test -z "$as_dir" && as_dir=.
   10869     for ac_prog in fgrep; do
   10870     for ac_exec_ext in '' $ac_executable_extensions; do
   10871       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   10872       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   10873 # Check for GNU ac_path_FGREP and select it if it is found.
   10874   # Check for GNU $ac_path_FGREP
   10875 case `"$ac_path_FGREP" --version 2>&1` in
   10876 *GNU*)
   10877   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   10878 *)
   10879   ac_count=0
   10880   $as_echo_n 0123456789 >"conftest.in"
   10881   while :
   10882   do
   10883     cat "conftest.in" "conftest.in" >"conftest.tmp"
   10884     mv "conftest.tmp" "conftest.in"
   10885     cp "conftest.in" "conftest.nl"
   10886     $as_echo 'FGREP' >> "conftest.nl"
   10887     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   10888     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   10889     as_fn_arith $ac_count + 1 && ac_count=$as_val
   10890     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   10891       # Best one so far, save it but keep looking for a better one
   10892       ac_cv_path_FGREP="$ac_path_FGREP"
   10893       ac_path_FGREP_max=$ac_count
   10894     fi
   10895     # 10*(2^10) chars as input seems more than enough
   10896     test $ac_count -gt 10 && break
   10897   done
   10898   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   10899 esac
   10900 
   10901       $ac_path_FGREP_found && break 3
   10902     done
   10903   done
   10904   done
   10905 IFS=$as_save_IFS
   10906   if test -z "$ac_cv_path_FGREP"; then
   10907     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   10908   fi
   10909 else
   10910   ac_cv_path_FGREP=$FGREP
   10911 fi
   10912 
   10913    fi
   10914 fi
   10915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   10916 $as_echo "$ac_cv_path_FGREP" >&6; }
   10917  FGREP="$ac_cv_path_FGREP"
   10918 
   10919 
   10920 test -z "$GREP" && GREP=grep
   10921 
   10922 
   10923 
   10924 
   10925 
   10926 
   10927 
   10928 
   10929 
   10930 
   10931 
   10932 
   10933 
   10934 
   10935 
   10936 
   10937 
   10938 
   10939 
   10940 # Check whether --with-gnu-ld was given.
   10941 if test "${with_gnu_ld+set}" = set; then :
   10942   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   10943 else
   10944   with_gnu_ld=no
   10945 fi
   10946 
   10947 ac_prog=ld
   10948 if test "$GCC" = yes; then
   10949   # Check if gcc -print-prog-name=ld gives a path.
   10950   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   10951 $as_echo_n "checking for ld used by $CC... " >&6; }
   10952   case $host in
   10953   *-*-mingw*)
   10954     # gcc leaves a trailing carriage return which upsets mingw
   10955     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   10956   *)
   10957     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   10958   esac
   10959   case $ac_prog in
   10960     # Accept absolute paths.
   10961     [\\/]* | ?:[\\/]*)
   10962       re_direlt='/[^/][^/]*/\.\./'
   10963       # Canonicalize the pathname of ld
   10964       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   10965       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   10966 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   10967       done
   10968       test -z "$LD" && LD="$ac_prog"
   10969       ;;
   10970   "")
   10971     # If it fails, then pretend we aren't using GCC.
   10972     ac_prog=ld
   10973     ;;
   10974   *)
   10975     # If it is relative, then search for the first ld in PATH.
   10976     with_gnu_ld=unknown
   10977     ;;
   10978   esac
   10979 elif test "$with_gnu_ld" = yes; then
   10980   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   10981 $as_echo_n "checking for GNU ld... " >&6; }
   10982 else
   10983   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   10984 $as_echo_n "checking for non-GNU ld... " >&6; }
   10985 fi
   10986 if ${lt_cv_path_LD+:} false; then :
   10987   $as_echo_n "(cached) " >&6
   10988 else
   10989   if test -z "$LD"; then
   10990   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   10991   for ac_dir in $PATH; do
   10992     IFS="$lt_save_ifs"
   10993     test -z "$ac_dir" && ac_dir=.
   10994     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   10995       lt_cv_path_LD="$ac_dir/$ac_prog"
   10996       # Check to see if the program is GNU ld.  I'd rather use --version,
   10997       # but apparently some variants of GNU ld only accept -v.
   10998       # Break only if it was the GNU/non-GNU ld that we prefer.
   10999       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   11000       *GNU* | *'with BFD'*)
   11001 	test "$with_gnu_ld" != no && break
   11002 	;;
   11003       *)
   11004 	test "$with_gnu_ld" != yes && break
   11005 	;;
   11006       esac
   11007     fi
   11008   done
   11009   IFS="$lt_save_ifs"
   11010 else
   11011   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   11012 fi
   11013 fi
   11014 
   11015 LD="$lt_cv_path_LD"
   11016 if test -n "$LD"; then
   11017   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   11018 $as_echo "$LD" >&6; }
   11019 else
   11020   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11021 $as_echo "no" >&6; }
   11022 fi
   11023 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   11024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   11025 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   11026 if ${lt_cv_prog_gnu_ld+:} false; then :
   11027   $as_echo_n "(cached) " >&6
   11028 else
   11029   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   11030 case `$LD -v 2>&1 </dev/null` in
   11031 *GNU* | *'with BFD'*)
   11032   lt_cv_prog_gnu_ld=yes
   11033   ;;
   11034 *)
   11035   lt_cv_prog_gnu_ld=no
   11036   ;;
   11037 esac
   11038 fi
   11039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   11040 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   11041 with_gnu_ld=$lt_cv_prog_gnu_ld
   11042 
   11043 
   11044 
   11045 
   11046 
   11047 
   11048 
   11049 
   11050 
   11051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   11052 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   11053 if ${lt_cv_path_NM+:} false; then :
   11054   $as_echo_n "(cached) " >&6
   11055 else
   11056   if test -n "$NM"; then
   11057   # Let the user override the test.
   11058   lt_cv_path_NM="$NM"
   11059 else
   11060   lt_nm_to_check="${ac_tool_prefix}nm"
   11061   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   11062     lt_nm_to_check="$lt_nm_to_check nm"
   11063   fi
   11064   for lt_tmp_nm in $lt_nm_to_check; do
   11065     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   11066     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   11067       IFS="$lt_save_ifs"
   11068       test -z "$ac_dir" && ac_dir=.
   11069       tmp_nm="$ac_dir/$lt_tmp_nm"
   11070       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   11071 	# Check to see if the nm accepts a BSD-compat flag.
   11072 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   11073 	#   nm: unknown option "B" ignored
   11074 	# Tru64's nm complains that /dev/null is an invalid object file
   11075 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   11076 	*/dev/null* | *'Invalid file or object type'*)
   11077 	  lt_cv_path_NM="$tmp_nm -B"
   11078 	  break
   11079 	  ;;
   11080 	*)
   11081 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   11082 	  */dev/null*)
   11083 	    lt_cv_path_NM="$tmp_nm -p"
   11084 	    break
   11085 	    ;;
   11086 	  *)
   11087 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   11088 	    continue # so that we can try to find one that supports BSD flags
   11089 	    ;;
   11090 	  esac
   11091 	  ;;
   11092 	esac
   11093       fi
   11094     done
   11095     IFS="$lt_save_ifs"
   11096   done
   11097   : ${lt_cv_path_NM=no}
   11098 fi
   11099 fi
   11100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   11101 $as_echo "$lt_cv_path_NM" >&6; }
   11102 if test "$lt_cv_path_NM" != "no"; then
   11103   NM="$lt_cv_path_NM"
   11104 else
   11105   # Didn't find any BSD compatible name lister, look for dumpbin.
   11106   if test -n "$DUMPBIN"; then :
   11107     # Let the user override the test.
   11108   else
   11109     if test -n "$ac_tool_prefix"; then
   11110   for ac_prog in dumpbin "link -dump"
   11111   do
   11112     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   11113 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   11114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11115 $as_echo_n "checking for $ac_word... " >&6; }
   11116 if ${ac_cv_prog_DUMPBIN+:} false; then :
   11117   $as_echo_n "(cached) " >&6
   11118 else
   11119   if test -n "$DUMPBIN"; then
   11120   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   11121 else
   11122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11123 for as_dir in $PATH
   11124 do
   11125   IFS=$as_save_IFS
   11126   test -z "$as_dir" && as_dir=.
   11127     for ac_exec_ext in '' $ac_executable_extensions; do
   11128   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11129     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   11130     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11131     break 2
   11132   fi
   11133 done
   11134   done
   11135 IFS=$as_save_IFS
   11136 
   11137 fi
   11138 fi
   11139 DUMPBIN=$ac_cv_prog_DUMPBIN
   11140 if test -n "$DUMPBIN"; then
   11141   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   11142 $as_echo "$DUMPBIN" >&6; }
   11143 else
   11144   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11145 $as_echo "no" >&6; }
   11146 fi
   11147 
   11148 
   11149     test -n "$DUMPBIN" && break
   11150   done
   11151 fi
   11152 if test -z "$DUMPBIN"; then
   11153   ac_ct_DUMPBIN=$DUMPBIN
   11154   for ac_prog in dumpbin "link -dump"
   11155 do
   11156   # Extract the first word of "$ac_prog", so it can be a program name with args.
   11157 set dummy $ac_prog; ac_word=$2
   11158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11159 $as_echo_n "checking for $ac_word... " >&6; }
   11160 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   11161   $as_echo_n "(cached) " >&6
   11162 else
   11163   if test -n "$ac_ct_DUMPBIN"; then
   11164   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   11165 else
   11166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11167 for as_dir in $PATH
   11168 do
   11169   IFS=$as_save_IFS
   11170   test -z "$as_dir" && as_dir=.
   11171     for ac_exec_ext in '' $ac_executable_extensions; do
   11172   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11173     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   11174     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11175     break 2
   11176   fi
   11177 done
   11178   done
   11179 IFS=$as_save_IFS
   11180 
   11181 fi
   11182 fi
   11183 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   11184 if test -n "$ac_ct_DUMPBIN"; then
   11185   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   11186 $as_echo "$ac_ct_DUMPBIN" >&6; }
   11187 else
   11188   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11189 $as_echo "no" >&6; }
   11190 fi
   11191 
   11192 
   11193   test -n "$ac_ct_DUMPBIN" && break
   11194 done
   11195 
   11196   if test "x$ac_ct_DUMPBIN" = x; then
   11197     DUMPBIN=":"
   11198   else
   11199     case $cross_compiling:$ac_tool_warned in
   11200 yes:)
   11201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11202 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11203 ac_tool_warned=yes ;;
   11204 esac
   11205     DUMPBIN=$ac_ct_DUMPBIN
   11206   fi
   11207 fi
   11208 
   11209     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   11210     *COFF*)
   11211       DUMPBIN="$DUMPBIN -symbols"
   11212       ;;
   11213     *)
   11214       DUMPBIN=:
   11215       ;;
   11216     esac
   11217   fi
   11218 
   11219   if test "$DUMPBIN" != ":"; then
   11220     NM="$DUMPBIN"
   11221   fi
   11222 fi
   11223 test -z "$NM" && NM=nm
   11224 
   11225 
   11226 
   11227 
   11228 
   11229 
   11230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   11231 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   11232 if ${lt_cv_nm_interface+:} false; then :
   11233   $as_echo_n "(cached) " >&6
   11234 else
   11235   lt_cv_nm_interface="BSD nm"
   11236   echo "int some_variable = 0;" > conftest.$ac_ext
   11237   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   11238   (eval "$ac_compile" 2>conftest.err)
   11239   cat conftest.err >&5
   11240   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   11241   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   11242   cat conftest.err >&5
   11243   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   11244   cat conftest.out >&5
   11245   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   11246     lt_cv_nm_interface="MS dumpbin"
   11247   fi
   11248   rm -f conftest*
   11249 fi
   11250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   11251 $as_echo "$lt_cv_nm_interface" >&6; }
   11252 
   11253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   11254 $as_echo_n "checking whether ln -s works... " >&6; }
   11255 LN_S=$as_ln_s
   11256 if test "$LN_S" = "ln -s"; then
   11257   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11258 $as_echo "yes" >&6; }
   11259 else
   11260   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   11261 $as_echo "no, using $LN_S" >&6; }
   11262 fi
   11263 
   11264 # find the maximum length of command line arguments
   11265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   11266 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   11267 if ${lt_cv_sys_max_cmd_len+:} false; then :
   11268   $as_echo_n "(cached) " >&6
   11269 else
   11270     i=0
   11271   teststring="ABCD"
   11272 
   11273   case $build_os in
   11274   msdosdjgpp*)
   11275     # On DJGPP, this test can blow up pretty badly due to problems in libc
   11276     # (any single argument exceeding 2000 bytes causes a buffer overrun
   11277     # during glob expansion).  Even if it were fixed, the result of this
   11278     # check would be larger than it should be.
   11279     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   11280     ;;
   11281 
   11282   gnu*)
   11283     # Under GNU Hurd, this test is not required because there is
   11284     # no limit to the length of command line arguments.
   11285     # Libtool will interpret -1 as no limit whatsoever
   11286     lt_cv_sys_max_cmd_len=-1;
   11287     ;;
   11288 
   11289   cygwin* | mingw* | cegcc*)
   11290     # On Win9x/ME, this test blows up -- it succeeds, but takes
   11291     # about 5 minutes as the teststring grows exponentially.
   11292     # Worse, since 9x/ME are not pre-emptively multitasking,
   11293     # you end up with a "frozen" computer, even though with patience
   11294     # the test eventually succeeds (with a max line length of 256k).
   11295     # Instead, let's just punt: use the minimum linelength reported by
   11296     # all of the supported platforms: 8192 (on NT/2K/XP).
   11297     lt_cv_sys_max_cmd_len=8192;
   11298     ;;
   11299 
   11300   mint*)
   11301     # On MiNT this can take a long time and run out of memory.
   11302     lt_cv_sys_max_cmd_len=8192;
   11303     ;;
   11304 
   11305   amigaos*)
   11306     # On AmigaOS with pdksh, this test takes hours, literally.
   11307     # So we just punt and use a minimum line length of 8192.
   11308     lt_cv_sys_max_cmd_len=8192;
   11309     ;;
   11310 
   11311   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   11312     # This has been around since 386BSD, at least.  Likely further.
   11313     if test -x /sbin/sysctl; then
   11314       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   11315     elif test -x /usr/sbin/sysctl; then
   11316       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   11317     else
   11318       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   11319     fi
   11320     # And add a safety zone
   11321     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   11322     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   11323     ;;
   11324 
   11325   interix*)
   11326     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   11327     lt_cv_sys_max_cmd_len=196608
   11328     ;;
   11329 
   11330   os2*)
   11331     # The test takes a long time on OS/2.
   11332     lt_cv_sys_max_cmd_len=8192
   11333     ;;
   11334 
   11335   osf*)
   11336     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   11337     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   11338     # nice to cause kernel panics so lets avoid the loop below.
   11339     # First set a reasonable default.
   11340     lt_cv_sys_max_cmd_len=16384
   11341     #
   11342     if test -x /sbin/sysconfig; then
   11343       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   11344         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   11345       esac
   11346     fi
   11347     ;;
   11348   sco3.2v5*)
   11349     lt_cv_sys_max_cmd_len=102400
   11350     ;;
   11351   sysv5* | sco5v6* | sysv4.2uw2*)
   11352     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   11353     if test -n "$kargmax"; then
   11354       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   11355     else
   11356       lt_cv_sys_max_cmd_len=32768
   11357     fi
   11358     ;;
   11359   *)
   11360     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   11361     if test -n "$lt_cv_sys_max_cmd_len"; then
   11362       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   11363       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   11364     else
   11365       # Make teststring a little bigger before we do anything with it.
   11366       # a 1K string should be a reasonable start.
   11367       for i in 1 2 3 4 5 6 7 8 ; do
   11368         teststring=$teststring$teststring
   11369       done
   11370       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   11371       # If test is not a shell built-in, we'll probably end up computing a
   11372       # maximum length that is only half of the actual maximum length, but
   11373       # we can't tell.
   11374       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
   11375 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   11376 	      test $i != 17 # 1/2 MB should be enough
   11377       do
   11378         i=`expr $i + 1`
   11379         teststring=$teststring$teststring
   11380       done
   11381       # Only check the string length outside the loop.
   11382       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   11383       teststring=
   11384       # Add a significant safety factor because C++ compilers can tack on
   11385       # massive amounts of additional arguments before passing them to the
   11386       # linker.  It appears as though 1/2 is a usable value.
   11387       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   11388     fi
   11389     ;;
   11390   esac
   11391 
   11392 fi
   11393 
   11394 if test -n $lt_cv_sys_max_cmd_len ; then
   11395   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   11396 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   11397 else
   11398   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   11399 $as_echo "none" >&6; }
   11400 fi
   11401 max_cmd_len=$lt_cv_sys_max_cmd_len
   11402 
   11403 
   11404 
   11405 
   11406 
   11407 
   11408 : ${CP="cp -f"}
   11409 : ${MV="mv -f"}
   11410 : ${RM="rm -f"}
   11411 
   11412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   11413 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   11414 # Try some XSI features
   11415 xsi_shell=no
   11416 ( _lt_dummy="a/b/c"
   11417   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
   11418       = c,a/b,b/c, \
   11419     && eval 'test $(( 1 + 1 )) -eq 2 \
   11420     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   11421   && xsi_shell=yes
   11422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   11423 $as_echo "$xsi_shell" >&6; }
   11424 
   11425 
   11426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   11427 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   11428 lt_shell_append=no
   11429 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   11430     >/dev/null 2>&1 \
   11431   && lt_shell_append=yes
   11432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   11433 $as_echo "$lt_shell_append" >&6; }
   11434 
   11435 
   11436 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   11437   lt_unset=unset
   11438 else
   11439   lt_unset=false
   11440 fi
   11441 
   11442 
   11443 
   11444 
   11445 
   11446 # test EBCDIC or ASCII
   11447 case `echo X|tr X '\101'` in
   11448  A) # ASCII based system
   11449     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   11450   lt_SP2NL='tr \040 \012'
   11451   lt_NL2SP='tr \015\012 \040\040'
   11452   ;;
   11453  *) # EBCDIC based system
   11454   lt_SP2NL='tr \100 \n'
   11455   lt_NL2SP='tr \r\n \100\100'
   11456   ;;
   11457 esac
   11458 
   11459 
   11460 
   11461 
   11462 
   11463 
   11464 
   11465 
   11466 
   11467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   11468 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   11469 if ${lt_cv_to_host_file_cmd+:} false; then :
   11470   $as_echo_n "(cached) " >&6
   11471 else
   11472   case $host in
   11473   *-*-mingw* )
   11474     case $build in
   11475       *-*-mingw* ) # actually msys
   11476         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   11477         ;;
   11478       *-*-cygwin* )
   11479         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   11480         ;;
   11481       * ) # otherwise, assume *nix
   11482         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   11483         ;;
   11484     esac
   11485     ;;
   11486   *-*-cygwin* )
   11487     case $build in
   11488       *-*-mingw* ) # actually msys
   11489         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   11490         ;;
   11491       *-*-cygwin* )
   11492         lt_cv_to_host_file_cmd=func_convert_file_noop
   11493         ;;
   11494       * ) # otherwise, assume *nix
   11495         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   11496         ;;
   11497     esac
   11498     ;;
   11499   * ) # unhandled hosts (and "normal" native builds)
   11500     lt_cv_to_host_file_cmd=func_convert_file_noop
   11501     ;;
   11502 esac
   11503 
   11504 fi
   11505 
   11506 to_host_file_cmd=$lt_cv_to_host_file_cmd
   11507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   11508 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   11509 
   11510 
   11511 
   11512 
   11513 
   11514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   11515 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   11516 if ${lt_cv_to_tool_file_cmd+:} false; then :
   11517   $as_echo_n "(cached) " >&6
   11518 else
   11519   #assume ordinary cross tools, or native build.
   11520 lt_cv_to_tool_file_cmd=func_convert_file_noop
   11521 case $host in
   11522   *-*-mingw* )
   11523     case $build in
   11524       *-*-mingw* ) # actually msys
   11525         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   11526         ;;
   11527     esac
   11528     ;;
   11529 esac
   11530 
   11531 fi
   11532 
   11533 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   11534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   11535 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   11536 
   11537 
   11538 
   11539 
   11540 
   11541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   11542 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   11543 if ${lt_cv_ld_reload_flag+:} false; then :
   11544   $as_echo_n "(cached) " >&6
   11545 else
   11546   lt_cv_ld_reload_flag='-r'
   11547 fi
   11548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   11549 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   11550 reload_flag=$lt_cv_ld_reload_flag
   11551 case $reload_flag in
   11552 "" | " "*) ;;
   11553 *) reload_flag=" $reload_flag" ;;
   11554 esac
   11555 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   11556 case $host_os in
   11557   cygwin* | mingw* | pw32* | cegcc*)
   11558     if test "$GCC" != yes; then
   11559       reload_cmds=false
   11560     fi
   11561     ;;
   11562   darwin*)
   11563     if test "$GCC" = yes; then
   11564       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   11565     else
   11566       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   11567     fi
   11568     ;;
   11569 esac
   11570 
   11571 
   11572 
   11573 
   11574 
   11575 
   11576 
   11577 
   11578 
   11579 if test -n "$ac_tool_prefix"; then
   11580   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   11581 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   11582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11583 $as_echo_n "checking for $ac_word... " >&6; }
   11584 if ${ac_cv_prog_OBJDUMP+:} false; then :
   11585   $as_echo_n "(cached) " >&6
   11586 else
   11587   if test -n "$OBJDUMP"; then
   11588   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   11589 else
   11590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11591 for as_dir in $PATH
   11592 do
   11593   IFS=$as_save_IFS
   11594   test -z "$as_dir" && as_dir=.
   11595     for ac_exec_ext in '' $ac_executable_extensions; do
   11596   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11597     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   11598     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11599     break 2
   11600   fi
   11601 done
   11602   done
   11603 IFS=$as_save_IFS
   11604 
   11605 fi
   11606 fi
   11607 OBJDUMP=$ac_cv_prog_OBJDUMP
   11608 if test -n "$OBJDUMP"; then
   11609   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   11610 $as_echo "$OBJDUMP" >&6; }
   11611 else
   11612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11613 $as_echo "no" >&6; }
   11614 fi
   11615 
   11616 
   11617 fi
   11618 if test -z "$ac_cv_prog_OBJDUMP"; then
   11619   ac_ct_OBJDUMP=$OBJDUMP
   11620   # Extract the first word of "objdump", so it can be a program name with args.
   11621 set dummy objdump; ac_word=$2
   11622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11623 $as_echo_n "checking for $ac_word... " >&6; }
   11624 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   11625   $as_echo_n "(cached) " >&6
   11626 else
   11627   if test -n "$ac_ct_OBJDUMP"; then
   11628   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   11629 else
   11630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11631 for as_dir in $PATH
   11632 do
   11633   IFS=$as_save_IFS
   11634   test -z "$as_dir" && as_dir=.
   11635     for ac_exec_ext in '' $ac_executable_extensions; do
   11636   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11637     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   11638     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11639     break 2
   11640   fi
   11641 done
   11642   done
   11643 IFS=$as_save_IFS
   11644 
   11645 fi
   11646 fi
   11647 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   11648 if test -n "$ac_ct_OBJDUMP"; then
   11649   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   11650 $as_echo "$ac_ct_OBJDUMP" >&6; }
   11651 else
   11652   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11653 $as_echo "no" >&6; }
   11654 fi
   11655 
   11656   if test "x$ac_ct_OBJDUMP" = x; then
   11657     OBJDUMP="false"
   11658   else
   11659     case $cross_compiling:$ac_tool_warned in
   11660 yes:)
   11661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11662 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11663 ac_tool_warned=yes ;;
   11664 esac
   11665     OBJDUMP=$ac_ct_OBJDUMP
   11666   fi
   11667 else
   11668   OBJDUMP="$ac_cv_prog_OBJDUMP"
   11669 fi
   11670 
   11671 test -z "$OBJDUMP" && OBJDUMP=objdump
   11672 
   11673 
   11674 
   11675 
   11676 
   11677 
   11678 
   11679 
   11680 
   11681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   11682 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   11683 if ${lt_cv_deplibs_check_method+:} false; then :
   11684   $as_echo_n "(cached) " >&6
   11685 else
   11686   lt_cv_file_magic_cmd='$MAGIC_CMD'
   11687 lt_cv_file_magic_test_file=
   11688 lt_cv_deplibs_check_method='unknown'
   11689 # Need to set the preceding variable on all platforms that support
   11690 # interlibrary dependencies.
   11691 # 'none' -- dependencies not supported.
   11692 # `unknown' -- same as none, but documents that we really don't know.
   11693 # 'pass_all' -- all dependencies passed with no checks.
   11694 # 'test_compile' -- check by making test program.
   11695 # 'file_magic [[regex]]' -- check by looking for files in library path
   11696 # which responds to the $file_magic_cmd with a given extended regex.
   11697 # If you have `file' or equivalent on your system and you're not sure
   11698 # whether `pass_all' will *always* work, you probably want this one.
   11699 
   11700 case $host_os in
   11701 aix[4-9]*)
   11702   lt_cv_deplibs_check_method=pass_all
   11703   ;;
   11704 
   11705 beos*)
   11706   lt_cv_deplibs_check_method=pass_all
   11707   ;;
   11708 
   11709 bsdi[45]*)
   11710   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   11711   lt_cv_file_magic_cmd='/usr/bin/file -L'
   11712   lt_cv_file_magic_test_file=/shlib/libc.so
   11713   ;;
   11714 
   11715 cygwin*)
   11716   # func_win32_libid is a shell function defined in ltmain.sh
   11717   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   11718   lt_cv_file_magic_cmd='func_win32_libid'
   11719   ;;
   11720 
   11721 mingw* | pw32*)
   11722   # Base MSYS/MinGW do not provide the 'file' command needed by
   11723   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   11724   # unless we find 'file', for example because we are cross-compiling.
   11725   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   11726   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   11727     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   11728     lt_cv_file_magic_cmd='func_win32_libid'
   11729   else
   11730     # Keep this pattern in sync with the one in func_win32_libid.
   11731     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   11732     lt_cv_file_magic_cmd='$OBJDUMP -f'
   11733   fi
   11734   ;;
   11735 
   11736 cegcc*)
   11737   # use the weaker test based on 'objdump'. See mingw*.
   11738   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   11739   lt_cv_file_magic_cmd='$OBJDUMP -f'
   11740   ;;
   11741 
   11742 darwin* | rhapsody*)
   11743   lt_cv_deplibs_check_method=pass_all
   11744   ;;
   11745 
   11746 freebsd* | dragonfly*)
   11747   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   11748     case $host_cpu in
   11749     i*86 )
   11750       # Not sure whether the presence of OpenBSD here was a mistake.
   11751       # Let's accept both of them until this is cleared up.
   11752       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   11753       lt_cv_file_magic_cmd=/usr/bin/file
   11754       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   11755       ;;
   11756     esac
   11757   else
   11758     lt_cv_deplibs_check_method=pass_all
   11759   fi
   11760   ;;
   11761 
   11762 gnu*)
   11763   lt_cv_deplibs_check_method=pass_all
   11764   ;;
   11765 
   11766 haiku*)
   11767   lt_cv_deplibs_check_method=pass_all
   11768   ;;
   11769 
   11770 hpux10.20* | hpux11*)
   11771   lt_cv_file_magic_cmd=/usr/bin/file
   11772   case $host_cpu in
   11773   ia64*)
   11774     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   11775     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   11776     ;;
   11777   hppa*64*)
   11778     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]'
   11779     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   11780     ;;
   11781   *)
   11782     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   11783     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   11784     ;;
   11785   esac
   11786   ;;
   11787 
   11788 interix[3-9]*)
   11789   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   11790   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   11791   ;;
   11792 
   11793 irix5* | irix6* | nonstopux*)
   11794   case $LD in
   11795   *-32|*"-32 ") libmagic=32-bit;;
   11796   *-n32|*"-n32 ") libmagic=N32;;
   11797   *-64|*"-64 ") libmagic=64-bit;;
   11798   *) libmagic=never-match;;
   11799   esac
   11800   lt_cv_deplibs_check_method=pass_all
   11801   ;;
   11802 
   11803 # This must be glibc/ELF.
   11804 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   11805   lt_cv_deplibs_check_method=pass_all
   11806   ;;
   11807 
   11808 netbsd*)
   11809   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   11810     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   11811   else
   11812     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   11813   fi
   11814   ;;
   11815 
   11816 newos6*)
   11817   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   11818   lt_cv_file_magic_cmd=/usr/bin/file
   11819   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   11820   ;;
   11821 
   11822 *nto* | *qnx*)
   11823   lt_cv_deplibs_check_method=pass_all
   11824   ;;
   11825 
   11826 openbsd*)
   11827   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   11828     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   11829   else
   11830     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   11831   fi
   11832   ;;
   11833 
   11834 osf3* | osf4* | osf5*)
   11835   lt_cv_deplibs_check_method=pass_all
   11836   ;;
   11837 
   11838 rdos*)
   11839   lt_cv_deplibs_check_method=pass_all
   11840   ;;
   11841 
   11842 solaris*)
   11843   lt_cv_deplibs_check_method=pass_all
   11844   ;;
   11845 
   11846 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   11847   lt_cv_deplibs_check_method=pass_all
   11848   ;;
   11849 
   11850 sysv4 | sysv4.3*)
   11851   case $host_vendor in
   11852   motorola)
   11853     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]'
   11854     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   11855     ;;
   11856   ncr)
   11857     lt_cv_deplibs_check_method=pass_all
   11858     ;;
   11859   sequent)
   11860     lt_cv_file_magic_cmd='/bin/file'
   11861     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   11862     ;;
   11863   sni)
   11864     lt_cv_file_magic_cmd='/bin/file'
   11865     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   11866     lt_cv_file_magic_test_file=/lib/libc.so
   11867     ;;
   11868   siemens)
   11869     lt_cv_deplibs_check_method=pass_all
   11870     ;;
   11871   pc)
   11872     lt_cv_deplibs_check_method=pass_all
   11873     ;;
   11874   esac
   11875   ;;
   11876 
   11877 tpf*)
   11878   lt_cv_deplibs_check_method=pass_all
   11879   ;;
   11880 esac
   11881 
   11882 fi
   11883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   11884 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   11885 
   11886 file_magic_glob=
   11887 want_nocaseglob=no
   11888 if test "$build" = "$host"; then
   11889   case $host_os in
   11890   mingw* | pw32*)
   11891     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   11892       want_nocaseglob=yes
   11893     else
   11894       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   11895     fi
   11896     ;;
   11897   esac
   11898 fi
   11899 
   11900 file_magic_cmd=$lt_cv_file_magic_cmd
   11901 deplibs_check_method=$lt_cv_deplibs_check_method
   11902 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   11903 
   11904 
   11905 
   11906 
   11907 
   11908 
   11909 
   11910 
   11911 
   11912 
   11913 
   11914 
   11915 
   11916 
   11917 
   11918 
   11919 
   11920 
   11921 
   11922 
   11923 
   11924 
   11925 if test -n "$ac_tool_prefix"; then
   11926   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   11927 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   11928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11929 $as_echo_n "checking for $ac_word... " >&6; }
   11930 if ${ac_cv_prog_DLLTOOL+:} false; then :
   11931   $as_echo_n "(cached) " >&6
   11932 else
   11933   if test -n "$DLLTOOL"; then
   11934   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   11935 else
   11936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11937 for as_dir in $PATH
   11938 do
   11939   IFS=$as_save_IFS
   11940   test -z "$as_dir" && as_dir=.
   11941     for ac_exec_ext in '' $ac_executable_extensions; do
   11942   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11943     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   11944     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11945     break 2
   11946   fi
   11947 done
   11948   done
   11949 IFS=$as_save_IFS
   11950 
   11951 fi
   11952 fi
   11953 DLLTOOL=$ac_cv_prog_DLLTOOL
   11954 if test -n "$DLLTOOL"; then
   11955   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   11956 $as_echo "$DLLTOOL" >&6; }
   11957 else
   11958   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11959 $as_echo "no" >&6; }
   11960 fi
   11961 
   11962 
   11963 fi
   11964 if test -z "$ac_cv_prog_DLLTOOL"; then
   11965   ac_ct_DLLTOOL=$DLLTOOL
   11966   # Extract the first word of "dlltool", so it can be a program name with args.
   11967 set dummy dlltool; ac_word=$2
   11968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11969 $as_echo_n "checking for $ac_word... " >&6; }
   11970 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   11971   $as_echo_n "(cached) " >&6
   11972 else
   11973   if test -n "$ac_ct_DLLTOOL"; then
   11974   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   11975 else
   11976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11977 for as_dir in $PATH
   11978 do
   11979   IFS=$as_save_IFS
   11980   test -z "$as_dir" && as_dir=.
   11981     for ac_exec_ext in '' $ac_executable_extensions; do
   11982   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11983     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   11984     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11985     break 2
   11986   fi
   11987 done
   11988   done
   11989 IFS=$as_save_IFS
   11990 
   11991 fi
   11992 fi
   11993 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   11994 if test -n "$ac_ct_DLLTOOL"; then
   11995   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   11996 $as_echo "$ac_ct_DLLTOOL" >&6; }
   11997 else
   11998   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11999 $as_echo "no" >&6; }
   12000 fi
   12001 
   12002   if test "x$ac_ct_DLLTOOL" = x; then
   12003     DLLTOOL="false"
   12004   else
   12005     case $cross_compiling:$ac_tool_warned in
   12006 yes:)
   12007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12008 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12009 ac_tool_warned=yes ;;
   12010 esac
   12011     DLLTOOL=$ac_ct_DLLTOOL
   12012   fi
   12013 else
   12014   DLLTOOL="$ac_cv_prog_DLLTOOL"
   12015 fi
   12016 
   12017 test -z "$DLLTOOL" && DLLTOOL=dlltool
   12018 
   12019 
   12020 
   12021 
   12022 
   12023 
   12024 
   12025 
   12026 
   12027 
   12028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   12029 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   12030 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   12031   $as_echo_n "(cached) " >&6
   12032 else
   12033   lt_cv_sharedlib_from_linklib_cmd='unknown'
   12034 
   12035 case $host_os in
   12036 cygwin* | mingw* | pw32* | cegcc*)
   12037   # two different shell functions defined in ltmain.sh
   12038   # decide which to use based on capabilities of $DLLTOOL
   12039   case `$DLLTOOL --help 2>&1` in
   12040   *--identify-strict*)
   12041     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   12042     ;;
   12043   *)
   12044     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   12045     ;;
   12046   esac
   12047   ;;
   12048 *)
   12049   # fallback: assume linklib IS sharedlib
   12050   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
   12051   ;;
   12052 esac
   12053 
   12054 fi
   12055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   12056 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   12057 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   12058 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   12059 
   12060 
   12061 
   12062 
   12063 
   12064 
   12065 
   12066 if test -n "$ac_tool_prefix"; then
   12067   for ac_prog in ar
   12068   do
   12069     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   12070 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   12071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12072 $as_echo_n "checking for $ac_word... " >&6; }
   12073 if ${ac_cv_prog_AR+:} false; then :
   12074   $as_echo_n "(cached) " >&6
   12075 else
   12076   if test -n "$AR"; then
   12077   ac_cv_prog_AR="$AR" # Let the user override the test.
   12078 else
   12079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12080 for as_dir in $PATH
   12081 do
   12082   IFS=$as_save_IFS
   12083   test -z "$as_dir" && as_dir=.
   12084     for ac_exec_ext in '' $ac_executable_extensions; do
   12085   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12086     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   12087     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12088     break 2
   12089   fi
   12090 done
   12091   done
   12092 IFS=$as_save_IFS
   12093 
   12094 fi
   12095 fi
   12096 AR=$ac_cv_prog_AR
   12097 if test -n "$AR"; then
   12098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   12099 $as_echo "$AR" >&6; }
   12100 else
   12101   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12102 $as_echo "no" >&6; }
   12103 fi
   12104 
   12105 
   12106     test -n "$AR" && break
   12107   done
   12108 fi
   12109 if test -z "$AR"; then
   12110   ac_ct_AR=$AR
   12111   for ac_prog in ar
   12112 do
   12113   # Extract the first word of "$ac_prog", so it can be a program name with args.
   12114 set dummy $ac_prog; ac_word=$2
   12115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12116 $as_echo_n "checking for $ac_word... " >&6; }
   12117 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   12118   $as_echo_n "(cached) " >&6
   12119 else
   12120   if test -n "$ac_ct_AR"; then
   12121   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   12122 else
   12123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12124 for as_dir in $PATH
   12125 do
   12126   IFS=$as_save_IFS
   12127   test -z "$as_dir" && as_dir=.
   12128     for ac_exec_ext in '' $ac_executable_extensions; do
   12129   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12130     ac_cv_prog_ac_ct_AR="$ac_prog"
   12131     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12132     break 2
   12133   fi
   12134 done
   12135   done
   12136 IFS=$as_save_IFS
   12137 
   12138 fi
   12139 fi
   12140 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   12141 if test -n "$ac_ct_AR"; then
   12142   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   12143 $as_echo "$ac_ct_AR" >&6; }
   12144 else
   12145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12146 $as_echo "no" >&6; }
   12147 fi
   12148 
   12149 
   12150   test -n "$ac_ct_AR" && break
   12151 done
   12152 
   12153   if test "x$ac_ct_AR" = x; then
   12154     AR="false"
   12155   else
   12156     case $cross_compiling:$ac_tool_warned in
   12157 yes:)
   12158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12159 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12160 ac_tool_warned=yes ;;
   12161 esac
   12162     AR=$ac_ct_AR
   12163   fi
   12164 fi
   12165 
   12166 : ${AR=ar}
   12167 : ${AR_FLAGS=cru}
   12168 
   12169 
   12170 
   12171 
   12172 
   12173 
   12174 
   12175 
   12176 
   12177 
   12178 
   12179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   12180 $as_echo_n "checking for archiver @FILE support... " >&6; }
   12181 if ${lt_cv_ar_at_file+:} false; then :
   12182   $as_echo_n "(cached) " >&6
   12183 else
   12184   lt_cv_ar_at_file=no
   12185    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12186 /* end confdefs.h.  */
   12187 
   12188 int
   12189 main ()
   12190 {
   12191 
   12192   ;
   12193   return 0;
   12194 }
   12195 _ACEOF
   12196 if ac_fn_c_try_compile "$LINENO"; then :
   12197   echo conftest.$ac_objext > conftest.lst
   12198       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   12199       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   12200   (eval $lt_ar_try) 2>&5
   12201   ac_status=$?
   12202   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12203   test $ac_status = 0; }
   12204       if test "$ac_status" -eq 0; then
   12205 	# Ensure the archiver fails upon bogus file names.
   12206 	rm -f conftest.$ac_objext libconftest.a
   12207 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   12208   (eval $lt_ar_try) 2>&5
   12209   ac_status=$?
   12210   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12211   test $ac_status = 0; }
   12212 	if test "$ac_status" -ne 0; then
   12213           lt_cv_ar_at_file=@
   12214         fi
   12215       fi
   12216       rm -f conftest.* libconftest.a
   12217 
   12218 fi
   12219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12220 
   12221 fi
   12222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   12223 $as_echo "$lt_cv_ar_at_file" >&6; }
   12224 
   12225 if test "x$lt_cv_ar_at_file" = xno; then
   12226   archiver_list_spec=
   12227 else
   12228   archiver_list_spec=$lt_cv_ar_at_file
   12229 fi
   12230 
   12231 
   12232 
   12233 
   12234 
   12235 
   12236 
   12237 if test -n "$ac_tool_prefix"; then
   12238   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   12239 set dummy ${ac_tool_prefix}strip; ac_word=$2
   12240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12241 $as_echo_n "checking for $ac_word... " >&6; }
   12242 if ${ac_cv_prog_STRIP+:} false; then :
   12243   $as_echo_n "(cached) " >&6
   12244 else
   12245   if test -n "$STRIP"; then
   12246   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   12247 else
   12248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12249 for as_dir in $PATH
   12250 do
   12251   IFS=$as_save_IFS
   12252   test -z "$as_dir" && as_dir=.
   12253     for ac_exec_ext in '' $ac_executable_extensions; do
   12254   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12255     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   12256     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12257     break 2
   12258   fi
   12259 done
   12260   done
   12261 IFS=$as_save_IFS
   12262 
   12263 fi
   12264 fi
   12265 STRIP=$ac_cv_prog_STRIP
   12266 if test -n "$STRIP"; then
   12267   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   12268 $as_echo "$STRIP" >&6; }
   12269 else
   12270   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12271 $as_echo "no" >&6; }
   12272 fi
   12273 
   12274 
   12275 fi
   12276 if test -z "$ac_cv_prog_STRIP"; then
   12277   ac_ct_STRIP=$STRIP
   12278   # Extract the first word of "strip", so it can be a program name with args.
   12279 set dummy strip; ac_word=$2
   12280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12281 $as_echo_n "checking for $ac_word... " >&6; }
   12282 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   12283   $as_echo_n "(cached) " >&6
   12284 else
   12285   if test -n "$ac_ct_STRIP"; then
   12286   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   12287 else
   12288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12289 for as_dir in $PATH
   12290 do
   12291   IFS=$as_save_IFS
   12292   test -z "$as_dir" && as_dir=.
   12293     for ac_exec_ext in '' $ac_executable_extensions; do
   12294   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12295     ac_cv_prog_ac_ct_STRIP="strip"
   12296     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12297     break 2
   12298   fi
   12299 done
   12300   done
   12301 IFS=$as_save_IFS
   12302 
   12303 fi
   12304 fi
   12305 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   12306 if test -n "$ac_ct_STRIP"; then
   12307   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   12308 $as_echo "$ac_ct_STRIP" >&6; }
   12309 else
   12310   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12311 $as_echo "no" >&6; }
   12312 fi
   12313 
   12314   if test "x$ac_ct_STRIP" = x; then
   12315     STRIP=":"
   12316   else
   12317     case $cross_compiling:$ac_tool_warned in
   12318 yes:)
   12319 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12320 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12321 ac_tool_warned=yes ;;
   12322 esac
   12323     STRIP=$ac_ct_STRIP
   12324   fi
   12325 else
   12326   STRIP="$ac_cv_prog_STRIP"
   12327 fi
   12328 
   12329 test -z "$STRIP" && STRIP=:
   12330 
   12331 
   12332 
   12333 
   12334 
   12335 
   12336 if test -n "$ac_tool_prefix"; then
   12337   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   12338 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   12339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12340 $as_echo_n "checking for $ac_word... " >&6; }
   12341 if ${ac_cv_prog_RANLIB+:} false; then :
   12342   $as_echo_n "(cached) " >&6
   12343 else
   12344   if test -n "$RANLIB"; then
   12345   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   12346 else
   12347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12348 for as_dir in $PATH
   12349 do
   12350   IFS=$as_save_IFS
   12351   test -z "$as_dir" && as_dir=.
   12352     for ac_exec_ext in '' $ac_executable_extensions; do
   12353   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12354     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   12355     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12356     break 2
   12357   fi
   12358 done
   12359   done
   12360 IFS=$as_save_IFS
   12361 
   12362 fi
   12363 fi
   12364 RANLIB=$ac_cv_prog_RANLIB
   12365 if test -n "$RANLIB"; then
   12366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   12367 $as_echo "$RANLIB" >&6; }
   12368 else
   12369   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12370 $as_echo "no" >&6; }
   12371 fi
   12372 
   12373 
   12374 fi
   12375 if test -z "$ac_cv_prog_RANLIB"; then
   12376   ac_ct_RANLIB=$RANLIB
   12377   # Extract the first word of "ranlib", so it can be a program name with args.
   12378 set dummy ranlib; ac_word=$2
   12379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12380 $as_echo_n "checking for $ac_word... " >&6; }
   12381 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   12382   $as_echo_n "(cached) " >&6
   12383 else
   12384   if test -n "$ac_ct_RANLIB"; then
   12385   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   12386 else
   12387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12388 for as_dir in $PATH
   12389 do
   12390   IFS=$as_save_IFS
   12391   test -z "$as_dir" && as_dir=.
   12392     for ac_exec_ext in '' $ac_executable_extensions; do
   12393   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12394     ac_cv_prog_ac_ct_RANLIB="ranlib"
   12395     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12396     break 2
   12397   fi
   12398 done
   12399   done
   12400 IFS=$as_save_IFS
   12401 
   12402 fi
   12403 fi
   12404 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   12405 if test -n "$ac_ct_RANLIB"; then
   12406   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   12407 $as_echo "$ac_ct_RANLIB" >&6; }
   12408 else
   12409   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12410 $as_echo "no" >&6; }
   12411 fi
   12412 
   12413   if test "x$ac_ct_RANLIB" = x; then
   12414     RANLIB=":"
   12415   else
   12416     case $cross_compiling:$ac_tool_warned in
   12417 yes:)
   12418 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12419 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12420 ac_tool_warned=yes ;;
   12421 esac
   12422     RANLIB=$ac_ct_RANLIB
   12423   fi
   12424 else
   12425   RANLIB="$ac_cv_prog_RANLIB"
   12426 fi
   12427 
   12428 test -z "$RANLIB" && RANLIB=:
   12429 
   12430 
   12431 
   12432 
   12433 
   12434 
   12435 # Determine commands to create old-style static archives.
   12436 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   12437 old_postinstall_cmds='chmod 644 $oldlib'
   12438 old_postuninstall_cmds=
   12439 
   12440 if test -n "$RANLIB"; then
   12441   case $host_os in
   12442   openbsd*)
   12443     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   12444     ;;
   12445   *)
   12446     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   12447     ;;
   12448   esac
   12449   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   12450 fi
   12451 
   12452 case $host_os in
   12453   darwin*)
   12454     lock_old_archive_extraction=yes ;;
   12455   *)
   12456     lock_old_archive_extraction=no ;;
   12457 esac
   12458 
   12459 
   12460 
   12461 
   12462 
   12463 
   12464 
   12465 
   12466 
   12467 
   12468 
   12469 
   12470 
   12471 
   12472 
   12473 
   12474 
   12475 
   12476 
   12477 
   12478 
   12479 
   12480 
   12481 
   12482 
   12483 
   12484 
   12485 
   12486 
   12487 
   12488 
   12489 
   12490 
   12491 
   12492 
   12493 
   12494 
   12495 
   12496 
   12497 # If no C compiler was specified, use CC.
   12498 LTCC=${LTCC-"$CC"}
   12499 
   12500 # If no C compiler flags were specified, use CFLAGS.
   12501 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   12502 
   12503 # Allow CC to be a program name with arguments.
   12504 compiler=$CC
   12505 
   12506 
   12507 # Check for command to grab the raw symbol name followed by C symbol from nm.
   12508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   12509 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   12510 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   12511   $as_echo_n "(cached) " >&6
   12512 else
   12513 
   12514 # These are sane defaults that work on at least a few old systems.
   12515 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   12516 
   12517 # Character class describing NM global symbol codes.
   12518 symcode='[BCDEGRST]'
   12519 
   12520 # Regexp to match symbols that can be accessed directly from C.
   12521 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   12522 
   12523 # Define system-specific variables.
   12524 case $host_os in
   12525 aix*)
   12526   symcode='[BCDT]'
   12527   ;;
   12528 cygwin* | mingw* | pw32* | cegcc*)
   12529   symcode='[ABCDGISTW]'
   12530   ;;
   12531 hpux*)
   12532   if test "$host_cpu" = ia64; then
   12533     symcode='[ABCDEGRST]'
   12534   fi
   12535   ;;
   12536 irix* | nonstopux*)
   12537   symcode='[BCDEGRST]'
   12538   ;;
   12539 osf*)
   12540   symcode='[BCDEGQRST]'
   12541   ;;
   12542 solaris*)
   12543   symcode='[BDRT]'
   12544   ;;
   12545 sco3.2v5*)
   12546   symcode='[DT]'
   12547   ;;
   12548 sysv4.2uw2*)
   12549   symcode='[DT]'
   12550   ;;
   12551 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   12552   symcode='[ABDT]'
   12553   ;;
   12554 sysv4)
   12555   symcode='[DFNSTU]'
   12556   ;;
   12557 esac
   12558 
   12559 # If we're using GNU nm, then use its standard symbol codes.
   12560 case `$NM -V 2>&1` in
   12561 *GNU* | *'with BFD'*)
   12562   symcode='[ABCDGIRSTW]' ;;
   12563 esac
   12564 
   12565 # Transform an extracted symbol line into a proper C declaration.
   12566 # Some systems (esp. on ia64) link data and code symbols differently,
   12567 # so use this general approach.
   12568 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   12569 
   12570 # Transform an extracted symbol line into symbol name and symbol address
   12571 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   12572 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'"
   12573 
   12574 # Handle CRLF in mingw tool chain
   12575 opt_cr=
   12576 case $build_os in
   12577 mingw*)
   12578   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   12579   ;;
   12580 esac
   12581 
   12582 # Try without a prefix underscore, then with it.
   12583 for ac_symprfx in "" "_"; do
   12584 
   12585   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   12586   symxfrm="\\1 $ac_symprfx\\2 \\2"
   12587 
   12588   # Write the raw and C identifiers.
   12589   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   12590     # Fake it for dumpbin and say T for any non-static function
   12591     # and D for any global variable.
   12592     # Also find C++ and __fastcall symbols from MSVC++,
   12593     # which start with @ or ?.
   12594     lt_cv_sys_global_symbol_pipe="$AWK '"\
   12595 "     {last_section=section; section=\$ 3};"\
   12596 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   12597 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   12598 "     \$ 0!~/External *\|/{next};"\
   12599 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   12600 "     {if(hide[section]) next};"\
   12601 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   12602 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   12603 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   12604 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   12605 "     ' prfx=^$ac_symprfx"
   12606   else
   12607     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   12608   fi
   12609   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   12610 
   12611   # Check to see that the pipe works correctly.
   12612   pipe_works=no
   12613 
   12614   rm -f conftest*
   12615   cat > conftest.$ac_ext <<_LT_EOF
   12616 #ifdef __cplusplus
   12617 extern "C" {
   12618 #endif
   12619 char nm_test_var;
   12620 void nm_test_func(void);
   12621 void nm_test_func(void){}
   12622 #ifdef __cplusplus
   12623 }
   12624 #endif
   12625 int main(){nm_test_var='a';nm_test_func();return(0);}
   12626 _LT_EOF
   12627 
   12628   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   12629   (eval $ac_compile) 2>&5
   12630   ac_status=$?
   12631   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12632   test $ac_status = 0; }; then
   12633     # Now try to grab the symbols.
   12634     nlist=conftest.nm
   12635     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   12636   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   12637   ac_status=$?
   12638   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12639   test $ac_status = 0; } && test -s "$nlist"; then
   12640       # Try sorting and uniquifying the output.
   12641       if sort "$nlist" | uniq > "$nlist"T; then
   12642 	mv -f "$nlist"T "$nlist"
   12643       else
   12644 	rm -f "$nlist"T
   12645       fi
   12646 
   12647       # Make sure that we snagged all the symbols we need.
   12648       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   12649 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   12650 	  cat <<_LT_EOF > conftest.$ac_ext
   12651 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   12652 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
   12653 /* DATA imports from DLLs on WIN32 con't be const, because runtime
   12654    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   12655 # define LT_DLSYM_CONST
   12656 #elif defined(__osf__)
   12657 /* This system does not cope well with relocations in const data.  */
   12658 # define LT_DLSYM_CONST
   12659 #else
   12660 # define LT_DLSYM_CONST const
   12661 #endif
   12662 
   12663 #ifdef __cplusplus
   12664 extern "C" {
   12665 #endif
   12666 
   12667 _LT_EOF
   12668 	  # Now generate the symbol file.
   12669 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   12670 
   12671 	  cat <<_LT_EOF >> conftest.$ac_ext
   12672 
   12673 /* The mapping between symbol names and symbols.  */
   12674 LT_DLSYM_CONST struct {
   12675   const char *name;
   12676   void       *address;
   12677 }
   12678 lt__PROGRAM__LTX_preloaded_symbols[] =
   12679 {
   12680   { "@PROGRAM@", (void *) 0 },
   12681 _LT_EOF
   12682 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   12683 	  cat <<\_LT_EOF >> conftest.$ac_ext
   12684   {0, (void *) 0}
   12685 };
   12686 
   12687 /* This works around a problem in FreeBSD linker */
   12688 #ifdef FREEBSD_WORKAROUND
   12689 static const void *lt_preloaded_setup() {
   12690   return lt__PROGRAM__LTX_preloaded_symbols;
   12691 }
   12692 #endif
   12693 
   12694 #ifdef __cplusplus
   12695 }
   12696 #endif
   12697 _LT_EOF
   12698 	  # Now try linking the two files.
   12699 	  mv conftest.$ac_objext conftstm.$ac_objext
   12700 	  lt_globsym_save_LIBS=$LIBS
   12701 	  lt_globsym_save_CFLAGS=$CFLAGS
   12702 	  LIBS="conftstm.$ac_objext"
   12703 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   12704 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12705   (eval $ac_link) 2>&5
   12706   ac_status=$?
   12707   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12708   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   12709 	    pipe_works=yes
   12710 	  fi
   12711 	  LIBS=$lt_globsym_save_LIBS
   12712 	  CFLAGS=$lt_globsym_save_CFLAGS
   12713 	else
   12714 	  echo "cannot find nm_test_func in $nlist" >&5
   12715 	fi
   12716       else
   12717 	echo "cannot find nm_test_var in $nlist" >&5
   12718       fi
   12719     else
   12720       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   12721     fi
   12722   else
   12723     echo "$progname: failed program was:" >&5
   12724     cat conftest.$ac_ext >&5
   12725   fi
   12726   rm -rf conftest* conftst*
   12727 
   12728   # Do not use the global_symbol_pipe unless it works.
   12729   if test "$pipe_works" = yes; then
   12730     break
   12731   else
   12732     lt_cv_sys_global_symbol_pipe=
   12733   fi
   12734 done
   12735 
   12736 fi
   12737 
   12738 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   12739   lt_cv_sys_global_symbol_to_cdecl=
   12740 fi
   12741 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   12742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   12743 $as_echo "failed" >&6; }
   12744 else
   12745   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   12746 $as_echo "ok" >&6; }
   12747 fi
   12748 
   12749 # Response file support.
   12750 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   12751   nm_file_list_spec='@'
   12752 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   12753   nm_file_list_spec='@'
   12754 fi
   12755 
   12756 
   12757 
   12758 
   12759 
   12760 
   12761 
   12762 
   12763 
   12764 
   12765 
   12766 
   12767 
   12768 
   12769 
   12770 
   12771 
   12772 
   12773 
   12774 
   12775 
   12776 
   12777 
   12778 
   12779 
   12780 
   12781 
   12782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   12783 $as_echo_n "checking for sysroot... " >&6; }
   12784 
   12785 # Check whether --with-sysroot was given.
   12786 if test "${with_sysroot+set}" = set; then :
   12787   withval=$with_sysroot;
   12788 else
   12789   with_sysroot=no
   12790 fi
   12791 
   12792 
   12793 lt_sysroot=
   12794 case ${with_sysroot} in #(
   12795  yes)
   12796    if test "$GCC" = yes; then
   12797      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   12798    fi
   12799    ;; #(
   12800  /*)
   12801    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   12802    ;; #(
   12803  no|'')
   12804    ;; #(
   12805  *)
   12806    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
   12807 $as_echo "${with_sysroot}" >&6; }
   12808    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   12809    ;;
   12810 esac
   12811 
   12812  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   12813 $as_echo "${lt_sysroot:-no}" >&6; }
   12814 
   12815 
   12816 
   12817 
   12818 
   12819 # Check whether --enable-libtool-lock was given.
   12820 if test "${enable_libtool_lock+set}" = set; then :
   12821   enableval=$enable_libtool_lock;
   12822 fi
   12823 
   12824 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   12825 
   12826 # Some flags need to be propagated to the compiler or linker for good
   12827 # libtool support.
   12828 case $host in
   12829 ia64-*-hpux*)
   12830   # Find out which ABI we are using.
   12831   echo 'int i;' > conftest.$ac_ext
   12832   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   12833   (eval $ac_compile) 2>&5
   12834   ac_status=$?
   12835   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12836   test $ac_status = 0; }; then
   12837     case `/usr/bin/file conftest.$ac_objext` in
   12838       *ELF-32*)
   12839 	HPUX_IA64_MODE="32"
   12840 	;;
   12841       *ELF-64*)
   12842 	HPUX_IA64_MODE="64"
   12843 	;;
   12844     esac
   12845   fi
   12846   rm -rf conftest*
   12847   ;;
   12848 *-*-irix6*)
   12849   # Find out which ABI we are using.
   12850   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   12851   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   12852   (eval $ac_compile) 2>&5
   12853   ac_status=$?
   12854   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12855   test $ac_status = 0; }; then
   12856     if test "$lt_cv_prog_gnu_ld" = yes; then
   12857       case `/usr/bin/file conftest.$ac_objext` in
   12858 	*32-bit*)
   12859 	  LD="${LD-ld} -melf32bsmip"
   12860 	  ;;
   12861 	*N32*)
   12862 	  LD="${LD-ld} -melf32bmipn32"
   12863 	  ;;
   12864 	*64-bit*)
   12865 	  LD="${LD-ld} -melf64bmip"
   12866 	;;
   12867       esac
   12868     else
   12869       case `/usr/bin/file conftest.$ac_objext` in
   12870 	*32-bit*)
   12871 	  LD="${LD-ld} -32"
   12872 	  ;;
   12873 	*N32*)
   12874 	  LD="${LD-ld} -n32"
   12875 	  ;;
   12876 	*64-bit*)
   12877 	  LD="${LD-ld} -64"
   12878 	  ;;
   12879       esac
   12880     fi
   12881   fi
   12882   rm -rf conftest*
   12883   ;;
   12884 
   12885 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   12886 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   12887   # Find out which ABI we are using.
   12888   echo 'int i;' > conftest.$ac_ext
   12889   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   12890   (eval $ac_compile) 2>&5
   12891   ac_status=$?
   12892   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12893   test $ac_status = 0; }; then
   12894     case `/usr/bin/file conftest.o` in
   12895       *32-bit*)
   12896 	case $host in
   12897 	  x86_64-*kfreebsd*-gnu)
   12898 	    LD="${LD-ld} -m elf_i386_fbsd"
   12899 	    ;;
   12900 	  x86_64-*linux*)
   12901 	    LD="${LD-ld} -m elf_i386"
   12902 	    ;;
   12903 	  ppc64-*linux*|powerpc64-*linux*)
   12904 	    LD="${LD-ld} -m elf32ppclinux"
   12905 	    ;;
   12906 	  s390x-*linux*)
   12907 	    LD="${LD-ld} -m elf_s390"
   12908 	    ;;
   12909 	  sparc64-*linux*)
   12910 	    LD="${LD-ld} -m elf32_sparc"
   12911 	    ;;
   12912 	esac
   12913 	;;
   12914       *64-bit*)
   12915 	case $host in
   12916 	  x86_64-*kfreebsd*-gnu)
   12917 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   12918 	    ;;
   12919 	  x86_64-*linux*)
   12920 	    LD="${LD-ld} -m elf_x86_64"
   12921 	    ;;
   12922 	  ppc*-*linux*|powerpc*-*linux*)
   12923 	    LD="${LD-ld} -m elf64ppc"
   12924 	    ;;
   12925 	  s390*-*linux*|s390*-*tpf*)
   12926 	    LD="${LD-ld} -m elf64_s390"
   12927 	    ;;
   12928 	  sparc*-*linux*)
   12929 	    LD="${LD-ld} -m elf64_sparc"
   12930 	    ;;
   12931 	esac
   12932 	;;
   12933     esac
   12934   fi
   12935   rm -rf conftest*
   12936   ;;
   12937 
   12938 *-*-sco3.2v5*)
   12939   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   12940   SAVE_CFLAGS="$CFLAGS"
   12941   CFLAGS="$CFLAGS -belf"
   12942   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   12943 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   12944 if ${lt_cv_cc_needs_belf+:} false; then :
   12945   $as_echo_n "(cached) " >&6
   12946 else
   12947   ac_ext=c
   12948 ac_cpp='$CPP $CPPFLAGS'
   12949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12952 
   12953      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12954 /* end confdefs.h.  */
   12955 
   12956 int
   12957 main ()
   12958 {
   12959 
   12960   ;
   12961   return 0;
   12962 }
   12963 _ACEOF
   12964 if ac_fn_c_try_link "$LINENO"; then :
   12965   lt_cv_cc_needs_belf=yes
   12966 else
   12967   lt_cv_cc_needs_belf=no
   12968 fi
   12969 rm -f core conftest.err conftest.$ac_objext \
   12970     conftest$ac_exeext conftest.$ac_ext
   12971      ac_ext=c
   12972 ac_cpp='$CPP $CPPFLAGS'
   12973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12976 
   12977 fi
   12978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   12979 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   12980   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   12981     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   12982     CFLAGS="$SAVE_CFLAGS"
   12983   fi
   12984   ;;
   12985 *-*solaris*)
   12986   # Find out which ABI we are using.
   12987   echo 'int i;' > conftest.$ac_ext
   12988   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   12989   (eval $ac_compile) 2>&5
   12990   ac_status=$?
   12991   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12992   test $ac_status = 0; }; then
   12993     case `/usr/bin/file conftest.o` in
   12994     *64-bit*)
   12995       case $lt_cv_prog_gnu_ld in
   12996       yes*)
   12997         case $host in
   12998         i?86-*-solaris*)
   12999           LD="${LD-ld} -m elf_x86_64"
   13000           ;;
   13001         sparc*-*-solaris*)
   13002           LD="${LD-ld} -m elf64_sparc"
   13003           ;;
   13004         esac
   13005         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   13006         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   13007           LD="${LD-ld}_sol2"
   13008         fi
   13009         ;;
   13010       *)
   13011 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   13012 	  LD="${LD-ld} -64"
   13013 	fi
   13014 	;;
   13015       esac
   13016       ;;
   13017     esac
   13018   fi
   13019   rm -rf conftest*
   13020   ;;
   13021 esac
   13022 
   13023 need_locks="$enable_libtool_lock"
   13024 
   13025 if test -n "$ac_tool_prefix"; then
   13026   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   13027 set dummy ${ac_tool_prefix}mt; ac_word=$2
   13028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13029 $as_echo_n "checking for $ac_word... " >&6; }
   13030 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   13031   $as_echo_n "(cached) " >&6
   13032 else
   13033   if test -n "$MANIFEST_TOOL"; then
   13034   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   13035 else
   13036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13037 for as_dir in $PATH
   13038 do
   13039   IFS=$as_save_IFS
   13040   test -z "$as_dir" && as_dir=.
   13041     for ac_exec_ext in '' $ac_executable_extensions; do
   13042   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13043     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   13044     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13045     break 2
   13046   fi
   13047 done
   13048   done
   13049 IFS=$as_save_IFS
   13050 
   13051 fi
   13052 fi
   13053 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   13054 if test -n "$MANIFEST_TOOL"; then
   13055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   13056 $as_echo "$MANIFEST_TOOL" >&6; }
   13057 else
   13058   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13059 $as_echo "no" >&6; }
   13060 fi
   13061 
   13062 
   13063 fi
   13064 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   13065   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   13066   # Extract the first word of "mt", so it can be a program name with args.
   13067 set dummy mt; ac_word=$2
   13068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13069 $as_echo_n "checking for $ac_word... " >&6; }
   13070 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   13071   $as_echo_n "(cached) " >&6
   13072 else
   13073   if test -n "$ac_ct_MANIFEST_TOOL"; then
   13074   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   13075 else
   13076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13077 for as_dir in $PATH
   13078 do
   13079   IFS=$as_save_IFS
   13080   test -z "$as_dir" && as_dir=.
   13081     for ac_exec_ext in '' $ac_executable_extensions; do
   13082   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13083     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   13084     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13085     break 2
   13086   fi
   13087 done
   13088   done
   13089 IFS=$as_save_IFS
   13090 
   13091 fi
   13092 fi
   13093 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   13094 if test -n "$ac_ct_MANIFEST_TOOL"; then
   13095   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   13096 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   13097 else
   13098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13099 $as_echo "no" >&6; }
   13100 fi
   13101 
   13102   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   13103     MANIFEST_TOOL=":"
   13104   else
   13105     case $cross_compiling:$ac_tool_warned in
   13106 yes:)
   13107 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13108 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13109 ac_tool_warned=yes ;;
   13110 esac
   13111     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   13112   fi
   13113 else
   13114   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   13115 fi
   13116 
   13117 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   13118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   13119 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   13120 if ${lt_cv_path_mainfest_tool+:} false; then :
   13121   $as_echo_n "(cached) " >&6
   13122 else
   13123   lt_cv_path_mainfest_tool=no
   13124   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   13125   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   13126   cat conftest.err >&5
   13127   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   13128     lt_cv_path_mainfest_tool=yes
   13129   fi
   13130   rm -f conftest*
   13131 fi
   13132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   13133 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   13134 if test "x$lt_cv_path_mainfest_tool" != xyes; then
   13135   MANIFEST_TOOL=:
   13136 fi
   13137 
   13138 
   13139 
   13140 
   13141 
   13142 
   13143   case $host_os in
   13144     rhapsody* | darwin*)
   13145     if test -n "$ac_tool_prefix"; then
   13146   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   13147 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   13148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13149 $as_echo_n "checking for $ac_word... " >&6; }
   13150 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   13151   $as_echo_n "(cached) " >&6
   13152 else
   13153   if test -n "$DSYMUTIL"; then
   13154   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   13155 else
   13156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13157 for as_dir in $PATH
   13158 do
   13159   IFS=$as_save_IFS
   13160   test -z "$as_dir" && as_dir=.
   13161     for ac_exec_ext in '' $ac_executable_extensions; do
   13162   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13163     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   13164     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13165     break 2
   13166   fi
   13167 done
   13168   done
   13169 IFS=$as_save_IFS
   13170 
   13171 fi
   13172 fi
   13173 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   13174 if test -n "$DSYMUTIL"; then
   13175   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   13176 $as_echo "$DSYMUTIL" >&6; }
   13177 else
   13178   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13179 $as_echo "no" >&6; }
   13180 fi
   13181 
   13182 
   13183 fi
   13184 if test -z "$ac_cv_prog_DSYMUTIL"; then
   13185   ac_ct_DSYMUTIL=$DSYMUTIL
   13186   # Extract the first word of "dsymutil", so it can be a program name with args.
   13187 set dummy dsymutil; ac_word=$2
   13188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13189 $as_echo_n "checking for $ac_word... " >&6; }
   13190 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   13191   $as_echo_n "(cached) " >&6
   13192 else
   13193   if test -n "$ac_ct_DSYMUTIL"; then
   13194   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   13195 else
   13196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13197 for as_dir in $PATH
   13198 do
   13199   IFS=$as_save_IFS
   13200   test -z "$as_dir" && as_dir=.
   13201     for ac_exec_ext in '' $ac_executable_extensions; do
   13202   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13203     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   13204     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13205     break 2
   13206   fi
   13207 done
   13208   done
   13209 IFS=$as_save_IFS
   13210 
   13211 fi
   13212 fi
   13213 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   13214 if test -n "$ac_ct_DSYMUTIL"; then
   13215   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   13216 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   13217 else
   13218   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13219 $as_echo "no" >&6; }
   13220 fi
   13221 
   13222   if test "x$ac_ct_DSYMUTIL" = x; then
   13223     DSYMUTIL=":"
   13224   else
   13225     case $cross_compiling:$ac_tool_warned in
   13226 yes:)
   13227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13228 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13229 ac_tool_warned=yes ;;
   13230 esac
   13231     DSYMUTIL=$ac_ct_DSYMUTIL
   13232   fi
   13233 else
   13234   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   13235 fi
   13236 
   13237     if test -n "$ac_tool_prefix"; then
   13238   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   13239 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   13240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13241 $as_echo_n "checking for $ac_word... " >&6; }
   13242 if ${ac_cv_prog_NMEDIT+:} false; then :
   13243   $as_echo_n "(cached) " >&6
   13244 else
   13245   if test -n "$NMEDIT"; then
   13246   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   13247 else
   13248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13249 for as_dir in $PATH
   13250 do
   13251   IFS=$as_save_IFS
   13252   test -z "$as_dir" && as_dir=.
   13253     for ac_exec_ext in '' $ac_executable_extensions; do
   13254   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13255     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   13256     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13257     break 2
   13258   fi
   13259 done
   13260   done
   13261 IFS=$as_save_IFS
   13262 
   13263 fi
   13264 fi
   13265 NMEDIT=$ac_cv_prog_NMEDIT
   13266 if test -n "$NMEDIT"; then
   13267   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   13268 $as_echo "$NMEDIT" >&6; }
   13269 else
   13270   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13271 $as_echo "no" >&6; }
   13272 fi
   13273 
   13274 
   13275 fi
   13276 if test -z "$ac_cv_prog_NMEDIT"; then
   13277   ac_ct_NMEDIT=$NMEDIT
   13278   # Extract the first word of "nmedit", so it can be a program name with args.
   13279 set dummy nmedit; ac_word=$2
   13280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13281 $as_echo_n "checking for $ac_word... " >&6; }
   13282 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   13283   $as_echo_n "(cached) " >&6
   13284 else
   13285   if test -n "$ac_ct_NMEDIT"; then
   13286   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   13287 else
   13288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13289 for as_dir in $PATH
   13290 do
   13291   IFS=$as_save_IFS
   13292   test -z "$as_dir" && as_dir=.
   13293     for ac_exec_ext in '' $ac_executable_extensions; do
   13294   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13295     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   13296     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13297     break 2
   13298   fi
   13299 done
   13300   done
   13301 IFS=$as_save_IFS
   13302 
   13303 fi
   13304 fi
   13305 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   13306 if test -n "$ac_ct_NMEDIT"; then
   13307   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   13308 $as_echo "$ac_ct_NMEDIT" >&6; }
   13309 else
   13310   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13311 $as_echo "no" >&6; }
   13312 fi
   13313 
   13314   if test "x$ac_ct_NMEDIT" = x; then
   13315     NMEDIT=":"
   13316   else
   13317     case $cross_compiling:$ac_tool_warned in
   13318 yes:)
   13319 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13320 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13321 ac_tool_warned=yes ;;
   13322 esac
   13323     NMEDIT=$ac_ct_NMEDIT
   13324   fi
   13325 else
   13326   NMEDIT="$ac_cv_prog_NMEDIT"
   13327 fi
   13328 
   13329     if test -n "$ac_tool_prefix"; then
   13330   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   13331 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   13332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13333 $as_echo_n "checking for $ac_word... " >&6; }
   13334 if ${ac_cv_prog_LIPO+:} false; then :
   13335   $as_echo_n "(cached) " >&6
   13336 else
   13337   if test -n "$LIPO"; then
   13338   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   13339 else
   13340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13341 for as_dir in $PATH
   13342 do
   13343   IFS=$as_save_IFS
   13344   test -z "$as_dir" && as_dir=.
   13345     for ac_exec_ext in '' $ac_executable_extensions; do
   13346   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13347     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   13348     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13349     break 2
   13350   fi
   13351 done
   13352   done
   13353 IFS=$as_save_IFS
   13354 
   13355 fi
   13356 fi
   13357 LIPO=$ac_cv_prog_LIPO
   13358 if test -n "$LIPO"; then
   13359   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   13360 $as_echo "$LIPO" >&6; }
   13361 else
   13362   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13363 $as_echo "no" >&6; }
   13364 fi
   13365 
   13366 
   13367 fi
   13368 if test -z "$ac_cv_prog_LIPO"; then
   13369   ac_ct_LIPO=$LIPO
   13370   # Extract the first word of "lipo", so it can be a program name with args.
   13371 set dummy lipo; ac_word=$2
   13372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13373 $as_echo_n "checking for $ac_word... " >&6; }
   13374 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   13375   $as_echo_n "(cached) " >&6
   13376 else
   13377   if test -n "$ac_ct_LIPO"; then
   13378   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   13379 else
   13380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13381 for as_dir in $PATH
   13382 do
   13383   IFS=$as_save_IFS
   13384   test -z "$as_dir" && as_dir=.
   13385     for ac_exec_ext in '' $ac_executable_extensions; do
   13386   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13387     ac_cv_prog_ac_ct_LIPO="lipo"
   13388     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13389     break 2
   13390   fi
   13391 done
   13392   done
   13393 IFS=$as_save_IFS
   13394 
   13395 fi
   13396 fi
   13397 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   13398 if test -n "$ac_ct_LIPO"; then
   13399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   13400 $as_echo "$ac_ct_LIPO" >&6; }
   13401 else
   13402   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13403 $as_echo "no" >&6; }
   13404 fi
   13405 
   13406   if test "x$ac_ct_LIPO" = x; then
   13407     LIPO=":"
   13408   else
   13409     case $cross_compiling:$ac_tool_warned in
   13410 yes:)
   13411 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13412 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13413 ac_tool_warned=yes ;;
   13414 esac
   13415     LIPO=$ac_ct_LIPO
   13416   fi
   13417 else
   13418   LIPO="$ac_cv_prog_LIPO"
   13419 fi
   13420 
   13421     if test -n "$ac_tool_prefix"; then
   13422   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   13423 set dummy ${ac_tool_prefix}otool; ac_word=$2
   13424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13425 $as_echo_n "checking for $ac_word... " >&6; }
   13426 if ${ac_cv_prog_OTOOL+:} false; then :
   13427   $as_echo_n "(cached) " >&6
   13428 else
   13429   if test -n "$OTOOL"; then
   13430   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   13431 else
   13432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13433 for as_dir in $PATH
   13434 do
   13435   IFS=$as_save_IFS
   13436   test -z "$as_dir" && as_dir=.
   13437     for ac_exec_ext in '' $ac_executable_extensions; do
   13438   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13439     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   13440     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13441     break 2
   13442   fi
   13443 done
   13444   done
   13445 IFS=$as_save_IFS
   13446 
   13447 fi
   13448 fi
   13449 OTOOL=$ac_cv_prog_OTOOL
   13450 if test -n "$OTOOL"; then
   13451   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   13452 $as_echo "$OTOOL" >&6; }
   13453 else
   13454   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13455 $as_echo "no" >&6; }
   13456 fi
   13457 
   13458 
   13459 fi
   13460 if test -z "$ac_cv_prog_OTOOL"; then
   13461   ac_ct_OTOOL=$OTOOL
   13462   # Extract the first word of "otool", so it can be a program name with args.
   13463 set dummy otool; ac_word=$2
   13464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13465 $as_echo_n "checking for $ac_word... " >&6; }
   13466 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   13467   $as_echo_n "(cached) " >&6
   13468 else
   13469   if test -n "$ac_ct_OTOOL"; then
   13470   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   13471 else
   13472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13473 for as_dir in $PATH
   13474 do
   13475   IFS=$as_save_IFS
   13476   test -z "$as_dir" && as_dir=.
   13477     for ac_exec_ext in '' $ac_executable_extensions; do
   13478   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13479     ac_cv_prog_ac_ct_OTOOL="otool"
   13480     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13481     break 2
   13482   fi
   13483 done
   13484   done
   13485 IFS=$as_save_IFS
   13486 
   13487 fi
   13488 fi
   13489 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   13490 if test -n "$ac_ct_OTOOL"; then
   13491   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   13492 $as_echo "$ac_ct_OTOOL" >&6; }
   13493 else
   13494   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13495 $as_echo "no" >&6; }
   13496 fi
   13497 
   13498   if test "x$ac_ct_OTOOL" = x; then
   13499     OTOOL=":"
   13500   else
   13501     case $cross_compiling:$ac_tool_warned in
   13502 yes:)
   13503 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13504 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13505 ac_tool_warned=yes ;;
   13506 esac
   13507     OTOOL=$ac_ct_OTOOL
   13508   fi
   13509 else
   13510   OTOOL="$ac_cv_prog_OTOOL"
   13511 fi
   13512 
   13513     if test -n "$ac_tool_prefix"; then
   13514   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   13515 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   13516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13517 $as_echo_n "checking for $ac_word... " >&6; }
   13518 if ${ac_cv_prog_OTOOL64+:} false; then :
   13519   $as_echo_n "(cached) " >&6
   13520 else
   13521   if test -n "$OTOOL64"; then
   13522   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   13523 else
   13524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13525 for as_dir in $PATH
   13526 do
   13527   IFS=$as_save_IFS
   13528   test -z "$as_dir" && as_dir=.
   13529     for ac_exec_ext in '' $ac_executable_extensions; do
   13530   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13531     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   13532     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13533     break 2
   13534   fi
   13535 done
   13536   done
   13537 IFS=$as_save_IFS
   13538 
   13539 fi
   13540 fi
   13541 OTOOL64=$ac_cv_prog_OTOOL64
   13542 if test -n "$OTOOL64"; then
   13543   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   13544 $as_echo "$OTOOL64" >&6; }
   13545 else
   13546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13547 $as_echo "no" >&6; }
   13548 fi
   13549 
   13550 
   13551 fi
   13552 if test -z "$ac_cv_prog_OTOOL64"; then
   13553   ac_ct_OTOOL64=$OTOOL64
   13554   # Extract the first word of "otool64", so it can be a program name with args.
   13555 set dummy otool64; ac_word=$2
   13556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13557 $as_echo_n "checking for $ac_word... " >&6; }
   13558 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   13559   $as_echo_n "(cached) " >&6
   13560 else
   13561   if test -n "$ac_ct_OTOOL64"; then
   13562   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   13563 else
   13564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13565 for as_dir in $PATH
   13566 do
   13567   IFS=$as_save_IFS
   13568   test -z "$as_dir" && as_dir=.
   13569     for ac_exec_ext in '' $ac_executable_extensions; do
   13570   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13571     ac_cv_prog_ac_ct_OTOOL64="otool64"
   13572     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13573     break 2
   13574   fi
   13575 done
   13576   done
   13577 IFS=$as_save_IFS
   13578 
   13579 fi
   13580 fi
   13581 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   13582 if test -n "$ac_ct_OTOOL64"; then
   13583   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   13584 $as_echo "$ac_ct_OTOOL64" >&6; }
   13585 else
   13586   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13587 $as_echo "no" >&6; }
   13588 fi
   13589 
   13590   if test "x$ac_ct_OTOOL64" = x; then
   13591     OTOOL64=":"
   13592   else
   13593     case $cross_compiling:$ac_tool_warned in
   13594 yes:)
   13595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13596 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13597 ac_tool_warned=yes ;;
   13598 esac
   13599     OTOOL64=$ac_ct_OTOOL64
   13600   fi
   13601 else
   13602   OTOOL64="$ac_cv_prog_OTOOL64"
   13603 fi
   13604 
   13605 
   13606 
   13607 
   13608 
   13609 
   13610 
   13611 
   13612 
   13613 
   13614 
   13615 
   13616 
   13617 
   13618 
   13619 
   13620 
   13621 
   13622 
   13623 
   13624 
   13625 
   13626 
   13627 
   13628 
   13629 
   13630 
   13631     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   13632 $as_echo_n "checking for -single_module linker flag... " >&6; }
   13633 if ${lt_cv_apple_cc_single_mod+:} false; then :
   13634   $as_echo_n "(cached) " >&6
   13635 else
   13636   lt_cv_apple_cc_single_mod=no
   13637       if test -z "${LT_MULTI_MODULE}"; then
   13638 	# By default we will add the -single_module flag. You can override
   13639 	# by either setting the environment variable LT_MULTI_MODULE
   13640 	# non-empty at configure time, or by adding -multi_module to the
   13641 	# link flags.
   13642 	rm -rf libconftest.dylib*
   13643 	echo "int foo(void){return 1;}" > conftest.c
   13644 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   13645 -dynamiclib -Wl,-single_module conftest.c" >&5
   13646 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   13647 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   13648         _lt_result=$?
   13649 	# If there is a non-empty error log, and "single_module"
   13650 	# appears in it, assume the flag caused a linker warning
   13651         if test -s conftest.err && $GREP single_module conftest.err; then
   13652 	  cat conftest.err >&5
   13653 	# Otherwise, if the output was created with a 0 exit code from
   13654 	# the compiler, it worked.
   13655 	elif test -f libconftest.dylib && test $_lt_result -eq 0; then
   13656 	  lt_cv_apple_cc_single_mod=yes
   13657 	else
   13658 	  cat conftest.err >&5
   13659 	fi
   13660 	rm -rf libconftest.dylib*
   13661 	rm -f conftest.*
   13662       fi
   13663 fi
   13664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   13665 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   13666 
   13667     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   13668 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   13669 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   13670   $as_echo_n "(cached) " >&6
   13671 else
   13672   lt_cv_ld_exported_symbols_list=no
   13673       save_LDFLAGS=$LDFLAGS
   13674       echo "_main" > conftest.sym
   13675       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   13676       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13677 /* end confdefs.h.  */
   13678 
   13679 int
   13680 main ()
   13681 {
   13682 
   13683   ;
   13684   return 0;
   13685 }
   13686 _ACEOF
   13687 if ac_fn_c_try_link "$LINENO"; then :
   13688   lt_cv_ld_exported_symbols_list=yes
   13689 else
   13690   lt_cv_ld_exported_symbols_list=no
   13691 fi
   13692 rm -f core conftest.err conftest.$ac_objext \
   13693     conftest$ac_exeext conftest.$ac_ext
   13694 	LDFLAGS="$save_LDFLAGS"
   13695 
   13696 fi
   13697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   13698 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   13699 
   13700     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   13701 $as_echo_n "checking for -force_load linker flag... " >&6; }
   13702 if ${lt_cv_ld_force_load+:} false; then :
   13703   $as_echo_n "(cached) " >&6
   13704 else
   13705   lt_cv_ld_force_load=no
   13706       cat > conftest.c << _LT_EOF
   13707 int forced_loaded() { return 2;}
   13708 _LT_EOF
   13709       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   13710       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   13711       echo "$AR cru libconftest.a conftest.o" >&5
   13712       $AR cru libconftest.a conftest.o 2>&5
   13713       echo "$RANLIB libconftest.a" >&5
   13714       $RANLIB libconftest.a 2>&5
   13715       cat > conftest.c << _LT_EOF
   13716 int main() { return 0;}
   13717 _LT_EOF
   13718       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   13719       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   13720       _lt_result=$?
   13721       if test -s conftest.err && $GREP force_load conftest.err; then
   13722 	cat conftest.err >&5
   13723       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
   13724 	lt_cv_ld_force_load=yes
   13725       else
   13726 	cat conftest.err >&5
   13727       fi
   13728         rm -f conftest.err libconftest.a conftest conftest.c
   13729         rm -rf conftest.dSYM
   13730 
   13731 fi
   13732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   13733 $as_echo "$lt_cv_ld_force_load" >&6; }
   13734     case $host_os in
   13735     rhapsody* | darwin1.[012])
   13736       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   13737     darwin1.*)
   13738       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   13739     darwin*) # darwin 5.x on
   13740       # if running on 10.5 or later, the deployment target defaults
   13741       # to the OS version, if on x86, and 10.4, the deployment
   13742       # target defaults to 10.4. Don't you love it?
   13743       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   13744 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   13745 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   13746 	10.[012]*)
   13747 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   13748 	10.*)
   13749 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   13750       esac
   13751     ;;
   13752   esac
   13753     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   13754       _lt_dar_single_mod='$single_module'
   13755     fi
   13756     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   13757       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   13758     else
   13759       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   13760     fi
   13761     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   13762       _lt_dsymutil='~$DSYMUTIL $lib || :'
   13763     else
   13764       _lt_dsymutil=
   13765     fi
   13766     ;;
   13767   esac
   13768 
   13769 for ac_header in dlfcn.h
   13770 do :
   13771   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   13772 "
   13773 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   13774   cat >>confdefs.h <<_ACEOF
   13775 #define HAVE_DLFCN_H 1
   13776 _ACEOF
   13777 
   13778 fi
   13779 
   13780 done
   13781 
   13782 
   13783 
   13784 
   13785 
   13786 # Set options
   13787 
   13788 
   13789 
   13790         enable_dlopen=no
   13791 
   13792 
   13793   enable_win32_dll=no
   13794 
   13795 
   13796             # Check whether --enable-shared was given.
   13797 if test "${enable_shared+set}" = set; then :
   13798   enableval=$enable_shared; p=${PACKAGE-default}
   13799     case $enableval in
   13800     yes) enable_shared=yes ;;
   13801     no) enable_shared=no ;;
   13802     *)
   13803       enable_shared=no
   13804       # Look at the argument we got.  We use all the common list separators.
   13805       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   13806       for pkg in $enableval; do
   13807 	IFS="$lt_save_ifs"
   13808 	if test "X$pkg" = "X$p"; then
   13809 	  enable_shared=yes
   13810 	fi
   13811       done
   13812       IFS="$lt_save_ifs"
   13813       ;;
   13814     esac
   13815 else
   13816   enable_shared=yes
   13817 fi
   13818 
   13819 
   13820 
   13821 
   13822 
   13823 
   13824 
   13825 
   13826 
   13827 
   13828 
   13829 # Check whether --with-pic was given.
   13830 if test "${with_pic+set}" = set; then :
   13831   withval=$with_pic; lt_p=${PACKAGE-default}
   13832     case $withval in
   13833     yes|no) pic_mode=$withval ;;
   13834     *)
   13835       pic_mode=default
   13836       # Look at the argument we got.  We use all the common list separators.
   13837       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   13838       for lt_pkg in $withval; do
   13839 	IFS="$lt_save_ifs"
   13840 	if test "X$lt_pkg" = "X$lt_p"; then
   13841 	  pic_mode=yes
   13842 	fi
   13843       done
   13844       IFS="$lt_save_ifs"
   13845       ;;
   13846     esac
   13847 else
   13848   pic_mode=default
   13849 fi
   13850 
   13851 
   13852 test -z "$pic_mode" && pic_mode=default
   13853 
   13854 
   13855 
   13856 
   13857 
   13858 
   13859 
   13860   # Check whether --enable-fast-install was given.
   13861 if test "${enable_fast_install+set}" = set; then :
   13862   enableval=$enable_fast_install; p=${PACKAGE-default}
   13863     case $enableval in
   13864     yes) enable_fast_install=yes ;;
   13865     no) enable_fast_install=no ;;
   13866     *)
   13867       enable_fast_install=no
   13868       # Look at the argument we got.  We use all the common list separators.
   13869       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   13870       for pkg in $enableval; do
   13871 	IFS="$lt_save_ifs"
   13872 	if test "X$pkg" = "X$p"; then
   13873 	  enable_fast_install=yes
   13874 	fi
   13875       done
   13876       IFS="$lt_save_ifs"
   13877       ;;
   13878     esac
   13879 else
   13880   enable_fast_install=yes
   13881 fi
   13882 
   13883 
   13884 
   13885 
   13886 
   13887 
   13888 
   13889 
   13890 
   13891 
   13892 
   13893 # This can be used to rebuild libtool when needed
   13894 LIBTOOL_DEPS="$ltmain"
   13895 
   13896 # Always use our own libtool.
   13897 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   13898 
   13899 
   13900 
   13901 
   13902 
   13903 
   13904 
   13905 
   13906 
   13907 
   13908 
   13909 
   13910 
   13911 
   13912 
   13913 
   13914 
   13915 
   13916 
   13917 
   13918 
   13919 
   13920 
   13921 
   13922 
   13923 
   13924 
   13925 
   13926 
   13927 
   13928 test -z "$LN_S" && LN_S="ln -s"
   13929 
   13930 
   13931 
   13932 
   13933 
   13934 
   13935 
   13936 
   13937 
   13938 
   13939 
   13940 
   13941 
   13942 
   13943 if test -n "${ZSH_VERSION+set}" ; then
   13944    setopt NO_GLOB_SUBST
   13945 fi
   13946 
   13947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   13948 $as_echo_n "checking for objdir... " >&6; }
   13949 if ${lt_cv_objdir+:} false; then :
   13950   $as_echo_n "(cached) " >&6
   13951 else
   13952   rm -f .libs 2>/dev/null
   13953 mkdir .libs 2>/dev/null
   13954 if test -d .libs; then
   13955   lt_cv_objdir=.libs
   13956 else
   13957   # MS-DOS does not allow filenames that begin with a dot.
   13958   lt_cv_objdir=_libs
   13959 fi
   13960 rmdir .libs 2>/dev/null
   13961 fi
   13962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   13963 $as_echo "$lt_cv_objdir" >&6; }
   13964 objdir=$lt_cv_objdir
   13965 
   13966 
   13967 
   13968 
   13969 
   13970 cat >>confdefs.h <<_ACEOF
   13971 #define LT_OBJDIR "$lt_cv_objdir/"
   13972 _ACEOF
   13973 
   13974 
   13975 
   13976 
   13977 case $host_os in
   13978 aix3*)
   13979   # AIX sometimes has problems with the GCC collect2 program.  For some
   13980   # reason, if we set the COLLECT_NAMES environment variable, the problems
   13981   # vanish in a puff of smoke.
   13982   if test "X${COLLECT_NAMES+set}" != Xset; then
   13983     COLLECT_NAMES=
   13984     export COLLECT_NAMES
   13985   fi
   13986   ;;
   13987 esac
   13988 
   13989 # Global variables:
   13990 ofile=libtool
   13991 can_build_shared=yes
   13992 
   13993 # All known linkers require a `.a' archive for static linking (except MSVC,
   13994 # which needs '.lib').
   13995 libext=a
   13996 
   13997 with_gnu_ld="$lt_cv_prog_gnu_ld"
   13998 
   13999 old_CC="$CC"
   14000 old_CFLAGS="$CFLAGS"
   14001 
   14002 # Set sane defaults for various variables
   14003 test -z "$CC" && CC=cc
   14004 test -z "$LTCC" && LTCC=$CC
   14005 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   14006 test -z "$LD" && LD=ld
   14007 test -z "$ac_objext" && ac_objext=o
   14008 
   14009 for cc_temp in $compiler""; do
   14010   case $cc_temp in
   14011     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14012     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14013     \-*) ;;
   14014     *) break;;
   14015   esac
   14016 done
   14017 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   14018 
   14019 
   14020 # Only perform the check for file, if the check method requires it
   14021 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   14022 case $deplibs_check_method in
   14023 file_magic*)
   14024   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   14025     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   14026 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   14027 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   14028   $as_echo_n "(cached) " >&6
   14029 else
   14030   case $MAGIC_CMD in
   14031 [\\/*] |  ?:[\\/]*)
   14032   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   14033   ;;
   14034 *)
   14035   lt_save_MAGIC_CMD="$MAGIC_CMD"
   14036   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   14037   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   14038   for ac_dir in $ac_dummy; do
   14039     IFS="$lt_save_ifs"
   14040     test -z "$ac_dir" && ac_dir=.
   14041     if test -f $ac_dir/${ac_tool_prefix}file; then
   14042       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   14043       if test -n "$file_magic_test_file"; then
   14044 	case $deplibs_check_method in
   14045 	"file_magic "*)
   14046 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   14047 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   14048 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   14049 	    $EGREP "$file_magic_regex" > /dev/null; then
   14050 	    :
   14051 	  else
   14052 	    cat <<_LT_EOF 1>&2
   14053 
   14054 *** Warning: the command libtool uses to detect shared libraries,
   14055 *** $file_magic_cmd, produces output that libtool cannot recognize.
   14056 *** The result is that libtool may fail to recognize shared libraries
   14057 *** as such.  This will affect the creation of libtool libraries that
   14058 *** depend on shared libraries, but programs linked with such libtool
   14059 *** libraries will work regardless of this problem.  Nevertheless, you
   14060 *** may want to report the problem to your system manager and/or to
   14061 *** bug-libtool@gnu.org
   14062 
   14063 _LT_EOF
   14064 	  fi ;;
   14065 	esac
   14066       fi
   14067       break
   14068     fi
   14069   done
   14070   IFS="$lt_save_ifs"
   14071   MAGIC_CMD="$lt_save_MAGIC_CMD"
   14072   ;;
   14073 esac
   14074 fi
   14075 
   14076 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   14077 if test -n "$MAGIC_CMD"; then
   14078   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   14079 $as_echo "$MAGIC_CMD" >&6; }
   14080 else
   14081   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14082 $as_echo "no" >&6; }
   14083 fi
   14084 
   14085 
   14086 
   14087 
   14088 
   14089 if test -z "$lt_cv_path_MAGIC_CMD"; then
   14090   if test -n "$ac_tool_prefix"; then
   14091     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   14092 $as_echo_n "checking for file... " >&6; }
   14093 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   14094   $as_echo_n "(cached) " >&6
   14095 else
   14096   case $MAGIC_CMD in
   14097 [\\/*] |  ?:[\\/]*)
   14098   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   14099   ;;
   14100 *)
   14101   lt_save_MAGIC_CMD="$MAGIC_CMD"
   14102   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   14103   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   14104   for ac_dir in $ac_dummy; do
   14105     IFS="$lt_save_ifs"
   14106     test -z "$ac_dir" && ac_dir=.
   14107     if test -f $ac_dir/file; then
   14108       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   14109       if test -n "$file_magic_test_file"; then
   14110 	case $deplibs_check_method in
   14111 	"file_magic "*)
   14112 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   14113 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   14114 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   14115 	    $EGREP "$file_magic_regex" > /dev/null; then
   14116 	    :
   14117 	  else
   14118 	    cat <<_LT_EOF 1>&2
   14119 
   14120 *** Warning: the command libtool uses to detect shared libraries,
   14121 *** $file_magic_cmd, produces output that libtool cannot recognize.
   14122 *** The result is that libtool may fail to recognize shared libraries
   14123 *** as such.  This will affect the creation of libtool libraries that
   14124 *** depend on shared libraries, but programs linked with such libtool
   14125 *** libraries will work regardless of this problem.  Nevertheless, you
   14126 *** may want to report the problem to your system manager and/or to
   14127 *** bug-libtool@gnu.org
   14128 
   14129 _LT_EOF
   14130 	  fi ;;
   14131 	esac
   14132       fi
   14133       break
   14134     fi
   14135   done
   14136   IFS="$lt_save_ifs"
   14137   MAGIC_CMD="$lt_save_MAGIC_CMD"
   14138   ;;
   14139 esac
   14140 fi
   14141 
   14142 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   14143 if test -n "$MAGIC_CMD"; then
   14144   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   14145 $as_echo "$MAGIC_CMD" >&6; }
   14146 else
   14147   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14148 $as_echo "no" >&6; }
   14149 fi
   14150 
   14151 
   14152   else
   14153     MAGIC_CMD=:
   14154   fi
   14155 fi
   14156 
   14157   fi
   14158   ;;
   14159 esac
   14160 
   14161 # Use C for the default configuration in the libtool script
   14162 
   14163 lt_save_CC="$CC"
   14164 ac_ext=c
   14165 ac_cpp='$CPP $CPPFLAGS'
   14166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14169 
   14170 
   14171 # Source file extension for C test sources.
   14172 ac_ext=c
   14173 
   14174 # Object file extension for compiled C test sources.
   14175 objext=o
   14176 objext=$objext
   14177 
   14178 # Code to be used in simple compile tests
   14179 lt_simple_compile_test_code="int some_variable = 0;"
   14180 
   14181 # Code to be used in simple link tests
   14182 lt_simple_link_test_code='int main(){return(0);}'
   14183 
   14184 
   14185 
   14186 
   14187 
   14188 
   14189 
   14190 # If no C compiler was specified, use CC.
   14191 LTCC=${LTCC-"$CC"}
   14192 
   14193 # If no C compiler flags were specified, use CFLAGS.
   14194 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   14195 
   14196 # Allow CC to be a program name with arguments.
   14197 compiler=$CC
   14198 
   14199 # Save the default compiler, since it gets overwritten when the other
   14200 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   14201 compiler_DEFAULT=$CC
   14202 
   14203 # save warnings/boilerplate of simple test code
   14204 ac_outfile=conftest.$ac_objext
   14205 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   14206 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14207 _lt_compiler_boilerplate=`cat conftest.err`
   14208 $RM conftest*
   14209 
   14210 ac_outfile=conftest.$ac_objext
   14211 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   14212 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14213 _lt_linker_boilerplate=`cat conftest.err`
   14214 $RM -r conftest*
   14215 
   14216 
   14217 if test -n "$compiler"; then
   14218 
   14219 lt_prog_compiler_no_builtin_flag=
   14220 
   14221 if test "$GCC" = yes; then
   14222   case $cc_basename in
   14223   nvcc*)
   14224     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   14225   *)
   14226     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   14227   esac
   14228 
   14229   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   14230 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   14231 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   14232   $as_echo_n "(cached) " >&6
   14233 else
   14234   lt_cv_prog_compiler_rtti_exceptions=no
   14235    ac_outfile=conftest.$ac_objext
   14236    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14237    lt_compiler_flag="-fno-rtti -fno-exceptions"
   14238    # Insert the option either (1) after the last *FLAGS variable, or
   14239    # (2) before a word containing "conftest.", or (3) at the end.
   14240    # Note that $ac_compile itself does not contain backslashes and begins
   14241    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14242    # The option is referenced via a variable to avoid confusing sed.
   14243    lt_compile=`echo "$ac_compile" | $SED \
   14244    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14245    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14246    -e 's:$: $lt_compiler_flag:'`
   14247    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14248    (eval "$lt_compile" 2>conftest.err)
   14249    ac_status=$?
   14250    cat conftest.err >&5
   14251    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14252    if (exit $ac_status) && test -s "$ac_outfile"; then
   14253      # The compiler can only warn and ignore the option if not recognized
   14254      # So say no if there are warnings other than the usual output.
   14255      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   14256      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14257      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14258        lt_cv_prog_compiler_rtti_exceptions=yes
   14259      fi
   14260    fi
   14261    $RM conftest*
   14262 
   14263 fi
   14264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   14265 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   14266 
   14267 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   14268     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   14269 else
   14270     :
   14271 fi
   14272 
   14273 fi
   14274 
   14275 
   14276 
   14277 
   14278 
   14279 
   14280   lt_prog_compiler_wl=
   14281 lt_prog_compiler_pic=
   14282 lt_prog_compiler_static=
   14283 
   14284 
   14285   if test "$GCC" = yes; then
   14286     lt_prog_compiler_wl='-Wl,'
   14287     lt_prog_compiler_static='-static'
   14288 
   14289     case $host_os in
   14290       aix*)
   14291       # All AIX code is PIC.
   14292       if test "$host_cpu" = ia64; then
   14293 	# AIX 5 now supports IA64 processor
   14294 	lt_prog_compiler_static='-Bstatic'
   14295       fi
   14296       ;;
   14297 
   14298     amigaos*)
   14299       case $host_cpu in
   14300       powerpc)
   14301             # see comment about AmigaOS4 .so support
   14302             lt_prog_compiler_pic='-fPIC'
   14303         ;;
   14304       m68k)
   14305             # FIXME: we need at least 68020 code to build shared libraries, but
   14306             # adding the `-m68020' flag to GCC prevents building anything better,
   14307             # like `-m68040'.
   14308             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   14309         ;;
   14310       esac
   14311       ;;
   14312 
   14313     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   14314       # PIC is the default for these OSes.
   14315       ;;
   14316 
   14317     mingw* | cygwin* | pw32* | os2* | cegcc*)
   14318       # This hack is so that the source file can tell whether it is being
   14319       # built for inclusion in a dll (and should export symbols for example).
   14320       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   14321       # (--disable-auto-import) libraries
   14322       lt_prog_compiler_pic='-DDLL_EXPORT'
   14323       ;;
   14324 
   14325     darwin* | rhapsody*)
   14326       # PIC is the default on this platform
   14327       # Common symbols not allowed in MH_DYLIB files
   14328       lt_prog_compiler_pic='-fno-common'
   14329       ;;
   14330 
   14331     haiku*)
   14332       # PIC is the default for Haiku.
   14333       # The "-static" flag exists, but is broken.
   14334       lt_prog_compiler_static=
   14335       ;;
   14336 
   14337     hpux*)
   14338       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   14339       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   14340       # sets the default TLS model and affects inlining.
   14341       case $host_cpu in
   14342       hppa*64*)
   14343 	# +Z the default
   14344 	;;
   14345       *)
   14346 	lt_prog_compiler_pic='-fPIC'
   14347 	;;
   14348       esac
   14349       ;;
   14350 
   14351     interix[3-9]*)
   14352       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   14353       # Instead, we relocate shared libraries at runtime.
   14354       ;;
   14355 
   14356     msdosdjgpp*)
   14357       # Just because we use GCC doesn't mean we suddenly get shared libraries
   14358       # on systems that don't support them.
   14359       lt_prog_compiler_can_build_shared=no
   14360       enable_shared=no
   14361       ;;
   14362 
   14363     *nto* | *qnx*)
   14364       # QNX uses GNU C++, but need to define -shared option too, otherwise
   14365       # it will coredump.
   14366       lt_prog_compiler_pic='-fPIC -shared'
   14367       ;;
   14368 
   14369     sysv4*MP*)
   14370       if test -d /usr/nec; then
   14371 	lt_prog_compiler_pic=-Kconform_pic
   14372       fi
   14373       ;;
   14374 
   14375     *)
   14376       lt_prog_compiler_pic='-fPIC'
   14377       ;;
   14378     esac
   14379 
   14380     case $cc_basename in
   14381     nvcc*) # Cuda Compiler Driver 2.2
   14382       lt_prog_compiler_wl='-Xlinker '
   14383       if test -n "$lt_prog_compiler_pic"; then
   14384         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   14385       fi
   14386       ;;
   14387     esac
   14388   else
   14389     # PORTME Check for flag to pass linker flags through the system compiler.
   14390     case $host_os in
   14391     aix*)
   14392       lt_prog_compiler_wl='-Wl,'
   14393       if test "$host_cpu" = ia64; then
   14394 	# AIX 5 now supports IA64 processor
   14395 	lt_prog_compiler_static='-Bstatic'
   14396       else
   14397 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   14398       fi
   14399       ;;
   14400 
   14401     mingw* | cygwin* | pw32* | os2* | cegcc*)
   14402       # This hack is so that the source file can tell whether it is being
   14403       # built for inclusion in a dll (and should export symbols for example).
   14404       lt_prog_compiler_pic='-DDLL_EXPORT'
   14405       ;;
   14406 
   14407     hpux9* | hpux10* | hpux11*)
   14408       lt_prog_compiler_wl='-Wl,'
   14409       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14410       # not for PA HP-UX.
   14411       case $host_cpu in
   14412       hppa*64*|ia64*)
   14413 	# +Z the default
   14414 	;;
   14415       *)
   14416 	lt_prog_compiler_pic='+Z'
   14417 	;;
   14418       esac
   14419       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   14420       lt_prog_compiler_static='${wl}-a ${wl}archive'
   14421       ;;
   14422 
   14423     irix5* | irix6* | nonstopux*)
   14424       lt_prog_compiler_wl='-Wl,'
   14425       # PIC (with -KPIC) is the default.
   14426       lt_prog_compiler_static='-non_shared'
   14427       ;;
   14428 
   14429     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   14430       case $cc_basename in
   14431       # old Intel for x86_64 which still supported -KPIC.
   14432       ecc*)
   14433 	lt_prog_compiler_wl='-Wl,'
   14434 	lt_prog_compiler_pic='-KPIC'
   14435 	lt_prog_compiler_static='-static'
   14436         ;;
   14437       # icc used to be incompatible with GCC.
   14438       # ICC 10 doesn't accept -KPIC any more.
   14439       icc* | ifort*)
   14440 	lt_prog_compiler_wl='-Wl,'
   14441 	lt_prog_compiler_pic='-fPIC'
   14442 	lt_prog_compiler_static='-static'
   14443         ;;
   14444       # Lahey Fortran 8.1.
   14445       lf95*)
   14446 	lt_prog_compiler_wl='-Wl,'
   14447 	lt_prog_compiler_pic='--shared'
   14448 	lt_prog_compiler_static='--static'
   14449 	;;
   14450       nagfor*)
   14451 	# NAG Fortran compiler
   14452 	lt_prog_compiler_wl='-Wl,-Wl,,'
   14453 	lt_prog_compiler_pic='-PIC'
   14454 	lt_prog_compiler_static='-Bstatic'
   14455 	;;
   14456       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   14457         # Portland Group compilers (*not* the Pentium gcc compiler,
   14458 	# which looks to be a dead project)
   14459 	lt_prog_compiler_wl='-Wl,'
   14460 	lt_prog_compiler_pic='-fpic'
   14461 	lt_prog_compiler_static='-Bstatic'
   14462         ;;
   14463       ccc*)
   14464         lt_prog_compiler_wl='-Wl,'
   14465         # All Alpha code is PIC.
   14466         lt_prog_compiler_static='-non_shared'
   14467         ;;
   14468       xl* | bgxl* | bgf* | mpixl*)
   14469 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   14470 	lt_prog_compiler_wl='-Wl,'
   14471 	lt_prog_compiler_pic='-qpic'
   14472 	lt_prog_compiler_static='-qstaticlink'
   14473 	;;
   14474       *)
   14475 	case `$CC -V 2>&1 | sed 5q` in
   14476 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   14477 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   14478 	  lt_prog_compiler_pic='-KPIC'
   14479 	  lt_prog_compiler_static='-Bstatic'
   14480 	  lt_prog_compiler_wl=''
   14481 	  ;;
   14482 	*Sun\ F* | *Sun*Fortran*)
   14483 	  lt_prog_compiler_pic='-KPIC'
   14484 	  lt_prog_compiler_static='-Bstatic'
   14485 	  lt_prog_compiler_wl='-Qoption ld '
   14486 	  ;;
   14487 	*Sun\ C*)
   14488 	  # Sun C 5.9
   14489 	  lt_prog_compiler_pic='-KPIC'
   14490 	  lt_prog_compiler_static='-Bstatic'
   14491 	  lt_prog_compiler_wl='-Wl,'
   14492 	  ;;
   14493         *Intel*\ [CF]*Compiler*)
   14494 	  lt_prog_compiler_wl='-Wl,'
   14495 	  lt_prog_compiler_pic='-fPIC'
   14496 	  lt_prog_compiler_static='-static'
   14497 	  ;;
   14498 	*Portland\ Group*)
   14499 	  lt_prog_compiler_wl='-Wl,'
   14500 	  lt_prog_compiler_pic='-fpic'
   14501 	  lt_prog_compiler_static='-Bstatic'
   14502 	  ;;
   14503 	esac
   14504 	;;
   14505       esac
   14506       ;;
   14507 
   14508     newsos6)
   14509       lt_prog_compiler_pic='-KPIC'
   14510       lt_prog_compiler_static='-Bstatic'
   14511       ;;
   14512 
   14513     *nto* | *qnx*)
   14514       # QNX uses GNU C++, but need to define -shared option too, otherwise
   14515       # it will coredump.
   14516       lt_prog_compiler_pic='-fPIC -shared'
   14517       ;;
   14518 
   14519     osf3* | osf4* | osf5*)
   14520       lt_prog_compiler_wl='-Wl,'
   14521       # All OSF/1 code is PIC.
   14522       lt_prog_compiler_static='-non_shared'
   14523       ;;
   14524 
   14525     rdos*)
   14526       lt_prog_compiler_static='-non_shared'
   14527       ;;
   14528 
   14529     solaris*)
   14530       lt_prog_compiler_pic='-KPIC'
   14531       lt_prog_compiler_static='-Bstatic'
   14532       case $cc_basename in
   14533       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   14534 	lt_prog_compiler_wl='-Qoption ld ';;
   14535       *)
   14536 	lt_prog_compiler_wl='-Wl,';;
   14537       esac
   14538       ;;
   14539 
   14540     sunos4*)
   14541       lt_prog_compiler_wl='-Qoption ld '
   14542       lt_prog_compiler_pic='-PIC'
   14543       lt_prog_compiler_static='-Bstatic'
   14544       ;;
   14545 
   14546     sysv4 | sysv4.2uw2* | sysv4.3*)
   14547       lt_prog_compiler_wl='-Wl,'
   14548       lt_prog_compiler_pic='-KPIC'
   14549       lt_prog_compiler_static='-Bstatic'
   14550       ;;
   14551 
   14552     sysv4*MP*)
   14553       if test -d /usr/nec ;then
   14554 	lt_prog_compiler_pic='-Kconform_pic'
   14555 	lt_prog_compiler_static='-Bstatic'
   14556       fi
   14557       ;;
   14558 
   14559     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   14560       lt_prog_compiler_wl='-Wl,'
   14561       lt_prog_compiler_pic='-KPIC'
   14562       lt_prog_compiler_static='-Bstatic'
   14563       ;;
   14564 
   14565     unicos*)
   14566       lt_prog_compiler_wl='-Wl,'
   14567       lt_prog_compiler_can_build_shared=no
   14568       ;;
   14569 
   14570     uts4*)
   14571       lt_prog_compiler_pic='-pic'
   14572       lt_prog_compiler_static='-Bstatic'
   14573       ;;
   14574 
   14575     *)
   14576       lt_prog_compiler_can_build_shared=no
   14577       ;;
   14578     esac
   14579   fi
   14580 
   14581 case $host_os in
   14582   # For platforms which do not support PIC, -DPIC is meaningless:
   14583   *djgpp*)
   14584     lt_prog_compiler_pic=
   14585     ;;
   14586   *)
   14587     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   14588     ;;
   14589 esac
   14590 
   14591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   14592 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   14593 if ${lt_cv_prog_compiler_pic+:} false; then :
   14594   $as_echo_n "(cached) " >&6
   14595 else
   14596   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   14597 fi
   14598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   14599 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   14600 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   14601 
   14602 #
   14603 # Check to make sure the PIC flag actually works.
   14604 #
   14605 if test -n "$lt_prog_compiler_pic"; then
   14606   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   14607 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   14608 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   14609   $as_echo_n "(cached) " >&6
   14610 else
   14611   lt_cv_prog_compiler_pic_works=no
   14612    ac_outfile=conftest.$ac_objext
   14613    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14614    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   14615    # Insert the option either (1) after the last *FLAGS variable, or
   14616    # (2) before a word containing "conftest.", or (3) at the end.
   14617    # Note that $ac_compile itself does not contain backslashes and begins
   14618    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14619    # The option is referenced via a variable to avoid confusing sed.
   14620    lt_compile=`echo "$ac_compile" | $SED \
   14621    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14622    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14623    -e 's:$: $lt_compiler_flag:'`
   14624    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14625    (eval "$lt_compile" 2>conftest.err)
   14626    ac_status=$?
   14627    cat conftest.err >&5
   14628    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14629    if (exit $ac_status) && test -s "$ac_outfile"; then
   14630      # The compiler can only warn and ignore the option if not recognized
   14631      # So say no if there are warnings other than the usual output.
   14632      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   14633      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14634      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14635        lt_cv_prog_compiler_pic_works=yes
   14636      fi
   14637    fi
   14638    $RM conftest*
   14639 
   14640 fi
   14641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   14642 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   14643 
   14644 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   14645     case $lt_prog_compiler_pic in
   14646      "" | " "*) ;;
   14647      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   14648      esac
   14649 else
   14650     lt_prog_compiler_pic=
   14651      lt_prog_compiler_can_build_shared=no
   14652 fi
   14653 
   14654 fi
   14655 
   14656 
   14657 
   14658 
   14659 
   14660 
   14661 
   14662 
   14663 
   14664 
   14665 
   14666 #
   14667 # Check to make sure the static flag actually works.
   14668 #
   14669 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   14670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   14671 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   14672 if ${lt_cv_prog_compiler_static_works+:} false; then :
   14673   $as_echo_n "(cached) " >&6
   14674 else
   14675   lt_cv_prog_compiler_static_works=no
   14676    save_LDFLAGS="$LDFLAGS"
   14677    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   14678    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   14679    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   14680      # The linker can only warn and ignore the option if not recognized
   14681      # So say no if there are warnings
   14682      if test -s conftest.err; then
   14683        # Append any errors to the config.log.
   14684        cat conftest.err 1>&5
   14685        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   14686        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14687        if diff conftest.exp conftest.er2 >/dev/null; then
   14688          lt_cv_prog_compiler_static_works=yes
   14689        fi
   14690      else
   14691        lt_cv_prog_compiler_static_works=yes
   14692      fi
   14693    fi
   14694    $RM -r conftest*
   14695    LDFLAGS="$save_LDFLAGS"
   14696 
   14697 fi
   14698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   14699 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   14700 
   14701 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   14702     :
   14703 else
   14704     lt_prog_compiler_static=
   14705 fi
   14706 
   14707 
   14708 
   14709 
   14710 
   14711 
   14712 
   14713   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   14714 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   14715 if ${lt_cv_prog_compiler_c_o+:} false; then :
   14716   $as_echo_n "(cached) " >&6
   14717 else
   14718   lt_cv_prog_compiler_c_o=no
   14719    $RM -r conftest 2>/dev/null
   14720    mkdir conftest
   14721    cd conftest
   14722    mkdir out
   14723    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14724 
   14725    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14726    # Insert the option either (1) after the last *FLAGS variable, or
   14727    # (2) before a word containing "conftest.", or (3) at the end.
   14728    # Note that $ac_compile itself does not contain backslashes and begins
   14729    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14730    lt_compile=`echo "$ac_compile" | $SED \
   14731    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14732    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14733    -e 's:$: $lt_compiler_flag:'`
   14734    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14735    (eval "$lt_compile" 2>out/conftest.err)
   14736    ac_status=$?
   14737    cat out/conftest.err >&5
   14738    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14739    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14740    then
   14741      # The compiler can only warn and ignore the option if not recognized
   14742      # So say no if there are warnings
   14743      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   14744      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14745      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14746        lt_cv_prog_compiler_c_o=yes
   14747      fi
   14748    fi
   14749    chmod u+w . 2>&5
   14750    $RM conftest*
   14751    # SGI C++ compiler will create directory out/ii_files/ for
   14752    # template instantiation
   14753    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   14754    $RM out/* && rmdir out
   14755    cd ..
   14756    $RM -r conftest
   14757    $RM conftest*
   14758 
   14759 fi
   14760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   14761 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   14762 
   14763 
   14764 
   14765 
   14766 
   14767 
   14768   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   14769 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   14770 if ${lt_cv_prog_compiler_c_o+:} false; then :
   14771   $as_echo_n "(cached) " >&6
   14772 else
   14773   lt_cv_prog_compiler_c_o=no
   14774    $RM -r conftest 2>/dev/null
   14775    mkdir conftest
   14776    cd conftest
   14777    mkdir out
   14778    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14779 
   14780    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14781    # Insert the option either (1) after the last *FLAGS variable, or
   14782    # (2) before a word containing "conftest.", or (3) at the end.
   14783    # Note that $ac_compile itself does not contain backslashes and begins
   14784    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14785    lt_compile=`echo "$ac_compile" | $SED \
   14786    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14787    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14788    -e 's:$: $lt_compiler_flag:'`
   14789    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14790    (eval "$lt_compile" 2>out/conftest.err)
   14791    ac_status=$?
   14792    cat out/conftest.err >&5
   14793    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14794    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14795    then
   14796      # The compiler can only warn and ignore the option if not recognized
   14797      # So say no if there are warnings
   14798      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   14799      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14800      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14801        lt_cv_prog_compiler_c_o=yes
   14802      fi
   14803    fi
   14804    chmod u+w . 2>&5
   14805    $RM conftest*
   14806    # SGI C++ compiler will create directory out/ii_files/ for
   14807    # template instantiation
   14808    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   14809    $RM out/* && rmdir out
   14810    cd ..
   14811    $RM -r conftest
   14812    $RM conftest*
   14813 
   14814 fi
   14815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   14816 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   14817 
   14818 
   14819 
   14820 
   14821 hard_links="nottested"
   14822 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   14823   # do not overwrite the value of need_locks provided by the user
   14824   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   14825 $as_echo_n "checking if we can lock with hard links... " >&6; }
   14826   hard_links=yes
   14827   $RM conftest*
   14828   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14829   touch conftest.a
   14830   ln conftest.a conftest.b 2>&5 || hard_links=no
   14831   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14832   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   14833 $as_echo "$hard_links" >&6; }
   14834   if test "$hard_links" = no; then
   14835     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   14836 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   14837     need_locks=warn
   14838   fi
   14839 else
   14840   need_locks=no
   14841 fi
   14842 
   14843 
   14844 
   14845 
   14846 
   14847 
   14848   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   14849 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   14850 
   14851   runpath_var=
   14852   allow_undefined_flag=
   14853   always_export_symbols=no
   14854   archive_cmds=
   14855   archive_expsym_cmds=
   14856   compiler_needs_object=no
   14857   enable_shared_with_static_runtimes=no
   14858   export_dynamic_flag_spec=
   14859   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   14860   hardcode_automatic=no
   14861   hardcode_direct=no
   14862   hardcode_direct_absolute=no
   14863   hardcode_libdir_flag_spec=
   14864   hardcode_libdir_separator=
   14865   hardcode_minus_L=no
   14866   hardcode_shlibpath_var=unsupported
   14867   inherit_rpath=no
   14868   link_all_deplibs=unknown
   14869   module_cmds=
   14870   module_expsym_cmds=
   14871   old_archive_from_new_cmds=
   14872   old_archive_from_expsyms_cmds=
   14873   thread_safe_flag_spec=
   14874   whole_archive_flag_spec=
   14875   # include_expsyms should be a list of space-separated symbols to be *always*
   14876   # included in the symbol list
   14877   include_expsyms=
   14878   # exclude_expsyms can be an extended regexp of symbols to exclude
   14879   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   14880   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   14881   # as well as any symbol that contains `d'.
   14882   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   14883   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   14884   # platforms (ab)use it in PIC code, but their linkers get confused if
   14885   # the symbol is explicitly referenced.  Since portable code cannot
   14886   # rely on this symbol name, it's probably fine to never include it in
   14887   # preloaded symbol tables.
   14888   # Exclude shared library initialization/finalization symbols.
   14889   extract_expsyms_cmds=
   14890 
   14891   case $host_os in
   14892   cygwin* | mingw* | pw32* | cegcc*)
   14893     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   14894     # When not using gcc, we currently assume that we are using
   14895     # Microsoft Visual C++.
   14896     if test "$GCC" != yes; then
   14897       with_gnu_ld=no
   14898     fi
   14899     ;;
   14900   interix*)
   14901     # we just hope/assume this is gcc and not c89 (= MSVC++)
   14902     with_gnu_ld=yes
   14903     ;;
   14904   openbsd*)
   14905     with_gnu_ld=no
   14906     ;;
   14907   esac
   14908 
   14909   ld_shlibs=yes
   14910 
   14911   # On some targets, GNU ld is compatible enough with the native linker
   14912   # that we're better off using the native interface for both.
   14913   lt_use_gnu_ld_interface=no
   14914   if test "$with_gnu_ld" = yes; then
   14915     case $host_os in
   14916       aix*)
   14917 	# The AIX port of GNU ld has always aspired to compatibility
   14918 	# with the native linker.  However, as the warning in the GNU ld
   14919 	# block says, versions before 2.19.5* couldn't really create working
   14920 	# shared libraries, regardless of the interface used.
   14921 	case `$LD -v 2>&1` in
   14922 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   14923 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   14924 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   14925 	  *)
   14926 	    lt_use_gnu_ld_interface=yes
   14927 	    ;;
   14928 	esac
   14929 	;;
   14930       *)
   14931 	lt_use_gnu_ld_interface=yes
   14932 	;;
   14933     esac
   14934   fi
   14935 
   14936   if test "$lt_use_gnu_ld_interface" = yes; then
   14937     # If archive_cmds runs LD, not CC, wlarc should be empty
   14938     wlarc='${wl}'
   14939 
   14940     # Set some defaults for GNU ld with shared library support. These
   14941     # are reset later if shared libraries are not supported. Putting them
   14942     # here allows them to be overridden if necessary.
   14943     runpath_var=LD_RUN_PATH
   14944     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   14945     export_dynamic_flag_spec='${wl}--export-dynamic'
   14946     # ancient GNU ld didn't support --whole-archive et. al.
   14947     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   14948       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   14949     else
   14950       whole_archive_flag_spec=
   14951     fi
   14952     supports_anon_versioning=no
   14953     case `$LD -v 2>&1` in
   14954       *GNU\ gold*) supports_anon_versioning=yes ;;
   14955       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   14956       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   14957       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   14958       *\ 2.11.*) ;; # other 2.11 versions
   14959       *) supports_anon_versioning=yes ;;
   14960     esac
   14961 
   14962     # See if GNU ld supports shared libraries.
   14963     case $host_os in
   14964     aix[3-9]*)
   14965       # On AIX/PPC, the GNU linker is very broken
   14966       if test "$host_cpu" != ia64; then
   14967 	ld_shlibs=no
   14968 	cat <<_LT_EOF 1>&2
   14969 
   14970 *** Warning: the GNU linker, at least up to release 2.19, is reported
   14971 *** to be unable to reliably create shared libraries on AIX.
   14972 *** Therefore, libtool is disabling shared libraries support.  If you
   14973 *** really care for shared libraries, you may want to install binutils
   14974 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   14975 *** You will then need to restart the configuration process.
   14976 
   14977 _LT_EOF
   14978       fi
   14979       ;;
   14980 
   14981     amigaos*)
   14982       case $host_cpu in
   14983       powerpc)
   14984             # see comment about AmigaOS4 .so support
   14985             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14986             archive_expsym_cmds=''
   14987         ;;
   14988       m68k)
   14989             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)'
   14990             hardcode_libdir_flag_spec='-L$libdir'
   14991             hardcode_minus_L=yes
   14992         ;;
   14993       esac
   14994       ;;
   14995 
   14996     beos*)
   14997       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   14998 	allow_undefined_flag=unsupported
   14999 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   15000 	# support --undefined.  This deserves some investigation.  FIXME
   15001 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15002       else
   15003 	ld_shlibs=no
   15004       fi
   15005       ;;
   15006 
   15007     cygwin* | mingw* | pw32* | cegcc*)
   15008       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   15009       # as there is no search path for DLLs.
   15010       hardcode_libdir_flag_spec='-L$libdir'
   15011       export_dynamic_flag_spec='${wl}--export-all-symbols'
   15012       allow_undefined_flag=unsupported
   15013       always_export_symbols=no
   15014       enable_shared_with_static_runtimes=yes
   15015       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'
   15016       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   15017 
   15018       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   15019         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   15020 	# If the export-symbols file already is a .def file (1st line
   15021 	# is EXPORTS), use it as is; otherwise, prepend...
   15022 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   15023 	  cp $export_symbols $output_objdir/$soname.def;
   15024 	else
   15025 	  echo EXPORTS > $output_objdir/$soname.def;
   15026 	  cat $export_symbols >> $output_objdir/$soname.def;
   15027 	fi~
   15028 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   15029       else
   15030 	ld_shlibs=no
   15031       fi
   15032       ;;
   15033 
   15034     haiku*)
   15035       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15036       link_all_deplibs=yes
   15037       ;;
   15038 
   15039     interix[3-9]*)
   15040       hardcode_direct=no
   15041       hardcode_shlibpath_var=no
   15042       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   15043       export_dynamic_flag_spec='${wl}-E'
   15044       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   15045       # Instead, shared libraries are loaded at an image base (0x10000000 by
   15046       # default) and relocated if they conflict, which is a slow very memory
   15047       # consuming and fragmenting process.  To avoid this, we pick a random,
   15048       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   15049       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   15050       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   15051       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'
   15052       ;;
   15053 
   15054     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   15055       tmp_diet=no
   15056       if test "$host_os" = linux-dietlibc; then
   15057 	case $cc_basename in
   15058 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   15059 	esac
   15060       fi
   15061       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   15062 	 && test "$tmp_diet" = no
   15063       then
   15064 	tmp_addflag=' $pic_flag'
   15065 	tmp_sharedflag='-shared'
   15066 	case $cc_basename,$host_cpu in
   15067         pgcc*)				# Portland Group C compiler
   15068 	  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'
   15069 	  tmp_addflag=' $pic_flag'
   15070 	  ;;
   15071 	pgf77* | pgf90* | pgf95* | pgfortran*)
   15072 					# Portland Group f77 and f90 compilers
   15073 	  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'
   15074 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   15075 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   15076 	  tmp_addflag=' -i_dynamic' ;;
   15077 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   15078 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   15079 	ifc* | ifort*)			# Intel Fortran compiler
   15080 	  tmp_addflag=' -nofor_main' ;;
   15081 	lf95*)				# Lahey Fortran 8.1
   15082 	  whole_archive_flag_spec=
   15083 	  tmp_sharedflag='--shared' ;;
   15084 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   15085 	  tmp_sharedflag='-qmkshrobj'
   15086 	  tmp_addflag= ;;
   15087 	nvcc*)	# Cuda Compiler Driver 2.2
   15088 	  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'
   15089 	  compiler_needs_object=yes
   15090 	  ;;
   15091 	esac
   15092 	case `$CC -V 2>&1 | sed 5q` in
   15093 	*Sun\ C*)			# Sun C 5.9
   15094 	  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'
   15095 	  compiler_needs_object=yes
   15096 	  tmp_sharedflag='-G' ;;
   15097 	*Sun\ F*)			# Sun Fortran 8.3
   15098 	  tmp_sharedflag='-G' ;;
   15099 	esac
   15100 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15101 
   15102         if test "x$supports_anon_versioning" = xyes; then
   15103           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   15104 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   15105 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   15106 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   15107         fi
   15108 
   15109 	case $cc_basename in
   15110 	xlf* | bgf* | bgxlf* | mpixlf*)
   15111 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   15112 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   15113 	  hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   15114 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   15115 	  if test "x$supports_anon_versioning" = xyes; then
   15116 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   15117 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   15118 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   15119 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   15120 	  fi
   15121 	  ;;
   15122 	esac
   15123       else
   15124         ld_shlibs=no
   15125       fi
   15126       ;;
   15127 
   15128     netbsd*)
   15129       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   15130 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   15131 	wlarc=
   15132       else
   15133 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15134 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15135       fi
   15136       ;;
   15137 
   15138     solaris*)
   15139       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   15140 	ld_shlibs=no
   15141 	cat <<_LT_EOF 1>&2
   15142 
   15143 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   15144 *** create shared libraries on Solaris systems.  Therefore, libtool
   15145 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15146 *** binutils to release 2.9.1 or newer.  Another option is to modify
   15147 *** your PATH or compiler configuration so that the native linker is
   15148 *** used, and then restart.
   15149 
   15150 _LT_EOF
   15151       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15152 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15153 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15154       else
   15155 	ld_shlibs=no
   15156       fi
   15157       ;;
   15158 
   15159     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   15160       case `$LD -v 2>&1` in
   15161         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   15162 	ld_shlibs=no
   15163 	cat <<_LT_EOF 1>&2
   15164 
   15165 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   15166 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   15167 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15168 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   15169 *** your PATH or compiler configuration so that the native linker is
   15170 *** used, and then restart.
   15171 
   15172 _LT_EOF
   15173 	;;
   15174 	*)
   15175 	  # For security reasons, it is highly recommended that you always
   15176 	  # use absolute paths for naming shared libraries, and exclude the
   15177 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   15178 	  # requires that you compile everything twice, which is a pain.
   15179 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15180 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   15181 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15182 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15183 	  else
   15184 	    ld_shlibs=no
   15185 	  fi
   15186 	;;
   15187       esac
   15188       ;;
   15189 
   15190     sunos4*)
   15191       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15192       wlarc=
   15193       hardcode_direct=yes
   15194       hardcode_shlibpath_var=no
   15195       ;;
   15196 
   15197     *)
   15198       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15199 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15200 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15201       else
   15202 	ld_shlibs=no
   15203       fi
   15204       ;;
   15205     esac
   15206 
   15207     if test "$ld_shlibs" = no; then
   15208       runpath_var=
   15209       hardcode_libdir_flag_spec=
   15210       export_dynamic_flag_spec=
   15211       whole_archive_flag_spec=
   15212     fi
   15213   else
   15214     # PORTME fill in a description of your system's linker (not GNU ld)
   15215     case $host_os in
   15216     aix3*)
   15217       allow_undefined_flag=unsupported
   15218       always_export_symbols=yes
   15219       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'
   15220       # Note: this linker hardcodes the directories in LIBPATH if there
   15221       # are no directories specified by -L.
   15222       hardcode_minus_L=yes
   15223       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   15224 	# Neither direct hardcoding nor static linking is supported with a
   15225 	# broken collect2.
   15226 	hardcode_direct=unsupported
   15227       fi
   15228       ;;
   15229 
   15230     aix[4-9]*)
   15231       if test "$host_cpu" = ia64; then
   15232 	# On IA64, the linker does run time linking by default, so we don't
   15233 	# have to do anything special.
   15234 	aix_use_runtimelinking=no
   15235 	exp_sym_flag='-Bexport'
   15236 	no_entry_flag=""
   15237       else
   15238 	# If we're using GNU nm, then we don't want the "-C" option.
   15239 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   15240 	# Also, AIX nm treats weak defined symbols like other global
   15241 	# defined symbols, whereas GNU nm marks them as "W".
   15242 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   15243 	  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'
   15244 	else
   15245 	  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'
   15246 	fi
   15247 	aix_use_runtimelinking=no
   15248 
   15249 	# Test if we are trying to use run time linking or normal
   15250 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   15251 	# need to do runtime linking.
   15252 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   15253 	  for ld_flag in $LDFLAGS; do
   15254 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   15255 	    aix_use_runtimelinking=yes
   15256 	    break
   15257 	  fi
   15258 	  done
   15259 	  ;;
   15260 	esac
   15261 
   15262 	exp_sym_flag='-bexport'
   15263 	no_entry_flag='-bnoentry'
   15264       fi
   15265 
   15266       # When large executables or shared objects are built, AIX ld can
   15267       # have problems creating the table of contents.  If linking a library
   15268       # or program results in "error TOC overflow" add -mminimal-toc to
   15269       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   15270       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   15271 
   15272       archive_cmds=''
   15273       hardcode_direct=yes
   15274       hardcode_direct_absolute=yes
   15275       hardcode_libdir_separator=':'
   15276       link_all_deplibs=yes
   15277       file_list_spec='${wl}-f,'
   15278 
   15279       if test "$GCC" = yes; then
   15280 	case $host_os in aix4.[012]|aix4.[012].*)
   15281 	# We only want to do this on AIX 4.2 and lower, the check
   15282 	# below for broken collect2 doesn't work under 4.3+
   15283 	  collect2name=`${CC} -print-prog-name=collect2`
   15284 	  if test -f "$collect2name" &&
   15285 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   15286 	  then
   15287 	  # We have reworked collect2
   15288 	  :
   15289 	  else
   15290 	  # We have old collect2
   15291 	  hardcode_direct=unsupported
   15292 	  # It fails to find uninstalled libraries when the uninstalled
   15293 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   15294 	  # to unsupported forces relinking
   15295 	  hardcode_minus_L=yes
   15296 	  hardcode_libdir_flag_spec='-L$libdir'
   15297 	  hardcode_libdir_separator=
   15298 	  fi
   15299 	  ;;
   15300 	esac
   15301 	shared_flag='-shared'
   15302 	if test "$aix_use_runtimelinking" = yes; then
   15303 	  shared_flag="$shared_flag "'${wl}-G'
   15304 	fi
   15305       else
   15306 	# not using gcc
   15307 	if test "$host_cpu" = ia64; then
   15308 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   15309 	# chokes on -Wl,-G. The following line is correct:
   15310 	  shared_flag='-G'
   15311 	else
   15312 	  if test "$aix_use_runtimelinking" = yes; then
   15313 	    shared_flag='${wl}-G'
   15314 	  else
   15315 	    shared_flag='${wl}-bM:SRE'
   15316 	  fi
   15317 	fi
   15318       fi
   15319 
   15320       export_dynamic_flag_spec='${wl}-bexpall'
   15321       # It seems that -bexpall does not export symbols beginning with
   15322       # underscore (_), so it is better to generate a list of symbols to export.
   15323       always_export_symbols=yes
   15324       if test "$aix_use_runtimelinking" = yes; then
   15325 	# Warning - without using the other runtime loading flags (-brtl),
   15326 	# -berok will link without error, but may produce a broken library.
   15327 	allow_undefined_flag='-berok'
   15328         # Determine the default libpath from the value encoded in an
   15329         # empty executable.
   15330         if test "${lt_cv_aix_libpath+set}" = set; then
   15331   aix_libpath=$lt_cv_aix_libpath
   15332 else
   15333   if ${lt_cv_aix_libpath_+:} false; then :
   15334   $as_echo_n "(cached) " >&6
   15335 else
   15336   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15337 /* end confdefs.h.  */
   15338 
   15339 int
   15340 main ()
   15341 {
   15342 
   15343   ;
   15344   return 0;
   15345 }
   15346 _ACEOF
   15347 if ac_fn_c_try_link "$LINENO"; then :
   15348 
   15349   lt_aix_libpath_sed='
   15350       /Import File Strings/,/^$/ {
   15351 	  /^0/ {
   15352 	      s/^0  *\([^ ]*\) *$/\1/
   15353 	      p
   15354 	  }
   15355       }'
   15356   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15357   # Check for a 64-bit object if we didn't find anything.
   15358   if test -z "$lt_cv_aix_libpath_"; then
   15359     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15360   fi
   15361 fi
   15362 rm -f core conftest.err conftest.$ac_objext \
   15363     conftest$ac_exeext conftest.$ac_ext
   15364   if test -z "$lt_cv_aix_libpath_"; then
   15365     lt_cv_aix_libpath_="/usr/lib:/lib"
   15366   fi
   15367 
   15368 fi
   15369 
   15370   aix_libpath=$lt_cv_aix_libpath_
   15371 fi
   15372 
   15373         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   15374         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"
   15375       else
   15376 	if test "$host_cpu" = ia64; then
   15377 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   15378 	  allow_undefined_flag="-z nodefs"
   15379 	  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"
   15380 	else
   15381 	 # Determine the default libpath from the value encoded in an
   15382 	 # empty executable.
   15383 	 if test "${lt_cv_aix_libpath+set}" = set; then
   15384   aix_libpath=$lt_cv_aix_libpath
   15385 else
   15386   if ${lt_cv_aix_libpath_+:} false; then :
   15387   $as_echo_n "(cached) " >&6
   15388 else
   15389   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15390 /* end confdefs.h.  */
   15391 
   15392 int
   15393 main ()
   15394 {
   15395 
   15396   ;
   15397   return 0;
   15398 }
   15399 _ACEOF
   15400 if ac_fn_c_try_link "$LINENO"; then :
   15401 
   15402   lt_aix_libpath_sed='
   15403       /Import File Strings/,/^$/ {
   15404 	  /^0/ {
   15405 	      s/^0  *\([^ ]*\) *$/\1/
   15406 	      p
   15407 	  }
   15408       }'
   15409   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15410   # Check for a 64-bit object if we didn't find anything.
   15411   if test -z "$lt_cv_aix_libpath_"; then
   15412     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15413   fi
   15414 fi
   15415 rm -f core conftest.err conftest.$ac_objext \
   15416     conftest$ac_exeext conftest.$ac_ext
   15417   if test -z "$lt_cv_aix_libpath_"; then
   15418     lt_cv_aix_libpath_="/usr/lib:/lib"
   15419   fi
   15420 
   15421 fi
   15422 
   15423   aix_libpath=$lt_cv_aix_libpath_
   15424 fi
   15425 
   15426 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   15427 	  # Warning - without using the other run time loading flags,
   15428 	  # -berok will link without error, but may produce a broken library.
   15429 	  no_undefined_flag=' ${wl}-bernotok'
   15430 	  allow_undefined_flag=' ${wl}-berok'
   15431 	  if test "$with_gnu_ld" = yes; then
   15432 	    # We only use this code for GNU lds that support --whole-archive.
   15433 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   15434 	  else
   15435 	    # Exported symbols can be pulled into shared objects from archives
   15436 	    whole_archive_flag_spec='$convenience'
   15437 	  fi
   15438 	  archive_cmds_need_lc=yes
   15439 	  # This is similar to how AIX traditionally builds its shared libraries.
   15440 	  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'
   15441 	fi
   15442       fi
   15443       ;;
   15444 
   15445     amigaos*)
   15446       case $host_cpu in
   15447       powerpc)
   15448             # see comment about AmigaOS4 .so support
   15449             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15450             archive_expsym_cmds=''
   15451         ;;
   15452       m68k)
   15453             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)'
   15454             hardcode_libdir_flag_spec='-L$libdir'
   15455             hardcode_minus_L=yes
   15456         ;;
   15457       esac
   15458       ;;
   15459 
   15460     bsdi[45]*)
   15461       export_dynamic_flag_spec=-rdynamic
   15462       ;;
   15463 
   15464     cygwin* | mingw* | pw32* | cegcc*)
   15465       # When not using gcc, we currently assume that we are using
   15466       # Microsoft Visual C++.
   15467       # hardcode_libdir_flag_spec is actually meaningless, as there is
   15468       # no search path for DLLs.
   15469       case $cc_basename in
   15470       cl*)
   15471 	# Native MSVC
   15472 	hardcode_libdir_flag_spec=' '
   15473 	allow_undefined_flag=unsupported
   15474 	always_export_symbols=yes
   15475 	file_list_spec='@'
   15476 	# Tell ltmain to make .lib files, not .a files.
   15477 	libext=lib
   15478 	# Tell ltmain to make .dll files, not .so files.
   15479 	shrext_cmds=".dll"
   15480 	# FIXME: Setting linknames here is a bad hack.
   15481 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
   15482 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   15483 	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
   15484 	  else
   15485 	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
   15486 	  fi~
   15487 	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   15488 	  linknames='
   15489 	# The linker will not automatically build a static lib if we build a DLL.
   15490 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   15491 	enable_shared_with_static_runtimes=yes
   15492 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   15493 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   15494 	# Don't use ranlib
   15495 	old_postinstall_cmds='chmod 644 $oldlib'
   15496 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   15497 	  lt_tool_outputfile="@TOOL_OUTPUT@"~
   15498 	  case $lt_outputfile in
   15499 	    *.exe|*.EXE) ;;
   15500 	    *)
   15501 	      lt_outputfile="$lt_outputfile.exe"
   15502 	      lt_tool_outputfile="$lt_tool_outputfile.exe"
   15503 	      ;;
   15504 	  esac~
   15505 	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
   15506 	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   15507 	    $RM "$lt_outputfile.manifest";
   15508 	  fi'
   15509 	;;
   15510       *)
   15511 	# Assume MSVC wrapper
   15512 	hardcode_libdir_flag_spec=' '
   15513 	allow_undefined_flag=unsupported
   15514 	# Tell ltmain to make .lib files, not .a files.
   15515 	libext=lib
   15516 	# Tell ltmain to make .dll files, not .so files.
   15517 	shrext_cmds=".dll"
   15518 	# FIXME: Setting linknames here is a bad hack.
   15519 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   15520 	# The linker will automatically build a .lib file if we build a DLL.
   15521 	old_archive_from_new_cmds='true'
   15522 	# FIXME: Should let the user specify the lib program.
   15523 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   15524 	enable_shared_with_static_runtimes=yes
   15525 	;;
   15526       esac
   15527       ;;
   15528 
   15529     darwin* | rhapsody*)
   15530 
   15531 
   15532   archive_cmds_need_lc=no
   15533   hardcode_direct=no
   15534   hardcode_automatic=yes
   15535   hardcode_shlibpath_var=unsupported
   15536   if test "$lt_cv_ld_force_load" = "yes"; then
   15537     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\"`'
   15538 
   15539   else
   15540     whole_archive_flag_spec=''
   15541   fi
   15542   link_all_deplibs=yes
   15543   allow_undefined_flag="$_lt_dar_allow_undefined"
   15544   case $cc_basename in
   15545      ifort*) _lt_dar_can_shared=yes ;;
   15546      *) _lt_dar_can_shared=$GCC ;;
   15547   esac
   15548   if test "$_lt_dar_can_shared" = "yes"; then
   15549     output_verbose_link_cmd=func_echo_all
   15550     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   15551     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   15552     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}"
   15553     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}"
   15554 
   15555   else
   15556   ld_shlibs=no
   15557   fi
   15558 
   15559       ;;
   15560 
   15561     dgux*)
   15562       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15563       hardcode_libdir_flag_spec='-L$libdir'
   15564       hardcode_shlibpath_var=no
   15565       ;;
   15566 
   15567     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   15568     # support.  Future versions do this automatically, but an explicit c++rt0.o
   15569     # does not break anything, and helps significantly (at the cost of a little
   15570     # extra space).
   15571     freebsd2.2*)
   15572       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   15573       hardcode_libdir_flag_spec='-R$libdir'
   15574       hardcode_direct=yes
   15575       hardcode_shlibpath_var=no
   15576       ;;
   15577 
   15578     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   15579     freebsd2.*)
   15580       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15581       hardcode_direct=yes
   15582       hardcode_minus_L=yes
   15583       hardcode_shlibpath_var=no
   15584       ;;
   15585 
   15586     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   15587     freebsd* | dragonfly*)
   15588       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15589       hardcode_libdir_flag_spec='-R$libdir'
   15590       hardcode_direct=yes
   15591       hardcode_shlibpath_var=no
   15592       ;;
   15593 
   15594     hpux9*)
   15595       if test "$GCC" = yes; then
   15596 	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'
   15597       else
   15598 	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'
   15599       fi
   15600       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   15601       hardcode_libdir_separator=:
   15602       hardcode_direct=yes
   15603 
   15604       # hardcode_minus_L: Not really in the search PATH,
   15605       # but as the default location of the library.
   15606       hardcode_minus_L=yes
   15607       export_dynamic_flag_spec='${wl}-E'
   15608       ;;
   15609 
   15610     hpux10*)
   15611       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   15612 	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15613       else
   15614 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   15615       fi
   15616       if test "$with_gnu_ld" = no; then
   15617 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   15618 	hardcode_libdir_separator=:
   15619 	hardcode_direct=yes
   15620 	hardcode_direct_absolute=yes
   15621 	export_dynamic_flag_spec='${wl}-E'
   15622 	# hardcode_minus_L: Not really in the search PATH,
   15623 	# but as the default location of the library.
   15624 	hardcode_minus_L=yes
   15625       fi
   15626       ;;
   15627 
   15628     hpux11*)
   15629       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   15630 	case $host_cpu in
   15631 	hppa*64*)
   15632 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15633 	  ;;
   15634 	ia64*)
   15635 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15636 	  ;;
   15637 	*)
   15638 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15639 	  ;;
   15640 	esac
   15641       else
   15642 	case $host_cpu in
   15643 	hppa*64*)
   15644 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15645 	  ;;
   15646 	ia64*)
   15647 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15648 	  ;;
   15649 	*)
   15650 
   15651 	  # Older versions of the 11.00 compiler do not understand -b yet
   15652 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   15653 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   15654 $as_echo_n "checking if $CC understands -b... " >&6; }
   15655 if ${lt_cv_prog_compiler__b+:} false; then :
   15656   $as_echo_n "(cached) " >&6
   15657 else
   15658   lt_cv_prog_compiler__b=no
   15659    save_LDFLAGS="$LDFLAGS"
   15660    LDFLAGS="$LDFLAGS -b"
   15661    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   15662    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   15663      # The linker can only warn and ignore the option if not recognized
   15664      # So say no if there are warnings
   15665      if test -s conftest.err; then
   15666        # Append any errors to the config.log.
   15667        cat conftest.err 1>&5
   15668        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   15669        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   15670        if diff conftest.exp conftest.er2 >/dev/null; then
   15671          lt_cv_prog_compiler__b=yes
   15672        fi
   15673      else
   15674        lt_cv_prog_compiler__b=yes
   15675      fi
   15676    fi
   15677    $RM -r conftest*
   15678    LDFLAGS="$save_LDFLAGS"
   15679 
   15680 fi
   15681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   15682 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   15683 
   15684 if test x"$lt_cv_prog_compiler__b" = xyes; then
   15685     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15686 else
   15687     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   15688 fi
   15689 
   15690 	  ;;
   15691 	esac
   15692       fi
   15693       if test "$with_gnu_ld" = no; then
   15694 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   15695 	hardcode_libdir_separator=:
   15696 
   15697 	case $host_cpu in
   15698 	hppa*64*|ia64*)
   15699 	  hardcode_direct=no
   15700 	  hardcode_shlibpath_var=no
   15701 	  ;;
   15702 	*)
   15703 	  hardcode_direct=yes
   15704 	  hardcode_direct_absolute=yes
   15705 	  export_dynamic_flag_spec='${wl}-E'
   15706 
   15707 	  # hardcode_minus_L: Not really in the search PATH,
   15708 	  # but as the default location of the library.
   15709 	  hardcode_minus_L=yes
   15710 	  ;;
   15711 	esac
   15712       fi
   15713       ;;
   15714 
   15715     irix5* | irix6* | nonstopux*)
   15716       if test "$GCC" = yes; then
   15717 	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'
   15718 	# Try to use the -exported_symbol ld option, if it does not
   15719 	# work, assume that -exports_file does not work either and
   15720 	# implicitly export all symbols.
   15721 	# This should be the same for all languages, so no per-tag cache variable.
   15722 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   15723 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   15724 if ${lt_cv_irix_exported_symbol+:} false; then :
   15725   $as_echo_n "(cached) " >&6
   15726 else
   15727   save_LDFLAGS="$LDFLAGS"
   15728 	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   15729 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15730 /* end confdefs.h.  */
   15731 int foo (void) { return 0; }
   15732 _ACEOF
   15733 if ac_fn_c_try_link "$LINENO"; then :
   15734   lt_cv_irix_exported_symbol=yes
   15735 else
   15736   lt_cv_irix_exported_symbol=no
   15737 fi
   15738 rm -f core conftest.err conftest.$ac_objext \
   15739     conftest$ac_exeext conftest.$ac_ext
   15740            LDFLAGS="$save_LDFLAGS"
   15741 fi
   15742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   15743 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   15744 	if test "$lt_cv_irix_exported_symbol" = yes; then
   15745           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'
   15746 	fi
   15747       else
   15748 	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'
   15749 	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'
   15750       fi
   15751       archive_cmds_need_lc='no'
   15752       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   15753       hardcode_libdir_separator=:
   15754       inherit_rpath=yes
   15755       link_all_deplibs=yes
   15756       ;;
   15757 
   15758     netbsd*)
   15759       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   15760 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   15761       else
   15762 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   15763       fi
   15764       hardcode_libdir_flag_spec='-R$libdir'
   15765       hardcode_direct=yes
   15766       hardcode_shlibpath_var=no
   15767       ;;
   15768 
   15769     newsos6)
   15770       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15771       hardcode_direct=yes
   15772       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   15773       hardcode_libdir_separator=:
   15774       hardcode_shlibpath_var=no
   15775       ;;
   15776 
   15777     *nto* | *qnx*)
   15778       ;;
   15779 
   15780     openbsd*)
   15781       if test -f /usr/libexec/ld.so; then
   15782 	hardcode_direct=yes
   15783 	hardcode_shlibpath_var=no
   15784 	hardcode_direct_absolute=yes
   15785 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   15786 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15787 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   15788 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   15789 	  export_dynamic_flag_spec='${wl}-E'
   15790 	else
   15791 	  case $host_os in
   15792 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   15793 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15794 	     hardcode_libdir_flag_spec='-R$libdir'
   15795 	     ;;
   15796 	   *)
   15797 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15798 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   15799 	     ;;
   15800 	  esac
   15801 	fi
   15802       else
   15803 	ld_shlibs=no
   15804       fi
   15805       ;;
   15806 
   15807     os2*)
   15808       hardcode_libdir_flag_spec='-L$libdir'
   15809       hardcode_minus_L=yes
   15810       allow_undefined_flag=unsupported
   15811       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'
   15812       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   15813       ;;
   15814 
   15815     osf3*)
   15816       if test "$GCC" = yes; then
   15817 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   15818 	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'
   15819       else
   15820 	allow_undefined_flag=' -expect_unresolved \*'
   15821 	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'
   15822       fi
   15823       archive_cmds_need_lc='no'
   15824       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   15825       hardcode_libdir_separator=:
   15826       ;;
   15827 
   15828     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   15829       if test "$GCC" = yes; then
   15830 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   15831 	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'
   15832 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   15833       else
   15834 	allow_undefined_flag=' -expect_unresolved \*'
   15835 	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'
   15836 	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~
   15837 	$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'
   15838 
   15839 	# Both c and cxx compiler support -rpath directly
   15840 	hardcode_libdir_flag_spec='-rpath $libdir'
   15841       fi
   15842       archive_cmds_need_lc='no'
   15843       hardcode_libdir_separator=:
   15844       ;;
   15845 
   15846     solaris*)
   15847       no_undefined_flag=' -z defs'
   15848       if test "$GCC" = yes; then
   15849 	wlarc='${wl}'
   15850 	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15851 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   15852 	  $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'
   15853       else
   15854 	case `$CC -V 2>&1` in
   15855 	*"Compilers 5.0"*)
   15856 	  wlarc=''
   15857 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15858 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   15859 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   15860 	  ;;
   15861 	*)
   15862 	  wlarc='${wl}'
   15863 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   15864 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   15865 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   15866 	  ;;
   15867 	esac
   15868       fi
   15869       hardcode_libdir_flag_spec='-R$libdir'
   15870       hardcode_shlibpath_var=no
   15871       case $host_os in
   15872       solaris2.[0-5] | solaris2.[0-5].*) ;;
   15873       *)
   15874 	# The compiler driver will combine and reorder linker options,
   15875 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   15876 	# but is careful enough not to reorder.
   15877 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   15878 	if test "$GCC" = yes; then
   15879 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   15880 	else
   15881 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   15882 	fi
   15883 	;;
   15884       esac
   15885       link_all_deplibs=yes
   15886       ;;
   15887 
   15888     sunos4*)
   15889       if test "x$host_vendor" = xsequent; then
   15890 	# Use $CC to link under sequent, because it throws in some extra .o
   15891 	# files that make .init and .fini sections work.
   15892 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   15893       else
   15894 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   15895       fi
   15896       hardcode_libdir_flag_spec='-L$libdir'
   15897       hardcode_direct=yes
   15898       hardcode_minus_L=yes
   15899       hardcode_shlibpath_var=no
   15900       ;;
   15901 
   15902     sysv4)
   15903       case $host_vendor in
   15904 	sni)
   15905 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15906 	  hardcode_direct=yes # is this really true???
   15907 	;;
   15908 	siemens)
   15909 	  ## LD is ld it makes a PLAMLIB
   15910 	  ## CC just makes a GrossModule.
   15911 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   15912 	  reload_cmds='$CC -r -o $output$reload_objs'
   15913 	  hardcode_direct=no
   15914         ;;
   15915 	motorola)
   15916 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15917 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   15918 	;;
   15919       esac
   15920       runpath_var='LD_RUN_PATH'
   15921       hardcode_shlibpath_var=no
   15922       ;;
   15923 
   15924     sysv4.3*)
   15925       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15926       hardcode_shlibpath_var=no
   15927       export_dynamic_flag_spec='-Bexport'
   15928       ;;
   15929 
   15930     sysv4*MP*)
   15931       if test -d /usr/nec; then
   15932 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15933 	hardcode_shlibpath_var=no
   15934 	runpath_var=LD_RUN_PATH
   15935 	hardcode_runpath_var=yes
   15936 	ld_shlibs=yes
   15937       fi
   15938       ;;
   15939 
   15940     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   15941       no_undefined_flag='${wl}-z,text'
   15942       archive_cmds_need_lc=no
   15943       hardcode_shlibpath_var=no
   15944       runpath_var='LD_RUN_PATH'
   15945 
   15946       if test "$GCC" = yes; then
   15947 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15948 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15949       else
   15950 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15951 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15952       fi
   15953       ;;
   15954 
   15955     sysv5* | sco3.2v5* | sco5v6*)
   15956       # Note: We can NOT use -z defs as we might desire, because we do not
   15957       # link with -lc, and that would cause any symbols used from libc to
   15958       # always be unresolved, which means just about no library would
   15959       # ever link correctly.  If we're not using GNU ld we use -z text
   15960       # though, which does catch some bad symbols but isn't as heavy-handed
   15961       # as -z defs.
   15962       no_undefined_flag='${wl}-z,text'
   15963       allow_undefined_flag='${wl}-z,nodefs'
   15964       archive_cmds_need_lc=no
   15965       hardcode_shlibpath_var=no
   15966       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   15967       hardcode_libdir_separator=':'
   15968       link_all_deplibs=yes
   15969       export_dynamic_flag_spec='${wl}-Bexport'
   15970       runpath_var='LD_RUN_PATH'
   15971 
   15972       if test "$GCC" = yes; then
   15973 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15974 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15975       else
   15976 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15977 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15978       fi
   15979       ;;
   15980 
   15981     uts4*)
   15982       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15983       hardcode_libdir_flag_spec='-L$libdir'
   15984       hardcode_shlibpath_var=no
   15985       ;;
   15986 
   15987     *)
   15988       ld_shlibs=no
   15989       ;;
   15990     esac
   15991 
   15992     if test x$host_vendor = xsni; then
   15993       case $host in
   15994       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   15995 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   15996 	;;
   15997       esac
   15998     fi
   15999   fi
   16000 
   16001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   16002 $as_echo "$ld_shlibs" >&6; }
   16003 test "$ld_shlibs" = no && can_build_shared=no
   16004 
   16005 with_gnu_ld=$with_gnu_ld
   16006 
   16007 
   16008 
   16009 
   16010 
   16011 
   16012 
   16013 
   16014 
   16015 
   16016 
   16017 
   16018 
   16019 
   16020 
   16021 #
   16022 # Do we need to explicitly link libc?
   16023 #
   16024 case "x$archive_cmds_need_lc" in
   16025 x|xyes)
   16026   # Assume -lc should be added
   16027   archive_cmds_need_lc=yes
   16028 
   16029   if test "$enable_shared" = yes && test "$GCC" = yes; then
   16030     case $archive_cmds in
   16031     *'~'*)
   16032       # FIXME: we may have to deal with multi-command sequences.
   16033       ;;
   16034     '$CC '*)
   16035       # Test whether the compiler implicitly links with -lc since on some
   16036       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   16037       # to ld, don't add -lc before -lgcc.
   16038       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   16039 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   16040 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   16041   $as_echo_n "(cached) " >&6
   16042 else
   16043   $RM conftest*
   16044 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16045 
   16046 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   16047   (eval $ac_compile) 2>&5
   16048   ac_status=$?
   16049   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16050   test $ac_status = 0; } 2>conftest.err; then
   16051 	  soname=conftest
   16052 	  lib=conftest
   16053 	  libobjs=conftest.$ac_objext
   16054 	  deplibs=
   16055 	  wl=$lt_prog_compiler_wl
   16056 	  pic_flag=$lt_prog_compiler_pic
   16057 	  compiler_flags=-v
   16058 	  linker_flags=-v
   16059 	  verstring=
   16060 	  output_objdir=.
   16061 	  libname=conftest
   16062 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   16063 	  allow_undefined_flag=
   16064 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   16065   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   16066   ac_status=$?
   16067   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16068   test $ac_status = 0; }
   16069 	  then
   16070 	    lt_cv_archive_cmds_need_lc=no
   16071 	  else
   16072 	    lt_cv_archive_cmds_need_lc=yes
   16073 	  fi
   16074 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   16075 	else
   16076 	  cat conftest.err 1>&5
   16077 	fi
   16078 	$RM conftest*
   16079 
   16080 fi
   16081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   16082 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   16083       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   16084       ;;
   16085     esac
   16086   fi
   16087   ;;
   16088 esac
   16089 
   16090 
   16091 
   16092 
   16093 
   16094 
   16095 
   16096 
   16097 
   16098 
   16099 
   16100 
   16101 
   16102 
   16103 
   16104 
   16105 
   16106 
   16107 
   16108 
   16109 
   16110 
   16111 
   16112 
   16113 
   16114 
   16115 
   16116 
   16117 
   16118 
   16119 
   16120 
   16121 
   16122 
   16123 
   16124 
   16125 
   16126 
   16127 
   16128 
   16129 
   16130 
   16131 
   16132 
   16133 
   16134 
   16135 
   16136 
   16137 
   16138 
   16139 
   16140 
   16141 
   16142 
   16143 
   16144 
   16145 
   16146 
   16147 
   16148 
   16149 
   16150 
   16151 
   16152 
   16153 
   16154 
   16155 
   16156 
   16157 
   16158 
   16159 
   16160 
   16161 
   16162 
   16163 
   16164 
   16165 
   16166 
   16167 
   16168 
   16169 
   16170 
   16171 
   16172 
   16173 
   16174 
   16175 
   16176 
   16177 
   16178 
   16179 
   16180 
   16181 
   16182 
   16183 
   16184 
   16185 
   16186 
   16187 
   16188 
   16189 
   16190 
   16191 
   16192 
   16193 
   16194 
   16195 
   16196 
   16197 
   16198 
   16199 
   16200 
   16201 
   16202 
   16203 
   16204 
   16205 
   16206 
   16207 
   16208 
   16209 
   16210 
   16211 
   16212 
   16213 
   16214 
   16215 
   16216 
   16217 
   16218 
   16219 
   16220 
   16221 
   16222 
   16223 
   16224 
   16225 
   16226 
   16227 
   16228 
   16229 
   16230 
   16231 
   16232 
   16233 
   16234 
   16235 
   16236 
   16237 
   16238 
   16239 
   16240 
   16241   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   16242 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   16243 
   16244 if test "$GCC" = yes; then
   16245   case $host_os in
   16246     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   16247     *) lt_awk_arg="/^libraries:/" ;;
   16248   esac
   16249   case $host_os in
   16250     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   16251     *) lt_sed_strip_eq="s,=/,/,g" ;;
   16252   esac
   16253   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   16254   case $lt_search_path_spec in
   16255   *\;*)
   16256     # if the path contains ";" then we assume it to be the separator
   16257     # otherwise default to the standard path separator (i.e. ":") - it is
   16258     # assumed that no part of a normal pathname contains ";" but that should
   16259     # okay in the real world where ";" in dirpaths is itself problematic.
   16260     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   16261     ;;
   16262   *)
   16263     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   16264     ;;
   16265   esac
   16266   # Ok, now we have the path, separated by spaces, we can step through it
   16267   # and add multilib dir if necessary.
   16268   lt_tmp_lt_search_path_spec=
   16269   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   16270   for lt_sys_path in $lt_search_path_spec; do
   16271     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   16272       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   16273     else
   16274       test -d "$lt_sys_path" && \
   16275 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   16276     fi
   16277   done
   16278   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   16279 BEGIN {RS=" "; FS="/|\n";} {
   16280   lt_foo="";
   16281   lt_count=0;
   16282   for (lt_i = NF; lt_i > 0; lt_i--) {
   16283     if ($lt_i != "" && $lt_i != ".") {
   16284       if ($lt_i == "..") {
   16285         lt_count++;
   16286       } else {
   16287         if (lt_count == 0) {
   16288           lt_foo="/" $lt_i lt_foo;
   16289         } else {
   16290           lt_count--;
   16291         }
   16292       }
   16293     }
   16294   }
   16295   if (lt_foo != "") { lt_freq[lt_foo]++; }
   16296   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   16297 }'`
   16298   # AWK program above erroneously prepends '/' to C:/dos/paths
   16299   # for these hosts.
   16300   case $host_os in
   16301     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   16302       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   16303   esac
   16304   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   16305 else
   16306   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   16307 fi
   16308 library_names_spec=
   16309 libname_spec='lib$name'
   16310 soname_spec=
   16311 shrext_cmds=".so"
   16312 postinstall_cmds=
   16313 postuninstall_cmds=
   16314 finish_cmds=
   16315 finish_eval=
   16316 shlibpath_var=
   16317 shlibpath_overrides_runpath=unknown
   16318 version_type=none
   16319 dynamic_linker="$host_os ld.so"
   16320 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   16321 need_lib_prefix=unknown
   16322 hardcode_into_libs=no
   16323 
   16324 # when you set need_version to no, make sure it does not cause -set_version
   16325 # flags to be left without arguments
   16326 need_version=unknown
   16327 
   16328 case $host_os in
   16329 aix3*)
   16330   version_type=linux # correct to gnu/linux during the next big refactor
   16331   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   16332   shlibpath_var=LIBPATH
   16333 
   16334   # AIX 3 has no versioning support, so we append a major version to the name.
   16335   soname_spec='${libname}${release}${shared_ext}$major'
   16336   ;;
   16337 
   16338 aix[4-9]*)
   16339   version_type=linux # correct to gnu/linux during the next big refactor
   16340   need_lib_prefix=no
   16341   need_version=no
   16342   hardcode_into_libs=yes
   16343   if test "$host_cpu" = ia64; then
   16344     # AIX 5 supports IA64
   16345     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   16346     shlibpath_var=LD_LIBRARY_PATH
   16347   else
   16348     # With GCC up to 2.95.x, collect2 would create an import file
   16349     # for dependence libraries.  The import file would start with
   16350     # the line `#! .'.  This would cause the generated library to
   16351     # depend on `.', always an invalid library.  This was fixed in
   16352     # development snapshots of GCC prior to 3.0.
   16353     case $host_os in
   16354       aix4 | aix4.[01] | aix4.[01].*)
   16355       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   16356 	   echo ' yes '
   16357 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   16358 	:
   16359       else
   16360 	can_build_shared=no
   16361       fi
   16362       ;;
   16363     esac
   16364     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   16365     # soname into executable. Probably we can add versioning support to
   16366     # collect2, so additional links can be useful in future.
   16367     if test "$aix_use_runtimelinking" = yes; then
   16368       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   16369       # instead of lib<name>.a to let people know that these are not
   16370       # typical AIX shared libraries.
   16371       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16372     else
   16373       # We preserve .a as extension for shared libraries through AIX4.2
   16374       # and later when we are not doing run time linking.
   16375       library_names_spec='${libname}${release}.a $libname.a'
   16376       soname_spec='${libname}${release}${shared_ext}$major'
   16377     fi
   16378     shlibpath_var=LIBPATH
   16379   fi
   16380   ;;
   16381 
   16382 amigaos*)
   16383   case $host_cpu in
   16384   powerpc)
   16385     # Since July 2007 AmigaOS4 officially supports .so libraries.
   16386     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   16387     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16388     ;;
   16389   m68k)
   16390     library_names_spec='$libname.ixlibrary $libname.a'
   16391     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   16392     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'
   16393     ;;
   16394   esac
   16395   ;;
   16396 
   16397 beos*)
   16398   library_names_spec='${libname}${shared_ext}'
   16399   dynamic_linker="$host_os ld.so"
   16400   shlibpath_var=LIBRARY_PATH
   16401   ;;
   16402 
   16403 bsdi[45]*)
   16404   version_type=linux # correct to gnu/linux during the next big refactor
   16405   need_version=no
   16406   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16407   soname_spec='${libname}${release}${shared_ext}$major'
   16408   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   16409   shlibpath_var=LD_LIBRARY_PATH
   16410   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   16411   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   16412   # the default ld.so.conf also contains /usr/contrib/lib and
   16413   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   16414   # libtool to hard-code these into programs
   16415   ;;
   16416 
   16417 cygwin* | mingw* | pw32* | cegcc*)
   16418   version_type=windows
   16419   shrext_cmds=".dll"
   16420   need_version=no
   16421   need_lib_prefix=no
   16422 
   16423   case $GCC,$cc_basename in
   16424   yes,*)
   16425     # gcc
   16426     library_names_spec='$libname.dll.a'
   16427     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   16428     postinstall_cmds='base_file=`basename \${file}`~
   16429       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   16430       dldir=$destdir/`dirname \$dlpath`~
   16431       test -d \$dldir || mkdir -p \$dldir~
   16432       $install_prog $dir/$dlname \$dldir/$dlname~
   16433       chmod a+x \$dldir/$dlname~
   16434       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   16435         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   16436       fi'
   16437     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   16438       dlpath=$dir/\$dldll~
   16439        $RM \$dlpath'
   16440     shlibpath_overrides_runpath=yes
   16441 
   16442     case $host_os in
   16443     cygwin*)
   16444       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   16445       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   16446 
   16447       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   16448       ;;
   16449     mingw* | cegcc*)
   16450       # MinGW DLLs use traditional 'lib' prefix
   16451       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   16452       ;;
   16453     pw32*)
   16454       # pw32 DLLs use 'pw' prefix rather than 'lib'
   16455       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   16456       ;;
   16457     esac
   16458     dynamic_linker='Win32 ld.exe'
   16459     ;;
   16460 
   16461   *,cl*)
   16462     # Native MSVC
   16463     libname_spec='$name'
   16464     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   16465     library_names_spec='${libname}.dll.lib'
   16466 
   16467     case $build_os in
   16468     mingw*)
   16469       sys_lib_search_path_spec=
   16470       lt_save_ifs=$IFS
   16471       IFS=';'
   16472       for lt_path in $LIB
   16473       do
   16474         IFS=$lt_save_ifs
   16475         # Let DOS variable expansion print the short 8.3 style file name.
   16476         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   16477         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   16478       done
   16479       IFS=$lt_save_ifs
   16480       # Convert to MSYS style.
   16481       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   16482       ;;
   16483     cygwin*)
   16484       # Convert to unix form, then to dos form, then back to unix form
   16485       # but this time dos style (no spaces!) so that the unix form looks
   16486       # like /cygdrive/c/PROGRA~1:/cygdr...
   16487       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   16488       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   16489       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   16490       ;;
   16491     *)
   16492       sys_lib_search_path_spec="$LIB"
   16493       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   16494         # It is most probably a Windows format PATH.
   16495         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   16496       else
   16497         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   16498       fi
   16499       # FIXME: find the short name or the path components, as spaces are
   16500       # common. (e.g. "Program Files" -> "PROGRA~1")
   16501       ;;
   16502     esac
   16503 
   16504     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   16505     postinstall_cmds='base_file=`basename \${file}`~
   16506       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   16507       dldir=$destdir/`dirname \$dlpath`~
   16508       test -d \$dldir || mkdir -p \$dldir~
   16509       $install_prog $dir/$dlname \$dldir/$dlname'
   16510     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   16511       dlpath=$dir/\$dldll~
   16512        $RM \$dlpath'
   16513     shlibpath_overrides_runpath=yes
   16514     dynamic_linker='Win32 link.exe'
   16515     ;;
   16516 
   16517   *)
   16518     # Assume MSVC wrapper
   16519     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   16520     dynamic_linker='Win32 ld.exe'
   16521     ;;
   16522   esac
   16523   # FIXME: first we should search . and the directory the executable is in
   16524   shlibpath_var=PATH
   16525   ;;
   16526 
   16527 darwin* | rhapsody*)
   16528   dynamic_linker="$host_os dyld"
   16529   version_type=darwin
   16530   need_lib_prefix=no
   16531   need_version=no
   16532   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   16533   soname_spec='${libname}${release}${major}$shared_ext'
   16534   shlibpath_overrides_runpath=yes
   16535   shlibpath_var=DYLD_LIBRARY_PATH
   16536   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   16537 
   16538   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   16539   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   16540   ;;
   16541 
   16542 dgux*)
   16543   version_type=linux # correct to gnu/linux during the next big refactor
   16544   need_lib_prefix=no
   16545   need_version=no
   16546   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   16547   soname_spec='${libname}${release}${shared_ext}$major'
   16548   shlibpath_var=LD_LIBRARY_PATH
   16549   ;;
   16550 
   16551 freebsd* | dragonfly*)
   16552   # DragonFly does not have aout.  When/if they implement a new
   16553   # versioning mechanism, adjust this.
   16554   if test -x /usr/bin/objformat; then
   16555     objformat=`/usr/bin/objformat`
   16556   else
   16557     case $host_os in
   16558     freebsd[23].*) objformat=aout ;;
   16559     *) objformat=elf ;;
   16560     esac
   16561   fi
   16562   version_type=freebsd-$objformat
   16563   case $version_type in
   16564     freebsd-elf*)
   16565       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   16566       need_version=no
   16567       need_lib_prefix=no
   16568       ;;
   16569     freebsd-*)
   16570       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   16571       need_version=yes
   16572       ;;
   16573   esac
   16574   shlibpath_var=LD_LIBRARY_PATH
   16575   case $host_os in
   16576   freebsd2.*)
   16577     shlibpath_overrides_runpath=yes
   16578     ;;
   16579   freebsd3.[01]* | freebsdelf3.[01]*)
   16580     shlibpath_overrides_runpath=yes
   16581     hardcode_into_libs=yes
   16582     ;;
   16583   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   16584   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   16585     shlibpath_overrides_runpath=no
   16586     hardcode_into_libs=yes
   16587     ;;
   16588   *) # from 4.6 on, and DragonFly
   16589     shlibpath_overrides_runpath=yes
   16590     hardcode_into_libs=yes
   16591     ;;
   16592   esac
   16593   ;;
   16594 
   16595 gnu*)
   16596   version_type=linux # correct to gnu/linux during the next big refactor
   16597   need_lib_prefix=no
   16598   need_version=no
   16599   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   16600   soname_spec='${libname}${release}${shared_ext}$major'
   16601   shlibpath_var=LD_LIBRARY_PATH
   16602   shlibpath_overrides_runpath=no
   16603   hardcode_into_libs=yes
   16604   ;;
   16605 
   16606 haiku*)
   16607   version_type=linux # correct to gnu/linux during the next big refactor
   16608   need_lib_prefix=no
   16609   need_version=no
   16610   dynamic_linker="$host_os runtime_loader"
   16611   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   16612   soname_spec='${libname}${release}${shared_ext}$major'
   16613   shlibpath_var=LIBRARY_PATH
   16614   shlibpath_overrides_runpath=yes
   16615   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   16616   hardcode_into_libs=yes
   16617   ;;
   16618 
   16619 hpux9* | hpux10* | hpux11*)
   16620   # Give a soname corresponding to the major version so that dld.sl refuses to
   16621   # link against other versions.
   16622   version_type=sunos
   16623   need_lib_prefix=no
   16624   need_version=no
   16625   case $host_cpu in
   16626   ia64*)
   16627     shrext_cmds='.so'
   16628     hardcode_into_libs=yes
   16629     dynamic_linker="$host_os dld.so"
   16630     shlibpath_var=LD_LIBRARY_PATH
   16631     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   16632     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16633     soname_spec='${libname}${release}${shared_ext}$major'
   16634     if test "X$HPUX_IA64_MODE" = X32; then
   16635       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   16636     else
   16637       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   16638     fi
   16639     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16640     ;;
   16641   hppa*64*)
   16642     shrext_cmds='.sl'
   16643     hardcode_into_libs=yes
   16644     dynamic_linker="$host_os dld.sl"
   16645     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   16646     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   16647     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16648     soname_spec='${libname}${release}${shared_ext}$major'
   16649     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   16650     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16651     ;;
   16652   *)
   16653     shrext_cmds='.sl'
   16654     dynamic_linker="$host_os dld.sl"
   16655     shlibpath_var=SHLIB_PATH
   16656     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   16657     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16658     soname_spec='${libname}${release}${shared_ext}$major'
   16659     ;;
   16660   esac
   16661   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   16662   postinstall_cmds='chmod 555 $lib'
   16663   # or fails outright, so override atomically:
   16664   install_override_mode=555
   16665   ;;
   16666 
   16667 interix[3-9]*)
   16668   version_type=linux # correct to gnu/linux during the next big refactor
   16669   need_lib_prefix=no
   16670   need_version=no
   16671   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16672   soname_spec='${libname}${release}${shared_ext}$major'
   16673   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   16674   shlibpath_var=LD_LIBRARY_PATH
   16675   shlibpath_overrides_runpath=no
   16676   hardcode_into_libs=yes
   16677   ;;
   16678 
   16679 irix5* | irix6* | nonstopux*)
   16680   case $host_os in
   16681     nonstopux*) version_type=nonstopux ;;
   16682     *)
   16683 	if test "$lt_cv_prog_gnu_ld" = yes; then
   16684 		version_type=linux # correct to gnu/linux during the next big refactor
   16685 	else
   16686 		version_type=irix
   16687 	fi ;;
   16688   esac
   16689   need_lib_prefix=no
   16690   need_version=no
   16691   soname_spec='${libname}${release}${shared_ext}$major'
   16692   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   16693   case $host_os in
   16694   irix5* | nonstopux*)
   16695     libsuff= shlibsuff=
   16696     ;;
   16697   *)
   16698     case $LD in # libtool.m4 will add one of these switches to LD
   16699     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   16700       libsuff= shlibsuff= libmagic=32-bit;;
   16701     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   16702       libsuff=32 shlibsuff=N32 libmagic=N32;;
   16703     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   16704       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   16705     *) libsuff= shlibsuff= libmagic=never-match;;
   16706     esac
   16707     ;;
   16708   esac
   16709   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   16710   shlibpath_overrides_runpath=no
   16711   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   16712   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   16713   hardcode_into_libs=yes
   16714   ;;
   16715 
   16716 # No shared lib support for Linux oldld, aout, or coff.
   16717 linux*oldld* | linux*aout* | linux*coff*)
   16718   dynamic_linker=no
   16719   ;;
   16720 
   16721 # This must be glibc/ELF.
   16722 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   16723   version_type=linux # correct to gnu/linux during the next big refactor
   16724   need_lib_prefix=no
   16725   need_version=no
   16726   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16727   soname_spec='${libname}${release}${shared_ext}$major'
   16728   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   16729   shlibpath_var=LD_LIBRARY_PATH
   16730   shlibpath_overrides_runpath=no
   16731 
   16732   # Some binutils ld are patched to set DT_RUNPATH
   16733   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   16734   $as_echo_n "(cached) " >&6
   16735 else
   16736   lt_cv_shlibpath_overrides_runpath=no
   16737     save_LDFLAGS=$LDFLAGS
   16738     save_libdir=$libdir
   16739     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   16740 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   16741     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16742 /* end confdefs.h.  */
   16743 
   16744 int
   16745 main ()
   16746 {
   16747 
   16748   ;
   16749   return 0;
   16750 }
   16751 _ACEOF
   16752 if ac_fn_c_try_link "$LINENO"; then :
   16753   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   16754   lt_cv_shlibpath_overrides_runpath=yes
   16755 fi
   16756 fi
   16757 rm -f core conftest.err conftest.$ac_objext \
   16758     conftest$ac_exeext conftest.$ac_ext
   16759     LDFLAGS=$save_LDFLAGS
   16760     libdir=$save_libdir
   16761 
   16762 fi
   16763 
   16764   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   16765 
   16766   # This implies no fast_install, which is unacceptable.
   16767   # Some rework will be needed to allow for fast_install
   16768   # before this can be enabled.
   16769   hardcode_into_libs=yes
   16770 
   16771   # Add ABI-specific directories to the system library path.
   16772   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
   16773 
   16774   # Append ld.so.conf contents to the search path
   16775   if test -f /etc/ld.so.conf; then
   16776     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' ' '`
   16777     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   16778 
   16779   fi
   16780 
   16781   # We used to test for /lib/ld.so.1 and disable shared libraries on
   16782   # powerpc, because MkLinux only supported shared libraries with the
   16783   # GNU dynamic linker.  Since this was broken with cross compilers,
   16784   # most powerpc-linux boxes support dynamic linking these days and
   16785   # people can always --disable-shared, the test was removed, and we
   16786   # assume the GNU/Linux dynamic linker is in use.
   16787   dynamic_linker='GNU/Linux ld.so'
   16788   ;;
   16789 
   16790 netbsd*)
   16791   version_type=sunos
   16792   need_lib_prefix=no
   16793   need_version=no
   16794   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   16795     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16796     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16797     dynamic_linker='NetBSD (a.out) ld.so'
   16798   else
   16799     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16800     soname_spec='${libname}${release}${shared_ext}$major'
   16801     dynamic_linker='NetBSD ld.elf_so'
   16802   fi
   16803   shlibpath_var=LD_LIBRARY_PATH
   16804   shlibpath_overrides_runpath=yes
   16805   hardcode_into_libs=yes
   16806   ;;
   16807 
   16808 newsos6)
   16809   version_type=linux # correct to gnu/linux during the next big refactor
   16810   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16811   shlibpath_var=LD_LIBRARY_PATH
   16812   shlibpath_overrides_runpath=yes
   16813   ;;
   16814 
   16815 *nto* | *qnx*)
   16816   version_type=qnx
   16817   need_lib_prefix=no
   16818   need_version=no
   16819   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16820   soname_spec='${libname}${release}${shared_ext}$major'
   16821   shlibpath_var=LD_LIBRARY_PATH
   16822   shlibpath_overrides_runpath=no
   16823   hardcode_into_libs=yes
   16824   dynamic_linker='ldqnx.so'
   16825   ;;
   16826 
   16827 openbsd*)
   16828   version_type=sunos
   16829   sys_lib_dlsearch_path_spec="/usr/lib"
   16830   need_lib_prefix=no
   16831   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   16832   case $host_os in
   16833     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   16834     *)				need_version=no  ;;
   16835   esac
   16836   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16837   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16838   shlibpath_var=LD_LIBRARY_PATH
   16839   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   16840     case $host_os in
   16841       openbsd2.[89] | openbsd2.[89].*)
   16842 	shlibpath_overrides_runpath=no
   16843 	;;
   16844       *)
   16845 	shlibpath_overrides_runpath=yes
   16846 	;;
   16847       esac
   16848   else
   16849     shlibpath_overrides_runpath=yes
   16850   fi
   16851   ;;
   16852 
   16853 os2*)
   16854   libname_spec='$name'
   16855   shrext_cmds=".dll"
   16856   need_lib_prefix=no
   16857   library_names_spec='$libname${shared_ext} $libname.a'
   16858   dynamic_linker='OS/2 ld.exe'
   16859   shlibpath_var=LIBPATH
   16860   ;;
   16861 
   16862 osf3* | osf4* | osf5*)
   16863   version_type=osf
   16864   need_lib_prefix=no
   16865   need_version=no
   16866   soname_spec='${libname}${release}${shared_ext}$major'
   16867   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16868   shlibpath_var=LD_LIBRARY_PATH
   16869   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   16870   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   16871   ;;
   16872 
   16873 rdos*)
   16874   dynamic_linker=no
   16875   ;;
   16876 
   16877 solaris*)
   16878   version_type=linux # correct to gnu/linux during the next big refactor
   16879   need_lib_prefix=no
   16880   need_version=no
   16881   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16882   soname_spec='${libname}${release}${shared_ext}$major'
   16883   shlibpath_var=LD_LIBRARY_PATH
   16884   shlibpath_overrides_runpath=yes
   16885   hardcode_into_libs=yes
   16886   # ldd complains unless libraries are executable
   16887   postinstall_cmds='chmod +x $lib'
   16888   ;;
   16889 
   16890 sunos4*)
   16891   version_type=sunos
   16892   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16893   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   16894   shlibpath_var=LD_LIBRARY_PATH
   16895   shlibpath_overrides_runpath=yes
   16896   if test "$with_gnu_ld" = yes; then
   16897     need_lib_prefix=no
   16898   fi
   16899   need_version=yes
   16900   ;;
   16901 
   16902 sysv4 | sysv4.3*)
   16903   version_type=linux # correct to gnu/linux during the next big refactor
   16904   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16905   soname_spec='${libname}${release}${shared_ext}$major'
   16906   shlibpath_var=LD_LIBRARY_PATH
   16907   case $host_vendor in
   16908     sni)
   16909       shlibpath_overrides_runpath=no
   16910       need_lib_prefix=no
   16911       runpath_var=LD_RUN_PATH
   16912       ;;
   16913     siemens)
   16914       need_lib_prefix=no
   16915       ;;
   16916     motorola)
   16917       need_lib_prefix=no
   16918       need_version=no
   16919       shlibpath_overrides_runpath=no
   16920       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   16921       ;;
   16922   esac
   16923   ;;
   16924 
   16925 sysv4*MP*)
   16926   if test -d /usr/nec ;then
   16927     version_type=linux # correct to gnu/linux during the next big refactor
   16928     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   16929     soname_spec='$libname${shared_ext}.$major'
   16930     shlibpath_var=LD_LIBRARY_PATH
   16931   fi
   16932   ;;
   16933 
   16934 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   16935   version_type=freebsd-elf
   16936   need_lib_prefix=no
   16937   need_version=no
   16938   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   16939   soname_spec='${libname}${release}${shared_ext}$major'
   16940   shlibpath_var=LD_LIBRARY_PATH
   16941   shlibpath_overrides_runpath=yes
   16942   hardcode_into_libs=yes
   16943   if test "$with_gnu_ld" = yes; then
   16944     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   16945   else
   16946     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   16947     case $host_os in
   16948       sco3.2v5*)
   16949         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   16950 	;;
   16951     esac
   16952   fi
   16953   sys_lib_dlsearch_path_spec='/usr/lib'
   16954   ;;
   16955 
   16956 tpf*)
   16957   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   16958   version_type=linux # correct to gnu/linux during the next big refactor
   16959   need_lib_prefix=no
   16960   need_version=no
   16961   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16962   shlibpath_var=LD_LIBRARY_PATH
   16963   shlibpath_overrides_runpath=no
   16964   hardcode_into_libs=yes
   16965   ;;
   16966 
   16967 uts4*)
   16968   version_type=linux # correct to gnu/linux during the next big refactor
   16969   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16970   soname_spec='${libname}${release}${shared_ext}$major'
   16971   shlibpath_var=LD_LIBRARY_PATH
   16972   ;;
   16973 
   16974 *)
   16975   dynamic_linker=no
   16976   ;;
   16977 esac
   16978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   16979 $as_echo "$dynamic_linker" >&6; }
   16980 test "$dynamic_linker" = no && can_build_shared=no
   16981 
   16982 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   16983 if test "$GCC" = yes; then
   16984   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   16985 fi
   16986 
   16987 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   16988   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   16989 fi
   16990 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   16991   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   16992 fi
   16993 
   16994 
   16995 
   16996 
   16997 
   16998 
   16999 
   17000 
   17001 
   17002 
   17003 
   17004 
   17005 
   17006 
   17007 
   17008 
   17009 
   17010 
   17011 
   17012 
   17013 
   17014 
   17015 
   17016 
   17017 
   17018 
   17019 
   17020 
   17021 
   17022 
   17023 
   17024 
   17025 
   17026 
   17027 
   17028 
   17029 
   17030 
   17031 
   17032 
   17033 
   17034 
   17035 
   17036 
   17037 
   17038 
   17039 
   17040 
   17041 
   17042 
   17043 
   17044 
   17045 
   17046 
   17047 
   17048 
   17049 
   17050 
   17051 
   17052 
   17053 
   17054 
   17055 
   17056 
   17057 
   17058 
   17059 
   17060 
   17061 
   17062 
   17063 
   17064 
   17065 
   17066 
   17067 
   17068 
   17069 
   17070 
   17071 
   17072 
   17073 
   17074 
   17075 
   17076 
   17077 
   17078 
   17079 
   17080 
   17081 
   17082 
   17083 
   17084 
   17085   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   17086 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   17087 hardcode_action=
   17088 if test -n "$hardcode_libdir_flag_spec" ||
   17089    test -n "$runpath_var" ||
   17090    test "X$hardcode_automatic" = "Xyes" ; then
   17091 
   17092   # We can hardcode non-existent directories.
   17093   if test "$hardcode_direct" != no &&
   17094      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   17095      # have to relink, otherwise we might link with an installed library
   17096      # when we should be linking with a yet-to-be-installed one
   17097      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   17098      test "$hardcode_minus_L" != no; then
   17099     # Linking always hardcodes the temporary library directory.
   17100     hardcode_action=relink
   17101   else
   17102     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   17103     hardcode_action=immediate
   17104   fi
   17105 else
   17106   # We cannot hardcode anything, or else we can only hardcode existing
   17107   # directories.
   17108   hardcode_action=unsupported
   17109 fi
   17110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   17111 $as_echo "$hardcode_action" >&6; }
   17112 
   17113 if test "$hardcode_action" = relink ||
   17114    test "$inherit_rpath" = yes; then
   17115   # Fast installation is not supported
   17116   enable_fast_install=no
   17117 elif test "$shlibpath_overrides_runpath" = yes ||
   17118      test "$enable_shared" = no; then
   17119   # Fast installation is not necessary
   17120   enable_fast_install=needless
   17121 fi
   17122 
   17123 
   17124 
   17125 
   17126 
   17127 
   17128   if test "x$enable_dlopen" != xyes; then
   17129   enable_dlopen=unknown
   17130   enable_dlopen_self=unknown
   17131   enable_dlopen_self_static=unknown
   17132 else
   17133   lt_cv_dlopen=no
   17134   lt_cv_dlopen_libs=
   17135 
   17136   case $host_os in
   17137   beos*)
   17138     lt_cv_dlopen="load_add_on"
   17139     lt_cv_dlopen_libs=
   17140     lt_cv_dlopen_self=yes
   17141     ;;
   17142 
   17143   mingw* | pw32* | cegcc*)
   17144     lt_cv_dlopen="LoadLibrary"
   17145     lt_cv_dlopen_libs=
   17146     ;;
   17147 
   17148   cygwin*)
   17149     lt_cv_dlopen="dlopen"
   17150     lt_cv_dlopen_libs=
   17151     ;;
   17152 
   17153   darwin*)
   17154   # if libdl is installed we need to link against it
   17155     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   17156 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   17157 if ${ac_cv_lib_dl_dlopen+:} false; then :
   17158   $as_echo_n "(cached) " >&6
   17159 else
   17160   ac_check_lib_save_LIBS=$LIBS
   17161 LIBS="-ldl  $LIBS"
   17162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17163 /* end confdefs.h.  */
   17164 
   17165 /* Override any GCC internal prototype to avoid an error.
   17166    Use char because int might match the return type of a GCC
   17167    builtin and then its argument prototype would still apply.  */
   17168 #ifdef __cplusplus
   17169 extern "C"
   17170 #endif
   17171 char dlopen ();
   17172 int
   17173 main ()
   17174 {
   17175 return dlopen ();
   17176   ;
   17177   return 0;
   17178 }
   17179 _ACEOF
   17180 if ac_fn_c_try_link "$LINENO"; then :
   17181   ac_cv_lib_dl_dlopen=yes
   17182 else
   17183   ac_cv_lib_dl_dlopen=no
   17184 fi
   17185 rm -f core conftest.err conftest.$ac_objext \
   17186     conftest$ac_exeext conftest.$ac_ext
   17187 LIBS=$ac_check_lib_save_LIBS
   17188 fi
   17189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   17190 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   17191 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   17192   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   17193 else
   17194 
   17195     lt_cv_dlopen="dyld"
   17196     lt_cv_dlopen_libs=
   17197     lt_cv_dlopen_self=yes
   17198 
   17199 fi
   17200 
   17201     ;;
   17202 
   17203   *)
   17204     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   17205 if test "x$ac_cv_func_shl_load" = xyes; then :
   17206   lt_cv_dlopen="shl_load"
   17207 else
   17208   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   17209 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   17210 if ${ac_cv_lib_dld_shl_load+:} false; then :
   17211   $as_echo_n "(cached) " >&6
   17212 else
   17213   ac_check_lib_save_LIBS=$LIBS
   17214 LIBS="-ldld  $LIBS"
   17215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17216 /* end confdefs.h.  */
   17217 
   17218 /* Override any GCC internal prototype to avoid an error.
   17219    Use char because int might match the return type of a GCC
   17220    builtin and then its argument prototype would still apply.  */
   17221 #ifdef __cplusplus
   17222 extern "C"
   17223 #endif
   17224 char shl_load ();
   17225 int
   17226 main ()
   17227 {
   17228 return shl_load ();
   17229   ;
   17230   return 0;
   17231 }
   17232 _ACEOF
   17233 if ac_fn_c_try_link "$LINENO"; then :
   17234   ac_cv_lib_dld_shl_load=yes
   17235 else
   17236   ac_cv_lib_dld_shl_load=no
   17237 fi
   17238 rm -f core conftest.err conftest.$ac_objext \
   17239     conftest$ac_exeext conftest.$ac_ext
   17240 LIBS=$ac_check_lib_save_LIBS
   17241 fi
   17242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   17243 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   17244 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   17245   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   17246 else
   17247   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   17248 if test "x$ac_cv_func_dlopen" = xyes; then :
   17249   lt_cv_dlopen="dlopen"
   17250 else
   17251   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   17252 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   17253 if ${ac_cv_lib_dl_dlopen+:} false; then :
   17254   $as_echo_n "(cached) " >&6
   17255 else
   17256   ac_check_lib_save_LIBS=$LIBS
   17257 LIBS="-ldl  $LIBS"
   17258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17259 /* end confdefs.h.  */
   17260 
   17261 /* Override any GCC internal prototype to avoid an error.
   17262    Use char because int might match the return type of a GCC
   17263    builtin and then its argument prototype would still apply.  */
   17264 #ifdef __cplusplus
   17265 extern "C"
   17266 #endif
   17267 char dlopen ();
   17268 int
   17269 main ()
   17270 {
   17271 return dlopen ();
   17272   ;
   17273   return 0;
   17274 }
   17275 _ACEOF
   17276 if ac_fn_c_try_link "$LINENO"; then :
   17277   ac_cv_lib_dl_dlopen=yes
   17278 else
   17279   ac_cv_lib_dl_dlopen=no
   17280 fi
   17281 rm -f core conftest.err conftest.$ac_objext \
   17282     conftest$ac_exeext conftest.$ac_ext
   17283 LIBS=$ac_check_lib_save_LIBS
   17284 fi
   17285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   17286 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   17287 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   17288   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   17289 else
   17290   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   17291 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   17292 if ${ac_cv_lib_svld_dlopen+:} false; then :
   17293   $as_echo_n "(cached) " >&6
   17294 else
   17295   ac_check_lib_save_LIBS=$LIBS
   17296 LIBS="-lsvld  $LIBS"
   17297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17298 /* end confdefs.h.  */
   17299 
   17300 /* Override any GCC internal prototype to avoid an error.
   17301    Use char because int might match the return type of a GCC
   17302    builtin and then its argument prototype would still apply.  */
   17303 #ifdef __cplusplus
   17304 extern "C"
   17305 #endif
   17306 char dlopen ();
   17307 int
   17308 main ()
   17309 {
   17310 return dlopen ();
   17311   ;
   17312   return 0;
   17313 }
   17314 _ACEOF
   17315 if ac_fn_c_try_link "$LINENO"; then :
   17316   ac_cv_lib_svld_dlopen=yes
   17317 else
   17318   ac_cv_lib_svld_dlopen=no
   17319 fi
   17320 rm -f core conftest.err conftest.$ac_objext \
   17321     conftest$ac_exeext conftest.$ac_ext
   17322 LIBS=$ac_check_lib_save_LIBS
   17323 fi
   17324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   17325 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   17326 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   17327   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   17328 else
   17329   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   17330 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   17331 if ${ac_cv_lib_dld_dld_link+:} false; then :
   17332   $as_echo_n "(cached) " >&6
   17333 else
   17334   ac_check_lib_save_LIBS=$LIBS
   17335 LIBS="-ldld  $LIBS"
   17336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17337 /* end confdefs.h.  */
   17338 
   17339 /* Override any GCC internal prototype to avoid an error.
   17340    Use char because int might match the return type of a GCC
   17341    builtin and then its argument prototype would still apply.  */
   17342 #ifdef __cplusplus
   17343 extern "C"
   17344 #endif
   17345 char dld_link ();
   17346 int
   17347 main ()
   17348 {
   17349 return dld_link ();
   17350   ;
   17351   return 0;
   17352 }
   17353 _ACEOF
   17354 if ac_fn_c_try_link "$LINENO"; then :
   17355   ac_cv_lib_dld_dld_link=yes
   17356 else
   17357   ac_cv_lib_dld_dld_link=no
   17358 fi
   17359 rm -f core conftest.err conftest.$ac_objext \
   17360     conftest$ac_exeext conftest.$ac_ext
   17361 LIBS=$ac_check_lib_save_LIBS
   17362 fi
   17363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   17364 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   17365 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   17366   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   17367 fi
   17368 
   17369 
   17370 fi
   17371 
   17372 
   17373 fi
   17374 
   17375 
   17376 fi
   17377 
   17378 
   17379 fi
   17380 
   17381 
   17382 fi
   17383 
   17384     ;;
   17385   esac
   17386 
   17387   if test "x$lt_cv_dlopen" != xno; then
   17388     enable_dlopen=yes
   17389   else
   17390     enable_dlopen=no
   17391   fi
   17392 
   17393   case $lt_cv_dlopen in
   17394   dlopen)
   17395     save_CPPFLAGS="$CPPFLAGS"
   17396     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   17397 
   17398     save_LDFLAGS="$LDFLAGS"
   17399     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   17400 
   17401     save_LIBS="$LIBS"
   17402     LIBS="$lt_cv_dlopen_libs $LIBS"
   17403 
   17404     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   17405 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   17406 if ${lt_cv_dlopen_self+:} false; then :
   17407   $as_echo_n "(cached) " >&6
   17408 else
   17409   	  if test "$cross_compiling" = yes; then :
   17410   lt_cv_dlopen_self=cross
   17411 else
   17412   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   17413   lt_status=$lt_dlunknown
   17414   cat > conftest.$ac_ext <<_LT_EOF
   17415 #line $LINENO "configure"
   17416 #include "confdefs.h"
   17417 
   17418 #if HAVE_DLFCN_H
   17419 #include <dlfcn.h>
   17420 #endif
   17421 
   17422 #include <stdio.h>
   17423 
   17424 #ifdef RTLD_GLOBAL
   17425 #  define LT_DLGLOBAL		RTLD_GLOBAL
   17426 #else
   17427 #  ifdef DL_GLOBAL
   17428 #    define LT_DLGLOBAL		DL_GLOBAL
   17429 #  else
   17430 #    define LT_DLGLOBAL		0
   17431 #  endif
   17432 #endif
   17433 
   17434 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   17435    find out it does not work in some platform. */
   17436 #ifndef LT_DLLAZY_OR_NOW
   17437 #  ifdef RTLD_LAZY
   17438 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   17439 #  else
   17440 #    ifdef DL_LAZY
   17441 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   17442 #    else
   17443 #      ifdef RTLD_NOW
   17444 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   17445 #      else
   17446 #        ifdef DL_NOW
   17447 #          define LT_DLLAZY_OR_NOW	DL_NOW
   17448 #        else
   17449 #          define LT_DLLAZY_OR_NOW	0
   17450 #        endif
   17451 #      endif
   17452 #    endif
   17453 #  endif
   17454 #endif
   17455 
   17456 /* When -fvisbility=hidden is used, assume the code has been annotated
   17457    correspondingly for the symbols needed.  */
   17458 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   17459 int fnord () __attribute__((visibility("default")));
   17460 #endif
   17461 
   17462 int fnord () { return 42; }
   17463 int main ()
   17464 {
   17465   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   17466   int status = $lt_dlunknown;
   17467 
   17468   if (self)
   17469     {
   17470       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   17471       else
   17472         {
   17473 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   17474           else puts (dlerror ());
   17475 	}
   17476       /* dlclose (self); */
   17477     }
   17478   else
   17479     puts (dlerror ());
   17480 
   17481   return status;
   17482 }
   17483 _LT_EOF
   17484   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   17485   (eval $ac_link) 2>&5
   17486   ac_status=$?
   17487   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17488   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   17489     (./conftest; exit; ) >&5 2>/dev/null
   17490     lt_status=$?
   17491     case x$lt_status in
   17492       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   17493       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   17494       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   17495     esac
   17496   else :
   17497     # compilation failed
   17498     lt_cv_dlopen_self=no
   17499   fi
   17500 fi
   17501 rm -fr conftest*
   17502 
   17503 
   17504 fi
   17505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   17506 $as_echo "$lt_cv_dlopen_self" >&6; }
   17507 
   17508     if test "x$lt_cv_dlopen_self" = xyes; then
   17509       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   17510       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   17511 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   17512 if ${lt_cv_dlopen_self_static+:} false; then :
   17513   $as_echo_n "(cached) " >&6
   17514 else
   17515   	  if test "$cross_compiling" = yes; then :
   17516   lt_cv_dlopen_self_static=cross
   17517 else
   17518   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   17519   lt_status=$lt_dlunknown
   17520   cat > conftest.$ac_ext <<_LT_EOF
   17521 #line $LINENO "configure"
   17522 #include "confdefs.h"
   17523 
   17524 #if HAVE_DLFCN_H
   17525 #include <dlfcn.h>
   17526 #endif
   17527 
   17528 #include <stdio.h>
   17529 
   17530 #ifdef RTLD_GLOBAL
   17531 #  define LT_DLGLOBAL		RTLD_GLOBAL
   17532 #else
   17533 #  ifdef DL_GLOBAL
   17534 #    define LT_DLGLOBAL		DL_GLOBAL
   17535 #  else
   17536 #    define LT_DLGLOBAL		0
   17537 #  endif
   17538 #endif
   17539 
   17540 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   17541    find out it does not work in some platform. */
   17542 #ifndef LT_DLLAZY_OR_NOW
   17543 #  ifdef RTLD_LAZY
   17544 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   17545 #  else
   17546 #    ifdef DL_LAZY
   17547 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   17548 #    else
   17549 #      ifdef RTLD_NOW
   17550 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   17551 #      else
   17552 #        ifdef DL_NOW
   17553 #          define LT_DLLAZY_OR_NOW	DL_NOW
   17554 #        else
   17555 #          define LT_DLLAZY_OR_NOW	0
   17556 #        endif
   17557 #      endif
   17558 #    endif
   17559 #  endif
   17560 #endif
   17561 
   17562 /* When -fvisbility=hidden is used, assume the code has been annotated
   17563    correspondingly for the symbols needed.  */
   17564 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   17565 int fnord () __attribute__((visibility("default")));
   17566 #endif
   17567 
   17568 int fnord () { return 42; }
   17569 int main ()
   17570 {
   17571   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   17572   int status = $lt_dlunknown;
   17573 
   17574   if (self)
   17575     {
   17576       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   17577       else
   17578         {
   17579 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   17580           else puts (dlerror ());
   17581 	}
   17582       /* dlclose (self); */
   17583     }
   17584   else
   17585     puts (dlerror ());
   17586 
   17587   return status;
   17588 }
   17589 _LT_EOF
   17590   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   17591   (eval $ac_link) 2>&5
   17592   ac_status=$?
   17593   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17594   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   17595     (./conftest; exit; ) >&5 2>/dev/null
   17596     lt_status=$?
   17597     case x$lt_status in
   17598       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   17599       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   17600       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   17601     esac
   17602   else :
   17603     # compilation failed
   17604     lt_cv_dlopen_self_static=no
   17605   fi
   17606 fi
   17607 rm -fr conftest*
   17608 
   17609 
   17610 fi
   17611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   17612 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   17613     fi
   17614 
   17615     CPPFLAGS="$save_CPPFLAGS"
   17616     LDFLAGS="$save_LDFLAGS"
   17617     LIBS="$save_LIBS"
   17618     ;;
   17619   esac
   17620 
   17621   case $lt_cv_dlopen_self in
   17622   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   17623   *) enable_dlopen_self=unknown ;;
   17624   esac
   17625 
   17626   case $lt_cv_dlopen_self_static in
   17627   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   17628   *) enable_dlopen_self_static=unknown ;;
   17629   esac
   17630 fi
   17631 
   17632 
   17633 
   17634 
   17635 
   17636 
   17637 
   17638 
   17639 
   17640 
   17641 
   17642 
   17643 
   17644 
   17645 
   17646 
   17647 
   17648 striplib=
   17649 old_striplib=
   17650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   17651 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   17652 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   17653   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   17654   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   17655   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17656 $as_echo "yes" >&6; }
   17657 else
   17658 # FIXME - insert some real tests, host_os isn't really good enough
   17659   case $host_os in
   17660   darwin*)
   17661     if test -n "$STRIP" ; then
   17662       striplib="$STRIP -x"
   17663       old_striplib="$STRIP -S"
   17664       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17665 $as_echo "yes" >&6; }
   17666     else
   17667       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17668 $as_echo "no" >&6; }
   17669     fi
   17670     ;;
   17671   *)
   17672     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17673 $as_echo "no" >&6; }
   17674     ;;
   17675   esac
   17676 fi
   17677 
   17678 
   17679 
   17680 
   17681 
   17682 
   17683 
   17684 
   17685 
   17686 
   17687 
   17688 
   17689   # Report which library types will actually be built
   17690   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   17691 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   17692   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   17693 $as_echo "$can_build_shared" >&6; }
   17694 
   17695   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   17696 $as_echo_n "checking whether to build shared libraries... " >&6; }
   17697   test "$can_build_shared" = "no" && enable_shared=no
   17698 
   17699   # On AIX, shared libraries and static libraries use the same namespace, and
   17700   # are all built from PIC.
   17701   case $host_os in
   17702   aix3*)
   17703     test "$enable_shared" = yes && enable_static=no
   17704     if test -n "$RANLIB"; then
   17705       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   17706       postinstall_cmds='$RANLIB $lib'
   17707     fi
   17708     ;;
   17709 
   17710   aix[4-9]*)
   17711     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   17712       test "$enable_shared" = yes && enable_static=no
   17713     fi
   17714     ;;
   17715   esac
   17716   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   17717 $as_echo "$enable_shared" >&6; }
   17718 
   17719   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   17720 $as_echo_n "checking whether to build static libraries... " >&6; }
   17721   # Make sure either enable_shared or enable_static is yes.
   17722   test "$enable_shared" = yes || enable_static=yes
   17723   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   17724 $as_echo "$enable_static" >&6; }
   17725 
   17726 
   17727 
   17728 
   17729 fi
   17730 ac_ext=c
   17731 ac_cpp='$CPP $CPPFLAGS'
   17732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   17733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   17734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   17735 
   17736 CC="$lt_save_CC"
   17737 
   17738 
   17739 
   17740 
   17741 
   17742 
   17743 
   17744 
   17745 
   17746 
   17747 
   17748 
   17749 
   17750 
   17751 
   17752         ac_config_commands="$ac_config_commands libtool"
   17753 
   17754 
   17755 
   17756 
   17757 # Only expand once:
   17758 
   17759 
   17760 
   17761 
   17762 
   17763 # Define a configure option for an alternate module directory
   17764 
   17765 # Check whether --with-xorg-module-dir was given.
   17766 if test "${with_xorg_module_dir+set}" = set; then :
   17767   withval=$with_xorg_module_dir; moduledir="$withval"
   17768 else
   17769   moduledir="$libdir/xorg/modules"
   17770 fi
   17771 
   17772 
   17773 # Check whether --enable-dri was given.
   17774 if test "${enable_dri+set}" = set; then :
   17775   enableval=$enable_dri; DRI="$enableval"
   17776 else
   17777   DRI=auto
   17778 fi
   17779 
   17780 
   17781 # Store the list of server defined optional extensions in REQUIRED_MODULES
   17782 
   17783 
   17784 	SAVE_CFLAGS="$CFLAGS"
   17785 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   17786 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17787 /* end confdefs.h.  */
   17788 
   17789 #include "xorg-server.h"
   17790 #if !defined XINERAMA
   17791 #error XINERAMA not defined
   17792 #endif
   17793 
   17794 int
   17795 main ()
   17796 {
   17797 
   17798   ;
   17799   return 0;
   17800 }
   17801 _ACEOF
   17802 if ac_fn_c_try_compile "$LINENO"; then :
   17803   _EXT_CHECK=yes
   17804 else
   17805   _EXT_CHECK=no
   17806 fi
   17807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17808 	CFLAGS="$SAVE_CFLAGS"
   17809 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if XINERAMA is defined" >&5
   17810 $as_echo_n "checking if XINERAMA is defined... " >&6; }
   17811 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   17812 $as_echo "$_EXT_CHECK" >&6; }
   17813 	if test "$_EXT_CHECK" != no; then
   17814 		REQUIRED_MODULES="$REQUIRED_MODULES xineramaproto"
   17815 	fi
   17816 
   17817 
   17818 
   17819 	SAVE_CFLAGS="$CFLAGS"
   17820 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   17821 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17822 /* end confdefs.h.  */
   17823 
   17824 #include "xorg-server.h"
   17825 #if !defined RANDR
   17826 #error RANDR not defined
   17827 #endif
   17828 
   17829 int
   17830 main ()
   17831 {
   17832 
   17833   ;
   17834   return 0;
   17835 }
   17836 _ACEOF
   17837 if ac_fn_c_try_compile "$LINENO"; then :
   17838   _EXT_CHECK=yes
   17839 else
   17840   _EXT_CHECK=no
   17841 fi
   17842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17843 	CFLAGS="$SAVE_CFLAGS"
   17844 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if RANDR is defined" >&5
   17845 $as_echo_n "checking if RANDR is defined... " >&6; }
   17846 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   17847 $as_echo "$_EXT_CHECK" >&6; }
   17848 	if test "$_EXT_CHECK" != no; then
   17849 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   17850 	fi
   17851 
   17852 
   17853 
   17854 	SAVE_CFLAGS="$CFLAGS"
   17855 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   17856 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17857 /* end confdefs.h.  */
   17858 
   17859 #include "xorg-server.h"
   17860 #if !defined RENDER
   17861 #error RENDER not defined
   17862 #endif
   17863 
   17864 int
   17865 main ()
   17866 {
   17867 
   17868   ;
   17869   return 0;
   17870 }
   17871 _ACEOF
   17872 if ac_fn_c_try_compile "$LINENO"; then :
   17873   _EXT_CHECK=yes
   17874 else
   17875   _EXT_CHECK=no
   17876 fi
   17877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17878 	CFLAGS="$SAVE_CFLAGS"
   17879 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if RENDER is defined" >&5
   17880 $as_echo_n "checking if RENDER is defined... " >&6; }
   17881 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   17882 $as_echo "$_EXT_CHECK" >&6; }
   17883 	if test "$_EXT_CHECK" != no; then
   17884 		REQUIRED_MODULES="$REQUIRED_MODULES renderproto"
   17885 	fi
   17886 
   17887 
   17888 
   17889 	SAVE_CFLAGS="$CFLAGS"
   17890 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   17891 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17892 /* end confdefs.h.  */
   17893 
   17894 #include "xorg-server.h"
   17895 #if !defined XV
   17896 #error XV not defined
   17897 #endif
   17898 
   17899 int
   17900 main ()
   17901 {
   17902 
   17903   ;
   17904   return 0;
   17905 }
   17906 _ACEOF
   17907 if ac_fn_c_try_compile "$LINENO"; then :
   17908   _EXT_CHECK=yes
   17909 else
   17910   _EXT_CHECK=no
   17911 fi
   17912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17913 	CFLAGS="$SAVE_CFLAGS"
   17914 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if XV is defined" >&5
   17915 $as_echo_n "checking if XV is defined... " >&6; }
   17916 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   17917 $as_echo "$_EXT_CHECK" >&6; }
   17918 	if test "$_EXT_CHECK" != no; then
   17919 		REQUIRED_MODULES="$REQUIRED_MODULES videoproto"
   17920 	fi
   17921 
   17922 
   17923 
   17924 	SAVE_CFLAGS="$CFLAGS"
   17925 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   17926 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17927 /* end confdefs.h.  */
   17928 
   17929 #include "xorg-server.h"
   17930 #if !defined DPMSExtension
   17931 #error DPMSExtension not defined
   17932 #endif
   17933 
   17934 int
   17935 main ()
   17936 {
   17937 
   17938   ;
   17939   return 0;
   17940 }
   17941 _ACEOF
   17942 if ac_fn_c_try_compile "$LINENO"; then :
   17943   _EXT_CHECK=yes
   17944 else
   17945   _EXT_CHECK=no
   17946 fi
   17947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17948 	CFLAGS="$SAVE_CFLAGS"
   17949 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if DPMSExtension is defined" >&5
   17950 $as_echo_n "checking if DPMSExtension is defined... " >&6; }
   17951 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   17952 $as_echo "$_EXT_CHECK" >&6; }
   17953 	if test "$_EXT_CHECK" != no; then
   17954 		REQUIRED_MODULES="$REQUIRED_MODULES xextproto"
   17955 	fi
   17956 
   17957 
   17958 # Obtain compiler/linker options for the driver dependencies
   17959 
   17960 pkg_failed=no
   17961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XORG" >&5
   17962 $as_echo_n "checking for XORG... " >&6; }
   17963 
   17964 if test -n "$XORG_CFLAGS"; then
   17965     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   17966  elif test -n "$PKG_CONFIG"; then
   17967     if test -n "$PKG_CONFIG" && \
   17968     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901 xproto fontsproto xf86dgaproto >= 2.1 \$REQUIRED_MODULES\""; } >&5
   17969   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto xf86dgaproto >= 2.1 $REQUIRED_MODULES") 2>&5
   17970   ac_status=$?
   17971   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17972   test $ac_status = 0; }; then
   17973   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.0.99.901 xproto fontsproto xf86dgaproto >= 2.1 $REQUIRED_MODULES" 2>/dev/null`
   17974 else
   17975   pkg_failed=yes
   17976 fi
   17977  else
   17978     pkg_failed=untried
   17979 fi
   17980 if test -n "$XORG_LIBS"; then
   17981     pkg_cv_XORG_LIBS="$XORG_LIBS"
   17982  elif test -n "$PKG_CONFIG"; then
   17983     if test -n "$PKG_CONFIG" && \
   17984     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901 xproto fontsproto xf86dgaproto >= 2.1 \$REQUIRED_MODULES\""; } >&5
   17985   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto xf86dgaproto >= 2.1 $REQUIRED_MODULES") 2>&5
   17986   ac_status=$?
   17987   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17988   test $ac_status = 0; }; then
   17989   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.0.99.901 xproto fontsproto xf86dgaproto >= 2.1 $REQUIRED_MODULES" 2>/dev/null`
   17990 else
   17991   pkg_failed=yes
   17992 fi
   17993  else
   17994     pkg_failed=untried
   17995 fi
   17996 
   17997 
   17998 
   17999 if test $pkg_failed = yes; then
   18000    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18001 $as_echo "no" >&6; }
   18002 
   18003 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18004         _pkg_short_errors_supported=yes
   18005 else
   18006         _pkg_short_errors_supported=no
   18007 fi
   18008         if test $_pkg_short_errors_supported = yes; then
   18009 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto xf86dgaproto >= 2.1 $REQUIRED_MODULES" 2>&1`
   18010         else
   18011 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto xf86dgaproto >= 2.1 $REQUIRED_MODULES" 2>&1`
   18012         fi
   18013 	# Put the nasty error message in config.log where it belongs
   18014 	echo "$XORG_PKG_ERRORS" >&5
   18015 
   18016 	as_fn_error $? "Package requirements (xorg-server >= 1.0.99.901 xproto fontsproto xf86dgaproto >= 2.1 $REQUIRED_MODULES) were not met:
   18017 
   18018 $XORG_PKG_ERRORS
   18019 
   18020 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18021 installed software in a non-standard prefix.
   18022 
   18023 Alternatively, you may set the environment variables XORG_CFLAGS
   18024 and XORG_LIBS to avoid the need to call pkg-config.
   18025 See the pkg-config man page for more details." "$LINENO" 5
   18026 
   18027 elif test $pkg_failed = untried; then
   18028      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18029 $as_echo "no" >&6; }
   18030 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18031 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18032 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18033 is in your PATH or set the PKG_CONFIG environment variable to the full
   18034 path to pkg-config.
   18035 
   18036 Alternatively, you may set the environment variables XORG_CFLAGS
   18037 and XORG_LIBS to avoid the need to call pkg-config.
   18038 See the pkg-config man page for more details.
   18039 
   18040 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18041 See \`config.log' for more details" "$LINENO" 5; }
   18042 
   18043 else
   18044 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   18045 	XORG_LIBS=$pkg_cv_XORG_LIBS
   18046         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18047 $as_echo "yes" >&6; }
   18048 
   18049 fi
   18050 
   18051 pkg_failed=no
   18052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XEXT" >&5
   18053 $as_echo_n "checking for XEXT... " >&6; }
   18054 
   18055 if test -n "$XEXT_CFLAGS"; then
   18056     pkg_cv_XEXT_CFLAGS="$XEXT_CFLAGS"
   18057  elif test -n "$PKG_CONFIG"; then
   18058     if test -n "$PKG_CONFIG" && \
   18059     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\""; } >&5
   18060   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   18061   ac_status=$?
   18062   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18063   test $ac_status = 0; }; then
   18064   pkg_cv_XEXT_CFLAGS=`$PKG_CONFIG --cflags "xextproto >= 7.0.99.1" 2>/dev/null`
   18065 else
   18066   pkg_failed=yes
   18067 fi
   18068  else
   18069     pkg_failed=untried
   18070 fi
   18071 if test -n "$XEXT_LIBS"; then
   18072     pkg_cv_XEXT_LIBS="$XEXT_LIBS"
   18073  elif test -n "$PKG_CONFIG"; then
   18074     if test -n "$PKG_CONFIG" && \
   18075     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\""; } >&5
   18076   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   18077   ac_status=$?
   18078   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18079   test $ac_status = 0; }; then
   18080   pkg_cv_XEXT_LIBS=`$PKG_CONFIG --libs "xextproto >= 7.0.99.1" 2>/dev/null`
   18081 else
   18082   pkg_failed=yes
   18083 fi
   18084  else
   18085     pkg_failed=untried
   18086 fi
   18087 
   18088 
   18089 
   18090 if test $pkg_failed = yes; then
   18091    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18092 $as_echo "no" >&6; }
   18093 
   18094 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18095         _pkg_short_errors_supported=yes
   18096 else
   18097         _pkg_short_errors_supported=no
   18098 fi
   18099         if test $_pkg_short_errors_supported = yes; then
   18100 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xextproto >= 7.0.99.1" 2>&1`
   18101         else
   18102 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors "xextproto >= 7.0.99.1" 2>&1`
   18103         fi
   18104 	# Put the nasty error message in config.log where it belongs
   18105 	echo "$XEXT_PKG_ERRORS" >&5
   18106 
   18107 	HAVE_XEXTPROTO_71="no"
   18108 elif test $pkg_failed = untried; then
   18109      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18110 $as_echo "no" >&6; }
   18111 	HAVE_XEXTPROTO_71="no"
   18112 else
   18113 	XEXT_CFLAGS=$pkg_cv_XEXT_CFLAGS
   18114 	XEXT_LIBS=$pkg_cv_XEXT_LIBS
   18115         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18116 $as_echo "yes" >&6; }
   18117 	HAVE_XEXTPROTO_71="yes";
   18118 $as_echo "#define HAVE_XEXTPROTO_71 1" >>confdefs.h
   18119 
   18120 fi
   18121  if  test "$HAVE_XEXTPROTO_71" = "yes" ; then
   18122   HAVE_XEXTPROTO_71_TRUE=
   18123   HAVE_XEXTPROTO_71_FALSE='#'
   18124 else
   18125   HAVE_XEXTPROTO_71_TRUE='#'
   18126   HAVE_XEXTPROTO_71_FALSE=
   18127 fi
   18128 
   18129 sdkdir=`$PKG_CONFIG --variable=sdkdir xorg-server`
   18130 
   18131 # Checks for libraries.
   18132 
   18133 if test "$DRI" != no; then
   18134         as_ac_File=`$as_echo "ac_cv_file_${sdkdir}/dri.h" | $as_tr_sh`
   18135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${sdkdir}/dri.h" >&5
   18136 $as_echo_n "checking for ${sdkdir}/dri.h... " >&6; }
   18137 if eval \${$as_ac_File+:} false; then :
   18138   $as_echo_n "(cached) " >&6
   18139 else
   18140   test "$cross_compiling" = yes &&
   18141   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   18142 if test -r "${sdkdir}/dri.h"; then
   18143   eval "$as_ac_File=yes"
   18144 else
   18145   eval "$as_ac_File=no"
   18146 fi
   18147 fi
   18148 eval ac_res=\$$as_ac_File
   18149 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   18150 $as_echo "$ac_res" >&6; }
   18151 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
   18152   have_dri_h="yes"
   18153 else
   18154   have_dri_h="no"
   18155 fi
   18156 
   18157         as_ac_File=`$as_echo "ac_cv_file_${sdkdir}/sarea.h" | $as_tr_sh`
   18158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${sdkdir}/sarea.h" >&5
   18159 $as_echo_n "checking for ${sdkdir}/sarea.h... " >&6; }
   18160 if eval \${$as_ac_File+:} false; then :
   18161   $as_echo_n "(cached) " >&6
   18162 else
   18163   test "$cross_compiling" = yes &&
   18164   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   18165 if test -r "${sdkdir}/sarea.h"; then
   18166   eval "$as_ac_File=yes"
   18167 else
   18168   eval "$as_ac_File=no"
   18169 fi
   18170 fi
   18171 eval ac_res=\$$as_ac_File
   18172 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   18173 $as_echo "$ac_res" >&6; }
   18174 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
   18175   have_sarea_h="yes"
   18176 else
   18177   have_sarea_h="no"
   18178 fi
   18179 
   18180         as_ac_File=`$as_echo "ac_cv_file_${sdkdir}/dristruct.h" | $as_tr_sh`
   18181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${sdkdir}/dristruct.h" >&5
   18182 $as_echo_n "checking for ${sdkdir}/dristruct.h... " >&6; }
   18183 if eval \${$as_ac_File+:} false; then :
   18184   $as_echo_n "(cached) " >&6
   18185 else
   18186   test "$cross_compiling" = yes &&
   18187   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   18188 if test -r "${sdkdir}/dristruct.h"; then
   18189   eval "$as_ac_File=yes"
   18190 else
   18191   eval "$as_ac_File=no"
   18192 fi
   18193 fi
   18194 eval ac_res=\$$as_ac_File
   18195 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   18196 $as_echo "$ac_res" >&6; }
   18197 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
   18198   have_dristruct_h="yes"
   18199 else
   18200   have_dristruct_h="no"
   18201 fi
   18202 
   18203 fi
   18204 
   18205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include DRI support" >&5
   18206 $as_echo_n "checking whether to include DRI support... " >&6; }
   18207 if test x$DRI = xauto; then
   18208         if test "$have_dri_h" = yes -a \
   18209                 "$have_sarea_h" = yes -a \
   18210                 "$have_dristruct_h" = yes; then
   18211                 DRI="yes"
   18212         else
   18213                 DRI="no"
   18214         fi
   18215 fi
   18216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DRI" >&5
   18217 $as_echo "$DRI" >&6; }
   18218 
   18219  if test x$DRI = xyes; then
   18220   DRI_TRUE=
   18221   DRI_FALSE='#'
   18222 else
   18223   DRI_TRUE='#'
   18224   DRI_FALSE=
   18225 fi
   18226 
   18227 if test "$DRI" = yes; then
   18228 
   18229 pkg_failed=no
   18230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DRI" >&5
   18231 $as_echo_n "checking for DRI... " >&6; }
   18232 
   18233 if test -n "$DRI_CFLAGS"; then
   18234     pkg_cv_DRI_CFLAGS="$DRI_CFLAGS"
   18235  elif test -n "$PKG_CONFIG"; then
   18236     if test -n "$PKG_CONFIG" && \
   18237     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.0 xf86driproto\""; } >&5
   18238   ($PKG_CONFIG --exists --print-errors "libdrm >= 2.0 xf86driproto") 2>&5
   18239   ac_status=$?
   18240   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18241   test $ac_status = 0; }; then
   18242   pkg_cv_DRI_CFLAGS=`$PKG_CONFIG --cflags "libdrm >= 2.0 xf86driproto" 2>/dev/null`
   18243 else
   18244   pkg_failed=yes
   18245 fi
   18246  else
   18247     pkg_failed=untried
   18248 fi
   18249 if test -n "$DRI_LIBS"; then
   18250     pkg_cv_DRI_LIBS="$DRI_LIBS"
   18251  elif test -n "$PKG_CONFIG"; then
   18252     if test -n "$PKG_CONFIG" && \
   18253     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.0 xf86driproto\""; } >&5
   18254   ($PKG_CONFIG --exists --print-errors "libdrm >= 2.0 xf86driproto") 2>&5
   18255   ac_status=$?
   18256   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18257   test $ac_status = 0; }; then
   18258   pkg_cv_DRI_LIBS=`$PKG_CONFIG --libs "libdrm >= 2.0 xf86driproto" 2>/dev/null`
   18259 else
   18260   pkg_failed=yes
   18261 fi
   18262  else
   18263     pkg_failed=untried
   18264 fi
   18265 
   18266 
   18267 
   18268 if test $pkg_failed = yes; then
   18269    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18270 $as_echo "no" >&6; }
   18271 
   18272 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18273         _pkg_short_errors_supported=yes
   18274 else
   18275         _pkg_short_errors_supported=no
   18276 fi
   18277         if test $_pkg_short_errors_supported = yes; then
   18278 	        DRI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libdrm >= 2.0 xf86driproto" 2>&1`
   18279         else
   18280 	        DRI_PKG_ERRORS=`$PKG_CONFIG --print-errors "libdrm >= 2.0 xf86driproto" 2>&1`
   18281         fi
   18282 	# Put the nasty error message in config.log where it belongs
   18283 	echo "$DRI_PKG_ERRORS" >&5
   18284 
   18285 	as_fn_error $? "Package requirements (libdrm >= 2.0 xf86driproto) were not met:
   18286 
   18287 $DRI_PKG_ERRORS
   18288 
   18289 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18290 installed software in a non-standard prefix.
   18291 
   18292 Alternatively, you may set the environment variables DRI_CFLAGS
   18293 and DRI_LIBS to avoid the need to call pkg-config.
   18294 See the pkg-config man page for more details." "$LINENO" 5
   18295 
   18296 elif test $pkg_failed = untried; then
   18297      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18298 $as_echo "no" >&6; }
   18299 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18300 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18301 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18302 is in your PATH or set the PKG_CONFIG environment variable to the full
   18303 path to pkg-config.
   18304 
   18305 Alternatively, you may set the environment variables DRI_CFLAGS
   18306 and DRI_LIBS to avoid the need to call pkg-config.
   18307 See the pkg-config man page for more details.
   18308 
   18309 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18310 See \`config.log' for more details" "$LINENO" 5; }
   18311 
   18312 else
   18313 	DRI_CFLAGS=$pkg_cv_DRI_CFLAGS
   18314 	DRI_LIBS=$pkg_cv_DRI_LIBS
   18315         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18316 $as_echo "yes" >&6; }
   18317 
   18318 fi
   18319 
   18320 $as_echo "#define SISDRI 1" >>confdefs.h
   18321 
   18322 
   18323 $as_echo "#define SISDRI_DEVEL 1" >>confdefs.h
   18324 
   18325 fi
   18326 
   18327 # Check whether --enable-xaa was given.
   18328 if test "${enable_xaa+set}" = set; then :
   18329   enableval=$enable_xaa; XAA="$enableval"
   18330 else
   18331   XAA=auto
   18332 fi
   18333 
   18334 if test "x$XAA" != xno; then
   18335         save_CFLAGS=$CFLAGS
   18336         save_CPPFLAGS=$CPPFLAGS
   18337         CFLAGS=$XORG_CFLAGS
   18338         CPPFLAGS="$XORG_CFLAGS"
   18339         for ac_header in xaa.h
   18340 do :
   18341   ac_fn_c_check_header_mongrel "$LINENO" "xaa.h" "ac_cv_header_xaa_h" "$ac_includes_default"
   18342 if test "x$ac_cv_header_xaa_h" = xyes; then :
   18343   cat >>confdefs.h <<_ACEOF
   18344 #define HAVE_XAA_H 1
   18345 _ACEOF
   18346  XAA=yes
   18347 else
   18348   XAA=no
   18349 fi
   18350 
   18351 done
   18352 
   18353         CFLAGS=$save_CFLAGS
   18354         CPPFLAGS=$save_CPPFLAGS
   18355 fi
   18356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include XAA support" >&5
   18357 $as_echo_n "checking whether to include XAA support... " >&6; }
   18358  if test "x$XAA" = xyes; then
   18359   XAA_TRUE=
   18360   XAA_FALSE='#'
   18361 else
   18362   XAA_TRUE='#'
   18363   XAA_FALSE=
   18364 fi
   18365 
   18366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XAA" >&5
   18367 $as_echo "$XAA" >&6; }
   18368 
   18369 # technically this should be a configure flag.  meh.
   18370 
   18371 $as_echo "#define XF86EXA 1" >>confdefs.h
   18372 
   18373 
   18374 SAVE_CPPFLAGS="$CPPFLAGS"
   18375 CPPFLAGS="$CPPFLAGS $XORG_CFLAGS"
   18376 ac_fn_c_check_decl "$LINENO" "XSERVER_LIBPCIACCESS" "ac_cv_have_decl_XSERVER_LIBPCIACCESS" "#include \"xorg-server.h\"
   18377 "
   18378 if test "x$ac_cv_have_decl_XSERVER_LIBPCIACCESS" = xyes; then :
   18379   XSERVER_LIBPCIACCESS=yes
   18380 else
   18381   XSERVER_LIBPCIACCESS=no
   18382 fi
   18383 
   18384 CPPFLAGS="$SAVE_CPPFLAGS"
   18385 
   18386 if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   18387 
   18388 pkg_failed=no
   18389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PCIACCESS" >&5
   18390 $as_echo_n "checking for PCIACCESS... " >&6; }
   18391 
   18392 if test -n "$PCIACCESS_CFLAGS"; then
   18393     pkg_cv_PCIACCESS_CFLAGS="$PCIACCESS_CFLAGS"
   18394  elif test -n "$PKG_CONFIG"; then
   18395     if test -n "$PKG_CONFIG" && \
   18396     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.12.901\""; } >&5
   18397   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.12.901") 2>&5
   18398   ac_status=$?
   18399   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18400   test $ac_status = 0; }; then
   18401   pkg_cv_PCIACCESS_CFLAGS=`$PKG_CONFIG --cflags "pciaccess >= 0.12.901" 2>/dev/null`
   18402 else
   18403   pkg_failed=yes
   18404 fi
   18405  else
   18406     pkg_failed=untried
   18407 fi
   18408 if test -n "$PCIACCESS_LIBS"; then
   18409     pkg_cv_PCIACCESS_LIBS="$PCIACCESS_LIBS"
   18410  elif test -n "$PKG_CONFIG"; then
   18411     if test -n "$PKG_CONFIG" && \
   18412     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.12.901\""; } >&5
   18413   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.12.901") 2>&5
   18414   ac_status=$?
   18415   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18416   test $ac_status = 0; }; then
   18417   pkg_cv_PCIACCESS_LIBS=`$PKG_CONFIG --libs "pciaccess >= 0.12.901" 2>/dev/null`
   18418 else
   18419   pkg_failed=yes
   18420 fi
   18421  else
   18422     pkg_failed=untried
   18423 fi
   18424 
   18425 
   18426 
   18427 if test $pkg_failed = yes; then
   18428    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18429 $as_echo "no" >&6; }
   18430 
   18431 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18432         _pkg_short_errors_supported=yes
   18433 else
   18434         _pkg_short_errors_supported=no
   18435 fi
   18436         if test $_pkg_short_errors_supported = yes; then
   18437 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pciaccess >= 0.12.901" 2>&1`
   18438         else
   18439 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --print-errors "pciaccess >= 0.12.901" 2>&1`
   18440         fi
   18441 	# Put the nasty error message in config.log where it belongs
   18442 	echo "$PCIACCESS_PKG_ERRORS" >&5
   18443 
   18444 	as_fn_error $? "Package requirements (pciaccess >= 0.12.901) were not met:
   18445 
   18446 $PCIACCESS_PKG_ERRORS
   18447 
   18448 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18449 installed software in a non-standard prefix.
   18450 
   18451 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   18452 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   18453 See the pkg-config man page for more details." "$LINENO" 5
   18454 
   18455 elif test $pkg_failed = untried; then
   18456      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18457 $as_echo "no" >&6; }
   18458 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18459 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18460 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18461 is in your PATH or set the PKG_CONFIG environment variable to the full
   18462 path to pkg-config.
   18463 
   18464 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   18465 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   18466 See the pkg-config man page for more details.
   18467 
   18468 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18469 See \`config.log' for more details" "$LINENO" 5; }
   18470 
   18471 else
   18472 	PCIACCESS_CFLAGS=$pkg_cv_PCIACCESS_CFLAGS
   18473 	PCIACCESS_LIBS=$pkg_cv_PCIACCESS_LIBS
   18474         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18475 $as_echo "yes" >&6; }
   18476 
   18477 fi
   18478     XORG_CFLAGS="$XORG_CFLAGS $PCIACCESS_CFLAGS"
   18479 fi
   18480  if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   18481   XSERVER_LIBPCIACCESS_TRUE=
   18482   XSERVER_LIBPCIACCESS_FALSE='#'
   18483 else
   18484   XSERVER_LIBPCIACCESS_TRUE='#'
   18485   XSERVER_LIBPCIACCESS_FALSE=
   18486 fi
   18487 
   18488 
   18489 
   18490 
   18491 DRIVER_NAME=sis
   18492 
   18493 
   18494 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile"
   18495 
   18496 cat >confcache <<\_ACEOF
   18497 # This file is a shell script that caches the results of configure
   18498 # tests run on this system so they can be shared between configure
   18499 # scripts and configure runs, see configure's option --config-cache.
   18500 # It is not useful on other systems.  If it contains results you don't
   18501 # want to keep, you may remove or edit it.
   18502 #
   18503 # config.status only pays attention to the cache file if you give it
   18504 # the --recheck option to rerun configure.
   18505 #
   18506 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   18507 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   18508 # following values.
   18509 
   18510 _ACEOF
   18511 
   18512 # The following way of writing the cache mishandles newlines in values,
   18513 # but we know of no workaround that is simple, portable, and efficient.
   18514 # So, we kill variables containing newlines.
   18515 # Ultrix sh set writes to stderr and can't be redirected directly,
   18516 # and sets the high bit in the cache file unless we assign to the vars.
   18517 (
   18518   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   18519     eval ac_val=\$$ac_var
   18520     case $ac_val in #(
   18521     *${as_nl}*)
   18522       case $ac_var in #(
   18523       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   18524 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   18525       esac
   18526       case $ac_var in #(
   18527       _ | IFS | as_nl) ;; #(
   18528       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   18529       *) { eval $ac_var=; unset $ac_var;} ;;
   18530       esac ;;
   18531     esac
   18532   done
   18533 
   18534   (set) 2>&1 |
   18535     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   18536     *${as_nl}ac_space=\ *)
   18537       # `set' does not quote correctly, so add quotes: double-quote
   18538       # substitution turns \\\\ into \\, and sed turns \\ into \.
   18539       sed -n \
   18540 	"s/'/'\\\\''/g;
   18541 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   18542       ;; #(
   18543     *)
   18544       # `set' quotes correctly as required by POSIX, so do not add quotes.
   18545       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   18546       ;;
   18547     esac |
   18548     sort
   18549 ) |
   18550   sed '
   18551      /^ac_cv_env_/b end
   18552      t clear
   18553      :clear
   18554      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   18555      t end
   18556      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   18557      :end' >>confcache
   18558 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   18559   if test -w "$cache_file"; then
   18560     if test "x$cache_file" != "x/dev/null"; then
   18561       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   18562 $as_echo "$as_me: updating cache $cache_file" >&6;}
   18563       if test ! -f "$cache_file" || test -h "$cache_file"; then
   18564 	cat confcache >"$cache_file"
   18565       else
   18566         case $cache_file in #(
   18567         */* | ?:*)
   18568 	  mv -f confcache "$cache_file"$$ &&
   18569 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   18570         *)
   18571 	  mv -f confcache "$cache_file" ;;
   18572 	esac
   18573       fi
   18574     fi
   18575   else
   18576     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   18577 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   18578   fi
   18579 fi
   18580 rm -f confcache
   18581 
   18582 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   18583 # Let make expand exec_prefix.
   18584 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   18585 
   18586 DEFS=-DHAVE_CONFIG_H
   18587 
   18588 ac_libobjs=
   18589 ac_ltlibobjs=
   18590 U=
   18591 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   18592   # 1. Remove the extension, and $U if already installed.
   18593   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   18594   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   18595   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   18596   #    will be set to the directory where LIBOBJS objects are built.
   18597   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   18598   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   18599 done
   18600 LIBOBJS=$ac_libobjs
   18601 
   18602 LTLIBOBJS=$ac_ltlibobjs
   18603 
   18604 
   18605  if test -n "$EXEEXT"; then
   18606   am__EXEEXT_TRUE=
   18607   am__EXEEXT_FALSE='#'
   18608 else
   18609   am__EXEEXT_TRUE='#'
   18610   am__EXEEXT_FALSE=
   18611 fi
   18612 
   18613 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   18614   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   18615 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18616 fi
   18617 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   18618   as_fn_error $? "conditional \"AMDEP\" was never defined.
   18619 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18620 fi
   18621 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   18622   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   18623 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18624 fi
   18625 if test -z "${HAVE_XEXTPROTO_71_TRUE}" && test -z "${HAVE_XEXTPROTO_71_FALSE}"; then
   18626   as_fn_error $? "conditional \"HAVE_XEXTPROTO_71\" was never defined.
   18627 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18628 fi
   18629 if test -z "${DRI_TRUE}" && test -z "${DRI_FALSE}"; then
   18630   as_fn_error $? "conditional \"DRI\" was never defined.
   18631 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18632 fi
   18633 if test -z "${XAA_TRUE}" && test -z "${XAA_FALSE}"; then
   18634   as_fn_error $? "conditional \"XAA\" was never defined.
   18635 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18636 fi
   18637 if test -z "${XSERVER_LIBPCIACCESS_TRUE}" && test -z "${XSERVER_LIBPCIACCESS_FALSE}"; then
   18638   as_fn_error $? "conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   18639 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18640 fi
   18641 
   18642 : "${CONFIG_STATUS=./config.status}"
   18643 ac_write_fail=0
   18644 ac_clean_files_save=$ac_clean_files
   18645 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   18646 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   18647 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   18648 as_write_fail=0
   18649 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   18650 #! $SHELL
   18651 # Generated by $as_me.
   18652 # Run this file to recreate the current configuration.
   18653 # Compiler output produced by configure, useful for debugging
   18654 # configure, is in config.log if it exists.
   18655 
   18656 debug=false
   18657 ac_cs_recheck=false
   18658 ac_cs_silent=false
   18659 
   18660 SHELL=\${CONFIG_SHELL-$SHELL}
   18661 export SHELL
   18662 _ASEOF
   18663 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   18664 ## -------------------- ##
   18665 ## M4sh Initialization. ##
   18666 ## -------------------- ##
   18667 
   18668 # Be more Bourne compatible
   18669 DUALCASE=1; export DUALCASE # for MKS sh
   18670 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   18671   emulate sh
   18672   NULLCMD=:
   18673   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   18674   # is contrary to our usage.  Disable this feature.
   18675   alias -g '${1+"$@"}'='"$@"'
   18676   setopt NO_GLOB_SUBST
   18677 else
   18678   case `(set -o) 2>/dev/null` in #(
   18679   *posix*) :
   18680     set -o posix ;; #(
   18681   *) :
   18682      ;;
   18683 esac
   18684 fi
   18685 
   18686 
   18687 as_nl='
   18688 '
   18689 export as_nl
   18690 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   18691 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   18692 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   18693 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   18694 # Prefer a ksh shell builtin over an external printf program on Solaris,
   18695 # but without wasting forks for bash or zsh.
   18696 if test -z "$BASH_VERSION$ZSH_VERSION" \
   18697     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   18698   as_echo='print -r --'
   18699   as_echo_n='print -rn --'
   18700 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   18701   as_echo='printf %s\n'
   18702   as_echo_n='printf %s'
   18703 else
   18704   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   18705     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   18706     as_echo_n='/usr/ucb/echo -n'
   18707   else
   18708     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   18709     as_echo_n_body='eval
   18710       arg=$1;
   18711       case $arg in #(
   18712       *"$as_nl"*)
   18713 	expr "X$arg" : "X\\(.*\\)$as_nl";
   18714 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   18715       esac;
   18716       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   18717     '
   18718     export as_echo_n_body
   18719     as_echo_n='sh -c $as_echo_n_body as_echo'
   18720   fi
   18721   export as_echo_body
   18722   as_echo='sh -c $as_echo_body as_echo'
   18723 fi
   18724 
   18725 # The user is always right.
   18726 if test "${PATH_SEPARATOR+set}" != set; then
   18727   PATH_SEPARATOR=:
   18728   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   18729     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   18730       PATH_SEPARATOR=';'
   18731   }
   18732 fi
   18733 
   18734 
   18735 # IFS
   18736 # We need space, tab and new line, in precisely that order.  Quoting is
   18737 # there to prevent editors from complaining about space-tab.
   18738 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   18739 # splitting by setting IFS to empty value.)
   18740 IFS=" ""	$as_nl"
   18741 
   18742 # Find who we are.  Look in the path if we contain no directory separator.
   18743 as_myself=
   18744 case $0 in #((
   18745   *[\\/]* ) as_myself=$0 ;;
   18746   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18747 for as_dir in $PATH
   18748 do
   18749   IFS=$as_save_IFS
   18750   test -z "$as_dir" && as_dir=.
   18751     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   18752   done
   18753 IFS=$as_save_IFS
   18754 
   18755      ;;
   18756 esac
   18757 # We did not find ourselves, most probably we were run as `sh COMMAND'
   18758 # in which case we are not to be found in the path.
   18759 if test "x$as_myself" = x; then
   18760   as_myself=$0
   18761 fi
   18762 if test ! -f "$as_myself"; then
   18763   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   18764   exit 1
   18765 fi
   18766 
   18767 # Unset variables that we do not need and which cause bugs (e.g. in
   18768 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   18769 # suppresses any "Segmentation fault" message there.  '((' could
   18770 # trigger a bug in pdksh 5.2.14.
   18771 for as_var in BASH_ENV ENV MAIL MAILPATH
   18772 do eval test x\${$as_var+set} = xset \
   18773   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   18774 done
   18775 PS1='$ '
   18776 PS2='> '
   18777 PS4='+ '
   18778 
   18779 # NLS nuisances.
   18780 LC_ALL=C
   18781 export LC_ALL
   18782 LANGUAGE=C
   18783 export LANGUAGE
   18784 
   18785 # CDPATH.
   18786 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18787 
   18788 
   18789 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   18790 # ----------------------------------------
   18791 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   18792 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   18793 # script with STATUS, using 1 if that was 0.
   18794 as_fn_error ()
   18795 {
   18796   as_status=$1; test $as_status -eq 0 && as_status=1
   18797   if test "$4"; then
   18798     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   18799     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   18800   fi
   18801   $as_echo "$as_me: error: $2" >&2
   18802   as_fn_exit $as_status
   18803 } # as_fn_error
   18804 
   18805 
   18806 # as_fn_set_status STATUS
   18807 # -----------------------
   18808 # Set $? to STATUS, without forking.
   18809 as_fn_set_status ()
   18810 {
   18811   return $1
   18812 } # as_fn_set_status
   18813 
   18814 # as_fn_exit STATUS
   18815 # -----------------
   18816 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   18817 as_fn_exit ()
   18818 {
   18819   set +e
   18820   as_fn_set_status $1
   18821   exit $1
   18822 } # as_fn_exit
   18823 
   18824 # as_fn_unset VAR
   18825 # ---------------
   18826 # Portably unset VAR.
   18827 as_fn_unset ()
   18828 {
   18829   { eval $1=; unset $1;}
   18830 }
   18831 as_unset=as_fn_unset
   18832 # as_fn_append VAR VALUE
   18833 # ----------------------
   18834 # Append the text in VALUE to the end of the definition contained in VAR. Take
   18835 # advantage of any shell optimizations that allow amortized linear growth over
   18836 # repeated appends, instead of the typical quadratic growth present in naive
   18837 # implementations.
   18838 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   18839   eval 'as_fn_append ()
   18840   {
   18841     eval $1+=\$2
   18842   }'
   18843 else
   18844   as_fn_append ()
   18845   {
   18846     eval $1=\$$1\$2
   18847   }
   18848 fi # as_fn_append
   18849 
   18850 # as_fn_arith ARG...
   18851 # ------------------
   18852 # Perform arithmetic evaluation on the ARGs, and store the result in the
   18853 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   18854 # must be portable across $(()) and expr.
   18855 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   18856   eval 'as_fn_arith ()
   18857   {
   18858     as_val=$(( $* ))
   18859   }'
   18860 else
   18861   as_fn_arith ()
   18862   {
   18863     as_val=`expr "$@" || test $? -eq 1`
   18864   }
   18865 fi # as_fn_arith
   18866 
   18867 
   18868 if expr a : '\(a\)' >/dev/null 2>&1 &&
   18869    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   18870   as_expr=expr
   18871 else
   18872   as_expr=false
   18873 fi
   18874 
   18875 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   18876   as_basename=basename
   18877 else
   18878   as_basename=false
   18879 fi
   18880 
   18881 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   18882   as_dirname=dirname
   18883 else
   18884   as_dirname=false
   18885 fi
   18886 
   18887 as_me=`$as_basename -- "$0" ||
   18888 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   18889 	 X"$0" : 'X\(//\)$' \| \
   18890 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   18891 $as_echo X/"$0" |
   18892     sed '/^.*\/\([^/][^/]*\)\/*$/{
   18893 	    s//\1/
   18894 	    q
   18895 	  }
   18896 	  /^X\/\(\/\/\)$/{
   18897 	    s//\1/
   18898 	    q
   18899 	  }
   18900 	  /^X\/\(\/\).*/{
   18901 	    s//\1/
   18902 	    q
   18903 	  }
   18904 	  s/.*/./; q'`
   18905 
   18906 # Avoid depending upon Character Ranges.
   18907 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   18908 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   18909 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   18910 as_cr_digits='0123456789'
   18911 as_cr_alnum=$as_cr_Letters$as_cr_digits
   18912 
   18913 ECHO_C= ECHO_N= ECHO_T=
   18914 case `echo -n x` in #(((((
   18915 -n*)
   18916   case `echo 'xy\c'` in
   18917   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   18918   xy)  ECHO_C='\c';;
   18919   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   18920        ECHO_T='	';;
   18921   esac;;
   18922 *)
   18923   ECHO_N='-n';;
   18924 esac
   18925 
   18926 rm -f conf$$ conf$$.exe conf$$.file
   18927 if test -d conf$$.dir; then
   18928   rm -f conf$$.dir/conf$$.file
   18929 else
   18930   rm -f conf$$.dir
   18931   mkdir conf$$.dir 2>/dev/null
   18932 fi
   18933 if (echo >conf$$.file) 2>/dev/null; then
   18934   if ln -s conf$$.file conf$$ 2>/dev/null; then
   18935     as_ln_s='ln -s'
   18936     # ... but there are two gotchas:
   18937     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   18938     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   18939     # In both cases, we have to default to `cp -p'.
   18940     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   18941       as_ln_s='cp -p'
   18942   elif ln conf$$.file conf$$ 2>/dev/null; then
   18943     as_ln_s=ln
   18944   else
   18945     as_ln_s='cp -p'
   18946   fi
   18947 else
   18948   as_ln_s='cp -p'
   18949 fi
   18950 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   18951 rmdir conf$$.dir 2>/dev/null
   18952 
   18953 
   18954 # as_fn_mkdir_p
   18955 # -------------
   18956 # Create "$as_dir" as a directory, including parents if necessary.
   18957 as_fn_mkdir_p ()
   18958 {
   18959 
   18960   case $as_dir in #(
   18961   -*) as_dir=./$as_dir;;
   18962   esac
   18963   test -d "$as_dir" || eval $as_mkdir_p || {
   18964     as_dirs=
   18965     while :; do
   18966       case $as_dir in #(
   18967       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   18968       *) as_qdir=$as_dir;;
   18969       esac
   18970       as_dirs="'$as_qdir' $as_dirs"
   18971       as_dir=`$as_dirname -- "$as_dir" ||
   18972 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18973 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   18974 	 X"$as_dir" : 'X\(//\)$' \| \
   18975 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   18976 $as_echo X"$as_dir" |
   18977     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18978 	    s//\1/
   18979 	    q
   18980 	  }
   18981 	  /^X\(\/\/\)[^/].*/{
   18982 	    s//\1/
   18983 	    q
   18984 	  }
   18985 	  /^X\(\/\/\)$/{
   18986 	    s//\1/
   18987 	    q
   18988 	  }
   18989 	  /^X\(\/\).*/{
   18990 	    s//\1/
   18991 	    q
   18992 	  }
   18993 	  s/.*/./; q'`
   18994       test -d "$as_dir" && break
   18995     done
   18996     test -z "$as_dirs" || eval "mkdir $as_dirs"
   18997   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   18998 
   18999 
   19000 } # as_fn_mkdir_p
   19001 if mkdir -p . 2>/dev/null; then
   19002   as_mkdir_p='mkdir -p "$as_dir"'
   19003 else
   19004   test -d ./-p && rmdir ./-p
   19005   as_mkdir_p=false
   19006 fi
   19007 
   19008 if test -x / >/dev/null 2>&1; then
   19009   as_test_x='test -x'
   19010 else
   19011   if ls -dL / >/dev/null 2>&1; then
   19012     as_ls_L_option=L
   19013   else
   19014     as_ls_L_option=
   19015   fi
   19016   as_test_x='
   19017     eval sh -c '\''
   19018       if test -d "$1"; then
   19019 	test -d "$1/.";
   19020       else
   19021 	case $1 in #(
   19022 	-*)set "./$1";;
   19023 	esac;
   19024 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   19025 	???[sx]*):;;*)false;;esac;fi
   19026     '\'' sh
   19027   '
   19028 fi
   19029 as_executable_p=$as_test_x
   19030 
   19031 # Sed expression to map a string onto a valid CPP name.
   19032 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   19033 
   19034 # Sed expression to map a string onto a valid variable name.
   19035 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   19036 
   19037 
   19038 exec 6>&1
   19039 ## ----------------------------------- ##
   19040 ## Main body of $CONFIG_STATUS script. ##
   19041 ## ----------------------------------- ##
   19042 _ASEOF
   19043 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   19044 
   19045 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19046 # Save the log message, to keep $0 and so on meaningful, and to
   19047 # report actual input values of CONFIG_FILES etc. instead of their
   19048 # values after options handling.
   19049 ac_log="
   19050 This file was extended by xf86-video-sis $as_me 0.10.7, which was
   19051 generated by GNU Autoconf 2.68.  Invocation command line was
   19052 
   19053   CONFIG_FILES    = $CONFIG_FILES
   19054   CONFIG_HEADERS  = $CONFIG_HEADERS
   19055   CONFIG_LINKS    = $CONFIG_LINKS
   19056   CONFIG_COMMANDS = $CONFIG_COMMANDS
   19057   $ $0 $@
   19058 
   19059 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   19060 "
   19061 
   19062 _ACEOF
   19063 
   19064 case $ac_config_files in *"
   19065 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   19066 esac
   19067 
   19068 case $ac_config_headers in *"
   19069 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   19070 esac
   19071 
   19072 
   19073 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19074 # Files that config.status was made for.
   19075 config_files="$ac_config_files"
   19076 config_headers="$ac_config_headers"
   19077 config_commands="$ac_config_commands"
   19078 
   19079 _ACEOF
   19080 
   19081 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19082 ac_cs_usage="\
   19083 \`$as_me' instantiates files and other configuration actions
   19084 from templates according to the current configuration.  Unless the files
   19085 and actions are specified as TAGs, all are instantiated by default.
   19086 
   19087 Usage: $0 [OPTION]... [TAG]...
   19088 
   19089   -h, --help       print this help, then exit
   19090   -V, --version    print version number and configuration settings, then exit
   19091       --config     print configuration, then exit
   19092   -q, --quiet, --silent
   19093                    do not print progress messages
   19094   -d, --debug      don't remove temporary files
   19095       --recheck    update $as_me by reconfiguring in the same conditions
   19096       --file=FILE[:TEMPLATE]
   19097                    instantiate the configuration file FILE
   19098       --header=FILE[:TEMPLATE]
   19099                    instantiate the configuration header FILE
   19100 
   19101 Configuration files:
   19102 $config_files
   19103 
   19104 Configuration headers:
   19105 $config_headers
   19106 
   19107 Configuration commands:
   19108 $config_commands
   19109 
   19110 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   19111 
   19112 _ACEOF
   19113 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19114 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   19115 ac_cs_version="\\
   19116 xf86-video-sis config.status 0.10.7
   19117 configured by $0, generated by GNU Autoconf 2.68,
   19118   with options \\"\$ac_cs_config\\"
   19119 
   19120 Copyright (C) 2010 Free Software Foundation, Inc.
   19121 This config.status script is free software; the Free Software Foundation
   19122 gives unlimited permission to copy, distribute and modify it."
   19123 
   19124 ac_pwd='$ac_pwd'
   19125 srcdir='$srcdir'
   19126 INSTALL='$INSTALL'
   19127 MKDIR_P='$MKDIR_P'
   19128 AWK='$AWK'
   19129 test -n "\$AWK" || AWK=awk
   19130 _ACEOF
   19131 
   19132 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19133 # The default lists apply if the user does not specify any file.
   19134 ac_need_defaults=:
   19135 while test $# != 0
   19136 do
   19137   case $1 in
   19138   --*=?*)
   19139     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   19140     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   19141     ac_shift=:
   19142     ;;
   19143   --*=)
   19144     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   19145     ac_optarg=
   19146     ac_shift=:
   19147     ;;
   19148   *)
   19149     ac_option=$1
   19150     ac_optarg=$2
   19151     ac_shift=shift
   19152     ;;
   19153   esac
   19154 
   19155   case $ac_option in
   19156   # Handling of the options.
   19157   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   19158     ac_cs_recheck=: ;;
   19159   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   19160     $as_echo "$ac_cs_version"; exit ;;
   19161   --config | --confi | --conf | --con | --co | --c )
   19162     $as_echo "$ac_cs_config"; exit ;;
   19163   --debug | --debu | --deb | --de | --d | -d )
   19164     debug=: ;;
   19165   --file | --fil | --fi | --f )
   19166     $ac_shift
   19167     case $ac_optarg in
   19168     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19169     '') as_fn_error $? "missing file argument" ;;
   19170     esac
   19171     as_fn_append CONFIG_FILES " '$ac_optarg'"
   19172     ac_need_defaults=false;;
   19173   --header | --heade | --head | --hea )
   19174     $ac_shift
   19175     case $ac_optarg in
   19176     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19177     esac
   19178     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   19179     ac_need_defaults=false;;
   19180   --he | --h)
   19181     # Conflict between --help and --header
   19182     as_fn_error $? "ambiguous option: \`$1'
   19183 Try \`$0 --help' for more information.";;
   19184   --help | --hel | -h )
   19185     $as_echo "$ac_cs_usage"; exit ;;
   19186   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   19187   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   19188     ac_cs_silent=: ;;
   19189 
   19190   # This is an error.
   19191   -*) as_fn_error $? "unrecognized option: \`$1'
   19192 Try \`$0 --help' for more information." ;;
   19193 
   19194   *) as_fn_append ac_config_targets " $1"
   19195      ac_need_defaults=false ;;
   19196 
   19197   esac
   19198   shift
   19199 done
   19200 
   19201 ac_configure_extra_args=
   19202 
   19203 if $ac_cs_silent; then
   19204   exec 6>/dev/null
   19205   ac_configure_extra_args="$ac_configure_extra_args --silent"
   19206 fi
   19207 
   19208 _ACEOF
   19209 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19210 if \$ac_cs_recheck; then
   19211   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   19212   shift
   19213   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   19214   CONFIG_SHELL='$SHELL'
   19215   export CONFIG_SHELL
   19216   exec "\$@"
   19217 fi
   19218 
   19219 _ACEOF
   19220 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19221 exec 5>>config.log
   19222 {
   19223   echo
   19224   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   19225 ## Running $as_me. ##
   19226 _ASBOX
   19227   $as_echo "$ac_log"
   19228 } >&5
   19229 
   19230 _ACEOF
   19231 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19232 #
   19233 # INIT-COMMANDS
   19234 #
   19235 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   19236 
   19237 
   19238 # The HP-UX ksh and POSIX shell print the target directory to stdout
   19239 # if CDPATH is set.
   19240 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   19241 
   19242 sed_quote_subst='$sed_quote_subst'
   19243 double_quote_subst='$double_quote_subst'
   19244 delay_variable_subst='$delay_variable_subst'
   19245 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   19246 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   19247 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   19248 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   19249 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   19250 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   19251 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   19252 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   19253 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   19254 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   19255 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   19256 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   19257 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   19258 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   19259 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   19260 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   19261 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   19262 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   19263 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   19264 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   19265 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   19266 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   19267 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   19268 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   19269 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   19270 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   19271 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   19272 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   19273 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   19274 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   19275 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   19276 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   19277 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   19278 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   19279 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   19280 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   19281 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   19282 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   19283 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   19284 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   19285 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   19286 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   19287 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   19288 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   19289 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   19290 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   19291 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   19292 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   19293 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   19294 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   19295 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   19296 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   19297 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   19298 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   19299 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   19300 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   19301 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"`'
   19302 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   19303 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   19304 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   19305 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   19306 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   19307 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   19308 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   19309 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   19310 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   19311 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   19312 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   19313 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   19314 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   19315 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   19316 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   19317 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   19318 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   19319 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   19320 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   19321 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   19322 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   19323 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   19324 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   19325 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   19326 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   19327 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   19328 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   19329 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   19330 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   19331 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   19332 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   19333 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   19334 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   19335 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   19336 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   19337 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   19338 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   19339 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   19340 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   19341 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   19342 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   19343 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   19344 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   19345 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   19346 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   19347 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   19348 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   19349 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   19350 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   19351 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   19352 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   19353 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   19354 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   19355 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   19356 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   19357 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   19358 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   19359 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   19360 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   19361 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   19362 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   19363 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   19364 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   19365 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   19366 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   19367 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   19368 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   19369 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   19370 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   19371 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   19372 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   19373 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   19374 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   19375 
   19376 LTCC='$LTCC'
   19377 LTCFLAGS='$LTCFLAGS'
   19378 compiler='$compiler_DEFAULT'
   19379 
   19380 # A function that is used when there is no print builtin or printf.
   19381 func_fallback_echo ()
   19382 {
   19383   eval 'cat <<_LTECHO_EOF
   19384 \$1
   19385 _LTECHO_EOF'
   19386 }
   19387 
   19388 # Quote evaled strings.
   19389 for var in SHELL \
   19390 ECHO \
   19391 PATH_SEPARATOR \
   19392 SED \
   19393 GREP \
   19394 EGREP \
   19395 FGREP \
   19396 LD \
   19397 NM \
   19398 LN_S \
   19399 lt_SP2NL \
   19400 lt_NL2SP \
   19401 reload_flag \
   19402 OBJDUMP \
   19403 deplibs_check_method \
   19404 file_magic_cmd \
   19405 file_magic_glob \
   19406 want_nocaseglob \
   19407 DLLTOOL \
   19408 sharedlib_from_linklib_cmd \
   19409 AR \
   19410 AR_FLAGS \
   19411 archiver_list_spec \
   19412 STRIP \
   19413 RANLIB \
   19414 CC \
   19415 CFLAGS \
   19416 compiler \
   19417 lt_cv_sys_global_symbol_pipe \
   19418 lt_cv_sys_global_symbol_to_cdecl \
   19419 lt_cv_sys_global_symbol_to_c_name_address \
   19420 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   19421 nm_file_list_spec \
   19422 lt_prog_compiler_no_builtin_flag \
   19423 lt_prog_compiler_pic \
   19424 lt_prog_compiler_wl \
   19425 lt_prog_compiler_static \
   19426 lt_cv_prog_compiler_c_o \
   19427 need_locks \
   19428 MANIFEST_TOOL \
   19429 DSYMUTIL \
   19430 NMEDIT \
   19431 LIPO \
   19432 OTOOL \
   19433 OTOOL64 \
   19434 shrext_cmds \
   19435 export_dynamic_flag_spec \
   19436 whole_archive_flag_spec \
   19437 compiler_needs_object \
   19438 with_gnu_ld \
   19439 allow_undefined_flag \
   19440 no_undefined_flag \
   19441 hardcode_libdir_flag_spec \
   19442 hardcode_libdir_separator \
   19443 exclude_expsyms \
   19444 include_expsyms \
   19445 file_list_spec \
   19446 variables_saved_for_relink \
   19447 libname_spec \
   19448 library_names_spec \
   19449 soname_spec \
   19450 install_override_mode \
   19451 finish_eval \
   19452 old_striplib \
   19453 striplib; do
   19454     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   19455     *[\\\\\\\`\\"\\\$]*)
   19456       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   19457       ;;
   19458     *)
   19459       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   19460       ;;
   19461     esac
   19462 done
   19463 
   19464 # Double-quote double-evaled strings.
   19465 for var in reload_cmds \
   19466 old_postinstall_cmds \
   19467 old_postuninstall_cmds \
   19468 old_archive_cmds \
   19469 extract_expsyms_cmds \
   19470 old_archive_from_new_cmds \
   19471 old_archive_from_expsyms_cmds \
   19472 archive_cmds \
   19473 archive_expsym_cmds \
   19474 module_cmds \
   19475 module_expsym_cmds \
   19476 export_symbols_cmds \
   19477 prelink_cmds \
   19478 postlink_cmds \
   19479 postinstall_cmds \
   19480 postuninstall_cmds \
   19481 finish_cmds \
   19482 sys_lib_search_path_spec \
   19483 sys_lib_dlsearch_path_spec; do
   19484     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   19485     *[\\\\\\\`\\"\\\$]*)
   19486       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   19487       ;;
   19488     *)
   19489       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   19490       ;;
   19491     esac
   19492 done
   19493 
   19494 ac_aux_dir='$ac_aux_dir'
   19495 xsi_shell='$xsi_shell'
   19496 lt_shell_append='$lt_shell_append'
   19497 
   19498 # See if we are running on zsh, and set the options which allow our
   19499 # commands through without removal of \ escapes INIT.
   19500 if test -n "\${ZSH_VERSION+set}" ; then
   19501    setopt NO_GLOB_SUBST
   19502 fi
   19503 
   19504 
   19505     PACKAGE='$PACKAGE'
   19506     VERSION='$VERSION'
   19507     TIMESTAMP='$TIMESTAMP'
   19508     RM='$RM'
   19509     ofile='$ofile'
   19510 
   19511 
   19512 
   19513 
   19514 _ACEOF
   19515 
   19516 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19517 
   19518 # Handling of arguments.
   19519 for ac_config_target in $ac_config_targets
   19520 do
   19521   case $ac_config_target in
   19522     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   19523     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   19524     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   19525     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   19526     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   19527     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   19528 
   19529   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   19530   esac
   19531 done
   19532 
   19533 
   19534 # If the user did not use the arguments to specify the items to instantiate,
   19535 # then the envvar interface is used.  Set only those that are not.
   19536 # We use the long form for the default assignment because of an extremely
   19537 # bizarre bug on SunOS 4.1.3.
   19538 if $ac_need_defaults; then
   19539   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   19540   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   19541   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   19542 fi
   19543 
   19544 # Have a temporary directory for convenience.  Make it in the build tree
   19545 # simply because there is no reason against having it here, and in addition,
   19546 # creating and moving files from /tmp can sometimes cause problems.
   19547 # Hook for its removal unless debugging.
   19548 # Note that there is a small window in which the directory will not be cleaned:
   19549 # after its creation but before its name has been assigned to `$tmp'.
   19550 $debug ||
   19551 {
   19552   tmp= ac_tmp=
   19553   trap 'exit_status=$?
   19554   : "${ac_tmp:=$tmp}"
   19555   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   19556 ' 0
   19557   trap 'as_fn_exit 1' 1 2 13 15
   19558 }
   19559 # Create a (secure) tmp directory for tmp files.
   19560 
   19561 {
   19562   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   19563   test -d "$tmp"
   19564 }  ||
   19565 {
   19566   tmp=./conf$$-$RANDOM
   19567   (umask 077 && mkdir "$tmp")
   19568 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   19569 ac_tmp=$tmp
   19570 
   19571 # Set up the scripts for CONFIG_FILES section.
   19572 # No need to generate them if there are no CONFIG_FILES.
   19573 # This happens for instance with `./config.status config.h'.
   19574 if test -n "$CONFIG_FILES"; then
   19575 
   19576 
   19577 ac_cr=`echo X | tr X '\015'`
   19578 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   19579 # But we know of no other shell where ac_cr would be empty at this
   19580 # point, so we can use a bashism as a fallback.
   19581 if test "x$ac_cr" = x; then
   19582   eval ac_cr=\$\'\\r\'
   19583 fi
   19584 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   19585 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   19586   ac_cs_awk_cr='\\r'
   19587 else
   19588   ac_cs_awk_cr=$ac_cr
   19589 fi
   19590 
   19591 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   19592 _ACEOF
   19593 
   19594 
   19595 {
   19596   echo "cat >conf$$subs.awk <<_ACEOF" &&
   19597   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   19598   echo "_ACEOF"
   19599 } >conf$$subs.sh ||
   19600   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19601 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   19602 ac_delim='%!_!# '
   19603 for ac_last_try in false false false false false :; do
   19604   . ./conf$$subs.sh ||
   19605     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19606 
   19607   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   19608   if test $ac_delim_n = $ac_delim_num; then
   19609     break
   19610   elif $ac_last_try; then
   19611     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19612   else
   19613     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19614   fi
   19615 done
   19616 rm -f conf$$subs.sh
   19617 
   19618 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19619 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   19620 _ACEOF
   19621 sed -n '
   19622 h
   19623 s/^/S["/; s/!.*/"]=/
   19624 p
   19625 g
   19626 s/^[^!]*!//
   19627 :repl
   19628 t repl
   19629 s/'"$ac_delim"'$//
   19630 t delim
   19631 :nl
   19632 h
   19633 s/\(.\{148\}\)..*/\1/
   19634 t more1
   19635 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   19636 p
   19637 n
   19638 b repl
   19639 :more1
   19640 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19641 p
   19642 g
   19643 s/.\{148\}//
   19644 t nl
   19645 :delim
   19646 h
   19647 s/\(.\{148\}\)..*/\1/
   19648 t more2
   19649 s/["\\]/\\&/g; s/^/"/; s/$/"/
   19650 p
   19651 b
   19652 :more2
   19653 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19654 p
   19655 g
   19656 s/.\{148\}//
   19657 t delim
   19658 ' <conf$$subs.awk | sed '
   19659 /^[^""]/{
   19660   N
   19661   s/\n//
   19662 }
   19663 ' >>$CONFIG_STATUS || ac_write_fail=1
   19664 rm -f conf$$subs.awk
   19665 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19666 _ACAWK
   19667 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   19668   for (key in S) S_is_set[key] = 1
   19669   FS = ""
   19670 
   19671 }
   19672 {
   19673   line = $ 0
   19674   nfields = split(line, field, "@")
   19675   substed = 0
   19676   len = length(field[1])
   19677   for (i = 2; i < nfields; i++) {
   19678     key = field[i]
   19679     keylen = length(key)
   19680     if (S_is_set[key]) {
   19681       value = S[key]
   19682       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   19683       len += length(value) + length(field[++i])
   19684       substed = 1
   19685     } else
   19686       len += 1 + keylen
   19687   }
   19688 
   19689   print line
   19690 }
   19691 
   19692 _ACAWK
   19693 _ACEOF
   19694 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19695 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   19696   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   19697 else
   19698   cat
   19699 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   19700   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   19701 _ACEOF
   19702 
   19703 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   19704 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   19705 # trailing colons and then remove the whole line if VPATH becomes empty
   19706 # (actually we leave an empty line to preserve line numbers).
   19707 if test "x$srcdir" = x.; then
   19708   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   19709 h
   19710 s///
   19711 s/^/:/
   19712 s/[	 ]*$/:/
   19713 s/:\$(srcdir):/:/g
   19714 s/:\${srcdir}:/:/g
   19715 s/:@srcdir@:/:/g
   19716 s/^:*//
   19717 s/:*$//
   19718 x
   19719 s/\(=[	 ]*\).*/\1/
   19720 G
   19721 s/\n//
   19722 s/^[^=]*=[	 ]*$//
   19723 }'
   19724 fi
   19725 
   19726 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19727 fi # test -n "$CONFIG_FILES"
   19728 
   19729 # Set up the scripts for CONFIG_HEADERS section.
   19730 # No need to generate them if there are no CONFIG_HEADERS.
   19731 # This happens for instance with `./config.status Makefile'.
   19732 if test -n "$CONFIG_HEADERS"; then
   19733 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   19734 BEGIN {
   19735 _ACEOF
   19736 
   19737 # Transform confdefs.h into an awk script `defines.awk', embedded as
   19738 # here-document in config.status, that substitutes the proper values into
   19739 # config.h.in to produce config.h.
   19740 
   19741 # Create a delimiter string that does not exist in confdefs.h, to ease
   19742 # handling of long lines.
   19743 ac_delim='%!_!# '
   19744 for ac_last_try in false false :; do
   19745   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   19746   if test -z "$ac_tt"; then
   19747     break
   19748   elif $ac_last_try; then
   19749     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   19750   else
   19751     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19752   fi
   19753 done
   19754 
   19755 # For the awk script, D is an array of macro values keyed by name,
   19756 # likewise P contains macro parameters if any.  Preserve backslash
   19757 # newline sequences.
   19758 
   19759 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   19760 sed -n '
   19761 s/.\{148\}/&'"$ac_delim"'/g
   19762 t rset
   19763 :rset
   19764 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   19765 t def
   19766 d
   19767 :def
   19768 s/\\$//
   19769 t bsnl
   19770 s/["\\]/\\&/g
   19771 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19772 D["\1"]=" \3"/p
   19773 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   19774 d
   19775 :bsnl
   19776 s/["\\]/\\&/g
   19777 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19778 D["\1"]=" \3\\\\\\n"\\/p
   19779 t cont
   19780 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   19781 t cont
   19782 d
   19783 :cont
   19784 n
   19785 s/.\{148\}/&'"$ac_delim"'/g
   19786 t clear
   19787 :clear
   19788 s/\\$//
   19789 t bsnlc
   19790 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   19791 d
   19792 :bsnlc
   19793 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   19794 b cont
   19795 ' <confdefs.h | sed '
   19796 s/'"$ac_delim"'/"\\\
   19797 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   19798 
   19799 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19800   for (key in D) D_is_set[key] = 1
   19801   FS = ""
   19802 }
   19803 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   19804   line = \$ 0
   19805   split(line, arg, " ")
   19806   if (arg[1] == "#") {
   19807     defundef = arg[2]
   19808     mac1 = arg[3]
   19809   } else {
   19810     defundef = substr(arg[1], 2)
   19811     mac1 = arg[2]
   19812   }
   19813   split(mac1, mac2, "(") #)
   19814   macro = mac2[1]
   19815   prefix = substr(line, 1, index(line, defundef) - 1)
   19816   if (D_is_set[macro]) {
   19817     # Preserve the white space surrounding the "#".
   19818     print prefix "define", macro P[macro] D[macro]
   19819     next
   19820   } else {
   19821     # Replace #undef with comments.  This is necessary, for example,
   19822     # in the case of _POSIX_SOURCE, which is predefined and required
   19823     # on some systems where configure will not decide to define it.
   19824     if (defundef == "undef") {
   19825       print "/*", prefix defundef, macro, "*/"
   19826       next
   19827     }
   19828   }
   19829 }
   19830 { print }
   19831 _ACAWK
   19832 _ACEOF
   19833 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19834   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   19835 fi # test -n "$CONFIG_HEADERS"
   19836 
   19837 
   19838 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   19839 shift
   19840 for ac_tag
   19841 do
   19842   case $ac_tag in
   19843   :[FHLC]) ac_mode=$ac_tag; continue;;
   19844   esac
   19845   case $ac_mode$ac_tag in
   19846   :[FHL]*:*);;
   19847   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   19848   :[FH]-) ac_tag=-:-;;
   19849   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   19850   esac
   19851   ac_save_IFS=$IFS
   19852   IFS=:
   19853   set x $ac_tag
   19854   IFS=$ac_save_IFS
   19855   shift
   19856   ac_file=$1
   19857   shift
   19858 
   19859   case $ac_mode in
   19860   :L) ac_source=$1;;
   19861   :[FH])
   19862     ac_file_inputs=
   19863     for ac_f
   19864     do
   19865       case $ac_f in
   19866       -) ac_f="$ac_tmp/stdin";;
   19867       *) # Look for the file first in the build tree, then in the source tree
   19868 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   19869 	 # because $ac_f cannot contain `:'.
   19870 	 test -f "$ac_f" ||
   19871 	   case $ac_f in
   19872 	   [\\/$]*) false;;
   19873 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   19874 	   esac ||
   19875 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   19876       esac
   19877       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   19878       as_fn_append ac_file_inputs " '$ac_f'"
   19879     done
   19880 
   19881     # Let's still pretend it is `configure' which instantiates (i.e., don't
   19882     # use $as_me), people would be surprised to read:
   19883     #    /* config.h.  Generated by config.status.  */
   19884     configure_input='Generated from '`
   19885 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   19886 	`' by configure.'
   19887     if test x"$ac_file" != x-; then
   19888       configure_input="$ac_file.  $configure_input"
   19889       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   19890 $as_echo "$as_me: creating $ac_file" >&6;}
   19891     fi
   19892     # Neutralize special characters interpreted by sed in replacement strings.
   19893     case $configure_input in #(
   19894     *\&* | *\|* | *\\* )
   19895        ac_sed_conf_input=`$as_echo "$configure_input" |
   19896        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   19897     *) ac_sed_conf_input=$configure_input;;
   19898     esac
   19899 
   19900     case $ac_tag in
   19901     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   19902       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   19903     esac
   19904     ;;
   19905   esac
   19906 
   19907   ac_dir=`$as_dirname -- "$ac_file" ||
   19908 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19909 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   19910 	 X"$ac_file" : 'X\(//\)$' \| \
   19911 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   19912 $as_echo X"$ac_file" |
   19913     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19914 	    s//\1/
   19915 	    q
   19916 	  }
   19917 	  /^X\(\/\/\)[^/].*/{
   19918 	    s//\1/
   19919 	    q
   19920 	  }
   19921 	  /^X\(\/\/\)$/{
   19922 	    s//\1/
   19923 	    q
   19924 	  }
   19925 	  /^X\(\/\).*/{
   19926 	    s//\1/
   19927 	    q
   19928 	  }
   19929 	  s/.*/./; q'`
   19930   as_dir="$ac_dir"; as_fn_mkdir_p
   19931   ac_builddir=.
   19932 
   19933 case "$ac_dir" in
   19934 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19935 *)
   19936   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   19937   # A ".." for each directory in $ac_dir_suffix.
   19938   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   19939   case $ac_top_builddir_sub in
   19940   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19941   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   19942   esac ;;
   19943 esac
   19944 ac_abs_top_builddir=$ac_pwd
   19945 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   19946 # for backward compatibility:
   19947 ac_top_builddir=$ac_top_build_prefix
   19948 
   19949 case $srcdir in
   19950   .)  # We are building in place.
   19951     ac_srcdir=.
   19952     ac_top_srcdir=$ac_top_builddir_sub
   19953     ac_abs_top_srcdir=$ac_pwd ;;
   19954   [\\/]* | ?:[\\/]* )  # Absolute name.
   19955     ac_srcdir=$srcdir$ac_dir_suffix;
   19956     ac_top_srcdir=$srcdir
   19957     ac_abs_top_srcdir=$srcdir ;;
   19958   *) # Relative name.
   19959     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   19960     ac_top_srcdir=$ac_top_build_prefix$srcdir
   19961     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   19962 esac
   19963 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   19964 
   19965 
   19966   case $ac_mode in
   19967   :F)
   19968   #
   19969   # CONFIG_FILE
   19970   #
   19971 
   19972   case $INSTALL in
   19973   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   19974   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   19975   esac
   19976   ac_MKDIR_P=$MKDIR_P
   19977   case $MKDIR_P in
   19978   [\\/$]* | ?:[\\/]* ) ;;
   19979   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   19980   esac
   19981 _ACEOF
   19982 
   19983 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19984 # If the template does not know about datarootdir, expand it.
   19985 # FIXME: This hack should be removed a few years after 2.60.
   19986 ac_datarootdir_hack=; ac_datarootdir_seen=
   19987 ac_sed_dataroot='
   19988 /datarootdir/ {
   19989   p
   19990   q
   19991 }
   19992 /@datadir@/p
   19993 /@docdir@/p
   19994 /@infodir@/p
   19995 /@localedir@/p
   19996 /@mandir@/p'
   19997 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   19998 *datarootdir*) ac_datarootdir_seen=yes;;
   19999 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   20000   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   20001 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   20002 _ACEOF
   20003 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20004   ac_datarootdir_hack='
   20005   s&@datadir@&$datadir&g
   20006   s&@docdir@&$docdir&g
   20007   s&@infodir@&$infodir&g
   20008   s&@localedir@&$localedir&g
   20009   s&@mandir@&$mandir&g
   20010   s&\\\${datarootdir}&$datarootdir&g' ;;
   20011 esac
   20012 _ACEOF
   20013 
   20014 # Neutralize VPATH when `$srcdir' = `.'.
   20015 # Shell code in configure.ac might set extrasub.
   20016 # FIXME: do we really want to maintain this feature?
   20017 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20018 ac_sed_extra="$ac_vpsub
   20019 $extrasub
   20020 _ACEOF
   20021 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20022 :t
   20023 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   20024 s|@configure_input@|$ac_sed_conf_input|;t t
   20025 s&@top_builddir@&$ac_top_builddir_sub&;t t
   20026 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   20027 s&@srcdir@&$ac_srcdir&;t t
   20028 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   20029 s&@top_srcdir@&$ac_top_srcdir&;t t
   20030 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   20031 s&@builddir@&$ac_builddir&;t t
   20032 s&@abs_builddir@&$ac_abs_builddir&;t t
   20033 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   20034 s&@INSTALL@&$ac_INSTALL&;t t
   20035 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   20036 $ac_datarootdir_hack
   20037 "
   20038 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   20039   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20040 
   20041 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   20042   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   20043   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   20044       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   20045   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20046 which seems to be undefined.  Please make sure it is defined" >&5
   20047 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20048 which seems to be undefined.  Please make sure it is defined" >&2;}
   20049 
   20050   rm -f "$ac_tmp/stdin"
   20051   case $ac_file in
   20052   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   20053   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   20054   esac \
   20055   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20056  ;;
   20057   :H)
   20058   #
   20059   # CONFIG_HEADER
   20060   #
   20061   if test x"$ac_file" != x-; then
   20062     {
   20063       $as_echo "/* $configure_input  */" \
   20064       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   20065     } >"$ac_tmp/config.h" \
   20066       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20067     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   20068       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   20069 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   20070     else
   20071       rm -f "$ac_file"
   20072       mv "$ac_tmp/config.h" "$ac_file" \
   20073 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20074     fi
   20075   else
   20076     $as_echo "/* $configure_input  */" \
   20077       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   20078       || as_fn_error $? "could not create -" "$LINENO" 5
   20079   fi
   20080 # Compute "$ac_file"'s index in $config_headers.
   20081 _am_arg="$ac_file"
   20082 _am_stamp_count=1
   20083 for _am_header in $config_headers :; do
   20084   case $_am_header in
   20085     $_am_arg | $_am_arg:* )
   20086       break ;;
   20087     * )
   20088       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   20089   esac
   20090 done
   20091 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   20092 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20093 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   20094 	 X"$_am_arg" : 'X\(//\)$' \| \
   20095 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   20096 $as_echo X"$_am_arg" |
   20097     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20098 	    s//\1/
   20099 	    q
   20100 	  }
   20101 	  /^X\(\/\/\)[^/].*/{
   20102 	    s//\1/
   20103 	    q
   20104 	  }
   20105 	  /^X\(\/\/\)$/{
   20106 	    s//\1/
   20107 	    q
   20108 	  }
   20109 	  /^X\(\/\).*/{
   20110 	    s//\1/
   20111 	    q
   20112 	  }
   20113 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   20114  ;;
   20115 
   20116   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   20117 $as_echo "$as_me: executing $ac_file commands" >&6;}
   20118  ;;
   20119   esac
   20120 
   20121 
   20122   case $ac_file$ac_mode in
   20123     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   20124   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   20125   # are listed without --file.  Let's play safe and only enable the eval
   20126   # if we detect the quoting.
   20127   case $CONFIG_FILES in
   20128   *\'*) eval set x "$CONFIG_FILES" ;;
   20129   *)   set x $CONFIG_FILES ;;
   20130   esac
   20131   shift
   20132   for mf
   20133   do
   20134     # Strip MF so we end up with the name of the file.
   20135     mf=`echo "$mf" | sed -e 's/:.*$//'`
   20136     # Check whether this is an Automake generated Makefile or not.
   20137     # We used to match only the files named `Makefile.in', but
   20138     # some people rename them; so instead we look at the file content.
   20139     # Grep'ing the first line is not enough: some people post-process
   20140     # each Makefile.in and add a new line on top of each file to say so.
   20141     # Grep'ing the whole file is not good either: AIX grep has a line
   20142     # limit of 2048, but all sed's we know have understand at least 4000.
   20143     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   20144       dirpart=`$as_dirname -- "$mf" ||
   20145 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20146 	 X"$mf" : 'X\(//\)[^/]' \| \
   20147 	 X"$mf" : 'X\(//\)$' \| \
   20148 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   20149 $as_echo X"$mf" |
   20150     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20151 	    s//\1/
   20152 	    q
   20153 	  }
   20154 	  /^X\(\/\/\)[^/].*/{
   20155 	    s//\1/
   20156 	    q
   20157 	  }
   20158 	  /^X\(\/\/\)$/{
   20159 	    s//\1/
   20160 	    q
   20161 	  }
   20162 	  /^X\(\/\).*/{
   20163 	    s//\1/
   20164 	    q
   20165 	  }
   20166 	  s/.*/./; q'`
   20167     else
   20168       continue
   20169     fi
   20170     # Extract the definition of DEPDIR, am__include, and am__quote
   20171     # from the Makefile without running `make'.
   20172     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   20173     test -z "$DEPDIR" && continue
   20174     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   20175     test -z "am__include" && continue
   20176     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   20177     # When using ansi2knr, U may be empty or an underscore; expand it
   20178     U=`sed -n 's/^U = //p' < "$mf"`
   20179     # Find all dependency output files, they are included files with
   20180     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   20181     # simplest approach to changing $(DEPDIR) to its actual value in the
   20182     # expansion.
   20183     for file in `sed -n "
   20184       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   20185 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   20186       # Make sure the directory exists.
   20187       test -f "$dirpart/$file" && continue
   20188       fdir=`$as_dirname -- "$file" ||
   20189 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20190 	 X"$file" : 'X\(//\)[^/]' \| \
   20191 	 X"$file" : 'X\(//\)$' \| \
   20192 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   20193 $as_echo X"$file" |
   20194     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20195 	    s//\1/
   20196 	    q
   20197 	  }
   20198 	  /^X\(\/\/\)[^/].*/{
   20199 	    s//\1/
   20200 	    q
   20201 	  }
   20202 	  /^X\(\/\/\)$/{
   20203 	    s//\1/
   20204 	    q
   20205 	  }
   20206 	  /^X\(\/\).*/{
   20207 	    s//\1/
   20208 	    q
   20209 	  }
   20210 	  s/.*/./; q'`
   20211       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   20212       # echo "creating $dirpart/$file"
   20213       echo '# dummy' > "$dirpart/$file"
   20214     done
   20215   done
   20216 }
   20217  ;;
   20218     "libtool":C)
   20219 
   20220     # See if we are running on zsh, and set the options which allow our
   20221     # commands through without removal of \ escapes.
   20222     if test -n "${ZSH_VERSION+set}" ; then
   20223       setopt NO_GLOB_SUBST
   20224     fi
   20225 
   20226     cfgfile="${ofile}T"
   20227     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   20228     $RM "$cfgfile"
   20229 
   20230     cat <<_LT_EOF >> "$cfgfile"
   20231 #! $SHELL
   20232 
   20233 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   20234 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   20235 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   20236 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   20237 #
   20238 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   20239 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
   20240 #                 Foundation, Inc.
   20241 #   Written by Gordon Matzigkeit, 1996
   20242 #
   20243 #   This file is part of GNU Libtool.
   20244 #
   20245 # GNU Libtool is free software; you can redistribute it and/or
   20246 # modify it under the terms of the GNU General Public License as
   20247 # published by the Free Software Foundation; either version 2 of
   20248 # the License, or (at your option) any later version.
   20249 #
   20250 # As a special exception to the GNU General Public License,
   20251 # if you distribute this file as part of a program or library that
   20252 # is built using GNU Libtool, you may include this file under the
   20253 # same distribution terms that you use for the rest of that program.
   20254 #
   20255 # GNU Libtool is distributed in the hope that it will be useful,
   20256 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   20257 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   20258 # GNU General Public License for more details.
   20259 #
   20260 # You should have received a copy of the GNU General Public License
   20261 # along with GNU Libtool; see the file COPYING.  If not, a copy
   20262 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   20263 # obtained by writing to the Free Software Foundation, Inc.,
   20264 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   20265 
   20266 
   20267 # The names of the tagged configurations supported by this script.
   20268 available_tags=""
   20269 
   20270 # ### BEGIN LIBTOOL CONFIG
   20271 
   20272 # Whether or not to build static libraries.
   20273 build_old_libs=$enable_static
   20274 
   20275 # Which release of libtool.m4 was used?
   20276 macro_version=$macro_version
   20277 macro_revision=$macro_revision
   20278 
   20279 # Whether or not to build shared libraries.
   20280 build_libtool_libs=$enable_shared
   20281 
   20282 # What type of objects to build.
   20283 pic_mode=$pic_mode
   20284 
   20285 # Whether or not to optimize for fast installation.
   20286 fast_install=$enable_fast_install
   20287 
   20288 # Shell to use when invoking shell scripts.
   20289 SHELL=$lt_SHELL
   20290 
   20291 # An echo program that protects backslashes.
   20292 ECHO=$lt_ECHO
   20293 
   20294 # The PATH separator for the build system.
   20295 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   20296 
   20297 # The host system.
   20298 host_alias=$host_alias
   20299 host=$host
   20300 host_os=$host_os
   20301 
   20302 # The build system.
   20303 build_alias=$build_alias
   20304 build=$build
   20305 build_os=$build_os
   20306 
   20307 # A sed program that does not truncate output.
   20308 SED=$lt_SED
   20309 
   20310 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   20311 Xsed="\$SED -e 1s/^X//"
   20312 
   20313 # A grep program that handles long lines.
   20314 GREP=$lt_GREP
   20315 
   20316 # An ERE matcher.
   20317 EGREP=$lt_EGREP
   20318 
   20319 # A literal string matcher.
   20320 FGREP=$lt_FGREP
   20321 
   20322 # A BSD- or MS-compatible name lister.
   20323 NM=$lt_NM
   20324 
   20325 # Whether we need soft or hard links.
   20326 LN_S=$lt_LN_S
   20327 
   20328 # What is the maximum length of a command?
   20329 max_cmd_len=$max_cmd_len
   20330 
   20331 # Object file suffix (normally "o").
   20332 objext=$ac_objext
   20333 
   20334 # Executable file suffix (normally "").
   20335 exeext=$exeext
   20336 
   20337 # whether the shell understands "unset".
   20338 lt_unset=$lt_unset
   20339 
   20340 # turn spaces into newlines.
   20341 SP2NL=$lt_lt_SP2NL
   20342 
   20343 # turn newlines into spaces.
   20344 NL2SP=$lt_lt_NL2SP
   20345 
   20346 # convert \$build file names to \$host format.
   20347 to_host_file_cmd=$lt_cv_to_host_file_cmd
   20348 
   20349 # convert \$build files to toolchain format.
   20350 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   20351 
   20352 # An object symbol dumper.
   20353 OBJDUMP=$lt_OBJDUMP
   20354 
   20355 # Method to check whether dependent libraries are shared objects.
   20356 deplibs_check_method=$lt_deplibs_check_method
   20357 
   20358 # Command to use when deplibs_check_method = "file_magic".
   20359 file_magic_cmd=$lt_file_magic_cmd
   20360 
   20361 # How to find potential files when deplibs_check_method = "file_magic".
   20362 file_magic_glob=$lt_file_magic_glob
   20363 
   20364 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   20365 want_nocaseglob=$lt_want_nocaseglob
   20366 
   20367 # DLL creation program.
   20368 DLLTOOL=$lt_DLLTOOL
   20369 
   20370 # Command to associate shared and link libraries.
   20371 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   20372 
   20373 # The archiver.
   20374 AR=$lt_AR
   20375 
   20376 # Flags to create an archive.
   20377 AR_FLAGS=$lt_AR_FLAGS
   20378 
   20379 # How to feed a file listing to the archiver.
   20380 archiver_list_spec=$lt_archiver_list_spec
   20381 
   20382 # A symbol stripping program.
   20383 STRIP=$lt_STRIP
   20384 
   20385 # Commands used to install an old-style archive.
   20386 RANLIB=$lt_RANLIB
   20387 old_postinstall_cmds=$lt_old_postinstall_cmds
   20388 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   20389 
   20390 # Whether to use a lock for old archive extraction.
   20391 lock_old_archive_extraction=$lock_old_archive_extraction
   20392 
   20393 # A C compiler.
   20394 LTCC=$lt_CC
   20395 
   20396 # LTCC compiler flags.
   20397 LTCFLAGS=$lt_CFLAGS
   20398 
   20399 # Take the output of nm and produce a listing of raw symbols and C names.
   20400 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   20401 
   20402 # Transform the output of nm in a proper C declaration.
   20403 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   20404 
   20405 # Transform the output of nm in a C name address pair.
   20406 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   20407 
   20408 # Transform the output of nm in a C name address pair when lib prefix is needed.
   20409 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   20410 
   20411 # Specify filename containing input files for \$NM.
   20412 nm_file_list_spec=$lt_nm_file_list_spec
   20413 
   20414 # The root where to search for dependent libraries,and in which our libraries should be installed.
   20415 lt_sysroot=$lt_sysroot
   20416 
   20417 # The name of the directory that contains temporary libtool files.
   20418 objdir=$objdir
   20419 
   20420 # Used to examine libraries when file_magic_cmd begins with "file".
   20421 MAGIC_CMD=$MAGIC_CMD
   20422 
   20423 # Must we lock files when doing compilation?
   20424 need_locks=$lt_need_locks
   20425 
   20426 # Manifest tool.
   20427 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   20428 
   20429 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   20430 DSYMUTIL=$lt_DSYMUTIL
   20431 
   20432 # Tool to change global to local symbols on Mac OS X.
   20433 NMEDIT=$lt_NMEDIT
   20434 
   20435 # Tool to manipulate fat objects and archives on Mac OS X.
   20436 LIPO=$lt_LIPO
   20437 
   20438 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   20439 OTOOL=$lt_OTOOL
   20440 
   20441 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   20442 OTOOL64=$lt_OTOOL64
   20443 
   20444 # Old archive suffix (normally "a").
   20445 libext=$libext
   20446 
   20447 # Shared library suffix (normally ".so").
   20448 shrext_cmds=$lt_shrext_cmds
   20449 
   20450 # The commands to extract the exported symbol list from a shared archive.
   20451 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   20452 
   20453 # Variables whose values should be saved in libtool wrapper scripts and
   20454 # restored at link time.
   20455 variables_saved_for_relink=$lt_variables_saved_for_relink
   20456 
   20457 # Do we need the "lib" prefix for modules?
   20458 need_lib_prefix=$need_lib_prefix
   20459 
   20460 # Do we need a version for libraries?
   20461 need_version=$need_version
   20462 
   20463 # Library versioning type.
   20464 version_type=$version_type
   20465 
   20466 # Shared library runtime path variable.
   20467 runpath_var=$runpath_var
   20468 
   20469 # Shared library path variable.
   20470 shlibpath_var=$shlibpath_var
   20471 
   20472 # Is shlibpath searched before the hard-coded library search path?
   20473 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   20474 
   20475 # Format of library name prefix.
   20476 libname_spec=$lt_libname_spec
   20477 
   20478 # List of archive names.  First name is the real one, the rest are links.
   20479 # The last name is the one that the linker finds with -lNAME
   20480 library_names_spec=$lt_library_names_spec
   20481 
   20482 # The coded name of the library, if different from the real name.
   20483 soname_spec=$lt_soname_spec
   20484 
   20485 # Permission mode override for installation of shared libraries.
   20486 install_override_mode=$lt_install_override_mode
   20487 
   20488 # Command to use after installation of a shared archive.
   20489 postinstall_cmds=$lt_postinstall_cmds
   20490 
   20491 # Command to use after uninstallation of a shared archive.
   20492 postuninstall_cmds=$lt_postuninstall_cmds
   20493 
   20494 # Commands used to finish a libtool library installation in a directory.
   20495 finish_cmds=$lt_finish_cmds
   20496 
   20497 # As "finish_cmds", except a single script fragment to be evaled but
   20498 # not shown.
   20499 finish_eval=$lt_finish_eval
   20500 
   20501 # Whether we should hardcode library paths into libraries.
   20502 hardcode_into_libs=$hardcode_into_libs
   20503 
   20504 # Compile-time system search path for libraries.
   20505 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   20506 
   20507 # Run-time system search path for libraries.
   20508 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   20509 
   20510 # Whether dlopen is supported.
   20511 dlopen_support=$enable_dlopen
   20512 
   20513 # Whether dlopen of programs is supported.
   20514 dlopen_self=$enable_dlopen_self
   20515 
   20516 # Whether dlopen of statically linked programs is supported.
   20517 dlopen_self_static=$enable_dlopen_self_static
   20518 
   20519 # Commands to strip libraries.
   20520 old_striplib=$lt_old_striplib
   20521 striplib=$lt_striplib
   20522 
   20523 
   20524 # The linker used to build libraries.
   20525 LD=$lt_LD
   20526 
   20527 # How to create reloadable object files.
   20528 reload_flag=$lt_reload_flag
   20529 reload_cmds=$lt_reload_cmds
   20530 
   20531 # Commands used to build an old-style archive.
   20532 old_archive_cmds=$lt_old_archive_cmds
   20533 
   20534 # A language specific compiler.
   20535 CC=$lt_compiler
   20536 
   20537 # Is the compiler the GNU compiler?
   20538 with_gcc=$GCC
   20539 
   20540 # Compiler flag to turn off builtin functions.
   20541 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   20542 
   20543 # Additional compiler flags for building library objects.
   20544 pic_flag=$lt_lt_prog_compiler_pic
   20545 
   20546 # How to pass a linker flag through the compiler.
   20547 wl=$lt_lt_prog_compiler_wl
   20548 
   20549 # Compiler flag to prevent dynamic linking.
   20550 link_static_flag=$lt_lt_prog_compiler_static
   20551 
   20552 # Does compiler simultaneously support -c and -o options?
   20553 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   20554 
   20555 # Whether or not to add -lc for building shared libraries.
   20556 build_libtool_need_lc=$archive_cmds_need_lc
   20557 
   20558 # Whether or not to disallow shared libs when runtime libs are static.
   20559 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   20560 
   20561 # Compiler flag to allow reflexive dlopens.
   20562 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   20563 
   20564 # Compiler flag to generate shared objects directly from archives.
   20565 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   20566 
   20567 # Whether the compiler copes with passing no objects directly.
   20568 compiler_needs_object=$lt_compiler_needs_object
   20569 
   20570 # Create an old-style archive from a shared archive.
   20571 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   20572 
   20573 # Create a temporary old-style archive to link instead of a shared archive.
   20574 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   20575 
   20576 # Commands used to build a shared archive.
   20577 archive_cmds=$lt_archive_cmds
   20578 archive_expsym_cmds=$lt_archive_expsym_cmds
   20579 
   20580 # Commands used to build a loadable module if different from building
   20581 # a shared archive.
   20582 module_cmds=$lt_module_cmds
   20583 module_expsym_cmds=$lt_module_expsym_cmds
   20584 
   20585 # Whether we are building with GNU ld or not.
   20586 with_gnu_ld=$lt_with_gnu_ld
   20587 
   20588 # Flag that allows shared libraries with undefined symbols to be built.
   20589 allow_undefined_flag=$lt_allow_undefined_flag
   20590 
   20591 # Flag that enforces no undefined symbols.
   20592 no_undefined_flag=$lt_no_undefined_flag
   20593 
   20594 # Flag to hardcode \$libdir into a binary during linking.
   20595 # This must work even if \$libdir does not exist
   20596 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   20597 
   20598 # Whether we need a single "-rpath" flag with a separated argument.
   20599 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   20600 
   20601 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   20602 # DIR into the resulting binary.
   20603 hardcode_direct=$hardcode_direct
   20604 
   20605 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   20606 # DIR into the resulting binary and the resulting library dependency is
   20607 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   20608 # library is relocated.
   20609 hardcode_direct_absolute=$hardcode_direct_absolute
   20610 
   20611 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   20612 # into the resulting binary.
   20613 hardcode_minus_L=$hardcode_minus_L
   20614 
   20615 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   20616 # into the resulting binary.
   20617 hardcode_shlibpath_var=$hardcode_shlibpath_var
   20618 
   20619 # Set to "yes" if building a shared library automatically hardcodes DIR
   20620 # into the library and all subsequent libraries and executables linked
   20621 # against it.
   20622 hardcode_automatic=$hardcode_automatic
   20623 
   20624 # Set to yes if linker adds runtime paths of dependent libraries
   20625 # to runtime path list.
   20626 inherit_rpath=$inherit_rpath
   20627 
   20628 # Whether libtool must link a program against all its dependency libraries.
   20629 link_all_deplibs=$link_all_deplibs
   20630 
   20631 # Set to "yes" if exported symbols are required.
   20632 always_export_symbols=$always_export_symbols
   20633 
   20634 # The commands to list exported symbols.
   20635 export_symbols_cmds=$lt_export_symbols_cmds
   20636 
   20637 # Symbols that should not be listed in the preloaded symbols.
   20638 exclude_expsyms=$lt_exclude_expsyms
   20639 
   20640 # Symbols that must always be exported.
   20641 include_expsyms=$lt_include_expsyms
   20642 
   20643 # Commands necessary for linking programs (against libraries) with templates.
   20644 prelink_cmds=$lt_prelink_cmds
   20645 
   20646 # Commands necessary for finishing linking programs.
   20647 postlink_cmds=$lt_postlink_cmds
   20648 
   20649 # Specify filename containing input files.
   20650 file_list_spec=$lt_file_list_spec
   20651 
   20652 # How to hardcode a shared library path into an executable.
   20653 hardcode_action=$hardcode_action
   20654 
   20655 # ### END LIBTOOL CONFIG
   20656 
   20657 _LT_EOF
   20658 
   20659   case $host_os in
   20660   aix3*)
   20661     cat <<\_LT_EOF >> "$cfgfile"
   20662 # AIX sometimes has problems with the GCC collect2 program.  For some
   20663 # reason, if we set the COLLECT_NAMES environment variable, the problems
   20664 # vanish in a puff of smoke.
   20665 if test "X${COLLECT_NAMES+set}" != Xset; then
   20666   COLLECT_NAMES=
   20667   export COLLECT_NAMES
   20668 fi
   20669 _LT_EOF
   20670     ;;
   20671   esac
   20672 
   20673 
   20674 ltmain="$ac_aux_dir/ltmain.sh"
   20675 
   20676 
   20677   # We use sed instead of cat because bash on DJGPP gets confused if
   20678   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   20679   # text mode, it properly converts lines to CR/LF.  This bash problem
   20680   # is reportedly fixed, but why not run on old versions too?
   20681   sed '$q' "$ltmain" >> "$cfgfile" \
   20682      || (rm -f "$cfgfile"; exit 1)
   20683 
   20684   if test x"$xsi_shell" = xyes; then
   20685   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
   20686 func_dirname ()\
   20687 {\
   20688 \    case ${1} in\
   20689 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   20690 \      *  ) func_dirname_result="${3}" ;;\
   20691 \    esac\
   20692 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
   20693   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20694     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20695 test 0 -eq $? || _lt_function_replace_fail=:
   20696 
   20697 
   20698   sed -e '/^func_basename ()$/,/^} # func_basename /c\
   20699 func_basename ()\
   20700 {\
   20701 \    func_basename_result="${1##*/}"\
   20702 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
   20703   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20704     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20705 test 0 -eq $? || _lt_function_replace_fail=:
   20706 
   20707 
   20708   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
   20709 func_dirname_and_basename ()\
   20710 {\
   20711 \    case ${1} in\
   20712 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   20713 \      *  ) func_dirname_result="${3}" ;;\
   20714 \    esac\
   20715 \    func_basename_result="${1##*/}"\
   20716 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
   20717   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20718     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20719 test 0 -eq $? || _lt_function_replace_fail=:
   20720 
   20721 
   20722   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
   20723 func_stripname ()\
   20724 {\
   20725 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
   20726 \    # positional parameters, so assign one to ordinary parameter first.\
   20727 \    func_stripname_result=${3}\
   20728 \    func_stripname_result=${func_stripname_result#"${1}"}\
   20729 \    func_stripname_result=${func_stripname_result%"${2}"}\
   20730 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
   20731   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20732     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20733 test 0 -eq $? || _lt_function_replace_fail=:
   20734 
   20735 
   20736   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
   20737 func_split_long_opt ()\
   20738 {\
   20739 \    func_split_long_opt_name=${1%%=*}\
   20740 \    func_split_long_opt_arg=${1#*=}\
   20741 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
   20742   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20743     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20744 test 0 -eq $? || _lt_function_replace_fail=:
   20745 
   20746 
   20747   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
   20748 func_split_short_opt ()\
   20749 {\
   20750 \    func_split_short_opt_arg=${1#??}\
   20751 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
   20752 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
   20753   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20754     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20755 test 0 -eq $? || _lt_function_replace_fail=:
   20756 
   20757 
   20758   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
   20759 func_lo2o ()\
   20760 {\
   20761 \    case ${1} in\
   20762 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
   20763 \      *)    func_lo2o_result=${1} ;;\
   20764 \    esac\
   20765 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
   20766   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20767     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20768 test 0 -eq $? || _lt_function_replace_fail=:
   20769 
   20770 
   20771   sed -e '/^func_xform ()$/,/^} # func_xform /c\
   20772 func_xform ()\
   20773 {\
   20774     func_xform_result=${1%.*}.lo\
   20775 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
   20776   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20777     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20778 test 0 -eq $? || _lt_function_replace_fail=:
   20779 
   20780 
   20781   sed -e '/^func_arith ()$/,/^} # func_arith /c\
   20782 func_arith ()\
   20783 {\
   20784     func_arith_result=$(( $* ))\
   20785 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
   20786   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20787     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20788 test 0 -eq $? || _lt_function_replace_fail=:
   20789 
   20790 
   20791   sed -e '/^func_len ()$/,/^} # func_len /c\
   20792 func_len ()\
   20793 {\
   20794     func_len_result=${#1}\
   20795 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
   20796   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20797     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20798 test 0 -eq $? || _lt_function_replace_fail=:
   20799 
   20800 fi
   20801 
   20802 if test x"$lt_shell_append" = xyes; then
   20803   sed -e '/^func_append ()$/,/^} # func_append /c\
   20804 func_append ()\
   20805 {\
   20806     eval "${1}+=\\${2}"\
   20807 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
   20808   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20809     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20810 test 0 -eq $? || _lt_function_replace_fail=:
   20811 
   20812 
   20813   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
   20814 func_append_quoted ()\
   20815 {\
   20816 \    func_quote_for_eval "${2}"\
   20817 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
   20818 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
   20819   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20820     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20821 test 0 -eq $? || _lt_function_replace_fail=:
   20822 
   20823 
   20824   # Save a `func_append' function call where possible by direct use of '+='
   20825   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
   20826     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20827       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20828   test 0 -eq $? || _lt_function_replace_fail=:
   20829 else
   20830   # Save a `func_append' function call even when '+=' is not available
   20831   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
   20832     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20833       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20834   test 0 -eq $? || _lt_function_replace_fail=:
   20835 fi
   20836 
   20837 if test x"$_lt_function_replace_fail" = x":"; then
   20838   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
   20839 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
   20840 fi
   20841 
   20842 
   20843    mv -f "$cfgfile" "$ofile" ||
   20844     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   20845   chmod +x "$ofile"
   20846 
   20847  ;;
   20848 
   20849   esac
   20850 done # for ac_tag
   20851 
   20852 
   20853 as_fn_exit 0
   20854 _ACEOF
   20855 ac_clean_files=$ac_clean_files_save
   20856 
   20857 test $ac_write_fail = 0 ||
   20858   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   20859 
   20860 
   20861 # configure is writing to config.log, and then calls config.status.
   20862 # config.status does its own redirection, appending to config.log.
   20863 # Unfortunately, on DOS this fails, as config.log is still kept open
   20864 # by configure, so config.status won't be able to write to it; its
   20865 # output is simply discarded.  So we exec the FD to /dev/null,
   20866 # effectively closing config.log, so it can be properly (re)opened and
   20867 # appended to by config.status.  When coming back to configure, we
   20868 # need to make the FD available again.
   20869 if test "$no_create" != yes; then
   20870   ac_cs_success=:
   20871   ac_config_status_args=
   20872   test "$silent" = yes &&
   20873     ac_config_status_args="$ac_config_status_args --quiet"
   20874   exec 5>/dev/null
   20875   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   20876   exec 5>>config.log
   20877   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   20878   # would make configure fail if this is the last instruction.
   20879   $ac_cs_success || as_fn_exit 1
   20880 fi
   20881 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   20882   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   20883 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   20884 fi
   20885 
   20886