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 libXtst 1.2.2.
      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 
    178   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    179     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    180     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    181     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    182     PATH=/empty FPATH=/empty; export PATH FPATH
    183     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    184       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
    185 test \$(( 1 + 1 )) = 2 || 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 as_awk_strverscmp='
    551   # Use only awk features that work with 7th edition Unix awk (1978).
    552   # My, what an old awk you have, Mr. Solaris!
    553   END {
    554     while (length(v1) && length(v2)) {
    555       # Set d1 to be the next thing to compare from v1, and likewise for d2.
    556       # Normally this is a single character, but if v1 and v2 contain digits,
    557       # compare them as integers and fractions as strverscmp does.
    558       if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
    559 	# Split v1 and v2 into their leading digit string components d1 and d2,
    560 	# and advance v1 and v2 past the leading digit strings.
    561 	for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
    562 	for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
    563 	d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
    564 	d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
    565 	if (d1 ~ /^0/) {
    566 	  if (d2 ~ /^0/) {
    567 	    # Compare two fractions.
    568 	    while (d1 ~ /^0/ && d2 ~ /^0/) {
    569 	      d1 = substr(d1, 2); len1--
    570 	      d2 = substr(d2, 2); len2--
    571 	    }
    572 	    if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
    573 	      # The two components differ in length, and the common prefix
    574 	      # contains only leading zeros.  Consider the longer to be less.
    575 	      d1 = -len1
    576 	      d2 = -len2
    577 	    } else {
    578 	      # Otherwise, compare as strings.
    579 	      d1 = "x" d1
    580 	      d2 = "x" d2
    581 	    }
    582 	  } else {
    583 	    # A fraction is less than an integer.
    584 	    exit 1
    585 	  }
    586 	} else {
    587 	  if (d2 ~ /^0/) {
    588 	    # An integer is greater than a fraction.
    589 	    exit 2
    590 	  } else {
    591 	    # Compare two integers.
    592 	    d1 += 0
    593 	    d2 += 0
    594 	  }
    595 	}
    596       } else {
    597 	# The normal case, without worrying about digits.
    598 	d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
    599 	d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
    600       }
    601       if (d1 < d2) exit 1
    602       if (d1 > d2) exit 2
    603     }
    604     # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
    605     # which mishandles some comparisons of empty strings to integers.
    606     if (length(v2)) exit 1
    607     if (length(v1)) exit 2
    608   }
    609 '
    610 
    611 test -n "$DJDIR" || exec 7<&0 </dev/null
    612 exec 6>&1
    613 
    614 # Name of the host.
    615 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    616 # so uname gets run too.
    617 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    618 
    619 #
    620 # Initializations.
    621 #
    622 ac_default_prefix=/usr/local
    623 ac_clean_files=
    624 ac_config_libobj_dir=.
    625 LIBOBJS=
    626 cross_compiling=no
    627 subdirs=
    628 MFLAGS=
    629 MAKEFLAGS=
    630 
    631 # Identity of this package.
    632 PACKAGE_NAME='libXtst'
    633 PACKAGE_TARNAME='libXtst'
    634 PACKAGE_VERSION='1.2.2'
    635 PACKAGE_STRING='libXtst 1.2.2'
    636 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    637 PACKAGE_URL=''
    638 
    639 ac_unique_file="Makefile.am"
    640 # Factoring default headers for most tests.
    641 ac_includes_default="\
    642 #include <stdio.h>
    643 #ifdef HAVE_SYS_TYPES_H
    644 # include <sys/types.h>
    645 #endif
    646 #ifdef HAVE_SYS_STAT_H
    647 # include <sys/stat.h>
    648 #endif
    649 #ifdef STDC_HEADERS
    650 # include <stdlib.h>
    651 # include <stddef.h>
    652 #else
    653 # ifdef HAVE_STDLIB_H
    654 #  include <stdlib.h>
    655 # endif
    656 #endif
    657 #ifdef HAVE_STRING_H
    658 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    659 #  include <memory.h>
    660 # endif
    661 # include <string.h>
    662 #endif
    663 #ifdef HAVE_STRINGS_H
    664 # include <strings.h>
    665 #endif
    666 #ifdef HAVE_INTTYPES_H
    667 # include <inttypes.h>
    668 #endif
    669 #ifdef HAVE_STDINT_H
    670 # include <stdint.h>
    671 #endif
    672 #ifdef HAVE_UNISTD_H
    673 # include <unistd.h>
    674 #endif"
    675 
    676 ac_subst_vars='am__EXEEXT_FALSE
    677 am__EXEEXT_TRUE
    678 LTLIBOBJS
    679 LIBOBJS
    680 MAKE_LINT_LIB_FALSE
    681 MAKE_LINT_LIB_TRUE
    682 LINTLIB
    683 LINT_FALSE
    684 LINT_TRUE
    685 LINT_FLAGS
    686 LINT
    687 INSTALL_MANPAGES_FALSE
    688 INSTALL_MANPAGES_TRUE
    689 XTST_LIBS
    690 XTST_CFLAGS
    691 HAVE_STYLESHEETS_FALSE
    692 HAVE_STYLESHEETS_TRUE
    693 XSL_STYLESHEET
    694 STYLESHEET_SRCDIR
    695 XORG_SGML_PATH
    696 HAVE_XSLTPROC_FALSE
    697 HAVE_XSLTPROC_TRUE
    698 XSLTPROC
    699 HAVE_FOP_FALSE
    700 HAVE_FOP_TRUE
    701 FOP
    702 HAVE_XMLTO_FALSE
    703 HAVE_XMLTO_TRUE
    704 HAVE_XMLTO_TEXT_FALSE
    705 HAVE_XMLTO_TEXT_TRUE
    706 XMLTO
    707 ENABLE_SPECS_FALSE
    708 ENABLE_SPECS_TRUE
    709 MAN_SUBSTS
    710 XORG_MAN_PAGE
    711 ADMIN_MAN_DIR
    712 DRIVER_MAN_DIR
    713 MISC_MAN_DIR
    714 FILE_MAN_DIR
    715 LIB_MAN_DIR
    716 APP_MAN_DIR
    717 ADMIN_MAN_SUFFIX
    718 DRIVER_MAN_SUFFIX
    719 MISC_MAN_SUFFIX
    720 FILE_MAN_SUFFIX
    721 LIB_MAN_SUFFIX
    722 APP_MAN_SUFFIX
    723 INSTALL_CMD
    724 PKG_CONFIG
    725 CHANGELOG_CMD
    726 STRICT_CFLAGS
    727 CWARNFLAGS
    728 BASE_CFLAGS
    729 CPP
    730 OTOOL64
    731 OTOOL
    732 LIPO
    733 NMEDIT
    734 DSYMUTIL
    735 MANIFEST_TOOL
    736 RANLIB
    737 ac_ct_AR
    738 AR
    739 DLLTOOL
    740 OBJDUMP
    741 LN_S
    742 NM
    743 ac_ct_DUMPBIN
    744 DUMPBIN
    745 LD
    746 FGREP
    747 EGREP
    748 GREP
    749 SED
    750 am__fastdepCC_FALSE
    751 am__fastdepCC_TRUE
    752 CCDEPMODE
    753 am__nodep
    754 AMDEPBACKSLASH
    755 AMDEP_FALSE
    756 AMDEP_TRUE
    757 am__quote
    758 am__include
    759 DEPDIR
    760 OBJEXT
    761 EXEEXT
    762 ac_ct_CC
    763 CPPFLAGS
    764 LDFLAGS
    765 CFLAGS
    766 CC
    767 host_os
    768 host_vendor
    769 host_cpu
    770 host
    771 build_os
    772 build_vendor
    773 build_cpu
    774 build
    775 LIBTOOL
    776 AM_BACKSLASH
    777 AM_DEFAULT_VERBOSITY
    778 AM_DEFAULT_V
    779 AM_V
    780 am__untar
    781 am__tar
    782 AMTAR
    783 am__leading_dot
    784 SET_MAKE
    785 AWK
    786 mkdir_p
    787 MKDIR_P
    788 INSTALL_STRIP_PROGRAM
    789 STRIP
    790 install_sh
    791 MAKEINFO
    792 AUTOHEADER
    793 AUTOMAKE
    794 AUTOCONF
    795 ACLOCAL
    796 VERSION
    797 PACKAGE
    798 CYGPATH_W
    799 am__isrc
    800 INSTALL_DATA
    801 INSTALL_SCRIPT
    802 INSTALL_PROGRAM
    803 target_alias
    804 host_alias
    805 build_alias
    806 LIBS
    807 ECHO_T
    808 ECHO_N
    809 ECHO_C
    810 DEFS
    811 mandir
    812 localedir
    813 libdir
    814 psdir
    815 pdfdir
    816 dvidir
    817 htmldir
    818 infodir
    819 docdir
    820 oldincludedir
    821 includedir
    822 localstatedir
    823 sharedstatedir
    824 sysconfdir
    825 datadir
    826 datarootdir
    827 libexecdir
    828 sbindir
    829 bindir
    830 program_transform_name
    831 prefix
    832 exec_prefix
    833 PACKAGE_URL
    834 PACKAGE_BUGREPORT
    835 PACKAGE_STRING
    836 PACKAGE_VERSION
    837 PACKAGE_TARNAME
    838 PACKAGE_NAME
    839 PATH_SEPARATOR
    840 SHELL'
    841 ac_subst_files=''
    842 ac_user_opts='
    843 enable_option_checking
    844 enable_silent_rules
    845 enable_shared
    846 enable_static
    847 with_pic
    848 enable_fast_install
    849 enable_dependency_tracking
    850 with_gnu_ld
    851 with_sysroot
    852 enable_libtool_lock
    853 enable_selective_werror
    854 enable_strict_compilation
    855 enable_specs
    856 with_xmlto
    857 with_fop
    858 with_xsltproc
    859 with_lint
    860 enable_lint_library
    861 '
    862       ac_precious_vars='build_alias
    863 host_alias
    864 target_alias
    865 CC
    866 CFLAGS
    867 LDFLAGS
    868 LIBS
    869 CPPFLAGS
    870 CPP
    871 PKG_CONFIG
    872 XMLTO
    873 FOP
    874 XSLTPROC
    875 XTST_CFLAGS
    876 XTST_LIBS
    877 LINT
    878 LINT_FLAGS'
    879 
    880 
    881 # Initialize some variables set by options.
    882 ac_init_help=
    883 ac_init_version=false
    884 ac_unrecognized_opts=
    885 ac_unrecognized_sep=
    886 # The variables have the same names as the options, with
    887 # dashes changed to underlines.
    888 cache_file=/dev/null
    889 exec_prefix=NONE
    890 no_create=
    891 no_recursion=
    892 prefix=NONE
    893 program_prefix=NONE
    894 program_suffix=NONE
    895 program_transform_name=s,x,x,
    896 silent=
    897 site=
    898 srcdir=
    899 verbose=
    900 x_includes=NONE
    901 x_libraries=NONE
    902 
    903 # Installation directory options.
    904 # These are left unexpanded so users can "make install exec_prefix=/foo"
    905 # and all the variables that are supposed to be based on exec_prefix
    906 # by default will actually change.
    907 # Use braces instead of parens because sh, perl, etc. also accept them.
    908 # (The list follows the same order as the GNU Coding Standards.)
    909 bindir='${exec_prefix}/bin'
    910 sbindir='${exec_prefix}/sbin'
    911 libexecdir='${exec_prefix}/libexec'
    912 datarootdir='${prefix}/share'
    913 datadir='${datarootdir}'
    914 sysconfdir='${prefix}/etc'
    915 sharedstatedir='${prefix}/com'
    916 localstatedir='${prefix}/var'
    917 includedir='${prefix}/include'
    918 oldincludedir='/usr/include'
    919 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    920 infodir='${datarootdir}/info'
    921 htmldir='${docdir}'
    922 dvidir='${docdir}'
    923 pdfdir='${docdir}'
    924 psdir='${docdir}'
    925 libdir='${exec_prefix}/lib'
    926 localedir='${datarootdir}/locale'
    927 mandir='${datarootdir}/man'
    928 
    929 ac_prev=
    930 ac_dashdash=
    931 for ac_option
    932 do
    933   # If the previous option needs an argument, assign it.
    934   if test -n "$ac_prev"; then
    935     eval $ac_prev=\$ac_option
    936     ac_prev=
    937     continue
    938   fi
    939 
    940   case $ac_option in
    941   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    942   *=)   ac_optarg= ;;
    943   *)    ac_optarg=yes ;;
    944   esac
    945 
    946   # Accept the important Cygnus configure options, so we can diagnose typos.
    947 
    948   case $ac_dashdash$ac_option in
    949   --)
    950     ac_dashdash=yes ;;
    951 
    952   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    953     ac_prev=bindir ;;
    954   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    955     bindir=$ac_optarg ;;
    956 
    957   -build | --build | --buil | --bui | --bu)
    958     ac_prev=build_alias ;;
    959   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    960     build_alias=$ac_optarg ;;
    961 
    962   -cache-file | --cache-file | --cache-fil | --cache-fi \
    963   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    964     ac_prev=cache_file ;;
    965   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    966   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    967     cache_file=$ac_optarg ;;
    968 
    969   --config-cache | -C)
    970     cache_file=config.cache ;;
    971 
    972   -datadir | --datadir | --datadi | --datad)
    973     ac_prev=datadir ;;
    974   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    975     datadir=$ac_optarg ;;
    976 
    977   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    978   | --dataroo | --dataro | --datar)
    979     ac_prev=datarootdir ;;
    980   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    981   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    982     datarootdir=$ac_optarg ;;
    983 
    984   -disable-* | --disable-*)
    985     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    986     # Reject names that are not valid shell variable names.
    987     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    988       as_fn_error $? "invalid feature name: $ac_useropt"
    989     ac_useropt_orig=$ac_useropt
    990     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    991     case $ac_user_opts in
    992       *"
    993 "enable_$ac_useropt"
    994 "*) ;;
    995       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    996 	 ac_unrecognized_sep=', ';;
    997     esac
    998     eval enable_$ac_useropt=no ;;
    999 
   1000   -docdir | --docdir | --docdi | --doc | --do)
   1001     ac_prev=docdir ;;
   1002   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1003     docdir=$ac_optarg ;;
   1004 
   1005   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1006     ac_prev=dvidir ;;
   1007   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1008     dvidir=$ac_optarg ;;
   1009 
   1010   -enable-* | --enable-*)
   1011     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1012     # Reject names that are not valid shell variable names.
   1013     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1014       as_fn_error $? "invalid feature name: $ac_useropt"
   1015     ac_useropt_orig=$ac_useropt
   1016     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1017     case $ac_user_opts in
   1018       *"
   1019 "enable_$ac_useropt"
   1020 "*) ;;
   1021       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1022 	 ac_unrecognized_sep=', ';;
   1023     esac
   1024     eval enable_$ac_useropt=\$ac_optarg ;;
   1025 
   1026   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1027   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1028   | --exec | --exe | --ex)
   1029     ac_prev=exec_prefix ;;
   1030   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1031   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1032   | --exec=* | --exe=* | --ex=*)
   1033     exec_prefix=$ac_optarg ;;
   1034 
   1035   -gas | --gas | --ga | --g)
   1036     # Obsolete; use --with-gas.
   1037     with_gas=yes ;;
   1038 
   1039   -help | --help | --hel | --he | -h)
   1040     ac_init_help=long ;;
   1041   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1042     ac_init_help=recursive ;;
   1043   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1044     ac_init_help=short ;;
   1045 
   1046   -host | --host | --hos | --ho)
   1047     ac_prev=host_alias ;;
   1048   -host=* | --host=* | --hos=* | --ho=*)
   1049     host_alias=$ac_optarg ;;
   1050 
   1051   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1052     ac_prev=htmldir ;;
   1053   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1054   | --ht=*)
   1055     htmldir=$ac_optarg ;;
   1056 
   1057   -includedir | --includedir | --includedi | --included | --include \
   1058   | --includ | --inclu | --incl | --inc)
   1059     ac_prev=includedir ;;
   1060   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1061   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1062     includedir=$ac_optarg ;;
   1063 
   1064   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1065     ac_prev=infodir ;;
   1066   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1067     infodir=$ac_optarg ;;
   1068 
   1069   -libdir | --libdir | --libdi | --libd)
   1070     ac_prev=libdir ;;
   1071   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1072     libdir=$ac_optarg ;;
   1073 
   1074   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1075   | --libexe | --libex | --libe)
   1076     ac_prev=libexecdir ;;
   1077   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1078   | --libexe=* | --libex=* | --libe=*)
   1079     libexecdir=$ac_optarg ;;
   1080 
   1081   -localedir | --localedir | --localedi | --localed | --locale)
   1082     ac_prev=localedir ;;
   1083   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1084     localedir=$ac_optarg ;;
   1085 
   1086   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1087   | --localstate | --localstat | --localsta | --localst | --locals)
   1088     ac_prev=localstatedir ;;
   1089   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1090   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1091     localstatedir=$ac_optarg ;;
   1092 
   1093   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1094     ac_prev=mandir ;;
   1095   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1096     mandir=$ac_optarg ;;
   1097 
   1098   -nfp | --nfp | --nf)
   1099     # Obsolete; use --without-fp.
   1100     with_fp=no ;;
   1101 
   1102   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1103   | --no-cr | --no-c | -n)
   1104     no_create=yes ;;
   1105 
   1106   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1107   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1108     no_recursion=yes ;;
   1109 
   1110   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1111   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1112   | --oldin | --oldi | --old | --ol | --o)
   1113     ac_prev=oldincludedir ;;
   1114   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1115   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1116   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1117     oldincludedir=$ac_optarg ;;
   1118 
   1119   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1120     ac_prev=prefix ;;
   1121   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1122     prefix=$ac_optarg ;;
   1123 
   1124   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1125   | --program-pre | --program-pr | --program-p)
   1126     ac_prev=program_prefix ;;
   1127   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1128   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1129     program_prefix=$ac_optarg ;;
   1130 
   1131   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1132   | --program-suf | --program-su | --program-s)
   1133     ac_prev=program_suffix ;;
   1134   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1135   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1136     program_suffix=$ac_optarg ;;
   1137 
   1138   -program-transform-name | --program-transform-name \
   1139   | --program-transform-nam | --program-transform-na \
   1140   | --program-transform-n | --program-transform- \
   1141   | --program-transform | --program-transfor \
   1142   | --program-transfo | --program-transf \
   1143   | --program-trans | --program-tran \
   1144   | --progr-tra | --program-tr | --program-t)
   1145     ac_prev=program_transform_name ;;
   1146   -program-transform-name=* | --program-transform-name=* \
   1147   | --program-transform-nam=* | --program-transform-na=* \
   1148   | --program-transform-n=* | --program-transform-=* \
   1149   | --program-transform=* | --program-transfor=* \
   1150   | --program-transfo=* | --program-transf=* \
   1151   | --program-trans=* | --program-tran=* \
   1152   | --progr-tra=* | --program-tr=* | --program-t=*)
   1153     program_transform_name=$ac_optarg ;;
   1154 
   1155   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1156     ac_prev=pdfdir ;;
   1157   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1158     pdfdir=$ac_optarg ;;
   1159 
   1160   -psdir | --psdir | --psdi | --psd | --ps)
   1161     ac_prev=psdir ;;
   1162   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1163     psdir=$ac_optarg ;;
   1164 
   1165   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1166   | -silent | --silent | --silen | --sile | --sil)
   1167     silent=yes ;;
   1168 
   1169   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1170     ac_prev=sbindir ;;
   1171   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1172   | --sbi=* | --sb=*)
   1173     sbindir=$ac_optarg ;;
   1174 
   1175   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1176   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1177   | --sharedst | --shareds | --shared | --share | --shar \
   1178   | --sha | --sh)
   1179     ac_prev=sharedstatedir ;;
   1180   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1181   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1182   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1183   | --sha=* | --sh=*)
   1184     sharedstatedir=$ac_optarg ;;
   1185 
   1186   -site | --site | --sit)
   1187     ac_prev=site ;;
   1188   -site=* | --site=* | --sit=*)
   1189     site=$ac_optarg ;;
   1190 
   1191   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1192     ac_prev=srcdir ;;
   1193   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1194     srcdir=$ac_optarg ;;
   1195 
   1196   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1197   | --syscon | --sysco | --sysc | --sys | --sy)
   1198     ac_prev=sysconfdir ;;
   1199   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1200   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1201     sysconfdir=$ac_optarg ;;
   1202 
   1203   -target | --target | --targe | --targ | --tar | --ta | --t)
   1204     ac_prev=target_alias ;;
   1205   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1206     target_alias=$ac_optarg ;;
   1207 
   1208   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1209     verbose=yes ;;
   1210 
   1211   -version | --version | --versio | --versi | --vers | -V)
   1212     ac_init_version=: ;;
   1213 
   1214   -with-* | --with-*)
   1215     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1216     # Reject names that are not valid shell variable names.
   1217     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1218       as_fn_error $? "invalid package name: $ac_useropt"
   1219     ac_useropt_orig=$ac_useropt
   1220     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1221     case $ac_user_opts in
   1222       *"
   1223 "with_$ac_useropt"
   1224 "*) ;;
   1225       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1226 	 ac_unrecognized_sep=', ';;
   1227     esac
   1228     eval with_$ac_useropt=\$ac_optarg ;;
   1229 
   1230   -without-* | --without-*)
   1231     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1232     # Reject names that are not valid shell variable names.
   1233     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1234       as_fn_error $? "invalid package name: $ac_useropt"
   1235     ac_useropt_orig=$ac_useropt
   1236     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1237     case $ac_user_opts in
   1238       *"
   1239 "with_$ac_useropt"
   1240 "*) ;;
   1241       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1242 	 ac_unrecognized_sep=', ';;
   1243     esac
   1244     eval with_$ac_useropt=no ;;
   1245 
   1246   --x)
   1247     # Obsolete; use --with-x.
   1248     with_x=yes ;;
   1249 
   1250   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1251   | --x-incl | --x-inc | --x-in | --x-i)
   1252     ac_prev=x_includes ;;
   1253   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1254   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1255     x_includes=$ac_optarg ;;
   1256 
   1257   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1258   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1259     ac_prev=x_libraries ;;
   1260   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1261   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1262     x_libraries=$ac_optarg ;;
   1263 
   1264   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1265 Try \`$0 --help' for more information"
   1266     ;;
   1267 
   1268   *=*)
   1269     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1270     # Reject names that are not valid shell variable names.
   1271     case $ac_envvar in #(
   1272       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1273       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1274     esac
   1275     eval $ac_envvar=\$ac_optarg
   1276     export $ac_envvar ;;
   1277 
   1278   *)
   1279     # FIXME: should be removed in autoconf 3.0.
   1280     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1281     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1282       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1283     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1284     ;;
   1285 
   1286   esac
   1287 done
   1288 
   1289 if test -n "$ac_prev"; then
   1290   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1291   as_fn_error $? "missing argument to $ac_option"
   1292 fi
   1293 
   1294 if test -n "$ac_unrecognized_opts"; then
   1295   case $enable_option_checking in
   1296     no) ;;
   1297     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1298     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1299   esac
   1300 fi
   1301 
   1302 # Check all directory arguments for consistency.
   1303 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1304 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1305 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1306 		libdir localedir mandir
   1307 do
   1308   eval ac_val=\$$ac_var
   1309   # Remove trailing slashes.
   1310   case $ac_val in
   1311     */ )
   1312       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1313       eval $ac_var=\$ac_val;;
   1314   esac
   1315   # Be sure to have absolute directory names.
   1316   case $ac_val in
   1317     [\\/$]* | ?:[\\/]* )  continue;;
   1318     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1319   esac
   1320   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1321 done
   1322 
   1323 # There might be people who depend on the old broken behavior: `$host'
   1324 # used to hold the argument of --host etc.
   1325 # FIXME: To remove some day.
   1326 build=$build_alias
   1327 host=$host_alias
   1328 target=$target_alias
   1329 
   1330 # FIXME: To remove some day.
   1331 if test "x$host_alias" != x; then
   1332   if test "x$build_alias" = x; then
   1333     cross_compiling=maybe
   1334     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1335     If a cross compiler is detected then cross compile mode will be used" >&2
   1336   elif test "x$build_alias" != "x$host_alias"; then
   1337     cross_compiling=yes
   1338   fi
   1339 fi
   1340 
   1341 ac_tool_prefix=
   1342 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1343 
   1344 test "$silent" = yes && exec 6>/dev/null
   1345 
   1346 
   1347 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1348 ac_ls_di=`ls -di .` &&
   1349 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1350   as_fn_error $? "working directory cannot be determined"
   1351 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1352   as_fn_error $? "pwd does not report name of working directory"
   1353 
   1354 
   1355 # Find the source files, if location was not specified.
   1356 if test -z "$srcdir"; then
   1357   ac_srcdir_defaulted=yes
   1358   # Try the directory containing this script, then the parent directory.
   1359   ac_confdir=`$as_dirname -- "$as_myself" ||
   1360 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1361 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1362 	 X"$as_myself" : 'X\(//\)$' \| \
   1363 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1364 $as_echo X"$as_myself" |
   1365     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1366 	    s//\1/
   1367 	    q
   1368 	  }
   1369 	  /^X\(\/\/\)[^/].*/{
   1370 	    s//\1/
   1371 	    q
   1372 	  }
   1373 	  /^X\(\/\/\)$/{
   1374 	    s//\1/
   1375 	    q
   1376 	  }
   1377 	  /^X\(\/\).*/{
   1378 	    s//\1/
   1379 	    q
   1380 	  }
   1381 	  s/.*/./; q'`
   1382   srcdir=$ac_confdir
   1383   if test ! -r "$srcdir/$ac_unique_file"; then
   1384     srcdir=..
   1385   fi
   1386 else
   1387   ac_srcdir_defaulted=no
   1388 fi
   1389 if test ! -r "$srcdir/$ac_unique_file"; then
   1390   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1391   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1392 fi
   1393 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1394 ac_abs_confdir=`(
   1395 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1396 	pwd)`
   1397 # When building in place, set srcdir=.
   1398 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1399   srcdir=.
   1400 fi
   1401 # Remove unnecessary trailing slashes from srcdir.
   1402 # Double slashes in file names in object file debugging info
   1403 # mess up M-x gdb in Emacs.
   1404 case $srcdir in
   1405 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1406 esac
   1407 for ac_var in $ac_precious_vars; do
   1408   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1409   eval ac_env_${ac_var}_value=\$${ac_var}
   1410   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1411   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1412 done
   1413 
   1414 #
   1415 # Report the --help message.
   1416 #
   1417 if test "$ac_init_help" = "long"; then
   1418   # Omit some internal or obsolete options to make the list less imposing.
   1419   # This message is too long to be a string in the A/UX 3.1 sh.
   1420   cat <<_ACEOF
   1421 \`configure' configures libXtst 1.2.2 to adapt to many kinds of systems.
   1422 
   1423 Usage: $0 [OPTION]... [VAR=VALUE]...
   1424 
   1425 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1426 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1427 
   1428 Defaults for the options are specified in brackets.
   1429 
   1430 Configuration:
   1431   -h, --help              display this help and exit
   1432       --help=short        display options specific to this package
   1433       --help=recursive    display the short help of all the included packages
   1434   -V, --version           display version information and exit
   1435   -q, --quiet, --silent   do not print \`checking ...' messages
   1436       --cache-file=FILE   cache test results in FILE [disabled]
   1437   -C, --config-cache      alias for \`--cache-file=config.cache'
   1438   -n, --no-create         do not create output files
   1439       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1440 
   1441 Installation directories:
   1442   --prefix=PREFIX         install architecture-independent files in PREFIX
   1443                           [$ac_default_prefix]
   1444   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1445                           [PREFIX]
   1446 
   1447 By default, \`make install' will install all the files in
   1448 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1449 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1450 for instance \`--prefix=\$HOME'.
   1451 
   1452 For better control, use the options below.
   1453 
   1454 Fine tuning of the installation directories:
   1455   --bindir=DIR            user executables [EPREFIX/bin]
   1456   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1457   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1458   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1459   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1460   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1461   --libdir=DIR            object code libraries [EPREFIX/lib]
   1462   --includedir=DIR        C header files [PREFIX/include]
   1463   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1464   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1465   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1466   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1467   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1468   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1469   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXtst]
   1470   --htmldir=DIR           html documentation [DOCDIR]
   1471   --dvidir=DIR            dvi documentation [DOCDIR]
   1472   --pdfdir=DIR            pdf documentation [DOCDIR]
   1473   --psdir=DIR             ps documentation [DOCDIR]
   1474 _ACEOF
   1475 
   1476   cat <<\_ACEOF
   1477 
   1478 Program names:
   1479   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1480   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1481   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1482 
   1483 System types:
   1484   --build=BUILD     configure for building on BUILD [guessed]
   1485   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1486 _ACEOF
   1487 fi
   1488 
   1489 if test -n "$ac_init_help"; then
   1490   case $ac_init_help in
   1491      short | recursive ) echo "Configuration of libXtst 1.2.2:";;
   1492    esac
   1493   cat <<\_ACEOF
   1494 
   1495 Optional Features:
   1496   --disable-option-checking  ignore unrecognized --enable/--with options
   1497   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1498   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1499   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1500   --disable-silent-rules  verbose build output (undo: "make V=0")
   1501   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1502   --enable-static[=PKGS]  build static libraries [default=yes]
   1503   --enable-fast-install[=PKGS]
   1504                           optimize for fast installation [default=yes]
   1505   --enable-dependency-tracking
   1506                           do not reject slow dependency extractors
   1507   --disable-dependency-tracking
   1508                           speeds up one-time build
   1509   --disable-libtool-lock  avoid locking (might break parallel builds)
   1510   --disable-selective-werror
   1511                           Turn off selective compiler errors. (default:
   1512                           enabled)
   1513   --enable-strict-compilation
   1514                           Enable all warnings from compiler and make them
   1515                           errors (default: disabled)
   1516   --enable-specs          Enable building the specs (default: yes)
   1517   --enable-lint-library   Create lint library (default: disabled)
   1518 
   1519 Optional Packages:
   1520   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1521   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1522   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1523                           both]
   1524   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1525   --with-sysroot=DIR Search for dependent libraries within DIR
   1526                         (or the compiler's sysroot if not specified).
   1527   --with-xmlto            Use xmlto to regenerate documentation (default:
   1528                           auto)
   1529   --with-fop              Use fop to regenerate documentation (default: auto)
   1530   --with-xsltproc         Use xsltproc for the transformation of XML documents
   1531                           (default: auto)
   1532   --with-lint             Use a lint-style source code checker (default:
   1533                           disabled)
   1534 
   1535 Some influential environment variables:
   1536   CC          C compiler command
   1537   CFLAGS      C compiler flags
   1538   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1539               nonstandard directory <lib dir>
   1540   LIBS        libraries to pass to the linker, e.g. -l<library>
   1541   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1542               you have headers in a nonstandard directory <include dir>
   1543   CPP         C preprocessor
   1544   PKG_CONFIG  path to pkg-config utility
   1545   XMLTO       Path to xmlto command
   1546   FOP         Path to fop command
   1547   XSLTPROC    Path to xsltproc command
   1548   XTST_CFLAGS C compiler flags for XTST, overriding pkg-config
   1549   XTST_LIBS   linker flags for XTST, overriding pkg-config
   1550   LINT        Path to a lint-style command
   1551   LINT_FLAGS  Flags for the lint-style command
   1552 
   1553 Use these variables to override the choices made by `configure' or to help
   1554 it to find libraries and programs with nonstandard names/locations.
   1555 
   1556 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1557 _ACEOF
   1558 ac_status=$?
   1559 fi
   1560 
   1561 if test "$ac_init_help" = "recursive"; then
   1562   # If there are subdirs, report their specific --help.
   1563   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1564     test -d "$ac_dir" ||
   1565       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1566       continue
   1567     ac_builddir=.
   1568 
   1569 case "$ac_dir" in
   1570 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1571 *)
   1572   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1573   # A ".." for each directory in $ac_dir_suffix.
   1574   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1575   case $ac_top_builddir_sub in
   1576   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1577   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1578   esac ;;
   1579 esac
   1580 ac_abs_top_builddir=$ac_pwd
   1581 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1582 # for backward compatibility:
   1583 ac_top_builddir=$ac_top_build_prefix
   1584 
   1585 case $srcdir in
   1586   .)  # We are building in place.
   1587     ac_srcdir=.
   1588     ac_top_srcdir=$ac_top_builddir_sub
   1589     ac_abs_top_srcdir=$ac_pwd ;;
   1590   [\\/]* | ?:[\\/]* )  # Absolute name.
   1591     ac_srcdir=$srcdir$ac_dir_suffix;
   1592     ac_top_srcdir=$srcdir
   1593     ac_abs_top_srcdir=$srcdir ;;
   1594   *) # Relative name.
   1595     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1596     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1597     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1598 esac
   1599 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1600 
   1601     cd "$ac_dir" || { ac_status=$?; continue; }
   1602     # Check for guested configure.
   1603     if test -f "$ac_srcdir/configure.gnu"; then
   1604       echo &&
   1605       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1606     elif test -f "$ac_srcdir/configure"; then
   1607       echo &&
   1608       $SHELL "$ac_srcdir/configure" --help=recursive
   1609     else
   1610       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1611     fi || ac_status=$?
   1612     cd "$ac_pwd" || { ac_status=$?; break; }
   1613   done
   1614 fi
   1615 
   1616 test -n "$ac_init_help" && exit $ac_status
   1617 if $ac_init_version; then
   1618   cat <<\_ACEOF
   1619 libXtst configure 1.2.2
   1620 generated by GNU Autoconf 2.68
   1621 
   1622 Copyright (C) 2010 Free Software Foundation, Inc.
   1623 This configure script is free software; the Free Software Foundation
   1624 gives unlimited permission to copy, distribute and modify it.
   1625 _ACEOF
   1626   exit
   1627 fi
   1628 
   1629 ## ------------------------ ##
   1630 ## Autoconf initialization. ##
   1631 ## ------------------------ ##
   1632 
   1633 # ac_fn_c_try_compile LINENO
   1634 # --------------------------
   1635 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1636 ac_fn_c_try_compile ()
   1637 {
   1638   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1639   rm -f conftest.$ac_objext
   1640   if { { ac_try="$ac_compile"
   1641 case "(($ac_try" in
   1642   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1643   *) ac_try_echo=$ac_try;;
   1644 esac
   1645 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1646 $as_echo "$ac_try_echo"; } >&5
   1647   (eval "$ac_compile") 2>conftest.err
   1648   ac_status=$?
   1649   if test -s conftest.err; then
   1650     grep -v '^ *+' conftest.err >conftest.er1
   1651     cat conftest.er1 >&5
   1652     mv -f conftest.er1 conftest.err
   1653   fi
   1654   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1655   test $ac_status = 0; } && {
   1656 	 test -z "$ac_c_werror_flag" ||
   1657 	 test ! -s conftest.err
   1658        } && test -s conftest.$ac_objext; then :
   1659   ac_retval=0
   1660 else
   1661   $as_echo "$as_me: failed program was:" >&5
   1662 sed 's/^/| /' conftest.$ac_ext >&5
   1663 
   1664 	ac_retval=1
   1665 fi
   1666   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1667   as_fn_set_status $ac_retval
   1668 
   1669 } # ac_fn_c_try_compile
   1670 
   1671 # ac_fn_c_try_link LINENO
   1672 # -----------------------
   1673 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1674 ac_fn_c_try_link ()
   1675 {
   1676   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1677   rm -f conftest.$ac_objext conftest$ac_exeext
   1678   if { { ac_try="$ac_link"
   1679 case "(($ac_try" in
   1680   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1681   *) ac_try_echo=$ac_try;;
   1682 esac
   1683 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1684 $as_echo "$ac_try_echo"; } >&5
   1685   (eval "$ac_link") 2>conftest.err
   1686   ac_status=$?
   1687   if test -s conftest.err; then
   1688     grep -v '^ *+' conftest.err >conftest.er1
   1689     cat conftest.er1 >&5
   1690     mv -f conftest.er1 conftest.err
   1691   fi
   1692   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1693   test $ac_status = 0; } && {
   1694 	 test -z "$ac_c_werror_flag" ||
   1695 	 test ! -s conftest.err
   1696        } && test -s conftest$ac_exeext && {
   1697 	 test "$cross_compiling" = yes ||
   1698 	 $as_test_x conftest$ac_exeext
   1699        }; then :
   1700   ac_retval=0
   1701 else
   1702   $as_echo "$as_me: failed program was:" >&5
   1703 sed 's/^/| /' conftest.$ac_ext >&5
   1704 
   1705 	ac_retval=1
   1706 fi
   1707   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1708   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1709   # interfere with the next link command; also delete a directory that is
   1710   # left behind by Apple's compiler.  We do this before executing the actions.
   1711   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1712   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1713   as_fn_set_status $ac_retval
   1714 
   1715 } # ac_fn_c_try_link
   1716 
   1717 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1718 # -------------------------------------------------------
   1719 # Tests whether HEADER exists and can be compiled using the include files in
   1720 # INCLUDES, setting the cache variable VAR accordingly.
   1721 ac_fn_c_check_header_compile ()
   1722 {
   1723   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1724   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1725 $as_echo_n "checking for $2... " >&6; }
   1726 if eval \${$3+:} false; then :
   1727   $as_echo_n "(cached) " >&6
   1728 else
   1729   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1730 /* end confdefs.h.  */
   1731 $4
   1732 #include <$2>
   1733 _ACEOF
   1734 if ac_fn_c_try_compile "$LINENO"; then :
   1735   eval "$3=yes"
   1736 else
   1737   eval "$3=no"
   1738 fi
   1739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1740 fi
   1741 eval ac_res=\$$3
   1742 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1743 $as_echo "$ac_res" >&6; }
   1744   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1745 
   1746 } # ac_fn_c_check_header_compile
   1747 
   1748 # ac_fn_c_try_cpp LINENO
   1749 # ----------------------
   1750 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1751 ac_fn_c_try_cpp ()
   1752 {
   1753   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1754   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1755 case "(($ac_try" in
   1756   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1757   *) ac_try_echo=$ac_try;;
   1758 esac
   1759 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1760 $as_echo "$ac_try_echo"; } >&5
   1761   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1762   ac_status=$?
   1763   if test -s conftest.err; then
   1764     grep -v '^ *+' conftest.err >conftest.er1
   1765     cat conftest.er1 >&5
   1766     mv -f conftest.er1 conftest.err
   1767   fi
   1768   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1769   test $ac_status = 0; } > conftest.i && {
   1770 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1771 	 test ! -s conftest.err
   1772        }; then :
   1773   ac_retval=0
   1774 else
   1775   $as_echo "$as_me: failed program was:" >&5
   1776 sed 's/^/| /' conftest.$ac_ext >&5
   1777 
   1778     ac_retval=1
   1779 fi
   1780   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1781   as_fn_set_status $ac_retval
   1782 
   1783 } # ac_fn_c_try_cpp
   1784 
   1785 # ac_fn_c_try_run LINENO
   1786 # ----------------------
   1787 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1788 # that executables *can* be run.
   1789 ac_fn_c_try_run ()
   1790 {
   1791   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1792   if { { ac_try="$ac_link"
   1793 case "(($ac_try" in
   1794   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1795   *) ac_try_echo=$ac_try;;
   1796 esac
   1797 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1798 $as_echo "$ac_try_echo"; } >&5
   1799   (eval "$ac_link") 2>&5
   1800   ac_status=$?
   1801   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1802   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1803   { { case "(($ac_try" in
   1804   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1805   *) ac_try_echo=$ac_try;;
   1806 esac
   1807 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1808 $as_echo "$ac_try_echo"; } >&5
   1809   (eval "$ac_try") 2>&5
   1810   ac_status=$?
   1811   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1812   test $ac_status = 0; }; }; then :
   1813   ac_retval=0
   1814 else
   1815   $as_echo "$as_me: program exited with status $ac_status" >&5
   1816        $as_echo "$as_me: failed program was:" >&5
   1817 sed 's/^/| /' conftest.$ac_ext >&5
   1818 
   1819        ac_retval=$ac_status
   1820 fi
   1821   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1822   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1823   as_fn_set_status $ac_retval
   1824 
   1825 } # ac_fn_c_try_run
   1826 
   1827 # ac_fn_c_check_func LINENO FUNC VAR
   1828 # ----------------------------------
   1829 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1830 ac_fn_c_check_func ()
   1831 {
   1832   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1833   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1834 $as_echo_n "checking for $2... " >&6; }
   1835 if eval \${$3+:} false; then :
   1836   $as_echo_n "(cached) " >&6
   1837 else
   1838   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1839 /* end confdefs.h.  */
   1840 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1841    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1842 #define $2 innocuous_$2
   1843 
   1844 /* System header to define __stub macros and hopefully few prototypes,
   1845     which can conflict with char $2 (); below.
   1846     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1847     <limits.h> exists even on freestanding compilers.  */
   1848 
   1849 #ifdef __STDC__
   1850 # include <limits.h>
   1851 #else
   1852 # include <assert.h>
   1853 #endif
   1854 
   1855 #undef $2
   1856 
   1857 /* Override any GCC internal prototype to avoid an error.
   1858    Use char because int might match the return type of a GCC
   1859    builtin and then its argument prototype would still apply.  */
   1860 #ifdef __cplusplus
   1861 extern "C"
   1862 #endif
   1863 char $2 ();
   1864 /* The GNU C library defines this for functions which it implements
   1865     to always fail with ENOSYS.  Some functions are actually named
   1866     something starting with __ and the normal name is an alias.  */
   1867 #if defined __stub_$2 || defined __stub___$2
   1868 choke me
   1869 #endif
   1870 
   1871 int
   1872 main ()
   1873 {
   1874 return $2 ();
   1875   ;
   1876   return 0;
   1877 }
   1878 _ACEOF
   1879 if ac_fn_c_try_link "$LINENO"; then :
   1880   eval "$3=yes"
   1881 else
   1882   eval "$3=no"
   1883 fi
   1884 rm -f core conftest.err conftest.$ac_objext \
   1885     conftest$ac_exeext conftest.$ac_ext
   1886 fi
   1887 eval ac_res=\$$3
   1888 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1889 $as_echo "$ac_res" >&6; }
   1890   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1891 
   1892 } # ac_fn_c_check_func
   1893 
   1894 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1895 # ---------------------------------------------
   1896 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1897 # accordingly.
   1898 ac_fn_c_check_decl ()
   1899 {
   1900   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1901   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1902   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1903   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1904 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1905 if eval \${$3+:} false; then :
   1906   $as_echo_n "(cached) " >&6
   1907 else
   1908   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1909 /* end confdefs.h.  */
   1910 $4
   1911 int
   1912 main ()
   1913 {
   1914 #ifndef $as_decl_name
   1915 #ifdef __cplusplus
   1916   (void) $as_decl_use;
   1917 #else
   1918   (void) $as_decl_name;
   1919 #endif
   1920 #endif
   1921 
   1922   ;
   1923   return 0;
   1924 }
   1925 _ACEOF
   1926 if ac_fn_c_try_compile "$LINENO"; then :
   1927   eval "$3=yes"
   1928 else
   1929   eval "$3=no"
   1930 fi
   1931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1932 fi
   1933 eval ac_res=\$$3
   1934 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1935 $as_echo "$ac_res" >&6; }
   1936   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1937 
   1938 } # ac_fn_c_check_decl
   1939 cat >config.log <<_ACEOF
   1940 This file contains any messages produced by compilers while
   1941 running configure, to aid debugging if configure makes a mistake.
   1942 
   1943 It was created by libXtst $as_me 1.2.2, which was
   1944 generated by GNU Autoconf 2.68.  Invocation command line was
   1945 
   1946   $ $0 $@
   1947 
   1948 _ACEOF
   1949 exec 5>>config.log
   1950 {
   1951 cat <<_ASUNAME
   1952 ## --------- ##
   1953 ## Platform. ##
   1954 ## --------- ##
   1955 
   1956 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1957 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1958 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1959 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1960 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1961 
   1962 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1963 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1964 
   1965 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1966 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1967 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1968 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1969 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1970 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1971 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1972 
   1973 _ASUNAME
   1974 
   1975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1976 for as_dir in $PATH
   1977 do
   1978   IFS=$as_save_IFS
   1979   test -z "$as_dir" && as_dir=.
   1980     $as_echo "PATH: $as_dir"
   1981   done
   1982 IFS=$as_save_IFS
   1983 
   1984 } >&5
   1985 
   1986 cat >&5 <<_ACEOF
   1987 
   1988 
   1989 ## ----------- ##
   1990 ## Core tests. ##
   1991 ## ----------- ##
   1992 
   1993 _ACEOF
   1994 
   1995 
   1996 # Keep a trace of the command line.
   1997 # Strip out --no-create and --no-recursion so they do not pile up.
   1998 # Strip out --silent because we don't want to record it for future runs.
   1999 # Also quote any args containing shell meta-characters.
   2000 # Make two passes to allow for proper duplicate-argument suppression.
   2001 ac_configure_args=
   2002 ac_configure_args0=
   2003 ac_configure_args1=
   2004 ac_must_keep_next=false
   2005 for ac_pass in 1 2
   2006 do
   2007   for ac_arg
   2008   do
   2009     case $ac_arg in
   2010     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2011     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2012     | -silent | --silent | --silen | --sile | --sil)
   2013       continue ;;
   2014     *\'*)
   2015       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2016     esac
   2017     case $ac_pass in
   2018     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2019     2)
   2020       as_fn_append ac_configure_args1 " '$ac_arg'"
   2021       if test $ac_must_keep_next = true; then
   2022 	ac_must_keep_next=false # Got value, back to normal.
   2023       else
   2024 	case $ac_arg in
   2025 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2026 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2027 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2028 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2029 	    case "$ac_configure_args0 " in
   2030 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2031 	    esac
   2032 	    ;;
   2033 	  -* ) ac_must_keep_next=true ;;
   2034 	esac
   2035       fi
   2036       as_fn_append ac_configure_args " '$ac_arg'"
   2037       ;;
   2038     esac
   2039   done
   2040 done
   2041 { ac_configure_args0=; unset ac_configure_args0;}
   2042 { ac_configure_args1=; unset ac_configure_args1;}
   2043 
   2044 # When interrupted or exit'd, cleanup temporary files, and complete
   2045 # config.log.  We remove comments because anyway the quotes in there
   2046 # would cause problems or look ugly.
   2047 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2048 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2049 trap 'exit_status=$?
   2050   # Save into config.log some information that might help in debugging.
   2051   {
   2052     echo
   2053 
   2054     $as_echo "## ---------------- ##
   2055 ## Cache variables. ##
   2056 ## ---------------- ##"
   2057     echo
   2058     # The following way of writing the cache mishandles newlines in values,
   2059 (
   2060   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2061     eval ac_val=\$$ac_var
   2062     case $ac_val in #(
   2063     *${as_nl}*)
   2064       case $ac_var in #(
   2065       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2066 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2067       esac
   2068       case $ac_var in #(
   2069       _ | IFS | as_nl) ;; #(
   2070       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2071       *) { eval $ac_var=; unset $ac_var;} ;;
   2072       esac ;;
   2073     esac
   2074   done
   2075   (set) 2>&1 |
   2076     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2077     *${as_nl}ac_space=\ *)
   2078       sed -n \
   2079 	"s/'\''/'\''\\\\'\'''\''/g;
   2080 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2081       ;; #(
   2082     *)
   2083       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2084       ;;
   2085     esac |
   2086     sort
   2087 )
   2088     echo
   2089 
   2090     $as_echo "## ----------------- ##
   2091 ## Output variables. ##
   2092 ## ----------------- ##"
   2093     echo
   2094     for ac_var in $ac_subst_vars
   2095     do
   2096       eval ac_val=\$$ac_var
   2097       case $ac_val in
   2098       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2099       esac
   2100       $as_echo "$ac_var='\''$ac_val'\''"
   2101     done | sort
   2102     echo
   2103 
   2104     if test -n "$ac_subst_files"; then
   2105       $as_echo "## ------------------- ##
   2106 ## File substitutions. ##
   2107 ## ------------------- ##"
   2108       echo
   2109       for ac_var in $ac_subst_files
   2110       do
   2111 	eval ac_val=\$$ac_var
   2112 	case $ac_val in
   2113 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2114 	esac
   2115 	$as_echo "$ac_var='\''$ac_val'\''"
   2116       done | sort
   2117       echo
   2118     fi
   2119 
   2120     if test -s confdefs.h; then
   2121       $as_echo "## ----------- ##
   2122 ## confdefs.h. ##
   2123 ## ----------- ##"
   2124       echo
   2125       cat confdefs.h
   2126       echo
   2127     fi
   2128     test "$ac_signal" != 0 &&
   2129       $as_echo "$as_me: caught signal $ac_signal"
   2130     $as_echo "$as_me: exit $exit_status"
   2131   } >&5
   2132   rm -f core *.core core.conftest.* &&
   2133     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2134     exit $exit_status
   2135 ' 0
   2136 for ac_signal in 1 2 13 15; do
   2137   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2138 done
   2139 ac_signal=0
   2140 
   2141 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2142 rm -f -r conftest* confdefs.h
   2143 
   2144 $as_echo "/* confdefs.h */" > confdefs.h
   2145 
   2146 # Predefined preprocessor variables.
   2147 
   2148 cat >>confdefs.h <<_ACEOF
   2149 #define PACKAGE_NAME "$PACKAGE_NAME"
   2150 _ACEOF
   2151 
   2152 cat >>confdefs.h <<_ACEOF
   2153 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2154 _ACEOF
   2155 
   2156 cat >>confdefs.h <<_ACEOF
   2157 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2158 _ACEOF
   2159 
   2160 cat >>confdefs.h <<_ACEOF
   2161 #define PACKAGE_STRING "$PACKAGE_STRING"
   2162 _ACEOF
   2163 
   2164 cat >>confdefs.h <<_ACEOF
   2165 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2166 _ACEOF
   2167 
   2168 cat >>confdefs.h <<_ACEOF
   2169 #define PACKAGE_URL "$PACKAGE_URL"
   2170 _ACEOF
   2171 
   2172 
   2173 # Let the site file select an alternate cache file if it wants to.
   2174 # Prefer an explicitly selected file to automatically selected ones.
   2175 ac_site_file1=NONE
   2176 ac_site_file2=NONE
   2177 if test -n "$CONFIG_SITE"; then
   2178   # We do not want a PATH search for config.site.
   2179   case $CONFIG_SITE in #((
   2180     -*)  ac_site_file1=./$CONFIG_SITE;;
   2181     */*) ac_site_file1=$CONFIG_SITE;;
   2182     *)   ac_site_file1=./$CONFIG_SITE;;
   2183   esac
   2184 elif test "x$prefix" != xNONE; then
   2185   ac_site_file1=$prefix/share/config.site
   2186   ac_site_file2=$prefix/etc/config.site
   2187 else
   2188   ac_site_file1=$ac_default_prefix/share/config.site
   2189   ac_site_file2=$ac_default_prefix/etc/config.site
   2190 fi
   2191 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2192 do
   2193   test "x$ac_site_file" = xNONE && continue
   2194   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2195     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2196 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2197     sed 's/^/| /' "$ac_site_file" >&5
   2198     . "$ac_site_file" \
   2199       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2200 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2201 as_fn_error $? "failed to load site script $ac_site_file
   2202 See \`config.log' for more details" "$LINENO" 5; }
   2203   fi
   2204 done
   2205 
   2206 if test -r "$cache_file"; then
   2207   # Some versions of bash will fail to source /dev/null (special files
   2208   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2209   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2210     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2211 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2212     case $cache_file in
   2213       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2214       *)                      . "./$cache_file";;
   2215     esac
   2216   fi
   2217 else
   2218   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2219 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2220   >$cache_file
   2221 fi
   2222 
   2223 # Check that the precious variables saved in the cache have kept the same
   2224 # value.
   2225 ac_cache_corrupted=false
   2226 for ac_var in $ac_precious_vars; do
   2227   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2228   eval ac_new_set=\$ac_env_${ac_var}_set
   2229   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2230   eval ac_new_val=\$ac_env_${ac_var}_value
   2231   case $ac_old_set,$ac_new_set in
   2232     set,)
   2233       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2234 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2235       ac_cache_corrupted=: ;;
   2236     ,set)
   2237       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2238 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2239       ac_cache_corrupted=: ;;
   2240     ,);;
   2241     *)
   2242       if test "x$ac_old_val" != "x$ac_new_val"; then
   2243 	# differences in whitespace do not lead to failure.
   2244 	ac_old_val_w=`echo x $ac_old_val`
   2245 	ac_new_val_w=`echo x $ac_new_val`
   2246 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2247 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2248 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2249 	  ac_cache_corrupted=:
   2250 	else
   2251 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2252 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2253 	  eval $ac_var=\$ac_old_val
   2254 	fi
   2255 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2256 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2257 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2258 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2259       fi;;
   2260   esac
   2261   # Pass precious variables to config.status.
   2262   if test "$ac_new_set" = set; then
   2263     case $ac_new_val in
   2264     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2265     *) ac_arg=$ac_var=$ac_new_val ;;
   2266     esac
   2267     case " $ac_configure_args " in
   2268       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2269       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2270     esac
   2271   fi
   2272 done
   2273 if $ac_cache_corrupted; then
   2274   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2275 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2276   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2277 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2278   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2279 fi
   2280 ## -------------------- ##
   2281 ## Main body of script. ##
   2282 ## -------------------- ##
   2283 
   2284 ac_ext=c
   2285 ac_cpp='$CPP $CPPFLAGS'
   2286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2289 
   2290 
   2291 
   2292 ac_config_headers="$ac_config_headers config.h"
   2293 
   2294 
   2295 # Initialize Automake
   2296 am__api_version='1.13'
   2297 
   2298 ac_aux_dir=
   2299 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2300   if test -f "$ac_dir/install-sh"; then
   2301     ac_aux_dir=$ac_dir
   2302     ac_install_sh="$ac_aux_dir/install-sh -c"
   2303     break
   2304   elif test -f "$ac_dir/install.sh"; then
   2305     ac_aux_dir=$ac_dir
   2306     ac_install_sh="$ac_aux_dir/install.sh -c"
   2307     break
   2308   elif test -f "$ac_dir/shtool"; then
   2309     ac_aux_dir=$ac_dir
   2310     ac_install_sh="$ac_aux_dir/shtool install -c"
   2311     break
   2312   fi
   2313 done
   2314 if test -z "$ac_aux_dir"; then
   2315   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2316 fi
   2317 
   2318 # These three variables are undocumented and unsupported,
   2319 # and are intended to be withdrawn in a future Autoconf release.
   2320 # They can cause serious problems if a builder's source tree is in a directory
   2321 # whose full name contains unusual characters.
   2322 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2323 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2324 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2325 
   2326 
   2327 # Find a good install program.  We prefer a C program (faster),
   2328 # so one script is as good as another.  But avoid the broken or
   2329 # incompatible versions:
   2330 # SysV /etc/install, /usr/sbin/install
   2331 # SunOS /usr/etc/install
   2332 # IRIX /sbin/install
   2333 # AIX /bin/install
   2334 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2335 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2336 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2337 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2338 # OS/2's system install, which has a completely different semantic
   2339 # ./install, which can be erroneously created by make from ./install.sh.
   2340 # Reject install programs that cannot install multiple files.
   2341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2342 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2343 if test -z "$INSTALL"; then
   2344 if ${ac_cv_path_install+:} false; then :
   2345   $as_echo_n "(cached) " >&6
   2346 else
   2347   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2348 for as_dir in $PATH
   2349 do
   2350   IFS=$as_save_IFS
   2351   test -z "$as_dir" && as_dir=.
   2352     # Account for people who put trailing slashes in PATH elements.
   2353 case $as_dir/ in #((
   2354   ./ | .// | /[cC]/* | \
   2355   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2356   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2357   /usr/ucb/* ) ;;
   2358   *)
   2359     # OSF1 and SCO ODT 3.0 have their own names for install.
   2360     # Don't use installbsd from OSF since it installs stuff as root
   2361     # by default.
   2362     for ac_prog in ginstall scoinst install; do
   2363       for ac_exec_ext in '' $ac_executable_extensions; do
   2364 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2365 	  if test $ac_prog = install &&
   2366 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2367 	    # AIX install.  It has an incompatible calling convention.
   2368 	    :
   2369 	  elif test $ac_prog = install &&
   2370 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2371 	    # program-specific install script used by HP pwplus--don't use.
   2372 	    :
   2373 	  else
   2374 	    rm -rf conftest.one conftest.two conftest.dir
   2375 	    echo one > conftest.one
   2376 	    echo two > conftest.two
   2377 	    mkdir conftest.dir
   2378 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2379 	      test -s conftest.one && test -s conftest.two &&
   2380 	      test -s conftest.dir/conftest.one &&
   2381 	      test -s conftest.dir/conftest.two
   2382 	    then
   2383 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2384 	      break 3
   2385 	    fi
   2386 	  fi
   2387 	fi
   2388       done
   2389     done
   2390     ;;
   2391 esac
   2392 
   2393   done
   2394 IFS=$as_save_IFS
   2395 
   2396 rm -rf conftest.one conftest.two conftest.dir
   2397 
   2398 fi
   2399   if test "${ac_cv_path_install+set}" = set; then
   2400     INSTALL=$ac_cv_path_install
   2401   else
   2402     # As a last resort, use the slow shell script.  Don't cache a
   2403     # value for INSTALL within a source directory, because that will
   2404     # break other packages using the cache if that directory is
   2405     # removed, or if the value is a relative name.
   2406     INSTALL=$ac_install_sh
   2407   fi
   2408 fi
   2409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2410 $as_echo "$INSTALL" >&6; }
   2411 
   2412 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2413 # It thinks the first close brace ends the variable substitution.
   2414 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2415 
   2416 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2417 
   2418 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2419 
   2420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2421 $as_echo_n "checking whether build environment is sane... " >&6; }
   2422 # Reject unsafe characters in $srcdir or the absolute working directory
   2423 # name.  Accept space and tab only in the latter.
   2424 am_lf='
   2425 '
   2426 case `pwd` in
   2427   *[\\\"\#\$\&\'\`$am_lf]*)
   2428     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2429 esac
   2430 case $srcdir in
   2431   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2432     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2433 esac
   2434 
   2435 # Do 'set' in a subshell so we don't clobber the current shell's
   2436 # arguments.  Must try -L first in case configure is actually a
   2437 # symlink; some systems play weird games with the mod time of symlinks
   2438 # (eg FreeBSD returns the mod time of the symlink's containing
   2439 # directory).
   2440 if (
   2441    am_has_slept=no
   2442    for am_try in 1 2; do
   2443      echo "timestamp, slept: $am_has_slept" > conftest.file
   2444      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2445      if test "$*" = "X"; then
   2446 	# -L didn't work.
   2447 	set X `ls -t "$srcdir/configure" conftest.file`
   2448      fi
   2449      if test "$*" != "X $srcdir/configure conftest.file" \
   2450 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2451 
   2452 	# If neither matched, then we have a broken ls.  This can happen
   2453 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2454 	# broken ls alias from the environment.  This has actually
   2455 	# happened.  Such a system could not be considered "sane".
   2456 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2457   alias in your environment" "$LINENO" 5
   2458      fi
   2459      if test "$2" = conftest.file || test $am_try -eq 2; then
   2460        break
   2461      fi
   2462      # Just in case.
   2463      sleep 1
   2464      am_has_slept=yes
   2465    done
   2466    test "$2" = conftest.file
   2467    )
   2468 then
   2469    # Ok.
   2470    :
   2471 else
   2472    as_fn_error $? "newly created file is older than distributed files!
   2473 Check your system clock" "$LINENO" 5
   2474 fi
   2475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2476 $as_echo "yes" >&6; }
   2477 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2478 # generated files are strictly newer.
   2479 am_sleep_pid=
   2480 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2481   ( sleep 1 ) &
   2482   am_sleep_pid=$!
   2483 fi
   2484 
   2485 rm -f conftest.file
   2486 
   2487 test "$program_prefix" != NONE &&
   2488   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2489 # Use a double $ so make ignores it.
   2490 test "$program_suffix" != NONE &&
   2491   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2492 # Double any \ or $.
   2493 # By default was `s,x,x', remove it if useless.
   2494 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2495 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2496 
   2497 # expand $ac_aux_dir to an absolute path
   2498 am_aux_dir=`cd $ac_aux_dir && pwd`
   2499 
   2500 if test x"${MISSING+set}" != xset; then
   2501   case $am_aux_dir in
   2502   *\ * | *\	*)
   2503     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2504   *)
   2505     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2506   esac
   2507 fi
   2508 # Use eval to expand $SHELL
   2509 if eval "$MISSING --is-lightweight"; then
   2510   am_missing_run="$MISSING "
   2511 else
   2512   am_missing_run=
   2513   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2514 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2515 fi
   2516 
   2517 if test x"${install_sh}" != xset; then
   2518   case $am_aux_dir in
   2519   *\ * | *\	*)
   2520     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2521   *)
   2522     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2523   esac
   2524 fi
   2525 
   2526 # Installed binaries are usually stripped using 'strip' when the user
   2527 # run "make install-strip".  However 'strip' might not be the right
   2528 # tool to use in cross-compilation environments, therefore Automake
   2529 # will honor the 'STRIP' environment variable to overrule this program.
   2530 if test "$cross_compiling" != no; then
   2531   if test -n "$ac_tool_prefix"; then
   2532   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2533 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2535 $as_echo_n "checking for $ac_word... " >&6; }
   2536 if ${ac_cv_prog_STRIP+:} false; then :
   2537   $as_echo_n "(cached) " >&6
   2538 else
   2539   if test -n "$STRIP"; then
   2540   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2541 else
   2542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2543 for as_dir in $PATH
   2544 do
   2545   IFS=$as_save_IFS
   2546   test -z "$as_dir" && as_dir=.
   2547     for ac_exec_ext in '' $ac_executable_extensions; do
   2548   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2549     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2550     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2551     break 2
   2552   fi
   2553 done
   2554   done
   2555 IFS=$as_save_IFS
   2556 
   2557 fi
   2558 fi
   2559 STRIP=$ac_cv_prog_STRIP
   2560 if test -n "$STRIP"; then
   2561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2562 $as_echo "$STRIP" >&6; }
   2563 else
   2564   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2565 $as_echo "no" >&6; }
   2566 fi
   2567 
   2568 
   2569 fi
   2570 if test -z "$ac_cv_prog_STRIP"; then
   2571   ac_ct_STRIP=$STRIP
   2572   # Extract the first word of "strip", so it can be a program name with args.
   2573 set dummy strip; ac_word=$2
   2574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2575 $as_echo_n "checking for $ac_word... " >&6; }
   2576 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2577   $as_echo_n "(cached) " >&6
   2578 else
   2579   if test -n "$ac_ct_STRIP"; then
   2580   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2581 else
   2582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2583 for as_dir in $PATH
   2584 do
   2585   IFS=$as_save_IFS
   2586   test -z "$as_dir" && as_dir=.
   2587     for ac_exec_ext in '' $ac_executable_extensions; do
   2588   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2589     ac_cv_prog_ac_ct_STRIP="strip"
   2590     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2591     break 2
   2592   fi
   2593 done
   2594   done
   2595 IFS=$as_save_IFS
   2596 
   2597 fi
   2598 fi
   2599 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2600 if test -n "$ac_ct_STRIP"; then
   2601   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2602 $as_echo "$ac_ct_STRIP" >&6; }
   2603 else
   2604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2605 $as_echo "no" >&6; }
   2606 fi
   2607 
   2608   if test "x$ac_ct_STRIP" = x; then
   2609     STRIP=":"
   2610   else
   2611     case $cross_compiling:$ac_tool_warned in
   2612 yes:)
   2613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2614 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2615 ac_tool_warned=yes ;;
   2616 esac
   2617     STRIP=$ac_ct_STRIP
   2618   fi
   2619 else
   2620   STRIP="$ac_cv_prog_STRIP"
   2621 fi
   2622 
   2623 fi
   2624 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2625 
   2626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2627 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2628 if test -z "$MKDIR_P"; then
   2629   if ${ac_cv_path_mkdir+:} false; then :
   2630   $as_echo_n "(cached) " >&6
   2631 else
   2632   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2633 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2634 do
   2635   IFS=$as_save_IFS
   2636   test -z "$as_dir" && as_dir=.
   2637     for ac_prog in mkdir gmkdir; do
   2638 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2639 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2640 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2641 	     'mkdir (GNU coreutils) '* | \
   2642 	     'mkdir (coreutils) '* | \
   2643 	     'mkdir (fileutils) '4.1*)
   2644 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2645 	       break 3;;
   2646 	   esac
   2647 	 done
   2648        done
   2649   done
   2650 IFS=$as_save_IFS
   2651 
   2652 fi
   2653 
   2654   test -d ./--version && rmdir ./--version
   2655   if test "${ac_cv_path_mkdir+set}" = set; then
   2656     MKDIR_P="$ac_cv_path_mkdir -p"
   2657   else
   2658     # As a last resort, use the slow shell script.  Don't cache a
   2659     # value for MKDIR_P within a source directory, because that will
   2660     # break other packages using the cache if that directory is
   2661     # removed, or if the value is a relative name.
   2662     MKDIR_P="$ac_install_sh -d"
   2663   fi
   2664 fi
   2665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2666 $as_echo "$MKDIR_P" >&6; }
   2667 
   2668 for ac_prog in gawk mawk nawk awk
   2669 do
   2670   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2671 set dummy $ac_prog; ac_word=$2
   2672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2673 $as_echo_n "checking for $ac_word... " >&6; }
   2674 if ${ac_cv_prog_AWK+:} false; then :
   2675   $as_echo_n "(cached) " >&6
   2676 else
   2677   if test -n "$AWK"; then
   2678   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2679 else
   2680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2681 for as_dir in $PATH
   2682 do
   2683   IFS=$as_save_IFS
   2684   test -z "$as_dir" && as_dir=.
   2685     for ac_exec_ext in '' $ac_executable_extensions; do
   2686   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2687     ac_cv_prog_AWK="$ac_prog"
   2688     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2689     break 2
   2690   fi
   2691 done
   2692   done
   2693 IFS=$as_save_IFS
   2694 
   2695 fi
   2696 fi
   2697 AWK=$ac_cv_prog_AWK
   2698 if test -n "$AWK"; then
   2699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2700 $as_echo "$AWK" >&6; }
   2701 else
   2702   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2703 $as_echo "no" >&6; }
   2704 fi
   2705 
   2706 
   2707   test -n "$AWK" && break
   2708 done
   2709 
   2710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2711 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2712 set x ${MAKE-make}
   2713 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2714 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2715   $as_echo_n "(cached) " >&6
   2716 else
   2717   cat >conftest.make <<\_ACEOF
   2718 SHELL = /bin/sh
   2719 all:
   2720 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2721 _ACEOF
   2722 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2723 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2724   *@@@%%%=?*=@@@%%%*)
   2725     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2726   *)
   2727     eval ac_cv_prog_make_${ac_make}_set=no;;
   2728 esac
   2729 rm -f conftest.make
   2730 fi
   2731 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2732   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2733 $as_echo "yes" >&6; }
   2734   SET_MAKE=
   2735 else
   2736   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2737 $as_echo "no" >&6; }
   2738   SET_MAKE="MAKE=${MAKE-make}"
   2739 fi
   2740 
   2741 rm -rf .tst 2>/dev/null
   2742 mkdir .tst 2>/dev/null
   2743 if test -d .tst; then
   2744   am__leading_dot=.
   2745 else
   2746   am__leading_dot=_
   2747 fi
   2748 rmdir .tst 2>/dev/null
   2749 
   2750 # Check whether --enable-silent-rules was given.
   2751 if test "${enable_silent_rules+set}" = set; then :
   2752   enableval=$enable_silent_rules;
   2753 fi
   2754 
   2755 case $enable_silent_rules in # (((
   2756   yes) AM_DEFAULT_VERBOSITY=0;;
   2757    no) AM_DEFAULT_VERBOSITY=1;;
   2758     *) AM_DEFAULT_VERBOSITY=1;;
   2759 esac
   2760 am_make=${MAKE-make}
   2761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2762 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2763 if ${am_cv_make_support_nested_variables+:} false; then :
   2764   $as_echo_n "(cached) " >&6
   2765 else
   2766   if $as_echo 'TRUE=$(BAR$(V))
   2767 BAR0=false
   2768 BAR1=true
   2769 V=1
   2770 am__doit:
   2771 	@$(TRUE)
   2772 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2773   am_cv_make_support_nested_variables=yes
   2774 else
   2775   am_cv_make_support_nested_variables=no
   2776 fi
   2777 fi
   2778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2779 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2780 if test $am_cv_make_support_nested_variables = yes; then
   2781     AM_V='$(V)'
   2782   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2783 else
   2784   AM_V=$AM_DEFAULT_VERBOSITY
   2785   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2786 fi
   2787 AM_BACKSLASH='\'
   2788 
   2789 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2790   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2791   # is not polluted with repeated "-I."
   2792   am__isrc=' -I$(srcdir)'
   2793   # test to see if srcdir already configured
   2794   if test -f $srcdir/config.status; then
   2795     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2796   fi
   2797 fi
   2798 
   2799 # test whether we have cygpath
   2800 if test -z "$CYGPATH_W"; then
   2801   if (cygpath --version) >/dev/null 2>/dev/null; then
   2802     CYGPATH_W='cygpath -w'
   2803   else
   2804     CYGPATH_W=echo
   2805   fi
   2806 fi
   2807 
   2808 
   2809 # Define the identity of the package.
   2810  PACKAGE='libXtst'
   2811  VERSION='1.2.2'
   2812 
   2813 
   2814 cat >>confdefs.h <<_ACEOF
   2815 #define PACKAGE "$PACKAGE"
   2816 _ACEOF
   2817 
   2818 
   2819 cat >>confdefs.h <<_ACEOF
   2820 #define VERSION "$VERSION"
   2821 _ACEOF
   2822 
   2823 # Some tools Automake needs.
   2824 
   2825 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2826 
   2827 
   2828 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2829 
   2830 
   2831 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2832 
   2833 
   2834 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2835 
   2836 
   2837 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2838 
   2839 # For better backward compatibility.  To be removed once Automake 1.9.x
   2840 # dies out for good.  For more background, see:
   2841 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2842 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2843 mkdir_p='$(MKDIR_P)'
   2844 
   2845 # We need awk for the "check" target.  The system "awk" is bad on
   2846 # some platforms.
   2847 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2848 # in the wild :-(  We should find a proper way to deprecate it ...
   2849 AMTAR='$${TAR-tar}'
   2850 
   2851 
   2852 # We'll loop over all known methods to create a tar archive until one works.
   2853 _am_tools='gnutar  pax cpio none'
   2854 
   2855 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2856 
   2857 
   2858 
   2859 
   2860 
   2861 
   2862 
   2863 # Initialize libtool
   2864 case `pwd` in
   2865   *\ * | *\	*)
   2866     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   2867 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   2868 esac
   2869 
   2870 
   2871 
   2872 macro_version='2.4.2'
   2873 macro_revision='1.3337'
   2874 
   2875 
   2876 
   2877 
   2878 
   2879 
   2880 
   2881 
   2882 
   2883 
   2884 
   2885 
   2886 
   2887 ltmain="$ac_aux_dir/ltmain.sh"
   2888 
   2889 # Make sure we can run config.sub.
   2890 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2891   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2892 
   2893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2894 $as_echo_n "checking build system type... " >&6; }
   2895 if ${ac_cv_build+:} false; then :
   2896   $as_echo_n "(cached) " >&6
   2897 else
   2898   ac_build_alias=$build_alias
   2899 test "x$ac_build_alias" = x &&
   2900   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2901 test "x$ac_build_alias" = x &&
   2902   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   2903 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2904   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2905 
   2906 fi
   2907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2908 $as_echo "$ac_cv_build" >&6; }
   2909 case $ac_cv_build in
   2910 *-*-*) ;;
   2911 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   2912 esac
   2913 build=$ac_cv_build
   2914 ac_save_IFS=$IFS; IFS='-'
   2915 set x $ac_cv_build
   2916 shift
   2917 build_cpu=$1
   2918 build_vendor=$2
   2919 shift; shift
   2920 # Remember, the first character of IFS is used to create $*,
   2921 # except with old shells:
   2922 build_os=$*
   2923 IFS=$ac_save_IFS
   2924 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2925 
   2926 
   2927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2928 $as_echo_n "checking host system type... " >&6; }
   2929 if ${ac_cv_host+:} false; then :
   2930   $as_echo_n "(cached) " >&6
   2931 else
   2932   if test "x$host_alias" = x; then
   2933   ac_cv_host=$ac_cv_build
   2934 else
   2935   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2936     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2937 fi
   2938 
   2939 fi
   2940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2941 $as_echo "$ac_cv_host" >&6; }
   2942 case $ac_cv_host in
   2943 *-*-*) ;;
   2944 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   2945 esac
   2946 host=$ac_cv_host
   2947 ac_save_IFS=$IFS; IFS='-'
   2948 set x $ac_cv_host
   2949 shift
   2950 host_cpu=$1
   2951 host_vendor=$2
   2952 shift; shift
   2953 # Remember, the first character of IFS is used to create $*,
   2954 # except with old shells:
   2955 host_os=$*
   2956 IFS=$ac_save_IFS
   2957 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2958 
   2959 
   2960 # Backslashify metacharacters that are still active within
   2961 # double-quoted strings.
   2962 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   2963 
   2964 # Same as above, but do not quote variable references.
   2965 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   2966 
   2967 # Sed substitution to delay expansion of an escaped shell variable in a
   2968 # double_quote_subst'ed string.
   2969 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   2970 
   2971 # Sed substitution to delay expansion of an escaped single quote.
   2972 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   2973 
   2974 # Sed substitution to avoid accidental globbing in evaled expressions
   2975 no_glob_subst='s/\*/\\\*/g'
   2976 
   2977 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   2978 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   2979 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   2980 
   2981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   2982 $as_echo_n "checking how to print strings... " >&6; }
   2983 # Test print first, because it will be a builtin if present.
   2984 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   2985    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   2986   ECHO='print -r --'
   2987 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   2988   ECHO='printf %s\n'
   2989 else
   2990   # Use this function as a fallback that always works.
   2991   func_fallback_echo ()
   2992   {
   2993     eval 'cat <<_LTECHO_EOF
   2994 $1
   2995 _LTECHO_EOF'
   2996   }
   2997   ECHO='func_fallback_echo'
   2998 fi
   2999 
   3000 # func_echo_all arg...
   3001 # Invoke $ECHO with all args, space-separated.
   3002 func_echo_all ()
   3003 {
   3004     $ECHO ""
   3005 }
   3006 
   3007 case "$ECHO" in
   3008   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   3009 $as_echo "printf" >&6; } ;;
   3010   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   3011 $as_echo "print -r" >&6; } ;;
   3012   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   3013 $as_echo "cat" >&6; } ;;
   3014 esac
   3015 
   3016 
   3017 
   3018 
   3019 
   3020 
   3021 
   3022 
   3023 
   3024 
   3025 
   3026 
   3027 
   3028 
   3029 DEPDIR="${am__leading_dot}deps"
   3030 
   3031 ac_config_commands="$ac_config_commands depfiles"
   3032 
   3033 
   3034 am_make=${MAKE-make}
   3035 cat > confinc << 'END'
   3036 am__doit:
   3037 	@echo this is the am__doit target
   3038 .PHONY: am__doit
   3039 END
   3040 # If we don't find an include directive, just comment out the code.
   3041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   3042 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3043 am__include="#"
   3044 am__quote=
   3045 _am_result=none
   3046 # First try GNU make style include.
   3047 echo "include confinc" > confmf
   3048 # Ignore all kinds of additional output from 'make'.
   3049 case `$am_make -s -f confmf 2> /dev/null` in #(
   3050 *the\ am__doit\ target*)
   3051   am__include=include
   3052   am__quote=
   3053   _am_result=GNU
   3054   ;;
   3055 esac
   3056 # Now try BSD make style include.
   3057 if test "$am__include" = "#"; then
   3058    echo '.include "confinc"' > confmf
   3059    case `$am_make -s -f confmf 2> /dev/null` in #(
   3060    *the\ am__doit\ target*)
   3061      am__include=.include
   3062      am__quote="\""
   3063      _am_result=BSD
   3064      ;;
   3065    esac
   3066 fi
   3067 
   3068 
   3069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3070 $as_echo "$_am_result" >&6; }
   3071 rm -f confinc confmf
   3072 
   3073 # Check whether --enable-dependency-tracking was given.
   3074 if test "${enable_dependency_tracking+set}" = set; then :
   3075   enableval=$enable_dependency_tracking;
   3076 fi
   3077 
   3078 if test "x$enable_dependency_tracking" != xno; then
   3079   am_depcomp="$ac_aux_dir/depcomp"
   3080   AMDEPBACKSLASH='\'
   3081   am__nodep='_no'
   3082 fi
   3083  if test "x$enable_dependency_tracking" != xno; then
   3084   AMDEP_TRUE=
   3085   AMDEP_FALSE='#'
   3086 else
   3087   AMDEP_TRUE='#'
   3088   AMDEP_FALSE=
   3089 fi
   3090 
   3091 
   3092 ac_ext=c
   3093 ac_cpp='$CPP $CPPFLAGS'
   3094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3097 if test -n "$ac_tool_prefix"; then
   3098   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3099 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3101 $as_echo_n "checking for $ac_word... " >&6; }
   3102 if ${ac_cv_prog_CC+:} false; then :
   3103   $as_echo_n "(cached) " >&6
   3104 else
   3105   if test -n "$CC"; then
   3106   ac_cv_prog_CC="$CC" # Let the user override the test.
   3107 else
   3108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3109 for as_dir in $PATH
   3110 do
   3111   IFS=$as_save_IFS
   3112   test -z "$as_dir" && as_dir=.
   3113     for ac_exec_ext in '' $ac_executable_extensions; do
   3114   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3115     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3116     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3117     break 2
   3118   fi
   3119 done
   3120   done
   3121 IFS=$as_save_IFS
   3122 
   3123 fi
   3124 fi
   3125 CC=$ac_cv_prog_CC
   3126 if test -n "$CC"; then
   3127   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3128 $as_echo "$CC" >&6; }
   3129 else
   3130   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3131 $as_echo "no" >&6; }
   3132 fi
   3133 
   3134 
   3135 fi
   3136 if test -z "$ac_cv_prog_CC"; then
   3137   ac_ct_CC=$CC
   3138   # Extract the first word of "gcc", so it can be a program name with args.
   3139 set dummy gcc; ac_word=$2
   3140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3141 $as_echo_n "checking for $ac_word... " >&6; }
   3142 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3143   $as_echo_n "(cached) " >&6
   3144 else
   3145   if test -n "$ac_ct_CC"; then
   3146   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3147 else
   3148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3149 for as_dir in $PATH
   3150 do
   3151   IFS=$as_save_IFS
   3152   test -z "$as_dir" && as_dir=.
   3153     for ac_exec_ext in '' $ac_executable_extensions; do
   3154   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3155     ac_cv_prog_ac_ct_CC="gcc"
   3156     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3157     break 2
   3158   fi
   3159 done
   3160   done
   3161 IFS=$as_save_IFS
   3162 
   3163 fi
   3164 fi
   3165 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3166 if test -n "$ac_ct_CC"; then
   3167   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3168 $as_echo "$ac_ct_CC" >&6; }
   3169 else
   3170   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3171 $as_echo "no" >&6; }
   3172 fi
   3173 
   3174   if test "x$ac_ct_CC" = x; then
   3175     CC=""
   3176   else
   3177     case $cross_compiling:$ac_tool_warned in
   3178 yes:)
   3179 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3180 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3181 ac_tool_warned=yes ;;
   3182 esac
   3183     CC=$ac_ct_CC
   3184   fi
   3185 else
   3186   CC="$ac_cv_prog_CC"
   3187 fi
   3188 
   3189 if test -z "$CC"; then
   3190           if test -n "$ac_tool_prefix"; then
   3191     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3192 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3194 $as_echo_n "checking for $ac_word... " >&6; }
   3195 if ${ac_cv_prog_CC+:} false; then :
   3196   $as_echo_n "(cached) " >&6
   3197 else
   3198   if test -n "$CC"; then
   3199   ac_cv_prog_CC="$CC" # Let the user override the test.
   3200 else
   3201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3202 for as_dir in $PATH
   3203 do
   3204   IFS=$as_save_IFS
   3205   test -z "$as_dir" && as_dir=.
   3206     for ac_exec_ext in '' $ac_executable_extensions; do
   3207   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3208     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3209     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3210     break 2
   3211   fi
   3212 done
   3213   done
   3214 IFS=$as_save_IFS
   3215 
   3216 fi
   3217 fi
   3218 CC=$ac_cv_prog_CC
   3219 if test -n "$CC"; then
   3220   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3221 $as_echo "$CC" >&6; }
   3222 else
   3223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3224 $as_echo "no" >&6; }
   3225 fi
   3226 
   3227 
   3228   fi
   3229 fi
   3230 if test -z "$CC"; then
   3231   # Extract the first word of "cc", so it can be a program name with args.
   3232 set dummy cc; ac_word=$2
   3233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3234 $as_echo_n "checking for $ac_word... " >&6; }
   3235 if ${ac_cv_prog_CC+:} false; then :
   3236   $as_echo_n "(cached) " >&6
   3237 else
   3238   if test -n "$CC"; then
   3239   ac_cv_prog_CC="$CC" # Let the user override the test.
   3240 else
   3241   ac_prog_rejected=no
   3242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3243 for as_dir in $PATH
   3244 do
   3245   IFS=$as_save_IFS
   3246   test -z "$as_dir" && as_dir=.
   3247     for ac_exec_ext in '' $ac_executable_extensions; do
   3248   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3249     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3250        ac_prog_rejected=yes
   3251        continue
   3252      fi
   3253     ac_cv_prog_CC="cc"
   3254     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3255     break 2
   3256   fi
   3257 done
   3258   done
   3259 IFS=$as_save_IFS
   3260 
   3261 if test $ac_prog_rejected = yes; then
   3262   # We found a bogon in the path, so make sure we never use it.
   3263   set dummy $ac_cv_prog_CC
   3264   shift
   3265   if test $# != 0; then
   3266     # We chose a different compiler from the bogus one.
   3267     # However, it has the same basename, so the bogon will be chosen
   3268     # first if we set CC to just the basename; use the full file name.
   3269     shift
   3270     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3271   fi
   3272 fi
   3273 fi
   3274 fi
   3275 CC=$ac_cv_prog_CC
   3276 if test -n "$CC"; then
   3277   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3278 $as_echo "$CC" >&6; }
   3279 else
   3280   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3281 $as_echo "no" >&6; }
   3282 fi
   3283 
   3284 
   3285 fi
   3286 if test -z "$CC"; then
   3287   if test -n "$ac_tool_prefix"; then
   3288   for ac_prog in cl.exe
   3289   do
   3290     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3291 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3293 $as_echo_n "checking for $ac_word... " >&6; }
   3294 if ${ac_cv_prog_CC+:} false; then :
   3295   $as_echo_n "(cached) " >&6
   3296 else
   3297   if test -n "$CC"; then
   3298   ac_cv_prog_CC="$CC" # Let the user override the test.
   3299 else
   3300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3301 for as_dir in $PATH
   3302 do
   3303   IFS=$as_save_IFS
   3304   test -z "$as_dir" && as_dir=.
   3305     for ac_exec_ext in '' $ac_executable_extensions; do
   3306   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3307     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3308     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3309     break 2
   3310   fi
   3311 done
   3312   done
   3313 IFS=$as_save_IFS
   3314 
   3315 fi
   3316 fi
   3317 CC=$ac_cv_prog_CC
   3318 if test -n "$CC"; then
   3319   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3320 $as_echo "$CC" >&6; }
   3321 else
   3322   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3323 $as_echo "no" >&6; }
   3324 fi
   3325 
   3326 
   3327     test -n "$CC" && break
   3328   done
   3329 fi
   3330 if test -z "$CC"; then
   3331   ac_ct_CC=$CC
   3332   for ac_prog in cl.exe
   3333 do
   3334   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3335 set dummy $ac_prog; ac_word=$2
   3336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3337 $as_echo_n "checking for $ac_word... " >&6; }
   3338 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3339   $as_echo_n "(cached) " >&6
   3340 else
   3341   if test -n "$ac_ct_CC"; then
   3342   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3343 else
   3344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3345 for as_dir in $PATH
   3346 do
   3347   IFS=$as_save_IFS
   3348   test -z "$as_dir" && as_dir=.
   3349     for ac_exec_ext in '' $ac_executable_extensions; do
   3350   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3351     ac_cv_prog_ac_ct_CC="$ac_prog"
   3352     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3353     break 2
   3354   fi
   3355 done
   3356   done
   3357 IFS=$as_save_IFS
   3358 
   3359 fi
   3360 fi
   3361 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3362 if test -n "$ac_ct_CC"; then
   3363   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3364 $as_echo "$ac_ct_CC" >&6; }
   3365 else
   3366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3367 $as_echo "no" >&6; }
   3368 fi
   3369 
   3370 
   3371   test -n "$ac_ct_CC" && break
   3372 done
   3373 
   3374   if test "x$ac_ct_CC" = x; then
   3375     CC=""
   3376   else
   3377     case $cross_compiling:$ac_tool_warned in
   3378 yes:)
   3379 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3380 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3381 ac_tool_warned=yes ;;
   3382 esac
   3383     CC=$ac_ct_CC
   3384   fi
   3385 fi
   3386 
   3387 fi
   3388 
   3389 
   3390 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3391 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3392 as_fn_error $? "no acceptable C compiler found in \$PATH
   3393 See \`config.log' for more details" "$LINENO" 5; }
   3394 
   3395 # Provide some information about the compiler.
   3396 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3397 set X $ac_compile
   3398 ac_compiler=$2
   3399 for ac_option in --version -v -V -qversion; do
   3400   { { ac_try="$ac_compiler $ac_option >&5"
   3401 case "(($ac_try" in
   3402   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3403   *) ac_try_echo=$ac_try;;
   3404 esac
   3405 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3406 $as_echo "$ac_try_echo"; } >&5
   3407   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3408   ac_status=$?
   3409   if test -s conftest.err; then
   3410     sed '10a\
   3411 ... rest of stderr output deleted ...
   3412          10q' conftest.err >conftest.er1
   3413     cat conftest.er1 >&5
   3414   fi
   3415   rm -f conftest.er1 conftest.err
   3416   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3417   test $ac_status = 0; }
   3418 done
   3419 
   3420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3421 /* end confdefs.h.  */
   3422 
   3423 int
   3424 main ()
   3425 {
   3426 
   3427   ;
   3428   return 0;
   3429 }
   3430 _ACEOF
   3431 ac_clean_files_save=$ac_clean_files
   3432 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3433 # Try to create an executable without -o first, disregard a.out.
   3434 # It will help us diagnose broken compilers, and finding out an intuition
   3435 # of exeext.
   3436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3437 $as_echo_n "checking whether the C compiler works... " >&6; }
   3438 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3439 
   3440 # The possible output files:
   3441 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3442 
   3443 ac_rmfiles=
   3444 for ac_file in $ac_files
   3445 do
   3446   case $ac_file in
   3447     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3448     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3449   esac
   3450 done
   3451 rm -f $ac_rmfiles
   3452 
   3453 if { { ac_try="$ac_link_default"
   3454 case "(($ac_try" in
   3455   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3456   *) ac_try_echo=$ac_try;;
   3457 esac
   3458 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3459 $as_echo "$ac_try_echo"; } >&5
   3460   (eval "$ac_link_default") 2>&5
   3461   ac_status=$?
   3462   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3463   test $ac_status = 0; }; then :
   3464   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3465 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3466 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3467 # so that the user can short-circuit this test for compilers unknown to
   3468 # Autoconf.
   3469 for ac_file in $ac_files ''
   3470 do
   3471   test -f "$ac_file" || continue
   3472   case $ac_file in
   3473     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3474 	;;
   3475     [ab].out )
   3476 	# We found the default executable, but exeext='' is most
   3477 	# certainly right.
   3478 	break;;
   3479     *.* )
   3480 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3481 	then :; else
   3482 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3483 	fi
   3484 	# We set ac_cv_exeext here because the later test for it is not
   3485 	# safe: cross compilers may not add the suffix if given an `-o'
   3486 	# argument, so we may need to know it at that point already.
   3487 	# Even if this section looks crufty: it has the advantage of
   3488 	# actually working.
   3489 	break;;
   3490     * )
   3491 	break;;
   3492   esac
   3493 done
   3494 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3495 
   3496 else
   3497   ac_file=''
   3498 fi
   3499 if test -z "$ac_file"; then :
   3500   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3501 $as_echo "no" >&6; }
   3502 $as_echo "$as_me: failed program was:" >&5
   3503 sed 's/^/| /' conftest.$ac_ext >&5
   3504 
   3505 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3506 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3507 as_fn_error 77 "C compiler cannot create executables
   3508 See \`config.log' for more details" "$LINENO" 5; }
   3509 else
   3510   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3511 $as_echo "yes" >&6; }
   3512 fi
   3513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3514 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3516 $as_echo "$ac_file" >&6; }
   3517 ac_exeext=$ac_cv_exeext
   3518 
   3519 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3520 ac_clean_files=$ac_clean_files_save
   3521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3522 $as_echo_n "checking for suffix of executables... " >&6; }
   3523 if { { ac_try="$ac_link"
   3524 case "(($ac_try" in
   3525   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3526   *) ac_try_echo=$ac_try;;
   3527 esac
   3528 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3529 $as_echo "$ac_try_echo"; } >&5
   3530   (eval "$ac_link") 2>&5
   3531   ac_status=$?
   3532   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3533   test $ac_status = 0; }; then :
   3534   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3535 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3536 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3537 # `rm'.
   3538 for ac_file in conftest.exe conftest conftest.*; do
   3539   test -f "$ac_file" || continue
   3540   case $ac_file in
   3541     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3542     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3543 	  break;;
   3544     * ) break;;
   3545   esac
   3546 done
   3547 else
   3548   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3549 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3550 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3551 See \`config.log' for more details" "$LINENO" 5; }
   3552 fi
   3553 rm -f conftest conftest$ac_cv_exeext
   3554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3555 $as_echo "$ac_cv_exeext" >&6; }
   3556 
   3557 rm -f conftest.$ac_ext
   3558 EXEEXT=$ac_cv_exeext
   3559 ac_exeext=$EXEEXT
   3560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3561 /* end confdefs.h.  */
   3562 #include <stdio.h>
   3563 int
   3564 main ()
   3565 {
   3566 FILE *f = fopen ("conftest.out", "w");
   3567  return ferror (f) || fclose (f) != 0;
   3568 
   3569   ;
   3570   return 0;
   3571 }
   3572 _ACEOF
   3573 ac_clean_files="$ac_clean_files conftest.out"
   3574 # Check that the compiler produces executables we can run.  If not, either
   3575 # the compiler is broken, or we cross compile.
   3576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3577 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3578 if test "$cross_compiling" != yes; then
   3579   { { ac_try="$ac_link"
   3580 case "(($ac_try" in
   3581   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3582   *) ac_try_echo=$ac_try;;
   3583 esac
   3584 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3585 $as_echo "$ac_try_echo"; } >&5
   3586   (eval "$ac_link") 2>&5
   3587   ac_status=$?
   3588   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3589   test $ac_status = 0; }
   3590   if { ac_try='./conftest$ac_cv_exeext'
   3591   { { case "(($ac_try" in
   3592   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3593   *) ac_try_echo=$ac_try;;
   3594 esac
   3595 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3596 $as_echo "$ac_try_echo"; } >&5
   3597   (eval "$ac_try") 2>&5
   3598   ac_status=$?
   3599   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3600   test $ac_status = 0; }; }; then
   3601     cross_compiling=no
   3602   else
   3603     if test "$cross_compiling" = maybe; then
   3604 	cross_compiling=yes
   3605     else
   3606 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3607 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3608 as_fn_error $? "cannot run C compiled programs.
   3609 If you meant to cross compile, use \`--host'.
   3610 See \`config.log' for more details" "$LINENO" 5; }
   3611     fi
   3612   fi
   3613 fi
   3614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3615 $as_echo "$cross_compiling" >&6; }
   3616 
   3617 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3618 ac_clean_files=$ac_clean_files_save
   3619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3620 $as_echo_n "checking for suffix of object files... " >&6; }
   3621 if ${ac_cv_objext+:} false; then :
   3622   $as_echo_n "(cached) " >&6
   3623 else
   3624   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3625 /* end confdefs.h.  */
   3626 
   3627 int
   3628 main ()
   3629 {
   3630 
   3631   ;
   3632   return 0;
   3633 }
   3634 _ACEOF
   3635 rm -f conftest.o conftest.obj
   3636 if { { ac_try="$ac_compile"
   3637 case "(($ac_try" in
   3638   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3639   *) ac_try_echo=$ac_try;;
   3640 esac
   3641 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3642 $as_echo "$ac_try_echo"; } >&5
   3643   (eval "$ac_compile") 2>&5
   3644   ac_status=$?
   3645   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3646   test $ac_status = 0; }; then :
   3647   for ac_file in conftest.o conftest.obj conftest.*; do
   3648   test -f "$ac_file" || continue;
   3649   case $ac_file in
   3650     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3651     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3652        break;;
   3653   esac
   3654 done
   3655 else
   3656   $as_echo "$as_me: failed program was:" >&5
   3657 sed 's/^/| /' conftest.$ac_ext >&5
   3658 
   3659 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3660 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3661 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3662 See \`config.log' for more details" "$LINENO" 5; }
   3663 fi
   3664 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3665 fi
   3666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3667 $as_echo "$ac_cv_objext" >&6; }
   3668 OBJEXT=$ac_cv_objext
   3669 ac_objext=$OBJEXT
   3670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3671 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3672 if ${ac_cv_c_compiler_gnu+:} false; then :
   3673   $as_echo_n "(cached) " >&6
   3674 else
   3675   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3676 /* end confdefs.h.  */
   3677 
   3678 int
   3679 main ()
   3680 {
   3681 #ifndef __GNUC__
   3682        choke me
   3683 #endif
   3684 
   3685   ;
   3686   return 0;
   3687 }
   3688 _ACEOF
   3689 if ac_fn_c_try_compile "$LINENO"; then :
   3690   ac_compiler_gnu=yes
   3691 else
   3692   ac_compiler_gnu=no
   3693 fi
   3694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3695 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3696 
   3697 fi
   3698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3699 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3700 if test $ac_compiler_gnu = yes; then
   3701   GCC=yes
   3702 else
   3703   GCC=
   3704 fi
   3705 ac_test_CFLAGS=${CFLAGS+set}
   3706 ac_save_CFLAGS=$CFLAGS
   3707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3708 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3709 if ${ac_cv_prog_cc_g+:} false; then :
   3710   $as_echo_n "(cached) " >&6
   3711 else
   3712   ac_save_c_werror_flag=$ac_c_werror_flag
   3713    ac_c_werror_flag=yes
   3714    ac_cv_prog_cc_g=no
   3715    CFLAGS="-g"
   3716    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3717 /* end confdefs.h.  */
   3718 
   3719 int
   3720 main ()
   3721 {
   3722 
   3723   ;
   3724   return 0;
   3725 }
   3726 _ACEOF
   3727 if ac_fn_c_try_compile "$LINENO"; then :
   3728   ac_cv_prog_cc_g=yes
   3729 else
   3730   CFLAGS=""
   3731       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3732 /* end confdefs.h.  */
   3733 
   3734 int
   3735 main ()
   3736 {
   3737 
   3738   ;
   3739   return 0;
   3740 }
   3741 _ACEOF
   3742 if ac_fn_c_try_compile "$LINENO"; then :
   3743 
   3744 else
   3745   ac_c_werror_flag=$ac_save_c_werror_flag
   3746 	 CFLAGS="-g"
   3747 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3748 /* end confdefs.h.  */
   3749 
   3750 int
   3751 main ()
   3752 {
   3753 
   3754   ;
   3755   return 0;
   3756 }
   3757 _ACEOF
   3758 if ac_fn_c_try_compile "$LINENO"; then :
   3759   ac_cv_prog_cc_g=yes
   3760 fi
   3761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3762 fi
   3763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3764 fi
   3765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3766    ac_c_werror_flag=$ac_save_c_werror_flag
   3767 fi
   3768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3769 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3770 if test "$ac_test_CFLAGS" = set; then
   3771   CFLAGS=$ac_save_CFLAGS
   3772 elif test $ac_cv_prog_cc_g = yes; then
   3773   if test "$GCC" = yes; then
   3774     CFLAGS="-g -O2"
   3775   else
   3776     CFLAGS="-g"
   3777   fi
   3778 else
   3779   if test "$GCC" = yes; then
   3780     CFLAGS="-O2"
   3781   else
   3782     CFLAGS=
   3783   fi
   3784 fi
   3785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3786 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3787 if ${ac_cv_prog_cc_c89+:} false; then :
   3788   $as_echo_n "(cached) " >&6
   3789 else
   3790   ac_cv_prog_cc_c89=no
   3791 ac_save_CC=$CC
   3792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3793 /* end confdefs.h.  */
   3794 #include <stdarg.h>
   3795 #include <stdio.h>
   3796 #include <sys/types.h>
   3797 #include <sys/stat.h>
   3798 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3799 struct buf { int x; };
   3800 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3801 static char *e (p, i)
   3802      char **p;
   3803      int i;
   3804 {
   3805   return p[i];
   3806 }
   3807 static char *f (char * (*g) (char **, int), char **p, ...)
   3808 {
   3809   char *s;
   3810   va_list v;
   3811   va_start (v,p);
   3812   s = g (p, va_arg (v,int));
   3813   va_end (v);
   3814   return s;
   3815 }
   3816 
   3817 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3818    function prototypes and stuff, but not '\xHH' hex character constants.
   3819    These don't provoke an error unfortunately, instead are silently treated
   3820    as 'x'.  The following induces an error, until -std is added to get
   3821    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3822    array size at least.  It's necessary to write '\x00'==0 to get something
   3823    that's true only with -std.  */
   3824 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3825 
   3826 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3827    inside strings and character constants.  */
   3828 #define FOO(x) 'x'
   3829 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3830 
   3831 int test (int i, double x);
   3832 struct s1 {int (*f) (int a);};
   3833 struct s2 {int (*f) (double a);};
   3834 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3835 int argc;
   3836 char **argv;
   3837 int
   3838 main ()
   3839 {
   3840 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3841   ;
   3842   return 0;
   3843 }
   3844 _ACEOF
   3845 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3846 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3847 do
   3848   CC="$ac_save_CC $ac_arg"
   3849   if ac_fn_c_try_compile "$LINENO"; then :
   3850   ac_cv_prog_cc_c89=$ac_arg
   3851 fi
   3852 rm -f core conftest.err conftest.$ac_objext
   3853   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3854 done
   3855 rm -f conftest.$ac_ext
   3856 CC=$ac_save_CC
   3857 
   3858 fi
   3859 # AC_CACHE_VAL
   3860 case "x$ac_cv_prog_cc_c89" in
   3861   x)
   3862     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3863 $as_echo "none needed" >&6; } ;;
   3864   xno)
   3865     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3866 $as_echo "unsupported" >&6; } ;;
   3867   *)
   3868     CC="$CC $ac_cv_prog_cc_c89"
   3869     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3870 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3871 esac
   3872 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3873 
   3874 fi
   3875 
   3876 ac_ext=c
   3877 ac_cpp='$CPP $CPPFLAGS'
   3878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3881 
   3882 depcc="$CC"   am_compiler_list=
   3883 
   3884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3885 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3886 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3887   $as_echo_n "(cached) " >&6
   3888 else
   3889   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3890   # We make a subdir and do the tests there.  Otherwise we can end up
   3891   # making bogus files that we don't know about and never remove.  For
   3892   # instance it was reported that on HP-UX the gcc test will end up
   3893   # making a dummy file named 'D' -- because '-MD' means "put the output
   3894   # in D".
   3895   rm -rf conftest.dir
   3896   mkdir conftest.dir
   3897   # Copy depcomp to subdir because otherwise we won't find it if we're
   3898   # using a relative directory.
   3899   cp "$am_depcomp" conftest.dir
   3900   cd conftest.dir
   3901   # We will build objects and dependencies in a subdirectory because
   3902   # it helps to detect inapplicable dependency modes.  For instance
   3903   # both Tru64's cc and ICC support -MD to output dependencies as a
   3904   # side effect of compilation, but ICC will put the dependencies in
   3905   # the current directory while Tru64 will put them in the object
   3906   # directory.
   3907   mkdir sub
   3908 
   3909   am_cv_CC_dependencies_compiler_type=none
   3910   if test "$am_compiler_list" = ""; then
   3911      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3912   fi
   3913   am__universal=false
   3914   case " $depcc " in #(
   3915      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3916      esac
   3917 
   3918   for depmode in $am_compiler_list; do
   3919     # Setup a source with many dependencies, because some compilers
   3920     # like to wrap large dependency lists on column 80 (with \), and
   3921     # we should not choose a depcomp mode which is confused by this.
   3922     #
   3923     # We need to recreate these files for each test, as the compiler may
   3924     # overwrite some of them when testing with obscure command lines.
   3925     # This happens at least with the AIX C compiler.
   3926     : > sub/conftest.c
   3927     for i in 1 2 3 4 5 6; do
   3928       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3929       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3930       # Solaris 10 /bin/sh.
   3931       echo '/* dummy */' > sub/conftst$i.h
   3932     done
   3933     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3934 
   3935     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3936     # mode.  It turns out that the SunPro C++ compiler does not properly
   3937     # handle '-M -o', and we need to detect this.  Also, some Intel
   3938     # versions had trouble with output in subdirs.
   3939     am__obj=sub/conftest.${OBJEXT-o}
   3940     am__minus_obj="-o $am__obj"
   3941     case $depmode in
   3942     gcc)
   3943       # This depmode causes a compiler race in universal mode.
   3944       test "$am__universal" = false || continue
   3945       ;;
   3946     nosideeffect)
   3947       # After this tag, mechanisms are not by side-effect, so they'll
   3948       # only be used when explicitly requested.
   3949       if test "x$enable_dependency_tracking" = xyes; then
   3950 	continue
   3951       else
   3952 	break
   3953       fi
   3954       ;;
   3955     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3956       # This compiler won't grok '-c -o', but also, the minuso test has
   3957       # not run yet.  These depmodes are late enough in the game, and
   3958       # so weak that their functioning should not be impacted.
   3959       am__obj=conftest.${OBJEXT-o}
   3960       am__minus_obj=
   3961       ;;
   3962     none) break ;;
   3963     esac
   3964     if depmode=$depmode \
   3965        source=sub/conftest.c object=$am__obj \
   3966        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3967        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3968          >/dev/null 2>conftest.err &&
   3969        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3970        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3971        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3972        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3973       # icc doesn't choke on unknown options, it will just issue warnings
   3974       # or remarks (even with -Werror).  So we grep stderr for any message
   3975       # that says an option was ignored or not supported.
   3976       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3977       #   icc: Command line warning: ignoring option '-M'; no argument required
   3978       # The diagnosis changed in icc 8.0:
   3979       #   icc: Command line remark: option '-MP' not supported
   3980       if (grep 'ignoring option' conftest.err ||
   3981           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3982         am_cv_CC_dependencies_compiler_type=$depmode
   3983         break
   3984       fi
   3985     fi
   3986   done
   3987 
   3988   cd ..
   3989   rm -rf conftest.dir
   3990 else
   3991   am_cv_CC_dependencies_compiler_type=none
   3992 fi
   3993 
   3994 fi
   3995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3996 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3997 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3998 
   3999  if
   4000   test "x$enable_dependency_tracking" != xno \
   4001   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4002   am__fastdepCC_TRUE=
   4003   am__fastdepCC_FALSE='#'
   4004 else
   4005   am__fastdepCC_TRUE='#'
   4006   am__fastdepCC_FALSE=
   4007 fi
   4008 
   4009 
   4010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4011 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4012 if ${ac_cv_path_SED+:} false; then :
   4013   $as_echo_n "(cached) " >&6
   4014 else
   4015             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4016      for ac_i in 1 2 3 4 5 6 7; do
   4017        ac_script="$ac_script$as_nl$ac_script"
   4018      done
   4019      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4020      { ac_script=; unset ac_script;}
   4021      if test -z "$SED"; then
   4022   ac_path_SED_found=false
   4023   # Loop through the user's path and test for each of PROGNAME-LIST
   4024   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4025 for as_dir in $PATH
   4026 do
   4027   IFS=$as_save_IFS
   4028   test -z "$as_dir" && as_dir=.
   4029     for ac_prog in sed gsed; do
   4030     for ac_exec_ext in '' $ac_executable_extensions; do
   4031       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4032       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   4033 # Check for GNU ac_path_SED and select it if it is found.
   4034   # Check for GNU $ac_path_SED
   4035 case `"$ac_path_SED" --version 2>&1` in
   4036 *GNU*)
   4037   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4038 *)
   4039   ac_count=0
   4040   $as_echo_n 0123456789 >"conftest.in"
   4041   while :
   4042   do
   4043     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4044     mv "conftest.tmp" "conftest.in"
   4045     cp "conftest.in" "conftest.nl"
   4046     $as_echo '' >> "conftest.nl"
   4047     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4048     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4049     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4050     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4051       # Best one so far, save it but keep looking for a better one
   4052       ac_cv_path_SED="$ac_path_SED"
   4053       ac_path_SED_max=$ac_count
   4054     fi
   4055     # 10*(2^10) chars as input seems more than enough
   4056     test $ac_count -gt 10 && break
   4057   done
   4058   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4059 esac
   4060 
   4061       $ac_path_SED_found && break 3
   4062     done
   4063   done
   4064   done
   4065 IFS=$as_save_IFS
   4066   if test -z "$ac_cv_path_SED"; then
   4067     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4068   fi
   4069 else
   4070   ac_cv_path_SED=$SED
   4071 fi
   4072 
   4073 fi
   4074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4075 $as_echo "$ac_cv_path_SED" >&6; }
   4076  SED="$ac_cv_path_SED"
   4077   rm -f conftest.sed
   4078 
   4079 test -z "$SED" && SED=sed
   4080 Xsed="$SED -e 1s/^X//"
   4081 
   4082 
   4083 
   4084 
   4085 
   4086 
   4087 
   4088 
   4089 
   4090 
   4091 
   4092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4093 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4094 if ${ac_cv_path_GREP+:} false; then :
   4095   $as_echo_n "(cached) " >&6
   4096 else
   4097   if test -z "$GREP"; then
   4098   ac_path_GREP_found=false
   4099   # Loop through the user's path and test for each of PROGNAME-LIST
   4100   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4101 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4102 do
   4103   IFS=$as_save_IFS
   4104   test -z "$as_dir" && as_dir=.
   4105     for ac_prog in grep ggrep; do
   4106     for ac_exec_ext in '' $ac_executable_extensions; do
   4107       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4108       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4109 # Check for GNU ac_path_GREP and select it if it is found.
   4110   # Check for GNU $ac_path_GREP
   4111 case `"$ac_path_GREP" --version 2>&1` in
   4112 *GNU*)
   4113   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4114 *)
   4115   ac_count=0
   4116   $as_echo_n 0123456789 >"conftest.in"
   4117   while :
   4118   do
   4119     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4120     mv "conftest.tmp" "conftest.in"
   4121     cp "conftest.in" "conftest.nl"
   4122     $as_echo 'GREP' >> "conftest.nl"
   4123     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4124     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4125     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4126     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4127       # Best one so far, save it but keep looking for a better one
   4128       ac_cv_path_GREP="$ac_path_GREP"
   4129       ac_path_GREP_max=$ac_count
   4130     fi
   4131     # 10*(2^10) chars as input seems more than enough
   4132     test $ac_count -gt 10 && break
   4133   done
   4134   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4135 esac
   4136 
   4137       $ac_path_GREP_found && break 3
   4138     done
   4139   done
   4140   done
   4141 IFS=$as_save_IFS
   4142   if test -z "$ac_cv_path_GREP"; then
   4143     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4144   fi
   4145 else
   4146   ac_cv_path_GREP=$GREP
   4147 fi
   4148 
   4149 fi
   4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4151 $as_echo "$ac_cv_path_GREP" >&6; }
   4152  GREP="$ac_cv_path_GREP"
   4153 
   4154 
   4155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4156 $as_echo_n "checking for egrep... " >&6; }
   4157 if ${ac_cv_path_EGREP+:} false; then :
   4158   $as_echo_n "(cached) " >&6
   4159 else
   4160   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4161    then ac_cv_path_EGREP="$GREP -E"
   4162    else
   4163      if test -z "$EGREP"; then
   4164   ac_path_EGREP_found=false
   4165   # Loop through the user's path and test for each of PROGNAME-LIST
   4166   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4167 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4168 do
   4169   IFS=$as_save_IFS
   4170   test -z "$as_dir" && as_dir=.
   4171     for ac_prog in egrep; do
   4172     for ac_exec_ext in '' $ac_executable_extensions; do
   4173       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4174       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4175 # Check for GNU ac_path_EGREP and select it if it is found.
   4176   # Check for GNU $ac_path_EGREP
   4177 case `"$ac_path_EGREP" --version 2>&1` in
   4178 *GNU*)
   4179   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4180 *)
   4181   ac_count=0
   4182   $as_echo_n 0123456789 >"conftest.in"
   4183   while :
   4184   do
   4185     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4186     mv "conftest.tmp" "conftest.in"
   4187     cp "conftest.in" "conftest.nl"
   4188     $as_echo 'EGREP' >> "conftest.nl"
   4189     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4190     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4191     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4192     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4193       # Best one so far, save it but keep looking for a better one
   4194       ac_cv_path_EGREP="$ac_path_EGREP"
   4195       ac_path_EGREP_max=$ac_count
   4196     fi
   4197     # 10*(2^10) chars as input seems more than enough
   4198     test $ac_count -gt 10 && break
   4199   done
   4200   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4201 esac
   4202 
   4203       $ac_path_EGREP_found && break 3
   4204     done
   4205   done
   4206   done
   4207 IFS=$as_save_IFS
   4208   if test -z "$ac_cv_path_EGREP"; then
   4209     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4210   fi
   4211 else
   4212   ac_cv_path_EGREP=$EGREP
   4213 fi
   4214 
   4215    fi
   4216 fi
   4217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4218 $as_echo "$ac_cv_path_EGREP" >&6; }
   4219  EGREP="$ac_cv_path_EGREP"
   4220 
   4221 
   4222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4223 $as_echo_n "checking for fgrep... " >&6; }
   4224 if ${ac_cv_path_FGREP+:} false; then :
   4225   $as_echo_n "(cached) " >&6
   4226 else
   4227   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4228    then ac_cv_path_FGREP="$GREP -F"
   4229    else
   4230      if test -z "$FGREP"; then
   4231   ac_path_FGREP_found=false
   4232   # Loop through the user's path and test for each of PROGNAME-LIST
   4233   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4234 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4235 do
   4236   IFS=$as_save_IFS
   4237   test -z "$as_dir" && as_dir=.
   4238     for ac_prog in fgrep; do
   4239     for ac_exec_ext in '' $ac_executable_extensions; do
   4240       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4241       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   4242 # Check for GNU ac_path_FGREP and select it if it is found.
   4243   # Check for GNU $ac_path_FGREP
   4244 case `"$ac_path_FGREP" --version 2>&1` in
   4245 *GNU*)
   4246   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4247 *)
   4248   ac_count=0
   4249   $as_echo_n 0123456789 >"conftest.in"
   4250   while :
   4251   do
   4252     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4253     mv "conftest.tmp" "conftest.in"
   4254     cp "conftest.in" "conftest.nl"
   4255     $as_echo 'FGREP' >> "conftest.nl"
   4256     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4257     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4258     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4259     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4260       # Best one so far, save it but keep looking for a better one
   4261       ac_cv_path_FGREP="$ac_path_FGREP"
   4262       ac_path_FGREP_max=$ac_count
   4263     fi
   4264     # 10*(2^10) chars as input seems more than enough
   4265     test $ac_count -gt 10 && break
   4266   done
   4267   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4268 esac
   4269 
   4270       $ac_path_FGREP_found && break 3
   4271     done
   4272   done
   4273   done
   4274 IFS=$as_save_IFS
   4275   if test -z "$ac_cv_path_FGREP"; then
   4276     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4277   fi
   4278 else
   4279   ac_cv_path_FGREP=$FGREP
   4280 fi
   4281 
   4282    fi
   4283 fi
   4284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4285 $as_echo "$ac_cv_path_FGREP" >&6; }
   4286  FGREP="$ac_cv_path_FGREP"
   4287 
   4288 
   4289 test -z "$GREP" && GREP=grep
   4290 
   4291 
   4292 
   4293 
   4294 
   4295 
   4296 
   4297 
   4298 
   4299 
   4300 
   4301 
   4302 
   4303 
   4304 
   4305 
   4306 
   4307 
   4308 
   4309 # Check whether --with-gnu-ld was given.
   4310 if test "${with_gnu_ld+set}" = set; then :
   4311   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4312 else
   4313   with_gnu_ld=no
   4314 fi
   4315 
   4316 ac_prog=ld
   4317 if test "$GCC" = yes; then
   4318   # Check if gcc -print-prog-name=ld gives a path.
   4319   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   4320 $as_echo_n "checking for ld used by $CC... " >&6; }
   4321   case $host in
   4322   *-*-mingw*)
   4323     # gcc leaves a trailing carriage return which upsets mingw
   4324     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4325   *)
   4326     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4327   esac
   4328   case $ac_prog in
   4329     # Accept absolute paths.
   4330     [\\/]* | ?:[\\/]*)
   4331       re_direlt='/[^/][^/]*/\.\./'
   4332       # Canonicalize the pathname of ld
   4333       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4334       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4335 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4336       done
   4337       test -z "$LD" && LD="$ac_prog"
   4338       ;;
   4339   "")
   4340     # If it fails, then pretend we aren't using GCC.
   4341     ac_prog=ld
   4342     ;;
   4343   *)
   4344     # If it is relative, then search for the first ld in PATH.
   4345     with_gnu_ld=unknown
   4346     ;;
   4347   esac
   4348 elif test "$with_gnu_ld" = yes; then
   4349   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   4350 $as_echo_n "checking for GNU ld... " >&6; }
   4351 else
   4352   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   4353 $as_echo_n "checking for non-GNU ld... " >&6; }
   4354 fi
   4355 if ${lt_cv_path_LD+:} false; then :
   4356   $as_echo_n "(cached) " >&6
   4357 else
   4358   if test -z "$LD"; then
   4359   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4360   for ac_dir in $PATH; do
   4361     IFS="$lt_save_ifs"
   4362     test -z "$ac_dir" && ac_dir=.
   4363     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4364       lt_cv_path_LD="$ac_dir/$ac_prog"
   4365       # Check to see if the program is GNU ld.  I'd rather use --version,
   4366       # but apparently some variants of GNU ld only accept -v.
   4367       # Break only if it was the GNU/non-GNU ld that we prefer.
   4368       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4369       *GNU* | *'with BFD'*)
   4370 	test "$with_gnu_ld" != no && break
   4371 	;;
   4372       *)
   4373 	test "$with_gnu_ld" != yes && break
   4374 	;;
   4375       esac
   4376     fi
   4377   done
   4378   IFS="$lt_save_ifs"
   4379 else
   4380   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4381 fi
   4382 fi
   4383 
   4384 LD="$lt_cv_path_LD"
   4385 if test -n "$LD"; then
   4386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   4387 $as_echo "$LD" >&6; }
   4388 else
   4389   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4390 $as_echo "no" >&6; }
   4391 fi
   4392 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   4393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   4394 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4395 if ${lt_cv_prog_gnu_ld+:} false; then :
   4396   $as_echo_n "(cached) " >&6
   4397 else
   4398   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4399 case `$LD -v 2>&1 </dev/null` in
   4400 *GNU* | *'with BFD'*)
   4401   lt_cv_prog_gnu_ld=yes
   4402   ;;
   4403 *)
   4404   lt_cv_prog_gnu_ld=no
   4405   ;;
   4406 esac
   4407 fi
   4408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   4409 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4410 with_gnu_ld=$lt_cv_prog_gnu_ld
   4411 
   4412 
   4413 
   4414 
   4415 
   4416 
   4417 
   4418 
   4419 
   4420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   4421 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   4422 if ${lt_cv_path_NM+:} false; then :
   4423   $as_echo_n "(cached) " >&6
   4424 else
   4425   if test -n "$NM"; then
   4426   # Let the user override the test.
   4427   lt_cv_path_NM="$NM"
   4428 else
   4429   lt_nm_to_check="${ac_tool_prefix}nm"
   4430   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4431     lt_nm_to_check="$lt_nm_to_check nm"
   4432   fi
   4433   for lt_tmp_nm in $lt_nm_to_check; do
   4434     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4435     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4436       IFS="$lt_save_ifs"
   4437       test -z "$ac_dir" && ac_dir=.
   4438       tmp_nm="$ac_dir/$lt_tmp_nm"
   4439       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4440 	# Check to see if the nm accepts a BSD-compat flag.
   4441 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4442 	#   nm: unknown option "B" ignored
   4443 	# Tru64's nm complains that /dev/null is an invalid object file
   4444 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4445 	*/dev/null* | *'Invalid file or object type'*)
   4446 	  lt_cv_path_NM="$tmp_nm -B"
   4447 	  break
   4448 	  ;;
   4449 	*)
   4450 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4451 	  */dev/null*)
   4452 	    lt_cv_path_NM="$tmp_nm -p"
   4453 	    break
   4454 	    ;;
   4455 	  *)
   4456 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4457 	    continue # so that we can try to find one that supports BSD flags
   4458 	    ;;
   4459 	  esac
   4460 	  ;;
   4461 	esac
   4462       fi
   4463     done
   4464     IFS="$lt_save_ifs"
   4465   done
   4466   : ${lt_cv_path_NM=no}
   4467 fi
   4468 fi
   4469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   4470 $as_echo "$lt_cv_path_NM" >&6; }
   4471 if test "$lt_cv_path_NM" != "no"; then
   4472   NM="$lt_cv_path_NM"
   4473 else
   4474   # Didn't find any BSD compatible name lister, look for dumpbin.
   4475   if test -n "$DUMPBIN"; then :
   4476     # Let the user override the test.
   4477   else
   4478     if test -n "$ac_tool_prefix"; then
   4479   for ac_prog in dumpbin "link -dump"
   4480   do
   4481     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4482 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4484 $as_echo_n "checking for $ac_word... " >&6; }
   4485 if ${ac_cv_prog_DUMPBIN+:} false; then :
   4486   $as_echo_n "(cached) " >&6
   4487 else
   4488   if test -n "$DUMPBIN"; then
   4489   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   4490 else
   4491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4492 for as_dir in $PATH
   4493 do
   4494   IFS=$as_save_IFS
   4495   test -z "$as_dir" && as_dir=.
   4496     for ac_exec_ext in '' $ac_executable_extensions; do
   4497   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4498     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   4499     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4500     break 2
   4501   fi
   4502 done
   4503   done
   4504 IFS=$as_save_IFS
   4505 
   4506 fi
   4507 fi
   4508 DUMPBIN=$ac_cv_prog_DUMPBIN
   4509 if test -n "$DUMPBIN"; then
   4510   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   4511 $as_echo "$DUMPBIN" >&6; }
   4512 else
   4513   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4514 $as_echo "no" >&6; }
   4515 fi
   4516 
   4517 
   4518     test -n "$DUMPBIN" && break
   4519   done
   4520 fi
   4521 if test -z "$DUMPBIN"; then
   4522   ac_ct_DUMPBIN=$DUMPBIN
   4523   for ac_prog in dumpbin "link -dump"
   4524 do
   4525   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4526 set dummy $ac_prog; ac_word=$2
   4527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4528 $as_echo_n "checking for $ac_word... " >&6; }
   4529 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   4530   $as_echo_n "(cached) " >&6
   4531 else
   4532   if test -n "$ac_ct_DUMPBIN"; then
   4533   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   4534 else
   4535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4536 for as_dir in $PATH
   4537 do
   4538   IFS=$as_save_IFS
   4539   test -z "$as_dir" && as_dir=.
   4540     for ac_exec_ext in '' $ac_executable_extensions; do
   4541   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4542     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   4543     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4544     break 2
   4545   fi
   4546 done
   4547   done
   4548 IFS=$as_save_IFS
   4549 
   4550 fi
   4551 fi
   4552 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   4553 if test -n "$ac_ct_DUMPBIN"; then
   4554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   4555 $as_echo "$ac_ct_DUMPBIN" >&6; }
   4556 else
   4557   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4558 $as_echo "no" >&6; }
   4559 fi
   4560 
   4561 
   4562   test -n "$ac_ct_DUMPBIN" && break
   4563 done
   4564 
   4565   if test "x$ac_ct_DUMPBIN" = x; then
   4566     DUMPBIN=":"
   4567   else
   4568     case $cross_compiling:$ac_tool_warned in
   4569 yes:)
   4570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4571 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4572 ac_tool_warned=yes ;;
   4573 esac
   4574     DUMPBIN=$ac_ct_DUMPBIN
   4575   fi
   4576 fi
   4577 
   4578     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   4579     *COFF*)
   4580       DUMPBIN="$DUMPBIN -symbols"
   4581       ;;
   4582     *)
   4583       DUMPBIN=:
   4584       ;;
   4585     esac
   4586   fi
   4587 
   4588   if test "$DUMPBIN" != ":"; then
   4589     NM="$DUMPBIN"
   4590   fi
   4591 fi
   4592 test -z "$NM" && NM=nm
   4593 
   4594 
   4595 
   4596 
   4597 
   4598 
   4599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   4600 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   4601 if ${lt_cv_nm_interface+:} false; then :
   4602   $as_echo_n "(cached) " >&6
   4603 else
   4604   lt_cv_nm_interface="BSD nm"
   4605   echo "int some_variable = 0;" > conftest.$ac_ext
   4606   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   4607   (eval "$ac_compile" 2>conftest.err)
   4608   cat conftest.err >&5
   4609   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   4610   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   4611   cat conftest.err >&5
   4612   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   4613   cat conftest.out >&5
   4614   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   4615     lt_cv_nm_interface="MS dumpbin"
   4616   fi
   4617   rm -f conftest*
   4618 fi
   4619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   4620 $as_echo "$lt_cv_nm_interface" >&6; }
   4621 
   4622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   4623 $as_echo_n "checking whether ln -s works... " >&6; }
   4624 LN_S=$as_ln_s
   4625 if test "$LN_S" = "ln -s"; then
   4626   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4627 $as_echo "yes" >&6; }
   4628 else
   4629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   4630 $as_echo "no, using $LN_S" >&6; }
   4631 fi
   4632 
   4633 # find the maximum length of command line arguments
   4634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   4635 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   4636 if ${lt_cv_sys_max_cmd_len+:} false; then :
   4637   $as_echo_n "(cached) " >&6
   4638 else
   4639     i=0
   4640   teststring="ABCD"
   4641 
   4642   case $build_os in
   4643   msdosdjgpp*)
   4644     # On DJGPP, this test can blow up pretty badly due to problems in libc
   4645     # (any single argument exceeding 2000 bytes causes a buffer overrun
   4646     # during glob expansion).  Even if it were fixed, the result of this
   4647     # check would be larger than it should be.
   4648     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   4649     ;;
   4650 
   4651   gnu*)
   4652     # Under GNU Hurd, this test is not required because there is
   4653     # no limit to the length of command line arguments.
   4654     # Libtool will interpret -1 as no limit whatsoever
   4655     lt_cv_sys_max_cmd_len=-1;
   4656     ;;
   4657 
   4658   cygwin* | mingw* | cegcc*)
   4659     # On Win9x/ME, this test blows up -- it succeeds, but takes
   4660     # about 5 minutes as the teststring grows exponentially.
   4661     # Worse, since 9x/ME are not pre-emptively multitasking,
   4662     # you end up with a "frozen" computer, even though with patience
   4663     # the test eventually succeeds (with a max line length of 256k).
   4664     # Instead, let's just punt: use the minimum linelength reported by
   4665     # all of the supported platforms: 8192 (on NT/2K/XP).
   4666     lt_cv_sys_max_cmd_len=8192;
   4667     ;;
   4668 
   4669   mint*)
   4670     # On MiNT this can take a long time and run out of memory.
   4671     lt_cv_sys_max_cmd_len=8192;
   4672     ;;
   4673 
   4674   amigaos*)
   4675     # On AmigaOS with pdksh, this test takes hours, literally.
   4676     # So we just punt and use a minimum line length of 8192.
   4677     lt_cv_sys_max_cmd_len=8192;
   4678     ;;
   4679 
   4680   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   4681     # This has been around since 386BSD, at least.  Likely further.
   4682     if test -x /sbin/sysctl; then
   4683       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   4684     elif test -x /usr/sbin/sysctl; then
   4685       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   4686     else
   4687       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   4688     fi
   4689     # And add a safety zone
   4690     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4691     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4692     ;;
   4693 
   4694   interix*)
   4695     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   4696     lt_cv_sys_max_cmd_len=196608
   4697     ;;
   4698 
   4699   os2*)
   4700     # The test takes a long time on OS/2.
   4701     lt_cv_sys_max_cmd_len=8192
   4702     ;;
   4703 
   4704   osf*)
   4705     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   4706     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   4707     # nice to cause kernel panics so lets avoid the loop below.
   4708     # First set a reasonable default.
   4709     lt_cv_sys_max_cmd_len=16384
   4710     #
   4711     if test -x /sbin/sysconfig; then
   4712       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   4713         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   4714       esac
   4715     fi
   4716     ;;
   4717   sco3.2v5*)
   4718     lt_cv_sys_max_cmd_len=102400
   4719     ;;
   4720   sysv5* | sco5v6* | sysv4.2uw2*)
   4721     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   4722     if test -n "$kargmax"; then
   4723       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   4724     else
   4725       lt_cv_sys_max_cmd_len=32768
   4726     fi
   4727     ;;
   4728   *)
   4729     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   4730     if test -n "$lt_cv_sys_max_cmd_len"; then
   4731       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4732       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4733     else
   4734       # Make teststring a little bigger before we do anything with it.
   4735       # a 1K string should be a reasonable start.
   4736       for i in 1 2 3 4 5 6 7 8 ; do
   4737         teststring=$teststring$teststring
   4738       done
   4739       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   4740       # If test is not a shell built-in, we'll probably end up computing a
   4741       # maximum length that is only half of the actual maximum length, but
   4742       # we can't tell.
   4743       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
   4744 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   4745 	      test $i != 17 # 1/2 MB should be enough
   4746       do
   4747         i=`expr $i + 1`
   4748         teststring=$teststring$teststring
   4749       done
   4750       # Only check the string length outside the loop.
   4751       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   4752       teststring=
   4753       # Add a significant safety factor because C++ compilers can tack on
   4754       # massive amounts of additional arguments before passing them to the
   4755       # linker.  It appears as though 1/2 is a usable value.
   4756       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   4757     fi
   4758     ;;
   4759   esac
   4760 
   4761 fi
   4762 
   4763 if test -n $lt_cv_sys_max_cmd_len ; then
   4764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   4765 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   4766 else
   4767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   4768 $as_echo "none" >&6; }
   4769 fi
   4770 max_cmd_len=$lt_cv_sys_max_cmd_len
   4771 
   4772 
   4773 
   4774 
   4775 
   4776 
   4777 : ${CP="cp -f"}
   4778 : ${MV="mv -f"}
   4779 : ${RM="rm -f"}
   4780 
   4781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   4782 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   4783 # Try some XSI features
   4784 xsi_shell=no
   4785 ( _lt_dummy="a/b/c"
   4786   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
   4787       = c,a/b,b/c, \
   4788     && eval 'test $(( 1 + 1 )) -eq 2 \
   4789     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   4790   && xsi_shell=yes
   4791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   4792 $as_echo "$xsi_shell" >&6; }
   4793 
   4794 
   4795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   4796 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   4797 lt_shell_append=no
   4798 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   4799     >/dev/null 2>&1 \
   4800   && lt_shell_append=yes
   4801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   4802 $as_echo "$lt_shell_append" >&6; }
   4803 
   4804 
   4805 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   4806   lt_unset=unset
   4807 else
   4808   lt_unset=false
   4809 fi
   4810 
   4811 
   4812 
   4813 
   4814 
   4815 # test EBCDIC or ASCII
   4816 case `echo X|tr X '\101'` in
   4817  A) # ASCII based system
   4818     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   4819   lt_SP2NL='tr \040 \012'
   4820   lt_NL2SP='tr \015\012 \040\040'
   4821   ;;
   4822  *) # EBCDIC based system
   4823   lt_SP2NL='tr \100 \n'
   4824   lt_NL2SP='tr \r\n \100\100'
   4825   ;;
   4826 esac
   4827 
   4828 
   4829 
   4830 
   4831 
   4832 
   4833 
   4834 
   4835 
   4836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   4837 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   4838 if ${lt_cv_to_host_file_cmd+:} false; then :
   4839   $as_echo_n "(cached) " >&6
   4840 else
   4841   case $host in
   4842   *-*-mingw* )
   4843     case $build in
   4844       *-*-mingw* ) # actually msys
   4845         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   4846         ;;
   4847       *-*-cygwin* )
   4848         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   4849         ;;
   4850       * ) # otherwise, assume *nix
   4851         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   4852         ;;
   4853     esac
   4854     ;;
   4855   *-*-cygwin* )
   4856     case $build in
   4857       *-*-mingw* ) # actually msys
   4858         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   4859         ;;
   4860       *-*-cygwin* )
   4861         lt_cv_to_host_file_cmd=func_convert_file_noop
   4862         ;;
   4863       * ) # otherwise, assume *nix
   4864         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   4865         ;;
   4866     esac
   4867     ;;
   4868   * ) # unhandled hosts (and "normal" native builds)
   4869     lt_cv_to_host_file_cmd=func_convert_file_noop
   4870     ;;
   4871 esac
   4872 
   4873 fi
   4874 
   4875 to_host_file_cmd=$lt_cv_to_host_file_cmd
   4876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   4877 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   4878 
   4879 
   4880 
   4881 
   4882 
   4883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   4884 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   4885 if ${lt_cv_to_tool_file_cmd+:} false; then :
   4886   $as_echo_n "(cached) " >&6
   4887 else
   4888   #assume ordinary cross tools, or native build.
   4889 lt_cv_to_tool_file_cmd=func_convert_file_noop
   4890 case $host in
   4891   *-*-mingw* )
   4892     case $build in
   4893       *-*-mingw* ) # actually msys
   4894         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   4895         ;;
   4896     esac
   4897     ;;
   4898 esac
   4899 
   4900 fi
   4901 
   4902 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   4903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   4904 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   4905 
   4906 
   4907 
   4908 
   4909 
   4910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   4911 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4912 if ${lt_cv_ld_reload_flag+:} false; then :
   4913   $as_echo_n "(cached) " >&6
   4914 else
   4915   lt_cv_ld_reload_flag='-r'
   4916 fi
   4917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   4918 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4919 reload_flag=$lt_cv_ld_reload_flag
   4920 case $reload_flag in
   4921 "" | " "*) ;;
   4922 *) reload_flag=" $reload_flag" ;;
   4923 esac
   4924 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4925 case $host_os in
   4926   cygwin* | mingw* | pw32* | cegcc*)
   4927     if test "$GCC" != yes; then
   4928       reload_cmds=false
   4929     fi
   4930     ;;
   4931   darwin*)
   4932     if test "$GCC" = yes; then
   4933       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4934     else
   4935       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4936     fi
   4937     ;;
   4938 esac
   4939 
   4940 
   4941 
   4942 
   4943 
   4944 
   4945 
   4946 
   4947 
   4948 if test -n "$ac_tool_prefix"; then
   4949   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   4950 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   4951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4952 $as_echo_n "checking for $ac_word... " >&6; }
   4953 if ${ac_cv_prog_OBJDUMP+:} false; then :
   4954   $as_echo_n "(cached) " >&6
   4955 else
   4956   if test -n "$OBJDUMP"; then
   4957   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   4958 else
   4959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4960 for as_dir in $PATH
   4961 do
   4962   IFS=$as_save_IFS
   4963   test -z "$as_dir" && as_dir=.
   4964     for ac_exec_ext in '' $ac_executable_extensions; do
   4965   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4966     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   4967     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4968     break 2
   4969   fi
   4970 done
   4971   done
   4972 IFS=$as_save_IFS
   4973 
   4974 fi
   4975 fi
   4976 OBJDUMP=$ac_cv_prog_OBJDUMP
   4977 if test -n "$OBJDUMP"; then
   4978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   4979 $as_echo "$OBJDUMP" >&6; }
   4980 else
   4981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4982 $as_echo "no" >&6; }
   4983 fi
   4984 
   4985 
   4986 fi
   4987 if test -z "$ac_cv_prog_OBJDUMP"; then
   4988   ac_ct_OBJDUMP=$OBJDUMP
   4989   # Extract the first word of "objdump", so it can be a program name with args.
   4990 set dummy objdump; ac_word=$2
   4991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4992 $as_echo_n "checking for $ac_word... " >&6; }
   4993 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   4994   $as_echo_n "(cached) " >&6
   4995 else
   4996   if test -n "$ac_ct_OBJDUMP"; then
   4997   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   4998 else
   4999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5000 for as_dir in $PATH
   5001 do
   5002   IFS=$as_save_IFS
   5003   test -z "$as_dir" && as_dir=.
   5004     for ac_exec_ext in '' $ac_executable_extensions; do
   5005   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5006     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5007     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5008     break 2
   5009   fi
   5010 done
   5011   done
   5012 IFS=$as_save_IFS
   5013 
   5014 fi
   5015 fi
   5016 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5017 if test -n "$ac_ct_OBJDUMP"; then
   5018   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5019 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5020 else
   5021   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5022 $as_echo "no" >&6; }
   5023 fi
   5024 
   5025   if test "x$ac_ct_OBJDUMP" = x; then
   5026     OBJDUMP="false"
   5027   else
   5028     case $cross_compiling:$ac_tool_warned in
   5029 yes:)
   5030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5031 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5032 ac_tool_warned=yes ;;
   5033 esac
   5034     OBJDUMP=$ac_ct_OBJDUMP
   5035   fi
   5036 else
   5037   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5038 fi
   5039 
   5040 test -z "$OBJDUMP" && OBJDUMP=objdump
   5041 
   5042 
   5043 
   5044 
   5045 
   5046 
   5047 
   5048 
   5049 
   5050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5051 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5052 if ${lt_cv_deplibs_check_method+:} false; then :
   5053   $as_echo_n "(cached) " >&6
   5054 else
   5055   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5056 lt_cv_file_magic_test_file=
   5057 lt_cv_deplibs_check_method='unknown'
   5058 # Need to set the preceding variable on all platforms that support
   5059 # interlibrary dependencies.
   5060 # 'none' -- dependencies not supported.
   5061 # `unknown' -- same as none, but documents that we really don't know.
   5062 # 'pass_all' -- all dependencies passed with no checks.
   5063 # 'test_compile' -- check by making test program.
   5064 # 'file_magic [[regex]]' -- check by looking for files in library path
   5065 # which responds to the $file_magic_cmd with a given extended regex.
   5066 # If you have `file' or equivalent on your system and you're not sure
   5067 # whether `pass_all' will *always* work, you probably want this one.
   5068 
   5069 case $host_os in
   5070 aix[4-9]*)
   5071   lt_cv_deplibs_check_method=pass_all
   5072   ;;
   5073 
   5074 beos*)
   5075   lt_cv_deplibs_check_method=pass_all
   5076   ;;
   5077 
   5078 bsdi[45]*)
   5079   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5080   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5081   lt_cv_file_magic_test_file=/shlib/libc.so
   5082   ;;
   5083 
   5084 cygwin*)
   5085   # func_win32_libid is a shell function defined in ltmain.sh
   5086   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5087   lt_cv_file_magic_cmd='func_win32_libid'
   5088   ;;
   5089 
   5090 mingw* | pw32*)
   5091   # Base MSYS/MinGW do not provide the 'file' command needed by
   5092   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5093   # unless we find 'file', for example because we are cross-compiling.
   5094   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   5095   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   5096     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5097     lt_cv_file_magic_cmd='func_win32_libid'
   5098   else
   5099     # Keep this pattern in sync with the one in func_win32_libid.
   5100     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   5101     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5102   fi
   5103   ;;
   5104 
   5105 cegcc*)
   5106   # use the weaker test based on 'objdump'. See mingw*.
   5107   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5108   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5109   ;;
   5110 
   5111 darwin* | rhapsody*)
   5112   lt_cv_deplibs_check_method=pass_all
   5113   ;;
   5114 
   5115 freebsd* | dragonfly*)
   5116   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5117     case $host_cpu in
   5118     i*86 )
   5119       # Not sure whether the presence of OpenBSD here was a mistake.
   5120       # Let's accept both of them until this is cleared up.
   5121       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5122       lt_cv_file_magic_cmd=/usr/bin/file
   5123       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5124       ;;
   5125     esac
   5126   else
   5127     lt_cv_deplibs_check_method=pass_all
   5128   fi
   5129   ;;
   5130 
   5131 gnu*)
   5132   lt_cv_deplibs_check_method=pass_all
   5133   ;;
   5134 
   5135 haiku*)
   5136   lt_cv_deplibs_check_method=pass_all
   5137   ;;
   5138 
   5139 hpux10.20* | hpux11*)
   5140   lt_cv_file_magic_cmd=/usr/bin/file
   5141   case $host_cpu in
   5142   ia64*)
   5143     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5144     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5145     ;;
   5146   hppa*64*)
   5147     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]'
   5148     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5149     ;;
   5150   *)
   5151     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5152     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5153     ;;
   5154   esac
   5155   ;;
   5156 
   5157 interix[3-9]*)
   5158   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5159   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5160   ;;
   5161 
   5162 irix5* | irix6* | nonstopux*)
   5163   case $LD in
   5164   *-32|*"-32 ") libmagic=32-bit;;
   5165   *-n32|*"-n32 ") libmagic=N32;;
   5166   *-64|*"-64 ") libmagic=64-bit;;
   5167   *) libmagic=never-match;;
   5168   esac
   5169   lt_cv_deplibs_check_method=pass_all
   5170   ;;
   5171 
   5172 # This must be glibc/ELF.
   5173 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   5174   lt_cv_deplibs_check_method=pass_all
   5175   ;;
   5176 
   5177 netbsd*)
   5178   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5179     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5180   else
   5181     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5182   fi
   5183   ;;
   5184 
   5185 newos6*)
   5186   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5187   lt_cv_file_magic_cmd=/usr/bin/file
   5188   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5189   ;;
   5190 
   5191 *nto* | *qnx*)
   5192   lt_cv_deplibs_check_method=pass_all
   5193   ;;
   5194 
   5195 openbsd*)
   5196   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   5197     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5198   else
   5199     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5200   fi
   5201   ;;
   5202 
   5203 osf3* | osf4* | osf5*)
   5204   lt_cv_deplibs_check_method=pass_all
   5205   ;;
   5206 
   5207 rdos*)
   5208   lt_cv_deplibs_check_method=pass_all
   5209   ;;
   5210 
   5211 solaris*)
   5212   lt_cv_deplibs_check_method=pass_all
   5213   ;;
   5214 
   5215 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5216   lt_cv_deplibs_check_method=pass_all
   5217   ;;
   5218 
   5219 sysv4 | sysv4.3*)
   5220   case $host_vendor in
   5221   motorola)
   5222     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]'
   5223     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5224     ;;
   5225   ncr)
   5226     lt_cv_deplibs_check_method=pass_all
   5227     ;;
   5228   sequent)
   5229     lt_cv_file_magic_cmd='/bin/file'
   5230     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5231     ;;
   5232   sni)
   5233     lt_cv_file_magic_cmd='/bin/file'
   5234     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5235     lt_cv_file_magic_test_file=/lib/libc.so
   5236     ;;
   5237   siemens)
   5238     lt_cv_deplibs_check_method=pass_all
   5239     ;;
   5240   pc)
   5241     lt_cv_deplibs_check_method=pass_all
   5242     ;;
   5243   esac
   5244   ;;
   5245 
   5246 tpf*)
   5247   lt_cv_deplibs_check_method=pass_all
   5248   ;;
   5249 esac
   5250 
   5251 fi
   5252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5253 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5254 
   5255 file_magic_glob=
   5256 want_nocaseglob=no
   5257 if test "$build" = "$host"; then
   5258   case $host_os in
   5259   mingw* | pw32*)
   5260     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   5261       want_nocaseglob=yes
   5262     else
   5263       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   5264     fi
   5265     ;;
   5266   esac
   5267 fi
   5268 
   5269 file_magic_cmd=$lt_cv_file_magic_cmd
   5270 deplibs_check_method=$lt_cv_deplibs_check_method
   5271 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5272 
   5273 
   5274 
   5275 
   5276 
   5277 
   5278 
   5279 
   5280 
   5281 
   5282 
   5283 
   5284 
   5285 
   5286 
   5287 
   5288 
   5289 
   5290 
   5291 
   5292 
   5293 
   5294 if test -n "$ac_tool_prefix"; then
   5295   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   5296 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   5297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5298 $as_echo_n "checking for $ac_word... " >&6; }
   5299 if ${ac_cv_prog_DLLTOOL+:} false; then :
   5300   $as_echo_n "(cached) " >&6
   5301 else
   5302   if test -n "$DLLTOOL"; then
   5303   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   5304 else
   5305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5306 for as_dir in $PATH
   5307 do
   5308   IFS=$as_save_IFS
   5309   test -z "$as_dir" && as_dir=.
   5310     for ac_exec_ext in '' $ac_executable_extensions; do
   5311   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5312     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   5313     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5314     break 2
   5315   fi
   5316 done
   5317   done
   5318 IFS=$as_save_IFS
   5319 
   5320 fi
   5321 fi
   5322 DLLTOOL=$ac_cv_prog_DLLTOOL
   5323 if test -n "$DLLTOOL"; then
   5324   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   5325 $as_echo "$DLLTOOL" >&6; }
   5326 else
   5327   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5328 $as_echo "no" >&6; }
   5329 fi
   5330 
   5331 
   5332 fi
   5333 if test -z "$ac_cv_prog_DLLTOOL"; then
   5334   ac_ct_DLLTOOL=$DLLTOOL
   5335   # Extract the first word of "dlltool", so it can be a program name with args.
   5336 set dummy dlltool; ac_word=$2
   5337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5338 $as_echo_n "checking for $ac_word... " >&6; }
   5339 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   5340   $as_echo_n "(cached) " >&6
   5341 else
   5342   if test -n "$ac_ct_DLLTOOL"; then
   5343   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   5344 else
   5345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5346 for as_dir in $PATH
   5347 do
   5348   IFS=$as_save_IFS
   5349   test -z "$as_dir" && as_dir=.
   5350     for ac_exec_ext in '' $ac_executable_extensions; do
   5351   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5352     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   5353     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5354     break 2
   5355   fi
   5356 done
   5357   done
   5358 IFS=$as_save_IFS
   5359 
   5360 fi
   5361 fi
   5362 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   5363 if test -n "$ac_ct_DLLTOOL"; then
   5364   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   5365 $as_echo "$ac_ct_DLLTOOL" >&6; }
   5366 else
   5367   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5368 $as_echo "no" >&6; }
   5369 fi
   5370 
   5371   if test "x$ac_ct_DLLTOOL" = x; then
   5372     DLLTOOL="false"
   5373   else
   5374     case $cross_compiling:$ac_tool_warned in
   5375 yes:)
   5376 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5377 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5378 ac_tool_warned=yes ;;
   5379 esac
   5380     DLLTOOL=$ac_ct_DLLTOOL
   5381   fi
   5382 else
   5383   DLLTOOL="$ac_cv_prog_DLLTOOL"
   5384 fi
   5385 
   5386 test -z "$DLLTOOL" && DLLTOOL=dlltool
   5387 
   5388 
   5389 
   5390 
   5391 
   5392 
   5393 
   5394 
   5395 
   5396 
   5397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   5398 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   5399 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   5400   $as_echo_n "(cached) " >&6
   5401 else
   5402   lt_cv_sharedlib_from_linklib_cmd='unknown'
   5403 
   5404 case $host_os in
   5405 cygwin* | mingw* | pw32* | cegcc*)
   5406   # two different shell functions defined in ltmain.sh
   5407   # decide which to use based on capabilities of $DLLTOOL
   5408   case `$DLLTOOL --help 2>&1` in
   5409   *--identify-strict*)
   5410     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   5411     ;;
   5412   *)
   5413     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   5414     ;;
   5415   esac
   5416   ;;
   5417 *)
   5418   # fallback: assume linklib IS sharedlib
   5419   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
   5420   ;;
   5421 esac
   5422 
   5423 fi
   5424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   5425 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   5426 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   5427 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   5428 
   5429 
   5430 
   5431 
   5432 
   5433 
   5434 
   5435 
   5436 if test -n "$ac_tool_prefix"; then
   5437   for ac_prog in ar
   5438   do
   5439     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5440 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5442 $as_echo_n "checking for $ac_word... " >&6; }
   5443 if ${ac_cv_prog_AR+:} false; then :
   5444   $as_echo_n "(cached) " >&6
   5445 else
   5446   if test -n "$AR"; then
   5447   ac_cv_prog_AR="$AR" # Let the user override the test.
   5448 else
   5449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5450 for as_dir in $PATH
   5451 do
   5452   IFS=$as_save_IFS
   5453   test -z "$as_dir" && as_dir=.
   5454     for ac_exec_ext in '' $ac_executable_extensions; do
   5455   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5456     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   5457     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5458     break 2
   5459   fi
   5460 done
   5461   done
   5462 IFS=$as_save_IFS
   5463 
   5464 fi
   5465 fi
   5466 AR=$ac_cv_prog_AR
   5467 if test -n "$AR"; then
   5468   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5469 $as_echo "$AR" >&6; }
   5470 else
   5471   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5472 $as_echo "no" >&6; }
   5473 fi
   5474 
   5475 
   5476     test -n "$AR" && break
   5477   done
   5478 fi
   5479 if test -z "$AR"; then
   5480   ac_ct_AR=$AR
   5481   for ac_prog in ar
   5482 do
   5483   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5484 set dummy $ac_prog; ac_word=$2
   5485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5486 $as_echo_n "checking for $ac_word... " >&6; }
   5487 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   5488   $as_echo_n "(cached) " >&6
   5489 else
   5490   if test -n "$ac_ct_AR"; then
   5491   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5492 else
   5493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5494 for as_dir in $PATH
   5495 do
   5496   IFS=$as_save_IFS
   5497   test -z "$as_dir" && as_dir=.
   5498     for ac_exec_ext in '' $ac_executable_extensions; do
   5499   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5500     ac_cv_prog_ac_ct_AR="$ac_prog"
   5501     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5502     break 2
   5503   fi
   5504 done
   5505   done
   5506 IFS=$as_save_IFS
   5507 
   5508 fi
   5509 fi
   5510 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5511 if test -n "$ac_ct_AR"; then
   5512   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   5513 $as_echo "$ac_ct_AR" >&6; }
   5514 else
   5515   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5516 $as_echo "no" >&6; }
   5517 fi
   5518 
   5519 
   5520   test -n "$ac_ct_AR" && break
   5521 done
   5522 
   5523   if test "x$ac_ct_AR" = x; then
   5524     AR="false"
   5525   else
   5526     case $cross_compiling:$ac_tool_warned in
   5527 yes:)
   5528 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5529 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5530 ac_tool_warned=yes ;;
   5531 esac
   5532     AR=$ac_ct_AR
   5533   fi
   5534 fi
   5535 
   5536 : ${AR=ar}
   5537 : ${AR_FLAGS=cru}
   5538 
   5539 
   5540 
   5541 
   5542 
   5543 
   5544 
   5545 
   5546 
   5547 
   5548 
   5549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   5550 $as_echo_n "checking for archiver @FILE support... " >&6; }
   5551 if ${lt_cv_ar_at_file+:} false; then :
   5552   $as_echo_n "(cached) " >&6
   5553 else
   5554   lt_cv_ar_at_file=no
   5555    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5556 /* end confdefs.h.  */
   5557 
   5558 int
   5559 main ()
   5560 {
   5561 
   5562   ;
   5563   return 0;
   5564 }
   5565 _ACEOF
   5566 if ac_fn_c_try_compile "$LINENO"; then :
   5567   echo conftest.$ac_objext > conftest.lst
   5568       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   5569       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5570   (eval $lt_ar_try) 2>&5
   5571   ac_status=$?
   5572   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5573   test $ac_status = 0; }
   5574       if test "$ac_status" -eq 0; then
   5575 	# Ensure the archiver fails upon bogus file names.
   5576 	rm -f conftest.$ac_objext libconftest.a
   5577 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5578   (eval $lt_ar_try) 2>&5
   5579   ac_status=$?
   5580   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5581   test $ac_status = 0; }
   5582 	if test "$ac_status" -ne 0; then
   5583           lt_cv_ar_at_file=@
   5584         fi
   5585       fi
   5586       rm -f conftest.* libconftest.a
   5587 
   5588 fi
   5589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5590 
   5591 fi
   5592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   5593 $as_echo "$lt_cv_ar_at_file" >&6; }
   5594 
   5595 if test "x$lt_cv_ar_at_file" = xno; then
   5596   archiver_list_spec=
   5597 else
   5598   archiver_list_spec=$lt_cv_ar_at_file
   5599 fi
   5600 
   5601 
   5602 
   5603 
   5604 
   5605 
   5606 
   5607 if test -n "$ac_tool_prefix"; then
   5608   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   5609 set dummy ${ac_tool_prefix}strip; ac_word=$2
   5610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5611 $as_echo_n "checking for $ac_word... " >&6; }
   5612 if ${ac_cv_prog_STRIP+:} false; then :
   5613   $as_echo_n "(cached) " >&6
   5614 else
   5615   if test -n "$STRIP"; then
   5616   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   5617 else
   5618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5619 for as_dir in $PATH
   5620 do
   5621   IFS=$as_save_IFS
   5622   test -z "$as_dir" && as_dir=.
   5623     for ac_exec_ext in '' $ac_executable_extensions; do
   5624   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5625     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   5626     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5627     break 2
   5628   fi
   5629 done
   5630   done
   5631 IFS=$as_save_IFS
   5632 
   5633 fi
   5634 fi
   5635 STRIP=$ac_cv_prog_STRIP
   5636 if test -n "$STRIP"; then
   5637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   5638 $as_echo "$STRIP" >&6; }
   5639 else
   5640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5641 $as_echo "no" >&6; }
   5642 fi
   5643 
   5644 
   5645 fi
   5646 if test -z "$ac_cv_prog_STRIP"; then
   5647   ac_ct_STRIP=$STRIP
   5648   # Extract the first word of "strip", so it can be a program name with args.
   5649 set dummy strip; ac_word=$2
   5650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5651 $as_echo_n "checking for $ac_word... " >&6; }
   5652 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   5653   $as_echo_n "(cached) " >&6
   5654 else
   5655   if test -n "$ac_ct_STRIP"; then
   5656   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   5657 else
   5658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5659 for as_dir in $PATH
   5660 do
   5661   IFS=$as_save_IFS
   5662   test -z "$as_dir" && as_dir=.
   5663     for ac_exec_ext in '' $ac_executable_extensions; do
   5664   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5665     ac_cv_prog_ac_ct_STRIP="strip"
   5666     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5667     break 2
   5668   fi
   5669 done
   5670   done
   5671 IFS=$as_save_IFS
   5672 
   5673 fi
   5674 fi
   5675 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   5676 if test -n "$ac_ct_STRIP"; then
   5677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   5678 $as_echo "$ac_ct_STRIP" >&6; }
   5679 else
   5680   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5681 $as_echo "no" >&6; }
   5682 fi
   5683 
   5684   if test "x$ac_ct_STRIP" = x; then
   5685     STRIP=":"
   5686   else
   5687     case $cross_compiling:$ac_tool_warned in
   5688 yes:)
   5689 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5690 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5691 ac_tool_warned=yes ;;
   5692 esac
   5693     STRIP=$ac_ct_STRIP
   5694   fi
   5695 else
   5696   STRIP="$ac_cv_prog_STRIP"
   5697 fi
   5698 
   5699 test -z "$STRIP" && STRIP=:
   5700 
   5701 
   5702 
   5703 
   5704 
   5705 
   5706 if test -n "$ac_tool_prefix"; then
   5707   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5708 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5710 $as_echo_n "checking for $ac_word... " >&6; }
   5711 if ${ac_cv_prog_RANLIB+:} false; then :
   5712   $as_echo_n "(cached) " >&6
   5713 else
   5714   if test -n "$RANLIB"; then
   5715   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5716 else
   5717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5718 for as_dir in $PATH
   5719 do
   5720   IFS=$as_save_IFS
   5721   test -z "$as_dir" && as_dir=.
   5722     for ac_exec_ext in '' $ac_executable_extensions; do
   5723   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5724     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5725     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5726     break 2
   5727   fi
   5728 done
   5729   done
   5730 IFS=$as_save_IFS
   5731 
   5732 fi
   5733 fi
   5734 RANLIB=$ac_cv_prog_RANLIB
   5735 if test -n "$RANLIB"; then
   5736   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   5737 $as_echo "$RANLIB" >&6; }
   5738 else
   5739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5740 $as_echo "no" >&6; }
   5741 fi
   5742 
   5743 
   5744 fi
   5745 if test -z "$ac_cv_prog_RANLIB"; then
   5746   ac_ct_RANLIB=$RANLIB
   5747   # Extract the first word of "ranlib", so it can be a program name with args.
   5748 set dummy ranlib; ac_word=$2
   5749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5750 $as_echo_n "checking for $ac_word... " >&6; }
   5751 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   5752   $as_echo_n "(cached) " >&6
   5753 else
   5754   if test -n "$ac_ct_RANLIB"; then
   5755   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   5756 else
   5757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5758 for as_dir in $PATH
   5759 do
   5760   IFS=$as_save_IFS
   5761   test -z "$as_dir" && as_dir=.
   5762     for ac_exec_ext in '' $ac_executable_extensions; do
   5763   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5764     ac_cv_prog_ac_ct_RANLIB="ranlib"
   5765     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5766     break 2
   5767   fi
   5768 done
   5769   done
   5770 IFS=$as_save_IFS
   5771 
   5772 fi
   5773 fi
   5774 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   5775 if test -n "$ac_ct_RANLIB"; then
   5776   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   5777 $as_echo "$ac_ct_RANLIB" >&6; }
   5778 else
   5779   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5780 $as_echo "no" >&6; }
   5781 fi
   5782 
   5783   if test "x$ac_ct_RANLIB" = x; then
   5784     RANLIB=":"
   5785   else
   5786     case $cross_compiling:$ac_tool_warned in
   5787 yes:)
   5788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5789 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5790 ac_tool_warned=yes ;;
   5791 esac
   5792     RANLIB=$ac_ct_RANLIB
   5793   fi
   5794 else
   5795   RANLIB="$ac_cv_prog_RANLIB"
   5796 fi
   5797 
   5798 test -z "$RANLIB" && RANLIB=:
   5799 
   5800 
   5801 
   5802 
   5803 
   5804 
   5805 # Determine commands to create old-style static archives.
   5806 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   5807 old_postinstall_cmds='chmod 644 $oldlib'
   5808 old_postuninstall_cmds=
   5809 
   5810 if test -n "$RANLIB"; then
   5811   case $host_os in
   5812   openbsd*)
   5813     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   5814     ;;
   5815   *)
   5816     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   5817     ;;
   5818   esac
   5819   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   5820 fi
   5821 
   5822 case $host_os in
   5823   darwin*)
   5824     lock_old_archive_extraction=yes ;;
   5825   *)
   5826     lock_old_archive_extraction=no ;;
   5827 esac
   5828 
   5829 
   5830 
   5831 
   5832 
   5833 
   5834 
   5835 
   5836 
   5837 
   5838 
   5839 
   5840 
   5841 
   5842 
   5843 
   5844 
   5845 
   5846 
   5847 
   5848 
   5849 
   5850 
   5851 
   5852 
   5853 
   5854 
   5855 
   5856 
   5857 
   5858 
   5859 
   5860 
   5861 
   5862 
   5863 
   5864 
   5865 
   5866 
   5867 # If no C compiler was specified, use CC.
   5868 LTCC=${LTCC-"$CC"}
   5869 
   5870 # If no C compiler flags were specified, use CFLAGS.
   5871 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   5872 
   5873 # Allow CC to be a program name with arguments.
   5874 compiler=$CC
   5875 
   5876 
   5877 # Check for command to grab the raw symbol name followed by C symbol from nm.
   5878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   5879 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   5880 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   5881   $as_echo_n "(cached) " >&6
   5882 else
   5883 
   5884 # These are sane defaults that work on at least a few old systems.
   5885 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   5886 
   5887 # Character class describing NM global symbol codes.
   5888 symcode='[BCDEGRST]'
   5889 
   5890 # Regexp to match symbols that can be accessed directly from C.
   5891 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   5892 
   5893 # Define system-specific variables.
   5894 case $host_os in
   5895 aix*)
   5896   symcode='[BCDT]'
   5897   ;;
   5898 cygwin* | mingw* | pw32* | cegcc*)
   5899   symcode='[ABCDGISTW]'
   5900   ;;
   5901 hpux*)
   5902   if test "$host_cpu" = ia64; then
   5903     symcode='[ABCDEGRST]'
   5904   fi
   5905   ;;
   5906 irix* | nonstopux*)
   5907   symcode='[BCDEGRST]'
   5908   ;;
   5909 osf*)
   5910   symcode='[BCDEGQRST]'
   5911   ;;
   5912 solaris*)
   5913   symcode='[BDRT]'
   5914   ;;
   5915 sco3.2v5*)
   5916   symcode='[DT]'
   5917   ;;
   5918 sysv4.2uw2*)
   5919   symcode='[DT]'
   5920   ;;
   5921 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   5922   symcode='[ABDT]'
   5923   ;;
   5924 sysv4)
   5925   symcode='[DFNSTU]'
   5926   ;;
   5927 esac
   5928 
   5929 # If we're using GNU nm, then use its standard symbol codes.
   5930 case `$NM -V 2>&1` in
   5931 *GNU* | *'with BFD'*)
   5932   symcode='[ABCDGIRSTW]' ;;
   5933 esac
   5934 
   5935 # Transform an extracted symbol line into a proper C declaration.
   5936 # Some systems (esp. on ia64) link data and code symbols differently,
   5937 # so use this general approach.
   5938 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   5939 
   5940 # Transform an extracted symbol line into symbol name and symbol address
   5941 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   5942 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'"
   5943 
   5944 # Handle CRLF in mingw tool chain
   5945 opt_cr=
   5946 case $build_os in
   5947 mingw*)
   5948   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   5949   ;;
   5950 esac
   5951 
   5952 # Try without a prefix underscore, then with it.
   5953 for ac_symprfx in "" "_"; do
   5954 
   5955   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   5956   symxfrm="\\1 $ac_symprfx\\2 \\2"
   5957 
   5958   # Write the raw and C identifiers.
   5959   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   5960     # Fake it for dumpbin and say T for any non-static function
   5961     # and D for any global variable.
   5962     # Also find C++ and __fastcall symbols from MSVC++,
   5963     # which start with @ or ?.
   5964     lt_cv_sys_global_symbol_pipe="$AWK '"\
   5965 "     {last_section=section; section=\$ 3};"\
   5966 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   5967 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   5968 "     \$ 0!~/External *\|/{next};"\
   5969 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   5970 "     {if(hide[section]) next};"\
   5971 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   5972 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   5973 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   5974 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   5975 "     ' prfx=^$ac_symprfx"
   5976   else
   5977     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   5978   fi
   5979   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   5980 
   5981   # Check to see that the pipe works correctly.
   5982   pipe_works=no
   5983 
   5984   rm -f conftest*
   5985   cat > conftest.$ac_ext <<_LT_EOF
   5986 #ifdef __cplusplus
   5987 extern "C" {
   5988 #endif
   5989 char nm_test_var;
   5990 void nm_test_func(void);
   5991 void nm_test_func(void){}
   5992 #ifdef __cplusplus
   5993 }
   5994 #endif
   5995 int main(){nm_test_var='a';nm_test_func();return(0);}
   5996 _LT_EOF
   5997 
   5998   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   5999   (eval $ac_compile) 2>&5
   6000   ac_status=$?
   6001   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6002   test $ac_status = 0; }; then
   6003     # Now try to grab the symbols.
   6004     nlist=conftest.nm
   6005     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   6006   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   6007   ac_status=$?
   6008   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6009   test $ac_status = 0; } && test -s "$nlist"; then
   6010       # Try sorting and uniquifying the output.
   6011       if sort "$nlist" | uniq > "$nlist"T; then
   6012 	mv -f "$nlist"T "$nlist"
   6013       else
   6014 	rm -f "$nlist"T
   6015       fi
   6016 
   6017       # Make sure that we snagged all the symbols we need.
   6018       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6019 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6020 	  cat <<_LT_EOF > conftest.$ac_ext
   6021 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   6022 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
   6023 /* DATA imports from DLLs on WIN32 con't be const, because runtime
   6024    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   6025 # define LT_DLSYM_CONST
   6026 #elif defined(__osf__)
   6027 /* This system does not cope well with relocations in const data.  */
   6028 # define LT_DLSYM_CONST
   6029 #else
   6030 # define LT_DLSYM_CONST const
   6031 #endif
   6032 
   6033 #ifdef __cplusplus
   6034 extern "C" {
   6035 #endif
   6036 
   6037 _LT_EOF
   6038 	  # Now generate the symbol file.
   6039 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6040 
   6041 	  cat <<_LT_EOF >> conftest.$ac_ext
   6042 
   6043 /* The mapping between symbol names and symbols.  */
   6044 LT_DLSYM_CONST struct {
   6045   const char *name;
   6046   void       *address;
   6047 }
   6048 lt__PROGRAM__LTX_preloaded_symbols[] =
   6049 {
   6050   { "@PROGRAM@", (void *) 0 },
   6051 _LT_EOF
   6052 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6053 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6054   {0, (void *) 0}
   6055 };
   6056 
   6057 /* This works around a problem in FreeBSD linker */
   6058 #ifdef FREEBSD_WORKAROUND
   6059 static const void *lt_preloaded_setup() {
   6060   return lt__PROGRAM__LTX_preloaded_symbols;
   6061 }
   6062 #endif
   6063 
   6064 #ifdef __cplusplus
   6065 }
   6066 #endif
   6067 _LT_EOF
   6068 	  # Now try linking the two files.
   6069 	  mv conftest.$ac_objext conftstm.$ac_objext
   6070 	  lt_globsym_save_LIBS=$LIBS
   6071 	  lt_globsym_save_CFLAGS=$CFLAGS
   6072 	  LIBS="conftstm.$ac_objext"
   6073 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6074 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6075   (eval $ac_link) 2>&5
   6076   ac_status=$?
   6077   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6078   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   6079 	    pipe_works=yes
   6080 	  fi
   6081 	  LIBS=$lt_globsym_save_LIBS
   6082 	  CFLAGS=$lt_globsym_save_CFLAGS
   6083 	else
   6084 	  echo "cannot find nm_test_func in $nlist" >&5
   6085 	fi
   6086       else
   6087 	echo "cannot find nm_test_var in $nlist" >&5
   6088       fi
   6089     else
   6090       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6091     fi
   6092   else
   6093     echo "$progname: failed program was:" >&5
   6094     cat conftest.$ac_ext >&5
   6095   fi
   6096   rm -rf conftest* conftst*
   6097 
   6098   # Do not use the global_symbol_pipe unless it works.
   6099   if test "$pipe_works" = yes; then
   6100     break
   6101   else
   6102     lt_cv_sys_global_symbol_pipe=
   6103   fi
   6104 done
   6105 
   6106 fi
   6107 
   6108 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6109   lt_cv_sys_global_symbol_to_cdecl=
   6110 fi
   6111 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6112   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6113 $as_echo "failed" >&6; }
   6114 else
   6115   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6116 $as_echo "ok" >&6; }
   6117 fi
   6118 
   6119 # Response file support.
   6120 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6121   nm_file_list_spec='@'
   6122 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   6123   nm_file_list_spec='@'
   6124 fi
   6125 
   6126 
   6127 
   6128 
   6129 
   6130 
   6131 
   6132 
   6133 
   6134 
   6135 
   6136 
   6137 
   6138 
   6139 
   6140 
   6141 
   6142 
   6143 
   6144 
   6145 
   6146 
   6147 
   6148 
   6149 
   6150 
   6151 
   6152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   6153 $as_echo_n "checking for sysroot... " >&6; }
   6154 
   6155 # Check whether --with-sysroot was given.
   6156 if test "${with_sysroot+set}" = set; then :
   6157   withval=$with_sysroot;
   6158 else
   6159   with_sysroot=no
   6160 fi
   6161 
   6162 
   6163 lt_sysroot=
   6164 case ${with_sysroot} in #(
   6165  yes)
   6166    if test "$GCC" = yes; then
   6167      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   6168    fi
   6169    ;; #(
   6170  /*)
   6171    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   6172    ;; #(
   6173  no|'')
   6174    ;; #(
   6175  *)
   6176    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
   6177 $as_echo "${with_sysroot}" >&6; }
   6178    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   6179    ;;
   6180 esac
   6181 
   6182  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   6183 $as_echo "${lt_sysroot:-no}" >&6; }
   6184 
   6185 
   6186 
   6187 
   6188 
   6189 # Check whether --enable-libtool-lock was given.
   6190 if test "${enable_libtool_lock+set}" = set; then :
   6191   enableval=$enable_libtool_lock;
   6192 fi
   6193 
   6194 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6195 
   6196 # Some flags need to be propagated to the compiler or linker for good
   6197 # libtool support.
   6198 case $host in
   6199 ia64-*-hpux*)
   6200   # Find out which ABI we are using.
   6201   echo 'int i;' > conftest.$ac_ext
   6202   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6203   (eval $ac_compile) 2>&5
   6204   ac_status=$?
   6205   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6206   test $ac_status = 0; }; then
   6207     case `/usr/bin/file conftest.$ac_objext` in
   6208       *ELF-32*)
   6209 	HPUX_IA64_MODE="32"
   6210 	;;
   6211       *ELF-64*)
   6212 	HPUX_IA64_MODE="64"
   6213 	;;
   6214     esac
   6215   fi
   6216   rm -rf conftest*
   6217   ;;
   6218 *-*-irix6*)
   6219   # Find out which ABI we are using.
   6220   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6221   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6222   (eval $ac_compile) 2>&5
   6223   ac_status=$?
   6224   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6225   test $ac_status = 0; }; then
   6226     if test "$lt_cv_prog_gnu_ld" = yes; then
   6227       case `/usr/bin/file conftest.$ac_objext` in
   6228 	*32-bit*)
   6229 	  LD="${LD-ld} -melf32bsmip"
   6230 	  ;;
   6231 	*N32*)
   6232 	  LD="${LD-ld} -melf32bmipn32"
   6233 	  ;;
   6234 	*64-bit*)
   6235 	  LD="${LD-ld} -melf64bmip"
   6236 	;;
   6237       esac
   6238     else
   6239       case `/usr/bin/file conftest.$ac_objext` in
   6240 	*32-bit*)
   6241 	  LD="${LD-ld} -32"
   6242 	  ;;
   6243 	*N32*)
   6244 	  LD="${LD-ld} -n32"
   6245 	  ;;
   6246 	*64-bit*)
   6247 	  LD="${LD-ld} -64"
   6248 	  ;;
   6249       esac
   6250     fi
   6251   fi
   6252   rm -rf conftest*
   6253   ;;
   6254 
   6255 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   6256 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6257   # Find out which ABI we are using.
   6258   echo 'int i;' > conftest.$ac_ext
   6259   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6260   (eval $ac_compile) 2>&5
   6261   ac_status=$?
   6262   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6263   test $ac_status = 0; }; then
   6264     case `/usr/bin/file conftest.o` in
   6265       *32-bit*)
   6266 	case $host in
   6267 	  x86_64-*kfreebsd*-gnu)
   6268 	    LD="${LD-ld} -m elf_i386_fbsd"
   6269 	    ;;
   6270 	  x86_64-*linux*)
   6271 	    LD="${LD-ld} -m elf_i386"
   6272 	    ;;
   6273 	  ppc64-*linux*|powerpc64-*linux*)
   6274 	    LD="${LD-ld} -m elf32ppclinux"
   6275 	    ;;
   6276 	  s390x-*linux*)
   6277 	    LD="${LD-ld} -m elf_s390"
   6278 	    ;;
   6279 	  sparc64-*linux*)
   6280 	    LD="${LD-ld} -m elf32_sparc"
   6281 	    ;;
   6282 	esac
   6283 	;;
   6284       *64-bit*)
   6285 	case $host in
   6286 	  x86_64-*kfreebsd*-gnu)
   6287 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6288 	    ;;
   6289 	  x86_64-*linux*)
   6290 	    LD="${LD-ld} -m elf_x86_64"
   6291 	    ;;
   6292 	  ppc*-*linux*|powerpc*-*linux*)
   6293 	    LD="${LD-ld} -m elf64ppc"
   6294 	    ;;
   6295 	  s390*-*linux*|s390*-*tpf*)
   6296 	    LD="${LD-ld} -m elf64_s390"
   6297 	    ;;
   6298 	  sparc*-*linux*)
   6299 	    LD="${LD-ld} -m elf64_sparc"
   6300 	    ;;
   6301 	esac
   6302 	;;
   6303     esac
   6304   fi
   6305   rm -rf conftest*
   6306   ;;
   6307 
   6308 *-*-sco3.2v5*)
   6309   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6310   SAVE_CFLAGS="$CFLAGS"
   6311   CFLAGS="$CFLAGS -belf"
   6312   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   6313 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6314 if ${lt_cv_cc_needs_belf+:} false; then :
   6315   $as_echo_n "(cached) " >&6
   6316 else
   6317   ac_ext=c
   6318 ac_cpp='$CPP $CPPFLAGS'
   6319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6322 
   6323      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6324 /* end confdefs.h.  */
   6325 
   6326 int
   6327 main ()
   6328 {
   6329 
   6330   ;
   6331   return 0;
   6332 }
   6333 _ACEOF
   6334 if ac_fn_c_try_link "$LINENO"; then :
   6335   lt_cv_cc_needs_belf=yes
   6336 else
   6337   lt_cv_cc_needs_belf=no
   6338 fi
   6339 rm -f core conftest.err conftest.$ac_objext \
   6340     conftest$ac_exeext conftest.$ac_ext
   6341      ac_ext=c
   6342 ac_cpp='$CPP $CPPFLAGS'
   6343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6346 
   6347 fi
   6348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   6349 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   6350   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   6351     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   6352     CFLAGS="$SAVE_CFLAGS"
   6353   fi
   6354   ;;
   6355 *-*solaris*)
   6356   # Find out which ABI we are using.
   6357   echo 'int i;' > conftest.$ac_ext
   6358   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6359   (eval $ac_compile) 2>&5
   6360   ac_status=$?
   6361   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6362   test $ac_status = 0; }; then
   6363     case `/usr/bin/file conftest.o` in
   6364     *64-bit*)
   6365       case $lt_cv_prog_gnu_ld in
   6366       yes*)
   6367         case $host in
   6368         i?86-*-solaris*)
   6369           LD="${LD-ld} -m elf_x86_64"
   6370           ;;
   6371         sparc*-*-solaris*)
   6372           LD="${LD-ld} -m elf64_sparc"
   6373           ;;
   6374         esac
   6375         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   6376         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   6377           LD="${LD-ld}_sol2"
   6378         fi
   6379         ;;
   6380       *)
   6381 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   6382 	  LD="${LD-ld} -64"
   6383 	fi
   6384 	;;
   6385       esac
   6386       ;;
   6387     esac
   6388   fi
   6389   rm -rf conftest*
   6390   ;;
   6391 esac
   6392 
   6393 need_locks="$enable_libtool_lock"
   6394 
   6395 if test -n "$ac_tool_prefix"; then
   6396   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   6397 set dummy ${ac_tool_prefix}mt; ac_word=$2
   6398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6399 $as_echo_n "checking for $ac_word... " >&6; }
   6400 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   6401   $as_echo_n "(cached) " >&6
   6402 else
   6403   if test -n "$MANIFEST_TOOL"; then
   6404   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   6405 else
   6406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6407 for as_dir in $PATH
   6408 do
   6409   IFS=$as_save_IFS
   6410   test -z "$as_dir" && as_dir=.
   6411     for ac_exec_ext in '' $ac_executable_extensions; do
   6412   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6413     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   6414     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6415     break 2
   6416   fi
   6417 done
   6418   done
   6419 IFS=$as_save_IFS
   6420 
   6421 fi
   6422 fi
   6423 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   6424 if test -n "$MANIFEST_TOOL"; then
   6425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   6426 $as_echo "$MANIFEST_TOOL" >&6; }
   6427 else
   6428   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6429 $as_echo "no" >&6; }
   6430 fi
   6431 
   6432 
   6433 fi
   6434 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   6435   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   6436   # Extract the first word of "mt", so it can be a program name with args.
   6437 set dummy mt; ac_word=$2
   6438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6439 $as_echo_n "checking for $ac_word... " >&6; }
   6440 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   6441   $as_echo_n "(cached) " >&6
   6442 else
   6443   if test -n "$ac_ct_MANIFEST_TOOL"; then
   6444   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   6445 else
   6446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6447 for as_dir in $PATH
   6448 do
   6449   IFS=$as_save_IFS
   6450   test -z "$as_dir" && as_dir=.
   6451     for ac_exec_ext in '' $ac_executable_extensions; do
   6452   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6453     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   6454     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6455     break 2
   6456   fi
   6457 done
   6458   done
   6459 IFS=$as_save_IFS
   6460 
   6461 fi
   6462 fi
   6463 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   6464 if test -n "$ac_ct_MANIFEST_TOOL"; then
   6465   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   6466 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   6467 else
   6468   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6469 $as_echo "no" >&6; }
   6470 fi
   6471 
   6472   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   6473     MANIFEST_TOOL=":"
   6474   else
   6475     case $cross_compiling:$ac_tool_warned in
   6476 yes:)
   6477 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6478 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6479 ac_tool_warned=yes ;;
   6480 esac
   6481     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   6482   fi
   6483 else
   6484   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   6485 fi
   6486 
   6487 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   6488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   6489 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   6490 if ${lt_cv_path_mainfest_tool+:} false; then :
   6491   $as_echo_n "(cached) " >&6
   6492 else
   6493   lt_cv_path_mainfest_tool=no
   6494   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   6495   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   6496   cat conftest.err >&5
   6497   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   6498     lt_cv_path_mainfest_tool=yes
   6499   fi
   6500   rm -f conftest*
   6501 fi
   6502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   6503 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   6504 if test "x$lt_cv_path_mainfest_tool" != xyes; then
   6505   MANIFEST_TOOL=:
   6506 fi
   6507 
   6508 
   6509 
   6510 
   6511 
   6512 
   6513   case $host_os in
   6514     rhapsody* | darwin*)
   6515     if test -n "$ac_tool_prefix"; then
   6516   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   6517 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   6518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6519 $as_echo_n "checking for $ac_word... " >&6; }
   6520 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   6521   $as_echo_n "(cached) " >&6
   6522 else
   6523   if test -n "$DSYMUTIL"; then
   6524   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   6525 else
   6526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6527 for as_dir in $PATH
   6528 do
   6529   IFS=$as_save_IFS
   6530   test -z "$as_dir" && as_dir=.
   6531     for ac_exec_ext in '' $ac_executable_extensions; do
   6532   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6533     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   6534     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6535     break 2
   6536   fi
   6537 done
   6538   done
   6539 IFS=$as_save_IFS
   6540 
   6541 fi
   6542 fi
   6543 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   6544 if test -n "$DSYMUTIL"; then
   6545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   6546 $as_echo "$DSYMUTIL" >&6; }
   6547 else
   6548   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6549 $as_echo "no" >&6; }
   6550 fi
   6551 
   6552 
   6553 fi
   6554 if test -z "$ac_cv_prog_DSYMUTIL"; then
   6555   ac_ct_DSYMUTIL=$DSYMUTIL
   6556   # Extract the first word of "dsymutil", so it can be a program name with args.
   6557 set dummy dsymutil; ac_word=$2
   6558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6559 $as_echo_n "checking for $ac_word... " >&6; }
   6560 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   6561   $as_echo_n "(cached) " >&6
   6562 else
   6563   if test -n "$ac_ct_DSYMUTIL"; then
   6564   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   6565 else
   6566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6567 for as_dir in $PATH
   6568 do
   6569   IFS=$as_save_IFS
   6570   test -z "$as_dir" && as_dir=.
   6571     for ac_exec_ext in '' $ac_executable_extensions; do
   6572   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6573     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   6574     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6575     break 2
   6576   fi
   6577 done
   6578   done
   6579 IFS=$as_save_IFS
   6580 
   6581 fi
   6582 fi
   6583 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   6584 if test -n "$ac_ct_DSYMUTIL"; then
   6585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   6586 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   6587 else
   6588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6589 $as_echo "no" >&6; }
   6590 fi
   6591 
   6592   if test "x$ac_ct_DSYMUTIL" = x; then
   6593     DSYMUTIL=":"
   6594   else
   6595     case $cross_compiling:$ac_tool_warned in
   6596 yes:)
   6597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6598 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6599 ac_tool_warned=yes ;;
   6600 esac
   6601     DSYMUTIL=$ac_ct_DSYMUTIL
   6602   fi
   6603 else
   6604   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   6605 fi
   6606 
   6607     if test -n "$ac_tool_prefix"; then
   6608   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   6609 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   6610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6611 $as_echo_n "checking for $ac_word... " >&6; }
   6612 if ${ac_cv_prog_NMEDIT+:} false; then :
   6613   $as_echo_n "(cached) " >&6
   6614 else
   6615   if test -n "$NMEDIT"; then
   6616   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   6617 else
   6618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6619 for as_dir in $PATH
   6620 do
   6621   IFS=$as_save_IFS
   6622   test -z "$as_dir" && as_dir=.
   6623     for ac_exec_ext in '' $ac_executable_extensions; do
   6624   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6625     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   6626     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6627     break 2
   6628   fi
   6629 done
   6630   done
   6631 IFS=$as_save_IFS
   6632 
   6633 fi
   6634 fi
   6635 NMEDIT=$ac_cv_prog_NMEDIT
   6636 if test -n "$NMEDIT"; then
   6637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   6638 $as_echo "$NMEDIT" >&6; }
   6639 else
   6640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6641 $as_echo "no" >&6; }
   6642 fi
   6643 
   6644 
   6645 fi
   6646 if test -z "$ac_cv_prog_NMEDIT"; then
   6647   ac_ct_NMEDIT=$NMEDIT
   6648   # Extract the first word of "nmedit", so it can be a program name with args.
   6649 set dummy nmedit; ac_word=$2
   6650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6651 $as_echo_n "checking for $ac_word... " >&6; }
   6652 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   6653   $as_echo_n "(cached) " >&6
   6654 else
   6655   if test -n "$ac_ct_NMEDIT"; then
   6656   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   6657 else
   6658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6659 for as_dir in $PATH
   6660 do
   6661   IFS=$as_save_IFS
   6662   test -z "$as_dir" && as_dir=.
   6663     for ac_exec_ext in '' $ac_executable_extensions; do
   6664   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6665     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   6666     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6667     break 2
   6668   fi
   6669 done
   6670   done
   6671 IFS=$as_save_IFS
   6672 
   6673 fi
   6674 fi
   6675 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   6676 if test -n "$ac_ct_NMEDIT"; then
   6677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   6678 $as_echo "$ac_ct_NMEDIT" >&6; }
   6679 else
   6680   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6681 $as_echo "no" >&6; }
   6682 fi
   6683 
   6684   if test "x$ac_ct_NMEDIT" = x; then
   6685     NMEDIT=":"
   6686   else
   6687     case $cross_compiling:$ac_tool_warned in
   6688 yes:)
   6689 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6690 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6691 ac_tool_warned=yes ;;
   6692 esac
   6693     NMEDIT=$ac_ct_NMEDIT
   6694   fi
   6695 else
   6696   NMEDIT="$ac_cv_prog_NMEDIT"
   6697 fi
   6698 
   6699     if test -n "$ac_tool_prefix"; then
   6700   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   6701 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   6702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6703 $as_echo_n "checking for $ac_word... " >&6; }
   6704 if ${ac_cv_prog_LIPO+:} false; then :
   6705   $as_echo_n "(cached) " >&6
   6706 else
   6707   if test -n "$LIPO"; then
   6708   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   6709 else
   6710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6711 for as_dir in $PATH
   6712 do
   6713   IFS=$as_save_IFS
   6714   test -z "$as_dir" && as_dir=.
   6715     for ac_exec_ext in '' $ac_executable_extensions; do
   6716   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6717     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   6718     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6719     break 2
   6720   fi
   6721 done
   6722   done
   6723 IFS=$as_save_IFS
   6724 
   6725 fi
   6726 fi
   6727 LIPO=$ac_cv_prog_LIPO
   6728 if test -n "$LIPO"; then
   6729   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   6730 $as_echo "$LIPO" >&6; }
   6731 else
   6732   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6733 $as_echo "no" >&6; }
   6734 fi
   6735 
   6736 
   6737 fi
   6738 if test -z "$ac_cv_prog_LIPO"; then
   6739   ac_ct_LIPO=$LIPO
   6740   # Extract the first word of "lipo", so it can be a program name with args.
   6741 set dummy lipo; ac_word=$2
   6742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6743 $as_echo_n "checking for $ac_word... " >&6; }
   6744 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   6745   $as_echo_n "(cached) " >&6
   6746 else
   6747   if test -n "$ac_ct_LIPO"; then
   6748   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   6749 else
   6750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6751 for as_dir in $PATH
   6752 do
   6753   IFS=$as_save_IFS
   6754   test -z "$as_dir" && as_dir=.
   6755     for ac_exec_ext in '' $ac_executable_extensions; do
   6756   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6757     ac_cv_prog_ac_ct_LIPO="lipo"
   6758     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6759     break 2
   6760   fi
   6761 done
   6762   done
   6763 IFS=$as_save_IFS
   6764 
   6765 fi
   6766 fi
   6767 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   6768 if test -n "$ac_ct_LIPO"; then
   6769   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   6770 $as_echo "$ac_ct_LIPO" >&6; }
   6771 else
   6772   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6773 $as_echo "no" >&6; }
   6774 fi
   6775 
   6776   if test "x$ac_ct_LIPO" = x; then
   6777     LIPO=":"
   6778   else
   6779     case $cross_compiling:$ac_tool_warned in
   6780 yes:)
   6781 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6782 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6783 ac_tool_warned=yes ;;
   6784 esac
   6785     LIPO=$ac_ct_LIPO
   6786   fi
   6787 else
   6788   LIPO="$ac_cv_prog_LIPO"
   6789 fi
   6790 
   6791     if test -n "$ac_tool_prefix"; then
   6792   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   6793 set dummy ${ac_tool_prefix}otool; ac_word=$2
   6794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6795 $as_echo_n "checking for $ac_word... " >&6; }
   6796 if ${ac_cv_prog_OTOOL+:} false; then :
   6797   $as_echo_n "(cached) " >&6
   6798 else
   6799   if test -n "$OTOOL"; then
   6800   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   6801 else
   6802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6803 for as_dir in $PATH
   6804 do
   6805   IFS=$as_save_IFS
   6806   test -z "$as_dir" && as_dir=.
   6807     for ac_exec_ext in '' $ac_executable_extensions; do
   6808   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6809     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   6810     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6811     break 2
   6812   fi
   6813 done
   6814   done
   6815 IFS=$as_save_IFS
   6816 
   6817 fi
   6818 fi
   6819 OTOOL=$ac_cv_prog_OTOOL
   6820 if test -n "$OTOOL"; then
   6821   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   6822 $as_echo "$OTOOL" >&6; }
   6823 else
   6824   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6825 $as_echo "no" >&6; }
   6826 fi
   6827 
   6828 
   6829 fi
   6830 if test -z "$ac_cv_prog_OTOOL"; then
   6831   ac_ct_OTOOL=$OTOOL
   6832   # Extract the first word of "otool", so it can be a program name with args.
   6833 set dummy otool; ac_word=$2
   6834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6835 $as_echo_n "checking for $ac_word... " >&6; }
   6836 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   6837   $as_echo_n "(cached) " >&6
   6838 else
   6839   if test -n "$ac_ct_OTOOL"; then
   6840   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   6841 else
   6842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6843 for as_dir in $PATH
   6844 do
   6845   IFS=$as_save_IFS
   6846   test -z "$as_dir" && as_dir=.
   6847     for ac_exec_ext in '' $ac_executable_extensions; do
   6848   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6849     ac_cv_prog_ac_ct_OTOOL="otool"
   6850     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6851     break 2
   6852   fi
   6853 done
   6854   done
   6855 IFS=$as_save_IFS
   6856 
   6857 fi
   6858 fi
   6859 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   6860 if test -n "$ac_ct_OTOOL"; then
   6861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   6862 $as_echo "$ac_ct_OTOOL" >&6; }
   6863 else
   6864   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6865 $as_echo "no" >&6; }
   6866 fi
   6867 
   6868   if test "x$ac_ct_OTOOL" = x; then
   6869     OTOOL=":"
   6870   else
   6871     case $cross_compiling:$ac_tool_warned in
   6872 yes:)
   6873 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6874 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6875 ac_tool_warned=yes ;;
   6876 esac
   6877     OTOOL=$ac_ct_OTOOL
   6878   fi
   6879 else
   6880   OTOOL="$ac_cv_prog_OTOOL"
   6881 fi
   6882 
   6883     if test -n "$ac_tool_prefix"; then
   6884   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   6885 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   6886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6887 $as_echo_n "checking for $ac_word... " >&6; }
   6888 if ${ac_cv_prog_OTOOL64+:} false; then :
   6889   $as_echo_n "(cached) " >&6
   6890 else
   6891   if test -n "$OTOOL64"; then
   6892   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   6893 else
   6894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6895 for as_dir in $PATH
   6896 do
   6897   IFS=$as_save_IFS
   6898   test -z "$as_dir" && as_dir=.
   6899     for ac_exec_ext in '' $ac_executable_extensions; do
   6900   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6901     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   6902     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6903     break 2
   6904   fi
   6905 done
   6906   done
   6907 IFS=$as_save_IFS
   6908 
   6909 fi
   6910 fi
   6911 OTOOL64=$ac_cv_prog_OTOOL64
   6912 if test -n "$OTOOL64"; then
   6913   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   6914 $as_echo "$OTOOL64" >&6; }
   6915 else
   6916   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6917 $as_echo "no" >&6; }
   6918 fi
   6919 
   6920 
   6921 fi
   6922 if test -z "$ac_cv_prog_OTOOL64"; then
   6923   ac_ct_OTOOL64=$OTOOL64
   6924   # Extract the first word of "otool64", so it can be a program name with args.
   6925 set dummy otool64; ac_word=$2
   6926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6927 $as_echo_n "checking for $ac_word... " >&6; }
   6928 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   6929   $as_echo_n "(cached) " >&6
   6930 else
   6931   if test -n "$ac_ct_OTOOL64"; then
   6932   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   6933 else
   6934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6935 for as_dir in $PATH
   6936 do
   6937   IFS=$as_save_IFS
   6938   test -z "$as_dir" && as_dir=.
   6939     for ac_exec_ext in '' $ac_executable_extensions; do
   6940   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6941     ac_cv_prog_ac_ct_OTOOL64="otool64"
   6942     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6943     break 2
   6944   fi
   6945 done
   6946   done
   6947 IFS=$as_save_IFS
   6948 
   6949 fi
   6950 fi
   6951 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   6952 if test -n "$ac_ct_OTOOL64"; then
   6953   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   6954 $as_echo "$ac_ct_OTOOL64" >&6; }
   6955 else
   6956   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6957 $as_echo "no" >&6; }
   6958 fi
   6959 
   6960   if test "x$ac_ct_OTOOL64" = x; then
   6961     OTOOL64=":"
   6962   else
   6963     case $cross_compiling:$ac_tool_warned in
   6964 yes:)
   6965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6966 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6967 ac_tool_warned=yes ;;
   6968 esac
   6969     OTOOL64=$ac_ct_OTOOL64
   6970   fi
   6971 else
   6972   OTOOL64="$ac_cv_prog_OTOOL64"
   6973 fi
   6974 
   6975 
   6976 
   6977 
   6978 
   6979 
   6980 
   6981 
   6982 
   6983 
   6984 
   6985 
   6986 
   6987 
   6988 
   6989 
   6990 
   6991 
   6992 
   6993 
   6994 
   6995 
   6996 
   6997 
   6998 
   6999 
   7000 
   7001     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   7002 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7003 if ${lt_cv_apple_cc_single_mod+:} false; then :
   7004   $as_echo_n "(cached) " >&6
   7005 else
   7006   lt_cv_apple_cc_single_mod=no
   7007       if test -z "${LT_MULTI_MODULE}"; then
   7008 	# By default we will add the -single_module flag. You can override
   7009 	# by either setting the environment variable LT_MULTI_MODULE
   7010 	# non-empty at configure time, or by adding -multi_module to the
   7011 	# link flags.
   7012 	rm -rf libconftest.dylib*
   7013 	echo "int foo(void){return 1;}" > conftest.c
   7014 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7015 -dynamiclib -Wl,-single_module conftest.c" >&5
   7016 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7017 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7018         _lt_result=$?
   7019 	# If there is a non-empty error log, and "single_module"
   7020 	# appears in it, assume the flag caused a linker warning
   7021         if test -s conftest.err && $GREP single_module conftest.err; then
   7022 	  cat conftest.err >&5
   7023 	# Otherwise, if the output was created with a 0 exit code from
   7024 	# the compiler, it worked.
   7025 	elif test -f libconftest.dylib && test $_lt_result -eq 0; then
   7026 	  lt_cv_apple_cc_single_mod=yes
   7027 	else
   7028 	  cat conftest.err >&5
   7029 	fi
   7030 	rm -rf libconftest.dylib*
   7031 	rm -f conftest.*
   7032       fi
   7033 fi
   7034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   7035 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7036 
   7037     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   7038 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7039 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   7040   $as_echo_n "(cached) " >&6
   7041 else
   7042   lt_cv_ld_exported_symbols_list=no
   7043       save_LDFLAGS=$LDFLAGS
   7044       echo "_main" > conftest.sym
   7045       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7046       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7047 /* end confdefs.h.  */
   7048 
   7049 int
   7050 main ()
   7051 {
   7052 
   7053   ;
   7054   return 0;
   7055 }
   7056 _ACEOF
   7057 if ac_fn_c_try_link "$LINENO"; then :
   7058   lt_cv_ld_exported_symbols_list=yes
   7059 else
   7060   lt_cv_ld_exported_symbols_list=no
   7061 fi
   7062 rm -f core conftest.err conftest.$ac_objext \
   7063     conftest$ac_exeext conftest.$ac_ext
   7064 	LDFLAGS="$save_LDFLAGS"
   7065 
   7066 fi
   7067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7068 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7069 
   7070     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   7071 $as_echo_n "checking for -force_load linker flag... " >&6; }
   7072 if ${lt_cv_ld_force_load+:} false; then :
   7073   $as_echo_n "(cached) " >&6
   7074 else
   7075   lt_cv_ld_force_load=no
   7076       cat > conftest.c << _LT_EOF
   7077 int forced_loaded() { return 2;}
   7078 _LT_EOF
   7079       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   7080       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   7081       echo "$AR cru libconftest.a conftest.o" >&5
   7082       $AR cru libconftest.a conftest.o 2>&5
   7083       echo "$RANLIB libconftest.a" >&5
   7084       $RANLIB libconftest.a 2>&5
   7085       cat > conftest.c << _LT_EOF
   7086 int main() { return 0;}
   7087 _LT_EOF
   7088       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   7089       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   7090       _lt_result=$?
   7091       if test -s conftest.err && $GREP force_load conftest.err; then
   7092 	cat conftest.err >&5
   7093       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
   7094 	lt_cv_ld_force_load=yes
   7095       else
   7096 	cat conftest.err >&5
   7097       fi
   7098         rm -f conftest.err libconftest.a conftest conftest.c
   7099         rm -rf conftest.dSYM
   7100 
   7101 fi
   7102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   7103 $as_echo "$lt_cv_ld_force_load" >&6; }
   7104     case $host_os in
   7105     rhapsody* | darwin1.[012])
   7106       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7107     darwin1.*)
   7108       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7109     darwin*) # darwin 5.x on
   7110       # if running on 10.5 or later, the deployment target defaults
   7111       # to the OS version, if on x86, and 10.4, the deployment
   7112       # target defaults to 10.4. Don't you love it?
   7113       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7114 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7115 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7116 	10.[012]*)
   7117 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7118 	10.*)
   7119 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7120       esac
   7121     ;;
   7122   esac
   7123     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7124       _lt_dar_single_mod='$single_module'
   7125     fi
   7126     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7127       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7128     else
   7129       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7130     fi
   7131     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   7132       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7133     else
   7134       _lt_dsymutil=
   7135     fi
   7136     ;;
   7137   esac
   7138 
   7139 ac_ext=c
   7140 ac_cpp='$CPP $CPPFLAGS'
   7141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   7145 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   7146 # On Suns, sometimes $CPP names a directory.
   7147 if test -n "$CPP" && test -d "$CPP"; then
   7148   CPP=
   7149 fi
   7150 if test -z "$CPP"; then
   7151   if ${ac_cv_prog_CPP+:} false; then :
   7152   $as_echo_n "(cached) " >&6
   7153 else
   7154       # Double quotes because CPP needs to be expanded
   7155     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   7156     do
   7157       ac_preproc_ok=false
   7158 for ac_c_preproc_warn_flag in '' yes
   7159 do
   7160   # Use a header file that comes with gcc, so configuring glibc
   7161   # with a fresh cross-compiler works.
   7162   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7163   # <limits.h> exists even on freestanding compilers.
   7164   # On the NeXT, cc -E runs the code through the compiler's parser,
   7165   # not just through cpp. "Syntax error" is here to catch this case.
   7166   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7167 /* end confdefs.h.  */
   7168 #ifdef __STDC__
   7169 # include <limits.h>
   7170 #else
   7171 # include <assert.h>
   7172 #endif
   7173 		     Syntax error
   7174 _ACEOF
   7175 if ac_fn_c_try_cpp "$LINENO"; then :
   7176 
   7177 else
   7178   # Broken: fails on valid input.
   7179 continue
   7180 fi
   7181 rm -f conftest.err conftest.i conftest.$ac_ext
   7182 
   7183   # OK, works on sane cases.  Now check whether nonexistent headers
   7184   # can be detected and how.
   7185   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7186 /* end confdefs.h.  */
   7187 #include <ac_nonexistent.h>
   7188 _ACEOF
   7189 if ac_fn_c_try_cpp "$LINENO"; then :
   7190   # Broken: success on invalid input.
   7191 continue
   7192 else
   7193   # Passes both tests.
   7194 ac_preproc_ok=:
   7195 break
   7196 fi
   7197 rm -f conftest.err conftest.i conftest.$ac_ext
   7198 
   7199 done
   7200 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7201 rm -f conftest.i conftest.err conftest.$ac_ext
   7202 if $ac_preproc_ok; then :
   7203   break
   7204 fi
   7205 
   7206     done
   7207     ac_cv_prog_CPP=$CPP
   7208 
   7209 fi
   7210   CPP=$ac_cv_prog_CPP
   7211 else
   7212   ac_cv_prog_CPP=$CPP
   7213 fi
   7214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   7215 $as_echo "$CPP" >&6; }
   7216 ac_preproc_ok=false
   7217 for ac_c_preproc_warn_flag in '' yes
   7218 do
   7219   # Use a header file that comes with gcc, so configuring glibc
   7220   # with a fresh cross-compiler works.
   7221   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7222   # <limits.h> exists even on freestanding compilers.
   7223   # On the NeXT, cc -E runs the code through the compiler's parser,
   7224   # not just through cpp. "Syntax error" is here to catch this case.
   7225   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7226 /* end confdefs.h.  */
   7227 #ifdef __STDC__
   7228 # include <limits.h>
   7229 #else
   7230 # include <assert.h>
   7231 #endif
   7232 		     Syntax error
   7233 _ACEOF
   7234 if ac_fn_c_try_cpp "$LINENO"; then :
   7235 
   7236 else
   7237   # Broken: fails on valid input.
   7238 continue
   7239 fi
   7240 rm -f conftest.err conftest.i conftest.$ac_ext
   7241 
   7242   # OK, works on sane cases.  Now check whether nonexistent headers
   7243   # can be detected and how.
   7244   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7245 /* end confdefs.h.  */
   7246 #include <ac_nonexistent.h>
   7247 _ACEOF
   7248 if ac_fn_c_try_cpp "$LINENO"; then :
   7249   # Broken: success on invalid input.
   7250 continue
   7251 else
   7252   # Passes both tests.
   7253 ac_preproc_ok=:
   7254 break
   7255 fi
   7256 rm -f conftest.err conftest.i conftest.$ac_ext
   7257 
   7258 done
   7259 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7260 rm -f conftest.i conftest.err conftest.$ac_ext
   7261 if $ac_preproc_ok; then :
   7262 
   7263 else
   7264   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   7265 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   7266 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   7267 See \`config.log' for more details" "$LINENO" 5; }
   7268 fi
   7269 
   7270 ac_ext=c
   7271 ac_cpp='$CPP $CPPFLAGS'
   7272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7275 
   7276 
   7277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   7278 $as_echo_n "checking for ANSI C header files... " >&6; }
   7279 if ${ac_cv_header_stdc+:} false; then :
   7280   $as_echo_n "(cached) " >&6
   7281 else
   7282   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7283 /* end confdefs.h.  */
   7284 #include <stdlib.h>
   7285 #include <stdarg.h>
   7286 #include <string.h>
   7287 #include <float.h>
   7288 
   7289 int
   7290 main ()
   7291 {
   7292 
   7293   ;
   7294   return 0;
   7295 }
   7296 _ACEOF
   7297 if ac_fn_c_try_compile "$LINENO"; then :
   7298   ac_cv_header_stdc=yes
   7299 else
   7300   ac_cv_header_stdc=no
   7301 fi
   7302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7303 
   7304 if test $ac_cv_header_stdc = yes; then
   7305   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   7306   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7307 /* end confdefs.h.  */
   7308 #include <string.h>
   7309 
   7310 _ACEOF
   7311 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7312   $EGREP "memchr" >/dev/null 2>&1; then :
   7313 
   7314 else
   7315   ac_cv_header_stdc=no
   7316 fi
   7317 rm -f conftest*
   7318 
   7319 fi
   7320 
   7321 if test $ac_cv_header_stdc = yes; then
   7322   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   7323   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7324 /* end confdefs.h.  */
   7325 #include <stdlib.h>
   7326 
   7327 _ACEOF
   7328 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7329   $EGREP "free" >/dev/null 2>&1; then :
   7330 
   7331 else
   7332   ac_cv_header_stdc=no
   7333 fi
   7334 rm -f conftest*
   7335 
   7336 fi
   7337 
   7338 if test $ac_cv_header_stdc = yes; then
   7339   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   7340   if test "$cross_compiling" = yes; then :
   7341   :
   7342 else
   7343   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7344 /* end confdefs.h.  */
   7345 #include <ctype.h>
   7346 #include <stdlib.h>
   7347 #if ((' ' & 0x0FF) == 0x020)
   7348 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   7349 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   7350 #else
   7351 # define ISLOWER(c) \
   7352 		   (('a' <= (c) && (c) <= 'i') \
   7353 		     || ('j' <= (c) && (c) <= 'r') \
   7354 		     || ('s' <= (c) && (c) <= 'z'))
   7355 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   7356 #endif
   7357 
   7358 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   7359 int
   7360 main ()
   7361 {
   7362   int i;
   7363   for (i = 0; i < 256; i++)
   7364     if (XOR (islower (i), ISLOWER (i))
   7365 	|| toupper (i) != TOUPPER (i))
   7366       return 2;
   7367   return 0;
   7368 }
   7369 _ACEOF
   7370 if ac_fn_c_try_run "$LINENO"; then :
   7371 
   7372 else
   7373   ac_cv_header_stdc=no
   7374 fi
   7375 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   7376   conftest.$ac_objext conftest.beam conftest.$ac_ext
   7377 fi
   7378 
   7379 fi
   7380 fi
   7381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   7382 $as_echo "$ac_cv_header_stdc" >&6; }
   7383 if test $ac_cv_header_stdc = yes; then
   7384 
   7385 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   7386 
   7387 fi
   7388 
   7389 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   7390 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   7391 		  inttypes.h stdint.h unistd.h
   7392 do :
   7393   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   7394 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   7395 "
   7396 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   7397   cat >>confdefs.h <<_ACEOF
   7398 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   7399 _ACEOF
   7400 
   7401 fi
   7402 
   7403 done
   7404 
   7405 
   7406 for ac_header in dlfcn.h
   7407 do :
   7408   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7409 "
   7410 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   7411   cat >>confdefs.h <<_ACEOF
   7412 #define HAVE_DLFCN_H 1
   7413 _ACEOF
   7414 
   7415 fi
   7416 
   7417 done
   7418 
   7419 
   7420 
   7421 
   7422 
   7423 # Set options
   7424 
   7425 
   7426 
   7427         enable_dlopen=no
   7428 
   7429 
   7430   enable_win32_dll=no
   7431 
   7432 
   7433             # Check whether --enable-shared was given.
   7434 if test "${enable_shared+set}" = set; then :
   7435   enableval=$enable_shared; p=${PACKAGE-default}
   7436     case $enableval in
   7437     yes) enable_shared=yes ;;
   7438     no) enable_shared=no ;;
   7439     *)
   7440       enable_shared=no
   7441       # Look at the argument we got.  We use all the common list separators.
   7442       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7443       for pkg in $enableval; do
   7444 	IFS="$lt_save_ifs"
   7445 	if test "X$pkg" = "X$p"; then
   7446 	  enable_shared=yes
   7447 	fi
   7448       done
   7449       IFS="$lt_save_ifs"
   7450       ;;
   7451     esac
   7452 else
   7453   enable_shared=yes
   7454 fi
   7455 
   7456 
   7457 
   7458 
   7459 
   7460 
   7461 
   7462 
   7463 
   7464   # Check whether --enable-static was given.
   7465 if test "${enable_static+set}" = set; then :
   7466   enableval=$enable_static; p=${PACKAGE-default}
   7467     case $enableval in
   7468     yes) enable_static=yes ;;
   7469     no) enable_static=no ;;
   7470     *)
   7471      enable_static=no
   7472       # Look at the argument we got.  We use all the common list separators.
   7473       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7474       for pkg in $enableval; do
   7475 	IFS="$lt_save_ifs"
   7476 	if test "X$pkg" = "X$p"; then
   7477 	  enable_static=yes
   7478 	fi
   7479       done
   7480       IFS="$lt_save_ifs"
   7481       ;;
   7482     esac
   7483 else
   7484   enable_static=yes
   7485 fi
   7486 
   7487 
   7488 
   7489 
   7490 
   7491 
   7492 
   7493 
   7494 
   7495 
   7496 # Check whether --with-pic was given.
   7497 if test "${with_pic+set}" = set; then :
   7498   withval=$with_pic; lt_p=${PACKAGE-default}
   7499     case $withval in
   7500     yes|no) pic_mode=$withval ;;
   7501     *)
   7502       pic_mode=default
   7503       # Look at the argument we got.  We use all the common list separators.
   7504       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7505       for lt_pkg in $withval; do
   7506 	IFS="$lt_save_ifs"
   7507 	if test "X$lt_pkg" = "X$lt_p"; then
   7508 	  pic_mode=yes
   7509 	fi
   7510       done
   7511       IFS="$lt_save_ifs"
   7512       ;;
   7513     esac
   7514 else
   7515   pic_mode=default
   7516 fi
   7517 
   7518 
   7519 test -z "$pic_mode" && pic_mode=default
   7520 
   7521 
   7522 
   7523 
   7524 
   7525 
   7526 
   7527   # Check whether --enable-fast-install was given.
   7528 if test "${enable_fast_install+set}" = set; then :
   7529   enableval=$enable_fast_install; p=${PACKAGE-default}
   7530     case $enableval in
   7531     yes) enable_fast_install=yes ;;
   7532     no) enable_fast_install=no ;;
   7533     *)
   7534       enable_fast_install=no
   7535       # Look at the argument we got.  We use all the common list separators.
   7536       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7537       for pkg in $enableval; do
   7538 	IFS="$lt_save_ifs"
   7539 	if test "X$pkg" = "X$p"; then
   7540 	  enable_fast_install=yes
   7541 	fi
   7542       done
   7543       IFS="$lt_save_ifs"
   7544       ;;
   7545     esac
   7546 else
   7547   enable_fast_install=yes
   7548 fi
   7549 
   7550 
   7551 
   7552 
   7553 
   7554 
   7555 
   7556 
   7557 
   7558 
   7559 
   7560 # This can be used to rebuild libtool when needed
   7561 LIBTOOL_DEPS="$ltmain"
   7562 
   7563 # Always use our own libtool.
   7564 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7565 
   7566 
   7567 
   7568 
   7569 
   7570 
   7571 
   7572 
   7573 
   7574 
   7575 
   7576 
   7577 
   7578 
   7579 
   7580 
   7581 
   7582 
   7583 
   7584 
   7585 
   7586 
   7587 
   7588 
   7589 
   7590 
   7591 
   7592 
   7593 
   7594 
   7595 test -z "$LN_S" && LN_S="ln -s"
   7596 
   7597 
   7598 
   7599 
   7600 
   7601 
   7602 
   7603 
   7604 
   7605 
   7606 
   7607 
   7608 
   7609 
   7610 if test -n "${ZSH_VERSION+set}" ; then
   7611    setopt NO_GLOB_SUBST
   7612 fi
   7613 
   7614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   7615 $as_echo_n "checking for objdir... " >&6; }
   7616 if ${lt_cv_objdir+:} false; then :
   7617   $as_echo_n "(cached) " >&6
   7618 else
   7619   rm -f .libs 2>/dev/null
   7620 mkdir .libs 2>/dev/null
   7621 if test -d .libs; then
   7622   lt_cv_objdir=.libs
   7623 else
   7624   # MS-DOS does not allow filenames that begin with a dot.
   7625   lt_cv_objdir=_libs
   7626 fi
   7627 rmdir .libs 2>/dev/null
   7628 fi
   7629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   7630 $as_echo "$lt_cv_objdir" >&6; }
   7631 objdir=$lt_cv_objdir
   7632 
   7633 
   7634 
   7635 
   7636 
   7637 cat >>confdefs.h <<_ACEOF
   7638 #define LT_OBJDIR "$lt_cv_objdir/"
   7639 _ACEOF
   7640 
   7641 
   7642 
   7643 
   7644 case $host_os in
   7645 aix3*)
   7646   # AIX sometimes has problems with the GCC collect2 program.  For some
   7647   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7648   # vanish in a puff of smoke.
   7649   if test "X${COLLECT_NAMES+set}" != Xset; then
   7650     COLLECT_NAMES=
   7651     export COLLECT_NAMES
   7652   fi
   7653   ;;
   7654 esac
   7655 
   7656 # Global variables:
   7657 ofile=libtool
   7658 can_build_shared=yes
   7659 
   7660 # All known linkers require a `.a' archive for static linking (except MSVC,
   7661 # which needs '.lib').
   7662 libext=a
   7663 
   7664 with_gnu_ld="$lt_cv_prog_gnu_ld"
   7665 
   7666 old_CC="$CC"
   7667 old_CFLAGS="$CFLAGS"
   7668 
   7669 # Set sane defaults for various variables
   7670 test -z "$CC" && CC=cc
   7671 test -z "$LTCC" && LTCC=$CC
   7672 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7673 test -z "$LD" && LD=ld
   7674 test -z "$ac_objext" && ac_objext=o
   7675 
   7676 for cc_temp in $compiler""; do
   7677   case $cc_temp in
   7678     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7679     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7680     \-*) ;;
   7681     *) break;;
   7682   esac
   7683 done
   7684 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7685 
   7686 
   7687 # Only perform the check for file, if the check method requires it
   7688 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7689 case $deplibs_check_method in
   7690 file_magic*)
   7691   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7692     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   7693 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7694 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7695   $as_echo_n "(cached) " >&6
   7696 else
   7697   case $MAGIC_CMD in
   7698 [\\/*] |  ?:[\\/]*)
   7699   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7700   ;;
   7701 *)
   7702   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7703   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7704   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7705   for ac_dir in $ac_dummy; do
   7706     IFS="$lt_save_ifs"
   7707     test -z "$ac_dir" && ac_dir=.
   7708     if test -f $ac_dir/${ac_tool_prefix}file; then
   7709       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7710       if test -n "$file_magic_test_file"; then
   7711 	case $deplibs_check_method in
   7712 	"file_magic "*)
   7713 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7714 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7715 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7716 	    $EGREP "$file_magic_regex" > /dev/null; then
   7717 	    :
   7718 	  else
   7719 	    cat <<_LT_EOF 1>&2
   7720 
   7721 *** Warning: the command libtool uses to detect shared libraries,
   7722 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7723 *** The result is that libtool may fail to recognize shared libraries
   7724 *** as such.  This will affect the creation of libtool libraries that
   7725 *** depend on shared libraries, but programs linked with such libtool
   7726 *** libraries will work regardless of this problem.  Nevertheless, you
   7727 *** may want to report the problem to your system manager and/or to
   7728 *** bug-libtool@gnu.org
   7729 
   7730 _LT_EOF
   7731 	  fi ;;
   7732 	esac
   7733       fi
   7734       break
   7735     fi
   7736   done
   7737   IFS="$lt_save_ifs"
   7738   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7739   ;;
   7740 esac
   7741 fi
   7742 
   7743 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7744 if test -n "$MAGIC_CMD"; then
   7745   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7746 $as_echo "$MAGIC_CMD" >&6; }
   7747 else
   7748   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7749 $as_echo "no" >&6; }
   7750 fi
   7751 
   7752 
   7753 
   7754 
   7755 
   7756 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7757   if test -n "$ac_tool_prefix"; then
   7758     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   7759 $as_echo_n "checking for file... " >&6; }
   7760 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7761   $as_echo_n "(cached) " >&6
   7762 else
   7763   case $MAGIC_CMD in
   7764 [\\/*] |  ?:[\\/]*)
   7765   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7766   ;;
   7767 *)
   7768   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7769   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7770   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7771   for ac_dir in $ac_dummy; do
   7772     IFS="$lt_save_ifs"
   7773     test -z "$ac_dir" && ac_dir=.
   7774     if test -f $ac_dir/file; then
   7775       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7776       if test -n "$file_magic_test_file"; then
   7777 	case $deplibs_check_method in
   7778 	"file_magic "*)
   7779 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7780 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7781 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7782 	    $EGREP "$file_magic_regex" > /dev/null; then
   7783 	    :
   7784 	  else
   7785 	    cat <<_LT_EOF 1>&2
   7786 
   7787 *** Warning: the command libtool uses to detect shared libraries,
   7788 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7789 *** The result is that libtool may fail to recognize shared libraries
   7790 *** as such.  This will affect the creation of libtool libraries that
   7791 *** depend on shared libraries, but programs linked with such libtool
   7792 *** libraries will work regardless of this problem.  Nevertheless, you
   7793 *** may want to report the problem to your system manager and/or to
   7794 *** bug-libtool@gnu.org
   7795 
   7796 _LT_EOF
   7797 	  fi ;;
   7798 	esac
   7799       fi
   7800       break
   7801     fi
   7802   done
   7803   IFS="$lt_save_ifs"
   7804   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7805   ;;
   7806 esac
   7807 fi
   7808 
   7809 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7810 if test -n "$MAGIC_CMD"; then
   7811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7812 $as_echo "$MAGIC_CMD" >&6; }
   7813 else
   7814   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7815 $as_echo "no" >&6; }
   7816 fi
   7817 
   7818 
   7819   else
   7820     MAGIC_CMD=:
   7821   fi
   7822 fi
   7823 
   7824   fi
   7825   ;;
   7826 esac
   7827 
   7828 # Use C for the default configuration in the libtool script
   7829 
   7830 lt_save_CC="$CC"
   7831 ac_ext=c
   7832 ac_cpp='$CPP $CPPFLAGS'
   7833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7836 
   7837 
   7838 # Source file extension for C test sources.
   7839 ac_ext=c
   7840 
   7841 # Object file extension for compiled C test sources.
   7842 objext=o
   7843 objext=$objext
   7844 
   7845 # Code to be used in simple compile tests
   7846 lt_simple_compile_test_code="int some_variable = 0;"
   7847 
   7848 # Code to be used in simple link tests
   7849 lt_simple_link_test_code='int main(){return(0);}'
   7850 
   7851 
   7852 
   7853 
   7854 
   7855 
   7856 
   7857 # If no C compiler was specified, use CC.
   7858 LTCC=${LTCC-"$CC"}
   7859 
   7860 # If no C compiler flags were specified, use CFLAGS.
   7861 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7862 
   7863 # Allow CC to be a program name with arguments.
   7864 compiler=$CC
   7865 
   7866 # Save the default compiler, since it gets overwritten when the other
   7867 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   7868 compiler_DEFAULT=$CC
   7869 
   7870 # save warnings/boilerplate of simple test code
   7871 ac_outfile=conftest.$ac_objext
   7872 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7873 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7874 _lt_compiler_boilerplate=`cat conftest.err`
   7875 $RM conftest*
   7876 
   7877 ac_outfile=conftest.$ac_objext
   7878 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7879 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7880 _lt_linker_boilerplate=`cat conftest.err`
   7881 $RM -r conftest*
   7882 
   7883 
   7884 if test -n "$compiler"; then
   7885 
   7886 lt_prog_compiler_no_builtin_flag=
   7887 
   7888 if test "$GCC" = yes; then
   7889   case $cc_basename in
   7890   nvcc*)
   7891     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   7892   *)
   7893     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   7894   esac
   7895 
   7896   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7897 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7898 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   7899   $as_echo_n "(cached) " >&6
   7900 else
   7901   lt_cv_prog_compiler_rtti_exceptions=no
   7902    ac_outfile=conftest.$ac_objext
   7903    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7904    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7905    # Insert the option either (1) after the last *FLAGS variable, or
   7906    # (2) before a word containing "conftest.", or (3) at the end.
   7907    # Note that $ac_compile itself does not contain backslashes and begins
   7908    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7909    # The option is referenced via a variable to avoid confusing sed.
   7910    lt_compile=`echo "$ac_compile" | $SED \
   7911    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7912    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7913    -e 's:$: $lt_compiler_flag:'`
   7914    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   7915    (eval "$lt_compile" 2>conftest.err)
   7916    ac_status=$?
   7917    cat conftest.err >&5
   7918    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7919    if (exit $ac_status) && test -s "$ac_outfile"; then
   7920      # The compiler can only warn and ignore the option if not recognized
   7921      # So say no if there are warnings other than the usual output.
   7922      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   7923      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7924      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7925        lt_cv_prog_compiler_rtti_exceptions=yes
   7926      fi
   7927    fi
   7928    $RM conftest*
   7929 
   7930 fi
   7931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7932 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7933 
   7934 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7935     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7936 else
   7937     :
   7938 fi
   7939 
   7940 fi
   7941 
   7942 
   7943 
   7944 
   7945 
   7946 
   7947   lt_prog_compiler_wl=
   7948 lt_prog_compiler_pic=
   7949 lt_prog_compiler_static=
   7950 
   7951 
   7952   if test "$GCC" = yes; then
   7953     lt_prog_compiler_wl='-Wl,'
   7954     lt_prog_compiler_static='-static'
   7955 
   7956     case $host_os in
   7957       aix*)
   7958       # All AIX code is PIC.
   7959       if test "$host_cpu" = ia64; then
   7960 	# AIX 5 now supports IA64 processor
   7961 	lt_prog_compiler_static='-Bstatic'
   7962       fi
   7963       ;;
   7964 
   7965     amigaos*)
   7966       case $host_cpu in
   7967       powerpc)
   7968             # see comment about AmigaOS4 .so support
   7969             lt_prog_compiler_pic='-fPIC'
   7970         ;;
   7971       m68k)
   7972             # FIXME: we need at least 68020 code to build shared libraries, but
   7973             # adding the `-m68020' flag to GCC prevents building anything better,
   7974             # like `-m68040'.
   7975             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7976         ;;
   7977       esac
   7978       ;;
   7979 
   7980     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7981       # PIC is the default for these OSes.
   7982       ;;
   7983 
   7984     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7985       # This hack is so that the source file can tell whether it is being
   7986       # built for inclusion in a dll (and should export symbols for example).
   7987       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7988       # (--disable-auto-import) libraries
   7989       lt_prog_compiler_pic='-DDLL_EXPORT'
   7990       ;;
   7991 
   7992     darwin* | rhapsody*)
   7993       # PIC is the default on this platform
   7994       # Common symbols not allowed in MH_DYLIB files
   7995       lt_prog_compiler_pic='-fno-common'
   7996       ;;
   7997 
   7998     haiku*)
   7999       # PIC is the default for Haiku.
   8000       # The "-static" flag exists, but is broken.
   8001       lt_prog_compiler_static=
   8002       ;;
   8003 
   8004     hpux*)
   8005       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8006       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8007       # sets the default TLS model and affects inlining.
   8008       case $host_cpu in
   8009       hppa*64*)
   8010 	# +Z the default
   8011 	;;
   8012       *)
   8013 	lt_prog_compiler_pic='-fPIC'
   8014 	;;
   8015       esac
   8016       ;;
   8017 
   8018     interix[3-9]*)
   8019       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8020       # Instead, we relocate shared libraries at runtime.
   8021       ;;
   8022 
   8023     msdosdjgpp*)
   8024       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8025       # on systems that don't support them.
   8026       lt_prog_compiler_can_build_shared=no
   8027       enable_shared=no
   8028       ;;
   8029 
   8030     *nto* | *qnx*)
   8031       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8032       # it will coredump.
   8033       lt_prog_compiler_pic='-fPIC -shared'
   8034       ;;
   8035 
   8036     sysv4*MP*)
   8037       if test -d /usr/nec; then
   8038 	lt_prog_compiler_pic=-Kconform_pic
   8039       fi
   8040       ;;
   8041 
   8042     *)
   8043       lt_prog_compiler_pic='-fPIC'
   8044       ;;
   8045     esac
   8046 
   8047     case $cc_basename in
   8048     nvcc*) # Cuda Compiler Driver 2.2
   8049       lt_prog_compiler_wl='-Xlinker '
   8050       if test -n "$lt_prog_compiler_pic"; then
   8051         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   8052       fi
   8053       ;;
   8054     esac
   8055   else
   8056     # PORTME Check for flag to pass linker flags through the system compiler.
   8057     case $host_os in
   8058     aix*)
   8059       lt_prog_compiler_wl='-Wl,'
   8060       if test "$host_cpu" = ia64; then
   8061 	# AIX 5 now supports IA64 processor
   8062 	lt_prog_compiler_static='-Bstatic'
   8063       else
   8064 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8065       fi
   8066       ;;
   8067 
   8068     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8069       # This hack is so that the source file can tell whether it is being
   8070       # built for inclusion in a dll (and should export symbols for example).
   8071       lt_prog_compiler_pic='-DDLL_EXPORT'
   8072       ;;
   8073 
   8074     hpux9* | hpux10* | hpux11*)
   8075       lt_prog_compiler_wl='-Wl,'
   8076       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8077       # not for PA HP-UX.
   8078       case $host_cpu in
   8079       hppa*64*|ia64*)
   8080 	# +Z the default
   8081 	;;
   8082       *)
   8083 	lt_prog_compiler_pic='+Z'
   8084 	;;
   8085       esac
   8086       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8087       lt_prog_compiler_static='${wl}-a ${wl}archive'
   8088       ;;
   8089 
   8090     irix5* | irix6* | nonstopux*)
   8091       lt_prog_compiler_wl='-Wl,'
   8092       # PIC (with -KPIC) is the default.
   8093       lt_prog_compiler_static='-non_shared'
   8094       ;;
   8095 
   8096     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   8097       case $cc_basename in
   8098       # old Intel for x86_64 which still supported -KPIC.
   8099       ecc*)
   8100 	lt_prog_compiler_wl='-Wl,'
   8101 	lt_prog_compiler_pic='-KPIC'
   8102 	lt_prog_compiler_static='-static'
   8103         ;;
   8104       # icc used to be incompatible with GCC.
   8105       # ICC 10 doesn't accept -KPIC any more.
   8106       icc* | ifort*)
   8107 	lt_prog_compiler_wl='-Wl,'
   8108 	lt_prog_compiler_pic='-fPIC'
   8109 	lt_prog_compiler_static='-static'
   8110         ;;
   8111       # Lahey Fortran 8.1.
   8112       lf95*)
   8113 	lt_prog_compiler_wl='-Wl,'
   8114 	lt_prog_compiler_pic='--shared'
   8115 	lt_prog_compiler_static='--static'
   8116 	;;
   8117       nagfor*)
   8118 	# NAG Fortran compiler
   8119 	lt_prog_compiler_wl='-Wl,-Wl,,'
   8120 	lt_prog_compiler_pic='-PIC'
   8121 	lt_prog_compiler_static='-Bstatic'
   8122 	;;
   8123       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8124         # Portland Group compilers (*not* the Pentium gcc compiler,
   8125 	# which looks to be a dead project)
   8126 	lt_prog_compiler_wl='-Wl,'
   8127 	lt_prog_compiler_pic='-fpic'
   8128 	lt_prog_compiler_static='-Bstatic'
   8129         ;;
   8130       ccc*)
   8131         lt_prog_compiler_wl='-Wl,'
   8132         # All Alpha code is PIC.
   8133         lt_prog_compiler_static='-non_shared'
   8134         ;;
   8135       xl* | bgxl* | bgf* | mpixl*)
   8136 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8137 	lt_prog_compiler_wl='-Wl,'
   8138 	lt_prog_compiler_pic='-qpic'
   8139 	lt_prog_compiler_static='-qstaticlink'
   8140 	;;
   8141       *)
   8142 	case `$CC -V 2>&1 | sed 5q` in
   8143 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   8144 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8145 	  lt_prog_compiler_pic='-KPIC'
   8146 	  lt_prog_compiler_static='-Bstatic'
   8147 	  lt_prog_compiler_wl=''
   8148 	  ;;
   8149 	*Sun\ F* | *Sun*Fortran*)
   8150 	  lt_prog_compiler_pic='-KPIC'
   8151 	  lt_prog_compiler_static='-Bstatic'
   8152 	  lt_prog_compiler_wl='-Qoption ld '
   8153 	  ;;
   8154 	*Sun\ C*)
   8155 	  # Sun C 5.9
   8156 	  lt_prog_compiler_pic='-KPIC'
   8157 	  lt_prog_compiler_static='-Bstatic'
   8158 	  lt_prog_compiler_wl='-Wl,'
   8159 	  ;;
   8160         *Intel*\ [CF]*Compiler*)
   8161 	  lt_prog_compiler_wl='-Wl,'
   8162 	  lt_prog_compiler_pic='-fPIC'
   8163 	  lt_prog_compiler_static='-static'
   8164 	  ;;
   8165 	*Portland\ Group*)
   8166 	  lt_prog_compiler_wl='-Wl,'
   8167 	  lt_prog_compiler_pic='-fpic'
   8168 	  lt_prog_compiler_static='-Bstatic'
   8169 	  ;;
   8170 	esac
   8171 	;;
   8172       esac
   8173       ;;
   8174 
   8175     newsos6)
   8176       lt_prog_compiler_pic='-KPIC'
   8177       lt_prog_compiler_static='-Bstatic'
   8178       ;;
   8179 
   8180     *nto* | *qnx*)
   8181       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8182       # it will coredump.
   8183       lt_prog_compiler_pic='-fPIC -shared'
   8184       ;;
   8185 
   8186     osf3* | osf4* | osf5*)
   8187       lt_prog_compiler_wl='-Wl,'
   8188       # All OSF/1 code is PIC.
   8189       lt_prog_compiler_static='-non_shared'
   8190       ;;
   8191 
   8192     rdos*)
   8193       lt_prog_compiler_static='-non_shared'
   8194       ;;
   8195 
   8196     solaris*)
   8197       lt_prog_compiler_pic='-KPIC'
   8198       lt_prog_compiler_static='-Bstatic'
   8199       case $cc_basename in
   8200       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   8201 	lt_prog_compiler_wl='-Qoption ld ';;
   8202       *)
   8203 	lt_prog_compiler_wl='-Wl,';;
   8204       esac
   8205       ;;
   8206 
   8207     sunos4*)
   8208       lt_prog_compiler_wl='-Qoption ld '
   8209       lt_prog_compiler_pic='-PIC'
   8210       lt_prog_compiler_static='-Bstatic'
   8211       ;;
   8212 
   8213     sysv4 | sysv4.2uw2* | sysv4.3*)
   8214       lt_prog_compiler_wl='-Wl,'
   8215       lt_prog_compiler_pic='-KPIC'
   8216       lt_prog_compiler_static='-Bstatic'
   8217       ;;
   8218 
   8219     sysv4*MP*)
   8220       if test -d /usr/nec ;then
   8221 	lt_prog_compiler_pic='-Kconform_pic'
   8222 	lt_prog_compiler_static='-Bstatic'
   8223       fi
   8224       ;;
   8225 
   8226     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8227       lt_prog_compiler_wl='-Wl,'
   8228       lt_prog_compiler_pic='-KPIC'
   8229       lt_prog_compiler_static='-Bstatic'
   8230       ;;
   8231 
   8232     unicos*)
   8233       lt_prog_compiler_wl='-Wl,'
   8234       lt_prog_compiler_can_build_shared=no
   8235       ;;
   8236 
   8237     uts4*)
   8238       lt_prog_compiler_pic='-pic'
   8239       lt_prog_compiler_static='-Bstatic'
   8240       ;;
   8241 
   8242     *)
   8243       lt_prog_compiler_can_build_shared=no
   8244       ;;
   8245     esac
   8246   fi
   8247 
   8248 case $host_os in
   8249   # For platforms which do not support PIC, -DPIC is meaningless:
   8250   *djgpp*)
   8251     lt_prog_compiler_pic=
   8252     ;;
   8253   *)
   8254     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8255     ;;
   8256 esac
   8257 
   8258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8259 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8260 if ${lt_cv_prog_compiler_pic+:} false; then :
   8261   $as_echo_n "(cached) " >&6
   8262 else
   8263   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   8264 fi
   8265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   8266 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   8267 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   8268 
   8269 #
   8270 # Check to make sure the PIC flag actually works.
   8271 #
   8272 if test -n "$lt_prog_compiler_pic"; then
   8273   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8274 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8275 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8276   $as_echo_n "(cached) " >&6
   8277 else
   8278   lt_cv_prog_compiler_pic_works=no
   8279    ac_outfile=conftest.$ac_objext
   8280    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8281    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8282    # Insert the option either (1) after the last *FLAGS variable, or
   8283    # (2) before a word containing "conftest.", or (3) at the end.
   8284    # Note that $ac_compile itself does not contain backslashes and begins
   8285    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8286    # The option is referenced via a variable to avoid confusing sed.
   8287    lt_compile=`echo "$ac_compile" | $SED \
   8288    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8289    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8290    -e 's:$: $lt_compiler_flag:'`
   8291    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8292    (eval "$lt_compile" 2>conftest.err)
   8293    ac_status=$?
   8294    cat conftest.err >&5
   8295    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8296    if (exit $ac_status) && test -s "$ac_outfile"; then
   8297      # The compiler can only warn and ignore the option if not recognized
   8298      # So say no if there are warnings other than the usual output.
   8299      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8300      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8301      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8302        lt_cv_prog_compiler_pic_works=yes
   8303      fi
   8304    fi
   8305    $RM conftest*
   8306 
   8307 fi
   8308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8309 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8310 
   8311 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8312     case $lt_prog_compiler_pic in
   8313      "" | " "*) ;;
   8314      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8315      esac
   8316 else
   8317     lt_prog_compiler_pic=
   8318      lt_prog_compiler_can_build_shared=no
   8319 fi
   8320 
   8321 fi
   8322 
   8323 
   8324 
   8325 
   8326 
   8327 
   8328 
   8329 
   8330 
   8331 
   8332 
   8333 #
   8334 # Check to make sure the static flag actually works.
   8335 #
   8336 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8338 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8339 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8340   $as_echo_n "(cached) " >&6
   8341 else
   8342   lt_cv_prog_compiler_static_works=no
   8343    save_LDFLAGS="$LDFLAGS"
   8344    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8345    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8346    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8347      # The linker can only warn and ignore the option if not recognized
   8348      # So say no if there are warnings
   8349      if test -s conftest.err; then
   8350        # Append any errors to the config.log.
   8351        cat conftest.err 1>&5
   8352        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8353        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8354        if diff conftest.exp conftest.er2 >/dev/null; then
   8355          lt_cv_prog_compiler_static_works=yes
   8356        fi
   8357      else
   8358        lt_cv_prog_compiler_static_works=yes
   8359      fi
   8360    fi
   8361    $RM -r conftest*
   8362    LDFLAGS="$save_LDFLAGS"
   8363 
   8364 fi
   8365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8366 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8367 
   8368 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8369     :
   8370 else
   8371     lt_prog_compiler_static=
   8372 fi
   8373 
   8374 
   8375 
   8376 
   8377 
   8378 
   8379 
   8380   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8381 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8382 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8383   $as_echo_n "(cached) " >&6
   8384 else
   8385   lt_cv_prog_compiler_c_o=no
   8386    $RM -r conftest 2>/dev/null
   8387    mkdir conftest
   8388    cd conftest
   8389    mkdir out
   8390    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8391 
   8392    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8393    # Insert the option either (1) after the last *FLAGS variable, or
   8394    # (2) before a word containing "conftest.", or (3) at the end.
   8395    # Note that $ac_compile itself does not contain backslashes and begins
   8396    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8397    lt_compile=`echo "$ac_compile" | $SED \
   8398    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8399    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8400    -e 's:$: $lt_compiler_flag:'`
   8401    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8402    (eval "$lt_compile" 2>out/conftest.err)
   8403    ac_status=$?
   8404    cat out/conftest.err >&5
   8405    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8406    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8407    then
   8408      # The compiler can only warn and ignore the option if not recognized
   8409      # So say no if there are warnings
   8410      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8411      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8412      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8413        lt_cv_prog_compiler_c_o=yes
   8414      fi
   8415    fi
   8416    chmod u+w . 2>&5
   8417    $RM conftest*
   8418    # SGI C++ compiler will create directory out/ii_files/ for
   8419    # template instantiation
   8420    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8421    $RM out/* && rmdir out
   8422    cd ..
   8423    $RM -r conftest
   8424    $RM conftest*
   8425 
   8426 fi
   8427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8428 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8429 
   8430 
   8431 
   8432 
   8433 
   8434 
   8435   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8436 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8437 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8438   $as_echo_n "(cached) " >&6
   8439 else
   8440   lt_cv_prog_compiler_c_o=no
   8441    $RM -r conftest 2>/dev/null
   8442    mkdir conftest
   8443    cd conftest
   8444    mkdir out
   8445    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8446 
   8447    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8448    # Insert the option either (1) after the last *FLAGS variable, or
   8449    # (2) before a word containing "conftest.", or (3) at the end.
   8450    # Note that $ac_compile itself does not contain backslashes and begins
   8451    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8452    lt_compile=`echo "$ac_compile" | $SED \
   8453    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8454    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8455    -e 's:$: $lt_compiler_flag:'`
   8456    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8457    (eval "$lt_compile" 2>out/conftest.err)
   8458    ac_status=$?
   8459    cat out/conftest.err >&5
   8460    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8461    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8462    then
   8463      # The compiler can only warn and ignore the option if not recognized
   8464      # So say no if there are warnings
   8465      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8466      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8467      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8468        lt_cv_prog_compiler_c_o=yes
   8469      fi
   8470    fi
   8471    chmod u+w . 2>&5
   8472    $RM conftest*
   8473    # SGI C++ compiler will create directory out/ii_files/ for
   8474    # template instantiation
   8475    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8476    $RM out/* && rmdir out
   8477    cd ..
   8478    $RM -r conftest
   8479    $RM conftest*
   8480 
   8481 fi
   8482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8483 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8484 
   8485 
   8486 
   8487 
   8488 hard_links="nottested"
   8489 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8490   # do not overwrite the value of need_locks provided by the user
   8491   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   8492 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8493   hard_links=yes
   8494   $RM conftest*
   8495   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8496   touch conftest.a
   8497   ln conftest.a conftest.b 2>&5 || hard_links=no
   8498   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8499   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   8500 $as_echo "$hard_links" >&6; }
   8501   if test "$hard_links" = no; then
   8502     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8503 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8504     need_locks=warn
   8505   fi
   8506 else
   8507   need_locks=no
   8508 fi
   8509 
   8510 
   8511 
   8512 
   8513 
   8514 
   8515   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8516 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8517 
   8518   runpath_var=
   8519   allow_undefined_flag=
   8520   always_export_symbols=no
   8521   archive_cmds=
   8522   archive_expsym_cmds=
   8523   compiler_needs_object=no
   8524   enable_shared_with_static_runtimes=no
   8525   export_dynamic_flag_spec=
   8526   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8527   hardcode_automatic=no
   8528   hardcode_direct=no
   8529   hardcode_direct_absolute=no
   8530   hardcode_libdir_flag_spec=
   8531   hardcode_libdir_separator=
   8532   hardcode_minus_L=no
   8533   hardcode_shlibpath_var=unsupported
   8534   inherit_rpath=no
   8535   link_all_deplibs=unknown
   8536   module_cmds=
   8537   module_expsym_cmds=
   8538   old_archive_from_new_cmds=
   8539   old_archive_from_expsyms_cmds=
   8540   thread_safe_flag_spec=
   8541   whole_archive_flag_spec=
   8542   # include_expsyms should be a list of space-separated symbols to be *always*
   8543   # included in the symbol list
   8544   include_expsyms=
   8545   # exclude_expsyms can be an extended regexp of symbols to exclude
   8546   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8547   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8548   # as well as any symbol that contains `d'.
   8549   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8550   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8551   # platforms (ab)use it in PIC code, but their linkers get confused if
   8552   # the symbol is explicitly referenced.  Since portable code cannot
   8553   # rely on this symbol name, it's probably fine to never include it in
   8554   # preloaded symbol tables.
   8555   # Exclude shared library initialization/finalization symbols.
   8556   extract_expsyms_cmds=
   8557 
   8558   case $host_os in
   8559   cygwin* | mingw* | pw32* | cegcc*)
   8560     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8561     # When not using gcc, we currently assume that we are using
   8562     # Microsoft Visual C++.
   8563     if test "$GCC" != yes; then
   8564       with_gnu_ld=no
   8565     fi
   8566     ;;
   8567   interix*)
   8568     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8569     with_gnu_ld=yes
   8570     ;;
   8571   openbsd*)
   8572     with_gnu_ld=no
   8573     ;;
   8574   esac
   8575 
   8576   ld_shlibs=yes
   8577 
   8578   # On some targets, GNU ld is compatible enough with the native linker
   8579   # that we're better off using the native interface for both.
   8580   lt_use_gnu_ld_interface=no
   8581   if test "$with_gnu_ld" = yes; then
   8582     case $host_os in
   8583       aix*)
   8584 	# The AIX port of GNU ld has always aspired to compatibility
   8585 	# with the native linker.  However, as the warning in the GNU ld
   8586 	# block says, versions before 2.19.5* couldn't really create working
   8587 	# shared libraries, regardless of the interface used.
   8588 	case `$LD -v 2>&1` in
   8589 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   8590 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   8591 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   8592 	  *)
   8593 	    lt_use_gnu_ld_interface=yes
   8594 	    ;;
   8595 	esac
   8596 	;;
   8597       *)
   8598 	lt_use_gnu_ld_interface=yes
   8599 	;;
   8600     esac
   8601   fi
   8602 
   8603   if test "$lt_use_gnu_ld_interface" = yes; then
   8604     # If archive_cmds runs LD, not CC, wlarc should be empty
   8605     wlarc='${wl}'
   8606 
   8607     # Set some defaults for GNU ld with shared library support. These
   8608     # are reset later if shared libraries are not supported. Putting them
   8609     # here allows them to be overridden if necessary.
   8610     runpath_var=LD_RUN_PATH
   8611     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8612     export_dynamic_flag_spec='${wl}--export-dynamic'
   8613     # ancient GNU ld didn't support --whole-archive et. al.
   8614     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8615       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8616     else
   8617       whole_archive_flag_spec=
   8618     fi
   8619     supports_anon_versioning=no
   8620     case `$LD -v 2>&1` in
   8621       *GNU\ gold*) supports_anon_versioning=yes ;;
   8622       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8623       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8624       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8625       *\ 2.11.*) ;; # other 2.11 versions
   8626       *) supports_anon_versioning=yes ;;
   8627     esac
   8628 
   8629     # See if GNU ld supports shared libraries.
   8630     case $host_os in
   8631     aix[3-9]*)
   8632       # On AIX/PPC, the GNU linker is very broken
   8633       if test "$host_cpu" != ia64; then
   8634 	ld_shlibs=no
   8635 	cat <<_LT_EOF 1>&2
   8636 
   8637 *** Warning: the GNU linker, at least up to release 2.19, is reported
   8638 *** to be unable to reliably create shared libraries on AIX.
   8639 *** Therefore, libtool is disabling shared libraries support.  If you
   8640 *** really care for shared libraries, you may want to install binutils
   8641 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   8642 *** You will then need to restart the configuration process.
   8643 
   8644 _LT_EOF
   8645       fi
   8646       ;;
   8647 
   8648     amigaos*)
   8649       case $host_cpu in
   8650       powerpc)
   8651             # see comment about AmigaOS4 .so support
   8652             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8653             archive_expsym_cmds=''
   8654         ;;
   8655       m68k)
   8656             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)'
   8657             hardcode_libdir_flag_spec='-L$libdir'
   8658             hardcode_minus_L=yes
   8659         ;;
   8660       esac
   8661       ;;
   8662 
   8663     beos*)
   8664       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8665 	allow_undefined_flag=unsupported
   8666 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8667 	# support --undefined.  This deserves some investigation.  FIXME
   8668 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8669       else
   8670 	ld_shlibs=no
   8671       fi
   8672       ;;
   8673 
   8674     cygwin* | mingw* | pw32* | cegcc*)
   8675       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8676       # as there is no search path for DLLs.
   8677       hardcode_libdir_flag_spec='-L$libdir'
   8678       export_dynamic_flag_spec='${wl}--export-all-symbols'
   8679       allow_undefined_flag=unsupported
   8680       always_export_symbols=no
   8681       enable_shared_with_static_runtimes=yes
   8682       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'
   8683       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   8684 
   8685       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   8686         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8687 	# If the export-symbols file already is a .def file (1st line
   8688 	# is EXPORTS), use it as is; otherwise, prepend...
   8689 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8690 	  cp $export_symbols $output_objdir/$soname.def;
   8691 	else
   8692 	  echo EXPORTS > $output_objdir/$soname.def;
   8693 	  cat $export_symbols >> $output_objdir/$soname.def;
   8694 	fi~
   8695 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8696       else
   8697 	ld_shlibs=no
   8698       fi
   8699       ;;
   8700 
   8701     haiku*)
   8702       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8703       link_all_deplibs=yes
   8704       ;;
   8705 
   8706     interix[3-9]*)
   8707       hardcode_direct=no
   8708       hardcode_shlibpath_var=no
   8709       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8710       export_dynamic_flag_spec='${wl}-E'
   8711       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8712       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8713       # default) and relocated if they conflict, which is a slow very memory
   8714       # consuming and fragmenting process.  To avoid this, we pick a random,
   8715       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8716       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8717       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8718       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'
   8719       ;;
   8720 
   8721     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   8722       tmp_diet=no
   8723       if test "$host_os" = linux-dietlibc; then
   8724 	case $cc_basename in
   8725 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   8726 	esac
   8727       fi
   8728       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   8729 	 && test "$tmp_diet" = no
   8730       then
   8731 	tmp_addflag=' $pic_flag'
   8732 	tmp_sharedflag='-shared'
   8733 	case $cc_basename,$host_cpu in
   8734         pgcc*)				# Portland Group C compiler
   8735 	  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'
   8736 	  tmp_addflag=' $pic_flag'
   8737 	  ;;
   8738 	pgf77* | pgf90* | pgf95* | pgfortran*)
   8739 					# Portland Group f77 and f90 compilers
   8740 	  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'
   8741 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8742 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   8743 	  tmp_addflag=' -i_dynamic' ;;
   8744 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8745 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8746 	ifc* | ifort*)			# Intel Fortran compiler
   8747 	  tmp_addflag=' -nofor_main' ;;
   8748 	lf95*)				# Lahey Fortran 8.1
   8749 	  whole_archive_flag_spec=
   8750 	  tmp_sharedflag='--shared' ;;
   8751 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   8752 	  tmp_sharedflag='-qmkshrobj'
   8753 	  tmp_addflag= ;;
   8754 	nvcc*)	# Cuda Compiler Driver 2.2
   8755 	  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'
   8756 	  compiler_needs_object=yes
   8757 	  ;;
   8758 	esac
   8759 	case `$CC -V 2>&1 | sed 5q` in
   8760 	*Sun\ C*)			# Sun C 5.9
   8761 	  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'
   8762 	  compiler_needs_object=yes
   8763 	  tmp_sharedflag='-G' ;;
   8764 	*Sun\ F*)			# Sun Fortran 8.3
   8765 	  tmp_sharedflag='-G' ;;
   8766 	esac
   8767 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8768 
   8769         if test "x$supports_anon_versioning" = xyes; then
   8770           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8771 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8772 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   8773 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8774         fi
   8775 
   8776 	case $cc_basename in
   8777 	xlf* | bgf* | bgxlf* | mpixlf*)
   8778 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   8779 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   8780 	  hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8781 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   8782 	  if test "x$supports_anon_versioning" = xyes; then
   8783 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8784 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8785 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   8786 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   8787 	  fi
   8788 	  ;;
   8789 	esac
   8790       else
   8791         ld_shlibs=no
   8792       fi
   8793       ;;
   8794 
   8795     netbsd*)
   8796       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8797 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8798 	wlarc=
   8799       else
   8800 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8801 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8802       fi
   8803       ;;
   8804 
   8805     solaris*)
   8806       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   8807 	ld_shlibs=no
   8808 	cat <<_LT_EOF 1>&2
   8809 
   8810 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8811 *** create shared libraries on Solaris systems.  Therefore, libtool
   8812 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8813 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8814 *** your PATH or compiler configuration so that the native linker is
   8815 *** used, and then restart.
   8816 
   8817 _LT_EOF
   8818       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8819 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8820 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8821       else
   8822 	ld_shlibs=no
   8823       fi
   8824       ;;
   8825 
   8826     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8827       case `$LD -v 2>&1` in
   8828         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8829 	ld_shlibs=no
   8830 	cat <<_LT_EOF 1>&2
   8831 
   8832 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8833 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8834 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8835 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8836 *** your PATH or compiler configuration so that the native linker is
   8837 *** used, and then restart.
   8838 
   8839 _LT_EOF
   8840 	;;
   8841 	*)
   8842 	  # For security reasons, it is highly recommended that you always
   8843 	  # use absolute paths for naming shared libraries, and exclude the
   8844 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   8845 	  # requires that you compile everything twice, which is a pain.
   8846 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8847 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8848 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8849 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8850 	  else
   8851 	    ld_shlibs=no
   8852 	  fi
   8853 	;;
   8854       esac
   8855       ;;
   8856 
   8857     sunos4*)
   8858       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8859       wlarc=
   8860       hardcode_direct=yes
   8861       hardcode_shlibpath_var=no
   8862       ;;
   8863 
   8864     *)
   8865       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8866 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8867 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8868       else
   8869 	ld_shlibs=no
   8870       fi
   8871       ;;
   8872     esac
   8873 
   8874     if test "$ld_shlibs" = no; then
   8875       runpath_var=
   8876       hardcode_libdir_flag_spec=
   8877       export_dynamic_flag_spec=
   8878       whole_archive_flag_spec=
   8879     fi
   8880   else
   8881     # PORTME fill in a description of your system's linker (not GNU ld)
   8882     case $host_os in
   8883     aix3*)
   8884       allow_undefined_flag=unsupported
   8885       always_export_symbols=yes
   8886       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'
   8887       # Note: this linker hardcodes the directories in LIBPATH if there
   8888       # are no directories specified by -L.
   8889       hardcode_minus_L=yes
   8890       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8891 	# Neither direct hardcoding nor static linking is supported with a
   8892 	# broken collect2.
   8893 	hardcode_direct=unsupported
   8894       fi
   8895       ;;
   8896 
   8897     aix[4-9]*)
   8898       if test "$host_cpu" = ia64; then
   8899 	# On IA64, the linker does run time linking by default, so we don't
   8900 	# have to do anything special.
   8901 	aix_use_runtimelinking=no
   8902 	exp_sym_flag='-Bexport'
   8903 	no_entry_flag=""
   8904       else
   8905 	# If we're using GNU nm, then we don't want the "-C" option.
   8906 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8907 	# Also, AIX nm treats weak defined symbols like other global
   8908 	# defined symbols, whereas GNU nm marks them as "W".
   8909 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   8910 	  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'
   8911 	else
   8912 	  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'
   8913 	fi
   8914 	aix_use_runtimelinking=no
   8915 
   8916 	# Test if we are trying to use run time linking or normal
   8917 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8918 	# need to do runtime linking.
   8919 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8920 	  for ld_flag in $LDFLAGS; do
   8921 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8922 	    aix_use_runtimelinking=yes
   8923 	    break
   8924 	  fi
   8925 	  done
   8926 	  ;;
   8927 	esac
   8928 
   8929 	exp_sym_flag='-bexport'
   8930 	no_entry_flag='-bnoentry'
   8931       fi
   8932 
   8933       # When large executables or shared objects are built, AIX ld can
   8934       # have problems creating the table of contents.  If linking a library
   8935       # or program results in "error TOC overflow" add -mminimal-toc to
   8936       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8937       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8938 
   8939       archive_cmds=''
   8940       hardcode_direct=yes
   8941       hardcode_direct_absolute=yes
   8942       hardcode_libdir_separator=':'
   8943       link_all_deplibs=yes
   8944       file_list_spec='${wl}-f,'
   8945 
   8946       if test "$GCC" = yes; then
   8947 	case $host_os in aix4.[012]|aix4.[012].*)
   8948 	# We only want to do this on AIX 4.2 and lower, the check
   8949 	# below for broken collect2 doesn't work under 4.3+
   8950 	  collect2name=`${CC} -print-prog-name=collect2`
   8951 	  if test -f "$collect2name" &&
   8952 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   8953 	  then
   8954 	  # We have reworked collect2
   8955 	  :
   8956 	  else
   8957 	  # We have old collect2
   8958 	  hardcode_direct=unsupported
   8959 	  # It fails to find uninstalled libraries when the uninstalled
   8960 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8961 	  # to unsupported forces relinking
   8962 	  hardcode_minus_L=yes
   8963 	  hardcode_libdir_flag_spec='-L$libdir'
   8964 	  hardcode_libdir_separator=
   8965 	  fi
   8966 	  ;;
   8967 	esac
   8968 	shared_flag='-shared'
   8969 	if test "$aix_use_runtimelinking" = yes; then
   8970 	  shared_flag="$shared_flag "'${wl}-G'
   8971 	fi
   8972       else
   8973 	# not using gcc
   8974 	if test "$host_cpu" = ia64; then
   8975 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8976 	# chokes on -Wl,-G. The following line is correct:
   8977 	  shared_flag='-G'
   8978 	else
   8979 	  if test "$aix_use_runtimelinking" = yes; then
   8980 	    shared_flag='${wl}-G'
   8981 	  else
   8982 	    shared_flag='${wl}-bM:SRE'
   8983 	  fi
   8984 	fi
   8985       fi
   8986 
   8987       export_dynamic_flag_spec='${wl}-bexpall'
   8988       # It seems that -bexpall does not export symbols beginning with
   8989       # underscore (_), so it is better to generate a list of symbols to export.
   8990       always_export_symbols=yes
   8991       if test "$aix_use_runtimelinking" = yes; then
   8992 	# Warning - without using the other runtime loading flags (-brtl),
   8993 	# -berok will link without error, but may produce a broken library.
   8994 	allow_undefined_flag='-berok'
   8995         # Determine the default libpath from the value encoded in an
   8996         # empty executable.
   8997         if test "${lt_cv_aix_libpath+set}" = set; then
   8998   aix_libpath=$lt_cv_aix_libpath
   8999 else
   9000   if ${lt_cv_aix_libpath_+:} false; then :
   9001   $as_echo_n "(cached) " >&6
   9002 else
   9003   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9004 /* end confdefs.h.  */
   9005 
   9006 int
   9007 main ()
   9008 {
   9009 
   9010   ;
   9011   return 0;
   9012 }
   9013 _ACEOF
   9014 if ac_fn_c_try_link "$LINENO"; then :
   9015 
   9016   lt_aix_libpath_sed='
   9017       /Import File Strings/,/^$/ {
   9018 	  /^0/ {
   9019 	      s/^0  *\([^ ]*\) *$/\1/
   9020 	      p
   9021 	  }
   9022       }'
   9023   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9024   # Check for a 64-bit object if we didn't find anything.
   9025   if test -z "$lt_cv_aix_libpath_"; then
   9026     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9027   fi
   9028 fi
   9029 rm -f core conftest.err conftest.$ac_objext \
   9030     conftest$ac_exeext conftest.$ac_ext
   9031   if test -z "$lt_cv_aix_libpath_"; then
   9032     lt_cv_aix_libpath_="/usr/lib:/lib"
   9033   fi
   9034 
   9035 fi
   9036 
   9037   aix_libpath=$lt_cv_aix_libpath_
   9038 fi
   9039 
   9040         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9041         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"
   9042       else
   9043 	if test "$host_cpu" = ia64; then
   9044 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   9045 	  allow_undefined_flag="-z nodefs"
   9046 	  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"
   9047 	else
   9048 	 # Determine the default libpath from the value encoded in an
   9049 	 # empty executable.
   9050 	 if test "${lt_cv_aix_libpath+set}" = set; then
   9051   aix_libpath=$lt_cv_aix_libpath
   9052 else
   9053   if ${lt_cv_aix_libpath_+:} false; then :
   9054   $as_echo_n "(cached) " >&6
   9055 else
   9056   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9057 /* end confdefs.h.  */
   9058 
   9059 int
   9060 main ()
   9061 {
   9062 
   9063   ;
   9064   return 0;
   9065 }
   9066 _ACEOF
   9067 if ac_fn_c_try_link "$LINENO"; then :
   9068 
   9069   lt_aix_libpath_sed='
   9070       /Import File Strings/,/^$/ {
   9071 	  /^0/ {
   9072 	      s/^0  *\([^ ]*\) *$/\1/
   9073 	      p
   9074 	  }
   9075       }'
   9076   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9077   # Check for a 64-bit object if we didn't find anything.
   9078   if test -z "$lt_cv_aix_libpath_"; then
   9079     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9080   fi
   9081 fi
   9082 rm -f core conftest.err conftest.$ac_objext \
   9083     conftest$ac_exeext conftest.$ac_ext
   9084   if test -z "$lt_cv_aix_libpath_"; then
   9085     lt_cv_aix_libpath_="/usr/lib:/lib"
   9086   fi
   9087 
   9088 fi
   9089 
   9090   aix_libpath=$lt_cv_aix_libpath_
   9091 fi
   9092 
   9093 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9094 	  # Warning - without using the other run time loading flags,
   9095 	  # -berok will link without error, but may produce a broken library.
   9096 	  no_undefined_flag=' ${wl}-bernotok'
   9097 	  allow_undefined_flag=' ${wl}-berok'
   9098 	  if test "$with_gnu_ld" = yes; then
   9099 	    # We only use this code for GNU lds that support --whole-archive.
   9100 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   9101 	  else
   9102 	    # Exported symbols can be pulled into shared objects from archives
   9103 	    whole_archive_flag_spec='$convenience'
   9104 	  fi
   9105 	  archive_cmds_need_lc=yes
   9106 	  # This is similar to how AIX traditionally builds its shared libraries.
   9107 	  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'
   9108 	fi
   9109       fi
   9110       ;;
   9111 
   9112     amigaos*)
   9113       case $host_cpu in
   9114       powerpc)
   9115             # see comment about AmigaOS4 .so support
   9116             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9117             archive_expsym_cmds=''
   9118         ;;
   9119       m68k)
   9120             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)'
   9121             hardcode_libdir_flag_spec='-L$libdir'
   9122             hardcode_minus_L=yes
   9123         ;;
   9124       esac
   9125       ;;
   9126 
   9127     bsdi[45]*)
   9128       export_dynamic_flag_spec=-rdynamic
   9129       ;;
   9130 
   9131     cygwin* | mingw* | pw32* | cegcc*)
   9132       # When not using gcc, we currently assume that we are using
   9133       # Microsoft Visual C++.
   9134       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9135       # no search path for DLLs.
   9136       case $cc_basename in
   9137       cl*)
   9138 	# Native MSVC
   9139 	hardcode_libdir_flag_spec=' '
   9140 	allow_undefined_flag=unsupported
   9141 	always_export_symbols=yes
   9142 	file_list_spec='@'
   9143 	# Tell ltmain to make .lib files, not .a files.
   9144 	libext=lib
   9145 	# Tell ltmain to make .dll files, not .so files.
   9146 	shrext_cmds=".dll"
   9147 	# FIXME: Setting linknames here is a bad hack.
   9148 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
   9149 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9150 	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
   9151 	  else
   9152 	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
   9153 	  fi~
   9154 	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   9155 	  linknames='
   9156 	# The linker will not automatically build a static lib if we build a DLL.
   9157 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   9158 	enable_shared_with_static_runtimes=yes
   9159 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   9160 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9161 	# Don't use ranlib
   9162 	old_postinstall_cmds='chmod 644 $oldlib'
   9163 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   9164 	  lt_tool_outputfile="@TOOL_OUTPUT@"~
   9165 	  case $lt_outputfile in
   9166 	    *.exe|*.EXE) ;;
   9167 	    *)
   9168 	      lt_outputfile="$lt_outputfile.exe"
   9169 	      lt_tool_outputfile="$lt_tool_outputfile.exe"
   9170 	      ;;
   9171 	  esac~
   9172 	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
   9173 	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   9174 	    $RM "$lt_outputfile.manifest";
   9175 	  fi'
   9176 	;;
   9177       *)
   9178 	# Assume MSVC wrapper
   9179 	hardcode_libdir_flag_spec=' '
   9180 	allow_undefined_flag=unsupported
   9181 	# Tell ltmain to make .lib files, not .a files.
   9182 	libext=lib
   9183 	# Tell ltmain to make .dll files, not .so files.
   9184 	shrext_cmds=".dll"
   9185 	# FIXME: Setting linknames here is a bad hack.
   9186 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9187 	# The linker will automatically build a .lib file if we build a DLL.
   9188 	old_archive_from_new_cmds='true'
   9189 	# FIXME: Should let the user specify the lib program.
   9190 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9191 	enable_shared_with_static_runtimes=yes
   9192 	;;
   9193       esac
   9194       ;;
   9195 
   9196     darwin* | rhapsody*)
   9197 
   9198 
   9199   archive_cmds_need_lc=no
   9200   hardcode_direct=no
   9201   hardcode_automatic=yes
   9202   hardcode_shlibpath_var=unsupported
   9203   if test "$lt_cv_ld_force_load" = "yes"; then
   9204     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\"`'
   9205 
   9206   else
   9207     whole_archive_flag_spec=''
   9208   fi
   9209   link_all_deplibs=yes
   9210   allow_undefined_flag="$_lt_dar_allow_undefined"
   9211   case $cc_basename in
   9212      ifort*) _lt_dar_can_shared=yes ;;
   9213      *) _lt_dar_can_shared=$GCC ;;
   9214   esac
   9215   if test "$_lt_dar_can_shared" = "yes"; then
   9216     output_verbose_link_cmd=func_echo_all
   9217     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9218     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9219     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}"
   9220     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}"
   9221 
   9222   else
   9223   ld_shlibs=no
   9224   fi
   9225 
   9226       ;;
   9227 
   9228     dgux*)
   9229       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9230       hardcode_libdir_flag_spec='-L$libdir'
   9231       hardcode_shlibpath_var=no
   9232       ;;
   9233 
   9234     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9235     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9236     # does not break anything, and helps significantly (at the cost of a little
   9237     # extra space).
   9238     freebsd2.2*)
   9239       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9240       hardcode_libdir_flag_spec='-R$libdir'
   9241       hardcode_direct=yes
   9242       hardcode_shlibpath_var=no
   9243       ;;
   9244 
   9245     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9246     freebsd2.*)
   9247       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9248       hardcode_direct=yes
   9249       hardcode_minus_L=yes
   9250       hardcode_shlibpath_var=no
   9251       ;;
   9252 
   9253     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9254     freebsd* | dragonfly*)
   9255       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9256       hardcode_libdir_flag_spec='-R$libdir'
   9257       hardcode_direct=yes
   9258       hardcode_shlibpath_var=no
   9259       ;;
   9260 
   9261     hpux9*)
   9262       if test "$GCC" = yes; then
   9263 	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'
   9264       else
   9265 	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'
   9266       fi
   9267       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9268       hardcode_libdir_separator=:
   9269       hardcode_direct=yes
   9270 
   9271       # hardcode_minus_L: Not really in the search PATH,
   9272       # but as the default location of the library.
   9273       hardcode_minus_L=yes
   9274       export_dynamic_flag_spec='${wl}-E'
   9275       ;;
   9276 
   9277     hpux10*)
   9278       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9279 	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9280       else
   9281 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9282       fi
   9283       if test "$with_gnu_ld" = no; then
   9284 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9285 	hardcode_libdir_separator=:
   9286 	hardcode_direct=yes
   9287 	hardcode_direct_absolute=yes
   9288 	export_dynamic_flag_spec='${wl}-E'
   9289 	# hardcode_minus_L: Not really in the search PATH,
   9290 	# but as the default location of the library.
   9291 	hardcode_minus_L=yes
   9292       fi
   9293       ;;
   9294 
   9295     hpux11*)
   9296       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9297 	case $host_cpu in
   9298 	hppa*64*)
   9299 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9300 	  ;;
   9301 	ia64*)
   9302 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9303 	  ;;
   9304 	*)
   9305 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9306 	  ;;
   9307 	esac
   9308       else
   9309 	case $host_cpu in
   9310 	hppa*64*)
   9311 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9312 	  ;;
   9313 	ia64*)
   9314 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9315 	  ;;
   9316 	*)
   9317 
   9318 	  # Older versions of the 11.00 compiler do not understand -b yet
   9319 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9320 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9321 $as_echo_n "checking if $CC understands -b... " >&6; }
   9322 if ${lt_cv_prog_compiler__b+:} false; then :
   9323   $as_echo_n "(cached) " >&6
   9324 else
   9325   lt_cv_prog_compiler__b=no
   9326    save_LDFLAGS="$LDFLAGS"
   9327    LDFLAGS="$LDFLAGS -b"
   9328    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9329    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9330      # The linker can only warn and ignore the option if not recognized
   9331      # So say no if there are warnings
   9332      if test -s conftest.err; then
   9333        # Append any errors to the config.log.
   9334        cat conftest.err 1>&5
   9335        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9336        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9337        if diff conftest.exp conftest.er2 >/dev/null; then
   9338          lt_cv_prog_compiler__b=yes
   9339        fi
   9340      else
   9341        lt_cv_prog_compiler__b=yes
   9342      fi
   9343    fi
   9344    $RM -r conftest*
   9345    LDFLAGS="$save_LDFLAGS"
   9346 
   9347 fi
   9348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   9349 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   9350 
   9351 if test x"$lt_cv_prog_compiler__b" = xyes; then
   9352     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9353 else
   9354     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9355 fi
   9356 
   9357 	  ;;
   9358 	esac
   9359       fi
   9360       if test "$with_gnu_ld" = no; then
   9361 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9362 	hardcode_libdir_separator=:
   9363 
   9364 	case $host_cpu in
   9365 	hppa*64*|ia64*)
   9366 	  hardcode_direct=no
   9367 	  hardcode_shlibpath_var=no
   9368 	  ;;
   9369 	*)
   9370 	  hardcode_direct=yes
   9371 	  hardcode_direct_absolute=yes
   9372 	  export_dynamic_flag_spec='${wl}-E'
   9373 
   9374 	  # hardcode_minus_L: Not really in the search PATH,
   9375 	  # but as the default location of the library.
   9376 	  hardcode_minus_L=yes
   9377 	  ;;
   9378 	esac
   9379       fi
   9380       ;;
   9381 
   9382     irix5* | irix6* | nonstopux*)
   9383       if test "$GCC" = yes; then
   9384 	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'
   9385 	# Try to use the -exported_symbol ld option, if it does not
   9386 	# work, assume that -exports_file does not work either and
   9387 	# implicitly export all symbols.
   9388 	# This should be the same for all languages, so no per-tag cache variable.
   9389 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   9390 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   9391 if ${lt_cv_irix_exported_symbol+:} false; then :
   9392   $as_echo_n "(cached) " >&6
   9393 else
   9394   save_LDFLAGS="$LDFLAGS"
   9395 	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9396 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9397 /* end confdefs.h.  */
   9398 int foo (void) { return 0; }
   9399 _ACEOF
   9400 if ac_fn_c_try_link "$LINENO"; then :
   9401   lt_cv_irix_exported_symbol=yes
   9402 else
   9403   lt_cv_irix_exported_symbol=no
   9404 fi
   9405 rm -f core conftest.err conftest.$ac_objext \
   9406     conftest$ac_exeext conftest.$ac_ext
   9407            LDFLAGS="$save_LDFLAGS"
   9408 fi
   9409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   9410 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   9411 	if test "$lt_cv_irix_exported_symbol" = yes; then
   9412           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'
   9413 	fi
   9414       else
   9415 	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'
   9416 	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'
   9417       fi
   9418       archive_cmds_need_lc='no'
   9419       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9420       hardcode_libdir_separator=:
   9421       inherit_rpath=yes
   9422       link_all_deplibs=yes
   9423       ;;
   9424 
   9425     netbsd*)
   9426       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9427 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9428       else
   9429 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9430       fi
   9431       hardcode_libdir_flag_spec='-R$libdir'
   9432       hardcode_direct=yes
   9433       hardcode_shlibpath_var=no
   9434       ;;
   9435 
   9436     newsos6)
   9437       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9438       hardcode_direct=yes
   9439       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9440       hardcode_libdir_separator=:
   9441       hardcode_shlibpath_var=no
   9442       ;;
   9443 
   9444     *nto* | *qnx*)
   9445       ;;
   9446 
   9447     openbsd*)
   9448       if test -f /usr/libexec/ld.so; then
   9449 	hardcode_direct=yes
   9450 	hardcode_shlibpath_var=no
   9451 	hardcode_direct_absolute=yes
   9452 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9453 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9454 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9455 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9456 	  export_dynamic_flag_spec='${wl}-E'
   9457 	else
   9458 	  case $host_os in
   9459 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9460 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9461 	     hardcode_libdir_flag_spec='-R$libdir'
   9462 	     ;;
   9463 	   *)
   9464 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9465 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9466 	     ;;
   9467 	  esac
   9468 	fi
   9469       else
   9470 	ld_shlibs=no
   9471       fi
   9472       ;;
   9473 
   9474     os2*)
   9475       hardcode_libdir_flag_spec='-L$libdir'
   9476       hardcode_minus_L=yes
   9477       allow_undefined_flag=unsupported
   9478       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'
   9479       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9480       ;;
   9481 
   9482     osf3*)
   9483       if test "$GCC" = yes; then
   9484 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9485 	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'
   9486       else
   9487 	allow_undefined_flag=' -expect_unresolved \*'
   9488 	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'
   9489       fi
   9490       archive_cmds_need_lc='no'
   9491       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9492       hardcode_libdir_separator=:
   9493       ;;
   9494 
   9495     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9496       if test "$GCC" = yes; then
   9497 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9498 	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'
   9499 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9500       else
   9501 	allow_undefined_flag=' -expect_unresolved \*'
   9502 	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'
   9503 	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~
   9504 	$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'
   9505 
   9506 	# Both c and cxx compiler support -rpath directly
   9507 	hardcode_libdir_flag_spec='-rpath $libdir'
   9508       fi
   9509       archive_cmds_need_lc='no'
   9510       hardcode_libdir_separator=:
   9511       ;;
   9512 
   9513     solaris*)
   9514       no_undefined_flag=' -z defs'
   9515       if test "$GCC" = yes; then
   9516 	wlarc='${wl}'
   9517 	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9518 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9519 	  $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'
   9520       else
   9521 	case `$CC -V 2>&1` in
   9522 	*"Compilers 5.0"*)
   9523 	  wlarc=''
   9524 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9525 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9526 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9527 	  ;;
   9528 	*)
   9529 	  wlarc='${wl}'
   9530 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9531 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9532 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9533 	  ;;
   9534 	esac
   9535       fi
   9536       hardcode_libdir_flag_spec='-R$libdir'
   9537       hardcode_shlibpath_var=no
   9538       case $host_os in
   9539       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9540       *)
   9541 	# The compiler driver will combine and reorder linker options,
   9542 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9543 	# but is careful enough not to reorder.
   9544 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9545 	if test "$GCC" = yes; then
   9546 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9547 	else
   9548 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9549 	fi
   9550 	;;
   9551       esac
   9552       link_all_deplibs=yes
   9553       ;;
   9554 
   9555     sunos4*)
   9556       if test "x$host_vendor" = xsequent; then
   9557 	# Use $CC to link under sequent, because it throws in some extra .o
   9558 	# files that make .init and .fini sections work.
   9559 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9560       else
   9561 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9562       fi
   9563       hardcode_libdir_flag_spec='-L$libdir'
   9564       hardcode_direct=yes
   9565       hardcode_minus_L=yes
   9566       hardcode_shlibpath_var=no
   9567       ;;
   9568 
   9569     sysv4)
   9570       case $host_vendor in
   9571 	sni)
   9572 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9573 	  hardcode_direct=yes # is this really true???
   9574 	;;
   9575 	siemens)
   9576 	  ## LD is ld it makes a PLAMLIB
   9577 	  ## CC just makes a GrossModule.
   9578 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9579 	  reload_cmds='$CC -r -o $output$reload_objs'
   9580 	  hardcode_direct=no
   9581         ;;
   9582 	motorola)
   9583 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9584 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9585 	;;
   9586       esac
   9587       runpath_var='LD_RUN_PATH'
   9588       hardcode_shlibpath_var=no
   9589       ;;
   9590 
   9591     sysv4.3*)
   9592       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9593       hardcode_shlibpath_var=no
   9594       export_dynamic_flag_spec='-Bexport'
   9595       ;;
   9596 
   9597     sysv4*MP*)
   9598       if test -d /usr/nec; then
   9599 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9600 	hardcode_shlibpath_var=no
   9601 	runpath_var=LD_RUN_PATH
   9602 	hardcode_runpath_var=yes
   9603 	ld_shlibs=yes
   9604       fi
   9605       ;;
   9606 
   9607     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9608       no_undefined_flag='${wl}-z,text'
   9609       archive_cmds_need_lc=no
   9610       hardcode_shlibpath_var=no
   9611       runpath_var='LD_RUN_PATH'
   9612 
   9613       if test "$GCC" = yes; then
   9614 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9615 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9616       else
   9617 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9618 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9619       fi
   9620       ;;
   9621 
   9622     sysv5* | sco3.2v5* | sco5v6*)
   9623       # Note: We can NOT use -z defs as we might desire, because we do not
   9624       # link with -lc, and that would cause any symbols used from libc to
   9625       # always be unresolved, which means just about no library would
   9626       # ever link correctly.  If we're not using GNU ld we use -z text
   9627       # though, which does catch some bad symbols but isn't as heavy-handed
   9628       # as -z defs.
   9629       no_undefined_flag='${wl}-z,text'
   9630       allow_undefined_flag='${wl}-z,nodefs'
   9631       archive_cmds_need_lc=no
   9632       hardcode_shlibpath_var=no
   9633       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9634       hardcode_libdir_separator=':'
   9635       link_all_deplibs=yes
   9636       export_dynamic_flag_spec='${wl}-Bexport'
   9637       runpath_var='LD_RUN_PATH'
   9638 
   9639       if test "$GCC" = yes; then
   9640 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9641 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9642       else
   9643 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9644 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9645       fi
   9646       ;;
   9647 
   9648     uts4*)
   9649       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9650       hardcode_libdir_flag_spec='-L$libdir'
   9651       hardcode_shlibpath_var=no
   9652       ;;
   9653 
   9654     *)
   9655       ld_shlibs=no
   9656       ;;
   9657     esac
   9658 
   9659     if test x$host_vendor = xsni; then
   9660       case $host in
   9661       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   9662 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   9663 	;;
   9664       esac
   9665     fi
   9666   fi
   9667 
   9668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   9669 $as_echo "$ld_shlibs" >&6; }
   9670 test "$ld_shlibs" = no && can_build_shared=no
   9671 
   9672 with_gnu_ld=$with_gnu_ld
   9673 
   9674 
   9675 
   9676 
   9677 
   9678 
   9679 
   9680 
   9681 
   9682 
   9683 
   9684 
   9685 
   9686 
   9687 
   9688 #
   9689 # Do we need to explicitly link libc?
   9690 #
   9691 case "x$archive_cmds_need_lc" in
   9692 x|xyes)
   9693   # Assume -lc should be added
   9694   archive_cmds_need_lc=yes
   9695 
   9696   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9697     case $archive_cmds in
   9698     *'~'*)
   9699       # FIXME: we may have to deal with multi-command sequences.
   9700       ;;
   9701     '$CC '*)
   9702       # Test whether the compiler implicitly links with -lc since on some
   9703       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9704       # to ld, don't add -lc before -lgcc.
   9705       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   9706 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9707 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   9708   $as_echo_n "(cached) " >&6
   9709 else
   9710   $RM conftest*
   9711 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9712 
   9713 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   9714   (eval $ac_compile) 2>&5
   9715   ac_status=$?
   9716   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9717   test $ac_status = 0; } 2>conftest.err; then
   9718 	  soname=conftest
   9719 	  lib=conftest
   9720 	  libobjs=conftest.$ac_objext
   9721 	  deplibs=
   9722 	  wl=$lt_prog_compiler_wl
   9723 	  pic_flag=$lt_prog_compiler_pic
   9724 	  compiler_flags=-v
   9725 	  linker_flags=-v
   9726 	  verstring=
   9727 	  output_objdir=.
   9728 	  libname=conftest
   9729 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   9730 	  allow_undefined_flag=
   9731 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   9732   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9733   ac_status=$?
   9734   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9735   test $ac_status = 0; }
   9736 	  then
   9737 	    lt_cv_archive_cmds_need_lc=no
   9738 	  else
   9739 	    lt_cv_archive_cmds_need_lc=yes
   9740 	  fi
   9741 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   9742 	else
   9743 	  cat conftest.err 1>&5
   9744 	fi
   9745 	$RM conftest*
   9746 
   9747 fi
   9748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   9749 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   9750       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   9751       ;;
   9752     esac
   9753   fi
   9754   ;;
   9755 esac
   9756 
   9757 
   9758 
   9759 
   9760 
   9761 
   9762 
   9763 
   9764 
   9765 
   9766 
   9767 
   9768 
   9769 
   9770 
   9771 
   9772 
   9773 
   9774 
   9775 
   9776 
   9777 
   9778 
   9779 
   9780 
   9781 
   9782 
   9783 
   9784 
   9785 
   9786 
   9787 
   9788 
   9789 
   9790 
   9791 
   9792 
   9793 
   9794 
   9795 
   9796 
   9797 
   9798 
   9799 
   9800 
   9801 
   9802 
   9803 
   9804 
   9805 
   9806 
   9807 
   9808 
   9809 
   9810 
   9811 
   9812 
   9813 
   9814 
   9815 
   9816 
   9817 
   9818 
   9819 
   9820 
   9821 
   9822 
   9823 
   9824 
   9825 
   9826 
   9827 
   9828 
   9829 
   9830 
   9831 
   9832 
   9833 
   9834 
   9835 
   9836 
   9837 
   9838 
   9839 
   9840 
   9841 
   9842 
   9843 
   9844 
   9845 
   9846 
   9847 
   9848 
   9849 
   9850 
   9851 
   9852 
   9853 
   9854 
   9855 
   9856 
   9857 
   9858 
   9859 
   9860 
   9861 
   9862 
   9863 
   9864 
   9865 
   9866 
   9867 
   9868 
   9869 
   9870 
   9871 
   9872 
   9873 
   9874 
   9875 
   9876 
   9877 
   9878 
   9879 
   9880 
   9881 
   9882 
   9883 
   9884 
   9885 
   9886 
   9887 
   9888 
   9889 
   9890 
   9891 
   9892 
   9893 
   9894 
   9895 
   9896 
   9897 
   9898 
   9899 
   9900 
   9901 
   9902 
   9903 
   9904 
   9905 
   9906 
   9907 
   9908   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   9909 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9910 
   9911 if test "$GCC" = yes; then
   9912   case $host_os in
   9913     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9914     *) lt_awk_arg="/^libraries:/" ;;
   9915   esac
   9916   case $host_os in
   9917     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   9918     *) lt_sed_strip_eq="s,=/,/,g" ;;
   9919   esac
   9920   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   9921   case $lt_search_path_spec in
   9922   *\;*)
   9923     # if the path contains ";" then we assume it to be the separator
   9924     # otherwise default to the standard path separator (i.e. ":") - it is
   9925     # assumed that no part of a normal pathname contains ";" but that should
   9926     # okay in the real world where ";" in dirpaths is itself problematic.
   9927     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   9928     ;;
   9929   *)
   9930     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   9931     ;;
   9932   esac
   9933   # Ok, now we have the path, separated by spaces, we can step through it
   9934   # and add multilib dir if necessary.
   9935   lt_tmp_lt_search_path_spec=
   9936   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9937   for lt_sys_path in $lt_search_path_spec; do
   9938     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9939       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9940     else
   9941       test -d "$lt_sys_path" && \
   9942 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9943     fi
   9944   done
   9945   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   9946 BEGIN {RS=" "; FS="/|\n";} {
   9947   lt_foo="";
   9948   lt_count=0;
   9949   for (lt_i = NF; lt_i > 0; lt_i--) {
   9950     if ($lt_i != "" && $lt_i != ".") {
   9951       if ($lt_i == "..") {
   9952         lt_count++;
   9953       } else {
   9954         if (lt_count == 0) {
   9955           lt_foo="/" $lt_i lt_foo;
   9956         } else {
   9957           lt_count--;
   9958         }
   9959       }
   9960     }
   9961   }
   9962   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9963   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9964 }'`
   9965   # AWK program above erroneously prepends '/' to C:/dos/paths
   9966   # for these hosts.
   9967   case $host_os in
   9968     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   9969       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   9970   esac
   9971   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   9972 else
   9973   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9974 fi
   9975 library_names_spec=
   9976 libname_spec='lib$name'
   9977 soname_spec=
   9978 shrext_cmds=".so"
   9979 postinstall_cmds=
   9980 postuninstall_cmds=
   9981 finish_cmds=
   9982 finish_eval=
   9983 shlibpath_var=
   9984 shlibpath_overrides_runpath=unknown
   9985 version_type=none
   9986 dynamic_linker="$host_os ld.so"
   9987 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9988 need_lib_prefix=unknown
   9989 hardcode_into_libs=no
   9990 
   9991 # when you set need_version to no, make sure it does not cause -set_version
   9992 # flags to be left without arguments
   9993 need_version=unknown
   9994 
   9995 case $host_os in
   9996 aix3*)
   9997   version_type=linux # correct to gnu/linux during the next big refactor
   9998   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9999   shlibpath_var=LIBPATH
   10000 
   10001   # AIX 3 has no versioning support, so we append a major version to the name.
   10002   soname_spec='${libname}${release}${shared_ext}$major'
   10003   ;;
   10004 
   10005 aix[4-9]*)
   10006   version_type=linux # correct to gnu/linux during the next big refactor
   10007   need_lib_prefix=no
   10008   need_version=no
   10009   hardcode_into_libs=yes
   10010   if test "$host_cpu" = ia64; then
   10011     # AIX 5 supports IA64
   10012     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   10013     shlibpath_var=LD_LIBRARY_PATH
   10014   else
   10015     # With GCC up to 2.95.x, collect2 would create an import file
   10016     # for dependence libraries.  The import file would start with
   10017     # the line `#! .'.  This would cause the generated library to
   10018     # depend on `.', always an invalid library.  This was fixed in
   10019     # development snapshots of GCC prior to 3.0.
   10020     case $host_os in
   10021       aix4 | aix4.[01] | aix4.[01].*)
   10022       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   10023 	   echo ' yes '
   10024 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   10025 	:
   10026       else
   10027 	can_build_shared=no
   10028       fi
   10029       ;;
   10030     esac
   10031     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   10032     # soname into executable. Probably we can add versioning support to
   10033     # collect2, so additional links can be useful in future.
   10034     if test "$aix_use_runtimelinking" = yes; then
   10035       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   10036       # instead of lib<name>.a to let people know that these are not
   10037       # typical AIX shared libraries.
   10038       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10039     else
   10040       # We preserve .a as extension for shared libraries through AIX4.2
   10041       # and later when we are not doing run time linking.
   10042       library_names_spec='${libname}${release}.a $libname.a'
   10043       soname_spec='${libname}${release}${shared_ext}$major'
   10044     fi
   10045     shlibpath_var=LIBPATH
   10046   fi
   10047   ;;
   10048 
   10049 amigaos*)
   10050   case $host_cpu in
   10051   powerpc)
   10052     # Since July 2007 AmigaOS4 officially supports .so libraries.
   10053     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   10054     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10055     ;;
   10056   m68k)
   10057     library_names_spec='$libname.ixlibrary $libname.a'
   10058     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   10059     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'
   10060     ;;
   10061   esac
   10062   ;;
   10063 
   10064 beos*)
   10065   library_names_spec='${libname}${shared_ext}'
   10066   dynamic_linker="$host_os ld.so"
   10067   shlibpath_var=LIBRARY_PATH
   10068   ;;
   10069 
   10070 bsdi[45]*)
   10071   version_type=linux # correct to gnu/linux during the next big refactor
   10072   need_version=no
   10073   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10074   soname_spec='${libname}${release}${shared_ext}$major'
   10075   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10076   shlibpath_var=LD_LIBRARY_PATH
   10077   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10078   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10079   # the default ld.so.conf also contains /usr/contrib/lib and
   10080   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10081   # libtool to hard-code these into programs
   10082   ;;
   10083 
   10084 cygwin* | mingw* | pw32* | cegcc*)
   10085   version_type=windows
   10086   shrext_cmds=".dll"
   10087   need_version=no
   10088   need_lib_prefix=no
   10089 
   10090   case $GCC,$cc_basename in
   10091   yes,*)
   10092     # gcc
   10093     library_names_spec='$libname.dll.a'
   10094     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10095     postinstall_cmds='base_file=`basename \${file}`~
   10096       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10097       dldir=$destdir/`dirname \$dlpath`~
   10098       test -d \$dldir || mkdir -p \$dldir~
   10099       $install_prog $dir/$dlname \$dldir/$dlname~
   10100       chmod a+x \$dldir/$dlname~
   10101       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10102         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10103       fi'
   10104     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10105       dlpath=$dir/\$dldll~
   10106        $RM \$dlpath'
   10107     shlibpath_overrides_runpath=yes
   10108 
   10109     case $host_os in
   10110     cygwin*)
   10111       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10112       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10113 
   10114       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10115       ;;
   10116     mingw* | cegcc*)
   10117       # MinGW DLLs use traditional 'lib' prefix
   10118       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10119       ;;
   10120     pw32*)
   10121       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10122       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10123       ;;
   10124     esac
   10125     dynamic_linker='Win32 ld.exe'
   10126     ;;
   10127 
   10128   *,cl*)
   10129     # Native MSVC
   10130     libname_spec='$name'
   10131     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10132     library_names_spec='${libname}.dll.lib'
   10133 
   10134     case $build_os in
   10135     mingw*)
   10136       sys_lib_search_path_spec=
   10137       lt_save_ifs=$IFS
   10138       IFS=';'
   10139       for lt_path in $LIB
   10140       do
   10141         IFS=$lt_save_ifs
   10142         # Let DOS variable expansion print the short 8.3 style file name.
   10143         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   10144         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   10145       done
   10146       IFS=$lt_save_ifs
   10147       # Convert to MSYS style.
   10148       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   10149       ;;
   10150     cygwin*)
   10151       # Convert to unix form, then to dos form, then back to unix form
   10152       # but this time dos style (no spaces!) so that the unix form looks
   10153       # like /cygdrive/c/PROGRA~1:/cygdr...
   10154       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   10155       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   10156       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10157       ;;
   10158     *)
   10159       sys_lib_search_path_spec="$LIB"
   10160       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   10161         # It is most probably a Windows format PATH.
   10162         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   10163       else
   10164         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10165       fi
   10166       # FIXME: find the short name or the path components, as spaces are
   10167       # common. (e.g. "Program Files" -> "PROGRA~1")
   10168       ;;
   10169     esac
   10170 
   10171     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10172     postinstall_cmds='base_file=`basename \${file}`~
   10173       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10174       dldir=$destdir/`dirname \$dlpath`~
   10175       test -d \$dldir || mkdir -p \$dldir~
   10176       $install_prog $dir/$dlname \$dldir/$dlname'
   10177     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10178       dlpath=$dir/\$dldll~
   10179        $RM \$dlpath'
   10180     shlibpath_overrides_runpath=yes
   10181     dynamic_linker='Win32 link.exe'
   10182     ;;
   10183 
   10184   *)
   10185     # Assume MSVC wrapper
   10186     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10187     dynamic_linker='Win32 ld.exe'
   10188     ;;
   10189   esac
   10190   # FIXME: first we should search . and the directory the executable is in
   10191   shlibpath_var=PATH
   10192   ;;
   10193 
   10194 darwin* | rhapsody*)
   10195   dynamic_linker="$host_os dyld"
   10196   version_type=darwin
   10197   need_lib_prefix=no
   10198   need_version=no
   10199   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10200   soname_spec='${libname}${release}${major}$shared_ext'
   10201   shlibpath_overrides_runpath=yes
   10202   shlibpath_var=DYLD_LIBRARY_PATH
   10203   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10204 
   10205   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10206   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10207   ;;
   10208 
   10209 dgux*)
   10210   version_type=linux # correct to gnu/linux during the next big refactor
   10211   need_lib_prefix=no
   10212   need_version=no
   10213   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10214   soname_spec='${libname}${release}${shared_ext}$major'
   10215   shlibpath_var=LD_LIBRARY_PATH
   10216   ;;
   10217 
   10218 freebsd* | dragonfly*)
   10219   # DragonFly does not have aout.  When/if they implement a new
   10220   # versioning mechanism, adjust this.
   10221   if test -x /usr/bin/objformat; then
   10222     objformat=`/usr/bin/objformat`
   10223   else
   10224     case $host_os in
   10225     freebsd[23].*) objformat=aout ;;
   10226     *) objformat=elf ;;
   10227     esac
   10228   fi
   10229   version_type=freebsd-$objformat
   10230   case $version_type in
   10231     freebsd-elf*)
   10232       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10233       need_version=no
   10234       need_lib_prefix=no
   10235       ;;
   10236     freebsd-*)
   10237       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10238       need_version=yes
   10239       ;;
   10240   esac
   10241   shlibpath_var=LD_LIBRARY_PATH
   10242   case $host_os in
   10243   freebsd2.*)
   10244     shlibpath_overrides_runpath=yes
   10245     ;;
   10246   freebsd3.[01]* | freebsdelf3.[01]*)
   10247     shlibpath_overrides_runpath=yes
   10248     hardcode_into_libs=yes
   10249     ;;
   10250   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10251   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10252     shlibpath_overrides_runpath=no
   10253     hardcode_into_libs=yes
   10254     ;;
   10255   *) # from 4.6 on, and DragonFly
   10256     shlibpath_overrides_runpath=yes
   10257     hardcode_into_libs=yes
   10258     ;;
   10259   esac
   10260   ;;
   10261 
   10262 gnu*)
   10263   version_type=linux # correct to gnu/linux during the next big refactor
   10264   need_lib_prefix=no
   10265   need_version=no
   10266   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10267   soname_spec='${libname}${release}${shared_ext}$major'
   10268   shlibpath_var=LD_LIBRARY_PATH
   10269   shlibpath_overrides_runpath=no
   10270   hardcode_into_libs=yes
   10271   ;;
   10272 
   10273 haiku*)
   10274   version_type=linux # correct to gnu/linux during the next big refactor
   10275   need_lib_prefix=no
   10276   need_version=no
   10277   dynamic_linker="$host_os runtime_loader"
   10278   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10279   soname_spec='${libname}${release}${shared_ext}$major'
   10280   shlibpath_var=LIBRARY_PATH
   10281   shlibpath_overrides_runpath=yes
   10282   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   10283   hardcode_into_libs=yes
   10284   ;;
   10285 
   10286 hpux9* | hpux10* | hpux11*)
   10287   # Give a soname corresponding to the major version so that dld.sl refuses to
   10288   # link against other versions.
   10289   version_type=sunos
   10290   need_lib_prefix=no
   10291   need_version=no
   10292   case $host_cpu in
   10293   ia64*)
   10294     shrext_cmds='.so'
   10295     hardcode_into_libs=yes
   10296     dynamic_linker="$host_os dld.so"
   10297     shlibpath_var=LD_LIBRARY_PATH
   10298     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10299     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10300     soname_spec='${libname}${release}${shared_ext}$major'
   10301     if test "X$HPUX_IA64_MODE" = X32; then
   10302       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10303     else
   10304       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10305     fi
   10306     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10307     ;;
   10308   hppa*64*)
   10309     shrext_cmds='.sl'
   10310     hardcode_into_libs=yes
   10311     dynamic_linker="$host_os dld.sl"
   10312     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10313     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10314     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10315     soname_spec='${libname}${release}${shared_ext}$major'
   10316     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10317     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10318     ;;
   10319   *)
   10320     shrext_cmds='.sl'
   10321     dynamic_linker="$host_os dld.sl"
   10322     shlibpath_var=SHLIB_PATH
   10323     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10324     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10325     soname_spec='${libname}${release}${shared_ext}$major'
   10326     ;;
   10327   esac
   10328   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   10329   postinstall_cmds='chmod 555 $lib'
   10330   # or fails outright, so override atomically:
   10331   install_override_mode=555
   10332   ;;
   10333 
   10334 interix[3-9]*)
   10335   version_type=linux # correct to gnu/linux during the next big refactor
   10336   need_lib_prefix=no
   10337   need_version=no
   10338   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10339   soname_spec='${libname}${release}${shared_ext}$major'
   10340   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10341   shlibpath_var=LD_LIBRARY_PATH
   10342   shlibpath_overrides_runpath=no
   10343   hardcode_into_libs=yes
   10344   ;;
   10345 
   10346 irix5* | irix6* | nonstopux*)
   10347   case $host_os in
   10348     nonstopux*) version_type=nonstopux ;;
   10349     *)
   10350 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10351 		version_type=linux # correct to gnu/linux during the next big refactor
   10352 	else
   10353 		version_type=irix
   10354 	fi ;;
   10355   esac
   10356   need_lib_prefix=no
   10357   need_version=no
   10358   soname_spec='${libname}${release}${shared_ext}$major'
   10359   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10360   case $host_os in
   10361   irix5* | nonstopux*)
   10362     libsuff= shlibsuff=
   10363     ;;
   10364   *)
   10365     case $LD in # libtool.m4 will add one of these switches to LD
   10366     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10367       libsuff= shlibsuff= libmagic=32-bit;;
   10368     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10369       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10370     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10371       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10372     *) libsuff= shlibsuff= libmagic=never-match;;
   10373     esac
   10374     ;;
   10375   esac
   10376   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10377   shlibpath_overrides_runpath=no
   10378   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10379   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10380   hardcode_into_libs=yes
   10381   ;;
   10382 
   10383 # No shared lib support for Linux oldld, aout, or coff.
   10384 linux*oldld* | linux*aout* | linux*coff*)
   10385   dynamic_linker=no
   10386   ;;
   10387 
   10388 # This must be glibc/ELF.
   10389 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   10390   version_type=linux # correct to gnu/linux during the next big refactor
   10391   need_lib_prefix=no
   10392   need_version=no
   10393   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10394   soname_spec='${libname}${release}${shared_ext}$major'
   10395   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10396   shlibpath_var=LD_LIBRARY_PATH
   10397   shlibpath_overrides_runpath=no
   10398 
   10399   # Some binutils ld are patched to set DT_RUNPATH
   10400   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   10401   $as_echo_n "(cached) " >&6
   10402 else
   10403   lt_cv_shlibpath_overrides_runpath=no
   10404     save_LDFLAGS=$LDFLAGS
   10405     save_libdir=$libdir
   10406     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10407 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10408     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10409 /* end confdefs.h.  */
   10410 
   10411 int
   10412 main ()
   10413 {
   10414 
   10415   ;
   10416   return 0;
   10417 }
   10418 _ACEOF
   10419 if ac_fn_c_try_link "$LINENO"; then :
   10420   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10421   lt_cv_shlibpath_overrides_runpath=yes
   10422 fi
   10423 fi
   10424 rm -f core conftest.err conftest.$ac_objext \
   10425     conftest$ac_exeext conftest.$ac_ext
   10426     LDFLAGS=$save_LDFLAGS
   10427     libdir=$save_libdir
   10428 
   10429 fi
   10430 
   10431   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   10432 
   10433   # This implies no fast_install, which is unacceptable.
   10434   # Some rework will be needed to allow for fast_install
   10435   # before this can be enabled.
   10436   hardcode_into_libs=yes
   10437 
   10438   # Append ld.so.conf contents to the search path
   10439   if test -f /etc/ld.so.conf; then
   10440     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' ' '`
   10441     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   10442   fi
   10443 
   10444   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10445   # powerpc, because MkLinux only supported shared libraries with the
   10446   # GNU dynamic linker.  Since this was broken with cross compilers,
   10447   # most powerpc-linux boxes support dynamic linking these days and
   10448   # people can always --disable-shared, the test was removed, and we
   10449   # assume the GNU/Linux dynamic linker is in use.
   10450   dynamic_linker='GNU/Linux ld.so'
   10451   ;;
   10452 
   10453 netbsd*)
   10454   version_type=sunos
   10455   need_lib_prefix=no
   10456   need_version=no
   10457   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10458     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10459     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10460     dynamic_linker='NetBSD (a.out) ld.so'
   10461   else
   10462     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10463     soname_spec='${libname}${release}${shared_ext}$major'
   10464     dynamic_linker='NetBSD ld.elf_so'
   10465   fi
   10466   shlibpath_var=LD_LIBRARY_PATH
   10467   shlibpath_overrides_runpath=yes
   10468   hardcode_into_libs=yes
   10469   ;;
   10470 
   10471 newsos6)
   10472   version_type=linux # correct to gnu/linux during the next big refactor
   10473   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10474   shlibpath_var=LD_LIBRARY_PATH
   10475   shlibpath_overrides_runpath=yes
   10476   ;;
   10477 
   10478 *nto* | *qnx*)
   10479   version_type=qnx
   10480   need_lib_prefix=no
   10481   need_version=no
   10482   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10483   soname_spec='${libname}${release}${shared_ext}$major'
   10484   shlibpath_var=LD_LIBRARY_PATH
   10485   shlibpath_overrides_runpath=no
   10486   hardcode_into_libs=yes
   10487   dynamic_linker='ldqnx.so'
   10488   ;;
   10489 
   10490 openbsd*)
   10491   version_type=sunos
   10492   sys_lib_dlsearch_path_spec="/usr/lib"
   10493   need_lib_prefix=no
   10494   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10495   case $host_os in
   10496     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10497     *)				need_version=no  ;;
   10498   esac
   10499   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10500   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10501   shlibpath_var=LD_LIBRARY_PATH
   10502   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10503     case $host_os in
   10504       openbsd2.[89] | openbsd2.[89].*)
   10505 	shlibpath_overrides_runpath=no
   10506 	;;
   10507       *)
   10508 	shlibpath_overrides_runpath=yes
   10509 	;;
   10510       esac
   10511   else
   10512     shlibpath_overrides_runpath=yes
   10513   fi
   10514   ;;
   10515 
   10516 os2*)
   10517   libname_spec='$name'
   10518   shrext_cmds=".dll"
   10519   need_lib_prefix=no
   10520   library_names_spec='$libname${shared_ext} $libname.a'
   10521   dynamic_linker='OS/2 ld.exe'
   10522   shlibpath_var=LIBPATH
   10523   ;;
   10524 
   10525 osf3* | osf4* | osf5*)
   10526   version_type=osf
   10527   need_lib_prefix=no
   10528   need_version=no
   10529   soname_spec='${libname}${release}${shared_ext}$major'
   10530   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10531   shlibpath_var=LD_LIBRARY_PATH
   10532   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10533   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10534   ;;
   10535 
   10536 rdos*)
   10537   dynamic_linker=no
   10538   ;;
   10539 
   10540 solaris*)
   10541   version_type=linux # correct to gnu/linux during the next big refactor
   10542   need_lib_prefix=no
   10543   need_version=no
   10544   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10545   soname_spec='${libname}${release}${shared_ext}$major'
   10546   shlibpath_var=LD_LIBRARY_PATH
   10547   shlibpath_overrides_runpath=yes
   10548   hardcode_into_libs=yes
   10549   # ldd complains unless libraries are executable
   10550   postinstall_cmds='chmod +x $lib'
   10551   ;;
   10552 
   10553 sunos4*)
   10554   version_type=sunos
   10555   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10556   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10557   shlibpath_var=LD_LIBRARY_PATH
   10558   shlibpath_overrides_runpath=yes
   10559   if test "$with_gnu_ld" = yes; then
   10560     need_lib_prefix=no
   10561   fi
   10562   need_version=yes
   10563   ;;
   10564 
   10565 sysv4 | sysv4.3*)
   10566   version_type=linux # correct to gnu/linux during the next big refactor
   10567   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10568   soname_spec='${libname}${release}${shared_ext}$major'
   10569   shlibpath_var=LD_LIBRARY_PATH
   10570   case $host_vendor in
   10571     sni)
   10572       shlibpath_overrides_runpath=no
   10573       need_lib_prefix=no
   10574       runpath_var=LD_RUN_PATH
   10575       ;;
   10576     siemens)
   10577       need_lib_prefix=no
   10578       ;;
   10579     motorola)
   10580       need_lib_prefix=no
   10581       need_version=no
   10582       shlibpath_overrides_runpath=no
   10583       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10584       ;;
   10585   esac
   10586   ;;
   10587 
   10588 sysv4*MP*)
   10589   if test -d /usr/nec ;then
   10590     version_type=linux # correct to gnu/linux during the next big refactor
   10591     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10592     soname_spec='$libname${shared_ext}.$major'
   10593     shlibpath_var=LD_LIBRARY_PATH
   10594   fi
   10595   ;;
   10596 
   10597 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10598   version_type=freebsd-elf
   10599   need_lib_prefix=no
   10600   need_version=no
   10601   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10602   soname_spec='${libname}${release}${shared_ext}$major'
   10603   shlibpath_var=LD_LIBRARY_PATH
   10604   shlibpath_overrides_runpath=yes
   10605   hardcode_into_libs=yes
   10606   if test "$with_gnu_ld" = yes; then
   10607     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10608   else
   10609     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10610     case $host_os in
   10611       sco3.2v5*)
   10612         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10613 	;;
   10614     esac
   10615   fi
   10616   sys_lib_dlsearch_path_spec='/usr/lib'
   10617   ;;
   10618 
   10619 tpf*)
   10620   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10621   version_type=linux # correct to gnu/linux during the next big refactor
   10622   need_lib_prefix=no
   10623   need_version=no
   10624   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10625   shlibpath_var=LD_LIBRARY_PATH
   10626   shlibpath_overrides_runpath=no
   10627   hardcode_into_libs=yes
   10628   ;;
   10629 
   10630 uts4*)
   10631   version_type=linux # correct to gnu/linux during the next big refactor
   10632   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10633   soname_spec='${libname}${release}${shared_ext}$major'
   10634   shlibpath_var=LD_LIBRARY_PATH
   10635   ;;
   10636 
   10637 *)
   10638   dynamic_linker=no
   10639   ;;
   10640 esac
   10641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   10642 $as_echo "$dynamic_linker" >&6; }
   10643 test "$dynamic_linker" = no && can_build_shared=no
   10644 
   10645 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10646 if test "$GCC" = yes; then
   10647   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10648 fi
   10649 
   10650 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   10651   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   10652 fi
   10653 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   10654   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   10655 fi
   10656 
   10657 
   10658 
   10659 
   10660 
   10661 
   10662 
   10663 
   10664 
   10665 
   10666 
   10667 
   10668 
   10669 
   10670 
   10671 
   10672 
   10673 
   10674 
   10675 
   10676 
   10677 
   10678 
   10679 
   10680 
   10681 
   10682 
   10683 
   10684 
   10685 
   10686 
   10687 
   10688 
   10689 
   10690 
   10691 
   10692 
   10693 
   10694 
   10695 
   10696 
   10697 
   10698 
   10699 
   10700 
   10701 
   10702 
   10703 
   10704 
   10705 
   10706 
   10707 
   10708 
   10709 
   10710 
   10711 
   10712 
   10713 
   10714 
   10715 
   10716 
   10717 
   10718 
   10719 
   10720 
   10721 
   10722 
   10723 
   10724 
   10725 
   10726 
   10727 
   10728 
   10729 
   10730 
   10731 
   10732 
   10733 
   10734 
   10735 
   10736 
   10737 
   10738 
   10739 
   10740 
   10741 
   10742 
   10743 
   10744 
   10745 
   10746 
   10747 
   10748   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   10749 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   10750 hardcode_action=
   10751 if test -n "$hardcode_libdir_flag_spec" ||
   10752    test -n "$runpath_var" ||
   10753    test "X$hardcode_automatic" = "Xyes" ; then
   10754 
   10755   # We can hardcode non-existent directories.
   10756   if test "$hardcode_direct" != no &&
   10757      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   10758      # have to relink, otherwise we might link with an installed library
   10759      # when we should be linking with a yet-to-be-installed one
   10760      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   10761      test "$hardcode_minus_L" != no; then
   10762     # Linking always hardcodes the temporary library directory.
   10763     hardcode_action=relink
   10764   else
   10765     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   10766     hardcode_action=immediate
   10767   fi
   10768 else
   10769   # We cannot hardcode anything, or else we can only hardcode existing
   10770   # directories.
   10771   hardcode_action=unsupported
   10772 fi
   10773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   10774 $as_echo "$hardcode_action" >&6; }
   10775 
   10776 if test "$hardcode_action" = relink ||
   10777    test "$inherit_rpath" = yes; then
   10778   # Fast installation is not supported
   10779   enable_fast_install=no
   10780 elif test "$shlibpath_overrides_runpath" = yes ||
   10781      test "$enable_shared" = no; then
   10782   # Fast installation is not necessary
   10783   enable_fast_install=needless
   10784 fi
   10785 
   10786 
   10787 
   10788 
   10789 
   10790 
   10791   if test "x$enable_dlopen" != xyes; then
   10792   enable_dlopen=unknown
   10793   enable_dlopen_self=unknown
   10794   enable_dlopen_self_static=unknown
   10795 else
   10796   lt_cv_dlopen=no
   10797   lt_cv_dlopen_libs=
   10798 
   10799   case $host_os in
   10800   beos*)
   10801     lt_cv_dlopen="load_add_on"
   10802     lt_cv_dlopen_libs=
   10803     lt_cv_dlopen_self=yes
   10804     ;;
   10805 
   10806   mingw* | pw32* | cegcc*)
   10807     lt_cv_dlopen="LoadLibrary"
   10808     lt_cv_dlopen_libs=
   10809     ;;
   10810 
   10811   cygwin*)
   10812     lt_cv_dlopen="dlopen"
   10813     lt_cv_dlopen_libs=
   10814     ;;
   10815 
   10816   darwin*)
   10817   # if libdl is installed we need to link against it
   10818     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10819 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10820 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10821   $as_echo_n "(cached) " >&6
   10822 else
   10823   ac_check_lib_save_LIBS=$LIBS
   10824 LIBS="-ldl  $LIBS"
   10825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10826 /* end confdefs.h.  */
   10827 
   10828 /* Override any GCC internal prototype to avoid an error.
   10829    Use char because int might match the return type of a GCC
   10830    builtin and then its argument prototype would still apply.  */
   10831 #ifdef __cplusplus
   10832 extern "C"
   10833 #endif
   10834 char dlopen ();
   10835 int
   10836 main ()
   10837 {
   10838 return dlopen ();
   10839   ;
   10840   return 0;
   10841 }
   10842 _ACEOF
   10843 if ac_fn_c_try_link "$LINENO"; then :
   10844   ac_cv_lib_dl_dlopen=yes
   10845 else
   10846   ac_cv_lib_dl_dlopen=no
   10847 fi
   10848 rm -f core conftest.err conftest.$ac_objext \
   10849     conftest$ac_exeext conftest.$ac_ext
   10850 LIBS=$ac_check_lib_save_LIBS
   10851 fi
   10852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10853 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10854 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10855   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10856 else
   10857 
   10858     lt_cv_dlopen="dyld"
   10859     lt_cv_dlopen_libs=
   10860     lt_cv_dlopen_self=yes
   10861 
   10862 fi
   10863 
   10864     ;;
   10865 
   10866   *)
   10867     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   10868 if test "x$ac_cv_func_shl_load" = xyes; then :
   10869   lt_cv_dlopen="shl_load"
   10870 else
   10871   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   10872 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10873 if ${ac_cv_lib_dld_shl_load+:} false; then :
   10874   $as_echo_n "(cached) " >&6
   10875 else
   10876   ac_check_lib_save_LIBS=$LIBS
   10877 LIBS="-ldld  $LIBS"
   10878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10879 /* end confdefs.h.  */
   10880 
   10881 /* Override any GCC internal prototype to avoid an error.
   10882    Use char because int might match the return type of a GCC
   10883    builtin and then its argument prototype would still apply.  */
   10884 #ifdef __cplusplus
   10885 extern "C"
   10886 #endif
   10887 char shl_load ();
   10888 int
   10889 main ()
   10890 {
   10891 return shl_load ();
   10892   ;
   10893   return 0;
   10894 }
   10895 _ACEOF
   10896 if ac_fn_c_try_link "$LINENO"; then :
   10897   ac_cv_lib_dld_shl_load=yes
   10898 else
   10899   ac_cv_lib_dld_shl_load=no
   10900 fi
   10901 rm -f core conftest.err conftest.$ac_objext \
   10902     conftest$ac_exeext conftest.$ac_ext
   10903 LIBS=$ac_check_lib_save_LIBS
   10904 fi
   10905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   10906 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10907 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   10908   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10909 else
   10910   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   10911 if test "x$ac_cv_func_dlopen" = xyes; then :
   10912   lt_cv_dlopen="dlopen"
   10913 else
   10914   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10915 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10916 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10917   $as_echo_n "(cached) " >&6
   10918 else
   10919   ac_check_lib_save_LIBS=$LIBS
   10920 LIBS="-ldl  $LIBS"
   10921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10922 /* end confdefs.h.  */
   10923 
   10924 /* Override any GCC internal prototype to avoid an error.
   10925    Use char because int might match the return type of a GCC
   10926    builtin and then its argument prototype would still apply.  */
   10927 #ifdef __cplusplus
   10928 extern "C"
   10929 #endif
   10930 char dlopen ();
   10931 int
   10932 main ()
   10933 {
   10934 return dlopen ();
   10935   ;
   10936   return 0;
   10937 }
   10938 _ACEOF
   10939 if ac_fn_c_try_link "$LINENO"; then :
   10940   ac_cv_lib_dl_dlopen=yes
   10941 else
   10942   ac_cv_lib_dl_dlopen=no
   10943 fi
   10944 rm -f core conftest.err conftest.$ac_objext \
   10945     conftest$ac_exeext conftest.$ac_ext
   10946 LIBS=$ac_check_lib_save_LIBS
   10947 fi
   10948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10949 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10950 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10951   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10952 else
   10953   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   10954 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10955 if ${ac_cv_lib_svld_dlopen+:} false; then :
   10956   $as_echo_n "(cached) " >&6
   10957 else
   10958   ac_check_lib_save_LIBS=$LIBS
   10959 LIBS="-lsvld  $LIBS"
   10960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10961 /* end confdefs.h.  */
   10962 
   10963 /* Override any GCC internal prototype to avoid an error.
   10964    Use char because int might match the return type of a GCC
   10965    builtin and then its argument prototype would still apply.  */
   10966 #ifdef __cplusplus
   10967 extern "C"
   10968 #endif
   10969 char dlopen ();
   10970 int
   10971 main ()
   10972 {
   10973 return dlopen ();
   10974   ;
   10975   return 0;
   10976 }
   10977 _ACEOF
   10978 if ac_fn_c_try_link "$LINENO"; then :
   10979   ac_cv_lib_svld_dlopen=yes
   10980 else
   10981   ac_cv_lib_svld_dlopen=no
   10982 fi
   10983 rm -f core conftest.err conftest.$ac_objext \
   10984     conftest$ac_exeext conftest.$ac_ext
   10985 LIBS=$ac_check_lib_save_LIBS
   10986 fi
   10987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   10988 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   10989 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   10990   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10991 else
   10992   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   10993 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   10994 if ${ac_cv_lib_dld_dld_link+:} false; then :
   10995   $as_echo_n "(cached) " >&6
   10996 else
   10997   ac_check_lib_save_LIBS=$LIBS
   10998 LIBS="-ldld  $LIBS"
   10999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11000 /* end confdefs.h.  */
   11001 
   11002 /* Override any GCC internal prototype to avoid an error.
   11003    Use char because int might match the return type of a GCC
   11004    builtin and then its argument prototype would still apply.  */
   11005 #ifdef __cplusplus
   11006 extern "C"
   11007 #endif
   11008 char dld_link ();
   11009 int
   11010 main ()
   11011 {
   11012 return dld_link ();
   11013   ;
   11014   return 0;
   11015 }
   11016 _ACEOF
   11017 if ac_fn_c_try_link "$LINENO"; then :
   11018   ac_cv_lib_dld_dld_link=yes
   11019 else
   11020   ac_cv_lib_dld_dld_link=no
   11021 fi
   11022 rm -f core conftest.err conftest.$ac_objext \
   11023     conftest$ac_exeext conftest.$ac_ext
   11024 LIBS=$ac_check_lib_save_LIBS
   11025 fi
   11026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   11027 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   11028 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   11029   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   11030 fi
   11031 
   11032 
   11033 fi
   11034 
   11035 
   11036 fi
   11037 
   11038 
   11039 fi
   11040 
   11041 
   11042 fi
   11043 
   11044 
   11045 fi
   11046 
   11047     ;;
   11048   esac
   11049 
   11050   if test "x$lt_cv_dlopen" != xno; then
   11051     enable_dlopen=yes
   11052   else
   11053     enable_dlopen=no
   11054   fi
   11055 
   11056   case $lt_cv_dlopen in
   11057   dlopen)
   11058     save_CPPFLAGS="$CPPFLAGS"
   11059     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   11060 
   11061     save_LDFLAGS="$LDFLAGS"
   11062     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   11063 
   11064     save_LIBS="$LIBS"
   11065     LIBS="$lt_cv_dlopen_libs $LIBS"
   11066 
   11067     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   11068 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11069 if ${lt_cv_dlopen_self+:} false; then :
   11070   $as_echo_n "(cached) " >&6
   11071 else
   11072   	  if test "$cross_compiling" = yes; then :
   11073   lt_cv_dlopen_self=cross
   11074 else
   11075   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11076   lt_status=$lt_dlunknown
   11077   cat > conftest.$ac_ext <<_LT_EOF
   11078 #line $LINENO "configure"
   11079 #include "confdefs.h"
   11080 
   11081 #if HAVE_DLFCN_H
   11082 #include <dlfcn.h>
   11083 #endif
   11084 
   11085 #include <stdio.h>
   11086 
   11087 #ifdef RTLD_GLOBAL
   11088 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11089 #else
   11090 #  ifdef DL_GLOBAL
   11091 #    define LT_DLGLOBAL		DL_GLOBAL
   11092 #  else
   11093 #    define LT_DLGLOBAL		0
   11094 #  endif
   11095 #endif
   11096 
   11097 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11098    find out it does not work in some platform. */
   11099 #ifndef LT_DLLAZY_OR_NOW
   11100 #  ifdef RTLD_LAZY
   11101 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11102 #  else
   11103 #    ifdef DL_LAZY
   11104 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11105 #    else
   11106 #      ifdef RTLD_NOW
   11107 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11108 #      else
   11109 #        ifdef DL_NOW
   11110 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11111 #        else
   11112 #          define LT_DLLAZY_OR_NOW	0
   11113 #        endif
   11114 #      endif
   11115 #    endif
   11116 #  endif
   11117 #endif
   11118 
   11119 /* When -fvisbility=hidden is used, assume the code has been annotated
   11120    correspondingly for the symbols needed.  */
   11121 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11122 int fnord () __attribute__((visibility("default")));
   11123 #endif
   11124 
   11125 int fnord () { return 42; }
   11126 int main ()
   11127 {
   11128   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11129   int status = $lt_dlunknown;
   11130 
   11131   if (self)
   11132     {
   11133       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11134       else
   11135         {
   11136 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11137           else puts (dlerror ());
   11138 	}
   11139       /* dlclose (self); */
   11140     }
   11141   else
   11142     puts (dlerror ());
   11143 
   11144   return status;
   11145 }
   11146 _LT_EOF
   11147   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11148   (eval $ac_link) 2>&5
   11149   ac_status=$?
   11150   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11151   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11152     (./conftest; exit; ) >&5 2>/dev/null
   11153     lt_status=$?
   11154     case x$lt_status in
   11155       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11156       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11157       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11158     esac
   11159   else :
   11160     # compilation failed
   11161     lt_cv_dlopen_self=no
   11162   fi
   11163 fi
   11164 rm -fr conftest*
   11165 
   11166 
   11167 fi
   11168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11169 $as_echo "$lt_cv_dlopen_self" >&6; }
   11170 
   11171     if test "x$lt_cv_dlopen_self" = xyes; then
   11172       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11173       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11174 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11175 if ${lt_cv_dlopen_self_static+:} false; then :
   11176   $as_echo_n "(cached) " >&6
   11177 else
   11178   	  if test "$cross_compiling" = yes; then :
   11179   lt_cv_dlopen_self_static=cross
   11180 else
   11181   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11182   lt_status=$lt_dlunknown
   11183   cat > conftest.$ac_ext <<_LT_EOF
   11184 #line $LINENO "configure"
   11185 #include "confdefs.h"
   11186 
   11187 #if HAVE_DLFCN_H
   11188 #include <dlfcn.h>
   11189 #endif
   11190 
   11191 #include <stdio.h>
   11192 
   11193 #ifdef RTLD_GLOBAL
   11194 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11195 #else
   11196 #  ifdef DL_GLOBAL
   11197 #    define LT_DLGLOBAL		DL_GLOBAL
   11198 #  else
   11199 #    define LT_DLGLOBAL		0
   11200 #  endif
   11201 #endif
   11202 
   11203 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11204    find out it does not work in some platform. */
   11205 #ifndef LT_DLLAZY_OR_NOW
   11206 #  ifdef RTLD_LAZY
   11207 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11208 #  else
   11209 #    ifdef DL_LAZY
   11210 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11211 #    else
   11212 #      ifdef RTLD_NOW
   11213 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11214 #      else
   11215 #        ifdef DL_NOW
   11216 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11217 #        else
   11218 #          define LT_DLLAZY_OR_NOW	0
   11219 #        endif
   11220 #      endif
   11221 #    endif
   11222 #  endif
   11223 #endif
   11224 
   11225 /* When -fvisbility=hidden is used, assume the code has been annotated
   11226    correspondingly for the symbols needed.  */
   11227 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11228 int fnord () __attribute__((visibility("default")));
   11229 #endif
   11230 
   11231 int fnord () { return 42; }
   11232 int main ()
   11233 {
   11234   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11235   int status = $lt_dlunknown;
   11236 
   11237   if (self)
   11238     {
   11239       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11240       else
   11241         {
   11242 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11243           else puts (dlerror ());
   11244 	}
   11245       /* dlclose (self); */
   11246     }
   11247   else
   11248     puts (dlerror ());
   11249 
   11250   return status;
   11251 }
   11252 _LT_EOF
   11253   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11254   (eval $ac_link) 2>&5
   11255   ac_status=$?
   11256   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11257   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11258     (./conftest; exit; ) >&5 2>/dev/null
   11259     lt_status=$?
   11260     case x$lt_status in
   11261       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11262       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11263       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11264     esac
   11265   else :
   11266     # compilation failed
   11267     lt_cv_dlopen_self_static=no
   11268   fi
   11269 fi
   11270 rm -fr conftest*
   11271 
   11272 
   11273 fi
   11274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11275 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11276     fi
   11277 
   11278     CPPFLAGS="$save_CPPFLAGS"
   11279     LDFLAGS="$save_LDFLAGS"
   11280     LIBS="$save_LIBS"
   11281     ;;
   11282   esac
   11283 
   11284   case $lt_cv_dlopen_self in
   11285   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11286   *) enable_dlopen_self=unknown ;;
   11287   esac
   11288 
   11289   case $lt_cv_dlopen_self_static in
   11290   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11291   *) enable_dlopen_self_static=unknown ;;
   11292   esac
   11293 fi
   11294 
   11295 
   11296 
   11297 
   11298 
   11299 
   11300 
   11301 
   11302 
   11303 
   11304 
   11305 
   11306 
   11307 
   11308 
   11309 
   11310 
   11311 striplib=
   11312 old_striplib=
   11313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11314 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11315 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11316   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11317   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11318   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11319 $as_echo "yes" >&6; }
   11320 else
   11321 # FIXME - insert some real tests, host_os isn't really good enough
   11322   case $host_os in
   11323   darwin*)
   11324     if test -n "$STRIP" ; then
   11325       striplib="$STRIP -x"
   11326       old_striplib="$STRIP -S"
   11327       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11328 $as_echo "yes" >&6; }
   11329     else
   11330       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11331 $as_echo "no" >&6; }
   11332     fi
   11333     ;;
   11334   *)
   11335     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11336 $as_echo "no" >&6; }
   11337     ;;
   11338   esac
   11339 fi
   11340 
   11341 
   11342 
   11343 
   11344 
   11345 
   11346 
   11347 
   11348 
   11349 
   11350 
   11351 
   11352   # Report which library types will actually be built
   11353   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11354 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11355   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11356 $as_echo "$can_build_shared" >&6; }
   11357 
   11358   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11359 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11360   test "$can_build_shared" = "no" && enable_shared=no
   11361 
   11362   # On AIX, shared libraries and static libraries use the same namespace, and
   11363   # are all built from PIC.
   11364   case $host_os in
   11365   aix3*)
   11366     test "$enable_shared" = yes && enable_static=no
   11367     if test -n "$RANLIB"; then
   11368       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11369       postinstall_cmds='$RANLIB $lib'
   11370     fi
   11371     ;;
   11372 
   11373   aix[4-9]*)
   11374     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11375       test "$enable_shared" = yes && enable_static=no
   11376     fi
   11377     ;;
   11378   esac
   11379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11380 $as_echo "$enable_shared" >&6; }
   11381 
   11382   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11383 $as_echo_n "checking whether to build static libraries... " >&6; }
   11384   # Make sure either enable_shared or enable_static is yes.
   11385   test "$enable_shared" = yes || enable_static=yes
   11386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11387 $as_echo "$enable_static" >&6; }
   11388 
   11389 
   11390 
   11391 
   11392 fi
   11393 ac_ext=c
   11394 ac_cpp='$CPP $CPPFLAGS'
   11395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11398 
   11399 CC="$lt_save_CC"
   11400 
   11401 
   11402 
   11403 
   11404 
   11405 
   11406 
   11407 
   11408 
   11409 
   11410 
   11411 
   11412 
   11413 
   11414 
   11415         ac_config_commands="$ac_config_commands libtool"
   11416 
   11417 
   11418 
   11419 
   11420 # Only expand once:
   11421 
   11422 
   11423 
   11424 # Require xorg-macros minimum of 1.12 for DocBook external references
   11425 
   11426 
   11427 
   11428 
   11429 
   11430 
   11431 
   11432 
   11433 
   11434 
   11435 
   11436    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   11437 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   11438 if ${ac_cv_prog_cc_c99+:} false; then :
   11439   $as_echo_n "(cached) " >&6
   11440 else
   11441   ac_cv_prog_cc_c99=no
   11442 ac_save_CC=$CC
   11443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11444 /* end confdefs.h.  */
   11445 #include <stdarg.h>
   11446 #include <stdbool.h>
   11447 #include <stdlib.h>
   11448 #include <wchar.h>
   11449 #include <stdio.h>
   11450 
   11451 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   11452 #define debug(...) fprintf (stderr, __VA_ARGS__)
   11453 #define showlist(...) puts (#__VA_ARGS__)
   11454 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   11455 static void
   11456 test_varargs_macros (void)
   11457 {
   11458   int x = 1234;
   11459   int y = 5678;
   11460   debug ("Flag");
   11461   debug ("X = %d\n", x);
   11462   showlist (The first, second, and third items.);
   11463   report (x>y, "x is %d but y is %d", x, y);
   11464 }
   11465 
   11466 // Check long long types.
   11467 #define BIG64 18446744073709551615ull
   11468 #define BIG32 4294967295ul
   11469 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   11470 #if !BIG_OK
   11471   your preprocessor is broken;
   11472 #endif
   11473 #if BIG_OK
   11474 #else
   11475   your preprocessor is broken;
   11476 #endif
   11477 static long long int bignum = -9223372036854775807LL;
   11478 static unsigned long long int ubignum = BIG64;
   11479 
   11480 struct incomplete_array
   11481 {
   11482   int datasize;
   11483   double data[];
   11484 };
   11485 
   11486 struct named_init {
   11487   int number;
   11488   const wchar_t *name;
   11489   double average;
   11490 };
   11491 
   11492 typedef const char *ccp;
   11493 
   11494 static inline int
   11495 test_restrict (ccp restrict text)
   11496 {
   11497   // See if C++-style comments work.
   11498   // Iterate through items via the restricted pointer.
   11499   // Also check for declarations in for loops.
   11500   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   11501     continue;
   11502   return 0;
   11503 }
   11504 
   11505 // Check varargs and va_copy.
   11506 static void
   11507 test_varargs (const char *format, ...)
   11508 {
   11509   va_list args;
   11510   va_start (args, format);
   11511   va_list args_copy;
   11512   va_copy (args_copy, args);
   11513 
   11514   const char *str;
   11515   int number;
   11516   float fnumber;
   11517 
   11518   while (*format)
   11519     {
   11520       switch (*format++)
   11521 	{
   11522 	case 's': // string
   11523 	  str = va_arg (args_copy, const char *);
   11524 	  break;
   11525 	case 'd': // int
   11526 	  number = va_arg (args_copy, int);
   11527 	  break;
   11528 	case 'f': // float
   11529 	  fnumber = va_arg (args_copy, double);
   11530 	  break;
   11531 	default:
   11532 	  break;
   11533 	}
   11534     }
   11535   va_end (args_copy);
   11536   va_end (args);
   11537 }
   11538 
   11539 int
   11540 main ()
   11541 {
   11542 
   11543   // Check bool.
   11544   _Bool success = false;
   11545 
   11546   // Check restrict.
   11547   if (test_restrict ("String literal") == 0)
   11548     success = true;
   11549   char *restrict newvar = "Another string";
   11550 
   11551   // Check varargs.
   11552   test_varargs ("s, d' f .", "string", 65, 34.234);
   11553   test_varargs_macros ();
   11554 
   11555   // Check flexible array members.
   11556   struct incomplete_array *ia =
   11557     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   11558   ia->datasize = 10;
   11559   for (int i = 0; i < ia->datasize; ++i)
   11560     ia->data[i] = i * 1.234;
   11561 
   11562   // Check named initializers.
   11563   struct named_init ni = {
   11564     .number = 34,
   11565     .name = L"Test wide string",
   11566     .average = 543.34343,
   11567   };
   11568 
   11569   ni.number = 58;
   11570 
   11571   int dynamic_array[ni.number];
   11572   dynamic_array[ni.number - 1] = 543;
   11573 
   11574   // work around unused variable warnings
   11575   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   11576 	  || dynamic_array[ni.number - 1] != 543);
   11577 
   11578   ;
   11579   return 0;
   11580 }
   11581 _ACEOF
   11582 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   11583 do
   11584   CC="$ac_save_CC $ac_arg"
   11585   if ac_fn_c_try_compile "$LINENO"; then :
   11586   ac_cv_prog_cc_c99=$ac_arg
   11587 fi
   11588 rm -f core conftest.err conftest.$ac_objext
   11589   test "x$ac_cv_prog_cc_c99" != "xno" && break
   11590 done
   11591 rm -f conftest.$ac_ext
   11592 CC=$ac_save_CC
   11593 
   11594 fi
   11595 # AC_CACHE_VAL
   11596 case "x$ac_cv_prog_cc_c99" in
   11597   x)
   11598     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   11599 $as_echo "none needed" >&6; } ;;
   11600   xno)
   11601     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   11602 $as_echo "unsupported" >&6; } ;;
   11603   *)
   11604     CC="$CC $ac_cv_prog_cc_c99"
   11605     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   11606 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   11607 esac
   11608 if test "x$ac_cv_prog_cc_c99" != xno; then :
   11609 
   11610 fi
   11611 
   11612 
   11613 
   11614 
   11615 
   11616 
   11617 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   11618 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   11619   CLANGCC="yes"
   11620 else
   11621   CLANGCC="no"
   11622 fi
   11623 
   11624 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   11625 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   11626   INTELCC="yes"
   11627 else
   11628   INTELCC="no"
   11629 fi
   11630 
   11631 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   11632 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   11633   SUNCC="yes"
   11634 else
   11635   SUNCC="no"
   11636 fi
   11637 
   11638 
   11639 
   11640 
   11641 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   11642 	if test -n "$ac_tool_prefix"; then
   11643   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   11644 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   11645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11646 $as_echo_n "checking for $ac_word... " >&6; }
   11647 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   11648   $as_echo_n "(cached) " >&6
   11649 else
   11650   case $PKG_CONFIG in
   11651   [\\/]* | ?:[\\/]*)
   11652   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   11653   ;;
   11654   *)
   11655   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11656 for as_dir in $PATH
   11657 do
   11658   IFS=$as_save_IFS
   11659   test -z "$as_dir" && as_dir=.
   11660     for ac_exec_ext in '' $ac_executable_extensions; do
   11661   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11662     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11663     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11664     break 2
   11665   fi
   11666 done
   11667   done
   11668 IFS=$as_save_IFS
   11669 
   11670   ;;
   11671 esac
   11672 fi
   11673 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   11674 if test -n "$PKG_CONFIG"; then
   11675   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   11676 $as_echo "$PKG_CONFIG" >&6; }
   11677 else
   11678   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11679 $as_echo "no" >&6; }
   11680 fi
   11681 
   11682 
   11683 fi
   11684 if test -z "$ac_cv_path_PKG_CONFIG"; then
   11685   ac_pt_PKG_CONFIG=$PKG_CONFIG
   11686   # Extract the first word of "pkg-config", so it can be a program name with args.
   11687 set dummy pkg-config; ac_word=$2
   11688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11689 $as_echo_n "checking for $ac_word... " >&6; }
   11690 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   11691   $as_echo_n "(cached) " >&6
   11692 else
   11693   case $ac_pt_PKG_CONFIG in
   11694   [\\/]* | ?:[\\/]*)
   11695   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   11696   ;;
   11697   *)
   11698   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11699 for as_dir in $PATH
   11700 do
   11701   IFS=$as_save_IFS
   11702   test -z "$as_dir" && as_dir=.
   11703     for ac_exec_ext in '' $ac_executable_extensions; do
   11704   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11705     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11706     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11707     break 2
   11708   fi
   11709 done
   11710   done
   11711 IFS=$as_save_IFS
   11712 
   11713   ;;
   11714 esac
   11715 fi
   11716 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   11717 if test -n "$ac_pt_PKG_CONFIG"; then
   11718   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   11719 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   11720 else
   11721   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11722 $as_echo "no" >&6; }
   11723 fi
   11724 
   11725   if test "x$ac_pt_PKG_CONFIG" = x; then
   11726     PKG_CONFIG=""
   11727   else
   11728     case $cross_compiling:$ac_tool_warned in
   11729 yes:)
   11730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11731 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11732 ac_tool_warned=yes ;;
   11733 esac
   11734     PKG_CONFIG=$ac_pt_PKG_CONFIG
   11735   fi
   11736 else
   11737   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   11738 fi
   11739 
   11740 fi
   11741 if test -n "$PKG_CONFIG"; then
   11742 	_pkg_min_version=0.9.0
   11743 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   11744 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   11745 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   11746 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11747 $as_echo "yes" >&6; }
   11748 	else
   11749 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11750 $as_echo "no" >&6; }
   11751 		PKG_CONFIG=""
   11752 	fi
   11753 
   11754 fi
   11755 
   11756 
   11757 
   11758 
   11759 
   11760 # Check whether --enable-selective-werror was given.
   11761 if test "${enable_selective_werror+set}" = set; then :
   11762   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   11763 else
   11764   SELECTIVE_WERROR=yes
   11765 fi
   11766 
   11767 
   11768 
   11769 
   11770 
   11771 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   11772 if test "x$SUNCC" = "xyes"; then
   11773     BASE_CFLAGS="-v"
   11774 else
   11775     BASE_CFLAGS=""
   11776 fi
   11777 
   11778 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   11779 
   11780 
   11781 
   11782 
   11783 
   11784 
   11785 
   11786 
   11787 
   11788 
   11789 
   11790 
   11791 
   11792 xorg_testset_save_CFLAGS="$CFLAGS"
   11793 
   11794 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11795 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11796 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11797 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11798 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   11799   $as_echo_n "(cached) " >&6
   11800 else
   11801   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11802 /* end confdefs.h.  */
   11803 int i;
   11804 _ACEOF
   11805 if ac_fn_c_try_compile "$LINENO"; then :
   11806   xorg_cv_cc_flag_unknown_warning_option=yes
   11807 else
   11808   xorg_cv_cc_flag_unknown_warning_option=no
   11809 fi
   11810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11811 fi
   11812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11813 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11814 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11815 	CFLAGS="$xorg_testset_save_CFLAGS"
   11816 fi
   11817 
   11818 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11819 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11820 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11821 	fi
   11822 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11823 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11824 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11825 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   11826   $as_echo_n "(cached) " >&6
   11827 else
   11828   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11829 /* end confdefs.h.  */
   11830 int i;
   11831 _ACEOF
   11832 if ac_fn_c_try_compile "$LINENO"; then :
   11833   xorg_cv_cc_flag_unused_command_line_argument=yes
   11834 else
   11835   xorg_cv_cc_flag_unused_command_line_argument=no
   11836 fi
   11837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11838 fi
   11839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11840 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11841 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11842 	CFLAGS="$xorg_testset_save_CFLAGS"
   11843 fi
   11844 
   11845 found="no"
   11846 
   11847 	if test $found = "no" ; then
   11848 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   11849 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11850 		fi
   11851 
   11852 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   11853 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11854 		fi
   11855 
   11856 		CFLAGS="$CFLAGS -Wall"
   11857 
   11858 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   11859 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   11860 		cacheid=xorg_cv_cc_flag__Wall
   11861 		if eval \${$cacheid+:} false; then :
   11862   $as_echo_n "(cached) " >&6
   11863 else
   11864   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11865 /* end confdefs.h.  */
   11866 int i;
   11867 int
   11868 main ()
   11869 {
   11870 
   11871   ;
   11872   return 0;
   11873 }
   11874 _ACEOF
   11875 if ac_fn_c_try_link "$LINENO"; then :
   11876   eval $cacheid=yes
   11877 else
   11878   eval $cacheid=no
   11879 fi
   11880 rm -f core conftest.err conftest.$ac_objext \
   11881     conftest$ac_exeext conftest.$ac_ext
   11882 fi
   11883 
   11884 
   11885 		CFLAGS="$xorg_testset_save_CFLAGS"
   11886 
   11887 		eval supported=\$$cacheid
   11888 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11889 $as_echo "$supported" >&6; }
   11890 		if test "$supported" = "yes" ; then
   11891 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   11892 			found="yes"
   11893 		fi
   11894 	fi
   11895 
   11896 
   11897 
   11898 
   11899 
   11900 
   11901 
   11902 
   11903 
   11904 
   11905 
   11906 
   11907 
   11908 
   11909 
   11910 xorg_testset_save_CFLAGS="$CFLAGS"
   11911 
   11912 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11913 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11914 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11915 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11916 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   11917   $as_echo_n "(cached) " >&6
   11918 else
   11919   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11920 /* end confdefs.h.  */
   11921 int i;
   11922 _ACEOF
   11923 if ac_fn_c_try_compile "$LINENO"; then :
   11924   xorg_cv_cc_flag_unknown_warning_option=yes
   11925 else
   11926   xorg_cv_cc_flag_unknown_warning_option=no
   11927 fi
   11928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11929 fi
   11930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11931 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11932 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11933 	CFLAGS="$xorg_testset_save_CFLAGS"
   11934 fi
   11935 
   11936 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11937 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11938 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11939 	fi
   11940 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11941 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11942 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11943 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   11944   $as_echo_n "(cached) " >&6
   11945 else
   11946   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11947 /* end confdefs.h.  */
   11948 int i;
   11949 _ACEOF
   11950 if ac_fn_c_try_compile "$LINENO"; then :
   11951   xorg_cv_cc_flag_unused_command_line_argument=yes
   11952 else
   11953   xorg_cv_cc_flag_unused_command_line_argument=no
   11954 fi
   11955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11956 fi
   11957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11958 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11959 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11960 	CFLAGS="$xorg_testset_save_CFLAGS"
   11961 fi
   11962 
   11963 found="no"
   11964 
   11965 	if test $found = "no" ; then
   11966 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   11967 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11968 		fi
   11969 
   11970 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   11971 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11972 		fi
   11973 
   11974 		CFLAGS="$CFLAGS -Wpointer-arith"
   11975 
   11976 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   11977 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   11978 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   11979 		if eval \${$cacheid+:} false; then :
   11980   $as_echo_n "(cached) " >&6
   11981 else
   11982   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11983 /* end confdefs.h.  */
   11984 int i;
   11985 int
   11986 main ()
   11987 {
   11988 
   11989   ;
   11990   return 0;
   11991 }
   11992 _ACEOF
   11993 if ac_fn_c_try_link "$LINENO"; then :
   11994   eval $cacheid=yes
   11995 else
   11996   eval $cacheid=no
   11997 fi
   11998 rm -f core conftest.err conftest.$ac_objext \
   11999     conftest$ac_exeext conftest.$ac_ext
   12000 fi
   12001 
   12002 
   12003 		CFLAGS="$xorg_testset_save_CFLAGS"
   12004 
   12005 		eval supported=\$$cacheid
   12006 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12007 $as_echo "$supported" >&6; }
   12008 		if test "$supported" = "yes" ; then
   12009 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   12010 			found="yes"
   12011 		fi
   12012 	fi
   12013 
   12014 
   12015 
   12016 
   12017 
   12018 
   12019 
   12020 
   12021 
   12022 
   12023 
   12024 
   12025 
   12026 
   12027 
   12028 xorg_testset_save_CFLAGS="$CFLAGS"
   12029 
   12030 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12031 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12032 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12033 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12034 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12035   $as_echo_n "(cached) " >&6
   12036 else
   12037   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12038 /* end confdefs.h.  */
   12039 int i;
   12040 _ACEOF
   12041 if ac_fn_c_try_compile "$LINENO"; then :
   12042   xorg_cv_cc_flag_unknown_warning_option=yes
   12043 else
   12044   xorg_cv_cc_flag_unknown_warning_option=no
   12045 fi
   12046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12047 fi
   12048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12049 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12050 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12051 	CFLAGS="$xorg_testset_save_CFLAGS"
   12052 fi
   12053 
   12054 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12055 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12056 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12057 	fi
   12058 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12059 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12060 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12061 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12062   $as_echo_n "(cached) " >&6
   12063 else
   12064   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12065 /* end confdefs.h.  */
   12066 int i;
   12067 _ACEOF
   12068 if ac_fn_c_try_compile "$LINENO"; then :
   12069   xorg_cv_cc_flag_unused_command_line_argument=yes
   12070 else
   12071   xorg_cv_cc_flag_unused_command_line_argument=no
   12072 fi
   12073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12074 fi
   12075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12076 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12077 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12078 	CFLAGS="$xorg_testset_save_CFLAGS"
   12079 fi
   12080 
   12081 found="no"
   12082 
   12083 	if test $found = "no" ; then
   12084 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12085 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12086 		fi
   12087 
   12088 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12089 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12090 		fi
   12091 
   12092 		CFLAGS="$CFLAGS -Wmissing-declarations"
   12093 
   12094 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   12095 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   12096 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   12097 		if eval \${$cacheid+:} false; then :
   12098   $as_echo_n "(cached) " >&6
   12099 else
   12100   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12101 /* end confdefs.h.  */
   12102 int i;
   12103 int
   12104 main ()
   12105 {
   12106 
   12107   ;
   12108   return 0;
   12109 }
   12110 _ACEOF
   12111 if ac_fn_c_try_link "$LINENO"; then :
   12112   eval $cacheid=yes
   12113 else
   12114   eval $cacheid=no
   12115 fi
   12116 rm -f core conftest.err conftest.$ac_objext \
   12117     conftest$ac_exeext conftest.$ac_ext
   12118 fi
   12119 
   12120 
   12121 		CFLAGS="$xorg_testset_save_CFLAGS"
   12122 
   12123 		eval supported=\$$cacheid
   12124 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12125 $as_echo "$supported" >&6; }
   12126 		if test "$supported" = "yes" ; then
   12127 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   12128 			found="yes"
   12129 		fi
   12130 	fi
   12131 
   12132 
   12133 
   12134 
   12135 
   12136 
   12137 
   12138 
   12139 
   12140 
   12141 
   12142 
   12143 
   12144 
   12145 
   12146 xorg_testset_save_CFLAGS="$CFLAGS"
   12147 
   12148 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12149 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12150 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12151 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12152 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12153   $as_echo_n "(cached) " >&6
   12154 else
   12155   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12156 /* end confdefs.h.  */
   12157 int i;
   12158 _ACEOF
   12159 if ac_fn_c_try_compile "$LINENO"; then :
   12160   xorg_cv_cc_flag_unknown_warning_option=yes
   12161 else
   12162   xorg_cv_cc_flag_unknown_warning_option=no
   12163 fi
   12164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12165 fi
   12166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12167 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12168 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12169 	CFLAGS="$xorg_testset_save_CFLAGS"
   12170 fi
   12171 
   12172 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12173 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12174 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12175 	fi
   12176 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12177 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12178 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12179 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12180   $as_echo_n "(cached) " >&6
   12181 else
   12182   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12183 /* end confdefs.h.  */
   12184 int i;
   12185 _ACEOF
   12186 if ac_fn_c_try_compile "$LINENO"; then :
   12187   xorg_cv_cc_flag_unused_command_line_argument=yes
   12188 else
   12189   xorg_cv_cc_flag_unused_command_line_argument=no
   12190 fi
   12191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12192 fi
   12193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12194 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12195 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12196 	CFLAGS="$xorg_testset_save_CFLAGS"
   12197 fi
   12198 
   12199 found="no"
   12200 
   12201 	if test $found = "no" ; then
   12202 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12203 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12204 		fi
   12205 
   12206 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12207 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12208 		fi
   12209 
   12210 		CFLAGS="$CFLAGS -Wformat=2"
   12211 
   12212 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   12213 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   12214 		cacheid=`$as_echo "xorg_cv_cc_flag_-Wformat=2" | $as_tr_sh`
   12215 		if eval \${$cacheid+:} false; then :
   12216   $as_echo_n "(cached) " >&6
   12217 else
   12218   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12219 /* end confdefs.h.  */
   12220 int i;
   12221 int
   12222 main ()
   12223 {
   12224 
   12225   ;
   12226   return 0;
   12227 }
   12228 _ACEOF
   12229 if ac_fn_c_try_link "$LINENO"; then :
   12230   eval $cacheid=yes
   12231 else
   12232   eval $cacheid=no
   12233 fi
   12234 rm -f core conftest.err conftest.$ac_objext \
   12235     conftest$ac_exeext conftest.$ac_ext
   12236 fi
   12237 
   12238 
   12239 		CFLAGS="$xorg_testset_save_CFLAGS"
   12240 
   12241 		eval supported=\$$cacheid
   12242 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12243 $as_echo "$supported" >&6; }
   12244 		if test "$supported" = "yes" ; then
   12245 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   12246 			found="yes"
   12247 		fi
   12248 	fi
   12249 
   12250 	if test $found = "no" ; then
   12251 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12252 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12253 		fi
   12254 
   12255 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12256 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12257 		fi
   12258 
   12259 		CFLAGS="$CFLAGS -Wformat"
   12260 
   12261 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   12262 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   12263 		cacheid=xorg_cv_cc_flag__Wformat
   12264 		if eval \${$cacheid+:} false; then :
   12265   $as_echo_n "(cached) " >&6
   12266 else
   12267   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12268 /* end confdefs.h.  */
   12269 int i;
   12270 int
   12271 main ()
   12272 {
   12273 
   12274   ;
   12275   return 0;
   12276 }
   12277 _ACEOF
   12278 if ac_fn_c_try_link "$LINENO"; then :
   12279   eval $cacheid=yes
   12280 else
   12281   eval $cacheid=no
   12282 fi
   12283 rm -f core conftest.err conftest.$ac_objext \
   12284     conftest$ac_exeext conftest.$ac_ext
   12285 fi
   12286 
   12287 
   12288 		CFLAGS="$xorg_testset_save_CFLAGS"
   12289 
   12290 		eval supported=\$$cacheid
   12291 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12292 $as_echo "$supported" >&6; }
   12293 		if test "$supported" = "yes" ; then
   12294 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   12295 			found="yes"
   12296 		fi
   12297 	fi
   12298 
   12299 
   12300 
   12301 
   12302 
   12303 
   12304 
   12305 
   12306 
   12307 
   12308 
   12309 
   12310 
   12311 
   12312 
   12313 
   12314 
   12315 xorg_testset_save_CFLAGS="$CFLAGS"
   12316 
   12317 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12318 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12319 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12320 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12321 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12322   $as_echo_n "(cached) " >&6
   12323 else
   12324   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12325 /* end confdefs.h.  */
   12326 int i;
   12327 _ACEOF
   12328 if ac_fn_c_try_compile "$LINENO"; then :
   12329   xorg_cv_cc_flag_unknown_warning_option=yes
   12330 else
   12331   xorg_cv_cc_flag_unknown_warning_option=no
   12332 fi
   12333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12334 fi
   12335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12336 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12337 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12338 	CFLAGS="$xorg_testset_save_CFLAGS"
   12339 fi
   12340 
   12341 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12342 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12343 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12344 	fi
   12345 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12346 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12347 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12348 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12349   $as_echo_n "(cached) " >&6
   12350 else
   12351   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12352 /* end confdefs.h.  */
   12353 int i;
   12354 _ACEOF
   12355 if ac_fn_c_try_compile "$LINENO"; then :
   12356   xorg_cv_cc_flag_unused_command_line_argument=yes
   12357 else
   12358   xorg_cv_cc_flag_unused_command_line_argument=no
   12359 fi
   12360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12361 fi
   12362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12363 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12364 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12365 	CFLAGS="$xorg_testset_save_CFLAGS"
   12366 fi
   12367 
   12368 found="no"
   12369 
   12370 	if test $found = "no" ; then
   12371 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12372 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12373 		fi
   12374 
   12375 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12376 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12377 		fi
   12378 
   12379 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   12380 
   12381 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   12382 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   12383 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   12384 		if eval \${$cacheid+:} false; then :
   12385   $as_echo_n "(cached) " >&6
   12386 else
   12387   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12388 /* end confdefs.h.  */
   12389 int i;
   12390 int
   12391 main ()
   12392 {
   12393 
   12394   ;
   12395   return 0;
   12396 }
   12397 _ACEOF
   12398 if ac_fn_c_try_link "$LINENO"; then :
   12399   eval $cacheid=yes
   12400 else
   12401   eval $cacheid=no
   12402 fi
   12403 rm -f core conftest.err conftest.$ac_objext \
   12404     conftest$ac_exeext conftest.$ac_ext
   12405 fi
   12406 
   12407 
   12408 		CFLAGS="$xorg_testset_save_CFLAGS"
   12409 
   12410 		eval supported=\$$cacheid
   12411 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12412 $as_echo "$supported" >&6; }
   12413 		if test "$supported" = "yes" ; then
   12414 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   12415 			found="yes"
   12416 		fi
   12417 	fi
   12418 
   12419 
   12420 
   12421 
   12422 
   12423 
   12424 
   12425 
   12426 
   12427 
   12428 
   12429 
   12430 
   12431 
   12432 
   12433 xorg_testset_save_CFLAGS="$CFLAGS"
   12434 
   12435 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12436 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12437 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12438 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12439 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12440   $as_echo_n "(cached) " >&6
   12441 else
   12442   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12443 /* end confdefs.h.  */
   12444 int i;
   12445 _ACEOF
   12446 if ac_fn_c_try_compile "$LINENO"; then :
   12447   xorg_cv_cc_flag_unknown_warning_option=yes
   12448 else
   12449   xorg_cv_cc_flag_unknown_warning_option=no
   12450 fi
   12451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12452 fi
   12453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12454 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12455 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12456 	CFLAGS="$xorg_testset_save_CFLAGS"
   12457 fi
   12458 
   12459 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12460 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12461 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12462 	fi
   12463 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12464 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12465 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12466 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12467   $as_echo_n "(cached) " >&6
   12468 else
   12469   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12470 /* end confdefs.h.  */
   12471 int i;
   12472 _ACEOF
   12473 if ac_fn_c_try_compile "$LINENO"; then :
   12474   xorg_cv_cc_flag_unused_command_line_argument=yes
   12475 else
   12476   xorg_cv_cc_flag_unused_command_line_argument=no
   12477 fi
   12478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12479 fi
   12480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12481 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12482 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12483 	CFLAGS="$xorg_testset_save_CFLAGS"
   12484 fi
   12485 
   12486 found="no"
   12487 
   12488 	if test $found = "no" ; then
   12489 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12490 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12491 		fi
   12492 
   12493 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12494 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12495 		fi
   12496 
   12497 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   12498 
   12499 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   12500 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   12501 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   12502 		if eval \${$cacheid+:} false; then :
   12503   $as_echo_n "(cached) " >&6
   12504 else
   12505   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12506 /* end confdefs.h.  */
   12507 int i;
   12508 int
   12509 main ()
   12510 {
   12511 
   12512   ;
   12513   return 0;
   12514 }
   12515 _ACEOF
   12516 if ac_fn_c_try_link "$LINENO"; then :
   12517   eval $cacheid=yes
   12518 else
   12519   eval $cacheid=no
   12520 fi
   12521 rm -f core conftest.err conftest.$ac_objext \
   12522     conftest$ac_exeext conftest.$ac_ext
   12523 fi
   12524 
   12525 
   12526 		CFLAGS="$xorg_testset_save_CFLAGS"
   12527 
   12528 		eval supported=\$$cacheid
   12529 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12530 $as_echo "$supported" >&6; }
   12531 		if test "$supported" = "yes" ; then
   12532 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   12533 			found="yes"
   12534 		fi
   12535 	fi
   12536 
   12537 
   12538 
   12539 
   12540 
   12541 
   12542 
   12543 
   12544 
   12545 
   12546 
   12547 
   12548 
   12549 
   12550 
   12551 xorg_testset_save_CFLAGS="$CFLAGS"
   12552 
   12553 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12554 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12555 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12556 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12557 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12558   $as_echo_n "(cached) " >&6
   12559 else
   12560   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12561 /* end confdefs.h.  */
   12562 int i;
   12563 _ACEOF
   12564 if ac_fn_c_try_compile "$LINENO"; then :
   12565   xorg_cv_cc_flag_unknown_warning_option=yes
   12566 else
   12567   xorg_cv_cc_flag_unknown_warning_option=no
   12568 fi
   12569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12570 fi
   12571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12572 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12573 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12574 	CFLAGS="$xorg_testset_save_CFLAGS"
   12575 fi
   12576 
   12577 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12578 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12579 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12580 	fi
   12581 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12582 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12583 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12584 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12585   $as_echo_n "(cached) " >&6
   12586 else
   12587   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12588 /* end confdefs.h.  */
   12589 int i;
   12590 _ACEOF
   12591 if ac_fn_c_try_compile "$LINENO"; then :
   12592   xorg_cv_cc_flag_unused_command_line_argument=yes
   12593 else
   12594   xorg_cv_cc_flag_unused_command_line_argument=no
   12595 fi
   12596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12597 fi
   12598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12599 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12600 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12601 	CFLAGS="$xorg_testset_save_CFLAGS"
   12602 fi
   12603 
   12604 found="no"
   12605 
   12606 	if test $found = "no" ; then
   12607 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12608 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12609 		fi
   12610 
   12611 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12612 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12613 		fi
   12614 
   12615 		CFLAGS="$CFLAGS -Wnested-externs"
   12616 
   12617 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   12618 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   12619 		cacheid=xorg_cv_cc_flag__Wnested_externs
   12620 		if eval \${$cacheid+:} false; then :
   12621   $as_echo_n "(cached) " >&6
   12622 else
   12623   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12624 /* end confdefs.h.  */
   12625 int i;
   12626 int
   12627 main ()
   12628 {
   12629 
   12630   ;
   12631   return 0;
   12632 }
   12633 _ACEOF
   12634 if ac_fn_c_try_link "$LINENO"; then :
   12635   eval $cacheid=yes
   12636 else
   12637   eval $cacheid=no
   12638 fi
   12639 rm -f core conftest.err conftest.$ac_objext \
   12640     conftest$ac_exeext conftest.$ac_ext
   12641 fi
   12642 
   12643 
   12644 		CFLAGS="$xorg_testset_save_CFLAGS"
   12645 
   12646 		eval supported=\$$cacheid
   12647 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12648 $as_echo "$supported" >&6; }
   12649 		if test "$supported" = "yes" ; then
   12650 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   12651 			found="yes"
   12652 		fi
   12653 	fi
   12654 
   12655 
   12656 
   12657 
   12658 
   12659 
   12660 
   12661 
   12662 
   12663 
   12664 
   12665 
   12666 
   12667 
   12668 
   12669 xorg_testset_save_CFLAGS="$CFLAGS"
   12670 
   12671 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12672 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12673 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12674 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12675 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12676   $as_echo_n "(cached) " >&6
   12677 else
   12678   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12679 /* end confdefs.h.  */
   12680 int i;
   12681 _ACEOF
   12682 if ac_fn_c_try_compile "$LINENO"; then :
   12683   xorg_cv_cc_flag_unknown_warning_option=yes
   12684 else
   12685   xorg_cv_cc_flag_unknown_warning_option=no
   12686 fi
   12687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12688 fi
   12689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12690 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12691 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12692 	CFLAGS="$xorg_testset_save_CFLAGS"
   12693 fi
   12694 
   12695 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12696 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12697 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12698 	fi
   12699 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12700 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12701 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12702 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12703   $as_echo_n "(cached) " >&6
   12704 else
   12705   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12706 /* end confdefs.h.  */
   12707 int i;
   12708 _ACEOF
   12709 if ac_fn_c_try_compile "$LINENO"; then :
   12710   xorg_cv_cc_flag_unused_command_line_argument=yes
   12711 else
   12712   xorg_cv_cc_flag_unused_command_line_argument=no
   12713 fi
   12714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12715 fi
   12716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12717 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12718 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12719 	CFLAGS="$xorg_testset_save_CFLAGS"
   12720 fi
   12721 
   12722 found="no"
   12723 
   12724 	if test $found = "no" ; then
   12725 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12726 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12727 		fi
   12728 
   12729 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12730 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12731 		fi
   12732 
   12733 		CFLAGS="$CFLAGS -Wbad-function-cast"
   12734 
   12735 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   12736 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   12737 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   12738 		if eval \${$cacheid+:} false; then :
   12739   $as_echo_n "(cached) " >&6
   12740 else
   12741   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12742 /* end confdefs.h.  */
   12743 int i;
   12744 int
   12745 main ()
   12746 {
   12747 
   12748   ;
   12749   return 0;
   12750 }
   12751 _ACEOF
   12752 if ac_fn_c_try_link "$LINENO"; then :
   12753   eval $cacheid=yes
   12754 else
   12755   eval $cacheid=no
   12756 fi
   12757 rm -f core conftest.err conftest.$ac_objext \
   12758     conftest$ac_exeext conftest.$ac_ext
   12759 fi
   12760 
   12761 
   12762 		CFLAGS="$xorg_testset_save_CFLAGS"
   12763 
   12764 		eval supported=\$$cacheid
   12765 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12766 $as_echo "$supported" >&6; }
   12767 		if test "$supported" = "yes" ; then
   12768 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   12769 			found="yes"
   12770 		fi
   12771 	fi
   12772 
   12773 
   12774 
   12775 
   12776 
   12777 
   12778 
   12779 
   12780 
   12781 
   12782 
   12783 
   12784 
   12785 
   12786 
   12787 xorg_testset_save_CFLAGS="$CFLAGS"
   12788 
   12789 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12790 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12791 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12792 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12793 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12794   $as_echo_n "(cached) " >&6
   12795 else
   12796   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12797 /* end confdefs.h.  */
   12798 int i;
   12799 _ACEOF
   12800 if ac_fn_c_try_compile "$LINENO"; then :
   12801   xorg_cv_cc_flag_unknown_warning_option=yes
   12802 else
   12803   xorg_cv_cc_flag_unknown_warning_option=no
   12804 fi
   12805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12806 fi
   12807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12808 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12809 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12810 	CFLAGS="$xorg_testset_save_CFLAGS"
   12811 fi
   12812 
   12813 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12814 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12815 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12816 	fi
   12817 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12818 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12819 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12820 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12821   $as_echo_n "(cached) " >&6
   12822 else
   12823   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12824 /* end confdefs.h.  */
   12825 int i;
   12826 _ACEOF
   12827 if ac_fn_c_try_compile "$LINENO"; then :
   12828   xorg_cv_cc_flag_unused_command_line_argument=yes
   12829 else
   12830   xorg_cv_cc_flag_unused_command_line_argument=no
   12831 fi
   12832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12833 fi
   12834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12835 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12836 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12837 	CFLAGS="$xorg_testset_save_CFLAGS"
   12838 fi
   12839 
   12840 found="no"
   12841 
   12842 	if test $found = "no" ; then
   12843 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12844 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12845 		fi
   12846 
   12847 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12848 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12849 		fi
   12850 
   12851 		CFLAGS="$CFLAGS -Wold-style-definition"
   12852 
   12853 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   12854 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   12855 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   12856 		if eval \${$cacheid+:} false; then :
   12857   $as_echo_n "(cached) " >&6
   12858 else
   12859   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12860 /* end confdefs.h.  */
   12861 int i;
   12862 int
   12863 main ()
   12864 {
   12865 
   12866   ;
   12867   return 0;
   12868 }
   12869 _ACEOF
   12870 if ac_fn_c_try_link "$LINENO"; then :
   12871   eval $cacheid=yes
   12872 else
   12873   eval $cacheid=no
   12874 fi
   12875 rm -f core conftest.err conftest.$ac_objext \
   12876     conftest$ac_exeext conftest.$ac_ext
   12877 fi
   12878 
   12879 
   12880 		CFLAGS="$xorg_testset_save_CFLAGS"
   12881 
   12882 		eval supported=\$$cacheid
   12883 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12884 $as_echo "$supported" >&6; }
   12885 		if test "$supported" = "yes" ; then
   12886 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   12887 			found="yes"
   12888 		fi
   12889 	fi
   12890 
   12891 
   12892 
   12893 
   12894 
   12895 
   12896 
   12897 
   12898 
   12899 
   12900 
   12901 
   12902 
   12903 
   12904 
   12905 xorg_testset_save_CFLAGS="$CFLAGS"
   12906 
   12907 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12908 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12909 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12910 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12911 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12912   $as_echo_n "(cached) " >&6
   12913 else
   12914   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12915 /* end confdefs.h.  */
   12916 int i;
   12917 _ACEOF
   12918 if ac_fn_c_try_compile "$LINENO"; then :
   12919   xorg_cv_cc_flag_unknown_warning_option=yes
   12920 else
   12921   xorg_cv_cc_flag_unknown_warning_option=no
   12922 fi
   12923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12924 fi
   12925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12926 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12927 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12928 	CFLAGS="$xorg_testset_save_CFLAGS"
   12929 fi
   12930 
   12931 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12932 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12933 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12934 	fi
   12935 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12936 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12937 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12938 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12939   $as_echo_n "(cached) " >&6
   12940 else
   12941   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12942 /* end confdefs.h.  */
   12943 int i;
   12944 _ACEOF
   12945 if ac_fn_c_try_compile "$LINENO"; then :
   12946   xorg_cv_cc_flag_unused_command_line_argument=yes
   12947 else
   12948   xorg_cv_cc_flag_unused_command_line_argument=no
   12949 fi
   12950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12951 fi
   12952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12953 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12954 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12955 	CFLAGS="$xorg_testset_save_CFLAGS"
   12956 fi
   12957 
   12958 found="no"
   12959 
   12960 	if test $found = "no" ; then
   12961 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12962 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12963 		fi
   12964 
   12965 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12966 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12967 		fi
   12968 
   12969 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   12970 
   12971 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   12972 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   12973 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   12974 		if eval \${$cacheid+:} false; then :
   12975   $as_echo_n "(cached) " >&6
   12976 else
   12977   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12978 /* end confdefs.h.  */
   12979 int i;
   12980 int
   12981 main ()
   12982 {
   12983 
   12984   ;
   12985   return 0;
   12986 }
   12987 _ACEOF
   12988 if ac_fn_c_try_link "$LINENO"; then :
   12989   eval $cacheid=yes
   12990 else
   12991   eval $cacheid=no
   12992 fi
   12993 rm -f core conftest.err conftest.$ac_objext \
   12994     conftest$ac_exeext conftest.$ac_ext
   12995 fi
   12996 
   12997 
   12998 		CFLAGS="$xorg_testset_save_CFLAGS"
   12999 
   13000 		eval supported=\$$cacheid
   13001 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13002 $as_echo "$supported" >&6; }
   13003 		if test "$supported" = "yes" ; then
   13004 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   13005 			found="yes"
   13006 		fi
   13007 	fi
   13008 
   13009 
   13010 
   13011 
   13012 
   13013 # This chunk adds additional warnings that could catch undesired effects.
   13014 
   13015 
   13016 
   13017 
   13018 
   13019 
   13020 
   13021 
   13022 
   13023 
   13024 
   13025 
   13026 
   13027 xorg_testset_save_CFLAGS="$CFLAGS"
   13028 
   13029 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13030 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13031 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13032 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13033 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13034   $as_echo_n "(cached) " >&6
   13035 else
   13036   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13037 /* end confdefs.h.  */
   13038 int i;
   13039 _ACEOF
   13040 if ac_fn_c_try_compile "$LINENO"; then :
   13041   xorg_cv_cc_flag_unknown_warning_option=yes
   13042 else
   13043   xorg_cv_cc_flag_unknown_warning_option=no
   13044 fi
   13045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13046 fi
   13047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13048 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13049 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13050 	CFLAGS="$xorg_testset_save_CFLAGS"
   13051 fi
   13052 
   13053 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13054 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13055 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13056 	fi
   13057 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13058 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13059 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13060 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13061   $as_echo_n "(cached) " >&6
   13062 else
   13063   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13064 /* end confdefs.h.  */
   13065 int i;
   13066 _ACEOF
   13067 if ac_fn_c_try_compile "$LINENO"; then :
   13068   xorg_cv_cc_flag_unused_command_line_argument=yes
   13069 else
   13070   xorg_cv_cc_flag_unused_command_line_argument=no
   13071 fi
   13072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13073 fi
   13074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13075 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13076 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13077 	CFLAGS="$xorg_testset_save_CFLAGS"
   13078 fi
   13079 
   13080 found="no"
   13081 
   13082 	if test $found = "no" ; then
   13083 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13084 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13085 		fi
   13086 
   13087 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13088 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13089 		fi
   13090 
   13091 		CFLAGS="$CFLAGS -Wunused"
   13092 
   13093 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   13094 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   13095 		cacheid=xorg_cv_cc_flag__Wunused
   13096 		if eval \${$cacheid+:} false; then :
   13097   $as_echo_n "(cached) " >&6
   13098 else
   13099   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13100 /* end confdefs.h.  */
   13101 int i;
   13102 int
   13103 main ()
   13104 {
   13105 
   13106   ;
   13107   return 0;
   13108 }
   13109 _ACEOF
   13110 if ac_fn_c_try_link "$LINENO"; then :
   13111   eval $cacheid=yes
   13112 else
   13113   eval $cacheid=no
   13114 fi
   13115 rm -f core conftest.err conftest.$ac_objext \
   13116     conftest$ac_exeext conftest.$ac_ext
   13117 fi
   13118 
   13119 
   13120 		CFLAGS="$xorg_testset_save_CFLAGS"
   13121 
   13122 		eval supported=\$$cacheid
   13123 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13124 $as_echo "$supported" >&6; }
   13125 		if test "$supported" = "yes" ; then
   13126 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   13127 			found="yes"
   13128 		fi
   13129 	fi
   13130 
   13131 
   13132 
   13133 
   13134 
   13135 
   13136 
   13137 
   13138 
   13139 
   13140 
   13141 
   13142 
   13143 
   13144 
   13145 xorg_testset_save_CFLAGS="$CFLAGS"
   13146 
   13147 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13148 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13149 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13150 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13151 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13152   $as_echo_n "(cached) " >&6
   13153 else
   13154   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13155 /* end confdefs.h.  */
   13156 int i;
   13157 _ACEOF
   13158 if ac_fn_c_try_compile "$LINENO"; then :
   13159   xorg_cv_cc_flag_unknown_warning_option=yes
   13160 else
   13161   xorg_cv_cc_flag_unknown_warning_option=no
   13162 fi
   13163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13164 fi
   13165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13166 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13167 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13168 	CFLAGS="$xorg_testset_save_CFLAGS"
   13169 fi
   13170 
   13171 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13172 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13173 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13174 	fi
   13175 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13176 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13177 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13178 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13179   $as_echo_n "(cached) " >&6
   13180 else
   13181   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13182 /* end confdefs.h.  */
   13183 int i;
   13184 _ACEOF
   13185 if ac_fn_c_try_compile "$LINENO"; then :
   13186   xorg_cv_cc_flag_unused_command_line_argument=yes
   13187 else
   13188   xorg_cv_cc_flag_unused_command_line_argument=no
   13189 fi
   13190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13191 fi
   13192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13193 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13194 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13195 	CFLAGS="$xorg_testset_save_CFLAGS"
   13196 fi
   13197 
   13198 found="no"
   13199 
   13200 	if test $found = "no" ; then
   13201 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13202 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13203 		fi
   13204 
   13205 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13206 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13207 		fi
   13208 
   13209 		CFLAGS="$CFLAGS -Wuninitialized"
   13210 
   13211 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   13212 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   13213 		cacheid=xorg_cv_cc_flag__Wuninitialized
   13214 		if eval \${$cacheid+:} false; then :
   13215   $as_echo_n "(cached) " >&6
   13216 else
   13217   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13218 /* end confdefs.h.  */
   13219 int i;
   13220 int
   13221 main ()
   13222 {
   13223 
   13224   ;
   13225   return 0;
   13226 }
   13227 _ACEOF
   13228 if ac_fn_c_try_link "$LINENO"; then :
   13229   eval $cacheid=yes
   13230 else
   13231   eval $cacheid=no
   13232 fi
   13233 rm -f core conftest.err conftest.$ac_objext \
   13234     conftest$ac_exeext conftest.$ac_ext
   13235 fi
   13236 
   13237 
   13238 		CFLAGS="$xorg_testset_save_CFLAGS"
   13239 
   13240 		eval supported=\$$cacheid
   13241 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13242 $as_echo "$supported" >&6; }
   13243 		if test "$supported" = "yes" ; then
   13244 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   13245 			found="yes"
   13246 		fi
   13247 	fi
   13248 
   13249 
   13250 
   13251 
   13252 
   13253 
   13254 
   13255 
   13256 
   13257 
   13258 
   13259 
   13260 
   13261 
   13262 
   13263 xorg_testset_save_CFLAGS="$CFLAGS"
   13264 
   13265 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13266 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13267 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13268 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13269 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13270   $as_echo_n "(cached) " >&6
   13271 else
   13272   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13273 /* end confdefs.h.  */
   13274 int i;
   13275 _ACEOF
   13276 if ac_fn_c_try_compile "$LINENO"; then :
   13277   xorg_cv_cc_flag_unknown_warning_option=yes
   13278 else
   13279   xorg_cv_cc_flag_unknown_warning_option=no
   13280 fi
   13281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13282 fi
   13283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13284 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13285 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13286 	CFLAGS="$xorg_testset_save_CFLAGS"
   13287 fi
   13288 
   13289 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13290 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13291 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13292 	fi
   13293 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13294 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13295 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13296 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13297   $as_echo_n "(cached) " >&6
   13298 else
   13299   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13300 /* end confdefs.h.  */
   13301 int i;
   13302 _ACEOF
   13303 if ac_fn_c_try_compile "$LINENO"; then :
   13304   xorg_cv_cc_flag_unused_command_line_argument=yes
   13305 else
   13306   xorg_cv_cc_flag_unused_command_line_argument=no
   13307 fi
   13308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13309 fi
   13310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13311 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13312 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13313 	CFLAGS="$xorg_testset_save_CFLAGS"
   13314 fi
   13315 
   13316 found="no"
   13317 
   13318 	if test $found = "no" ; then
   13319 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13320 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13321 		fi
   13322 
   13323 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13324 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13325 		fi
   13326 
   13327 		CFLAGS="$CFLAGS -Wshadow"
   13328 
   13329 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   13330 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   13331 		cacheid=xorg_cv_cc_flag__Wshadow
   13332 		if eval \${$cacheid+:} false; then :
   13333   $as_echo_n "(cached) " >&6
   13334 else
   13335   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13336 /* end confdefs.h.  */
   13337 int i;
   13338 int
   13339 main ()
   13340 {
   13341 
   13342   ;
   13343   return 0;
   13344 }
   13345 _ACEOF
   13346 if ac_fn_c_try_link "$LINENO"; then :
   13347   eval $cacheid=yes
   13348 else
   13349   eval $cacheid=no
   13350 fi
   13351 rm -f core conftest.err conftest.$ac_objext \
   13352     conftest$ac_exeext conftest.$ac_ext
   13353 fi
   13354 
   13355 
   13356 		CFLAGS="$xorg_testset_save_CFLAGS"
   13357 
   13358 		eval supported=\$$cacheid
   13359 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13360 $as_echo "$supported" >&6; }
   13361 		if test "$supported" = "yes" ; then
   13362 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   13363 			found="yes"
   13364 		fi
   13365 	fi
   13366 
   13367 
   13368 
   13369 
   13370 
   13371 
   13372 
   13373 
   13374 
   13375 
   13376 
   13377 
   13378 
   13379 
   13380 
   13381 xorg_testset_save_CFLAGS="$CFLAGS"
   13382 
   13383 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13384 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13385 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13386 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13387 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13388   $as_echo_n "(cached) " >&6
   13389 else
   13390   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13391 /* end confdefs.h.  */
   13392 int i;
   13393 _ACEOF
   13394 if ac_fn_c_try_compile "$LINENO"; then :
   13395   xorg_cv_cc_flag_unknown_warning_option=yes
   13396 else
   13397   xorg_cv_cc_flag_unknown_warning_option=no
   13398 fi
   13399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13400 fi
   13401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13402 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13403 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13404 	CFLAGS="$xorg_testset_save_CFLAGS"
   13405 fi
   13406 
   13407 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13408 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13409 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13410 	fi
   13411 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13412 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13413 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13414 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13415   $as_echo_n "(cached) " >&6
   13416 else
   13417   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13418 /* end confdefs.h.  */
   13419 int i;
   13420 _ACEOF
   13421 if ac_fn_c_try_compile "$LINENO"; then :
   13422   xorg_cv_cc_flag_unused_command_line_argument=yes
   13423 else
   13424   xorg_cv_cc_flag_unused_command_line_argument=no
   13425 fi
   13426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13427 fi
   13428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13429 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13430 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13431 	CFLAGS="$xorg_testset_save_CFLAGS"
   13432 fi
   13433 
   13434 found="no"
   13435 
   13436 	if test $found = "no" ; then
   13437 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13438 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13439 		fi
   13440 
   13441 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13442 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13443 		fi
   13444 
   13445 		CFLAGS="$CFLAGS -Wcast-qual"
   13446 
   13447 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wcast-qual" >&5
   13448 $as_echo_n "checking if $CC supports -Wcast-qual... " >&6; }
   13449 		cacheid=xorg_cv_cc_flag__Wcast_qual
   13450 		if eval \${$cacheid+:} false; then :
   13451   $as_echo_n "(cached) " >&6
   13452 else
   13453   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13454 /* end confdefs.h.  */
   13455 int i;
   13456 int
   13457 main ()
   13458 {
   13459 
   13460   ;
   13461   return 0;
   13462 }
   13463 _ACEOF
   13464 if ac_fn_c_try_link "$LINENO"; then :
   13465   eval $cacheid=yes
   13466 else
   13467   eval $cacheid=no
   13468 fi
   13469 rm -f core conftest.err conftest.$ac_objext \
   13470     conftest$ac_exeext conftest.$ac_ext
   13471 fi
   13472 
   13473 
   13474 		CFLAGS="$xorg_testset_save_CFLAGS"
   13475 
   13476 		eval supported=\$$cacheid
   13477 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13478 $as_echo "$supported" >&6; }
   13479 		if test "$supported" = "yes" ; then
   13480 			BASE_CFLAGS="$BASE_CFLAGS -Wcast-qual"
   13481 			found="yes"
   13482 		fi
   13483 	fi
   13484 
   13485 
   13486 
   13487 
   13488 
   13489 
   13490 
   13491 
   13492 
   13493 
   13494 
   13495 
   13496 
   13497 
   13498 
   13499 xorg_testset_save_CFLAGS="$CFLAGS"
   13500 
   13501 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13502 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13503 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13504 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13505 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13506   $as_echo_n "(cached) " >&6
   13507 else
   13508   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13509 /* end confdefs.h.  */
   13510 int i;
   13511 _ACEOF
   13512 if ac_fn_c_try_compile "$LINENO"; then :
   13513   xorg_cv_cc_flag_unknown_warning_option=yes
   13514 else
   13515   xorg_cv_cc_flag_unknown_warning_option=no
   13516 fi
   13517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13518 fi
   13519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13520 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13521 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13522 	CFLAGS="$xorg_testset_save_CFLAGS"
   13523 fi
   13524 
   13525 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13526 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13527 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13528 	fi
   13529 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13530 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13531 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13532 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13533   $as_echo_n "(cached) " >&6
   13534 else
   13535   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13536 /* end confdefs.h.  */
   13537 int i;
   13538 _ACEOF
   13539 if ac_fn_c_try_compile "$LINENO"; then :
   13540   xorg_cv_cc_flag_unused_command_line_argument=yes
   13541 else
   13542   xorg_cv_cc_flag_unused_command_line_argument=no
   13543 fi
   13544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13545 fi
   13546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13547 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13548 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13549 	CFLAGS="$xorg_testset_save_CFLAGS"
   13550 fi
   13551 
   13552 found="no"
   13553 
   13554 	if test $found = "no" ; then
   13555 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13556 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13557 		fi
   13558 
   13559 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13560 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13561 		fi
   13562 
   13563 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   13564 
   13565 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   13566 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   13567 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   13568 		if eval \${$cacheid+:} false; then :
   13569   $as_echo_n "(cached) " >&6
   13570 else
   13571   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13572 /* end confdefs.h.  */
   13573 int i;
   13574 int
   13575 main ()
   13576 {
   13577 
   13578   ;
   13579   return 0;
   13580 }
   13581 _ACEOF
   13582 if ac_fn_c_try_link "$LINENO"; then :
   13583   eval $cacheid=yes
   13584 else
   13585   eval $cacheid=no
   13586 fi
   13587 rm -f core conftest.err conftest.$ac_objext \
   13588     conftest$ac_exeext conftest.$ac_ext
   13589 fi
   13590 
   13591 
   13592 		CFLAGS="$xorg_testset_save_CFLAGS"
   13593 
   13594 		eval supported=\$$cacheid
   13595 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13596 $as_echo "$supported" >&6; }
   13597 		if test "$supported" = "yes" ; then
   13598 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   13599 			found="yes"
   13600 		fi
   13601 	fi
   13602 
   13603 
   13604 
   13605 
   13606 
   13607 
   13608 
   13609 
   13610 
   13611 
   13612 
   13613 
   13614 
   13615 
   13616 
   13617 xorg_testset_save_CFLAGS="$CFLAGS"
   13618 
   13619 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13620 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13621 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13622 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13623 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13624   $as_echo_n "(cached) " >&6
   13625 else
   13626   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13627 /* end confdefs.h.  */
   13628 int i;
   13629 _ACEOF
   13630 if ac_fn_c_try_compile "$LINENO"; then :
   13631   xorg_cv_cc_flag_unknown_warning_option=yes
   13632 else
   13633   xorg_cv_cc_flag_unknown_warning_option=no
   13634 fi
   13635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13636 fi
   13637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13638 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13639 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13640 	CFLAGS="$xorg_testset_save_CFLAGS"
   13641 fi
   13642 
   13643 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13644 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13645 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13646 	fi
   13647 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13648 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13649 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13650 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13651   $as_echo_n "(cached) " >&6
   13652 else
   13653   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13654 /* end confdefs.h.  */
   13655 int i;
   13656 _ACEOF
   13657 if ac_fn_c_try_compile "$LINENO"; then :
   13658   xorg_cv_cc_flag_unused_command_line_argument=yes
   13659 else
   13660   xorg_cv_cc_flag_unused_command_line_argument=no
   13661 fi
   13662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13663 fi
   13664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13665 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13666 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13667 	CFLAGS="$xorg_testset_save_CFLAGS"
   13668 fi
   13669 
   13670 found="no"
   13671 
   13672 	if test $found = "no" ; then
   13673 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13674 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13675 		fi
   13676 
   13677 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13678 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13679 		fi
   13680 
   13681 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   13682 
   13683 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   13684 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   13685 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   13686 		if eval \${$cacheid+:} false; then :
   13687   $as_echo_n "(cached) " >&6
   13688 else
   13689   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13690 /* end confdefs.h.  */
   13691 int i;
   13692 int
   13693 main ()
   13694 {
   13695 
   13696   ;
   13697   return 0;
   13698 }
   13699 _ACEOF
   13700 if ac_fn_c_try_link "$LINENO"; then :
   13701   eval $cacheid=yes
   13702 else
   13703   eval $cacheid=no
   13704 fi
   13705 rm -f core conftest.err conftest.$ac_objext \
   13706     conftest$ac_exeext conftest.$ac_ext
   13707 fi
   13708 
   13709 
   13710 		CFLAGS="$xorg_testset_save_CFLAGS"
   13711 
   13712 		eval supported=\$$cacheid
   13713 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13714 $as_echo "$supported" >&6; }
   13715 		if test "$supported" = "yes" ; then
   13716 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   13717 			found="yes"
   13718 		fi
   13719 	fi
   13720 
   13721 
   13722 
   13723 
   13724 
   13725 
   13726 
   13727 
   13728 
   13729 
   13730 
   13731 
   13732 
   13733 
   13734 
   13735 xorg_testset_save_CFLAGS="$CFLAGS"
   13736 
   13737 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13738 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13739 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13740 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13741 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13742   $as_echo_n "(cached) " >&6
   13743 else
   13744   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13745 /* end confdefs.h.  */
   13746 int i;
   13747 _ACEOF
   13748 if ac_fn_c_try_compile "$LINENO"; then :
   13749   xorg_cv_cc_flag_unknown_warning_option=yes
   13750 else
   13751   xorg_cv_cc_flag_unknown_warning_option=no
   13752 fi
   13753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13754 fi
   13755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13756 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13757 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13758 	CFLAGS="$xorg_testset_save_CFLAGS"
   13759 fi
   13760 
   13761 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13762 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13763 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13764 	fi
   13765 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13766 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13767 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13768 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13769   $as_echo_n "(cached) " >&6
   13770 else
   13771   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13772 /* end confdefs.h.  */
   13773 int i;
   13774 _ACEOF
   13775 if ac_fn_c_try_compile "$LINENO"; then :
   13776   xorg_cv_cc_flag_unused_command_line_argument=yes
   13777 else
   13778   xorg_cv_cc_flag_unused_command_line_argument=no
   13779 fi
   13780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13781 fi
   13782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13783 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13784 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13785 	CFLAGS="$xorg_testset_save_CFLAGS"
   13786 fi
   13787 
   13788 found="no"
   13789 
   13790 	if test $found = "no" ; then
   13791 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13792 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13793 		fi
   13794 
   13795 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13796 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13797 		fi
   13798 
   13799 		CFLAGS="$CFLAGS -Wredundant-decls"
   13800 
   13801 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   13802 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   13803 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   13804 		if eval \${$cacheid+:} false; then :
   13805   $as_echo_n "(cached) " >&6
   13806 else
   13807   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13808 /* end confdefs.h.  */
   13809 int i;
   13810 int
   13811 main ()
   13812 {
   13813 
   13814   ;
   13815   return 0;
   13816 }
   13817 _ACEOF
   13818 if ac_fn_c_try_link "$LINENO"; then :
   13819   eval $cacheid=yes
   13820 else
   13821   eval $cacheid=no
   13822 fi
   13823 rm -f core conftest.err conftest.$ac_objext \
   13824     conftest$ac_exeext conftest.$ac_ext
   13825 fi
   13826 
   13827 
   13828 		CFLAGS="$xorg_testset_save_CFLAGS"
   13829 
   13830 		eval supported=\$$cacheid
   13831 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13832 $as_echo "$supported" >&6; }
   13833 		if test "$supported" = "yes" ; then
   13834 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   13835 			found="yes"
   13836 		fi
   13837 	fi
   13838 
   13839 
   13840 
   13841 # These are currently disabled because they are noisy.  They will be enabled
   13842 # in the future once the codebase is sufficiently modernized to silence
   13843 # them.  For now, I don't want them to drown out the other warnings.
   13844 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wlogical-op])
   13845 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   13846 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   13847 
   13848 # Turn some warnings into errors, so we don't accidently get successful builds
   13849 # when there are problems that should be fixed.
   13850 
   13851 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   13852 
   13853 
   13854 
   13855 
   13856 
   13857 
   13858 
   13859 
   13860 
   13861 
   13862 
   13863 
   13864 
   13865 xorg_testset_save_CFLAGS="$CFLAGS"
   13866 
   13867 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13868 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13869 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13870 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13871 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13872   $as_echo_n "(cached) " >&6
   13873 else
   13874   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13875 /* end confdefs.h.  */
   13876 int i;
   13877 _ACEOF
   13878 if ac_fn_c_try_compile "$LINENO"; then :
   13879   xorg_cv_cc_flag_unknown_warning_option=yes
   13880 else
   13881   xorg_cv_cc_flag_unknown_warning_option=no
   13882 fi
   13883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13884 fi
   13885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13886 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13887 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13888 	CFLAGS="$xorg_testset_save_CFLAGS"
   13889 fi
   13890 
   13891 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13892 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13893 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13894 	fi
   13895 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13896 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13897 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13898 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13899   $as_echo_n "(cached) " >&6
   13900 else
   13901   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13902 /* end confdefs.h.  */
   13903 int i;
   13904 _ACEOF
   13905 if ac_fn_c_try_compile "$LINENO"; then :
   13906   xorg_cv_cc_flag_unused_command_line_argument=yes
   13907 else
   13908   xorg_cv_cc_flag_unused_command_line_argument=no
   13909 fi
   13910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13911 fi
   13912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13913 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13914 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13915 	CFLAGS="$xorg_testset_save_CFLAGS"
   13916 fi
   13917 
   13918 found="no"
   13919 
   13920 	if test $found = "no" ; then
   13921 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13922 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13923 		fi
   13924 
   13925 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13926 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13927 		fi
   13928 
   13929 		CFLAGS="$CFLAGS -Werror=implicit"
   13930 
   13931 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   13932 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   13933 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=implicit" | $as_tr_sh`
   13934 		if eval \${$cacheid+:} false; then :
   13935   $as_echo_n "(cached) " >&6
   13936 else
   13937   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13938 /* end confdefs.h.  */
   13939 int i;
   13940 int
   13941 main ()
   13942 {
   13943 
   13944   ;
   13945   return 0;
   13946 }
   13947 _ACEOF
   13948 if ac_fn_c_try_link "$LINENO"; then :
   13949   eval $cacheid=yes
   13950 else
   13951   eval $cacheid=no
   13952 fi
   13953 rm -f core conftest.err conftest.$ac_objext \
   13954     conftest$ac_exeext conftest.$ac_ext
   13955 fi
   13956 
   13957 
   13958 		CFLAGS="$xorg_testset_save_CFLAGS"
   13959 
   13960 		eval supported=\$$cacheid
   13961 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13962 $as_echo "$supported" >&6; }
   13963 		if test "$supported" = "yes" ; then
   13964 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   13965 			found="yes"
   13966 		fi
   13967 	fi
   13968 
   13969 	if test $found = "no" ; then
   13970 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13971 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13972 		fi
   13973 
   13974 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13975 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13976 		fi
   13977 
   13978 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   13979 
   13980 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   13981 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   13982 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" | $as_tr_sh`
   13983 		if eval \${$cacheid+:} false; then :
   13984   $as_echo_n "(cached) " >&6
   13985 else
   13986   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13987 /* end confdefs.h.  */
   13988 int i;
   13989 int
   13990 main ()
   13991 {
   13992 
   13993   ;
   13994   return 0;
   13995 }
   13996 _ACEOF
   13997 if ac_fn_c_try_link "$LINENO"; then :
   13998   eval $cacheid=yes
   13999 else
   14000   eval $cacheid=no
   14001 fi
   14002 rm -f core conftest.err conftest.$ac_objext \
   14003     conftest$ac_exeext conftest.$ac_ext
   14004 fi
   14005 
   14006 
   14007 		CFLAGS="$xorg_testset_save_CFLAGS"
   14008 
   14009 		eval supported=\$$cacheid
   14010 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14011 $as_echo "$supported" >&6; }
   14012 		if test "$supported" = "yes" ; then
   14013 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   14014 			found="yes"
   14015 		fi
   14016 	fi
   14017 
   14018 
   14019 
   14020 
   14021 
   14022 
   14023 
   14024 
   14025 
   14026 
   14027 
   14028 
   14029 
   14030 
   14031 
   14032 xorg_testset_save_CFLAGS="$CFLAGS"
   14033 
   14034 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14035 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14036 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14037 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14038 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14039   $as_echo_n "(cached) " >&6
   14040 else
   14041   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14042 /* end confdefs.h.  */
   14043 int i;
   14044 _ACEOF
   14045 if ac_fn_c_try_compile "$LINENO"; then :
   14046   xorg_cv_cc_flag_unknown_warning_option=yes
   14047 else
   14048   xorg_cv_cc_flag_unknown_warning_option=no
   14049 fi
   14050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14051 fi
   14052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14053 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14054 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14055 	CFLAGS="$xorg_testset_save_CFLAGS"
   14056 fi
   14057 
   14058 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14059 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14060 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14061 	fi
   14062 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14063 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14064 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14065 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14066   $as_echo_n "(cached) " >&6
   14067 else
   14068   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14069 /* end confdefs.h.  */
   14070 int i;
   14071 _ACEOF
   14072 if ac_fn_c_try_compile "$LINENO"; then :
   14073   xorg_cv_cc_flag_unused_command_line_argument=yes
   14074 else
   14075   xorg_cv_cc_flag_unused_command_line_argument=no
   14076 fi
   14077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14078 fi
   14079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14080 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14081 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14082 	CFLAGS="$xorg_testset_save_CFLAGS"
   14083 fi
   14084 
   14085 found="no"
   14086 
   14087 	if test $found = "no" ; then
   14088 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14089 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14090 		fi
   14091 
   14092 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14093 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14094 		fi
   14095 
   14096 		CFLAGS="$CFLAGS -Werror=nonnull"
   14097 
   14098 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   14099 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   14100 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=nonnull" | $as_tr_sh`
   14101 		if eval \${$cacheid+:} false; then :
   14102   $as_echo_n "(cached) " >&6
   14103 else
   14104   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14105 /* end confdefs.h.  */
   14106 int i;
   14107 int
   14108 main ()
   14109 {
   14110 
   14111   ;
   14112   return 0;
   14113 }
   14114 _ACEOF
   14115 if ac_fn_c_try_link "$LINENO"; then :
   14116   eval $cacheid=yes
   14117 else
   14118   eval $cacheid=no
   14119 fi
   14120 rm -f core conftest.err conftest.$ac_objext \
   14121     conftest$ac_exeext conftest.$ac_ext
   14122 fi
   14123 
   14124 
   14125 		CFLAGS="$xorg_testset_save_CFLAGS"
   14126 
   14127 		eval supported=\$$cacheid
   14128 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14129 $as_echo "$supported" >&6; }
   14130 		if test "$supported" = "yes" ; then
   14131 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   14132 			found="yes"
   14133 		fi
   14134 	fi
   14135 
   14136 
   14137 
   14138 
   14139 
   14140 
   14141 
   14142 
   14143 
   14144 
   14145 
   14146 
   14147 
   14148 
   14149 
   14150 xorg_testset_save_CFLAGS="$CFLAGS"
   14151 
   14152 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14153 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14154 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14155 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14156 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14157   $as_echo_n "(cached) " >&6
   14158 else
   14159   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14160 /* end confdefs.h.  */
   14161 int i;
   14162 _ACEOF
   14163 if ac_fn_c_try_compile "$LINENO"; then :
   14164   xorg_cv_cc_flag_unknown_warning_option=yes
   14165 else
   14166   xorg_cv_cc_flag_unknown_warning_option=no
   14167 fi
   14168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14169 fi
   14170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14171 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14172 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14173 	CFLAGS="$xorg_testset_save_CFLAGS"
   14174 fi
   14175 
   14176 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14177 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14178 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14179 	fi
   14180 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14181 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14182 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14183 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14184   $as_echo_n "(cached) " >&6
   14185 else
   14186   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14187 /* end confdefs.h.  */
   14188 int i;
   14189 _ACEOF
   14190 if ac_fn_c_try_compile "$LINENO"; then :
   14191   xorg_cv_cc_flag_unused_command_line_argument=yes
   14192 else
   14193   xorg_cv_cc_flag_unused_command_line_argument=no
   14194 fi
   14195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14196 fi
   14197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14198 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14199 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14200 	CFLAGS="$xorg_testset_save_CFLAGS"
   14201 fi
   14202 
   14203 found="no"
   14204 
   14205 	if test $found = "no" ; then
   14206 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14207 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14208 		fi
   14209 
   14210 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14211 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14212 		fi
   14213 
   14214 		CFLAGS="$CFLAGS -Werror=init-self"
   14215 
   14216 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   14217 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   14218 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=init-self" | $as_tr_sh`
   14219 		if eval \${$cacheid+:} false; then :
   14220   $as_echo_n "(cached) " >&6
   14221 else
   14222   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14223 /* end confdefs.h.  */
   14224 int i;
   14225 int
   14226 main ()
   14227 {
   14228 
   14229   ;
   14230   return 0;
   14231 }
   14232 _ACEOF
   14233 if ac_fn_c_try_link "$LINENO"; then :
   14234   eval $cacheid=yes
   14235 else
   14236   eval $cacheid=no
   14237 fi
   14238 rm -f core conftest.err conftest.$ac_objext \
   14239     conftest$ac_exeext conftest.$ac_ext
   14240 fi
   14241 
   14242 
   14243 		CFLAGS="$xorg_testset_save_CFLAGS"
   14244 
   14245 		eval supported=\$$cacheid
   14246 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14247 $as_echo "$supported" >&6; }
   14248 		if test "$supported" = "yes" ; then
   14249 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   14250 			found="yes"
   14251 		fi
   14252 	fi
   14253 
   14254 
   14255 
   14256 
   14257 
   14258 
   14259 
   14260 
   14261 
   14262 
   14263 
   14264 
   14265 
   14266 
   14267 
   14268 xorg_testset_save_CFLAGS="$CFLAGS"
   14269 
   14270 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14271 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14272 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14273 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14274 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14275   $as_echo_n "(cached) " >&6
   14276 else
   14277   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14278 /* end confdefs.h.  */
   14279 int i;
   14280 _ACEOF
   14281 if ac_fn_c_try_compile "$LINENO"; then :
   14282   xorg_cv_cc_flag_unknown_warning_option=yes
   14283 else
   14284   xorg_cv_cc_flag_unknown_warning_option=no
   14285 fi
   14286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14287 fi
   14288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14289 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14290 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14291 	CFLAGS="$xorg_testset_save_CFLAGS"
   14292 fi
   14293 
   14294 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14295 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14296 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14297 	fi
   14298 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14299 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14300 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14301 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14302   $as_echo_n "(cached) " >&6
   14303 else
   14304   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14305 /* end confdefs.h.  */
   14306 int i;
   14307 _ACEOF
   14308 if ac_fn_c_try_compile "$LINENO"; then :
   14309   xorg_cv_cc_flag_unused_command_line_argument=yes
   14310 else
   14311   xorg_cv_cc_flag_unused_command_line_argument=no
   14312 fi
   14313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14314 fi
   14315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14316 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14317 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14318 	CFLAGS="$xorg_testset_save_CFLAGS"
   14319 fi
   14320 
   14321 found="no"
   14322 
   14323 	if test $found = "no" ; then
   14324 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14325 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14326 		fi
   14327 
   14328 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14329 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14330 		fi
   14331 
   14332 		CFLAGS="$CFLAGS -Werror=main"
   14333 
   14334 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   14335 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   14336 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=main" | $as_tr_sh`
   14337 		if eval \${$cacheid+:} false; then :
   14338   $as_echo_n "(cached) " >&6
   14339 else
   14340   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14341 /* end confdefs.h.  */
   14342 int i;
   14343 int
   14344 main ()
   14345 {
   14346 
   14347   ;
   14348   return 0;
   14349 }
   14350 _ACEOF
   14351 if ac_fn_c_try_link "$LINENO"; then :
   14352   eval $cacheid=yes
   14353 else
   14354   eval $cacheid=no
   14355 fi
   14356 rm -f core conftest.err conftest.$ac_objext \
   14357     conftest$ac_exeext conftest.$ac_ext
   14358 fi
   14359 
   14360 
   14361 		CFLAGS="$xorg_testset_save_CFLAGS"
   14362 
   14363 		eval supported=\$$cacheid
   14364 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14365 $as_echo "$supported" >&6; }
   14366 		if test "$supported" = "yes" ; then
   14367 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   14368 			found="yes"
   14369 		fi
   14370 	fi
   14371 
   14372 
   14373 
   14374 
   14375 
   14376 
   14377 
   14378 
   14379 
   14380 
   14381 
   14382 
   14383 
   14384 
   14385 
   14386 xorg_testset_save_CFLAGS="$CFLAGS"
   14387 
   14388 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14389 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14390 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14391 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14392 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14393   $as_echo_n "(cached) " >&6
   14394 else
   14395   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14396 /* end confdefs.h.  */
   14397 int i;
   14398 _ACEOF
   14399 if ac_fn_c_try_compile "$LINENO"; then :
   14400   xorg_cv_cc_flag_unknown_warning_option=yes
   14401 else
   14402   xorg_cv_cc_flag_unknown_warning_option=no
   14403 fi
   14404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14405 fi
   14406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14407 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14408 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14409 	CFLAGS="$xorg_testset_save_CFLAGS"
   14410 fi
   14411 
   14412 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14413 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14414 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14415 	fi
   14416 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14417 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14418 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14419 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14420   $as_echo_n "(cached) " >&6
   14421 else
   14422   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14423 /* end confdefs.h.  */
   14424 int i;
   14425 _ACEOF
   14426 if ac_fn_c_try_compile "$LINENO"; then :
   14427   xorg_cv_cc_flag_unused_command_line_argument=yes
   14428 else
   14429   xorg_cv_cc_flag_unused_command_line_argument=no
   14430 fi
   14431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14432 fi
   14433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14434 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14435 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14436 	CFLAGS="$xorg_testset_save_CFLAGS"
   14437 fi
   14438 
   14439 found="no"
   14440 
   14441 	if test $found = "no" ; then
   14442 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14443 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14444 		fi
   14445 
   14446 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14447 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14448 		fi
   14449 
   14450 		CFLAGS="$CFLAGS -Werror=missing-braces"
   14451 
   14452 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   14453 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   14454 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=missing-braces" | $as_tr_sh`
   14455 		if eval \${$cacheid+:} false; then :
   14456   $as_echo_n "(cached) " >&6
   14457 else
   14458   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14459 /* end confdefs.h.  */
   14460 int i;
   14461 int
   14462 main ()
   14463 {
   14464 
   14465   ;
   14466   return 0;
   14467 }
   14468 _ACEOF
   14469 if ac_fn_c_try_link "$LINENO"; then :
   14470   eval $cacheid=yes
   14471 else
   14472   eval $cacheid=no
   14473 fi
   14474 rm -f core conftest.err conftest.$ac_objext \
   14475     conftest$ac_exeext conftest.$ac_ext
   14476 fi
   14477 
   14478 
   14479 		CFLAGS="$xorg_testset_save_CFLAGS"
   14480 
   14481 		eval supported=\$$cacheid
   14482 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14483 $as_echo "$supported" >&6; }
   14484 		if test "$supported" = "yes" ; then
   14485 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   14486 			found="yes"
   14487 		fi
   14488 	fi
   14489 
   14490 
   14491 
   14492 
   14493 
   14494 
   14495 
   14496 
   14497 
   14498 
   14499 
   14500 
   14501 
   14502 
   14503 
   14504 xorg_testset_save_CFLAGS="$CFLAGS"
   14505 
   14506 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14507 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14508 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14509 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14510 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14511   $as_echo_n "(cached) " >&6
   14512 else
   14513   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14514 /* end confdefs.h.  */
   14515 int i;
   14516 _ACEOF
   14517 if ac_fn_c_try_compile "$LINENO"; then :
   14518   xorg_cv_cc_flag_unknown_warning_option=yes
   14519 else
   14520   xorg_cv_cc_flag_unknown_warning_option=no
   14521 fi
   14522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14523 fi
   14524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14525 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14526 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14527 	CFLAGS="$xorg_testset_save_CFLAGS"
   14528 fi
   14529 
   14530 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14531 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14532 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14533 	fi
   14534 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14535 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14536 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14537 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14538   $as_echo_n "(cached) " >&6
   14539 else
   14540   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14541 /* end confdefs.h.  */
   14542 int i;
   14543 _ACEOF
   14544 if ac_fn_c_try_compile "$LINENO"; then :
   14545   xorg_cv_cc_flag_unused_command_line_argument=yes
   14546 else
   14547   xorg_cv_cc_flag_unused_command_line_argument=no
   14548 fi
   14549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14550 fi
   14551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14552 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14553 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14554 	CFLAGS="$xorg_testset_save_CFLAGS"
   14555 fi
   14556 
   14557 found="no"
   14558 
   14559 	if test $found = "no" ; then
   14560 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14561 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14562 		fi
   14563 
   14564 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14565 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14566 		fi
   14567 
   14568 		CFLAGS="$CFLAGS -Werror=sequence-point"
   14569 
   14570 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   14571 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   14572 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=sequence-point" | $as_tr_sh`
   14573 		if eval \${$cacheid+:} false; then :
   14574   $as_echo_n "(cached) " >&6
   14575 else
   14576   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14577 /* end confdefs.h.  */
   14578 int i;
   14579 int
   14580 main ()
   14581 {
   14582 
   14583   ;
   14584   return 0;
   14585 }
   14586 _ACEOF
   14587 if ac_fn_c_try_link "$LINENO"; then :
   14588   eval $cacheid=yes
   14589 else
   14590   eval $cacheid=no
   14591 fi
   14592 rm -f core conftest.err conftest.$ac_objext \
   14593     conftest$ac_exeext conftest.$ac_ext
   14594 fi
   14595 
   14596 
   14597 		CFLAGS="$xorg_testset_save_CFLAGS"
   14598 
   14599 		eval supported=\$$cacheid
   14600 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14601 $as_echo "$supported" >&6; }
   14602 		if test "$supported" = "yes" ; then
   14603 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   14604 			found="yes"
   14605 		fi
   14606 	fi
   14607 
   14608 
   14609 
   14610 
   14611 
   14612 
   14613 
   14614 
   14615 
   14616 
   14617 
   14618 
   14619 
   14620 
   14621 
   14622 xorg_testset_save_CFLAGS="$CFLAGS"
   14623 
   14624 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14625 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14626 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14627 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14628 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14629   $as_echo_n "(cached) " >&6
   14630 else
   14631   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14632 /* end confdefs.h.  */
   14633 int i;
   14634 _ACEOF
   14635 if ac_fn_c_try_compile "$LINENO"; then :
   14636   xorg_cv_cc_flag_unknown_warning_option=yes
   14637 else
   14638   xorg_cv_cc_flag_unknown_warning_option=no
   14639 fi
   14640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14641 fi
   14642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14643 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14644 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14645 	CFLAGS="$xorg_testset_save_CFLAGS"
   14646 fi
   14647 
   14648 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14649 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14650 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14651 	fi
   14652 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14653 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14654 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14655 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14656   $as_echo_n "(cached) " >&6
   14657 else
   14658   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14659 /* end confdefs.h.  */
   14660 int i;
   14661 _ACEOF
   14662 if ac_fn_c_try_compile "$LINENO"; then :
   14663   xorg_cv_cc_flag_unused_command_line_argument=yes
   14664 else
   14665   xorg_cv_cc_flag_unused_command_line_argument=no
   14666 fi
   14667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14668 fi
   14669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14670 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14671 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14672 	CFLAGS="$xorg_testset_save_CFLAGS"
   14673 fi
   14674 
   14675 found="no"
   14676 
   14677 	if test $found = "no" ; then
   14678 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14679 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14680 		fi
   14681 
   14682 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14683 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14684 		fi
   14685 
   14686 		CFLAGS="$CFLAGS -Werror=return-type"
   14687 
   14688 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   14689 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   14690 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=return-type" | $as_tr_sh`
   14691 		if eval \${$cacheid+:} false; then :
   14692   $as_echo_n "(cached) " >&6
   14693 else
   14694   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14695 /* end confdefs.h.  */
   14696 int i;
   14697 int
   14698 main ()
   14699 {
   14700 
   14701   ;
   14702   return 0;
   14703 }
   14704 _ACEOF
   14705 if ac_fn_c_try_link "$LINENO"; then :
   14706   eval $cacheid=yes
   14707 else
   14708   eval $cacheid=no
   14709 fi
   14710 rm -f core conftest.err conftest.$ac_objext \
   14711     conftest$ac_exeext conftest.$ac_ext
   14712 fi
   14713 
   14714 
   14715 		CFLAGS="$xorg_testset_save_CFLAGS"
   14716 
   14717 		eval supported=\$$cacheid
   14718 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14719 $as_echo "$supported" >&6; }
   14720 		if test "$supported" = "yes" ; then
   14721 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   14722 			found="yes"
   14723 		fi
   14724 	fi
   14725 
   14726 	if test $found = "no" ; then
   14727 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14728 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14729 		fi
   14730 
   14731 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14732 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14733 		fi
   14734 
   14735 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   14736 
   14737 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   14738 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   14739 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_FUNC_HAS_NO_RETURN_STMT" | $as_tr_sh`
   14740 		if eval \${$cacheid+:} false; then :
   14741   $as_echo_n "(cached) " >&6
   14742 else
   14743   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14744 /* end confdefs.h.  */
   14745 int i;
   14746 int
   14747 main ()
   14748 {
   14749 
   14750   ;
   14751   return 0;
   14752 }
   14753 _ACEOF
   14754 if ac_fn_c_try_link "$LINENO"; then :
   14755   eval $cacheid=yes
   14756 else
   14757   eval $cacheid=no
   14758 fi
   14759 rm -f core conftest.err conftest.$ac_objext \
   14760     conftest$ac_exeext conftest.$ac_ext
   14761 fi
   14762 
   14763 
   14764 		CFLAGS="$xorg_testset_save_CFLAGS"
   14765 
   14766 		eval supported=\$$cacheid
   14767 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14768 $as_echo "$supported" >&6; }
   14769 		if test "$supported" = "yes" ; then
   14770 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   14771 			found="yes"
   14772 		fi
   14773 	fi
   14774 
   14775 
   14776 
   14777 
   14778 
   14779 
   14780 
   14781 
   14782 
   14783 
   14784 
   14785 
   14786 
   14787 
   14788 
   14789 xorg_testset_save_CFLAGS="$CFLAGS"
   14790 
   14791 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14792 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14793 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14794 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14795 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14796   $as_echo_n "(cached) " >&6
   14797 else
   14798   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14799 /* end confdefs.h.  */
   14800 int i;
   14801 _ACEOF
   14802 if ac_fn_c_try_compile "$LINENO"; then :
   14803   xorg_cv_cc_flag_unknown_warning_option=yes
   14804 else
   14805   xorg_cv_cc_flag_unknown_warning_option=no
   14806 fi
   14807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14808 fi
   14809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14810 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14811 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14812 	CFLAGS="$xorg_testset_save_CFLAGS"
   14813 fi
   14814 
   14815 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14816 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14817 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14818 	fi
   14819 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14820 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14821 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14822 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14823   $as_echo_n "(cached) " >&6
   14824 else
   14825   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14826 /* end confdefs.h.  */
   14827 int i;
   14828 _ACEOF
   14829 if ac_fn_c_try_compile "$LINENO"; then :
   14830   xorg_cv_cc_flag_unused_command_line_argument=yes
   14831 else
   14832   xorg_cv_cc_flag_unused_command_line_argument=no
   14833 fi
   14834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14835 fi
   14836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14837 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14838 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14839 	CFLAGS="$xorg_testset_save_CFLAGS"
   14840 fi
   14841 
   14842 found="no"
   14843 
   14844 	if test $found = "no" ; then
   14845 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14846 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14847 		fi
   14848 
   14849 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14850 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14851 		fi
   14852 
   14853 		CFLAGS="$CFLAGS -Werror=trigraphs"
   14854 
   14855 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   14856 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   14857 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=trigraphs" | $as_tr_sh`
   14858 		if eval \${$cacheid+:} false; then :
   14859   $as_echo_n "(cached) " >&6
   14860 else
   14861   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14862 /* end confdefs.h.  */
   14863 int i;
   14864 int
   14865 main ()
   14866 {
   14867 
   14868   ;
   14869   return 0;
   14870 }
   14871 _ACEOF
   14872 if ac_fn_c_try_link "$LINENO"; then :
   14873   eval $cacheid=yes
   14874 else
   14875   eval $cacheid=no
   14876 fi
   14877 rm -f core conftest.err conftest.$ac_objext \
   14878     conftest$ac_exeext conftest.$ac_ext
   14879 fi
   14880 
   14881 
   14882 		CFLAGS="$xorg_testset_save_CFLAGS"
   14883 
   14884 		eval supported=\$$cacheid
   14885 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14886 $as_echo "$supported" >&6; }
   14887 		if test "$supported" = "yes" ; then
   14888 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   14889 			found="yes"
   14890 		fi
   14891 	fi
   14892 
   14893 
   14894 
   14895 
   14896 
   14897 
   14898 
   14899 
   14900 
   14901 
   14902 
   14903 
   14904 
   14905 
   14906 
   14907 xorg_testset_save_CFLAGS="$CFLAGS"
   14908 
   14909 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14910 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14911 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14912 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14913 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14914   $as_echo_n "(cached) " >&6
   14915 else
   14916   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14917 /* end confdefs.h.  */
   14918 int i;
   14919 _ACEOF
   14920 if ac_fn_c_try_compile "$LINENO"; then :
   14921   xorg_cv_cc_flag_unknown_warning_option=yes
   14922 else
   14923   xorg_cv_cc_flag_unknown_warning_option=no
   14924 fi
   14925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14926 fi
   14927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14928 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14929 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14930 	CFLAGS="$xorg_testset_save_CFLAGS"
   14931 fi
   14932 
   14933 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14934 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14935 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14936 	fi
   14937 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14938 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14939 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14940 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14941   $as_echo_n "(cached) " >&6
   14942 else
   14943   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14944 /* end confdefs.h.  */
   14945 int i;
   14946 _ACEOF
   14947 if ac_fn_c_try_compile "$LINENO"; then :
   14948   xorg_cv_cc_flag_unused_command_line_argument=yes
   14949 else
   14950   xorg_cv_cc_flag_unused_command_line_argument=no
   14951 fi
   14952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14953 fi
   14954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14955 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14956 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14957 	CFLAGS="$xorg_testset_save_CFLAGS"
   14958 fi
   14959 
   14960 found="no"
   14961 
   14962 	if test $found = "no" ; then
   14963 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14964 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14965 		fi
   14966 
   14967 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14968 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14969 		fi
   14970 
   14971 		CFLAGS="$CFLAGS -Werror=array-bounds"
   14972 
   14973 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   14974 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   14975 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=array-bounds" | $as_tr_sh`
   14976 		if eval \${$cacheid+:} false; then :
   14977   $as_echo_n "(cached) " >&6
   14978 else
   14979   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14980 /* end confdefs.h.  */
   14981 int i;
   14982 int
   14983 main ()
   14984 {
   14985 
   14986   ;
   14987   return 0;
   14988 }
   14989 _ACEOF
   14990 if ac_fn_c_try_link "$LINENO"; then :
   14991   eval $cacheid=yes
   14992 else
   14993   eval $cacheid=no
   14994 fi
   14995 rm -f core conftest.err conftest.$ac_objext \
   14996     conftest$ac_exeext conftest.$ac_ext
   14997 fi
   14998 
   14999 
   15000 		CFLAGS="$xorg_testset_save_CFLAGS"
   15001 
   15002 		eval supported=\$$cacheid
   15003 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15004 $as_echo "$supported" >&6; }
   15005 		if test "$supported" = "yes" ; then
   15006 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   15007 			found="yes"
   15008 		fi
   15009 	fi
   15010 
   15011 
   15012 
   15013 
   15014 
   15015 
   15016 
   15017 
   15018 
   15019 
   15020 
   15021 
   15022 
   15023 
   15024 
   15025 xorg_testset_save_CFLAGS="$CFLAGS"
   15026 
   15027 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15028 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15029 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15030 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15031 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15032   $as_echo_n "(cached) " >&6
   15033 else
   15034   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15035 /* end confdefs.h.  */
   15036 int i;
   15037 _ACEOF
   15038 if ac_fn_c_try_compile "$LINENO"; then :
   15039   xorg_cv_cc_flag_unknown_warning_option=yes
   15040 else
   15041   xorg_cv_cc_flag_unknown_warning_option=no
   15042 fi
   15043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15044 fi
   15045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15046 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15047 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15048 	CFLAGS="$xorg_testset_save_CFLAGS"
   15049 fi
   15050 
   15051 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15052 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15053 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15054 	fi
   15055 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15056 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15057 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15058 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15059   $as_echo_n "(cached) " >&6
   15060 else
   15061   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15062 /* end confdefs.h.  */
   15063 int i;
   15064 _ACEOF
   15065 if ac_fn_c_try_compile "$LINENO"; then :
   15066   xorg_cv_cc_flag_unused_command_line_argument=yes
   15067 else
   15068   xorg_cv_cc_flag_unused_command_line_argument=no
   15069 fi
   15070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15071 fi
   15072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15073 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15074 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15075 	CFLAGS="$xorg_testset_save_CFLAGS"
   15076 fi
   15077 
   15078 found="no"
   15079 
   15080 	if test $found = "no" ; then
   15081 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15082 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15083 		fi
   15084 
   15085 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15086 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15087 		fi
   15088 
   15089 		CFLAGS="$CFLAGS -Werror=write-strings"
   15090 
   15091 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   15092 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   15093 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=write-strings" | $as_tr_sh`
   15094 		if eval \${$cacheid+:} false; then :
   15095   $as_echo_n "(cached) " >&6
   15096 else
   15097   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15098 /* end confdefs.h.  */
   15099 int i;
   15100 int
   15101 main ()
   15102 {
   15103 
   15104   ;
   15105   return 0;
   15106 }
   15107 _ACEOF
   15108 if ac_fn_c_try_link "$LINENO"; then :
   15109   eval $cacheid=yes
   15110 else
   15111   eval $cacheid=no
   15112 fi
   15113 rm -f core conftest.err conftest.$ac_objext \
   15114     conftest$ac_exeext conftest.$ac_ext
   15115 fi
   15116 
   15117 
   15118 		CFLAGS="$xorg_testset_save_CFLAGS"
   15119 
   15120 		eval supported=\$$cacheid
   15121 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15122 $as_echo "$supported" >&6; }
   15123 		if test "$supported" = "yes" ; then
   15124 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   15125 			found="yes"
   15126 		fi
   15127 	fi
   15128 
   15129 
   15130 
   15131 
   15132 
   15133 
   15134 
   15135 
   15136 
   15137 
   15138 
   15139 
   15140 
   15141 
   15142 
   15143 xorg_testset_save_CFLAGS="$CFLAGS"
   15144 
   15145 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15146 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15147 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15148 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15149 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15150   $as_echo_n "(cached) " >&6
   15151 else
   15152   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15153 /* end confdefs.h.  */
   15154 int i;
   15155 _ACEOF
   15156 if ac_fn_c_try_compile "$LINENO"; then :
   15157   xorg_cv_cc_flag_unknown_warning_option=yes
   15158 else
   15159   xorg_cv_cc_flag_unknown_warning_option=no
   15160 fi
   15161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15162 fi
   15163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15164 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15165 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15166 	CFLAGS="$xorg_testset_save_CFLAGS"
   15167 fi
   15168 
   15169 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15170 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15171 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15172 	fi
   15173 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15174 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15175 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15176 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15177   $as_echo_n "(cached) " >&6
   15178 else
   15179   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15180 /* end confdefs.h.  */
   15181 int i;
   15182 _ACEOF
   15183 if ac_fn_c_try_compile "$LINENO"; then :
   15184   xorg_cv_cc_flag_unused_command_line_argument=yes
   15185 else
   15186   xorg_cv_cc_flag_unused_command_line_argument=no
   15187 fi
   15188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15189 fi
   15190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15191 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15192 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15193 	CFLAGS="$xorg_testset_save_CFLAGS"
   15194 fi
   15195 
   15196 found="no"
   15197 
   15198 	if test $found = "no" ; then
   15199 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15200 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15201 		fi
   15202 
   15203 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15204 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15205 		fi
   15206 
   15207 		CFLAGS="$CFLAGS -Werror=address"
   15208 
   15209 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   15210 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   15211 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=address" | $as_tr_sh`
   15212 		if eval \${$cacheid+:} false; then :
   15213   $as_echo_n "(cached) " >&6
   15214 else
   15215   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15216 /* end confdefs.h.  */
   15217 int i;
   15218 int
   15219 main ()
   15220 {
   15221 
   15222   ;
   15223   return 0;
   15224 }
   15225 _ACEOF
   15226 if ac_fn_c_try_link "$LINENO"; then :
   15227   eval $cacheid=yes
   15228 else
   15229   eval $cacheid=no
   15230 fi
   15231 rm -f core conftest.err conftest.$ac_objext \
   15232     conftest$ac_exeext conftest.$ac_ext
   15233 fi
   15234 
   15235 
   15236 		CFLAGS="$xorg_testset_save_CFLAGS"
   15237 
   15238 		eval supported=\$$cacheid
   15239 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15240 $as_echo "$supported" >&6; }
   15241 		if test "$supported" = "yes" ; then
   15242 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   15243 			found="yes"
   15244 		fi
   15245 	fi
   15246 
   15247 
   15248 
   15249 
   15250 
   15251 
   15252 
   15253 
   15254 
   15255 
   15256 
   15257 
   15258 
   15259 
   15260 
   15261 xorg_testset_save_CFLAGS="$CFLAGS"
   15262 
   15263 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15264 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15265 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15266 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15267 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15268   $as_echo_n "(cached) " >&6
   15269 else
   15270   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15271 /* end confdefs.h.  */
   15272 int i;
   15273 _ACEOF
   15274 if ac_fn_c_try_compile "$LINENO"; then :
   15275   xorg_cv_cc_flag_unknown_warning_option=yes
   15276 else
   15277   xorg_cv_cc_flag_unknown_warning_option=no
   15278 fi
   15279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15280 fi
   15281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15282 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15283 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15284 	CFLAGS="$xorg_testset_save_CFLAGS"
   15285 fi
   15286 
   15287 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15288 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15289 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15290 	fi
   15291 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15292 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15293 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15294 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15295   $as_echo_n "(cached) " >&6
   15296 else
   15297   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15298 /* end confdefs.h.  */
   15299 int i;
   15300 _ACEOF
   15301 if ac_fn_c_try_compile "$LINENO"; then :
   15302   xorg_cv_cc_flag_unused_command_line_argument=yes
   15303 else
   15304   xorg_cv_cc_flag_unused_command_line_argument=no
   15305 fi
   15306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15307 fi
   15308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15309 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15310 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15311 	CFLAGS="$xorg_testset_save_CFLAGS"
   15312 fi
   15313 
   15314 found="no"
   15315 
   15316 	if test $found = "no" ; then
   15317 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15318 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15319 		fi
   15320 
   15321 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15322 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15323 		fi
   15324 
   15325 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   15326 
   15327 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   15328 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   15329 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=int-to-pointer-cast" | $as_tr_sh`
   15330 		if eval \${$cacheid+:} false; then :
   15331   $as_echo_n "(cached) " >&6
   15332 else
   15333   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15334 /* end confdefs.h.  */
   15335 int i;
   15336 int
   15337 main ()
   15338 {
   15339 
   15340   ;
   15341   return 0;
   15342 }
   15343 _ACEOF
   15344 if ac_fn_c_try_link "$LINENO"; then :
   15345   eval $cacheid=yes
   15346 else
   15347   eval $cacheid=no
   15348 fi
   15349 rm -f core conftest.err conftest.$ac_objext \
   15350     conftest$ac_exeext conftest.$ac_ext
   15351 fi
   15352 
   15353 
   15354 		CFLAGS="$xorg_testset_save_CFLAGS"
   15355 
   15356 		eval supported=\$$cacheid
   15357 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15358 $as_echo "$supported" >&6; }
   15359 		if test "$supported" = "yes" ; then
   15360 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   15361 			found="yes"
   15362 		fi
   15363 	fi
   15364 
   15365 	if test $found = "no" ; then
   15366 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15367 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15368 		fi
   15369 
   15370 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15371 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15372 		fi
   15373 
   15374 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15375 
   15376 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   15377 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   15378 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_BAD_PTR_INT_COMBINATION" | $as_tr_sh`
   15379 		if eval \${$cacheid+:} false; then :
   15380   $as_echo_n "(cached) " >&6
   15381 else
   15382   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15383 /* end confdefs.h.  */
   15384 int i;
   15385 int
   15386 main ()
   15387 {
   15388 
   15389   ;
   15390   return 0;
   15391 }
   15392 _ACEOF
   15393 if ac_fn_c_try_link "$LINENO"; then :
   15394   eval $cacheid=yes
   15395 else
   15396   eval $cacheid=no
   15397 fi
   15398 rm -f core conftest.err conftest.$ac_objext \
   15399     conftest$ac_exeext conftest.$ac_ext
   15400 fi
   15401 
   15402 
   15403 		CFLAGS="$xorg_testset_save_CFLAGS"
   15404 
   15405 		eval supported=\$$cacheid
   15406 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15407 $as_echo "$supported" >&6; }
   15408 		if test "$supported" = "yes" ; then
   15409 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15410 			found="yes"
   15411 		fi
   15412 	fi
   15413 
   15414 
   15415 
   15416 
   15417 
   15418 
   15419 
   15420 
   15421 
   15422 
   15423 
   15424 
   15425 
   15426 
   15427 
   15428 xorg_testset_save_CFLAGS="$CFLAGS"
   15429 
   15430 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15431 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15432 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15433 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15434 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15435   $as_echo_n "(cached) " >&6
   15436 else
   15437   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15438 /* end confdefs.h.  */
   15439 int i;
   15440 _ACEOF
   15441 if ac_fn_c_try_compile "$LINENO"; then :
   15442   xorg_cv_cc_flag_unknown_warning_option=yes
   15443 else
   15444   xorg_cv_cc_flag_unknown_warning_option=no
   15445 fi
   15446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15447 fi
   15448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15449 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15450 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15451 	CFLAGS="$xorg_testset_save_CFLAGS"
   15452 fi
   15453 
   15454 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15455 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15456 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15457 	fi
   15458 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15459 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15460 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15461 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15462   $as_echo_n "(cached) " >&6
   15463 else
   15464   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15465 /* end confdefs.h.  */
   15466 int i;
   15467 _ACEOF
   15468 if ac_fn_c_try_compile "$LINENO"; then :
   15469   xorg_cv_cc_flag_unused_command_line_argument=yes
   15470 else
   15471   xorg_cv_cc_flag_unused_command_line_argument=no
   15472 fi
   15473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15474 fi
   15475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15476 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15477 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15478 	CFLAGS="$xorg_testset_save_CFLAGS"
   15479 fi
   15480 
   15481 found="no"
   15482 
   15483 	if test $found = "no" ; then
   15484 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15485 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15486 		fi
   15487 
   15488 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15489 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15490 		fi
   15491 
   15492 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   15493 
   15494 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   15495 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   15496 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=pointer-to-int-cast" | $as_tr_sh`
   15497 		if eval \${$cacheid+:} false; then :
   15498   $as_echo_n "(cached) " >&6
   15499 else
   15500   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15501 /* end confdefs.h.  */
   15502 int i;
   15503 int
   15504 main ()
   15505 {
   15506 
   15507   ;
   15508   return 0;
   15509 }
   15510 _ACEOF
   15511 if ac_fn_c_try_link "$LINENO"; then :
   15512   eval $cacheid=yes
   15513 else
   15514   eval $cacheid=no
   15515 fi
   15516 rm -f core conftest.err conftest.$ac_objext \
   15517     conftest$ac_exeext conftest.$ac_ext
   15518 fi
   15519 
   15520 
   15521 		CFLAGS="$xorg_testset_save_CFLAGS"
   15522 
   15523 		eval supported=\$$cacheid
   15524 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15525 $as_echo "$supported" >&6; }
   15526 		if test "$supported" = "yes" ; then
   15527 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   15528 			found="yes"
   15529 		fi
   15530 	fi
   15531 
   15532  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   15533 else
   15534 { $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
   15535 $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;}
   15536 
   15537 
   15538 
   15539 
   15540 
   15541 
   15542 
   15543 
   15544 
   15545 
   15546 
   15547 
   15548 
   15549 xorg_testset_save_CFLAGS="$CFLAGS"
   15550 
   15551 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15552 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15553 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15554 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15555 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15556   $as_echo_n "(cached) " >&6
   15557 else
   15558   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15559 /* end confdefs.h.  */
   15560 int i;
   15561 _ACEOF
   15562 if ac_fn_c_try_compile "$LINENO"; then :
   15563   xorg_cv_cc_flag_unknown_warning_option=yes
   15564 else
   15565   xorg_cv_cc_flag_unknown_warning_option=no
   15566 fi
   15567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15568 fi
   15569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15570 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15571 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15572 	CFLAGS="$xorg_testset_save_CFLAGS"
   15573 fi
   15574 
   15575 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15576 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15577 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15578 	fi
   15579 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15580 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15581 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15582 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15583   $as_echo_n "(cached) " >&6
   15584 else
   15585   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15586 /* end confdefs.h.  */
   15587 int i;
   15588 _ACEOF
   15589 if ac_fn_c_try_compile "$LINENO"; then :
   15590   xorg_cv_cc_flag_unused_command_line_argument=yes
   15591 else
   15592   xorg_cv_cc_flag_unused_command_line_argument=no
   15593 fi
   15594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15595 fi
   15596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15597 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15598 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15599 	CFLAGS="$xorg_testset_save_CFLAGS"
   15600 fi
   15601 
   15602 found="no"
   15603 
   15604 	if test $found = "no" ; then
   15605 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15606 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15607 		fi
   15608 
   15609 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15610 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15611 		fi
   15612 
   15613 		CFLAGS="$CFLAGS -Wimplicit"
   15614 
   15615 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   15616 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   15617 		cacheid=xorg_cv_cc_flag__Wimplicit
   15618 		if eval \${$cacheid+:} false; then :
   15619   $as_echo_n "(cached) " >&6
   15620 else
   15621   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15622 /* end confdefs.h.  */
   15623 int i;
   15624 int
   15625 main ()
   15626 {
   15627 
   15628   ;
   15629   return 0;
   15630 }
   15631 _ACEOF
   15632 if ac_fn_c_try_link "$LINENO"; then :
   15633   eval $cacheid=yes
   15634 else
   15635   eval $cacheid=no
   15636 fi
   15637 rm -f core conftest.err conftest.$ac_objext \
   15638     conftest$ac_exeext conftest.$ac_ext
   15639 fi
   15640 
   15641 
   15642 		CFLAGS="$xorg_testset_save_CFLAGS"
   15643 
   15644 		eval supported=\$$cacheid
   15645 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15646 $as_echo "$supported" >&6; }
   15647 		if test "$supported" = "yes" ; then
   15648 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   15649 			found="yes"
   15650 		fi
   15651 	fi
   15652 
   15653 
   15654 
   15655 
   15656 
   15657 
   15658 
   15659 
   15660 
   15661 
   15662 
   15663 
   15664 
   15665 
   15666 
   15667 xorg_testset_save_CFLAGS="$CFLAGS"
   15668 
   15669 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15670 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15671 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15672 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15673 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15674   $as_echo_n "(cached) " >&6
   15675 else
   15676   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15677 /* end confdefs.h.  */
   15678 int i;
   15679 _ACEOF
   15680 if ac_fn_c_try_compile "$LINENO"; then :
   15681   xorg_cv_cc_flag_unknown_warning_option=yes
   15682 else
   15683   xorg_cv_cc_flag_unknown_warning_option=no
   15684 fi
   15685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15686 fi
   15687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15688 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15689 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15690 	CFLAGS="$xorg_testset_save_CFLAGS"
   15691 fi
   15692 
   15693 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15694 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15695 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15696 	fi
   15697 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15698 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15699 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15700 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15701   $as_echo_n "(cached) " >&6
   15702 else
   15703   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15704 /* end confdefs.h.  */
   15705 int i;
   15706 _ACEOF
   15707 if ac_fn_c_try_compile "$LINENO"; then :
   15708   xorg_cv_cc_flag_unused_command_line_argument=yes
   15709 else
   15710   xorg_cv_cc_flag_unused_command_line_argument=no
   15711 fi
   15712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15713 fi
   15714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15715 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15716 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15717 	CFLAGS="$xorg_testset_save_CFLAGS"
   15718 fi
   15719 
   15720 found="no"
   15721 
   15722 	if test $found = "no" ; then
   15723 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15724 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15725 		fi
   15726 
   15727 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15728 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15729 		fi
   15730 
   15731 		CFLAGS="$CFLAGS -Wnonnull"
   15732 
   15733 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   15734 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   15735 		cacheid=xorg_cv_cc_flag__Wnonnull
   15736 		if eval \${$cacheid+:} false; then :
   15737   $as_echo_n "(cached) " >&6
   15738 else
   15739   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15740 /* end confdefs.h.  */
   15741 int i;
   15742 int
   15743 main ()
   15744 {
   15745 
   15746   ;
   15747   return 0;
   15748 }
   15749 _ACEOF
   15750 if ac_fn_c_try_link "$LINENO"; then :
   15751   eval $cacheid=yes
   15752 else
   15753   eval $cacheid=no
   15754 fi
   15755 rm -f core conftest.err conftest.$ac_objext \
   15756     conftest$ac_exeext conftest.$ac_ext
   15757 fi
   15758 
   15759 
   15760 		CFLAGS="$xorg_testset_save_CFLAGS"
   15761 
   15762 		eval supported=\$$cacheid
   15763 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15764 $as_echo "$supported" >&6; }
   15765 		if test "$supported" = "yes" ; then
   15766 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   15767 			found="yes"
   15768 		fi
   15769 	fi
   15770 
   15771 
   15772 
   15773 
   15774 
   15775 
   15776 
   15777 
   15778 
   15779 
   15780 
   15781 
   15782 
   15783 
   15784 
   15785 xorg_testset_save_CFLAGS="$CFLAGS"
   15786 
   15787 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15788 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15789 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15790 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15791 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15792   $as_echo_n "(cached) " >&6
   15793 else
   15794   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15795 /* end confdefs.h.  */
   15796 int i;
   15797 _ACEOF
   15798 if ac_fn_c_try_compile "$LINENO"; then :
   15799   xorg_cv_cc_flag_unknown_warning_option=yes
   15800 else
   15801   xorg_cv_cc_flag_unknown_warning_option=no
   15802 fi
   15803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15804 fi
   15805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15806 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15807 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15808 	CFLAGS="$xorg_testset_save_CFLAGS"
   15809 fi
   15810 
   15811 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15812 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15813 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15814 	fi
   15815 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15816 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15817 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15818 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15819   $as_echo_n "(cached) " >&6
   15820 else
   15821   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15822 /* end confdefs.h.  */
   15823 int i;
   15824 _ACEOF
   15825 if ac_fn_c_try_compile "$LINENO"; then :
   15826   xorg_cv_cc_flag_unused_command_line_argument=yes
   15827 else
   15828   xorg_cv_cc_flag_unused_command_line_argument=no
   15829 fi
   15830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15831 fi
   15832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15833 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15834 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15835 	CFLAGS="$xorg_testset_save_CFLAGS"
   15836 fi
   15837 
   15838 found="no"
   15839 
   15840 	if test $found = "no" ; then
   15841 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15842 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15843 		fi
   15844 
   15845 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15846 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15847 		fi
   15848 
   15849 		CFLAGS="$CFLAGS -Winit-self"
   15850 
   15851 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   15852 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   15853 		cacheid=xorg_cv_cc_flag__Winit_self
   15854 		if eval \${$cacheid+:} false; then :
   15855   $as_echo_n "(cached) " >&6
   15856 else
   15857   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15858 /* end confdefs.h.  */
   15859 int i;
   15860 int
   15861 main ()
   15862 {
   15863 
   15864   ;
   15865   return 0;
   15866 }
   15867 _ACEOF
   15868 if ac_fn_c_try_link "$LINENO"; then :
   15869   eval $cacheid=yes
   15870 else
   15871   eval $cacheid=no
   15872 fi
   15873 rm -f core conftest.err conftest.$ac_objext \
   15874     conftest$ac_exeext conftest.$ac_ext
   15875 fi
   15876 
   15877 
   15878 		CFLAGS="$xorg_testset_save_CFLAGS"
   15879 
   15880 		eval supported=\$$cacheid
   15881 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15882 $as_echo "$supported" >&6; }
   15883 		if test "$supported" = "yes" ; then
   15884 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   15885 			found="yes"
   15886 		fi
   15887 	fi
   15888 
   15889 
   15890 
   15891 
   15892 
   15893 
   15894 
   15895 
   15896 
   15897 
   15898 
   15899 
   15900 
   15901 
   15902 
   15903 xorg_testset_save_CFLAGS="$CFLAGS"
   15904 
   15905 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15906 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15907 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15908 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15909 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15910   $as_echo_n "(cached) " >&6
   15911 else
   15912   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15913 /* end confdefs.h.  */
   15914 int i;
   15915 _ACEOF
   15916 if ac_fn_c_try_compile "$LINENO"; then :
   15917   xorg_cv_cc_flag_unknown_warning_option=yes
   15918 else
   15919   xorg_cv_cc_flag_unknown_warning_option=no
   15920 fi
   15921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15922 fi
   15923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15924 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15925 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15926 	CFLAGS="$xorg_testset_save_CFLAGS"
   15927 fi
   15928 
   15929 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15930 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15931 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15932 	fi
   15933 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15934 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15935 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15936 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15937   $as_echo_n "(cached) " >&6
   15938 else
   15939   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15940 /* end confdefs.h.  */
   15941 int i;
   15942 _ACEOF
   15943 if ac_fn_c_try_compile "$LINENO"; then :
   15944   xorg_cv_cc_flag_unused_command_line_argument=yes
   15945 else
   15946   xorg_cv_cc_flag_unused_command_line_argument=no
   15947 fi
   15948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15949 fi
   15950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15951 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15952 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15953 	CFLAGS="$xorg_testset_save_CFLAGS"
   15954 fi
   15955 
   15956 found="no"
   15957 
   15958 	if test $found = "no" ; then
   15959 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15960 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15961 		fi
   15962 
   15963 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15964 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15965 		fi
   15966 
   15967 		CFLAGS="$CFLAGS -Wmain"
   15968 
   15969 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   15970 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   15971 		cacheid=xorg_cv_cc_flag__Wmain
   15972 		if eval \${$cacheid+:} false; then :
   15973   $as_echo_n "(cached) " >&6
   15974 else
   15975   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15976 /* end confdefs.h.  */
   15977 int i;
   15978 int
   15979 main ()
   15980 {
   15981 
   15982   ;
   15983   return 0;
   15984 }
   15985 _ACEOF
   15986 if ac_fn_c_try_link "$LINENO"; then :
   15987   eval $cacheid=yes
   15988 else
   15989   eval $cacheid=no
   15990 fi
   15991 rm -f core conftest.err conftest.$ac_objext \
   15992     conftest$ac_exeext conftest.$ac_ext
   15993 fi
   15994 
   15995 
   15996 		CFLAGS="$xorg_testset_save_CFLAGS"
   15997 
   15998 		eval supported=\$$cacheid
   15999 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16000 $as_echo "$supported" >&6; }
   16001 		if test "$supported" = "yes" ; then
   16002 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   16003 			found="yes"
   16004 		fi
   16005 	fi
   16006 
   16007 
   16008 
   16009 
   16010 
   16011 
   16012 
   16013 
   16014 
   16015 
   16016 
   16017 
   16018 
   16019 
   16020 
   16021 xorg_testset_save_CFLAGS="$CFLAGS"
   16022 
   16023 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16024 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16025 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16026 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16027 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16028   $as_echo_n "(cached) " >&6
   16029 else
   16030   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16031 /* end confdefs.h.  */
   16032 int i;
   16033 _ACEOF
   16034 if ac_fn_c_try_compile "$LINENO"; then :
   16035   xorg_cv_cc_flag_unknown_warning_option=yes
   16036 else
   16037   xorg_cv_cc_flag_unknown_warning_option=no
   16038 fi
   16039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16040 fi
   16041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16042 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16043 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16044 	CFLAGS="$xorg_testset_save_CFLAGS"
   16045 fi
   16046 
   16047 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16048 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16049 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16050 	fi
   16051 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16052 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16053 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16054 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16055   $as_echo_n "(cached) " >&6
   16056 else
   16057   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16058 /* end confdefs.h.  */
   16059 int i;
   16060 _ACEOF
   16061 if ac_fn_c_try_compile "$LINENO"; then :
   16062   xorg_cv_cc_flag_unused_command_line_argument=yes
   16063 else
   16064   xorg_cv_cc_flag_unused_command_line_argument=no
   16065 fi
   16066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16067 fi
   16068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16069 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16070 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16071 	CFLAGS="$xorg_testset_save_CFLAGS"
   16072 fi
   16073 
   16074 found="no"
   16075 
   16076 	if test $found = "no" ; then
   16077 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16078 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16079 		fi
   16080 
   16081 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16082 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16083 		fi
   16084 
   16085 		CFLAGS="$CFLAGS -Wmissing-braces"
   16086 
   16087 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   16088 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   16089 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   16090 		if eval \${$cacheid+:} false; then :
   16091   $as_echo_n "(cached) " >&6
   16092 else
   16093   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16094 /* end confdefs.h.  */
   16095 int i;
   16096 int
   16097 main ()
   16098 {
   16099 
   16100   ;
   16101   return 0;
   16102 }
   16103 _ACEOF
   16104 if ac_fn_c_try_link "$LINENO"; then :
   16105   eval $cacheid=yes
   16106 else
   16107   eval $cacheid=no
   16108 fi
   16109 rm -f core conftest.err conftest.$ac_objext \
   16110     conftest$ac_exeext conftest.$ac_ext
   16111 fi
   16112 
   16113 
   16114 		CFLAGS="$xorg_testset_save_CFLAGS"
   16115 
   16116 		eval supported=\$$cacheid
   16117 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16118 $as_echo "$supported" >&6; }
   16119 		if test "$supported" = "yes" ; then
   16120 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   16121 			found="yes"
   16122 		fi
   16123 	fi
   16124 
   16125 
   16126 
   16127 
   16128 
   16129 
   16130 
   16131 
   16132 
   16133 
   16134 
   16135 
   16136 
   16137 
   16138 
   16139 xorg_testset_save_CFLAGS="$CFLAGS"
   16140 
   16141 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16142 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16143 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16144 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16145 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16146   $as_echo_n "(cached) " >&6
   16147 else
   16148   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16149 /* end confdefs.h.  */
   16150 int i;
   16151 _ACEOF
   16152 if ac_fn_c_try_compile "$LINENO"; then :
   16153   xorg_cv_cc_flag_unknown_warning_option=yes
   16154 else
   16155   xorg_cv_cc_flag_unknown_warning_option=no
   16156 fi
   16157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16158 fi
   16159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16160 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16161 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16162 	CFLAGS="$xorg_testset_save_CFLAGS"
   16163 fi
   16164 
   16165 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16166 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16167 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16168 	fi
   16169 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16170 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16171 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16172 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16173   $as_echo_n "(cached) " >&6
   16174 else
   16175   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16176 /* end confdefs.h.  */
   16177 int i;
   16178 _ACEOF
   16179 if ac_fn_c_try_compile "$LINENO"; then :
   16180   xorg_cv_cc_flag_unused_command_line_argument=yes
   16181 else
   16182   xorg_cv_cc_flag_unused_command_line_argument=no
   16183 fi
   16184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16185 fi
   16186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16187 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16188 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16189 	CFLAGS="$xorg_testset_save_CFLAGS"
   16190 fi
   16191 
   16192 found="no"
   16193 
   16194 	if test $found = "no" ; then
   16195 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16196 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16197 		fi
   16198 
   16199 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16200 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16201 		fi
   16202 
   16203 		CFLAGS="$CFLAGS -Wsequence-point"
   16204 
   16205 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   16206 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   16207 		cacheid=xorg_cv_cc_flag__Wsequence_point
   16208 		if eval \${$cacheid+:} false; then :
   16209   $as_echo_n "(cached) " >&6
   16210 else
   16211   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16212 /* end confdefs.h.  */
   16213 int i;
   16214 int
   16215 main ()
   16216 {
   16217 
   16218   ;
   16219   return 0;
   16220 }
   16221 _ACEOF
   16222 if ac_fn_c_try_link "$LINENO"; then :
   16223   eval $cacheid=yes
   16224 else
   16225   eval $cacheid=no
   16226 fi
   16227 rm -f core conftest.err conftest.$ac_objext \
   16228     conftest$ac_exeext conftest.$ac_ext
   16229 fi
   16230 
   16231 
   16232 		CFLAGS="$xorg_testset_save_CFLAGS"
   16233 
   16234 		eval supported=\$$cacheid
   16235 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16236 $as_echo "$supported" >&6; }
   16237 		if test "$supported" = "yes" ; then
   16238 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   16239 			found="yes"
   16240 		fi
   16241 	fi
   16242 
   16243 
   16244 
   16245 
   16246 
   16247 
   16248 
   16249 
   16250 
   16251 
   16252 
   16253 
   16254 
   16255 
   16256 
   16257 xorg_testset_save_CFLAGS="$CFLAGS"
   16258 
   16259 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16260 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16261 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16262 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16263 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16264   $as_echo_n "(cached) " >&6
   16265 else
   16266   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16267 /* end confdefs.h.  */
   16268 int i;
   16269 _ACEOF
   16270 if ac_fn_c_try_compile "$LINENO"; then :
   16271   xorg_cv_cc_flag_unknown_warning_option=yes
   16272 else
   16273   xorg_cv_cc_flag_unknown_warning_option=no
   16274 fi
   16275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16276 fi
   16277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16278 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16279 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16280 	CFLAGS="$xorg_testset_save_CFLAGS"
   16281 fi
   16282 
   16283 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16284 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16285 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16286 	fi
   16287 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16288 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16289 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16290 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16291   $as_echo_n "(cached) " >&6
   16292 else
   16293   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16294 /* end confdefs.h.  */
   16295 int i;
   16296 _ACEOF
   16297 if ac_fn_c_try_compile "$LINENO"; then :
   16298   xorg_cv_cc_flag_unused_command_line_argument=yes
   16299 else
   16300   xorg_cv_cc_flag_unused_command_line_argument=no
   16301 fi
   16302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16303 fi
   16304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16305 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16306 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16307 	CFLAGS="$xorg_testset_save_CFLAGS"
   16308 fi
   16309 
   16310 found="no"
   16311 
   16312 	if test $found = "no" ; then
   16313 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16314 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16315 		fi
   16316 
   16317 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16318 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16319 		fi
   16320 
   16321 		CFLAGS="$CFLAGS -Wreturn-type"
   16322 
   16323 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   16324 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   16325 		cacheid=xorg_cv_cc_flag__Wreturn_type
   16326 		if eval \${$cacheid+:} false; then :
   16327   $as_echo_n "(cached) " >&6
   16328 else
   16329   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16330 /* end confdefs.h.  */
   16331 int i;
   16332 int
   16333 main ()
   16334 {
   16335 
   16336   ;
   16337   return 0;
   16338 }
   16339 _ACEOF
   16340 if ac_fn_c_try_link "$LINENO"; then :
   16341   eval $cacheid=yes
   16342 else
   16343   eval $cacheid=no
   16344 fi
   16345 rm -f core conftest.err conftest.$ac_objext \
   16346     conftest$ac_exeext conftest.$ac_ext
   16347 fi
   16348 
   16349 
   16350 		CFLAGS="$xorg_testset_save_CFLAGS"
   16351 
   16352 		eval supported=\$$cacheid
   16353 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16354 $as_echo "$supported" >&6; }
   16355 		if test "$supported" = "yes" ; then
   16356 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   16357 			found="yes"
   16358 		fi
   16359 	fi
   16360 
   16361 
   16362 
   16363 
   16364 
   16365 
   16366 
   16367 
   16368 
   16369 
   16370 
   16371 
   16372 
   16373 
   16374 
   16375 xorg_testset_save_CFLAGS="$CFLAGS"
   16376 
   16377 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16378 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16379 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16380 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16381 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16382   $as_echo_n "(cached) " >&6
   16383 else
   16384   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16385 /* end confdefs.h.  */
   16386 int i;
   16387 _ACEOF
   16388 if ac_fn_c_try_compile "$LINENO"; then :
   16389   xorg_cv_cc_flag_unknown_warning_option=yes
   16390 else
   16391   xorg_cv_cc_flag_unknown_warning_option=no
   16392 fi
   16393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16394 fi
   16395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16396 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16397 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16398 	CFLAGS="$xorg_testset_save_CFLAGS"
   16399 fi
   16400 
   16401 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16402 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16403 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16404 	fi
   16405 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16406 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16407 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16408 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16409   $as_echo_n "(cached) " >&6
   16410 else
   16411   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16412 /* end confdefs.h.  */
   16413 int i;
   16414 _ACEOF
   16415 if ac_fn_c_try_compile "$LINENO"; then :
   16416   xorg_cv_cc_flag_unused_command_line_argument=yes
   16417 else
   16418   xorg_cv_cc_flag_unused_command_line_argument=no
   16419 fi
   16420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16421 fi
   16422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16423 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16424 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16425 	CFLAGS="$xorg_testset_save_CFLAGS"
   16426 fi
   16427 
   16428 found="no"
   16429 
   16430 	if test $found = "no" ; then
   16431 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16432 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16433 		fi
   16434 
   16435 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16436 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16437 		fi
   16438 
   16439 		CFLAGS="$CFLAGS -Wtrigraphs"
   16440 
   16441 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   16442 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   16443 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   16444 		if eval \${$cacheid+:} false; then :
   16445   $as_echo_n "(cached) " >&6
   16446 else
   16447   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16448 /* end confdefs.h.  */
   16449 int i;
   16450 int
   16451 main ()
   16452 {
   16453 
   16454   ;
   16455   return 0;
   16456 }
   16457 _ACEOF
   16458 if ac_fn_c_try_link "$LINENO"; then :
   16459   eval $cacheid=yes
   16460 else
   16461   eval $cacheid=no
   16462 fi
   16463 rm -f core conftest.err conftest.$ac_objext \
   16464     conftest$ac_exeext conftest.$ac_ext
   16465 fi
   16466 
   16467 
   16468 		CFLAGS="$xorg_testset_save_CFLAGS"
   16469 
   16470 		eval supported=\$$cacheid
   16471 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16472 $as_echo "$supported" >&6; }
   16473 		if test "$supported" = "yes" ; then
   16474 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   16475 			found="yes"
   16476 		fi
   16477 	fi
   16478 
   16479 
   16480 
   16481 
   16482 
   16483 
   16484 
   16485 
   16486 
   16487 
   16488 
   16489 
   16490 
   16491 
   16492 
   16493 xorg_testset_save_CFLAGS="$CFLAGS"
   16494 
   16495 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16496 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16497 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16498 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16499 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16500   $as_echo_n "(cached) " >&6
   16501 else
   16502   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16503 /* end confdefs.h.  */
   16504 int i;
   16505 _ACEOF
   16506 if ac_fn_c_try_compile "$LINENO"; then :
   16507   xorg_cv_cc_flag_unknown_warning_option=yes
   16508 else
   16509   xorg_cv_cc_flag_unknown_warning_option=no
   16510 fi
   16511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16512 fi
   16513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16514 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16515 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16516 	CFLAGS="$xorg_testset_save_CFLAGS"
   16517 fi
   16518 
   16519 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16520 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16521 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16522 	fi
   16523 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16524 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16525 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16526 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16527   $as_echo_n "(cached) " >&6
   16528 else
   16529   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16530 /* end confdefs.h.  */
   16531 int i;
   16532 _ACEOF
   16533 if ac_fn_c_try_compile "$LINENO"; then :
   16534   xorg_cv_cc_flag_unused_command_line_argument=yes
   16535 else
   16536   xorg_cv_cc_flag_unused_command_line_argument=no
   16537 fi
   16538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16539 fi
   16540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16541 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16542 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16543 	CFLAGS="$xorg_testset_save_CFLAGS"
   16544 fi
   16545 
   16546 found="no"
   16547 
   16548 	if test $found = "no" ; then
   16549 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16550 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16551 		fi
   16552 
   16553 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16554 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16555 		fi
   16556 
   16557 		CFLAGS="$CFLAGS -Warray-bounds"
   16558 
   16559 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   16560 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   16561 		cacheid=xorg_cv_cc_flag__Warray_bounds
   16562 		if eval \${$cacheid+:} false; then :
   16563   $as_echo_n "(cached) " >&6
   16564 else
   16565   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16566 /* end confdefs.h.  */
   16567 int i;
   16568 int
   16569 main ()
   16570 {
   16571 
   16572   ;
   16573   return 0;
   16574 }
   16575 _ACEOF
   16576 if ac_fn_c_try_link "$LINENO"; then :
   16577   eval $cacheid=yes
   16578 else
   16579   eval $cacheid=no
   16580 fi
   16581 rm -f core conftest.err conftest.$ac_objext \
   16582     conftest$ac_exeext conftest.$ac_ext
   16583 fi
   16584 
   16585 
   16586 		CFLAGS="$xorg_testset_save_CFLAGS"
   16587 
   16588 		eval supported=\$$cacheid
   16589 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16590 $as_echo "$supported" >&6; }
   16591 		if test "$supported" = "yes" ; then
   16592 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   16593 			found="yes"
   16594 		fi
   16595 	fi
   16596 
   16597 
   16598 
   16599 
   16600 
   16601 
   16602 
   16603 
   16604 
   16605 
   16606 
   16607 
   16608 
   16609 
   16610 
   16611 xorg_testset_save_CFLAGS="$CFLAGS"
   16612 
   16613 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16614 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16615 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16616 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16617 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16618   $as_echo_n "(cached) " >&6
   16619 else
   16620   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16621 /* end confdefs.h.  */
   16622 int i;
   16623 _ACEOF
   16624 if ac_fn_c_try_compile "$LINENO"; then :
   16625   xorg_cv_cc_flag_unknown_warning_option=yes
   16626 else
   16627   xorg_cv_cc_flag_unknown_warning_option=no
   16628 fi
   16629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16630 fi
   16631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16632 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16633 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16634 	CFLAGS="$xorg_testset_save_CFLAGS"
   16635 fi
   16636 
   16637 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16638 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16639 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16640 	fi
   16641 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16642 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16643 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16644 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16645   $as_echo_n "(cached) " >&6
   16646 else
   16647   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16648 /* end confdefs.h.  */
   16649 int i;
   16650 _ACEOF
   16651 if ac_fn_c_try_compile "$LINENO"; then :
   16652   xorg_cv_cc_flag_unused_command_line_argument=yes
   16653 else
   16654   xorg_cv_cc_flag_unused_command_line_argument=no
   16655 fi
   16656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16657 fi
   16658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16659 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16660 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16661 	CFLAGS="$xorg_testset_save_CFLAGS"
   16662 fi
   16663 
   16664 found="no"
   16665 
   16666 	if test $found = "no" ; then
   16667 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16668 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16669 		fi
   16670 
   16671 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16672 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16673 		fi
   16674 
   16675 		CFLAGS="$CFLAGS -Wwrite-strings"
   16676 
   16677 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   16678 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   16679 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   16680 		if eval \${$cacheid+:} false; then :
   16681   $as_echo_n "(cached) " >&6
   16682 else
   16683   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16684 /* end confdefs.h.  */
   16685 int i;
   16686 int
   16687 main ()
   16688 {
   16689 
   16690   ;
   16691   return 0;
   16692 }
   16693 _ACEOF
   16694 if ac_fn_c_try_link "$LINENO"; then :
   16695   eval $cacheid=yes
   16696 else
   16697   eval $cacheid=no
   16698 fi
   16699 rm -f core conftest.err conftest.$ac_objext \
   16700     conftest$ac_exeext conftest.$ac_ext
   16701 fi
   16702 
   16703 
   16704 		CFLAGS="$xorg_testset_save_CFLAGS"
   16705 
   16706 		eval supported=\$$cacheid
   16707 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16708 $as_echo "$supported" >&6; }
   16709 		if test "$supported" = "yes" ; then
   16710 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   16711 			found="yes"
   16712 		fi
   16713 	fi
   16714 
   16715 
   16716 
   16717 
   16718 
   16719 
   16720 
   16721 
   16722 
   16723 
   16724 
   16725 
   16726 
   16727 
   16728 
   16729 xorg_testset_save_CFLAGS="$CFLAGS"
   16730 
   16731 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16732 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16733 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16734 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16735 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16736   $as_echo_n "(cached) " >&6
   16737 else
   16738   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16739 /* end confdefs.h.  */
   16740 int i;
   16741 _ACEOF
   16742 if ac_fn_c_try_compile "$LINENO"; then :
   16743   xorg_cv_cc_flag_unknown_warning_option=yes
   16744 else
   16745   xorg_cv_cc_flag_unknown_warning_option=no
   16746 fi
   16747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16748 fi
   16749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16750 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16751 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16752 	CFLAGS="$xorg_testset_save_CFLAGS"
   16753 fi
   16754 
   16755 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16756 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16757 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16758 	fi
   16759 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16760 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16761 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16762 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16763   $as_echo_n "(cached) " >&6
   16764 else
   16765   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16766 /* end confdefs.h.  */
   16767 int i;
   16768 _ACEOF
   16769 if ac_fn_c_try_compile "$LINENO"; then :
   16770   xorg_cv_cc_flag_unused_command_line_argument=yes
   16771 else
   16772   xorg_cv_cc_flag_unused_command_line_argument=no
   16773 fi
   16774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16775 fi
   16776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16777 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16778 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16779 	CFLAGS="$xorg_testset_save_CFLAGS"
   16780 fi
   16781 
   16782 found="no"
   16783 
   16784 	if test $found = "no" ; then
   16785 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16786 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16787 		fi
   16788 
   16789 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16790 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16791 		fi
   16792 
   16793 		CFLAGS="$CFLAGS -Waddress"
   16794 
   16795 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   16796 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   16797 		cacheid=xorg_cv_cc_flag__Waddress
   16798 		if eval \${$cacheid+:} false; then :
   16799   $as_echo_n "(cached) " >&6
   16800 else
   16801   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16802 /* end confdefs.h.  */
   16803 int i;
   16804 int
   16805 main ()
   16806 {
   16807 
   16808   ;
   16809   return 0;
   16810 }
   16811 _ACEOF
   16812 if ac_fn_c_try_link "$LINENO"; then :
   16813   eval $cacheid=yes
   16814 else
   16815   eval $cacheid=no
   16816 fi
   16817 rm -f core conftest.err conftest.$ac_objext \
   16818     conftest$ac_exeext conftest.$ac_ext
   16819 fi
   16820 
   16821 
   16822 		CFLAGS="$xorg_testset_save_CFLAGS"
   16823 
   16824 		eval supported=\$$cacheid
   16825 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16826 $as_echo "$supported" >&6; }
   16827 		if test "$supported" = "yes" ; then
   16828 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   16829 			found="yes"
   16830 		fi
   16831 	fi
   16832 
   16833 
   16834 
   16835 
   16836 
   16837 
   16838 
   16839 
   16840 
   16841 
   16842 
   16843 
   16844 
   16845 
   16846 
   16847 xorg_testset_save_CFLAGS="$CFLAGS"
   16848 
   16849 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16850 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16851 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16852 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16853 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16854   $as_echo_n "(cached) " >&6
   16855 else
   16856   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16857 /* end confdefs.h.  */
   16858 int i;
   16859 _ACEOF
   16860 if ac_fn_c_try_compile "$LINENO"; then :
   16861   xorg_cv_cc_flag_unknown_warning_option=yes
   16862 else
   16863   xorg_cv_cc_flag_unknown_warning_option=no
   16864 fi
   16865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16866 fi
   16867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16868 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16869 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16870 	CFLAGS="$xorg_testset_save_CFLAGS"
   16871 fi
   16872 
   16873 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16874 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16875 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16876 	fi
   16877 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16878 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16879 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16880 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16881   $as_echo_n "(cached) " >&6
   16882 else
   16883   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16884 /* end confdefs.h.  */
   16885 int i;
   16886 _ACEOF
   16887 if ac_fn_c_try_compile "$LINENO"; then :
   16888   xorg_cv_cc_flag_unused_command_line_argument=yes
   16889 else
   16890   xorg_cv_cc_flag_unused_command_line_argument=no
   16891 fi
   16892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16893 fi
   16894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16895 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16896 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16897 	CFLAGS="$xorg_testset_save_CFLAGS"
   16898 fi
   16899 
   16900 found="no"
   16901 
   16902 	if test $found = "no" ; then
   16903 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16904 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16905 		fi
   16906 
   16907 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16908 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16909 		fi
   16910 
   16911 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   16912 
   16913 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   16914 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   16915 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   16916 		if eval \${$cacheid+:} false; then :
   16917   $as_echo_n "(cached) " >&6
   16918 else
   16919   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16920 /* end confdefs.h.  */
   16921 int i;
   16922 int
   16923 main ()
   16924 {
   16925 
   16926   ;
   16927   return 0;
   16928 }
   16929 _ACEOF
   16930 if ac_fn_c_try_link "$LINENO"; then :
   16931   eval $cacheid=yes
   16932 else
   16933   eval $cacheid=no
   16934 fi
   16935 rm -f core conftest.err conftest.$ac_objext \
   16936     conftest$ac_exeext conftest.$ac_ext
   16937 fi
   16938 
   16939 
   16940 		CFLAGS="$xorg_testset_save_CFLAGS"
   16941 
   16942 		eval supported=\$$cacheid
   16943 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16944 $as_echo "$supported" >&6; }
   16945 		if test "$supported" = "yes" ; then
   16946 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   16947 			found="yes"
   16948 		fi
   16949 	fi
   16950 
   16951 
   16952 
   16953 
   16954 
   16955 
   16956 
   16957 
   16958 
   16959 
   16960 
   16961 
   16962 
   16963 
   16964 
   16965 xorg_testset_save_CFLAGS="$CFLAGS"
   16966 
   16967 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16968 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16969 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16970 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16971 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16972   $as_echo_n "(cached) " >&6
   16973 else
   16974   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16975 /* end confdefs.h.  */
   16976 int i;
   16977 _ACEOF
   16978 if ac_fn_c_try_compile "$LINENO"; then :
   16979   xorg_cv_cc_flag_unknown_warning_option=yes
   16980 else
   16981   xorg_cv_cc_flag_unknown_warning_option=no
   16982 fi
   16983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16984 fi
   16985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16986 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16987 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16988 	CFLAGS="$xorg_testset_save_CFLAGS"
   16989 fi
   16990 
   16991 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16992 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16993 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16994 	fi
   16995 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16996 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16997 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16998 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16999   $as_echo_n "(cached) " >&6
   17000 else
   17001   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17002 /* end confdefs.h.  */
   17003 int i;
   17004 _ACEOF
   17005 if ac_fn_c_try_compile "$LINENO"; then :
   17006   xorg_cv_cc_flag_unused_command_line_argument=yes
   17007 else
   17008   xorg_cv_cc_flag_unused_command_line_argument=no
   17009 fi
   17010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17011 fi
   17012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17013 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17014 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17015 	CFLAGS="$xorg_testset_save_CFLAGS"
   17016 fi
   17017 
   17018 found="no"
   17019 
   17020 	if test $found = "no" ; then
   17021 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17022 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17023 		fi
   17024 
   17025 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17026 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17027 		fi
   17028 
   17029 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   17030 
   17031 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   17032 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   17033 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   17034 		if eval \${$cacheid+:} false; then :
   17035   $as_echo_n "(cached) " >&6
   17036 else
   17037   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17038 /* end confdefs.h.  */
   17039 int i;
   17040 int
   17041 main ()
   17042 {
   17043 
   17044   ;
   17045   return 0;
   17046 }
   17047 _ACEOF
   17048 if ac_fn_c_try_link "$LINENO"; then :
   17049   eval $cacheid=yes
   17050 else
   17051   eval $cacheid=no
   17052 fi
   17053 rm -f core conftest.err conftest.$ac_objext \
   17054     conftest$ac_exeext conftest.$ac_ext
   17055 fi
   17056 
   17057 
   17058 		CFLAGS="$xorg_testset_save_CFLAGS"
   17059 
   17060 		eval supported=\$$cacheid
   17061 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17062 $as_echo "$supported" >&6; }
   17063 		if test "$supported" = "yes" ; then
   17064 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   17065 			found="yes"
   17066 		fi
   17067 	fi
   17068 
   17069 
   17070 fi
   17071 
   17072 
   17073 
   17074 
   17075 
   17076 
   17077 
   17078 		CWARNFLAGS="$BASE_CFLAGS"
   17079 		if  test "x$GCC" = xyes ; then
   17080 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   17081 		fi
   17082 
   17083 
   17084 
   17085 
   17086 
   17087 
   17088 
   17089 
   17090 # Check whether --enable-strict-compilation was given.
   17091 if test "${enable_strict_compilation+set}" = set; then :
   17092   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   17093 else
   17094   STRICT_COMPILE=no
   17095 fi
   17096 
   17097 
   17098 
   17099 
   17100 
   17101 
   17102 STRICT_CFLAGS=""
   17103 
   17104 
   17105 
   17106 
   17107 
   17108 
   17109 
   17110 
   17111 
   17112 
   17113 
   17114 
   17115 
   17116 xorg_testset_save_CFLAGS="$CFLAGS"
   17117 
   17118 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17119 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17120 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17121 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17122 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17123   $as_echo_n "(cached) " >&6
   17124 else
   17125   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17126 /* end confdefs.h.  */
   17127 int i;
   17128 _ACEOF
   17129 if ac_fn_c_try_compile "$LINENO"; then :
   17130   xorg_cv_cc_flag_unknown_warning_option=yes
   17131 else
   17132   xorg_cv_cc_flag_unknown_warning_option=no
   17133 fi
   17134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17135 fi
   17136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17137 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17138 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17139 	CFLAGS="$xorg_testset_save_CFLAGS"
   17140 fi
   17141 
   17142 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17143 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17144 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17145 	fi
   17146 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17147 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17148 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17149 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17150   $as_echo_n "(cached) " >&6
   17151 else
   17152   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17153 /* end confdefs.h.  */
   17154 int i;
   17155 _ACEOF
   17156 if ac_fn_c_try_compile "$LINENO"; then :
   17157   xorg_cv_cc_flag_unused_command_line_argument=yes
   17158 else
   17159   xorg_cv_cc_flag_unused_command_line_argument=no
   17160 fi
   17161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17162 fi
   17163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17164 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17165 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17166 	CFLAGS="$xorg_testset_save_CFLAGS"
   17167 fi
   17168 
   17169 found="no"
   17170 
   17171 	if test $found = "no" ; then
   17172 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17173 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17174 		fi
   17175 
   17176 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17177 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17178 		fi
   17179 
   17180 		CFLAGS="$CFLAGS -pedantic"
   17181 
   17182 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   17183 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   17184 		cacheid=xorg_cv_cc_flag__pedantic
   17185 		if eval \${$cacheid+:} false; then :
   17186   $as_echo_n "(cached) " >&6
   17187 else
   17188   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17189 /* end confdefs.h.  */
   17190 int i;
   17191 int
   17192 main ()
   17193 {
   17194 
   17195   ;
   17196   return 0;
   17197 }
   17198 _ACEOF
   17199 if ac_fn_c_try_link "$LINENO"; then :
   17200   eval $cacheid=yes
   17201 else
   17202   eval $cacheid=no
   17203 fi
   17204 rm -f core conftest.err conftest.$ac_objext \
   17205     conftest$ac_exeext conftest.$ac_ext
   17206 fi
   17207 
   17208 
   17209 		CFLAGS="$xorg_testset_save_CFLAGS"
   17210 
   17211 		eval supported=\$$cacheid
   17212 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17213 $as_echo "$supported" >&6; }
   17214 		if test "$supported" = "yes" ; then
   17215 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   17216 			found="yes"
   17217 		fi
   17218 	fi
   17219 
   17220 
   17221 
   17222 
   17223 
   17224 
   17225 
   17226 
   17227 
   17228 
   17229 
   17230 
   17231 
   17232 
   17233 
   17234 xorg_testset_save_CFLAGS="$CFLAGS"
   17235 
   17236 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17237 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17238 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17239 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17240 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17241   $as_echo_n "(cached) " >&6
   17242 else
   17243   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17244 /* end confdefs.h.  */
   17245 int i;
   17246 _ACEOF
   17247 if ac_fn_c_try_compile "$LINENO"; then :
   17248   xorg_cv_cc_flag_unknown_warning_option=yes
   17249 else
   17250   xorg_cv_cc_flag_unknown_warning_option=no
   17251 fi
   17252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17253 fi
   17254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17255 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17256 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17257 	CFLAGS="$xorg_testset_save_CFLAGS"
   17258 fi
   17259 
   17260 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17261 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17262 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17263 	fi
   17264 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17265 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17266 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17267 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17268   $as_echo_n "(cached) " >&6
   17269 else
   17270   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17271 /* end confdefs.h.  */
   17272 int i;
   17273 _ACEOF
   17274 if ac_fn_c_try_compile "$LINENO"; then :
   17275   xorg_cv_cc_flag_unused_command_line_argument=yes
   17276 else
   17277   xorg_cv_cc_flag_unused_command_line_argument=no
   17278 fi
   17279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17280 fi
   17281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17282 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17283 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17284 	CFLAGS="$xorg_testset_save_CFLAGS"
   17285 fi
   17286 
   17287 found="no"
   17288 
   17289 	if test $found = "no" ; then
   17290 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17291 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17292 		fi
   17293 
   17294 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17295 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17296 		fi
   17297 
   17298 		CFLAGS="$CFLAGS -Werror"
   17299 
   17300 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   17301 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   17302 		cacheid=xorg_cv_cc_flag__Werror
   17303 		if eval \${$cacheid+:} false; then :
   17304   $as_echo_n "(cached) " >&6
   17305 else
   17306   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17307 /* end confdefs.h.  */
   17308 int i;
   17309 int
   17310 main ()
   17311 {
   17312 
   17313   ;
   17314   return 0;
   17315 }
   17316 _ACEOF
   17317 if ac_fn_c_try_link "$LINENO"; then :
   17318   eval $cacheid=yes
   17319 else
   17320   eval $cacheid=no
   17321 fi
   17322 rm -f core conftest.err conftest.$ac_objext \
   17323     conftest$ac_exeext conftest.$ac_ext
   17324 fi
   17325 
   17326 
   17327 		CFLAGS="$xorg_testset_save_CFLAGS"
   17328 
   17329 		eval supported=\$$cacheid
   17330 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17331 $as_echo "$supported" >&6; }
   17332 		if test "$supported" = "yes" ; then
   17333 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   17334 			found="yes"
   17335 		fi
   17336 	fi
   17337 
   17338 	if test $found = "no" ; then
   17339 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17340 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17341 		fi
   17342 
   17343 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17344 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17345 		fi
   17346 
   17347 		CFLAGS="$CFLAGS -errwarn"
   17348 
   17349 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   17350 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   17351 		cacheid=xorg_cv_cc_flag__errwarn
   17352 		if eval \${$cacheid+:} false; then :
   17353   $as_echo_n "(cached) " >&6
   17354 else
   17355   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17356 /* end confdefs.h.  */
   17357 int i;
   17358 int
   17359 main ()
   17360 {
   17361 
   17362   ;
   17363   return 0;
   17364 }
   17365 _ACEOF
   17366 if ac_fn_c_try_link "$LINENO"; then :
   17367   eval $cacheid=yes
   17368 else
   17369   eval $cacheid=no
   17370 fi
   17371 rm -f core conftest.err conftest.$ac_objext \
   17372     conftest$ac_exeext conftest.$ac_ext
   17373 fi
   17374 
   17375 
   17376 		CFLAGS="$xorg_testset_save_CFLAGS"
   17377 
   17378 		eval supported=\$$cacheid
   17379 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17380 $as_echo "$supported" >&6; }
   17381 		if test "$supported" = "yes" ; then
   17382 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   17383 			found="yes"
   17384 		fi
   17385 	fi
   17386 
   17387 
   17388 
   17389 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   17390 # activate it with -Werror, so we add it here explicitly.
   17391 
   17392 
   17393 
   17394 
   17395 
   17396 
   17397 
   17398 
   17399 
   17400 
   17401 
   17402 
   17403 
   17404 xorg_testset_save_CFLAGS="$CFLAGS"
   17405 
   17406 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17407 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17408 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17409 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17410 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17411   $as_echo_n "(cached) " >&6
   17412 else
   17413   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17414 /* end confdefs.h.  */
   17415 int i;
   17416 _ACEOF
   17417 if ac_fn_c_try_compile "$LINENO"; then :
   17418   xorg_cv_cc_flag_unknown_warning_option=yes
   17419 else
   17420   xorg_cv_cc_flag_unknown_warning_option=no
   17421 fi
   17422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17423 fi
   17424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17425 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17426 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17427 	CFLAGS="$xorg_testset_save_CFLAGS"
   17428 fi
   17429 
   17430 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17431 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17432 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17433 	fi
   17434 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17435 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17436 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17437 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17438   $as_echo_n "(cached) " >&6
   17439 else
   17440   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17441 /* end confdefs.h.  */
   17442 int i;
   17443 _ACEOF
   17444 if ac_fn_c_try_compile "$LINENO"; then :
   17445   xorg_cv_cc_flag_unused_command_line_argument=yes
   17446 else
   17447   xorg_cv_cc_flag_unused_command_line_argument=no
   17448 fi
   17449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17450 fi
   17451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17452 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17453 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17454 	CFLAGS="$xorg_testset_save_CFLAGS"
   17455 fi
   17456 
   17457 found="no"
   17458 
   17459 	if test $found = "no" ; then
   17460 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17461 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17462 		fi
   17463 
   17464 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17465 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17466 		fi
   17467 
   17468 		CFLAGS="$CFLAGS -Werror=attributes"
   17469 
   17470 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   17471 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   17472 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=attributes" | $as_tr_sh`
   17473 		if eval \${$cacheid+:} false; then :
   17474   $as_echo_n "(cached) " >&6
   17475 else
   17476   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17477 /* end confdefs.h.  */
   17478 int i;
   17479 int
   17480 main ()
   17481 {
   17482 
   17483   ;
   17484   return 0;
   17485 }
   17486 _ACEOF
   17487 if ac_fn_c_try_link "$LINENO"; then :
   17488   eval $cacheid=yes
   17489 else
   17490   eval $cacheid=no
   17491 fi
   17492 rm -f core conftest.err conftest.$ac_objext \
   17493     conftest$ac_exeext conftest.$ac_ext
   17494 fi
   17495 
   17496 
   17497 		CFLAGS="$xorg_testset_save_CFLAGS"
   17498 
   17499 		eval supported=\$$cacheid
   17500 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17501 $as_echo "$supported" >&6; }
   17502 		if test "$supported" = "yes" ; then
   17503 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   17504 			found="yes"
   17505 		fi
   17506 	fi
   17507 
   17508 
   17509 
   17510 if test "x$STRICT_COMPILE" = "xyes"; then
   17511     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   17512     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   17513 fi
   17514 
   17515 
   17516 
   17517 
   17518 
   17519 
   17520 cat >>confdefs.h <<_ACEOF
   17521 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   17522 _ACEOF
   17523 
   17524 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   17525 	if test "x$PVM" = "x"; then
   17526 		PVM="0"
   17527 	fi
   17528 
   17529 cat >>confdefs.h <<_ACEOF
   17530 #define PACKAGE_VERSION_MINOR $PVM
   17531 _ACEOF
   17532 
   17533 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   17534 	if test "x$PVP" = "x"; then
   17535 		PVP="0"
   17536 	fi
   17537 
   17538 cat >>confdefs.h <<_ACEOF
   17539 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   17540 _ACEOF
   17541 
   17542 
   17543 
   17544 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   17545 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   17546 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   17547 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   17548 
   17549 
   17550 
   17551 
   17552 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   17553 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   17554 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   17555 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   17556 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   17557 
   17558 
   17559 
   17560 
   17561 
   17562 
   17563 if test x$APP_MAN_SUFFIX = x    ; then
   17564     APP_MAN_SUFFIX=1
   17565 fi
   17566 if test x$APP_MAN_DIR = x    ; then
   17567     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   17568 fi
   17569 
   17570 if test x$LIB_MAN_SUFFIX = x    ; then
   17571     LIB_MAN_SUFFIX=3
   17572 fi
   17573 if test x$LIB_MAN_DIR = x    ; then
   17574     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   17575 fi
   17576 
   17577 if test x$FILE_MAN_SUFFIX = x    ; then
   17578     case $host_os in
   17579 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   17580 	*)		FILE_MAN_SUFFIX=5  ;;
   17581     esac
   17582 fi
   17583 if test x$FILE_MAN_DIR = x    ; then
   17584     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   17585 fi
   17586 
   17587 if test x$MISC_MAN_SUFFIX = x    ; then
   17588     case $host_os in
   17589 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   17590 	*)		MISC_MAN_SUFFIX=7  ;;
   17591     esac
   17592 fi
   17593 if test x$MISC_MAN_DIR = x    ; then
   17594     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   17595 fi
   17596 
   17597 if test x$DRIVER_MAN_SUFFIX = x    ; then
   17598     case $host_os in
   17599 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   17600 	*)		DRIVER_MAN_SUFFIX=4  ;;
   17601     esac
   17602 fi
   17603 if test x$DRIVER_MAN_DIR = x    ; then
   17604     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   17605 fi
   17606 
   17607 if test x$ADMIN_MAN_SUFFIX = x    ; then
   17608     case $host_os in
   17609 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   17610 	*)		ADMIN_MAN_SUFFIX=8  ;;
   17611     esac
   17612 fi
   17613 if test x$ADMIN_MAN_DIR = x    ; then
   17614     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   17615 fi
   17616 
   17617 
   17618 
   17619 
   17620 
   17621 
   17622 
   17623 
   17624 
   17625 
   17626 
   17627 
   17628 
   17629 
   17630 
   17631 XORG_MAN_PAGE="X Version 11"
   17632 
   17633 MAN_SUBSTS="\
   17634 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   17635 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   17636 	-e 's|__xservername__|Xorg|g' \
   17637 	-e 's|__xconfigfile__|xorg.conf|g' \
   17638 	-e 's|__projectroot__|\$(prefix)|g' \
   17639 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   17640 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   17641 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   17642 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   17643 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   17644 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   17645 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   17646 
   17647 
   17648 
   17649 # Check whether --enable-silent-rules was given.
   17650 if test "${enable_silent_rules+set}" = set; then :
   17651   enableval=$enable_silent_rules;
   17652 fi
   17653 
   17654 case $enable_silent_rules in # (((
   17655   yes) AM_DEFAULT_VERBOSITY=0;;
   17656    no) AM_DEFAULT_VERBOSITY=1;;
   17657     *) AM_DEFAULT_VERBOSITY=0;;
   17658 esac
   17659 am_make=${MAKE-make}
   17660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   17661 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   17662 if ${am_cv_make_support_nested_variables+:} false; then :
   17663   $as_echo_n "(cached) " >&6
   17664 else
   17665   if $as_echo 'TRUE=$(BAR$(V))
   17666 BAR0=false
   17667 BAR1=true
   17668 V=1
   17669 am__doit:
   17670 	@$(TRUE)
   17671 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   17672   am_cv_make_support_nested_variables=yes
   17673 else
   17674   am_cv_make_support_nested_variables=no
   17675 fi
   17676 fi
   17677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   17678 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   17679 if test $am_cv_make_support_nested_variables = yes; then
   17680     AM_V='$(V)'
   17681   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   17682 else
   17683   AM_V=$AM_DEFAULT_VERBOSITY
   17684   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   17685 fi
   17686 AM_BACKSLASH='\'
   17687 
   17688 
   17689 
   17690 
   17691 # Check whether --enable-specs was given.
   17692 if test "${enable_specs+set}" = set; then :
   17693   enableval=$enable_specs; build_specs=$enableval
   17694 else
   17695   build_specs=yes
   17696 fi
   17697 
   17698 
   17699  if test x$build_specs = xyes; then
   17700   ENABLE_SPECS_TRUE=
   17701   ENABLE_SPECS_FALSE='#'
   17702 else
   17703   ENABLE_SPECS_TRUE='#'
   17704   ENABLE_SPECS_FALSE=
   17705 fi
   17706 
   17707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build functional specifications" >&5
   17708 $as_echo_n "checking whether to build functional specifications... " >&6; }
   17709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_specs" >&5
   17710 $as_echo "$build_specs" >&6; }
   17711 
   17712 
   17713 
   17714 
   17715 
   17716 # Check whether --with-xmlto was given.
   17717 if test "${with_xmlto+set}" = set; then :
   17718   withval=$with_xmlto; use_xmlto=$withval
   17719 else
   17720   use_xmlto=auto
   17721 fi
   17722 
   17723 
   17724 
   17725 if test "x$use_xmlto" = x"auto"; then
   17726    # Extract the first word of "xmlto", so it can be a program name with args.
   17727 set dummy xmlto; ac_word=$2
   17728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17729 $as_echo_n "checking for $ac_word... " >&6; }
   17730 if ${ac_cv_path_XMLTO+:} false; then :
   17731   $as_echo_n "(cached) " >&6
   17732 else
   17733   case $XMLTO in
   17734   [\\/]* | ?:[\\/]*)
   17735   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   17736   ;;
   17737   *)
   17738   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17739 for as_dir in $PATH
   17740 do
   17741   IFS=$as_save_IFS
   17742   test -z "$as_dir" && as_dir=.
   17743     for ac_exec_ext in '' $ac_executable_extensions; do
   17744   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   17745     ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
   17746     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   17747     break 2
   17748   fi
   17749 done
   17750   done
   17751 IFS=$as_save_IFS
   17752 
   17753   ;;
   17754 esac
   17755 fi
   17756 XMLTO=$ac_cv_path_XMLTO
   17757 if test -n "$XMLTO"; then
   17758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   17759 $as_echo "$XMLTO" >&6; }
   17760 else
   17761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17762 $as_echo "no" >&6; }
   17763 fi
   17764 
   17765 
   17766    if test "x$XMLTO" = "x"; then
   17767         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto not found - documentation targets will be skipped" >&5
   17768 $as_echo "$as_me: WARNING: xmlto not found - documentation targets will be skipped" >&2;}
   17769 	have_xmlto=no
   17770    else
   17771         have_xmlto=yes
   17772    fi
   17773 elif test "x$use_xmlto" = x"yes" ; then
   17774    # Extract the first word of "xmlto", so it can be a program name with args.
   17775 set dummy xmlto; ac_word=$2
   17776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17777 $as_echo_n "checking for $ac_word... " >&6; }
   17778 if ${ac_cv_path_XMLTO+:} false; then :
   17779   $as_echo_n "(cached) " >&6
   17780 else
   17781   case $XMLTO in
   17782   [\\/]* | ?:[\\/]*)
   17783   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   17784   ;;
   17785   *)
   17786   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17787 for as_dir in $PATH
   17788 do
   17789   IFS=$as_save_IFS
   17790   test -z "$as_dir" && as_dir=.
   17791     for ac_exec_ext in '' $ac_executable_extensions; do
   17792   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   17793     ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
   17794     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   17795     break 2
   17796   fi
   17797 done
   17798   done
   17799 IFS=$as_save_IFS
   17800 
   17801   ;;
   17802 esac
   17803 fi
   17804 XMLTO=$ac_cv_path_XMLTO
   17805 if test -n "$XMLTO"; then
   17806   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   17807 $as_echo "$XMLTO" >&6; }
   17808 else
   17809   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17810 $as_echo "no" >&6; }
   17811 fi
   17812 
   17813 
   17814    if test "x$XMLTO" = "x"; then
   17815         as_fn_error $? "--with-xmlto=yes specified but xmlto not found in PATH" "$LINENO" 5
   17816    fi
   17817    have_xmlto=yes
   17818 elif test "x$use_xmlto" = x"no" ; then
   17819    if test "x$XMLTO" != "x"; then
   17820       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&5
   17821 $as_echo "$as_me: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&2;}
   17822    fi
   17823    have_xmlto=no
   17824 else
   17825    as_fn_error $? "--with-xmlto expects 'yes' or 'no'" "$LINENO" 5
   17826 fi
   17827 
   17828 # Test for a minimum version of xmlto, if provided.
   17829 if test "$have_xmlto" = yes; then
   17830     # scrape the xmlto version
   17831     { $as_echo "$as_me:${as_lineno-$LINENO}: checking the xmlto version" >&5
   17832 $as_echo_n "checking the xmlto version... " >&6; }
   17833     xmlto_version=`$XMLTO --version 2>/dev/null | cut -d' ' -f3`
   17834     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xmlto_version" >&5
   17835 $as_echo "$xmlto_version" >&6; }
   17836     as_arg_v1=$xmlto_version
   17837 as_arg_v2=0.0.22
   17838 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
   17839 case $? in #(
   17840   1) :
   17841     if test "x$use_xmlto" = xauto; then
   17842             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&5
   17843 $as_echo "$as_me: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&2;}
   17844             have_xmlto=no
   17845         else
   17846             as_fn_error $? "xmlto version $xmlto_version found, but 0.0.22 needed" "$LINENO" 5
   17847         fi ;; #(
   17848   0) :
   17849      ;; #(
   17850   2) :
   17851      ;; #(
   17852   *) :
   17853      ;;
   17854 esac
   17855 fi
   17856 
   17857 # Test for the ability of xmlto to generate a text target
   17858 have_xmlto_text=no
   17859 cat > conftest.xml << "EOF"
   17860 EOF
   17861 if test "$have_xmlto" = yes; then :
   17862   if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1; then :
   17863   have_xmlto_text=yes
   17864 else
   17865   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto cannot generate text format, this format skipped" >&5
   17866 $as_echo "$as_me: WARNING: xmlto cannot generate text format, this format skipped" >&2;}
   17867 fi
   17868 fi
   17869 rm -f conftest.xml
   17870  if test $have_xmlto_text = yes; then
   17871   HAVE_XMLTO_TEXT_TRUE=
   17872   HAVE_XMLTO_TEXT_FALSE='#'
   17873 else
   17874   HAVE_XMLTO_TEXT_TRUE='#'
   17875   HAVE_XMLTO_TEXT_FALSE=
   17876 fi
   17877 
   17878  if test "$have_xmlto" = yes; then
   17879   HAVE_XMLTO_TRUE=
   17880   HAVE_XMLTO_FALSE='#'
   17881 else
   17882   HAVE_XMLTO_TRUE='#'
   17883   HAVE_XMLTO_FALSE=
   17884 fi
   17885 
   17886 
   17887 
   17888 
   17889 
   17890 
   17891 # Check whether --with-fop was given.
   17892 if test "${with_fop+set}" = set; then :
   17893   withval=$with_fop; use_fop=$withval
   17894 else
   17895   use_fop=auto
   17896 fi
   17897 
   17898 
   17899 
   17900 if test "x$use_fop" = x"auto"; then
   17901    # Extract the first word of "fop", so it can be a program name with args.
   17902 set dummy fop; ac_word=$2
   17903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17904 $as_echo_n "checking for $ac_word... " >&6; }
   17905 if ${ac_cv_path_FOP+:} false; then :
   17906   $as_echo_n "(cached) " >&6
   17907 else
   17908   case $FOP in
   17909   [\\/]* | ?:[\\/]*)
   17910   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   17911   ;;
   17912   *)
   17913   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17914 for as_dir in $PATH
   17915 do
   17916   IFS=$as_save_IFS
   17917   test -z "$as_dir" && as_dir=.
   17918     for ac_exec_ext in '' $ac_executable_extensions; do
   17919   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   17920     ac_cv_path_FOP="$as_dir/$ac_word$ac_exec_ext"
   17921     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   17922     break 2
   17923   fi
   17924 done
   17925   done
   17926 IFS=$as_save_IFS
   17927 
   17928   ;;
   17929 esac
   17930 fi
   17931 FOP=$ac_cv_path_FOP
   17932 if test -n "$FOP"; then
   17933   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   17934 $as_echo "$FOP" >&6; }
   17935 else
   17936   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17937 $as_echo "no" >&6; }
   17938 fi
   17939 
   17940 
   17941    if test "x$FOP" = "x"; then
   17942         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: fop not found - documentation targets will be skipped" >&5
   17943 $as_echo "$as_me: WARNING: fop not found - documentation targets will be skipped" >&2;}
   17944 	have_fop=no
   17945    else
   17946         have_fop=yes
   17947    fi
   17948 elif test "x$use_fop" = x"yes" ; then
   17949    # Extract the first word of "fop", so it can be a program name with args.
   17950 set dummy fop; ac_word=$2
   17951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17952 $as_echo_n "checking for $ac_word... " >&6; }
   17953 if ${ac_cv_path_FOP+:} false; then :
   17954   $as_echo_n "(cached) " >&6
   17955 else
   17956   case $FOP in
   17957   [\\/]* | ?:[\\/]*)
   17958   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   17959   ;;
   17960   *)
   17961   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17962 for as_dir in $PATH
   17963 do
   17964   IFS=$as_save_IFS
   17965   test -z "$as_dir" && as_dir=.
   17966     for ac_exec_ext in '' $ac_executable_extensions; do
   17967   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   17968     ac_cv_path_FOP="$as_dir/$ac_word$ac_exec_ext"
   17969     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   17970     break 2
   17971   fi
   17972 done
   17973   done
   17974 IFS=$as_save_IFS
   17975 
   17976   ;;
   17977 esac
   17978 fi
   17979 FOP=$ac_cv_path_FOP
   17980 if test -n "$FOP"; then
   17981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   17982 $as_echo "$FOP" >&6; }
   17983 else
   17984   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17985 $as_echo "no" >&6; }
   17986 fi
   17987 
   17988 
   17989    if test "x$FOP" = "x"; then
   17990         as_fn_error $? "--with-fop=yes specified but fop not found in PATH" "$LINENO" 5
   17991    fi
   17992    have_fop=yes
   17993 elif test "x$use_fop" = x"no" ; then
   17994    if test "x$FOP" != "x"; then
   17995       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&5
   17996 $as_echo "$as_me: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&2;}
   17997    fi
   17998    have_fop=no
   17999 else
   18000    as_fn_error $? "--with-fop expects 'yes' or 'no'" "$LINENO" 5
   18001 fi
   18002 
   18003 # Test for a minimum version of fop, if provided.
   18004 
   18005  if test "$have_fop" = yes; then
   18006   HAVE_FOP_TRUE=
   18007   HAVE_FOP_FALSE='#'
   18008 else
   18009   HAVE_FOP_TRUE='#'
   18010   HAVE_FOP_FALSE=
   18011 fi
   18012 
   18013 
   18014 
   18015 
   18016 # Preserves the interface, should it be implemented later
   18017 
   18018 
   18019 
   18020 # Check whether --with-xsltproc was given.
   18021 if test "${with_xsltproc+set}" = set; then :
   18022   withval=$with_xsltproc; use_xsltproc=$withval
   18023 else
   18024   use_xsltproc=auto
   18025 fi
   18026 
   18027 
   18028 
   18029 if test "x$use_xsltproc" = x"auto"; then
   18030    # Extract the first word of "xsltproc", so it can be a program name with args.
   18031 set dummy xsltproc; ac_word=$2
   18032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18033 $as_echo_n "checking for $ac_word... " >&6; }
   18034 if ${ac_cv_path_XSLTPROC+:} false; then :
   18035   $as_echo_n "(cached) " >&6
   18036 else
   18037   case $XSLTPROC in
   18038   [\\/]* | ?:[\\/]*)
   18039   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   18040   ;;
   18041   *)
   18042   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18043 for as_dir in $PATH
   18044 do
   18045   IFS=$as_save_IFS
   18046   test -z "$as_dir" && as_dir=.
   18047     for ac_exec_ext in '' $ac_executable_extensions; do
   18048   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   18049     ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
   18050     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18051     break 2
   18052   fi
   18053 done
   18054   done
   18055 IFS=$as_save_IFS
   18056 
   18057   ;;
   18058 esac
   18059 fi
   18060 XSLTPROC=$ac_cv_path_XSLTPROC
   18061 if test -n "$XSLTPROC"; then
   18062   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   18063 $as_echo "$XSLTPROC" >&6; }
   18064 else
   18065   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18066 $as_echo "no" >&6; }
   18067 fi
   18068 
   18069 
   18070    if test "x$XSLTPROC" = "x"; then
   18071         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xsltproc not found - cannot transform XML documents" >&5
   18072 $as_echo "$as_me: WARNING: xsltproc not found - cannot transform XML documents" >&2;}
   18073 	have_xsltproc=no
   18074    else
   18075         have_xsltproc=yes
   18076    fi
   18077 elif test "x$use_xsltproc" = x"yes" ; then
   18078    # Extract the first word of "xsltproc", so it can be a program name with args.
   18079 set dummy xsltproc; ac_word=$2
   18080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18081 $as_echo_n "checking for $ac_word... " >&6; }
   18082 if ${ac_cv_path_XSLTPROC+:} false; then :
   18083   $as_echo_n "(cached) " >&6
   18084 else
   18085   case $XSLTPROC in
   18086   [\\/]* | ?:[\\/]*)
   18087   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   18088   ;;
   18089   *)
   18090   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18091 for as_dir in $PATH
   18092 do
   18093   IFS=$as_save_IFS
   18094   test -z "$as_dir" && as_dir=.
   18095     for ac_exec_ext in '' $ac_executable_extensions; do
   18096   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   18097     ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
   18098     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18099     break 2
   18100   fi
   18101 done
   18102   done
   18103 IFS=$as_save_IFS
   18104 
   18105   ;;
   18106 esac
   18107 fi
   18108 XSLTPROC=$ac_cv_path_XSLTPROC
   18109 if test -n "$XSLTPROC"; then
   18110   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   18111 $as_echo "$XSLTPROC" >&6; }
   18112 else
   18113   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18114 $as_echo "no" >&6; }
   18115 fi
   18116 
   18117 
   18118    if test "x$XSLTPROC" = "x"; then
   18119         as_fn_error $? "--with-xsltproc=yes specified but xsltproc not found in PATH" "$LINENO" 5
   18120    fi
   18121    have_xsltproc=yes
   18122 elif test "x$use_xsltproc" = x"no" ; then
   18123    if test "x$XSLTPROC" != "x"; then
   18124       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&5
   18125 $as_echo "$as_me: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&2;}
   18126    fi
   18127    have_xsltproc=no
   18128 else
   18129    as_fn_error $? "--with-xsltproc expects 'yes' or 'no'" "$LINENO" 5
   18130 fi
   18131 
   18132  if test "$have_xsltproc" = yes; then
   18133   HAVE_XSLTPROC_TRUE=
   18134   HAVE_XSLTPROC_FALSE='#'
   18135 else
   18136   HAVE_XSLTPROC_TRUE='#'
   18137   HAVE_XSLTPROC_FALSE=
   18138 fi
   18139 
   18140 
   18141 
   18142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X.Org SGML entities >= 1.8" >&5
   18143 $as_echo_n "checking for X.Org SGML entities >= 1.8... " >&6; }
   18144 XORG_SGML_PATH=
   18145 if test -n "$PKG_CONFIG" && \
   18146     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-sgml-doctools >= 1.8\""; } >&5
   18147   ($PKG_CONFIG --exists --print-errors "xorg-sgml-doctools >= 1.8") 2>&5
   18148   ac_status=$?
   18149   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18150   test $ac_status = 0; }; then
   18151   XORG_SGML_PATH=`$PKG_CONFIG --variable=sgmlrootdir xorg-sgml-doctools`
   18152 else
   18153   :
   18154 
   18155 fi
   18156 
   18157 # Define variables STYLESHEET_SRCDIR and XSL_STYLESHEET containing
   18158 # the path and the name of the doc stylesheet
   18159 if test "x$XORG_SGML_PATH" != "x" ; then
   18160    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XORG_SGML_PATH" >&5
   18161 $as_echo "$XORG_SGML_PATH" >&6; }
   18162    STYLESHEET_SRCDIR=$XORG_SGML_PATH/X11
   18163    XSL_STYLESHEET=$STYLESHEET_SRCDIR/xorg.xsl
   18164 else
   18165    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18166 $as_echo "no" >&6; }
   18167 fi
   18168 
   18169 
   18170 
   18171 
   18172  if test "x$XSL_STYLESHEET" != "x"; then
   18173   HAVE_STYLESHEETS_TRUE=
   18174   HAVE_STYLESHEETS_FALSE='#'
   18175 else
   18176   HAVE_STYLESHEETS_TRUE='#'
   18177   HAVE_STYLESHEETS_FALSE=
   18178 fi
   18179 
   18180 
   18181 
   18182 # Obtain compiler/linker options for depedencies
   18183 
   18184 pkg_failed=no
   18185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XTST" >&5
   18186 $as_echo_n "checking for XTST... " >&6; }
   18187 
   18188 if test -n "$XTST_CFLAGS"; then
   18189     pkg_cv_XTST_CFLAGS="$XTST_CFLAGS"
   18190  elif test -n "$PKG_CONFIG"; then
   18191     if test -n "$PKG_CONFIG" && \
   18192     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xext >= 1.0.99.4 xi recordproto >= 1.13.99.1 xextproto >= 7.0.99.3 inputproto\""; } >&5
   18193   ($PKG_CONFIG --exists --print-errors "x11 xext >= 1.0.99.4 xi recordproto >= 1.13.99.1 xextproto >= 7.0.99.3 inputproto") 2>&5
   18194   ac_status=$?
   18195   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18196   test $ac_status = 0; }; then
   18197   pkg_cv_XTST_CFLAGS=`$PKG_CONFIG --cflags "x11 xext >= 1.0.99.4 xi recordproto >= 1.13.99.1 xextproto >= 7.0.99.3 inputproto" 2>/dev/null`
   18198 else
   18199   pkg_failed=yes
   18200 fi
   18201  else
   18202     pkg_failed=untried
   18203 fi
   18204 if test -n "$XTST_LIBS"; then
   18205     pkg_cv_XTST_LIBS="$XTST_LIBS"
   18206  elif test -n "$PKG_CONFIG"; then
   18207     if test -n "$PKG_CONFIG" && \
   18208     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xext >= 1.0.99.4 xi recordproto >= 1.13.99.1 xextproto >= 7.0.99.3 inputproto\""; } >&5
   18209   ($PKG_CONFIG --exists --print-errors "x11 xext >= 1.0.99.4 xi recordproto >= 1.13.99.1 xextproto >= 7.0.99.3 inputproto") 2>&5
   18210   ac_status=$?
   18211   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18212   test $ac_status = 0; }; then
   18213   pkg_cv_XTST_LIBS=`$PKG_CONFIG --libs "x11 xext >= 1.0.99.4 xi recordproto >= 1.13.99.1 xextproto >= 7.0.99.3 inputproto" 2>/dev/null`
   18214 else
   18215   pkg_failed=yes
   18216 fi
   18217  else
   18218     pkg_failed=untried
   18219 fi
   18220 
   18221 
   18222 
   18223 if test $pkg_failed = yes; then
   18224 
   18225 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18226         _pkg_short_errors_supported=yes
   18227 else
   18228         _pkg_short_errors_supported=no
   18229 fi
   18230         if test $_pkg_short_errors_supported = yes; then
   18231 	        XTST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11 xext >= 1.0.99.4 xi recordproto >= 1.13.99.1 xextproto >= 7.0.99.3 inputproto" 2>&1`
   18232         else
   18233 	        XTST_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11 xext >= 1.0.99.4 xi recordproto >= 1.13.99.1 xextproto >= 7.0.99.3 inputproto" 2>&1`
   18234         fi
   18235 	# Put the nasty error message in config.log where it belongs
   18236 	echo "$XTST_PKG_ERRORS" >&5
   18237 
   18238 	as_fn_error $? "Package requirements (x11 xext >= 1.0.99.4 xi recordproto >= 1.13.99.1 xextproto >= 7.0.99.3 inputproto) were not met:
   18239 
   18240 $XTST_PKG_ERRORS
   18241 
   18242 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18243 installed software in a non-standard prefix.
   18244 
   18245 Alternatively, you may set the environment variables XTST_CFLAGS
   18246 and XTST_LIBS to avoid the need to call pkg-config.
   18247 See the pkg-config man page for more details.
   18248 " "$LINENO" 5
   18249 elif test $pkg_failed = untried; then
   18250 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18251 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18252 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18253 is in your PATH or set the PKG_CONFIG environment variable to the full
   18254 path to pkg-config.
   18255 
   18256 Alternatively, you may set the environment variables XTST_CFLAGS
   18257 and XTST_LIBS to avoid the need to call pkg-config.
   18258 See the pkg-config man page for more details.
   18259 
   18260 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18261 See \`config.log' for more details" "$LINENO" 5; }
   18262 else
   18263 	XTST_CFLAGS=$pkg_cv_XTST_CFLAGS
   18264 	XTST_LIBS=$pkg_cv_XTST_LIBS
   18265         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18266 $as_echo "yes" >&6; }
   18267 	:
   18268 fi
   18269 
   18270 # Check for _XEatDataWords function that may be patched into older Xlib release
   18271 SAVE_LIBS="$LIBS"
   18272 LIBS="$XTST_LIBS"
   18273 for ac_func in _XEatDataWords
   18274 do :
   18275   ac_fn_c_check_func "$LINENO" "_XEatDataWords" "ac_cv_func__XEatDataWords"
   18276 if test "x$ac_cv_func__XEatDataWords" = xyes; then :
   18277   cat >>confdefs.h <<_ACEOF
   18278 #define HAVE__XEATDATAWORDS 1
   18279 _ACEOF
   18280 
   18281 fi
   18282 done
   18283 
   18284 LIBS="$SAVE_LIBS"
   18285 
   18286 # Determine if the source for man pages is available
   18287 # It may already be present (tarball) or can be generated using xmlto
   18288  if test -f "$srcdir/man/XTestQueryExtension.man" || test "x$have_xmlto" = xyes; then
   18289   INSTALL_MANPAGES_TRUE=
   18290   INSTALL_MANPAGES_FALSE='#'
   18291 else
   18292   INSTALL_MANPAGES_TRUE='#'
   18293   INSTALL_MANPAGES_FALSE=
   18294 fi
   18295 
   18296 
   18297 # Allow checking code with lint, sparse, etc.
   18298 
   18299 
   18300 
   18301 
   18302 
   18303 # Check whether --with-lint was given.
   18304 if test "${with_lint+set}" = set; then :
   18305   withval=$with_lint; use_lint=$withval
   18306 else
   18307   use_lint=no
   18308 fi
   18309 
   18310 
   18311 # Obtain platform specific info like program name and options
   18312 # The lint program on FreeBSD and NetBSD is different from the one on Solaris
   18313 case $host_os in
   18314   *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
   18315 	lint_name=splint
   18316 	lint_options="-badflag"
   18317 	;;
   18318   *freebsd* | *netbsd*)
   18319 	lint_name=lint
   18320 	lint_options="-u -b"
   18321 	;;
   18322   *solaris*)
   18323 	lint_name=lint
   18324 	lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   18325 	;;
   18326 esac
   18327 
   18328 # Test for the presence of the program (either guessed by the code or spelled out by the user)
   18329 if test "x$use_lint" = x"yes" ; then
   18330    # Extract the first word of "$lint_name", so it can be a program name with args.
   18331 set dummy $lint_name; ac_word=$2
   18332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18333 $as_echo_n "checking for $ac_word... " >&6; }
   18334 if ${ac_cv_path_LINT+:} false; then :
   18335   $as_echo_n "(cached) " >&6
   18336 else
   18337   case $LINT in
   18338   [\\/]* | ?:[\\/]*)
   18339   ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
   18340   ;;
   18341   *)
   18342   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18343 for as_dir in $PATH
   18344 do
   18345   IFS=$as_save_IFS
   18346   test -z "$as_dir" && as_dir=.
   18347     for ac_exec_ext in '' $ac_executable_extensions; do
   18348   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   18349     ac_cv_path_LINT="$as_dir/$ac_word$ac_exec_ext"
   18350     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18351     break 2
   18352   fi
   18353 done
   18354   done
   18355 IFS=$as_save_IFS
   18356 
   18357   ;;
   18358 esac
   18359 fi
   18360 LINT=$ac_cv_path_LINT
   18361 if test -n "$LINT"; then
   18362   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
   18363 $as_echo "$LINT" >&6; }
   18364 else
   18365   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18366 $as_echo "no" >&6; }
   18367 fi
   18368 
   18369 
   18370    if test "x$LINT" = "x"; then
   18371         as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
   18372    fi
   18373 elif test "x$use_lint" = x"no" ; then
   18374    if test "x$LINT" != "x"; then
   18375       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
   18376 $as_echo "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
   18377    fi
   18378 else
   18379    as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
   18380 fi
   18381 
   18382 # User supplied flags override default flags
   18383 if test "x$LINT_FLAGS" != "x"; then
   18384    lint_options=$LINT_FLAGS
   18385 fi
   18386 
   18387 LINT_FLAGS=$lint_options
   18388 
   18389  if test "x$LINT" != x; then
   18390   LINT_TRUE=
   18391   LINT_FALSE='#'
   18392 else
   18393   LINT_TRUE='#'
   18394   LINT_FALSE=
   18395 fi
   18396 
   18397 
   18398 
   18399 
   18400 
   18401 # Check whether --enable-lint-library was given.
   18402 if test "${enable_lint_library+set}" = set; then :
   18403   enableval=$enable_lint_library; make_lint_lib=$enableval
   18404 else
   18405   make_lint_lib=no
   18406 fi
   18407 
   18408 
   18409 if test "x$make_lint_lib" = x"yes" ; then
   18410    LINTLIB=llib-lXtst.ln
   18411    if test "x$LINT" = "x"; then
   18412         as_fn_error $? "Cannot make lint library without --with-lint" "$LINENO" 5
   18413    fi
   18414 elif test "x$make_lint_lib" != x"no" ; then
   18415    as_fn_error $? "--enable-lint-library expects 'yes' or 'no'." "$LINENO" 5
   18416 fi
   18417 
   18418 
   18419  if test x$make_lint_lib != xno; then
   18420   MAKE_LINT_LIB_TRUE=
   18421   MAKE_LINT_LIB_FALSE='#'
   18422 else
   18423   MAKE_LINT_LIB_TRUE='#'
   18424   MAKE_LINT_LIB_FALSE=
   18425 fi
   18426 
   18427 
   18428 
   18429 LINT_FLAGS="${LINT_FLAGS} ${XTST_CFLAGS}"
   18430 
   18431 ac_config_files="$ac_config_files Makefile man/Makefile src/Makefile specs/Makefile xtst.pc"
   18432 
   18433 cat >confcache <<\_ACEOF
   18434 # This file is a shell script that caches the results of configure
   18435 # tests run on this system so they can be shared between configure
   18436 # scripts and configure runs, see configure's option --config-cache.
   18437 # It is not useful on other systems.  If it contains results you don't
   18438 # want to keep, you may remove or edit it.
   18439 #
   18440 # config.status only pays attention to the cache file if you give it
   18441 # the --recheck option to rerun configure.
   18442 #
   18443 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   18444 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   18445 # following values.
   18446 
   18447 _ACEOF
   18448 
   18449 # The following way of writing the cache mishandles newlines in values,
   18450 # but we know of no workaround that is simple, portable, and efficient.
   18451 # So, we kill variables containing newlines.
   18452 # Ultrix sh set writes to stderr and can't be redirected directly,
   18453 # and sets the high bit in the cache file unless we assign to the vars.
   18454 (
   18455   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   18456     eval ac_val=\$$ac_var
   18457     case $ac_val in #(
   18458     *${as_nl}*)
   18459       case $ac_var in #(
   18460       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   18461 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   18462       esac
   18463       case $ac_var in #(
   18464       _ | IFS | as_nl) ;; #(
   18465       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   18466       *) { eval $ac_var=; unset $ac_var;} ;;
   18467       esac ;;
   18468     esac
   18469   done
   18470 
   18471   (set) 2>&1 |
   18472     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   18473     *${as_nl}ac_space=\ *)
   18474       # `set' does not quote correctly, so add quotes: double-quote
   18475       # substitution turns \\\\ into \\, and sed turns \\ into \.
   18476       sed -n \
   18477 	"s/'/'\\\\''/g;
   18478 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   18479       ;; #(
   18480     *)
   18481       # `set' quotes correctly as required by POSIX, so do not add quotes.
   18482       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   18483       ;;
   18484     esac |
   18485     sort
   18486 ) |
   18487   sed '
   18488      /^ac_cv_env_/b end
   18489      t clear
   18490      :clear
   18491      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   18492      t end
   18493      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   18494      :end' >>confcache
   18495 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   18496   if test -w "$cache_file"; then
   18497     if test "x$cache_file" != "x/dev/null"; then
   18498       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   18499 $as_echo "$as_me: updating cache $cache_file" >&6;}
   18500       if test ! -f "$cache_file" || test -h "$cache_file"; then
   18501 	cat confcache >"$cache_file"
   18502       else
   18503         case $cache_file in #(
   18504         */* | ?:*)
   18505 	  mv -f confcache "$cache_file"$$ &&
   18506 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   18507         *)
   18508 	  mv -f confcache "$cache_file" ;;
   18509 	esac
   18510       fi
   18511     fi
   18512   else
   18513     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   18514 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   18515   fi
   18516 fi
   18517 rm -f confcache
   18518 
   18519 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   18520 # Let make expand exec_prefix.
   18521 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   18522 
   18523 DEFS=-DHAVE_CONFIG_H
   18524 
   18525 ac_libobjs=
   18526 ac_ltlibobjs=
   18527 U=
   18528 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   18529   # 1. Remove the extension, and $U if already installed.
   18530   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   18531   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   18532   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   18533   #    will be set to the directory where LIBOBJS objects are built.
   18534   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   18535   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   18536 done
   18537 LIBOBJS=$ac_libobjs
   18538 
   18539 LTLIBOBJS=$ac_ltlibobjs
   18540 
   18541 
   18542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   18543 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   18544    if test -n "$am_sleep_pid"; then
   18545      # Hide warnings about reused PIDs.
   18546      wait $am_sleep_pid 2>/dev/null
   18547    fi
   18548    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   18549 $as_echo "done" >&6; }
   18550  if test -n "$EXEEXT"; then
   18551   am__EXEEXT_TRUE=
   18552   am__EXEEXT_FALSE='#'
   18553 else
   18554   am__EXEEXT_TRUE='#'
   18555   am__EXEEXT_FALSE=
   18556 fi
   18557 
   18558 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   18559   as_fn_error $? "conditional \"AMDEP\" was never defined.
   18560 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18561 fi
   18562 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   18563   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   18564 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18565 fi
   18566 if test -z "${ENABLE_SPECS_TRUE}" && test -z "${ENABLE_SPECS_FALSE}"; then
   18567   as_fn_error $? "conditional \"ENABLE_SPECS\" was never defined.
   18568 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18569 fi
   18570 if test -z "${HAVE_XMLTO_TEXT_TRUE}" && test -z "${HAVE_XMLTO_TEXT_FALSE}"; then
   18571   as_fn_error $? "conditional \"HAVE_XMLTO_TEXT\" was never defined.
   18572 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18573 fi
   18574 if test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then
   18575   as_fn_error $? "conditional \"HAVE_XMLTO\" was never defined.
   18576 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18577 fi
   18578 if test -z "${HAVE_FOP_TRUE}" && test -z "${HAVE_FOP_FALSE}"; then
   18579   as_fn_error $? "conditional \"HAVE_FOP\" was never defined.
   18580 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18581 fi
   18582 if test -z "${HAVE_XSLTPROC_TRUE}" && test -z "${HAVE_XSLTPROC_FALSE}"; then
   18583   as_fn_error $? "conditional \"HAVE_XSLTPROC\" was never defined.
   18584 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18585 fi
   18586 if test -z "${HAVE_STYLESHEETS_TRUE}" && test -z "${HAVE_STYLESHEETS_FALSE}"; then
   18587   as_fn_error $? "conditional \"HAVE_STYLESHEETS\" was never defined.
   18588 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18589 fi
   18590 if test -z "${INSTALL_MANPAGES_TRUE}" && test -z "${INSTALL_MANPAGES_FALSE}"; then
   18591   as_fn_error $? "conditional \"INSTALL_MANPAGES\" was never defined.
   18592 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18593 fi
   18594 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   18595   as_fn_error $? "conditional \"LINT\" was never defined.
   18596 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18597 fi
   18598 if test -z "${MAKE_LINT_LIB_TRUE}" && test -z "${MAKE_LINT_LIB_FALSE}"; then
   18599   as_fn_error $? "conditional \"MAKE_LINT_LIB\" was never defined.
   18600 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18601 fi
   18602 
   18603 : "${CONFIG_STATUS=./config.status}"
   18604 ac_write_fail=0
   18605 ac_clean_files_save=$ac_clean_files
   18606 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   18607 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   18608 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   18609 as_write_fail=0
   18610 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   18611 #! $SHELL
   18612 # Generated by $as_me.
   18613 # Run this file to recreate the current configuration.
   18614 # Compiler output produced by configure, useful for debugging
   18615 # configure, is in config.log if it exists.
   18616 
   18617 debug=false
   18618 ac_cs_recheck=false
   18619 ac_cs_silent=false
   18620 
   18621 SHELL=\${CONFIG_SHELL-$SHELL}
   18622 export SHELL
   18623 _ASEOF
   18624 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   18625 ## -------------------- ##
   18626 ## M4sh Initialization. ##
   18627 ## -------------------- ##
   18628 
   18629 # Be more Bourne compatible
   18630 DUALCASE=1; export DUALCASE # for MKS sh
   18631 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   18632   emulate sh
   18633   NULLCMD=:
   18634   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   18635   # is contrary to our usage.  Disable this feature.
   18636   alias -g '${1+"$@"}'='"$@"'
   18637   setopt NO_GLOB_SUBST
   18638 else
   18639   case `(set -o) 2>/dev/null` in #(
   18640   *posix*) :
   18641     set -o posix ;; #(
   18642   *) :
   18643      ;;
   18644 esac
   18645 fi
   18646 
   18647 
   18648 as_nl='
   18649 '
   18650 export as_nl
   18651 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   18652 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   18653 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   18654 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   18655 # Prefer a ksh shell builtin over an external printf program on Solaris,
   18656 # but without wasting forks for bash or zsh.
   18657 if test -z "$BASH_VERSION$ZSH_VERSION" \
   18658     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   18659   as_echo='print -r --'
   18660   as_echo_n='print -rn --'
   18661 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   18662   as_echo='printf %s\n'
   18663   as_echo_n='printf %s'
   18664 else
   18665   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   18666     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   18667     as_echo_n='/usr/ucb/echo -n'
   18668   else
   18669     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   18670     as_echo_n_body='eval
   18671       arg=$1;
   18672       case $arg in #(
   18673       *"$as_nl"*)
   18674 	expr "X$arg" : "X\\(.*\\)$as_nl";
   18675 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   18676       esac;
   18677       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   18678     '
   18679     export as_echo_n_body
   18680     as_echo_n='sh -c $as_echo_n_body as_echo'
   18681   fi
   18682   export as_echo_body
   18683   as_echo='sh -c $as_echo_body as_echo'
   18684 fi
   18685 
   18686 # The user is always right.
   18687 if test "${PATH_SEPARATOR+set}" != set; then
   18688   PATH_SEPARATOR=:
   18689   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   18690     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   18691       PATH_SEPARATOR=';'
   18692   }
   18693 fi
   18694 
   18695 
   18696 # IFS
   18697 # We need space, tab and new line, in precisely that order.  Quoting is
   18698 # there to prevent editors from complaining about space-tab.
   18699 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   18700 # splitting by setting IFS to empty value.)
   18701 IFS=" ""	$as_nl"
   18702 
   18703 # Find who we are.  Look in the path if we contain no directory separator.
   18704 as_myself=
   18705 case $0 in #((
   18706   *[\\/]* ) as_myself=$0 ;;
   18707   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18708 for as_dir in $PATH
   18709 do
   18710   IFS=$as_save_IFS
   18711   test -z "$as_dir" && as_dir=.
   18712     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   18713   done
   18714 IFS=$as_save_IFS
   18715 
   18716      ;;
   18717 esac
   18718 # We did not find ourselves, most probably we were run as `sh COMMAND'
   18719 # in which case we are not to be found in the path.
   18720 if test "x$as_myself" = x; then
   18721   as_myself=$0
   18722 fi
   18723 if test ! -f "$as_myself"; then
   18724   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   18725   exit 1
   18726 fi
   18727 
   18728 # Unset variables that we do not need and which cause bugs (e.g. in
   18729 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   18730 # suppresses any "Segmentation fault" message there.  '((' could
   18731 # trigger a bug in pdksh 5.2.14.
   18732 for as_var in BASH_ENV ENV MAIL MAILPATH
   18733 do eval test x\${$as_var+set} = xset \
   18734   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   18735 done
   18736 PS1='$ '
   18737 PS2='> '
   18738 PS4='+ '
   18739 
   18740 # NLS nuisances.
   18741 LC_ALL=C
   18742 export LC_ALL
   18743 LANGUAGE=C
   18744 export LANGUAGE
   18745 
   18746 # CDPATH.
   18747 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18748 
   18749 
   18750 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   18751 # ----------------------------------------
   18752 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   18753 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   18754 # script with STATUS, using 1 if that was 0.
   18755 as_fn_error ()
   18756 {
   18757   as_status=$1; test $as_status -eq 0 && as_status=1
   18758   if test "$4"; then
   18759     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   18760     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   18761   fi
   18762   $as_echo "$as_me: error: $2" >&2
   18763   as_fn_exit $as_status
   18764 } # as_fn_error
   18765 
   18766 
   18767 # as_fn_set_status STATUS
   18768 # -----------------------
   18769 # Set $? to STATUS, without forking.
   18770 as_fn_set_status ()
   18771 {
   18772   return $1
   18773 } # as_fn_set_status
   18774 
   18775 # as_fn_exit STATUS
   18776 # -----------------
   18777 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   18778 as_fn_exit ()
   18779 {
   18780   set +e
   18781   as_fn_set_status $1
   18782   exit $1
   18783 } # as_fn_exit
   18784 
   18785 # as_fn_unset VAR
   18786 # ---------------
   18787 # Portably unset VAR.
   18788 as_fn_unset ()
   18789 {
   18790   { eval $1=; unset $1;}
   18791 }
   18792 as_unset=as_fn_unset
   18793 # as_fn_append VAR VALUE
   18794 # ----------------------
   18795 # Append the text in VALUE to the end of the definition contained in VAR. Take
   18796 # advantage of any shell optimizations that allow amortized linear growth over
   18797 # repeated appends, instead of the typical quadratic growth present in naive
   18798 # implementations.
   18799 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   18800   eval 'as_fn_append ()
   18801   {
   18802     eval $1+=\$2
   18803   }'
   18804 else
   18805   as_fn_append ()
   18806   {
   18807     eval $1=\$$1\$2
   18808   }
   18809 fi # as_fn_append
   18810 
   18811 # as_fn_arith ARG...
   18812 # ------------------
   18813 # Perform arithmetic evaluation on the ARGs, and store the result in the
   18814 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   18815 # must be portable across $(()) and expr.
   18816 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   18817   eval 'as_fn_arith ()
   18818   {
   18819     as_val=$(( $* ))
   18820   }'
   18821 else
   18822   as_fn_arith ()
   18823   {
   18824     as_val=`expr "$@" || test $? -eq 1`
   18825   }
   18826 fi # as_fn_arith
   18827 
   18828 
   18829 if expr a : '\(a\)' >/dev/null 2>&1 &&
   18830    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   18831   as_expr=expr
   18832 else
   18833   as_expr=false
   18834 fi
   18835 
   18836 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   18837   as_basename=basename
   18838 else
   18839   as_basename=false
   18840 fi
   18841 
   18842 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   18843   as_dirname=dirname
   18844 else
   18845   as_dirname=false
   18846 fi
   18847 
   18848 as_me=`$as_basename -- "$0" ||
   18849 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   18850 	 X"$0" : 'X\(//\)$' \| \
   18851 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   18852 $as_echo X/"$0" |
   18853     sed '/^.*\/\([^/][^/]*\)\/*$/{
   18854 	    s//\1/
   18855 	    q
   18856 	  }
   18857 	  /^X\/\(\/\/\)$/{
   18858 	    s//\1/
   18859 	    q
   18860 	  }
   18861 	  /^X\/\(\/\).*/{
   18862 	    s//\1/
   18863 	    q
   18864 	  }
   18865 	  s/.*/./; q'`
   18866 
   18867 # Avoid depending upon Character Ranges.
   18868 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   18869 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   18870 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   18871 as_cr_digits='0123456789'
   18872 as_cr_alnum=$as_cr_Letters$as_cr_digits
   18873 
   18874 ECHO_C= ECHO_N= ECHO_T=
   18875 case `echo -n x` in #(((((
   18876 -n*)
   18877   case `echo 'xy\c'` in
   18878   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   18879   xy)  ECHO_C='\c';;
   18880   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   18881        ECHO_T='	';;
   18882   esac;;
   18883 *)
   18884   ECHO_N='-n';;
   18885 esac
   18886 
   18887 rm -f conf$$ conf$$.exe conf$$.file
   18888 if test -d conf$$.dir; then
   18889   rm -f conf$$.dir/conf$$.file
   18890 else
   18891   rm -f conf$$.dir
   18892   mkdir conf$$.dir 2>/dev/null
   18893 fi
   18894 if (echo >conf$$.file) 2>/dev/null; then
   18895   if ln -s conf$$.file conf$$ 2>/dev/null; then
   18896     as_ln_s='ln -s'
   18897     # ... but there are two gotchas:
   18898     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   18899     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   18900     # In both cases, we have to default to `cp -p'.
   18901     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   18902       as_ln_s='cp -p'
   18903   elif ln conf$$.file conf$$ 2>/dev/null; then
   18904     as_ln_s=ln
   18905   else
   18906     as_ln_s='cp -p'
   18907   fi
   18908 else
   18909   as_ln_s='cp -p'
   18910 fi
   18911 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   18912 rmdir conf$$.dir 2>/dev/null
   18913 
   18914 
   18915 # as_fn_mkdir_p
   18916 # -------------
   18917 # Create "$as_dir" as a directory, including parents if necessary.
   18918 as_fn_mkdir_p ()
   18919 {
   18920 
   18921   case $as_dir in #(
   18922   -*) as_dir=./$as_dir;;
   18923   esac
   18924   test -d "$as_dir" || eval $as_mkdir_p || {
   18925     as_dirs=
   18926     while :; do
   18927       case $as_dir in #(
   18928       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   18929       *) as_qdir=$as_dir;;
   18930       esac
   18931       as_dirs="'$as_qdir' $as_dirs"
   18932       as_dir=`$as_dirname -- "$as_dir" ||
   18933 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18934 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   18935 	 X"$as_dir" : 'X\(//\)$' \| \
   18936 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   18937 $as_echo X"$as_dir" |
   18938     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18939 	    s//\1/
   18940 	    q
   18941 	  }
   18942 	  /^X\(\/\/\)[^/].*/{
   18943 	    s//\1/
   18944 	    q
   18945 	  }
   18946 	  /^X\(\/\/\)$/{
   18947 	    s//\1/
   18948 	    q
   18949 	  }
   18950 	  /^X\(\/\).*/{
   18951 	    s//\1/
   18952 	    q
   18953 	  }
   18954 	  s/.*/./; q'`
   18955       test -d "$as_dir" && break
   18956     done
   18957     test -z "$as_dirs" || eval "mkdir $as_dirs"
   18958   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   18959 
   18960 
   18961 } # as_fn_mkdir_p
   18962 if mkdir -p . 2>/dev/null; then
   18963   as_mkdir_p='mkdir -p "$as_dir"'
   18964 else
   18965   test -d ./-p && rmdir ./-p
   18966   as_mkdir_p=false
   18967 fi
   18968 
   18969 if test -x / >/dev/null 2>&1; then
   18970   as_test_x='test -x'
   18971 else
   18972   if ls -dL / >/dev/null 2>&1; then
   18973     as_ls_L_option=L
   18974   else
   18975     as_ls_L_option=
   18976   fi
   18977   as_test_x='
   18978     eval sh -c '\''
   18979       if test -d "$1"; then
   18980 	test -d "$1/.";
   18981       else
   18982 	case $1 in #(
   18983 	-*)set "./$1";;
   18984 	esac;
   18985 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   18986 	???[sx]*):;;*)false;;esac;fi
   18987     '\'' sh
   18988   '
   18989 fi
   18990 as_executable_p=$as_test_x
   18991 
   18992 # Sed expression to map a string onto a valid CPP name.
   18993 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   18994 
   18995 # Sed expression to map a string onto a valid variable name.
   18996 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   18997 
   18998 
   18999 exec 6>&1
   19000 ## ----------------------------------- ##
   19001 ## Main body of $CONFIG_STATUS script. ##
   19002 ## ----------------------------------- ##
   19003 _ASEOF
   19004 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   19005 
   19006 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19007 # Save the log message, to keep $0 and so on meaningful, and to
   19008 # report actual input values of CONFIG_FILES etc. instead of their
   19009 # values after options handling.
   19010 ac_log="
   19011 This file was extended by libXtst $as_me 1.2.2, which was
   19012 generated by GNU Autoconf 2.68.  Invocation command line was
   19013 
   19014   CONFIG_FILES    = $CONFIG_FILES
   19015   CONFIG_HEADERS  = $CONFIG_HEADERS
   19016   CONFIG_LINKS    = $CONFIG_LINKS
   19017   CONFIG_COMMANDS = $CONFIG_COMMANDS
   19018   $ $0 $@
   19019 
   19020 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   19021 "
   19022 
   19023 _ACEOF
   19024 
   19025 case $ac_config_files in *"
   19026 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   19027 esac
   19028 
   19029 case $ac_config_headers in *"
   19030 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   19031 esac
   19032 
   19033 
   19034 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19035 # Files that config.status was made for.
   19036 config_files="$ac_config_files"
   19037 config_headers="$ac_config_headers"
   19038 config_commands="$ac_config_commands"
   19039 
   19040 _ACEOF
   19041 
   19042 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19043 ac_cs_usage="\
   19044 \`$as_me' instantiates files and other configuration actions
   19045 from templates according to the current configuration.  Unless the files
   19046 and actions are specified as TAGs, all are instantiated by default.
   19047 
   19048 Usage: $0 [OPTION]... [TAG]...
   19049 
   19050   -h, --help       print this help, then exit
   19051   -V, --version    print version number and configuration settings, then exit
   19052       --config     print configuration, then exit
   19053   -q, --quiet, --silent
   19054                    do not print progress messages
   19055   -d, --debug      don't remove temporary files
   19056       --recheck    update $as_me by reconfiguring in the same conditions
   19057       --file=FILE[:TEMPLATE]
   19058                    instantiate the configuration file FILE
   19059       --header=FILE[:TEMPLATE]
   19060                    instantiate the configuration header FILE
   19061 
   19062 Configuration files:
   19063 $config_files
   19064 
   19065 Configuration headers:
   19066 $config_headers
   19067 
   19068 Configuration commands:
   19069 $config_commands
   19070 
   19071 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   19072 
   19073 _ACEOF
   19074 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19075 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   19076 ac_cs_version="\\
   19077 libXtst config.status 1.2.2
   19078 configured by $0, generated by GNU Autoconf 2.68,
   19079   with options \\"\$ac_cs_config\\"
   19080 
   19081 Copyright (C) 2010 Free Software Foundation, Inc.
   19082 This config.status script is free software; the Free Software Foundation
   19083 gives unlimited permission to copy, distribute and modify it."
   19084 
   19085 ac_pwd='$ac_pwd'
   19086 srcdir='$srcdir'
   19087 INSTALL='$INSTALL'
   19088 MKDIR_P='$MKDIR_P'
   19089 AWK='$AWK'
   19090 test -n "\$AWK" || AWK=awk
   19091 _ACEOF
   19092 
   19093 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19094 # The default lists apply if the user does not specify any file.
   19095 ac_need_defaults=:
   19096 while test $# != 0
   19097 do
   19098   case $1 in
   19099   --*=?*)
   19100     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   19101     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   19102     ac_shift=:
   19103     ;;
   19104   --*=)
   19105     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   19106     ac_optarg=
   19107     ac_shift=:
   19108     ;;
   19109   *)
   19110     ac_option=$1
   19111     ac_optarg=$2
   19112     ac_shift=shift
   19113     ;;
   19114   esac
   19115 
   19116   case $ac_option in
   19117   # Handling of the options.
   19118   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   19119     ac_cs_recheck=: ;;
   19120   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   19121     $as_echo "$ac_cs_version"; exit ;;
   19122   --config | --confi | --conf | --con | --co | --c )
   19123     $as_echo "$ac_cs_config"; exit ;;
   19124   --debug | --debu | --deb | --de | --d | -d )
   19125     debug=: ;;
   19126   --file | --fil | --fi | --f )
   19127     $ac_shift
   19128     case $ac_optarg in
   19129     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19130     '') as_fn_error $? "missing file argument" ;;
   19131     esac
   19132     as_fn_append CONFIG_FILES " '$ac_optarg'"
   19133     ac_need_defaults=false;;
   19134   --header | --heade | --head | --hea )
   19135     $ac_shift
   19136     case $ac_optarg in
   19137     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19138     esac
   19139     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   19140     ac_need_defaults=false;;
   19141   --he | --h)
   19142     # Conflict between --help and --header
   19143     as_fn_error $? "ambiguous option: \`$1'
   19144 Try \`$0 --help' for more information.";;
   19145   --help | --hel | -h )
   19146     $as_echo "$ac_cs_usage"; exit ;;
   19147   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   19148   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   19149     ac_cs_silent=: ;;
   19150 
   19151   # This is an error.
   19152   -*) as_fn_error $? "unrecognized option: \`$1'
   19153 Try \`$0 --help' for more information." ;;
   19154 
   19155   *) as_fn_append ac_config_targets " $1"
   19156      ac_need_defaults=false ;;
   19157 
   19158   esac
   19159   shift
   19160 done
   19161 
   19162 ac_configure_extra_args=
   19163 
   19164 if $ac_cs_silent; then
   19165   exec 6>/dev/null
   19166   ac_configure_extra_args="$ac_configure_extra_args --silent"
   19167 fi
   19168 
   19169 _ACEOF
   19170 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19171 if \$ac_cs_recheck; then
   19172   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   19173   shift
   19174   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   19175   CONFIG_SHELL='$SHELL'
   19176   export CONFIG_SHELL
   19177   exec "\$@"
   19178 fi
   19179 
   19180 _ACEOF
   19181 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19182 exec 5>>config.log
   19183 {
   19184   echo
   19185   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   19186 ## Running $as_me. ##
   19187 _ASBOX
   19188   $as_echo "$ac_log"
   19189 } >&5
   19190 
   19191 _ACEOF
   19192 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19193 #
   19194 # INIT-COMMANDS
   19195 #
   19196 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   19197 
   19198 
   19199 # The HP-UX ksh and POSIX shell print the target directory to stdout
   19200 # if CDPATH is set.
   19201 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   19202 
   19203 sed_quote_subst='$sed_quote_subst'
   19204 double_quote_subst='$double_quote_subst'
   19205 delay_variable_subst='$delay_variable_subst'
   19206 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   19207 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   19208 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   19209 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   19210 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   19211 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   19212 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   19213 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   19214 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   19215 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   19216 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   19217 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   19218 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   19219 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   19220 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   19221 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   19222 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   19223 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   19224 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   19225 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   19226 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   19227 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   19228 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   19229 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   19230 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   19231 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   19232 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   19233 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   19234 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   19235 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   19236 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   19237 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   19238 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   19239 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   19240 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   19241 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   19242 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   19243 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   19244 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   19245 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   19246 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   19247 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   19248 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   19249 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   19250 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   19251 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   19252 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   19253 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   19254 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   19255 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   19256 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   19257 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   19258 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   19259 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   19260 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   19261 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   19262 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"`'
   19263 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   19264 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   19265 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   19266 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   19267 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   19268 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   19269 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   19270 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   19271 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   19272 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   19273 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   19274 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   19275 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   19276 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   19277 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   19278 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   19279 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   19280 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   19281 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   19282 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   19283 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   19284 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   19285 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   19286 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   19287 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   19288 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   19289 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   19290 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   19291 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   19292 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   19293 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   19294 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   19295 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   19296 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   19297 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   19298 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   19299 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   19300 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   19301 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   19302 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   19303 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   19304 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   19305 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   19306 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   19307 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   19308 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   19309 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   19310 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   19311 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   19312 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   19313 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   19314 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   19315 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   19316 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   19317 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   19318 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   19319 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   19320 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   19321 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   19322 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   19323 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   19324 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   19325 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   19326 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   19327 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   19328 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   19329 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   19330 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   19331 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   19332 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   19333 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   19334 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   19335 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   19336 
   19337 LTCC='$LTCC'
   19338 LTCFLAGS='$LTCFLAGS'
   19339 compiler='$compiler_DEFAULT'
   19340 
   19341 # A function that is used when there is no print builtin or printf.
   19342 func_fallback_echo ()
   19343 {
   19344   eval 'cat <<_LTECHO_EOF
   19345 \$1
   19346 _LTECHO_EOF'
   19347 }
   19348 
   19349 # Quote evaled strings.
   19350 for var in SHELL \
   19351 ECHO \
   19352 PATH_SEPARATOR \
   19353 SED \
   19354 GREP \
   19355 EGREP \
   19356 FGREP \
   19357 LD \
   19358 NM \
   19359 LN_S \
   19360 lt_SP2NL \
   19361 lt_NL2SP \
   19362 reload_flag \
   19363 OBJDUMP \
   19364 deplibs_check_method \
   19365 file_magic_cmd \
   19366 file_magic_glob \
   19367 want_nocaseglob \
   19368 DLLTOOL \
   19369 sharedlib_from_linklib_cmd \
   19370 AR \
   19371 AR_FLAGS \
   19372 archiver_list_spec \
   19373 STRIP \
   19374 RANLIB \
   19375 CC \
   19376 CFLAGS \
   19377 compiler \
   19378 lt_cv_sys_global_symbol_pipe \
   19379 lt_cv_sys_global_symbol_to_cdecl \
   19380 lt_cv_sys_global_symbol_to_c_name_address \
   19381 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   19382 nm_file_list_spec \
   19383 lt_prog_compiler_no_builtin_flag \
   19384 lt_prog_compiler_pic \
   19385 lt_prog_compiler_wl \
   19386 lt_prog_compiler_static \
   19387 lt_cv_prog_compiler_c_o \
   19388 need_locks \
   19389 MANIFEST_TOOL \
   19390 DSYMUTIL \
   19391 NMEDIT \
   19392 LIPO \
   19393 OTOOL \
   19394 OTOOL64 \
   19395 shrext_cmds \
   19396 export_dynamic_flag_spec \
   19397 whole_archive_flag_spec \
   19398 compiler_needs_object \
   19399 with_gnu_ld \
   19400 allow_undefined_flag \
   19401 no_undefined_flag \
   19402 hardcode_libdir_flag_spec \
   19403 hardcode_libdir_separator \
   19404 exclude_expsyms \
   19405 include_expsyms \
   19406 file_list_spec \
   19407 variables_saved_for_relink \
   19408 libname_spec \
   19409 library_names_spec \
   19410 soname_spec \
   19411 install_override_mode \
   19412 finish_eval \
   19413 old_striplib \
   19414 striplib; do
   19415     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   19416     *[\\\\\\\`\\"\\\$]*)
   19417       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   19418       ;;
   19419     *)
   19420       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   19421       ;;
   19422     esac
   19423 done
   19424 
   19425 # Double-quote double-evaled strings.
   19426 for var in reload_cmds \
   19427 old_postinstall_cmds \
   19428 old_postuninstall_cmds \
   19429 old_archive_cmds \
   19430 extract_expsyms_cmds \
   19431 old_archive_from_new_cmds \
   19432 old_archive_from_expsyms_cmds \
   19433 archive_cmds \
   19434 archive_expsym_cmds \
   19435 module_cmds \
   19436 module_expsym_cmds \
   19437 export_symbols_cmds \
   19438 prelink_cmds \
   19439 postlink_cmds \
   19440 postinstall_cmds \
   19441 postuninstall_cmds \
   19442 finish_cmds \
   19443 sys_lib_search_path_spec \
   19444 sys_lib_dlsearch_path_spec; do
   19445     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   19446     *[\\\\\\\`\\"\\\$]*)
   19447       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   19448       ;;
   19449     *)
   19450       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   19451       ;;
   19452     esac
   19453 done
   19454 
   19455 ac_aux_dir='$ac_aux_dir'
   19456 xsi_shell='$xsi_shell'
   19457 lt_shell_append='$lt_shell_append'
   19458 
   19459 # See if we are running on zsh, and set the options which allow our
   19460 # commands through without removal of \ escapes INIT.
   19461 if test -n "\${ZSH_VERSION+set}" ; then
   19462    setopt NO_GLOB_SUBST
   19463 fi
   19464 
   19465 
   19466     PACKAGE='$PACKAGE'
   19467     VERSION='$VERSION'
   19468     TIMESTAMP='$TIMESTAMP'
   19469     RM='$RM'
   19470     ofile='$ofile'
   19471 
   19472 
   19473 
   19474 
   19475 _ACEOF
   19476 
   19477 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19478 
   19479 # Handling of arguments.
   19480 for ac_config_target in $ac_config_targets
   19481 do
   19482   case $ac_config_target in
   19483     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   19484     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   19485     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   19486     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   19487     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   19488     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   19489     "specs/Makefile") CONFIG_FILES="$CONFIG_FILES specs/Makefile" ;;
   19490     "xtst.pc") CONFIG_FILES="$CONFIG_FILES xtst.pc" ;;
   19491 
   19492   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   19493   esac
   19494 done
   19495 
   19496 
   19497 # If the user did not use the arguments to specify the items to instantiate,
   19498 # then the envvar interface is used.  Set only those that are not.
   19499 # We use the long form for the default assignment because of an extremely
   19500 # bizarre bug on SunOS 4.1.3.
   19501 if $ac_need_defaults; then
   19502   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   19503   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   19504   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   19505 fi
   19506 
   19507 # Have a temporary directory for convenience.  Make it in the build tree
   19508 # simply because there is no reason against having it here, and in addition,
   19509 # creating and moving files from /tmp can sometimes cause problems.
   19510 # Hook for its removal unless debugging.
   19511 # Note that there is a small window in which the directory will not be cleaned:
   19512 # after its creation but before its name has been assigned to `$tmp'.
   19513 $debug ||
   19514 {
   19515   tmp= ac_tmp=
   19516   trap 'exit_status=$?
   19517   : "${ac_tmp:=$tmp}"
   19518   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   19519 ' 0
   19520   trap 'as_fn_exit 1' 1 2 13 15
   19521 }
   19522 # Create a (secure) tmp directory for tmp files.
   19523 
   19524 {
   19525   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   19526   test -d "$tmp"
   19527 }  ||
   19528 {
   19529   tmp=./conf$$-$RANDOM
   19530   (umask 077 && mkdir "$tmp")
   19531 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   19532 ac_tmp=$tmp
   19533 
   19534 # Set up the scripts for CONFIG_FILES section.
   19535 # No need to generate them if there are no CONFIG_FILES.
   19536 # This happens for instance with `./config.status config.h'.
   19537 if test -n "$CONFIG_FILES"; then
   19538 
   19539 
   19540 ac_cr=`echo X | tr X '\015'`
   19541 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   19542 # But we know of no other shell where ac_cr would be empty at this
   19543 # point, so we can use a bashism as a fallback.
   19544 if test "x$ac_cr" = x; then
   19545   eval ac_cr=\$\'\\r\'
   19546 fi
   19547 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   19548 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   19549   ac_cs_awk_cr='\\r'
   19550 else
   19551   ac_cs_awk_cr=$ac_cr
   19552 fi
   19553 
   19554 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   19555 _ACEOF
   19556 
   19557 
   19558 {
   19559   echo "cat >conf$$subs.awk <<_ACEOF" &&
   19560   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   19561   echo "_ACEOF"
   19562 } >conf$$subs.sh ||
   19563   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19564 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   19565 ac_delim='%!_!# '
   19566 for ac_last_try in false false false false false :; do
   19567   . ./conf$$subs.sh ||
   19568     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19569 
   19570   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   19571   if test $ac_delim_n = $ac_delim_num; then
   19572     break
   19573   elif $ac_last_try; then
   19574     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19575   else
   19576     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19577   fi
   19578 done
   19579 rm -f conf$$subs.sh
   19580 
   19581 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19582 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   19583 _ACEOF
   19584 sed -n '
   19585 h
   19586 s/^/S["/; s/!.*/"]=/
   19587 p
   19588 g
   19589 s/^[^!]*!//
   19590 :repl
   19591 t repl
   19592 s/'"$ac_delim"'$//
   19593 t delim
   19594 :nl
   19595 h
   19596 s/\(.\{148\}\)..*/\1/
   19597 t more1
   19598 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   19599 p
   19600 n
   19601 b repl
   19602 :more1
   19603 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19604 p
   19605 g
   19606 s/.\{148\}//
   19607 t nl
   19608 :delim
   19609 h
   19610 s/\(.\{148\}\)..*/\1/
   19611 t more2
   19612 s/["\\]/\\&/g; s/^/"/; s/$/"/
   19613 p
   19614 b
   19615 :more2
   19616 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19617 p
   19618 g
   19619 s/.\{148\}//
   19620 t delim
   19621 ' <conf$$subs.awk | sed '
   19622 /^[^""]/{
   19623   N
   19624   s/\n//
   19625 }
   19626 ' >>$CONFIG_STATUS || ac_write_fail=1
   19627 rm -f conf$$subs.awk
   19628 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19629 _ACAWK
   19630 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   19631   for (key in S) S_is_set[key] = 1
   19632   FS = ""
   19633 
   19634 }
   19635 {
   19636   line = $ 0
   19637   nfields = split(line, field, "@")
   19638   substed = 0
   19639   len = length(field[1])
   19640   for (i = 2; i < nfields; i++) {
   19641     key = field[i]
   19642     keylen = length(key)
   19643     if (S_is_set[key]) {
   19644       value = S[key]
   19645       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   19646       len += length(value) + length(field[++i])
   19647       substed = 1
   19648     } else
   19649       len += 1 + keylen
   19650   }
   19651 
   19652   print line
   19653 }
   19654 
   19655 _ACAWK
   19656 _ACEOF
   19657 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19658 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   19659   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   19660 else
   19661   cat
   19662 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   19663   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   19664 _ACEOF
   19665 
   19666 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   19667 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   19668 # trailing colons and then remove the whole line if VPATH becomes empty
   19669 # (actually we leave an empty line to preserve line numbers).
   19670 if test "x$srcdir" = x.; then
   19671   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   19672 h
   19673 s///
   19674 s/^/:/
   19675 s/[	 ]*$/:/
   19676 s/:\$(srcdir):/:/g
   19677 s/:\${srcdir}:/:/g
   19678 s/:@srcdir@:/:/g
   19679 s/^:*//
   19680 s/:*$//
   19681 x
   19682 s/\(=[	 ]*\).*/\1/
   19683 G
   19684 s/\n//
   19685 s/^[^=]*=[	 ]*$//
   19686 }'
   19687 fi
   19688 
   19689 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19690 fi # test -n "$CONFIG_FILES"
   19691 
   19692 # Set up the scripts for CONFIG_HEADERS section.
   19693 # No need to generate them if there are no CONFIG_HEADERS.
   19694 # This happens for instance with `./config.status Makefile'.
   19695 if test -n "$CONFIG_HEADERS"; then
   19696 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   19697 BEGIN {
   19698 _ACEOF
   19699 
   19700 # Transform confdefs.h into an awk script `defines.awk', embedded as
   19701 # here-document in config.status, that substitutes the proper values into
   19702 # config.h.in to produce config.h.
   19703 
   19704 # Create a delimiter string that does not exist in confdefs.h, to ease
   19705 # handling of long lines.
   19706 ac_delim='%!_!# '
   19707 for ac_last_try in false false :; do
   19708   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   19709   if test -z "$ac_tt"; then
   19710     break
   19711   elif $ac_last_try; then
   19712     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   19713   else
   19714     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19715   fi
   19716 done
   19717 
   19718 # For the awk script, D is an array of macro values keyed by name,
   19719 # likewise P contains macro parameters if any.  Preserve backslash
   19720 # newline sequences.
   19721 
   19722 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   19723 sed -n '
   19724 s/.\{148\}/&'"$ac_delim"'/g
   19725 t rset
   19726 :rset
   19727 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   19728 t def
   19729 d
   19730 :def
   19731 s/\\$//
   19732 t bsnl
   19733 s/["\\]/\\&/g
   19734 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19735 D["\1"]=" \3"/p
   19736 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   19737 d
   19738 :bsnl
   19739 s/["\\]/\\&/g
   19740 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19741 D["\1"]=" \3\\\\\\n"\\/p
   19742 t cont
   19743 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   19744 t cont
   19745 d
   19746 :cont
   19747 n
   19748 s/.\{148\}/&'"$ac_delim"'/g
   19749 t clear
   19750 :clear
   19751 s/\\$//
   19752 t bsnlc
   19753 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   19754 d
   19755 :bsnlc
   19756 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   19757 b cont
   19758 ' <confdefs.h | sed '
   19759 s/'"$ac_delim"'/"\\\
   19760 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   19761 
   19762 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19763   for (key in D) D_is_set[key] = 1
   19764   FS = ""
   19765 }
   19766 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   19767   line = \$ 0
   19768   split(line, arg, " ")
   19769   if (arg[1] == "#") {
   19770     defundef = arg[2]
   19771     mac1 = arg[3]
   19772   } else {
   19773     defundef = substr(arg[1], 2)
   19774     mac1 = arg[2]
   19775   }
   19776   split(mac1, mac2, "(") #)
   19777   macro = mac2[1]
   19778   prefix = substr(line, 1, index(line, defundef) - 1)
   19779   if (D_is_set[macro]) {
   19780     # Preserve the white space surrounding the "#".
   19781     print prefix "define", macro P[macro] D[macro]
   19782     next
   19783   } else {
   19784     # Replace #undef with comments.  This is necessary, for example,
   19785     # in the case of _POSIX_SOURCE, which is predefined and required
   19786     # on some systems where configure will not decide to define it.
   19787     if (defundef == "undef") {
   19788       print "/*", prefix defundef, macro, "*/"
   19789       next
   19790     }
   19791   }
   19792 }
   19793 { print }
   19794 _ACAWK
   19795 _ACEOF
   19796 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19797   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   19798 fi # test -n "$CONFIG_HEADERS"
   19799 
   19800 
   19801 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   19802 shift
   19803 for ac_tag
   19804 do
   19805   case $ac_tag in
   19806   :[FHLC]) ac_mode=$ac_tag; continue;;
   19807   esac
   19808   case $ac_mode$ac_tag in
   19809   :[FHL]*:*);;
   19810   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   19811   :[FH]-) ac_tag=-:-;;
   19812   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   19813   esac
   19814   ac_save_IFS=$IFS
   19815   IFS=:
   19816   set x $ac_tag
   19817   IFS=$ac_save_IFS
   19818   shift
   19819   ac_file=$1
   19820   shift
   19821 
   19822   case $ac_mode in
   19823   :L) ac_source=$1;;
   19824   :[FH])
   19825     ac_file_inputs=
   19826     for ac_f
   19827     do
   19828       case $ac_f in
   19829       -) ac_f="$ac_tmp/stdin";;
   19830       *) # Look for the file first in the build tree, then in the source tree
   19831 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   19832 	 # because $ac_f cannot contain `:'.
   19833 	 test -f "$ac_f" ||
   19834 	   case $ac_f in
   19835 	   [\\/$]*) false;;
   19836 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   19837 	   esac ||
   19838 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   19839       esac
   19840       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   19841       as_fn_append ac_file_inputs " '$ac_f'"
   19842     done
   19843 
   19844     # Let's still pretend it is `configure' which instantiates (i.e., don't
   19845     # use $as_me), people would be surprised to read:
   19846     #    /* config.h.  Generated by config.status.  */
   19847     configure_input='Generated from '`
   19848 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   19849 	`' by configure.'
   19850     if test x"$ac_file" != x-; then
   19851       configure_input="$ac_file.  $configure_input"
   19852       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   19853 $as_echo "$as_me: creating $ac_file" >&6;}
   19854     fi
   19855     # Neutralize special characters interpreted by sed in replacement strings.
   19856     case $configure_input in #(
   19857     *\&* | *\|* | *\\* )
   19858        ac_sed_conf_input=`$as_echo "$configure_input" |
   19859        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   19860     *) ac_sed_conf_input=$configure_input;;
   19861     esac
   19862 
   19863     case $ac_tag in
   19864     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   19865       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   19866     esac
   19867     ;;
   19868   esac
   19869 
   19870   ac_dir=`$as_dirname -- "$ac_file" ||
   19871 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19872 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   19873 	 X"$ac_file" : 'X\(//\)$' \| \
   19874 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   19875 $as_echo X"$ac_file" |
   19876     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19877 	    s//\1/
   19878 	    q
   19879 	  }
   19880 	  /^X\(\/\/\)[^/].*/{
   19881 	    s//\1/
   19882 	    q
   19883 	  }
   19884 	  /^X\(\/\/\)$/{
   19885 	    s//\1/
   19886 	    q
   19887 	  }
   19888 	  /^X\(\/\).*/{
   19889 	    s//\1/
   19890 	    q
   19891 	  }
   19892 	  s/.*/./; q'`
   19893   as_dir="$ac_dir"; as_fn_mkdir_p
   19894   ac_builddir=.
   19895 
   19896 case "$ac_dir" in
   19897 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19898 *)
   19899   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   19900   # A ".." for each directory in $ac_dir_suffix.
   19901   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   19902   case $ac_top_builddir_sub in
   19903   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19904   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   19905   esac ;;
   19906 esac
   19907 ac_abs_top_builddir=$ac_pwd
   19908 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   19909 # for backward compatibility:
   19910 ac_top_builddir=$ac_top_build_prefix
   19911 
   19912 case $srcdir in
   19913   .)  # We are building in place.
   19914     ac_srcdir=.
   19915     ac_top_srcdir=$ac_top_builddir_sub
   19916     ac_abs_top_srcdir=$ac_pwd ;;
   19917   [\\/]* | ?:[\\/]* )  # Absolute name.
   19918     ac_srcdir=$srcdir$ac_dir_suffix;
   19919     ac_top_srcdir=$srcdir
   19920     ac_abs_top_srcdir=$srcdir ;;
   19921   *) # Relative name.
   19922     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   19923     ac_top_srcdir=$ac_top_build_prefix$srcdir
   19924     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   19925 esac
   19926 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   19927 
   19928 
   19929   case $ac_mode in
   19930   :F)
   19931   #
   19932   # CONFIG_FILE
   19933   #
   19934 
   19935   case $INSTALL in
   19936   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   19937   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   19938   esac
   19939   ac_MKDIR_P=$MKDIR_P
   19940   case $MKDIR_P in
   19941   [\\/$]* | ?:[\\/]* ) ;;
   19942   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   19943   esac
   19944 _ACEOF
   19945 
   19946 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19947 # If the template does not know about datarootdir, expand it.
   19948 # FIXME: This hack should be removed a few years after 2.60.
   19949 ac_datarootdir_hack=; ac_datarootdir_seen=
   19950 ac_sed_dataroot='
   19951 /datarootdir/ {
   19952   p
   19953   q
   19954 }
   19955 /@datadir@/p
   19956 /@docdir@/p
   19957 /@infodir@/p
   19958 /@localedir@/p
   19959 /@mandir@/p'
   19960 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   19961 *datarootdir*) ac_datarootdir_seen=yes;;
   19962 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   19963   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   19964 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   19965 _ACEOF
   19966 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19967   ac_datarootdir_hack='
   19968   s&@datadir@&$datadir&g
   19969   s&@docdir@&$docdir&g
   19970   s&@infodir@&$infodir&g
   19971   s&@localedir@&$localedir&g
   19972   s&@mandir@&$mandir&g
   19973   s&\\\${datarootdir}&$datarootdir&g' ;;
   19974 esac
   19975 _ACEOF
   19976 
   19977 # Neutralize VPATH when `$srcdir' = `.'.
   19978 # Shell code in configure.ac might set extrasub.
   19979 # FIXME: do we really want to maintain this feature?
   19980 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19981 ac_sed_extra="$ac_vpsub
   19982 $extrasub
   19983 _ACEOF
   19984 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19985 :t
   19986 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   19987 s|@configure_input@|$ac_sed_conf_input|;t t
   19988 s&@top_builddir@&$ac_top_builddir_sub&;t t
   19989 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   19990 s&@srcdir@&$ac_srcdir&;t t
   19991 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   19992 s&@top_srcdir@&$ac_top_srcdir&;t t
   19993 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   19994 s&@builddir@&$ac_builddir&;t t
   19995 s&@abs_builddir@&$ac_abs_builddir&;t t
   19996 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   19997 s&@INSTALL@&$ac_INSTALL&;t t
   19998 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   19999 $ac_datarootdir_hack
   20000 "
   20001 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   20002   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20003 
   20004 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   20005   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   20006   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   20007       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   20008   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20009 which seems to be undefined.  Please make sure it is defined" >&5
   20010 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20011 which seems to be undefined.  Please make sure it is defined" >&2;}
   20012 
   20013   rm -f "$ac_tmp/stdin"
   20014   case $ac_file in
   20015   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   20016   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   20017   esac \
   20018   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20019  ;;
   20020   :H)
   20021   #
   20022   # CONFIG_HEADER
   20023   #
   20024   if test x"$ac_file" != x-; then
   20025     {
   20026       $as_echo "/* $configure_input  */" \
   20027       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   20028     } >"$ac_tmp/config.h" \
   20029       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20030     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   20031       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   20032 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   20033     else
   20034       rm -f "$ac_file"
   20035       mv "$ac_tmp/config.h" "$ac_file" \
   20036 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20037     fi
   20038   else
   20039     $as_echo "/* $configure_input  */" \
   20040       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   20041       || as_fn_error $? "could not create -" "$LINENO" 5
   20042   fi
   20043 # Compute "$ac_file"'s index in $config_headers.
   20044 _am_arg="$ac_file"
   20045 _am_stamp_count=1
   20046 for _am_header in $config_headers :; do
   20047   case $_am_header in
   20048     $_am_arg | $_am_arg:* )
   20049       break ;;
   20050     * )
   20051       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   20052   esac
   20053 done
   20054 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   20055 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20056 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   20057 	 X"$_am_arg" : 'X\(//\)$' \| \
   20058 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   20059 $as_echo X"$_am_arg" |
   20060     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20061 	    s//\1/
   20062 	    q
   20063 	  }
   20064 	  /^X\(\/\/\)[^/].*/{
   20065 	    s//\1/
   20066 	    q
   20067 	  }
   20068 	  /^X\(\/\/\)$/{
   20069 	    s//\1/
   20070 	    q
   20071 	  }
   20072 	  /^X\(\/\).*/{
   20073 	    s//\1/
   20074 	    q
   20075 	  }
   20076 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   20077  ;;
   20078 
   20079   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   20080 $as_echo "$as_me: executing $ac_file commands" >&6;}
   20081  ;;
   20082   esac
   20083 
   20084 
   20085   case $ac_file$ac_mode in
   20086     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   20087   # Older Autoconf quotes --file arguments for eval, but not when files
   20088   # are listed without --file.  Let's play safe and only enable the eval
   20089   # if we detect the quoting.
   20090   case $CONFIG_FILES in
   20091   *\'*) eval set x "$CONFIG_FILES" ;;
   20092   *)   set x $CONFIG_FILES ;;
   20093   esac
   20094   shift
   20095   for mf
   20096   do
   20097     # Strip MF so we end up with the name of the file.
   20098     mf=`echo "$mf" | sed -e 's/:.*$//'`
   20099     # Check whether this is an Automake generated Makefile or not.
   20100     # We used to match only the files named 'Makefile.in', but
   20101     # some people rename them; so instead we look at the file content.
   20102     # Grep'ing the first line is not enough: some people post-process
   20103     # each Makefile.in and add a new line on top of each file to say so.
   20104     # Grep'ing the whole file is not good either: AIX grep has a line
   20105     # limit of 2048, but all sed's we know have understand at least 4000.
   20106     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   20107       dirpart=`$as_dirname -- "$mf" ||
   20108 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20109 	 X"$mf" : 'X\(//\)[^/]' \| \
   20110 	 X"$mf" : 'X\(//\)$' \| \
   20111 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   20112 $as_echo X"$mf" |
   20113     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20114 	    s//\1/
   20115 	    q
   20116 	  }
   20117 	  /^X\(\/\/\)[^/].*/{
   20118 	    s//\1/
   20119 	    q
   20120 	  }
   20121 	  /^X\(\/\/\)$/{
   20122 	    s//\1/
   20123 	    q
   20124 	  }
   20125 	  /^X\(\/\).*/{
   20126 	    s//\1/
   20127 	    q
   20128 	  }
   20129 	  s/.*/./; q'`
   20130     else
   20131       continue
   20132     fi
   20133     # Extract the definition of DEPDIR, am__include, and am__quote
   20134     # from the Makefile without running 'make'.
   20135     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   20136     test -z "$DEPDIR" && continue
   20137     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   20138     test -z "$am__include" && continue
   20139     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   20140     # Find all dependency output files, they are included files with
   20141     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   20142     # simplest approach to changing $(DEPDIR) to its actual value in the
   20143     # expansion.
   20144     for file in `sed -n "
   20145       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   20146 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   20147       # Make sure the directory exists.
   20148       test -f "$dirpart/$file" && continue
   20149       fdir=`$as_dirname -- "$file" ||
   20150 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20151 	 X"$file" : 'X\(//\)[^/]' \| \
   20152 	 X"$file" : 'X\(//\)$' \| \
   20153 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   20154 $as_echo X"$file" |
   20155     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20156 	    s//\1/
   20157 	    q
   20158 	  }
   20159 	  /^X\(\/\/\)[^/].*/{
   20160 	    s//\1/
   20161 	    q
   20162 	  }
   20163 	  /^X\(\/\/\)$/{
   20164 	    s//\1/
   20165 	    q
   20166 	  }
   20167 	  /^X\(\/\).*/{
   20168 	    s//\1/
   20169 	    q
   20170 	  }
   20171 	  s/.*/./; q'`
   20172       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   20173       # echo "creating $dirpart/$file"
   20174       echo '# dummy' > "$dirpart/$file"
   20175     done
   20176   done
   20177 }
   20178  ;;
   20179     "libtool":C)
   20180 
   20181     # See if we are running on zsh, and set the options which allow our
   20182     # commands through without removal of \ escapes.
   20183     if test -n "${ZSH_VERSION+set}" ; then
   20184       setopt NO_GLOB_SUBST
   20185     fi
   20186 
   20187     cfgfile="${ofile}T"
   20188     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   20189     $RM "$cfgfile"
   20190 
   20191     cat <<_LT_EOF >> "$cfgfile"
   20192 #! $SHELL
   20193 
   20194 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   20195 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   20196 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   20197 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   20198 #
   20199 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   20200 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
   20201 #                 Foundation, Inc.
   20202 #   Written by Gordon Matzigkeit, 1996
   20203 #
   20204 #   This file is part of GNU Libtool.
   20205 #
   20206 # GNU Libtool is free software; you can redistribute it and/or
   20207 # modify it under the terms of the GNU General Public License as
   20208 # published by the Free Software Foundation; either version 2 of
   20209 # the License, or (at your option) any later version.
   20210 #
   20211 # As a special exception to the GNU General Public License,
   20212 # if you distribute this file as part of a program or library that
   20213 # is built using GNU Libtool, you may include this file under the
   20214 # same distribution terms that you use for the rest of that program.
   20215 #
   20216 # GNU Libtool is distributed in the hope that it will be useful,
   20217 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   20218 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   20219 # GNU General Public License for more details.
   20220 #
   20221 # You should have received a copy of the GNU General Public License
   20222 # along with GNU Libtool; see the file COPYING.  If not, a copy
   20223 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   20224 # obtained by writing to the Free Software Foundation, Inc.,
   20225 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   20226 
   20227 
   20228 # The names of the tagged configurations supported by this script.
   20229 available_tags=""
   20230 
   20231 # ### BEGIN LIBTOOL CONFIG
   20232 
   20233 # Which release of libtool.m4 was used?
   20234 macro_version=$macro_version
   20235 macro_revision=$macro_revision
   20236 
   20237 # Whether or not to build shared libraries.
   20238 build_libtool_libs=$enable_shared
   20239 
   20240 # Whether or not to build static libraries.
   20241 build_old_libs=$enable_static
   20242 
   20243 # What type of objects to build.
   20244 pic_mode=$pic_mode
   20245 
   20246 # Whether or not to optimize for fast installation.
   20247 fast_install=$enable_fast_install
   20248 
   20249 # Shell to use when invoking shell scripts.
   20250 SHELL=$lt_SHELL
   20251 
   20252 # An echo program that protects backslashes.
   20253 ECHO=$lt_ECHO
   20254 
   20255 # The PATH separator for the build system.
   20256 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   20257 
   20258 # The host system.
   20259 host_alias=$host_alias
   20260 host=$host
   20261 host_os=$host_os
   20262 
   20263 # The build system.
   20264 build_alias=$build_alias
   20265 build=$build
   20266 build_os=$build_os
   20267 
   20268 # A sed program that does not truncate output.
   20269 SED=$lt_SED
   20270 
   20271 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   20272 Xsed="\$SED -e 1s/^X//"
   20273 
   20274 # A grep program that handles long lines.
   20275 GREP=$lt_GREP
   20276 
   20277 # An ERE matcher.
   20278 EGREP=$lt_EGREP
   20279 
   20280 # A literal string matcher.
   20281 FGREP=$lt_FGREP
   20282 
   20283 # A BSD- or MS-compatible name lister.
   20284 NM=$lt_NM
   20285 
   20286 # Whether we need soft or hard links.
   20287 LN_S=$lt_LN_S
   20288 
   20289 # What is the maximum length of a command?
   20290 max_cmd_len=$max_cmd_len
   20291 
   20292 # Object file suffix (normally "o").
   20293 objext=$ac_objext
   20294 
   20295 # Executable file suffix (normally "").
   20296 exeext=$exeext
   20297 
   20298 # whether the shell understands "unset".
   20299 lt_unset=$lt_unset
   20300 
   20301 # turn spaces into newlines.
   20302 SP2NL=$lt_lt_SP2NL
   20303 
   20304 # turn newlines into spaces.
   20305 NL2SP=$lt_lt_NL2SP
   20306 
   20307 # convert \$build file names to \$host format.
   20308 to_host_file_cmd=$lt_cv_to_host_file_cmd
   20309 
   20310 # convert \$build files to toolchain format.
   20311 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   20312 
   20313 # An object symbol dumper.
   20314 OBJDUMP=$lt_OBJDUMP
   20315 
   20316 # Method to check whether dependent libraries are shared objects.
   20317 deplibs_check_method=$lt_deplibs_check_method
   20318 
   20319 # Command to use when deplibs_check_method = "file_magic".
   20320 file_magic_cmd=$lt_file_magic_cmd
   20321 
   20322 # How to find potential files when deplibs_check_method = "file_magic".
   20323 file_magic_glob=$lt_file_magic_glob
   20324 
   20325 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   20326 want_nocaseglob=$lt_want_nocaseglob
   20327 
   20328 # DLL creation program.
   20329 DLLTOOL=$lt_DLLTOOL
   20330 
   20331 # Command to associate shared and link libraries.
   20332 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   20333 
   20334 # The archiver.
   20335 AR=$lt_AR
   20336 
   20337 # Flags to create an archive.
   20338 AR_FLAGS=$lt_AR_FLAGS
   20339 
   20340 # How to feed a file listing to the archiver.
   20341 archiver_list_spec=$lt_archiver_list_spec
   20342 
   20343 # A symbol stripping program.
   20344 STRIP=$lt_STRIP
   20345 
   20346 # Commands used to install an old-style archive.
   20347 RANLIB=$lt_RANLIB
   20348 old_postinstall_cmds=$lt_old_postinstall_cmds
   20349 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   20350 
   20351 # Whether to use a lock for old archive extraction.
   20352 lock_old_archive_extraction=$lock_old_archive_extraction
   20353 
   20354 # A C compiler.
   20355 LTCC=$lt_CC
   20356 
   20357 # LTCC compiler flags.
   20358 LTCFLAGS=$lt_CFLAGS
   20359 
   20360 # Take the output of nm and produce a listing of raw symbols and C names.
   20361 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   20362 
   20363 # Transform the output of nm in a proper C declaration.
   20364 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   20365 
   20366 # Transform the output of nm in a C name address pair.
   20367 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   20368 
   20369 # Transform the output of nm in a C name address pair when lib prefix is needed.
   20370 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   20371 
   20372 # Specify filename containing input files for \$NM.
   20373 nm_file_list_spec=$lt_nm_file_list_spec
   20374 
   20375 # The root where to search for dependent libraries,and in which our libraries should be installed.
   20376 lt_sysroot=$lt_sysroot
   20377 
   20378 # The name of the directory that contains temporary libtool files.
   20379 objdir=$objdir
   20380 
   20381 # Used to examine libraries when file_magic_cmd begins with "file".
   20382 MAGIC_CMD=$MAGIC_CMD
   20383 
   20384 # Must we lock files when doing compilation?
   20385 need_locks=$lt_need_locks
   20386 
   20387 # Manifest tool.
   20388 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   20389 
   20390 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   20391 DSYMUTIL=$lt_DSYMUTIL
   20392 
   20393 # Tool to change global to local symbols on Mac OS X.
   20394 NMEDIT=$lt_NMEDIT
   20395 
   20396 # Tool to manipulate fat objects and archives on Mac OS X.
   20397 LIPO=$lt_LIPO
   20398 
   20399 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   20400 OTOOL=$lt_OTOOL
   20401 
   20402 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   20403 OTOOL64=$lt_OTOOL64
   20404 
   20405 # Old archive suffix (normally "a").
   20406 libext=$libext
   20407 
   20408 # Shared library suffix (normally ".so").
   20409 shrext_cmds=$lt_shrext_cmds
   20410 
   20411 # The commands to extract the exported symbol list from a shared archive.
   20412 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   20413 
   20414 # Variables whose values should be saved in libtool wrapper scripts and
   20415 # restored at link time.
   20416 variables_saved_for_relink=$lt_variables_saved_for_relink
   20417 
   20418 # Do we need the "lib" prefix for modules?
   20419 need_lib_prefix=$need_lib_prefix
   20420 
   20421 # Do we need a version for libraries?
   20422 need_version=$need_version
   20423 
   20424 # Library versioning type.
   20425 version_type=$version_type
   20426 
   20427 # Shared library runtime path variable.
   20428 runpath_var=$runpath_var
   20429 
   20430 # Shared library path variable.
   20431 shlibpath_var=$shlibpath_var
   20432 
   20433 # Is shlibpath searched before the hard-coded library search path?
   20434 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   20435 
   20436 # Format of library name prefix.
   20437 libname_spec=$lt_libname_spec
   20438 
   20439 # List of archive names.  First name is the real one, the rest are links.
   20440 # The last name is the one that the linker finds with -lNAME
   20441 library_names_spec=$lt_library_names_spec
   20442 
   20443 # The coded name of the library, if different from the real name.
   20444 soname_spec=$lt_soname_spec
   20445 
   20446 # Permission mode override for installation of shared libraries.
   20447 install_override_mode=$lt_install_override_mode
   20448 
   20449 # Command to use after installation of a shared archive.
   20450 postinstall_cmds=$lt_postinstall_cmds
   20451 
   20452 # Command to use after uninstallation of a shared archive.
   20453 postuninstall_cmds=$lt_postuninstall_cmds
   20454 
   20455 # Commands used to finish a libtool library installation in a directory.
   20456 finish_cmds=$lt_finish_cmds
   20457 
   20458 # As "finish_cmds", except a single script fragment to be evaled but
   20459 # not shown.
   20460 finish_eval=$lt_finish_eval
   20461 
   20462 # Whether we should hardcode library paths into libraries.
   20463 hardcode_into_libs=$hardcode_into_libs
   20464 
   20465 # Compile-time system search path for libraries.
   20466 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   20467 
   20468 # Run-time system search path for libraries.
   20469 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   20470 
   20471 # Whether dlopen is supported.
   20472 dlopen_support=$enable_dlopen
   20473 
   20474 # Whether dlopen of programs is supported.
   20475 dlopen_self=$enable_dlopen_self
   20476 
   20477 # Whether dlopen of statically linked programs is supported.
   20478 dlopen_self_static=$enable_dlopen_self_static
   20479 
   20480 # Commands to strip libraries.
   20481 old_striplib=$lt_old_striplib
   20482 striplib=$lt_striplib
   20483 
   20484 
   20485 # The linker used to build libraries.
   20486 LD=$lt_LD
   20487 
   20488 # How to create reloadable object files.
   20489 reload_flag=$lt_reload_flag
   20490 reload_cmds=$lt_reload_cmds
   20491 
   20492 # Commands used to build an old-style archive.
   20493 old_archive_cmds=$lt_old_archive_cmds
   20494 
   20495 # A language specific compiler.
   20496 CC=$lt_compiler
   20497 
   20498 # Is the compiler the GNU compiler?
   20499 with_gcc=$GCC
   20500 
   20501 # Compiler flag to turn off builtin functions.
   20502 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   20503 
   20504 # Additional compiler flags for building library objects.
   20505 pic_flag=$lt_lt_prog_compiler_pic
   20506 
   20507 # How to pass a linker flag through the compiler.
   20508 wl=$lt_lt_prog_compiler_wl
   20509 
   20510 # Compiler flag to prevent dynamic linking.
   20511 link_static_flag=$lt_lt_prog_compiler_static
   20512 
   20513 # Does compiler simultaneously support -c and -o options?
   20514 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   20515 
   20516 # Whether or not to add -lc for building shared libraries.
   20517 build_libtool_need_lc=$archive_cmds_need_lc
   20518 
   20519 # Whether or not to disallow shared libs when runtime libs are static.
   20520 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   20521 
   20522 # Compiler flag to allow reflexive dlopens.
   20523 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   20524 
   20525 # Compiler flag to generate shared objects directly from archives.
   20526 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   20527 
   20528 # Whether the compiler copes with passing no objects directly.
   20529 compiler_needs_object=$lt_compiler_needs_object
   20530 
   20531 # Create an old-style archive from a shared archive.
   20532 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   20533 
   20534 # Create a temporary old-style archive to link instead of a shared archive.
   20535 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   20536 
   20537 # Commands used to build a shared archive.
   20538 archive_cmds=$lt_archive_cmds
   20539 archive_expsym_cmds=$lt_archive_expsym_cmds
   20540 
   20541 # Commands used to build a loadable module if different from building
   20542 # a shared archive.
   20543 module_cmds=$lt_module_cmds
   20544 module_expsym_cmds=$lt_module_expsym_cmds
   20545 
   20546 # Whether we are building with GNU ld or not.
   20547 with_gnu_ld=$lt_with_gnu_ld
   20548 
   20549 # Flag that allows shared libraries with undefined symbols to be built.
   20550 allow_undefined_flag=$lt_allow_undefined_flag
   20551 
   20552 # Flag that enforces no undefined symbols.
   20553 no_undefined_flag=$lt_no_undefined_flag
   20554 
   20555 # Flag to hardcode \$libdir into a binary during linking.
   20556 # This must work even if \$libdir does not exist
   20557 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   20558 
   20559 # Whether we need a single "-rpath" flag with a separated argument.
   20560 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   20561 
   20562 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   20563 # DIR into the resulting binary.
   20564 hardcode_direct=$hardcode_direct
   20565 
   20566 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   20567 # DIR into the resulting binary and the resulting library dependency is
   20568 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   20569 # library is relocated.
   20570 hardcode_direct_absolute=$hardcode_direct_absolute
   20571 
   20572 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   20573 # into the resulting binary.
   20574 hardcode_minus_L=$hardcode_minus_L
   20575 
   20576 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   20577 # into the resulting binary.
   20578 hardcode_shlibpath_var=$hardcode_shlibpath_var
   20579 
   20580 # Set to "yes" if building a shared library automatically hardcodes DIR
   20581 # into the library and all subsequent libraries and executables linked
   20582 # against it.
   20583 hardcode_automatic=$hardcode_automatic
   20584 
   20585 # Set to yes if linker adds runtime paths of dependent libraries
   20586 # to runtime path list.
   20587 inherit_rpath=$inherit_rpath
   20588 
   20589 # Whether libtool must link a program against all its dependency libraries.
   20590 link_all_deplibs=$link_all_deplibs
   20591 
   20592 # Set to "yes" if exported symbols are required.
   20593 always_export_symbols=$always_export_symbols
   20594 
   20595 # The commands to list exported symbols.
   20596 export_symbols_cmds=$lt_export_symbols_cmds
   20597 
   20598 # Symbols that should not be listed in the preloaded symbols.
   20599 exclude_expsyms=$lt_exclude_expsyms
   20600 
   20601 # Symbols that must always be exported.
   20602 include_expsyms=$lt_include_expsyms
   20603 
   20604 # Commands necessary for linking programs (against libraries) with templates.
   20605 prelink_cmds=$lt_prelink_cmds
   20606 
   20607 # Commands necessary for finishing linking programs.
   20608 postlink_cmds=$lt_postlink_cmds
   20609 
   20610 # Specify filename containing input files.
   20611 file_list_spec=$lt_file_list_spec
   20612 
   20613 # How to hardcode a shared library path into an executable.
   20614 hardcode_action=$hardcode_action
   20615 
   20616 # ### END LIBTOOL CONFIG
   20617 
   20618 _LT_EOF
   20619 
   20620   case $host_os in
   20621   aix3*)
   20622     cat <<\_LT_EOF >> "$cfgfile"
   20623 # AIX sometimes has problems with the GCC collect2 program.  For some
   20624 # reason, if we set the COLLECT_NAMES environment variable, the problems
   20625 # vanish in a puff of smoke.
   20626 if test "X${COLLECT_NAMES+set}" != Xset; then
   20627   COLLECT_NAMES=
   20628   export COLLECT_NAMES
   20629 fi
   20630 _LT_EOF
   20631     ;;
   20632   esac
   20633 
   20634 
   20635 ltmain="$ac_aux_dir/ltmain.sh"
   20636 
   20637 
   20638   # We use sed instead of cat because bash on DJGPP gets confused if
   20639   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   20640   # text mode, it properly converts lines to CR/LF.  This bash problem
   20641   # is reportedly fixed, but why not run on old versions too?
   20642   sed '$q' "$ltmain" >> "$cfgfile" \
   20643      || (rm -f "$cfgfile"; exit 1)
   20644 
   20645   if test x"$xsi_shell" = xyes; then
   20646   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
   20647 func_dirname ()\
   20648 {\
   20649 \    case ${1} in\
   20650 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   20651 \      *  ) func_dirname_result="${3}" ;;\
   20652 \    esac\
   20653 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
   20654   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20655     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20656 test 0 -eq $? || _lt_function_replace_fail=:
   20657 
   20658 
   20659   sed -e '/^func_basename ()$/,/^} # func_basename /c\
   20660 func_basename ()\
   20661 {\
   20662 \    func_basename_result="${1##*/}"\
   20663 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
   20664   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20665     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20666 test 0 -eq $? || _lt_function_replace_fail=:
   20667 
   20668 
   20669   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
   20670 func_dirname_and_basename ()\
   20671 {\
   20672 \    case ${1} in\
   20673 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   20674 \      *  ) func_dirname_result="${3}" ;;\
   20675 \    esac\
   20676 \    func_basename_result="${1##*/}"\
   20677 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
   20678   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20679     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20680 test 0 -eq $? || _lt_function_replace_fail=:
   20681 
   20682 
   20683   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
   20684 func_stripname ()\
   20685 {\
   20686 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
   20687 \    # positional parameters, so assign one to ordinary parameter first.\
   20688 \    func_stripname_result=${3}\
   20689 \    func_stripname_result=${func_stripname_result#"${1}"}\
   20690 \    func_stripname_result=${func_stripname_result%"${2}"}\
   20691 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
   20692   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20693     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20694 test 0 -eq $? || _lt_function_replace_fail=:
   20695 
   20696 
   20697   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
   20698 func_split_long_opt ()\
   20699 {\
   20700 \    func_split_long_opt_name=${1%%=*}\
   20701 \    func_split_long_opt_arg=${1#*=}\
   20702 } # Extended-shell func_split_long_opt 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_split_short_opt ()$/,/^} # func_split_short_opt /c\
   20709 func_split_short_opt ()\
   20710 {\
   20711 \    func_split_short_opt_arg=${1#??}\
   20712 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
   20713 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
   20714   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20715     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20716 test 0 -eq $? || _lt_function_replace_fail=:
   20717 
   20718 
   20719   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
   20720 func_lo2o ()\
   20721 {\
   20722 \    case ${1} in\
   20723 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
   20724 \      *)    func_lo2o_result=${1} ;;\
   20725 \    esac\
   20726 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
   20727   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20728     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20729 test 0 -eq $? || _lt_function_replace_fail=:
   20730 
   20731 
   20732   sed -e '/^func_xform ()$/,/^} # func_xform /c\
   20733 func_xform ()\
   20734 {\
   20735     func_xform_result=${1%.*}.lo\
   20736 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
   20737   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20738     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20739 test 0 -eq $? || _lt_function_replace_fail=:
   20740 
   20741 
   20742   sed -e '/^func_arith ()$/,/^} # func_arith /c\
   20743 func_arith ()\
   20744 {\
   20745     func_arith_result=$(( $* ))\
   20746 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
   20747   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20748     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20749 test 0 -eq $? || _lt_function_replace_fail=:
   20750 
   20751 
   20752   sed -e '/^func_len ()$/,/^} # func_len /c\
   20753 func_len ()\
   20754 {\
   20755     func_len_result=${#1}\
   20756 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
   20757   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20758     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20759 test 0 -eq $? || _lt_function_replace_fail=:
   20760 
   20761 fi
   20762 
   20763 if test x"$lt_shell_append" = xyes; then
   20764   sed -e '/^func_append ()$/,/^} # func_append /c\
   20765 func_append ()\
   20766 {\
   20767     eval "${1}+=\\${2}"\
   20768 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
   20769   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20770     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20771 test 0 -eq $? || _lt_function_replace_fail=:
   20772 
   20773 
   20774   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
   20775 func_append_quoted ()\
   20776 {\
   20777 \    func_quote_for_eval "${2}"\
   20778 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
   20779 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
   20780   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20781     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20782 test 0 -eq $? || _lt_function_replace_fail=:
   20783 
   20784 
   20785   # Save a `func_append' function call where possible by direct use of '+='
   20786   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
   20787     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20788       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20789   test 0 -eq $? || _lt_function_replace_fail=:
   20790 else
   20791   # Save a `func_append' function call even when '+=' is not available
   20792   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
   20793     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20794       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20795   test 0 -eq $? || _lt_function_replace_fail=:
   20796 fi
   20797 
   20798 if test x"$_lt_function_replace_fail" = x":"; then
   20799   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
   20800 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
   20801 fi
   20802 
   20803 
   20804    mv -f "$cfgfile" "$ofile" ||
   20805     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   20806   chmod +x "$ofile"
   20807 
   20808  ;;
   20809 
   20810   esac
   20811 done # for ac_tag
   20812 
   20813 
   20814 as_fn_exit 0
   20815 _ACEOF
   20816 ac_clean_files=$ac_clean_files_save
   20817 
   20818 test $ac_write_fail = 0 ||
   20819   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   20820 
   20821 
   20822 # configure is writing to config.log, and then calls config.status.
   20823 # config.status does its own redirection, appending to config.log.
   20824 # Unfortunately, on DOS this fails, as config.log is still kept open
   20825 # by configure, so config.status won't be able to write to it; its
   20826 # output is simply discarded.  So we exec the FD to /dev/null,
   20827 # effectively closing config.log, so it can be properly (re)opened and
   20828 # appended to by config.status.  When coming back to configure, we
   20829 # need to make the FD available again.
   20830 if test "$no_create" != yes; then
   20831   ac_cs_success=:
   20832   ac_config_status_args=
   20833   test "$silent" = yes &&
   20834     ac_config_status_args="$ac_config_status_args --quiet"
   20835   exec 5>/dev/null
   20836   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   20837   exec 5>>config.log
   20838   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   20839   # would make configure fail if this is the last instruction.
   20840   $ac_cs_success || as_fn_exit 1
   20841 fi
   20842 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   20843   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   20844 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   20845 fi
   20846 
   20847