Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.4
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.68 for libXau 1.0.8.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 #
      8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
     10 # Foundation, Inc.
     11 #
     12 #
     13 # This configure script is free software; the Free Software Foundation
     14 # gives unlimited permission to copy, distribute and modify it.
     15 ## -------------------- ##
     16 ## M4sh Initialization. ##
     17 ## -------------------- ##
     18 
     19 # Be more Bourne compatible
     20 DUALCASE=1; export DUALCASE # for MKS sh
     21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     22   emulate sh
     23   NULLCMD=:
     24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     25   # is contrary to our usage.  Disable this feature.
     26   alias -g '${1+"$@"}'='"$@"'
     27   setopt NO_GLOB_SUBST
     28 else
     29   case `(set -o) 2>/dev/null` in #(
     30   *posix*) :
     31     set -o posix ;; #(
     32   *) :
     33      ;;
     34 esac
     35 fi
     36 
     37 
     38 as_nl='
     39 '
     40 export as_nl
     41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     45 # Prefer a ksh shell builtin over an external printf program on Solaris,
     46 # but without wasting forks for bash or zsh.
     47 if test -z "$BASH_VERSION$ZSH_VERSION" \
     48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     49   as_echo='print -r --'
     50   as_echo_n='print -rn --'
     51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     52   as_echo='printf %s\n'
     53   as_echo_n='printf %s'
     54 else
     55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     57     as_echo_n='/usr/ucb/echo -n'
     58   else
     59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     60     as_echo_n_body='eval
     61       arg=$1;
     62       case $arg in #(
     63       *"$as_nl"*)
     64 	expr "X$arg" : "X\\(.*\\)$as_nl";
     65 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     66       esac;
     67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     68     '
     69     export as_echo_n_body
     70     as_echo_n='sh -c $as_echo_n_body as_echo'
     71   fi
     72   export as_echo_body
     73   as_echo='sh -c $as_echo_body as_echo'
     74 fi
     75 
     76 # The user is always right.
     77 if test "${PATH_SEPARATOR+set}" != set; then
     78   PATH_SEPARATOR=:
     79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     81       PATH_SEPARATOR=';'
     82   }
     83 fi
     84 
     85 
     86 # IFS
     87 # We need space, tab and new line, in precisely that order.  Quoting is
     88 # there to prevent editors from complaining about space-tab.
     89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     90 # splitting by setting IFS to empty value.)
     91 IFS=" ""	$as_nl"
     92 
     93 # Find who we are.  Look in the path if we contain no directory separator.
     94 as_myself=
     95 case $0 in #((
     96   *[\\/]* ) as_myself=$0 ;;
     97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     98 for as_dir in $PATH
     99 do
    100   IFS=$as_save_IFS
    101   test -z "$as_dir" && as_dir=.
    102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    103   done
    104 IFS=$as_save_IFS
    105 
    106      ;;
    107 esac
    108 # We did not find ourselves, most probably we were run as `sh COMMAND'
    109 # in which case we are not to be found in the path.
    110 if test "x$as_myself" = x; then
    111   as_myself=$0
    112 fi
    113 if test ! -f "$as_myself"; then
    114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    115   exit 1
    116 fi
    117 
    118 # Unset variables that we do not need and which cause bugs (e.g. in
    119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    120 # suppresses any "Segmentation fault" message there.  '((' could
    121 # trigger a bug in pdksh 5.2.14.
    122 for as_var in BASH_ENV ENV MAIL MAILPATH
    123 do eval test x\${$as_var+set} = xset \
    124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    125 done
    126 PS1='$ '
    127 PS2='> '
    128 PS4='+ '
    129 
    130 # NLS nuisances.
    131 LC_ALL=C
    132 export LC_ALL
    133 LANGUAGE=C
    134 export LANGUAGE
    135 
    136 # CDPATH.
    137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    138 
    139 if test "x$CONFIG_SHELL" = x; then
    140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    141   emulate sh
    142   NULLCMD=:
    143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    144   # is contrary to our usage.  Disable this feature.
    145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    146   setopt NO_GLOB_SUBST
    147 else
    148   case \`(set -o) 2>/dev/null\` in #(
    149   *posix*) :
    150     set -o posix ;; #(
    151   *) :
    152      ;;
    153 esac
    154 fi
    155 "
    156   as_required="as_fn_return () { (exit \$1); }
    157 as_fn_success () { as_fn_return 0; }
    158 as_fn_failure () { as_fn_return 1; }
    159 as_fn_ret_success () { return 0; }
    160 as_fn_ret_failure () { return 1; }
    161 
    162 exitcode=0
    163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    168 
    169 else
    170   exitcode=1; echo positional parameters were not saved.
    171 fi
    172 test x\$exitcode = x0 || exit 1"
    173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    177 test \$(( 1 + 1 )) = 2 || exit 1
    178 
    179   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    180     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    181     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    182     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    183     PATH=/empty FPATH=/empty; export PATH FPATH
    184     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    185       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
    186   if (eval "$as_required") 2>/dev/null; then :
    187   as_have_required=yes
    188 else
    189   as_have_required=no
    190 fi
    191   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    192 
    193 else
    194   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    195 as_found=false
    196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    197 do
    198   IFS=$as_save_IFS
    199   test -z "$as_dir" && as_dir=.
    200   as_found=:
    201   case $as_dir in #(
    202 	 /*)
    203 	   for as_base in sh bash ksh sh5; do
    204 	     # Try only shells that exist, to save several forks.
    205 	     as_shell=$as_dir/$as_base
    206 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    207 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    208   CONFIG_SHELL=$as_shell as_have_required=yes
    209 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    210   break 2
    211 fi
    212 fi
    213 	   done;;
    214        esac
    215   as_found=false
    216 done
    217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    218 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    219   CONFIG_SHELL=$SHELL as_have_required=yes
    220 fi; }
    221 IFS=$as_save_IFS
    222 
    223 
    224       if test "x$CONFIG_SHELL" != x; then :
    225   # We cannot yet assume a decent shell, so we have to provide a
    226 	# neutralization value for shells without unset; and this also
    227 	# works around shells that cannot unset nonexistent variables.
    228 	# Preserve -v and -x to the replacement shell.
    229 	BASH_ENV=/dev/null
    230 	ENV=/dev/null
    231 	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    232 	export CONFIG_SHELL
    233 	case $- in # ((((
    234 	  *v*x* | *x*v* ) as_opts=-vx ;;
    235 	  *v* ) as_opts=-v ;;
    236 	  *x* ) as_opts=-x ;;
    237 	  * ) as_opts= ;;
    238 	esac
    239 	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
    240 fi
    241 
    242     if test x$as_have_required = xno; then :
    243   $as_echo "$0: This script requires a shell more modern than all"
    244   $as_echo "$0: the shells that I found on your system."
    245   if test x${ZSH_VERSION+set} = xset ; then
    246     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    247     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    248   else
    249     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    250 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    251 $0: about your system, including any error possibly output
    252 $0: before this message. Then install a modern shell, or
    253 $0: manually run the script under such a shell if you do
    254 $0: have one."
    255   fi
    256   exit 1
    257 fi
    258 fi
    259 fi
    260 SHELL=${CONFIG_SHELL-/bin/sh}
    261 export SHELL
    262 # Unset more variables known to interfere with behavior of common tools.
    263 CLICOLOR_FORCE= GREP_OPTIONS=
    264 unset CLICOLOR_FORCE GREP_OPTIONS
    265 
    266 ## --------------------- ##
    267 ## M4sh Shell Functions. ##
    268 ## --------------------- ##
    269 # as_fn_unset VAR
    270 # ---------------
    271 # Portably unset VAR.
    272 as_fn_unset ()
    273 {
    274   { eval $1=; unset $1;}
    275 }
    276 as_unset=as_fn_unset
    277 
    278 # as_fn_set_status STATUS
    279 # -----------------------
    280 # Set $? to STATUS, without forking.
    281 as_fn_set_status ()
    282 {
    283   return $1
    284 } # as_fn_set_status
    285 
    286 # as_fn_exit STATUS
    287 # -----------------
    288 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    289 as_fn_exit ()
    290 {
    291   set +e
    292   as_fn_set_status $1
    293   exit $1
    294 } # as_fn_exit
    295 
    296 # as_fn_mkdir_p
    297 # -------------
    298 # Create "$as_dir" as a directory, including parents if necessary.
    299 as_fn_mkdir_p ()
    300 {
    301 
    302   case $as_dir in #(
    303   -*) as_dir=./$as_dir;;
    304   esac
    305   test -d "$as_dir" || eval $as_mkdir_p || {
    306     as_dirs=
    307     while :; do
    308       case $as_dir in #(
    309       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    310       *) as_qdir=$as_dir;;
    311       esac
    312       as_dirs="'$as_qdir' $as_dirs"
    313       as_dir=`$as_dirname -- "$as_dir" ||
    314 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    315 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    316 	 X"$as_dir" : 'X\(//\)$' \| \
    317 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    318 $as_echo X"$as_dir" |
    319     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    320 	    s//\1/
    321 	    q
    322 	  }
    323 	  /^X\(\/\/\)[^/].*/{
    324 	    s//\1/
    325 	    q
    326 	  }
    327 	  /^X\(\/\/\)$/{
    328 	    s//\1/
    329 	    q
    330 	  }
    331 	  /^X\(\/\).*/{
    332 	    s//\1/
    333 	    q
    334 	  }
    335 	  s/.*/./; q'`
    336       test -d "$as_dir" && break
    337     done
    338     test -z "$as_dirs" || eval "mkdir $as_dirs"
    339   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    340 
    341 
    342 } # as_fn_mkdir_p
    343 # as_fn_append VAR VALUE
    344 # ----------------------
    345 # Append the text in VALUE to the end of the definition contained in VAR. Take
    346 # advantage of any shell optimizations that allow amortized linear growth over
    347 # repeated appends, instead of the typical quadratic growth present in naive
    348 # implementations.
    349 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    350   eval 'as_fn_append ()
    351   {
    352     eval $1+=\$2
    353   }'
    354 else
    355   as_fn_append ()
    356   {
    357     eval $1=\$$1\$2
    358   }
    359 fi # as_fn_append
    360 
    361 # as_fn_arith ARG...
    362 # ------------------
    363 # Perform arithmetic evaluation on the ARGs, and store the result in the
    364 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    365 # must be portable across $(()) and expr.
    366 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    367   eval 'as_fn_arith ()
    368   {
    369     as_val=$(( $* ))
    370   }'
    371 else
    372   as_fn_arith ()
    373   {
    374     as_val=`expr "$@" || test $? -eq 1`
    375   }
    376 fi # as_fn_arith
    377 
    378 
    379 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    380 # ----------------------------------------
    381 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    382 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    383 # script with STATUS, using 1 if that was 0.
    384 as_fn_error ()
    385 {
    386   as_status=$1; test $as_status -eq 0 && as_status=1
    387   if test "$4"; then
    388     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    389     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    390   fi
    391   $as_echo "$as_me: error: $2" >&2
    392   as_fn_exit $as_status
    393 } # as_fn_error
    394 
    395 if expr a : '\(a\)' >/dev/null 2>&1 &&
    396    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    397   as_expr=expr
    398 else
    399   as_expr=false
    400 fi
    401 
    402 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    403   as_basename=basename
    404 else
    405   as_basename=false
    406 fi
    407 
    408 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    409   as_dirname=dirname
    410 else
    411   as_dirname=false
    412 fi
    413 
    414 as_me=`$as_basename -- "$0" ||
    415 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    416 	 X"$0" : 'X\(//\)$' \| \
    417 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    418 $as_echo X/"$0" |
    419     sed '/^.*\/\([^/][^/]*\)\/*$/{
    420 	    s//\1/
    421 	    q
    422 	  }
    423 	  /^X\/\(\/\/\)$/{
    424 	    s//\1/
    425 	    q
    426 	  }
    427 	  /^X\/\(\/\).*/{
    428 	    s//\1/
    429 	    q
    430 	  }
    431 	  s/.*/./; q'`
    432 
    433 # Avoid depending upon Character Ranges.
    434 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    435 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    436 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    437 as_cr_digits='0123456789'
    438 as_cr_alnum=$as_cr_Letters$as_cr_digits
    439 
    440 
    441   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    442   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    443   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    444   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    445   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    446   sed -n '
    447     p
    448     /[$]LINENO/=
    449   ' <$as_myself |
    450     sed '
    451       s/[$]LINENO.*/&-/
    452       t lineno
    453       b
    454       :lineno
    455       N
    456       :loop
    457       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    458       t loop
    459       s/-\n.*//
    460     ' >$as_me.lineno &&
    461   chmod +x "$as_me.lineno" ||
    462     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    463 
    464   # Don't try to exec as it changes $[0], causing all sort of problems
    465   # (the dirname of $[0] is not the place where we might find the
    466   # original and so on.  Autoconf is especially sensitive to this).
    467   . "./$as_me.lineno"
    468   # Exit status is that of the last command.
    469   exit
    470 }
    471 
    472 ECHO_C= ECHO_N= ECHO_T=
    473 case `echo -n x` in #(((((
    474 -n*)
    475   case `echo 'xy\c'` in
    476   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    477   xy)  ECHO_C='\c';;
    478   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    479        ECHO_T='	';;
    480   esac;;
    481 *)
    482   ECHO_N='-n';;
    483 esac
    484 
    485 rm -f conf$$ conf$$.exe conf$$.file
    486 if test -d conf$$.dir; then
    487   rm -f conf$$.dir/conf$$.file
    488 else
    489   rm -f conf$$.dir
    490   mkdir conf$$.dir 2>/dev/null
    491 fi
    492 if (echo >conf$$.file) 2>/dev/null; then
    493   if ln -s conf$$.file conf$$ 2>/dev/null; then
    494     as_ln_s='ln -s'
    495     # ... but there are two gotchas:
    496     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    497     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    498     # In both cases, we have to default to `cp -p'.
    499     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    500       as_ln_s='cp -p'
    501   elif ln conf$$.file conf$$ 2>/dev/null; then
    502     as_ln_s=ln
    503   else
    504     as_ln_s='cp -p'
    505   fi
    506 else
    507   as_ln_s='cp -p'
    508 fi
    509 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    510 rmdir conf$$.dir 2>/dev/null
    511 
    512 if mkdir -p . 2>/dev/null; then
    513   as_mkdir_p='mkdir -p "$as_dir"'
    514 else
    515   test -d ./-p && rmdir ./-p
    516   as_mkdir_p=false
    517 fi
    518 
    519 if test -x / >/dev/null 2>&1; then
    520   as_test_x='test -x'
    521 else
    522   if ls -dL / >/dev/null 2>&1; then
    523     as_ls_L_option=L
    524   else
    525     as_ls_L_option=
    526   fi
    527   as_test_x='
    528     eval sh -c '\''
    529       if test -d "$1"; then
    530 	test -d "$1/.";
    531       else
    532 	case $1 in #(
    533 	-*)set "./$1";;
    534 	esac;
    535 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    536 	???[sx]*):;;*)false;;esac;fi
    537     '\'' sh
    538   '
    539 fi
    540 as_executable_p=$as_test_x
    541 
    542 # Sed expression to map a string onto a valid CPP name.
    543 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    544 
    545 # Sed expression to map a string onto a valid variable name.
    546 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    547 
    548 SHELL=${CONFIG_SHELL-/bin/sh}
    549 
    550 
    551 test -n "$DJDIR" || exec 7<&0 </dev/null
    552 exec 6>&1
    553 
    554 # Name of the host.
    555 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    556 # so uname gets run too.
    557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    558 
    559 #
    560 # Initializations.
    561 #
    562 ac_default_prefix=/usr/local
    563 ac_clean_files=
    564 ac_config_libobj_dir=.
    565 LIBOBJS=
    566 cross_compiling=no
    567 subdirs=
    568 MFLAGS=
    569 MAKEFLAGS=
    570 
    571 # Identity of this package.
    572 PACKAGE_NAME='libXau'
    573 PACKAGE_TARNAME='libXau'
    574 PACKAGE_VERSION='1.0.8'
    575 PACKAGE_STRING='libXau 1.0.8'
    576 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    577 PACKAGE_URL=''
    578 
    579 ac_unique_file="Makefile.am"
    580 # Factoring default headers for most tests.
    581 ac_includes_default="\
    582 #include <stdio.h>
    583 #ifdef HAVE_SYS_TYPES_H
    584 # include <sys/types.h>
    585 #endif
    586 #ifdef HAVE_SYS_STAT_H
    587 # include <sys/stat.h>
    588 #endif
    589 #ifdef STDC_HEADERS
    590 # include <stdlib.h>
    591 # include <stddef.h>
    592 #else
    593 # ifdef HAVE_STDLIB_H
    594 #  include <stdlib.h>
    595 # endif
    596 #endif
    597 #ifdef HAVE_STRING_H
    598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    599 #  include <memory.h>
    600 # endif
    601 # include <string.h>
    602 #endif
    603 #ifdef HAVE_STRINGS_H
    604 # include <strings.h>
    605 #endif
    606 #ifdef HAVE_INTTYPES_H
    607 # include <inttypes.h>
    608 #endif
    609 #ifdef HAVE_STDINT_H
    610 # include <stdint.h>
    611 #endif
    612 #ifdef HAVE_UNISTD_H
    613 # include <unistd.h>
    614 #endif"
    615 
    616 ac_subst_vars='am__EXEEXT_FALSE
    617 am__EXEEXT_TRUE
    618 LTLIBOBJS
    619 LIBOBJS
    620 MAKE_LINT_LIB_FALSE
    621 MAKE_LINT_LIB_TRUE
    622 LINTLIB
    623 LINT_FALSE
    624 LINT_TRUE
    625 LINT_FLAGS
    626 LINT
    627 XAU_LIBS
    628 XAU_CFLAGS
    629 MAN_SUBSTS
    630 XORG_MAN_PAGE
    631 ADMIN_MAN_DIR
    632 DRIVER_MAN_DIR
    633 MISC_MAN_DIR
    634 FILE_MAN_DIR
    635 LIB_MAN_DIR
    636 APP_MAN_DIR
    637 ADMIN_MAN_SUFFIX
    638 DRIVER_MAN_SUFFIX
    639 MISC_MAN_SUFFIX
    640 FILE_MAN_SUFFIX
    641 LIB_MAN_SUFFIX
    642 APP_MAN_SUFFIX
    643 INSTALL_CMD
    644 PKG_CONFIG
    645 CHANGELOG_CMD
    646 STRICT_CFLAGS
    647 CWARNFLAGS
    648 BASE_CFLAGS
    649 OTOOL64
    650 OTOOL
    651 LIPO
    652 NMEDIT
    653 DSYMUTIL
    654 MANIFEST_TOOL
    655 RANLIB
    656 ac_ct_AR
    657 AR
    658 LN_S
    659 NM
    660 ac_ct_DUMPBIN
    661 DUMPBIN
    662 LD
    663 FGREP
    664 SED
    665 LIBTOOL
    666 OBJDUMP
    667 DLLTOOL
    668 AS
    669 host_os
    670 host_vendor
    671 host_cpu
    672 host
    673 build_os
    674 build_vendor
    675 build_cpu
    676 build
    677 AM_BACKSLASH
    678 AM_DEFAULT_VERBOSITY
    679 AM_DEFAULT_V
    680 AM_V
    681 am__fastdepCC_FALSE
    682 am__fastdepCC_TRUE
    683 CCDEPMODE
    684 am__nodep
    685 AMDEPBACKSLASH
    686 AMDEP_FALSE
    687 AMDEP_TRUE
    688 am__quote
    689 am__include
    690 DEPDIR
    691 am__untar
    692 am__tar
    693 AMTAR
    694 am__leading_dot
    695 SET_MAKE
    696 AWK
    697 mkdir_p
    698 MKDIR_P
    699 INSTALL_STRIP_PROGRAM
    700 STRIP
    701 install_sh
    702 MAKEINFO
    703 AUTOHEADER
    704 AUTOMAKE
    705 AUTOCONF
    706 ACLOCAL
    707 VERSION
    708 PACKAGE
    709 CYGPATH_W
    710 am__isrc
    711 INSTALL_DATA
    712 INSTALL_SCRIPT
    713 INSTALL_PROGRAM
    714 EGREP
    715 GREP
    716 CPP
    717 OBJEXT
    718 EXEEXT
    719 ac_ct_CC
    720 CPPFLAGS
    721 LDFLAGS
    722 CFLAGS
    723 CC
    724 target_alias
    725 host_alias
    726 build_alias
    727 LIBS
    728 ECHO_T
    729 ECHO_N
    730 ECHO_C
    731 DEFS
    732 mandir
    733 localedir
    734 libdir
    735 psdir
    736 pdfdir
    737 dvidir
    738 htmldir
    739 infodir
    740 docdir
    741 oldincludedir
    742 includedir
    743 localstatedir
    744 sharedstatedir
    745 sysconfdir
    746 datadir
    747 datarootdir
    748 libexecdir
    749 sbindir
    750 bindir
    751 program_transform_name
    752 prefix
    753 exec_prefix
    754 PACKAGE_URL
    755 PACKAGE_BUGREPORT
    756 PACKAGE_STRING
    757 PACKAGE_VERSION
    758 PACKAGE_TARNAME
    759 PACKAGE_NAME
    760 PATH_SEPARATOR
    761 SHELL'
    762 ac_subst_files=''
    763 ac_user_opts='
    764 enable_option_checking
    765 enable_dependency_tracking
    766 enable_silent_rules
    767 enable_shared
    768 enable_static
    769 with_pic
    770 enable_fast_install
    771 with_gnu_ld
    772 with_sysroot
    773 enable_libtool_lock
    774 enable_selective_werror
    775 enable_strict_compilation
    776 enable_xthreads
    777 with_lint
    778 enable_lint_library
    779 '
    780       ac_precious_vars='build_alias
    781 host_alias
    782 target_alias
    783 CC
    784 CFLAGS
    785 LDFLAGS
    786 LIBS
    787 CPPFLAGS
    788 CPP
    789 PKG_CONFIG
    790 XAU_CFLAGS
    791 XAU_LIBS
    792 LINT
    793 LINT_FLAGS'
    794 
    795 
    796 # Initialize some variables set by options.
    797 ac_init_help=
    798 ac_init_version=false
    799 ac_unrecognized_opts=
    800 ac_unrecognized_sep=
    801 # The variables have the same names as the options, with
    802 # dashes changed to underlines.
    803 cache_file=/dev/null
    804 exec_prefix=NONE
    805 no_create=
    806 no_recursion=
    807 prefix=NONE
    808 program_prefix=NONE
    809 program_suffix=NONE
    810 program_transform_name=s,x,x,
    811 silent=
    812 site=
    813 srcdir=
    814 verbose=
    815 x_includes=NONE
    816 x_libraries=NONE
    817 
    818 # Installation directory options.
    819 # These are left unexpanded so users can "make install exec_prefix=/foo"
    820 # and all the variables that are supposed to be based on exec_prefix
    821 # by default will actually change.
    822 # Use braces instead of parens because sh, perl, etc. also accept them.
    823 # (The list follows the same order as the GNU Coding Standards.)
    824 bindir='${exec_prefix}/bin'
    825 sbindir='${exec_prefix}/sbin'
    826 libexecdir='${exec_prefix}/libexec'
    827 datarootdir='${prefix}/share'
    828 datadir='${datarootdir}'
    829 sysconfdir='${prefix}/etc'
    830 sharedstatedir='${prefix}/com'
    831 localstatedir='${prefix}/var'
    832 includedir='${prefix}/include'
    833 oldincludedir='/usr/include'
    834 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    835 infodir='${datarootdir}/info'
    836 htmldir='${docdir}'
    837 dvidir='${docdir}'
    838 pdfdir='${docdir}'
    839 psdir='${docdir}'
    840 libdir='${exec_prefix}/lib'
    841 localedir='${datarootdir}/locale'
    842 mandir='${datarootdir}/man'
    843 
    844 ac_prev=
    845 ac_dashdash=
    846 for ac_option
    847 do
    848   # If the previous option needs an argument, assign it.
    849   if test -n "$ac_prev"; then
    850     eval $ac_prev=\$ac_option
    851     ac_prev=
    852     continue
    853   fi
    854 
    855   case $ac_option in
    856   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    857   *=)   ac_optarg= ;;
    858   *)    ac_optarg=yes ;;
    859   esac
    860 
    861   # Accept the important Cygnus configure options, so we can diagnose typos.
    862 
    863   case $ac_dashdash$ac_option in
    864   --)
    865     ac_dashdash=yes ;;
    866 
    867   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    868     ac_prev=bindir ;;
    869   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    870     bindir=$ac_optarg ;;
    871 
    872   -build | --build | --buil | --bui | --bu)
    873     ac_prev=build_alias ;;
    874   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    875     build_alias=$ac_optarg ;;
    876 
    877   -cache-file | --cache-file | --cache-fil | --cache-fi \
    878   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    879     ac_prev=cache_file ;;
    880   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    881   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    882     cache_file=$ac_optarg ;;
    883 
    884   --config-cache | -C)
    885     cache_file=config.cache ;;
    886 
    887   -datadir | --datadir | --datadi | --datad)
    888     ac_prev=datadir ;;
    889   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    890     datadir=$ac_optarg ;;
    891 
    892   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    893   | --dataroo | --dataro | --datar)
    894     ac_prev=datarootdir ;;
    895   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    896   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    897     datarootdir=$ac_optarg ;;
    898 
    899   -disable-* | --disable-*)
    900     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    901     # Reject names that are not valid shell variable names.
    902     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    903       as_fn_error $? "invalid feature name: $ac_useropt"
    904     ac_useropt_orig=$ac_useropt
    905     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    906     case $ac_user_opts in
    907       *"
    908 "enable_$ac_useropt"
    909 "*) ;;
    910       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    911 	 ac_unrecognized_sep=', ';;
    912     esac
    913     eval enable_$ac_useropt=no ;;
    914 
    915   -docdir | --docdir | --docdi | --doc | --do)
    916     ac_prev=docdir ;;
    917   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    918     docdir=$ac_optarg ;;
    919 
    920   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    921     ac_prev=dvidir ;;
    922   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    923     dvidir=$ac_optarg ;;
    924 
    925   -enable-* | --enable-*)
    926     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    927     # Reject names that are not valid shell variable names.
    928     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    929       as_fn_error $? "invalid feature name: $ac_useropt"
    930     ac_useropt_orig=$ac_useropt
    931     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    932     case $ac_user_opts in
    933       *"
    934 "enable_$ac_useropt"
    935 "*) ;;
    936       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    937 	 ac_unrecognized_sep=', ';;
    938     esac
    939     eval enable_$ac_useropt=\$ac_optarg ;;
    940 
    941   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    942   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    943   | --exec | --exe | --ex)
    944     ac_prev=exec_prefix ;;
    945   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    946   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    947   | --exec=* | --exe=* | --ex=*)
    948     exec_prefix=$ac_optarg ;;
    949 
    950   -gas | --gas | --ga | --g)
    951     # Obsolete; use --with-gas.
    952     with_gas=yes ;;
    953 
    954   -help | --help | --hel | --he | -h)
    955     ac_init_help=long ;;
    956   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    957     ac_init_help=recursive ;;
    958   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    959     ac_init_help=short ;;
    960 
    961   -host | --host | --hos | --ho)
    962     ac_prev=host_alias ;;
    963   -host=* | --host=* | --hos=* | --ho=*)
    964     host_alias=$ac_optarg ;;
    965 
    966   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    967     ac_prev=htmldir ;;
    968   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    969   | --ht=*)
    970     htmldir=$ac_optarg ;;
    971 
    972   -includedir | --includedir | --includedi | --included | --include \
    973   | --includ | --inclu | --incl | --inc)
    974     ac_prev=includedir ;;
    975   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    976   | --includ=* | --inclu=* | --incl=* | --inc=*)
    977     includedir=$ac_optarg ;;
    978 
    979   -infodir | --infodir | --infodi | --infod | --info | --inf)
    980     ac_prev=infodir ;;
    981   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    982     infodir=$ac_optarg ;;
    983 
    984   -libdir | --libdir | --libdi | --libd)
    985     ac_prev=libdir ;;
    986   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    987     libdir=$ac_optarg ;;
    988 
    989   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    990   | --libexe | --libex | --libe)
    991     ac_prev=libexecdir ;;
    992   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    993   | --libexe=* | --libex=* | --libe=*)
    994     libexecdir=$ac_optarg ;;
    995 
    996   -localedir | --localedir | --localedi | --localed | --locale)
    997     ac_prev=localedir ;;
    998   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    999     localedir=$ac_optarg ;;
   1000 
   1001   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1002   | --localstate | --localstat | --localsta | --localst | --locals)
   1003     ac_prev=localstatedir ;;
   1004   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1005   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1006     localstatedir=$ac_optarg ;;
   1007 
   1008   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1009     ac_prev=mandir ;;
   1010   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1011     mandir=$ac_optarg ;;
   1012 
   1013   -nfp | --nfp | --nf)
   1014     # Obsolete; use --without-fp.
   1015     with_fp=no ;;
   1016 
   1017   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1018   | --no-cr | --no-c | -n)
   1019     no_create=yes ;;
   1020 
   1021   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1022   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1023     no_recursion=yes ;;
   1024 
   1025   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1026   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1027   | --oldin | --oldi | --old | --ol | --o)
   1028     ac_prev=oldincludedir ;;
   1029   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1030   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1031   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1032     oldincludedir=$ac_optarg ;;
   1033 
   1034   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1035     ac_prev=prefix ;;
   1036   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1037     prefix=$ac_optarg ;;
   1038 
   1039   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1040   | --program-pre | --program-pr | --program-p)
   1041     ac_prev=program_prefix ;;
   1042   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1043   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1044     program_prefix=$ac_optarg ;;
   1045 
   1046   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1047   | --program-suf | --program-su | --program-s)
   1048     ac_prev=program_suffix ;;
   1049   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1050   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1051     program_suffix=$ac_optarg ;;
   1052 
   1053   -program-transform-name | --program-transform-name \
   1054   | --program-transform-nam | --program-transform-na \
   1055   | --program-transform-n | --program-transform- \
   1056   | --program-transform | --program-transfor \
   1057   | --program-transfo | --program-transf \
   1058   | --program-trans | --program-tran \
   1059   | --progr-tra | --program-tr | --program-t)
   1060     ac_prev=program_transform_name ;;
   1061   -program-transform-name=* | --program-transform-name=* \
   1062   | --program-transform-nam=* | --program-transform-na=* \
   1063   | --program-transform-n=* | --program-transform-=* \
   1064   | --program-transform=* | --program-transfor=* \
   1065   | --program-transfo=* | --program-transf=* \
   1066   | --program-trans=* | --program-tran=* \
   1067   | --progr-tra=* | --program-tr=* | --program-t=*)
   1068     program_transform_name=$ac_optarg ;;
   1069 
   1070   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1071     ac_prev=pdfdir ;;
   1072   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1073     pdfdir=$ac_optarg ;;
   1074 
   1075   -psdir | --psdir | --psdi | --psd | --ps)
   1076     ac_prev=psdir ;;
   1077   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1078     psdir=$ac_optarg ;;
   1079 
   1080   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1081   | -silent | --silent | --silen | --sile | --sil)
   1082     silent=yes ;;
   1083 
   1084   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1085     ac_prev=sbindir ;;
   1086   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1087   | --sbi=* | --sb=*)
   1088     sbindir=$ac_optarg ;;
   1089 
   1090   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1091   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1092   | --sharedst | --shareds | --shared | --share | --shar \
   1093   | --sha | --sh)
   1094     ac_prev=sharedstatedir ;;
   1095   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1096   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1097   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1098   | --sha=* | --sh=*)
   1099     sharedstatedir=$ac_optarg ;;
   1100 
   1101   -site | --site | --sit)
   1102     ac_prev=site ;;
   1103   -site=* | --site=* | --sit=*)
   1104     site=$ac_optarg ;;
   1105 
   1106   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1107     ac_prev=srcdir ;;
   1108   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1109     srcdir=$ac_optarg ;;
   1110 
   1111   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1112   | --syscon | --sysco | --sysc | --sys | --sy)
   1113     ac_prev=sysconfdir ;;
   1114   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1115   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1116     sysconfdir=$ac_optarg ;;
   1117 
   1118   -target | --target | --targe | --targ | --tar | --ta | --t)
   1119     ac_prev=target_alias ;;
   1120   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1121     target_alias=$ac_optarg ;;
   1122 
   1123   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1124     verbose=yes ;;
   1125 
   1126   -version | --version | --versio | --versi | --vers | -V)
   1127     ac_init_version=: ;;
   1128 
   1129   -with-* | --with-*)
   1130     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1131     # Reject names that are not valid shell variable names.
   1132     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1133       as_fn_error $? "invalid package name: $ac_useropt"
   1134     ac_useropt_orig=$ac_useropt
   1135     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1136     case $ac_user_opts in
   1137       *"
   1138 "with_$ac_useropt"
   1139 "*) ;;
   1140       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1141 	 ac_unrecognized_sep=', ';;
   1142     esac
   1143     eval with_$ac_useropt=\$ac_optarg ;;
   1144 
   1145   -without-* | --without-*)
   1146     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1147     # Reject names that are not valid shell variable names.
   1148     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1149       as_fn_error $? "invalid package name: $ac_useropt"
   1150     ac_useropt_orig=$ac_useropt
   1151     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1152     case $ac_user_opts in
   1153       *"
   1154 "with_$ac_useropt"
   1155 "*) ;;
   1156       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1157 	 ac_unrecognized_sep=', ';;
   1158     esac
   1159     eval with_$ac_useropt=no ;;
   1160 
   1161   --x)
   1162     # Obsolete; use --with-x.
   1163     with_x=yes ;;
   1164 
   1165   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1166   | --x-incl | --x-inc | --x-in | --x-i)
   1167     ac_prev=x_includes ;;
   1168   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1169   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1170     x_includes=$ac_optarg ;;
   1171 
   1172   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1173   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1174     ac_prev=x_libraries ;;
   1175   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1176   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1177     x_libraries=$ac_optarg ;;
   1178 
   1179   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1180 Try \`$0 --help' for more information"
   1181     ;;
   1182 
   1183   *=*)
   1184     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1185     # Reject names that are not valid shell variable names.
   1186     case $ac_envvar in #(
   1187       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1188       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1189     esac
   1190     eval $ac_envvar=\$ac_optarg
   1191     export $ac_envvar ;;
   1192 
   1193   *)
   1194     # FIXME: should be removed in autoconf 3.0.
   1195     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1196     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1197       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1198     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1199     ;;
   1200 
   1201   esac
   1202 done
   1203 
   1204 if test -n "$ac_prev"; then
   1205   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1206   as_fn_error $? "missing argument to $ac_option"
   1207 fi
   1208 
   1209 if test -n "$ac_unrecognized_opts"; then
   1210   case $enable_option_checking in
   1211     no) ;;
   1212     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1213     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1214   esac
   1215 fi
   1216 
   1217 # Check all directory arguments for consistency.
   1218 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1219 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1220 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1221 		libdir localedir mandir
   1222 do
   1223   eval ac_val=\$$ac_var
   1224   # Remove trailing slashes.
   1225   case $ac_val in
   1226     */ )
   1227       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1228       eval $ac_var=\$ac_val;;
   1229   esac
   1230   # Be sure to have absolute directory names.
   1231   case $ac_val in
   1232     [\\/$]* | ?:[\\/]* )  continue;;
   1233     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1234   esac
   1235   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1236 done
   1237 
   1238 # There might be people who depend on the old broken behavior: `$host'
   1239 # used to hold the argument of --host etc.
   1240 # FIXME: To remove some day.
   1241 build=$build_alias
   1242 host=$host_alias
   1243 target=$target_alias
   1244 
   1245 # FIXME: To remove some day.
   1246 if test "x$host_alias" != x; then
   1247   if test "x$build_alias" = x; then
   1248     cross_compiling=maybe
   1249     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1250     If a cross compiler is detected then cross compile mode will be used" >&2
   1251   elif test "x$build_alias" != "x$host_alias"; then
   1252     cross_compiling=yes
   1253   fi
   1254 fi
   1255 
   1256 ac_tool_prefix=
   1257 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1258 
   1259 test "$silent" = yes && exec 6>/dev/null
   1260 
   1261 
   1262 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1263 ac_ls_di=`ls -di .` &&
   1264 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1265   as_fn_error $? "working directory cannot be determined"
   1266 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1267   as_fn_error $? "pwd does not report name of working directory"
   1268 
   1269 
   1270 # Find the source files, if location was not specified.
   1271 if test -z "$srcdir"; then
   1272   ac_srcdir_defaulted=yes
   1273   # Try the directory containing this script, then the parent directory.
   1274   ac_confdir=`$as_dirname -- "$as_myself" ||
   1275 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1276 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1277 	 X"$as_myself" : 'X\(//\)$' \| \
   1278 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1279 $as_echo X"$as_myself" |
   1280     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1281 	    s//\1/
   1282 	    q
   1283 	  }
   1284 	  /^X\(\/\/\)[^/].*/{
   1285 	    s//\1/
   1286 	    q
   1287 	  }
   1288 	  /^X\(\/\/\)$/{
   1289 	    s//\1/
   1290 	    q
   1291 	  }
   1292 	  /^X\(\/\).*/{
   1293 	    s//\1/
   1294 	    q
   1295 	  }
   1296 	  s/.*/./; q'`
   1297   srcdir=$ac_confdir
   1298   if test ! -r "$srcdir/$ac_unique_file"; then
   1299     srcdir=..
   1300   fi
   1301 else
   1302   ac_srcdir_defaulted=no
   1303 fi
   1304 if test ! -r "$srcdir/$ac_unique_file"; then
   1305   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1306   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1307 fi
   1308 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1309 ac_abs_confdir=`(
   1310 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1311 	pwd)`
   1312 # When building in place, set srcdir=.
   1313 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1314   srcdir=.
   1315 fi
   1316 # Remove unnecessary trailing slashes from srcdir.
   1317 # Double slashes in file names in object file debugging info
   1318 # mess up M-x gdb in Emacs.
   1319 case $srcdir in
   1320 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1321 esac
   1322 for ac_var in $ac_precious_vars; do
   1323   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1324   eval ac_env_${ac_var}_value=\$${ac_var}
   1325   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1326   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1327 done
   1328 
   1329 #
   1330 # Report the --help message.
   1331 #
   1332 if test "$ac_init_help" = "long"; then
   1333   # Omit some internal or obsolete options to make the list less imposing.
   1334   # This message is too long to be a string in the A/UX 3.1 sh.
   1335   cat <<_ACEOF
   1336 \`configure' configures libXau 1.0.8 to adapt to many kinds of systems.
   1337 
   1338 Usage: $0 [OPTION]... [VAR=VALUE]...
   1339 
   1340 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1341 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1342 
   1343 Defaults for the options are specified in brackets.
   1344 
   1345 Configuration:
   1346   -h, --help              display this help and exit
   1347       --help=short        display options specific to this package
   1348       --help=recursive    display the short help of all the included packages
   1349   -V, --version           display version information and exit
   1350   -q, --quiet, --silent   do not print \`checking ...' messages
   1351       --cache-file=FILE   cache test results in FILE [disabled]
   1352   -C, --config-cache      alias for \`--cache-file=config.cache'
   1353   -n, --no-create         do not create output files
   1354       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1355 
   1356 Installation directories:
   1357   --prefix=PREFIX         install architecture-independent files in PREFIX
   1358                           [$ac_default_prefix]
   1359   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1360                           [PREFIX]
   1361 
   1362 By default, \`make install' will install all the files in
   1363 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1364 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1365 for instance \`--prefix=\$HOME'.
   1366 
   1367 For better control, use the options below.
   1368 
   1369 Fine tuning of the installation directories:
   1370   --bindir=DIR            user executables [EPREFIX/bin]
   1371   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1372   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1373   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1374   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1375   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1376   --libdir=DIR            object code libraries [EPREFIX/lib]
   1377   --includedir=DIR        C header files [PREFIX/include]
   1378   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1379   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1380   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1381   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1382   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1383   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1384   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXau]
   1385   --htmldir=DIR           html documentation [DOCDIR]
   1386   --dvidir=DIR            dvi documentation [DOCDIR]
   1387   --pdfdir=DIR            pdf documentation [DOCDIR]
   1388   --psdir=DIR             ps documentation [DOCDIR]
   1389 _ACEOF
   1390 
   1391   cat <<\_ACEOF
   1392 
   1393 Program names:
   1394   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1395   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1396   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1397 
   1398 System types:
   1399   --build=BUILD     configure for building on BUILD [guessed]
   1400   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1401 _ACEOF
   1402 fi
   1403 
   1404 if test -n "$ac_init_help"; then
   1405   case $ac_init_help in
   1406      short | recursive ) echo "Configuration of libXau 1.0.8:";;
   1407    esac
   1408   cat <<\_ACEOF
   1409 
   1410 Optional Features:
   1411   --disable-option-checking  ignore unrecognized --enable/--with options
   1412   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1413   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1414   --enable-dependency-tracking
   1415                           do not reject slow dependency extractors
   1416   --disable-dependency-tracking
   1417                           speeds up one-time build
   1418   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1419   --disable-silent-rules  verbose build output (undo: "make V=0")
   1420   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1421   --enable-static[=PKGS]  build static libraries [default=yes]
   1422   --enable-fast-install[=PKGS]
   1423                           optimize for fast installation [default=yes]
   1424   --disable-libtool-lock  avoid locking (might break parallel builds)
   1425   --disable-selective-werror
   1426                           Turn off selective compiler errors. (default:
   1427                           enabled)
   1428   --enable-strict-compilation
   1429                           Enable all warnings from compiler and make them
   1430                           errors (default: disabled)
   1431   --disable-xthreads      Disable libXau support for Multithreading
   1432   --enable-lint-library   Create lint library (default: disabled)
   1433 
   1434 Optional Packages:
   1435   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1436   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1437   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1438                           both]
   1439   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1440   --with-sysroot=DIR Search for dependent libraries within DIR
   1441                         (or the compiler's sysroot if not specified).
   1442   --with-lint             Use a lint-style source code checker (default:
   1443                           disabled)
   1444 
   1445 Some influential environment variables:
   1446   CC          C compiler command
   1447   CFLAGS      C compiler flags
   1448   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1449               nonstandard directory <lib dir>
   1450   LIBS        libraries to pass to the linker, e.g. -l<library>
   1451   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1452               you have headers in a nonstandard directory <include dir>
   1453   CPP         C preprocessor
   1454   PKG_CONFIG  path to pkg-config utility
   1455   XAU_CFLAGS  C compiler flags for XAU, overriding pkg-config
   1456   XAU_LIBS    linker flags for XAU, overriding pkg-config
   1457   LINT        Path to a lint-style command
   1458   LINT_FLAGS  Flags for the lint-style command
   1459 
   1460 Use these variables to override the choices made by `configure' or to help
   1461 it to find libraries and programs with nonstandard names/locations.
   1462 
   1463 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1464 _ACEOF
   1465 ac_status=$?
   1466 fi
   1467 
   1468 if test "$ac_init_help" = "recursive"; then
   1469   # If there are subdirs, report their specific --help.
   1470   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1471     test -d "$ac_dir" ||
   1472       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1473       continue
   1474     ac_builddir=.
   1475 
   1476 case "$ac_dir" in
   1477 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1478 *)
   1479   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1480   # A ".." for each directory in $ac_dir_suffix.
   1481   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1482   case $ac_top_builddir_sub in
   1483   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1484   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1485   esac ;;
   1486 esac
   1487 ac_abs_top_builddir=$ac_pwd
   1488 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1489 # for backward compatibility:
   1490 ac_top_builddir=$ac_top_build_prefix
   1491 
   1492 case $srcdir in
   1493   .)  # We are building in place.
   1494     ac_srcdir=.
   1495     ac_top_srcdir=$ac_top_builddir_sub
   1496     ac_abs_top_srcdir=$ac_pwd ;;
   1497   [\\/]* | ?:[\\/]* )  # Absolute name.
   1498     ac_srcdir=$srcdir$ac_dir_suffix;
   1499     ac_top_srcdir=$srcdir
   1500     ac_abs_top_srcdir=$srcdir ;;
   1501   *) # Relative name.
   1502     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1503     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1504     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1505 esac
   1506 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1507 
   1508     cd "$ac_dir" || { ac_status=$?; continue; }
   1509     # Check for guested configure.
   1510     if test -f "$ac_srcdir/configure.gnu"; then
   1511       echo &&
   1512       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1513     elif test -f "$ac_srcdir/configure"; then
   1514       echo &&
   1515       $SHELL "$ac_srcdir/configure" --help=recursive
   1516     else
   1517       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1518     fi || ac_status=$?
   1519     cd "$ac_pwd" || { ac_status=$?; break; }
   1520   done
   1521 fi
   1522 
   1523 test -n "$ac_init_help" && exit $ac_status
   1524 if $ac_init_version; then
   1525   cat <<\_ACEOF
   1526 libXau configure 1.0.8
   1527 generated by GNU Autoconf 2.68
   1528 
   1529 Copyright (C) 2010 Free Software Foundation, Inc.
   1530 This configure script is free software; the Free Software Foundation
   1531 gives unlimited permission to copy, distribute and modify it.
   1532 _ACEOF
   1533   exit
   1534 fi
   1535 
   1536 ## ------------------------ ##
   1537 ## Autoconf initialization. ##
   1538 ## ------------------------ ##
   1539 
   1540 # ac_fn_c_try_compile LINENO
   1541 # --------------------------
   1542 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1543 ac_fn_c_try_compile ()
   1544 {
   1545   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1546   rm -f conftest.$ac_objext
   1547   if { { ac_try="$ac_compile"
   1548 case "(($ac_try" in
   1549   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1550   *) ac_try_echo=$ac_try;;
   1551 esac
   1552 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1553 $as_echo "$ac_try_echo"; } >&5
   1554   (eval "$ac_compile") 2>conftest.err
   1555   ac_status=$?
   1556   if test -s conftest.err; then
   1557     grep -v '^ *+' conftest.err >conftest.er1
   1558     cat conftest.er1 >&5
   1559     mv -f conftest.er1 conftest.err
   1560   fi
   1561   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1562   test $ac_status = 0; } && {
   1563 	 test -z "$ac_c_werror_flag" ||
   1564 	 test ! -s conftest.err
   1565        } && test -s conftest.$ac_objext; then :
   1566   ac_retval=0
   1567 else
   1568   $as_echo "$as_me: failed program was:" >&5
   1569 sed 's/^/| /' conftest.$ac_ext >&5
   1570 
   1571 	ac_retval=1
   1572 fi
   1573   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1574   as_fn_set_status $ac_retval
   1575 
   1576 } # ac_fn_c_try_compile
   1577 
   1578 # ac_fn_c_try_cpp LINENO
   1579 # ----------------------
   1580 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1581 ac_fn_c_try_cpp ()
   1582 {
   1583   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1584   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1585 case "(($ac_try" in
   1586   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1587   *) ac_try_echo=$ac_try;;
   1588 esac
   1589 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1590 $as_echo "$ac_try_echo"; } >&5
   1591   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1592   ac_status=$?
   1593   if test -s conftest.err; then
   1594     grep -v '^ *+' conftest.err >conftest.er1
   1595     cat conftest.er1 >&5
   1596     mv -f conftest.er1 conftest.err
   1597   fi
   1598   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1599   test $ac_status = 0; } > conftest.i && {
   1600 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1601 	 test ! -s conftest.err
   1602        }; then :
   1603   ac_retval=0
   1604 else
   1605   $as_echo "$as_me: failed program was:" >&5
   1606 sed 's/^/| /' conftest.$ac_ext >&5
   1607 
   1608     ac_retval=1
   1609 fi
   1610   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1611   as_fn_set_status $ac_retval
   1612 
   1613 } # ac_fn_c_try_cpp
   1614 
   1615 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1616 # -------------------------------------------------------
   1617 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1618 # the include files in INCLUDES and setting the cache variable VAR
   1619 # accordingly.
   1620 ac_fn_c_check_header_mongrel ()
   1621 {
   1622   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1623   if eval \${$3+:} false; then :
   1624   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1625 $as_echo_n "checking for $2... " >&6; }
   1626 if eval \${$3+:} false; then :
   1627   $as_echo_n "(cached) " >&6
   1628 fi
   1629 eval ac_res=\$$3
   1630 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1631 $as_echo "$ac_res" >&6; }
   1632 else
   1633   # Is the header compilable?
   1634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1635 $as_echo_n "checking $2 usability... " >&6; }
   1636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1637 /* end confdefs.h.  */
   1638 $4
   1639 #include <$2>
   1640 _ACEOF
   1641 if ac_fn_c_try_compile "$LINENO"; then :
   1642   ac_header_compiler=yes
   1643 else
   1644   ac_header_compiler=no
   1645 fi
   1646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1648 $as_echo "$ac_header_compiler" >&6; }
   1649 
   1650 # Is the header present?
   1651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1652 $as_echo_n "checking $2 presence... " >&6; }
   1653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1654 /* end confdefs.h.  */
   1655 #include <$2>
   1656 _ACEOF
   1657 if ac_fn_c_try_cpp "$LINENO"; then :
   1658   ac_header_preproc=yes
   1659 else
   1660   ac_header_preproc=no
   1661 fi
   1662 rm -f conftest.err conftest.i conftest.$ac_ext
   1663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1664 $as_echo "$ac_header_preproc" >&6; }
   1665 
   1666 # So?  What about this header?
   1667 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1668   yes:no: )
   1669     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1670 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1671     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1672 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1673     ;;
   1674   no:yes:* )
   1675     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1676 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1677     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1678 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1679     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1680 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1681     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1682 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1683     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1684 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1685 ( $as_echo "## ---------------------------------------------------------------------- ##
   1686 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   1687 ## ---------------------------------------------------------------------- ##"
   1688      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1689     ;;
   1690 esac
   1691   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1692 $as_echo_n "checking for $2... " >&6; }
   1693 if eval \${$3+:} false; then :
   1694   $as_echo_n "(cached) " >&6
   1695 else
   1696   eval "$3=\$ac_header_compiler"
   1697 fi
   1698 eval ac_res=\$$3
   1699 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1700 $as_echo "$ac_res" >&6; }
   1701 fi
   1702   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1703 
   1704 } # ac_fn_c_check_header_mongrel
   1705 
   1706 # ac_fn_c_try_run LINENO
   1707 # ----------------------
   1708 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1709 # that executables *can* be run.
   1710 ac_fn_c_try_run ()
   1711 {
   1712   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1713   if { { ac_try="$ac_link"
   1714 case "(($ac_try" in
   1715   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1716   *) ac_try_echo=$ac_try;;
   1717 esac
   1718 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1719 $as_echo "$ac_try_echo"; } >&5
   1720   (eval "$ac_link") 2>&5
   1721   ac_status=$?
   1722   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1723   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1724   { { case "(($ac_try" in
   1725   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1726   *) ac_try_echo=$ac_try;;
   1727 esac
   1728 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1729 $as_echo "$ac_try_echo"; } >&5
   1730   (eval "$ac_try") 2>&5
   1731   ac_status=$?
   1732   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1733   test $ac_status = 0; }; }; then :
   1734   ac_retval=0
   1735 else
   1736   $as_echo "$as_me: program exited with status $ac_status" >&5
   1737        $as_echo "$as_me: failed program was:" >&5
   1738 sed 's/^/| /' conftest.$ac_ext >&5
   1739 
   1740        ac_retval=$ac_status
   1741 fi
   1742   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1743   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1744   as_fn_set_status $ac_retval
   1745 
   1746 } # ac_fn_c_try_run
   1747 
   1748 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1749 # -------------------------------------------------------
   1750 # Tests whether HEADER exists and can be compiled using the include files in
   1751 # INCLUDES, setting the cache variable VAR accordingly.
   1752 ac_fn_c_check_header_compile ()
   1753 {
   1754   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1755   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1756 $as_echo_n "checking for $2... " >&6; }
   1757 if eval \${$3+:} false; then :
   1758   $as_echo_n "(cached) " >&6
   1759 else
   1760   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1761 /* end confdefs.h.  */
   1762 $4
   1763 #include <$2>
   1764 _ACEOF
   1765 if ac_fn_c_try_compile "$LINENO"; then :
   1766   eval "$3=yes"
   1767 else
   1768   eval "$3=no"
   1769 fi
   1770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1771 fi
   1772 eval ac_res=\$$3
   1773 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1774 $as_echo "$ac_res" >&6; }
   1775   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1776 
   1777 } # ac_fn_c_check_header_compile
   1778 
   1779 # ac_fn_c_try_link LINENO
   1780 # -----------------------
   1781 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1782 ac_fn_c_try_link ()
   1783 {
   1784   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1785   rm -f conftest.$ac_objext conftest$ac_exeext
   1786   if { { ac_try="$ac_link"
   1787 case "(($ac_try" in
   1788   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1789   *) ac_try_echo=$ac_try;;
   1790 esac
   1791 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1792 $as_echo "$ac_try_echo"; } >&5
   1793   (eval "$ac_link") 2>conftest.err
   1794   ac_status=$?
   1795   if test -s conftest.err; then
   1796     grep -v '^ *+' conftest.err >conftest.er1
   1797     cat conftest.er1 >&5
   1798     mv -f conftest.er1 conftest.err
   1799   fi
   1800   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1801   test $ac_status = 0; } && {
   1802 	 test -z "$ac_c_werror_flag" ||
   1803 	 test ! -s conftest.err
   1804        } && test -s conftest$ac_exeext && {
   1805 	 test "$cross_compiling" = yes ||
   1806 	 $as_test_x conftest$ac_exeext
   1807        }; then :
   1808   ac_retval=0
   1809 else
   1810   $as_echo "$as_me: failed program was:" >&5
   1811 sed 's/^/| /' conftest.$ac_ext >&5
   1812 
   1813 	ac_retval=1
   1814 fi
   1815   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1816   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1817   # interfere with the next link command; also delete a directory that is
   1818   # left behind by Apple's compiler.  We do this before executing the actions.
   1819   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1820   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1821   as_fn_set_status $ac_retval
   1822 
   1823 } # ac_fn_c_try_link
   1824 
   1825 # ac_fn_c_check_func LINENO FUNC VAR
   1826 # ----------------------------------
   1827 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1828 ac_fn_c_check_func ()
   1829 {
   1830   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1831   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1832 $as_echo_n "checking for $2... " >&6; }
   1833 if eval \${$3+:} false; then :
   1834   $as_echo_n "(cached) " >&6
   1835 else
   1836   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1837 /* end confdefs.h.  */
   1838 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1839    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1840 #define $2 innocuous_$2
   1841 
   1842 /* System header to define __stub macros and hopefully few prototypes,
   1843     which can conflict with char $2 (); below.
   1844     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1845     <limits.h> exists even on freestanding compilers.  */
   1846 
   1847 #ifdef __STDC__
   1848 # include <limits.h>
   1849 #else
   1850 # include <assert.h>
   1851 #endif
   1852 
   1853 #undef $2
   1854 
   1855 /* Override any GCC internal prototype to avoid an error.
   1856    Use char because int might match the return type of a GCC
   1857    builtin and then its argument prototype would still apply.  */
   1858 #ifdef __cplusplus
   1859 extern "C"
   1860 #endif
   1861 char $2 ();
   1862 /* The GNU C library defines this for functions which it implements
   1863     to always fail with ENOSYS.  Some functions are actually named
   1864     something starting with __ and the normal name is an alias.  */
   1865 #if defined __stub_$2 || defined __stub___$2
   1866 choke me
   1867 #endif
   1868 
   1869 int
   1870 main ()
   1871 {
   1872 return $2 ();
   1873   ;
   1874   return 0;
   1875 }
   1876 _ACEOF
   1877 if ac_fn_c_try_link "$LINENO"; then :
   1878   eval "$3=yes"
   1879 else
   1880   eval "$3=no"
   1881 fi
   1882 rm -f core conftest.err conftest.$ac_objext \
   1883     conftest$ac_exeext conftest.$ac_ext
   1884 fi
   1885 eval ac_res=\$$3
   1886 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1887 $as_echo "$ac_res" >&6; }
   1888   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1889 
   1890 } # ac_fn_c_check_func
   1891 
   1892 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1893 # ---------------------------------------------
   1894 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1895 # accordingly.
   1896 ac_fn_c_check_decl ()
   1897 {
   1898   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1899   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1900   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1901   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1902 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1903 if eval \${$3+:} false; then :
   1904   $as_echo_n "(cached) " >&6
   1905 else
   1906   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1907 /* end confdefs.h.  */
   1908 $4
   1909 int
   1910 main ()
   1911 {
   1912 #ifndef $as_decl_name
   1913 #ifdef __cplusplus
   1914   (void) $as_decl_use;
   1915 #else
   1916   (void) $as_decl_name;
   1917 #endif
   1918 #endif
   1919 
   1920   ;
   1921   return 0;
   1922 }
   1923 _ACEOF
   1924 if ac_fn_c_try_compile "$LINENO"; then :
   1925   eval "$3=yes"
   1926 else
   1927   eval "$3=no"
   1928 fi
   1929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1930 fi
   1931 eval ac_res=\$$3
   1932 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1933 $as_echo "$ac_res" >&6; }
   1934   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1935 
   1936 } # ac_fn_c_check_decl
   1937 cat >config.log <<_ACEOF
   1938 This file contains any messages produced by compilers while
   1939 running configure, to aid debugging if configure makes a mistake.
   1940 
   1941 It was created by libXau $as_me 1.0.8, which was
   1942 generated by GNU Autoconf 2.68.  Invocation command line was
   1943 
   1944   $ $0 $@
   1945 
   1946 _ACEOF
   1947 exec 5>>config.log
   1948 {
   1949 cat <<_ASUNAME
   1950 ## --------- ##
   1951 ## Platform. ##
   1952 ## --------- ##
   1953 
   1954 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1955 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1956 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1957 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1958 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1959 
   1960 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1961 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1962 
   1963 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1964 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1965 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1966 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1967 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1968 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1969 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1970 
   1971 _ASUNAME
   1972 
   1973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1974 for as_dir in $PATH
   1975 do
   1976   IFS=$as_save_IFS
   1977   test -z "$as_dir" && as_dir=.
   1978     $as_echo "PATH: $as_dir"
   1979   done
   1980 IFS=$as_save_IFS
   1981 
   1982 } >&5
   1983 
   1984 cat >&5 <<_ACEOF
   1985 
   1986 
   1987 ## ----------- ##
   1988 ## Core tests. ##
   1989 ## ----------- ##
   1990 
   1991 _ACEOF
   1992 
   1993 
   1994 # Keep a trace of the command line.
   1995 # Strip out --no-create and --no-recursion so they do not pile up.
   1996 # Strip out --silent because we don't want to record it for future runs.
   1997 # Also quote any args containing shell meta-characters.
   1998 # Make two passes to allow for proper duplicate-argument suppression.
   1999 ac_configure_args=
   2000 ac_configure_args0=
   2001 ac_configure_args1=
   2002 ac_must_keep_next=false
   2003 for ac_pass in 1 2
   2004 do
   2005   for ac_arg
   2006   do
   2007     case $ac_arg in
   2008     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2009     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2010     | -silent | --silent | --silen | --sile | --sil)
   2011       continue ;;
   2012     *\'*)
   2013       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2014     esac
   2015     case $ac_pass in
   2016     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2017     2)
   2018       as_fn_append ac_configure_args1 " '$ac_arg'"
   2019       if test $ac_must_keep_next = true; then
   2020 	ac_must_keep_next=false # Got value, back to normal.
   2021       else
   2022 	case $ac_arg in
   2023 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2024 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2025 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2026 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2027 	    case "$ac_configure_args0 " in
   2028 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2029 	    esac
   2030 	    ;;
   2031 	  -* ) ac_must_keep_next=true ;;
   2032 	esac
   2033       fi
   2034       as_fn_append ac_configure_args " '$ac_arg'"
   2035       ;;
   2036     esac
   2037   done
   2038 done
   2039 { ac_configure_args0=; unset ac_configure_args0;}
   2040 { ac_configure_args1=; unset ac_configure_args1;}
   2041 
   2042 # When interrupted or exit'd, cleanup temporary files, and complete
   2043 # config.log.  We remove comments because anyway the quotes in there
   2044 # would cause problems or look ugly.
   2045 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2046 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2047 trap 'exit_status=$?
   2048   # Save into config.log some information that might help in debugging.
   2049   {
   2050     echo
   2051 
   2052     $as_echo "## ---------------- ##
   2053 ## Cache variables. ##
   2054 ## ---------------- ##"
   2055     echo
   2056     # The following way of writing the cache mishandles newlines in values,
   2057 (
   2058   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2059     eval ac_val=\$$ac_var
   2060     case $ac_val in #(
   2061     *${as_nl}*)
   2062       case $ac_var in #(
   2063       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2064 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2065       esac
   2066       case $ac_var in #(
   2067       _ | IFS | as_nl) ;; #(
   2068       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2069       *) { eval $ac_var=; unset $ac_var;} ;;
   2070       esac ;;
   2071     esac
   2072   done
   2073   (set) 2>&1 |
   2074     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2075     *${as_nl}ac_space=\ *)
   2076       sed -n \
   2077 	"s/'\''/'\''\\\\'\'''\''/g;
   2078 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2079       ;; #(
   2080     *)
   2081       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2082       ;;
   2083     esac |
   2084     sort
   2085 )
   2086     echo
   2087 
   2088     $as_echo "## ----------------- ##
   2089 ## Output variables. ##
   2090 ## ----------------- ##"
   2091     echo
   2092     for ac_var in $ac_subst_vars
   2093     do
   2094       eval ac_val=\$$ac_var
   2095       case $ac_val in
   2096       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2097       esac
   2098       $as_echo "$ac_var='\''$ac_val'\''"
   2099     done | sort
   2100     echo
   2101 
   2102     if test -n "$ac_subst_files"; then
   2103       $as_echo "## ------------------- ##
   2104 ## File substitutions. ##
   2105 ## ------------------- ##"
   2106       echo
   2107       for ac_var in $ac_subst_files
   2108       do
   2109 	eval ac_val=\$$ac_var
   2110 	case $ac_val in
   2111 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2112 	esac
   2113 	$as_echo "$ac_var='\''$ac_val'\''"
   2114       done | sort
   2115       echo
   2116     fi
   2117 
   2118     if test -s confdefs.h; then
   2119       $as_echo "## ----------- ##
   2120 ## confdefs.h. ##
   2121 ## ----------- ##"
   2122       echo
   2123       cat confdefs.h
   2124       echo
   2125     fi
   2126     test "$ac_signal" != 0 &&
   2127       $as_echo "$as_me: caught signal $ac_signal"
   2128     $as_echo "$as_me: exit $exit_status"
   2129   } >&5
   2130   rm -f core *.core core.conftest.* &&
   2131     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2132     exit $exit_status
   2133 ' 0
   2134 for ac_signal in 1 2 13 15; do
   2135   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2136 done
   2137 ac_signal=0
   2138 
   2139 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2140 rm -f -r conftest* confdefs.h
   2141 
   2142 $as_echo "/* confdefs.h */" > confdefs.h
   2143 
   2144 # Predefined preprocessor variables.
   2145 
   2146 cat >>confdefs.h <<_ACEOF
   2147 #define PACKAGE_NAME "$PACKAGE_NAME"
   2148 _ACEOF
   2149 
   2150 cat >>confdefs.h <<_ACEOF
   2151 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2152 _ACEOF
   2153 
   2154 cat >>confdefs.h <<_ACEOF
   2155 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2156 _ACEOF
   2157 
   2158 cat >>confdefs.h <<_ACEOF
   2159 #define PACKAGE_STRING "$PACKAGE_STRING"
   2160 _ACEOF
   2161 
   2162 cat >>confdefs.h <<_ACEOF
   2163 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2164 _ACEOF
   2165 
   2166 cat >>confdefs.h <<_ACEOF
   2167 #define PACKAGE_URL "$PACKAGE_URL"
   2168 _ACEOF
   2169 
   2170 
   2171 # Let the site file select an alternate cache file if it wants to.
   2172 # Prefer an explicitly selected file to automatically selected ones.
   2173 ac_site_file1=NONE
   2174 ac_site_file2=NONE
   2175 if test -n "$CONFIG_SITE"; then
   2176   # We do not want a PATH search for config.site.
   2177   case $CONFIG_SITE in #((
   2178     -*)  ac_site_file1=./$CONFIG_SITE;;
   2179     */*) ac_site_file1=$CONFIG_SITE;;
   2180     *)   ac_site_file1=./$CONFIG_SITE;;
   2181   esac
   2182 elif test "x$prefix" != xNONE; then
   2183   ac_site_file1=$prefix/share/config.site
   2184   ac_site_file2=$prefix/etc/config.site
   2185 else
   2186   ac_site_file1=$ac_default_prefix/share/config.site
   2187   ac_site_file2=$ac_default_prefix/etc/config.site
   2188 fi
   2189 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2190 do
   2191   test "x$ac_site_file" = xNONE && continue
   2192   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2193     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2194 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2195     sed 's/^/| /' "$ac_site_file" >&5
   2196     . "$ac_site_file" \
   2197       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2198 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2199 as_fn_error $? "failed to load site script $ac_site_file
   2200 See \`config.log' for more details" "$LINENO" 5; }
   2201   fi
   2202 done
   2203 
   2204 if test -r "$cache_file"; then
   2205   # Some versions of bash will fail to source /dev/null (special files
   2206   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2207   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2208     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2209 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2210     case $cache_file in
   2211       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2212       *)                      . "./$cache_file";;
   2213     esac
   2214   fi
   2215 else
   2216   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2217 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2218   >$cache_file
   2219 fi
   2220 
   2221 # Check that the precious variables saved in the cache have kept the same
   2222 # value.
   2223 ac_cache_corrupted=false
   2224 for ac_var in $ac_precious_vars; do
   2225   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2226   eval ac_new_set=\$ac_env_${ac_var}_set
   2227   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2228   eval ac_new_val=\$ac_env_${ac_var}_value
   2229   case $ac_old_set,$ac_new_set in
   2230     set,)
   2231       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2232 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2233       ac_cache_corrupted=: ;;
   2234     ,set)
   2235       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2236 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2237       ac_cache_corrupted=: ;;
   2238     ,);;
   2239     *)
   2240       if test "x$ac_old_val" != "x$ac_new_val"; then
   2241 	# differences in whitespace do not lead to failure.
   2242 	ac_old_val_w=`echo x $ac_old_val`
   2243 	ac_new_val_w=`echo x $ac_new_val`
   2244 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2245 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2246 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2247 	  ac_cache_corrupted=:
   2248 	else
   2249 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2250 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2251 	  eval $ac_var=\$ac_old_val
   2252 	fi
   2253 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2254 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2255 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2256 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2257       fi;;
   2258   esac
   2259   # Pass precious variables to config.status.
   2260   if test "$ac_new_set" = set; then
   2261     case $ac_new_val in
   2262     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2263     *) ac_arg=$ac_var=$ac_new_val ;;
   2264     esac
   2265     case " $ac_configure_args " in
   2266       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2267       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2268     esac
   2269   fi
   2270 done
   2271 if $ac_cache_corrupted; then
   2272   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2273 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2274   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2275 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2276   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2277 fi
   2278 ## -------------------- ##
   2279 ## Main body of script. ##
   2280 ## -------------------- ##
   2281 
   2282 ac_ext=c
   2283 ac_cpp='$CPP $CPPFLAGS'
   2284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2287 
   2288 
   2289 
   2290 ac_config_headers="$ac_config_headers config.h"
   2291 
   2292 ac_ext=c
   2293 ac_cpp='$CPP $CPPFLAGS'
   2294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2297 if test -n "$ac_tool_prefix"; then
   2298   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2299 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2301 $as_echo_n "checking for $ac_word... " >&6; }
   2302 if ${ac_cv_prog_CC+:} false; then :
   2303   $as_echo_n "(cached) " >&6
   2304 else
   2305   if test -n "$CC"; then
   2306   ac_cv_prog_CC="$CC" # Let the user override the test.
   2307 else
   2308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2309 for as_dir in $PATH
   2310 do
   2311   IFS=$as_save_IFS
   2312   test -z "$as_dir" && as_dir=.
   2313     for ac_exec_ext in '' $ac_executable_extensions; do
   2314   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2315     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2316     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2317     break 2
   2318   fi
   2319 done
   2320   done
   2321 IFS=$as_save_IFS
   2322 
   2323 fi
   2324 fi
   2325 CC=$ac_cv_prog_CC
   2326 if test -n "$CC"; then
   2327   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2328 $as_echo "$CC" >&6; }
   2329 else
   2330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2331 $as_echo "no" >&6; }
   2332 fi
   2333 
   2334 
   2335 fi
   2336 if test -z "$ac_cv_prog_CC"; then
   2337   ac_ct_CC=$CC
   2338   # Extract the first word of "gcc", so it can be a program name with args.
   2339 set dummy gcc; ac_word=$2
   2340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2341 $as_echo_n "checking for $ac_word... " >&6; }
   2342 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2343   $as_echo_n "(cached) " >&6
   2344 else
   2345   if test -n "$ac_ct_CC"; then
   2346   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2347 else
   2348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2349 for as_dir in $PATH
   2350 do
   2351   IFS=$as_save_IFS
   2352   test -z "$as_dir" && as_dir=.
   2353     for ac_exec_ext in '' $ac_executable_extensions; do
   2354   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2355     ac_cv_prog_ac_ct_CC="gcc"
   2356     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2357     break 2
   2358   fi
   2359 done
   2360   done
   2361 IFS=$as_save_IFS
   2362 
   2363 fi
   2364 fi
   2365 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2366 if test -n "$ac_ct_CC"; then
   2367   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2368 $as_echo "$ac_ct_CC" >&6; }
   2369 else
   2370   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2371 $as_echo "no" >&6; }
   2372 fi
   2373 
   2374   if test "x$ac_ct_CC" = x; then
   2375     CC=""
   2376   else
   2377     case $cross_compiling:$ac_tool_warned in
   2378 yes:)
   2379 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2380 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2381 ac_tool_warned=yes ;;
   2382 esac
   2383     CC=$ac_ct_CC
   2384   fi
   2385 else
   2386   CC="$ac_cv_prog_CC"
   2387 fi
   2388 
   2389 if test -z "$CC"; then
   2390           if test -n "$ac_tool_prefix"; then
   2391     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2392 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2394 $as_echo_n "checking for $ac_word... " >&6; }
   2395 if ${ac_cv_prog_CC+:} false; then :
   2396   $as_echo_n "(cached) " >&6
   2397 else
   2398   if test -n "$CC"; then
   2399   ac_cv_prog_CC="$CC" # Let the user override the test.
   2400 else
   2401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2402 for as_dir in $PATH
   2403 do
   2404   IFS=$as_save_IFS
   2405   test -z "$as_dir" && as_dir=.
   2406     for ac_exec_ext in '' $ac_executable_extensions; do
   2407   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2408     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2409     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2410     break 2
   2411   fi
   2412 done
   2413   done
   2414 IFS=$as_save_IFS
   2415 
   2416 fi
   2417 fi
   2418 CC=$ac_cv_prog_CC
   2419 if test -n "$CC"; then
   2420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2421 $as_echo "$CC" >&6; }
   2422 else
   2423   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2424 $as_echo "no" >&6; }
   2425 fi
   2426 
   2427 
   2428   fi
   2429 fi
   2430 if test -z "$CC"; then
   2431   # Extract the first word of "cc", so it can be a program name with args.
   2432 set dummy cc; ac_word=$2
   2433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2434 $as_echo_n "checking for $ac_word... " >&6; }
   2435 if ${ac_cv_prog_CC+:} false; then :
   2436   $as_echo_n "(cached) " >&6
   2437 else
   2438   if test -n "$CC"; then
   2439   ac_cv_prog_CC="$CC" # Let the user override the test.
   2440 else
   2441   ac_prog_rejected=no
   2442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2443 for as_dir in $PATH
   2444 do
   2445   IFS=$as_save_IFS
   2446   test -z "$as_dir" && as_dir=.
   2447     for ac_exec_ext in '' $ac_executable_extensions; do
   2448   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2449     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2450        ac_prog_rejected=yes
   2451        continue
   2452      fi
   2453     ac_cv_prog_CC="cc"
   2454     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2455     break 2
   2456   fi
   2457 done
   2458   done
   2459 IFS=$as_save_IFS
   2460 
   2461 if test $ac_prog_rejected = yes; then
   2462   # We found a bogon in the path, so make sure we never use it.
   2463   set dummy $ac_cv_prog_CC
   2464   shift
   2465   if test $# != 0; then
   2466     # We chose a different compiler from the bogus one.
   2467     # However, it has the same basename, so the bogon will be chosen
   2468     # first if we set CC to just the basename; use the full file name.
   2469     shift
   2470     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2471   fi
   2472 fi
   2473 fi
   2474 fi
   2475 CC=$ac_cv_prog_CC
   2476 if test -n "$CC"; then
   2477   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2478 $as_echo "$CC" >&6; }
   2479 else
   2480   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2481 $as_echo "no" >&6; }
   2482 fi
   2483 
   2484 
   2485 fi
   2486 if test -z "$CC"; then
   2487   if test -n "$ac_tool_prefix"; then
   2488   for ac_prog in cl.exe
   2489   do
   2490     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2491 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2493 $as_echo_n "checking for $ac_word... " >&6; }
   2494 if ${ac_cv_prog_CC+:} false; then :
   2495   $as_echo_n "(cached) " >&6
   2496 else
   2497   if test -n "$CC"; then
   2498   ac_cv_prog_CC="$CC" # Let the user override the test.
   2499 else
   2500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2501 for as_dir in $PATH
   2502 do
   2503   IFS=$as_save_IFS
   2504   test -z "$as_dir" && as_dir=.
   2505     for ac_exec_ext in '' $ac_executable_extensions; do
   2506   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2507     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2508     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2509     break 2
   2510   fi
   2511 done
   2512   done
   2513 IFS=$as_save_IFS
   2514 
   2515 fi
   2516 fi
   2517 CC=$ac_cv_prog_CC
   2518 if test -n "$CC"; then
   2519   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2520 $as_echo "$CC" >&6; }
   2521 else
   2522   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2523 $as_echo "no" >&6; }
   2524 fi
   2525 
   2526 
   2527     test -n "$CC" && break
   2528   done
   2529 fi
   2530 if test -z "$CC"; then
   2531   ac_ct_CC=$CC
   2532   for ac_prog in cl.exe
   2533 do
   2534   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2535 set dummy $ac_prog; ac_word=$2
   2536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2537 $as_echo_n "checking for $ac_word... " >&6; }
   2538 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2539   $as_echo_n "(cached) " >&6
   2540 else
   2541   if test -n "$ac_ct_CC"; then
   2542   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2543 else
   2544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2545 for as_dir in $PATH
   2546 do
   2547   IFS=$as_save_IFS
   2548   test -z "$as_dir" && as_dir=.
   2549     for ac_exec_ext in '' $ac_executable_extensions; do
   2550   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2551     ac_cv_prog_ac_ct_CC="$ac_prog"
   2552     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2553     break 2
   2554   fi
   2555 done
   2556   done
   2557 IFS=$as_save_IFS
   2558 
   2559 fi
   2560 fi
   2561 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2562 if test -n "$ac_ct_CC"; then
   2563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2564 $as_echo "$ac_ct_CC" >&6; }
   2565 else
   2566   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2567 $as_echo "no" >&6; }
   2568 fi
   2569 
   2570 
   2571   test -n "$ac_ct_CC" && break
   2572 done
   2573 
   2574   if test "x$ac_ct_CC" = x; then
   2575     CC=""
   2576   else
   2577     case $cross_compiling:$ac_tool_warned in
   2578 yes:)
   2579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2580 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2581 ac_tool_warned=yes ;;
   2582 esac
   2583     CC=$ac_ct_CC
   2584   fi
   2585 fi
   2586 
   2587 fi
   2588 
   2589 
   2590 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2591 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2592 as_fn_error $? "no acceptable C compiler found in \$PATH
   2593 See \`config.log' for more details" "$LINENO" 5; }
   2594 
   2595 # Provide some information about the compiler.
   2596 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   2597 set X $ac_compile
   2598 ac_compiler=$2
   2599 for ac_option in --version -v -V -qversion; do
   2600   { { ac_try="$ac_compiler $ac_option >&5"
   2601 case "(($ac_try" in
   2602   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2603   *) ac_try_echo=$ac_try;;
   2604 esac
   2605 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2606 $as_echo "$ac_try_echo"; } >&5
   2607   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   2608   ac_status=$?
   2609   if test -s conftest.err; then
   2610     sed '10a\
   2611 ... rest of stderr output deleted ...
   2612          10q' conftest.err >conftest.er1
   2613     cat conftest.er1 >&5
   2614   fi
   2615   rm -f conftest.er1 conftest.err
   2616   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2617   test $ac_status = 0; }
   2618 done
   2619 
   2620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2621 /* end confdefs.h.  */
   2622 
   2623 int
   2624 main ()
   2625 {
   2626 
   2627   ;
   2628   return 0;
   2629 }
   2630 _ACEOF
   2631 ac_clean_files_save=$ac_clean_files
   2632 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   2633 # Try to create an executable without -o first, disregard a.out.
   2634 # It will help us diagnose broken compilers, and finding out an intuition
   2635 # of exeext.
   2636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   2637 $as_echo_n "checking whether the C compiler works... " >&6; }
   2638 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   2639 
   2640 # The possible output files:
   2641 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   2642 
   2643 ac_rmfiles=
   2644 for ac_file in $ac_files
   2645 do
   2646   case $ac_file in
   2647     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2648     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   2649   esac
   2650 done
   2651 rm -f $ac_rmfiles
   2652 
   2653 if { { ac_try="$ac_link_default"
   2654 case "(($ac_try" in
   2655   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2656   *) ac_try_echo=$ac_try;;
   2657 esac
   2658 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2659 $as_echo "$ac_try_echo"; } >&5
   2660   (eval "$ac_link_default") 2>&5
   2661   ac_status=$?
   2662   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2663   test $ac_status = 0; }; then :
   2664   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   2665 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   2666 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   2667 # so that the user can short-circuit this test for compilers unknown to
   2668 # Autoconf.
   2669 for ac_file in $ac_files ''
   2670 do
   2671   test -f "$ac_file" || continue
   2672   case $ac_file in
   2673     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   2674 	;;
   2675     [ab].out )
   2676 	# We found the default executable, but exeext='' is most
   2677 	# certainly right.
   2678 	break;;
   2679     *.* )
   2680 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   2681 	then :; else
   2682 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2683 	fi
   2684 	# We set ac_cv_exeext here because the later test for it is not
   2685 	# safe: cross compilers may not add the suffix if given an `-o'
   2686 	# argument, so we may need to know it at that point already.
   2687 	# Even if this section looks crufty: it has the advantage of
   2688 	# actually working.
   2689 	break;;
   2690     * )
   2691 	break;;
   2692   esac
   2693 done
   2694 test "$ac_cv_exeext" = no && ac_cv_exeext=
   2695 
   2696 else
   2697   ac_file=''
   2698 fi
   2699 if test -z "$ac_file"; then :
   2700   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2701 $as_echo "no" >&6; }
   2702 $as_echo "$as_me: failed program was:" >&5
   2703 sed 's/^/| /' conftest.$ac_ext >&5
   2704 
   2705 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2706 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2707 as_fn_error 77 "C compiler cannot create executables
   2708 See \`config.log' for more details" "$LINENO" 5; }
   2709 else
   2710   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2711 $as_echo "yes" >&6; }
   2712 fi
   2713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   2714 $as_echo_n "checking for C compiler default output file name... " >&6; }
   2715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   2716 $as_echo "$ac_file" >&6; }
   2717 ac_exeext=$ac_cv_exeext
   2718 
   2719 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   2720 ac_clean_files=$ac_clean_files_save
   2721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   2722 $as_echo_n "checking for suffix of executables... " >&6; }
   2723 if { { ac_try="$ac_link"
   2724 case "(($ac_try" in
   2725   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2726   *) ac_try_echo=$ac_try;;
   2727 esac
   2728 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2729 $as_echo "$ac_try_echo"; } >&5
   2730   (eval "$ac_link") 2>&5
   2731   ac_status=$?
   2732   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2733   test $ac_status = 0; }; then :
   2734   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   2735 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   2736 # work properly (i.e., refer to `conftest.exe'), while it won't with
   2737 # `rm'.
   2738 for ac_file in conftest.exe conftest conftest.*; do
   2739   test -f "$ac_file" || continue
   2740   case $ac_file in
   2741     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2742     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2743 	  break;;
   2744     * ) break;;
   2745   esac
   2746 done
   2747 else
   2748   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2749 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2750 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   2751 See \`config.log' for more details" "$LINENO" 5; }
   2752 fi
   2753 rm -f conftest conftest$ac_cv_exeext
   2754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   2755 $as_echo "$ac_cv_exeext" >&6; }
   2756 
   2757 rm -f conftest.$ac_ext
   2758 EXEEXT=$ac_cv_exeext
   2759 ac_exeext=$EXEEXT
   2760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2761 /* end confdefs.h.  */
   2762 #include <stdio.h>
   2763 int
   2764 main ()
   2765 {
   2766 FILE *f = fopen ("conftest.out", "w");
   2767  return ferror (f) || fclose (f) != 0;
   2768 
   2769   ;
   2770   return 0;
   2771 }
   2772 _ACEOF
   2773 ac_clean_files="$ac_clean_files conftest.out"
   2774 # Check that the compiler produces executables we can run.  If not, either
   2775 # the compiler is broken, or we cross compile.
   2776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   2777 $as_echo_n "checking whether we are cross compiling... " >&6; }
   2778 if test "$cross_compiling" != yes; then
   2779   { { ac_try="$ac_link"
   2780 case "(($ac_try" in
   2781   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2782   *) ac_try_echo=$ac_try;;
   2783 esac
   2784 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2785 $as_echo "$ac_try_echo"; } >&5
   2786   (eval "$ac_link") 2>&5
   2787   ac_status=$?
   2788   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2789   test $ac_status = 0; }
   2790   if { ac_try='./conftest$ac_cv_exeext'
   2791   { { case "(($ac_try" in
   2792   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2793   *) ac_try_echo=$ac_try;;
   2794 esac
   2795 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2796 $as_echo "$ac_try_echo"; } >&5
   2797   (eval "$ac_try") 2>&5
   2798   ac_status=$?
   2799   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2800   test $ac_status = 0; }; }; then
   2801     cross_compiling=no
   2802   else
   2803     if test "$cross_compiling" = maybe; then
   2804 	cross_compiling=yes
   2805     else
   2806 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2807 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2808 as_fn_error $? "cannot run C compiled programs.
   2809 If you meant to cross compile, use \`--host'.
   2810 See \`config.log' for more details" "$LINENO" 5; }
   2811     fi
   2812   fi
   2813 fi
   2814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   2815 $as_echo "$cross_compiling" >&6; }
   2816 
   2817 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   2818 ac_clean_files=$ac_clean_files_save
   2819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   2820 $as_echo_n "checking for suffix of object files... " >&6; }
   2821 if ${ac_cv_objext+:} false; then :
   2822   $as_echo_n "(cached) " >&6
   2823 else
   2824   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2825 /* end confdefs.h.  */
   2826 
   2827 int
   2828 main ()
   2829 {
   2830 
   2831   ;
   2832   return 0;
   2833 }
   2834 _ACEOF
   2835 rm -f conftest.o conftest.obj
   2836 if { { ac_try="$ac_compile"
   2837 case "(($ac_try" in
   2838   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2839   *) ac_try_echo=$ac_try;;
   2840 esac
   2841 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2842 $as_echo "$ac_try_echo"; } >&5
   2843   (eval "$ac_compile") 2>&5
   2844   ac_status=$?
   2845   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2846   test $ac_status = 0; }; then :
   2847   for ac_file in conftest.o conftest.obj conftest.*; do
   2848   test -f "$ac_file" || continue;
   2849   case $ac_file in
   2850     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   2851     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   2852        break;;
   2853   esac
   2854 done
   2855 else
   2856   $as_echo "$as_me: failed program was:" >&5
   2857 sed 's/^/| /' conftest.$ac_ext >&5
   2858 
   2859 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2860 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2861 as_fn_error $? "cannot compute suffix of object files: cannot compile
   2862 See \`config.log' for more details" "$LINENO" 5; }
   2863 fi
   2864 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   2865 fi
   2866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   2867 $as_echo "$ac_cv_objext" >&6; }
   2868 OBJEXT=$ac_cv_objext
   2869 ac_objext=$OBJEXT
   2870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   2871 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   2872 if ${ac_cv_c_compiler_gnu+:} false; then :
   2873   $as_echo_n "(cached) " >&6
   2874 else
   2875   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2876 /* end confdefs.h.  */
   2877 
   2878 int
   2879 main ()
   2880 {
   2881 #ifndef __GNUC__
   2882        choke me
   2883 #endif
   2884 
   2885   ;
   2886   return 0;
   2887 }
   2888 _ACEOF
   2889 if ac_fn_c_try_compile "$LINENO"; then :
   2890   ac_compiler_gnu=yes
   2891 else
   2892   ac_compiler_gnu=no
   2893 fi
   2894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2895 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   2896 
   2897 fi
   2898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   2899 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   2900 if test $ac_compiler_gnu = yes; then
   2901   GCC=yes
   2902 else
   2903   GCC=
   2904 fi
   2905 ac_test_CFLAGS=${CFLAGS+set}
   2906 ac_save_CFLAGS=$CFLAGS
   2907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   2908 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   2909 if ${ac_cv_prog_cc_g+:} false; then :
   2910   $as_echo_n "(cached) " >&6
   2911 else
   2912   ac_save_c_werror_flag=$ac_c_werror_flag
   2913    ac_c_werror_flag=yes
   2914    ac_cv_prog_cc_g=no
   2915    CFLAGS="-g"
   2916    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2917 /* end confdefs.h.  */
   2918 
   2919 int
   2920 main ()
   2921 {
   2922 
   2923   ;
   2924   return 0;
   2925 }
   2926 _ACEOF
   2927 if ac_fn_c_try_compile "$LINENO"; then :
   2928   ac_cv_prog_cc_g=yes
   2929 else
   2930   CFLAGS=""
   2931       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2932 /* end confdefs.h.  */
   2933 
   2934 int
   2935 main ()
   2936 {
   2937 
   2938   ;
   2939   return 0;
   2940 }
   2941 _ACEOF
   2942 if ac_fn_c_try_compile "$LINENO"; then :
   2943 
   2944 else
   2945   ac_c_werror_flag=$ac_save_c_werror_flag
   2946 	 CFLAGS="-g"
   2947 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2948 /* end confdefs.h.  */
   2949 
   2950 int
   2951 main ()
   2952 {
   2953 
   2954   ;
   2955   return 0;
   2956 }
   2957 _ACEOF
   2958 if ac_fn_c_try_compile "$LINENO"; then :
   2959   ac_cv_prog_cc_g=yes
   2960 fi
   2961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2962 fi
   2963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2964 fi
   2965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2966    ac_c_werror_flag=$ac_save_c_werror_flag
   2967 fi
   2968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   2969 $as_echo "$ac_cv_prog_cc_g" >&6; }
   2970 if test "$ac_test_CFLAGS" = set; then
   2971   CFLAGS=$ac_save_CFLAGS
   2972 elif test $ac_cv_prog_cc_g = yes; then
   2973   if test "$GCC" = yes; then
   2974     CFLAGS="-g -O2"
   2975   else
   2976     CFLAGS="-g"
   2977   fi
   2978 else
   2979   if test "$GCC" = yes; then
   2980     CFLAGS="-O2"
   2981   else
   2982     CFLAGS=
   2983   fi
   2984 fi
   2985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   2986 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   2987 if ${ac_cv_prog_cc_c89+:} false; then :
   2988   $as_echo_n "(cached) " >&6
   2989 else
   2990   ac_cv_prog_cc_c89=no
   2991 ac_save_CC=$CC
   2992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2993 /* end confdefs.h.  */
   2994 #include <stdarg.h>
   2995 #include <stdio.h>
   2996 #include <sys/types.h>
   2997 #include <sys/stat.h>
   2998 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   2999 struct buf { int x; };
   3000 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3001 static char *e (p, i)
   3002      char **p;
   3003      int i;
   3004 {
   3005   return p[i];
   3006 }
   3007 static char *f (char * (*g) (char **, int), char **p, ...)
   3008 {
   3009   char *s;
   3010   va_list v;
   3011   va_start (v,p);
   3012   s = g (p, va_arg (v,int));
   3013   va_end (v);
   3014   return s;
   3015 }
   3016 
   3017 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3018    function prototypes and stuff, but not '\xHH' hex character constants.
   3019    These don't provoke an error unfortunately, instead are silently treated
   3020    as 'x'.  The following induces an error, until -std is added to get
   3021    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3022    array size at least.  It's necessary to write '\x00'==0 to get something
   3023    that's true only with -std.  */
   3024 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3025 
   3026 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3027    inside strings and character constants.  */
   3028 #define FOO(x) 'x'
   3029 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3030 
   3031 int test (int i, double x);
   3032 struct s1 {int (*f) (int a);};
   3033 struct s2 {int (*f) (double a);};
   3034 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3035 int argc;
   3036 char **argv;
   3037 int
   3038 main ()
   3039 {
   3040 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3041   ;
   3042   return 0;
   3043 }
   3044 _ACEOF
   3045 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3046 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3047 do
   3048   CC="$ac_save_CC $ac_arg"
   3049   if ac_fn_c_try_compile "$LINENO"; then :
   3050   ac_cv_prog_cc_c89=$ac_arg
   3051 fi
   3052 rm -f core conftest.err conftest.$ac_objext
   3053   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3054 done
   3055 rm -f conftest.$ac_ext
   3056 CC=$ac_save_CC
   3057 
   3058 fi
   3059 # AC_CACHE_VAL
   3060 case "x$ac_cv_prog_cc_c89" in
   3061   x)
   3062     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3063 $as_echo "none needed" >&6; } ;;
   3064   xno)
   3065     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3066 $as_echo "unsupported" >&6; } ;;
   3067   *)
   3068     CC="$CC $ac_cv_prog_cc_c89"
   3069     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3070 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3071 esac
   3072 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3073 
   3074 fi
   3075 
   3076 ac_ext=c
   3077 ac_cpp='$CPP $CPPFLAGS'
   3078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3081 
   3082 
   3083 ac_ext=c
   3084 ac_cpp='$CPP $CPPFLAGS'
   3085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3089 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3090 # On Suns, sometimes $CPP names a directory.
   3091 if test -n "$CPP" && test -d "$CPP"; then
   3092   CPP=
   3093 fi
   3094 if test -z "$CPP"; then
   3095   if ${ac_cv_prog_CPP+:} false; then :
   3096   $as_echo_n "(cached) " >&6
   3097 else
   3098       # Double quotes because CPP needs to be expanded
   3099     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3100     do
   3101       ac_preproc_ok=false
   3102 for ac_c_preproc_warn_flag in '' yes
   3103 do
   3104   # Use a header file that comes with gcc, so configuring glibc
   3105   # with a fresh cross-compiler works.
   3106   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3107   # <limits.h> exists even on freestanding compilers.
   3108   # On the NeXT, cc -E runs the code through the compiler's parser,
   3109   # not just through cpp. "Syntax error" is here to catch this case.
   3110   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3111 /* end confdefs.h.  */
   3112 #ifdef __STDC__
   3113 # include <limits.h>
   3114 #else
   3115 # include <assert.h>
   3116 #endif
   3117 		     Syntax error
   3118 _ACEOF
   3119 if ac_fn_c_try_cpp "$LINENO"; then :
   3120 
   3121 else
   3122   # Broken: fails on valid input.
   3123 continue
   3124 fi
   3125 rm -f conftest.err conftest.i conftest.$ac_ext
   3126 
   3127   # OK, works on sane cases.  Now check whether nonexistent headers
   3128   # can be detected and how.
   3129   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3130 /* end confdefs.h.  */
   3131 #include <ac_nonexistent.h>
   3132 _ACEOF
   3133 if ac_fn_c_try_cpp "$LINENO"; then :
   3134   # Broken: success on invalid input.
   3135 continue
   3136 else
   3137   # Passes both tests.
   3138 ac_preproc_ok=:
   3139 break
   3140 fi
   3141 rm -f conftest.err conftest.i conftest.$ac_ext
   3142 
   3143 done
   3144 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3145 rm -f conftest.i conftest.err conftest.$ac_ext
   3146 if $ac_preproc_ok; then :
   3147   break
   3148 fi
   3149 
   3150     done
   3151     ac_cv_prog_CPP=$CPP
   3152 
   3153 fi
   3154   CPP=$ac_cv_prog_CPP
   3155 else
   3156   ac_cv_prog_CPP=$CPP
   3157 fi
   3158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   3159 $as_echo "$CPP" >&6; }
   3160 ac_preproc_ok=false
   3161 for ac_c_preproc_warn_flag in '' yes
   3162 do
   3163   # Use a header file that comes with gcc, so configuring glibc
   3164   # with a fresh cross-compiler works.
   3165   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3166   # <limits.h> exists even on freestanding compilers.
   3167   # On the NeXT, cc -E runs the code through the compiler's parser,
   3168   # not just through cpp. "Syntax error" is here to catch this case.
   3169   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3170 /* end confdefs.h.  */
   3171 #ifdef __STDC__
   3172 # include <limits.h>
   3173 #else
   3174 # include <assert.h>
   3175 #endif
   3176 		     Syntax error
   3177 _ACEOF
   3178 if ac_fn_c_try_cpp "$LINENO"; then :
   3179 
   3180 else
   3181   # Broken: fails on valid input.
   3182 continue
   3183 fi
   3184 rm -f conftest.err conftest.i conftest.$ac_ext
   3185 
   3186   # OK, works on sane cases.  Now check whether nonexistent headers
   3187   # can be detected and how.
   3188   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3189 /* end confdefs.h.  */
   3190 #include <ac_nonexistent.h>
   3191 _ACEOF
   3192 if ac_fn_c_try_cpp "$LINENO"; then :
   3193   # Broken: success on invalid input.
   3194 continue
   3195 else
   3196   # Passes both tests.
   3197 ac_preproc_ok=:
   3198 break
   3199 fi
   3200 rm -f conftest.err conftest.i conftest.$ac_ext
   3201 
   3202 done
   3203 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3204 rm -f conftest.i conftest.err conftest.$ac_ext
   3205 if $ac_preproc_ok; then :
   3206 
   3207 else
   3208   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3209 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3210 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   3211 See \`config.log' for more details" "$LINENO" 5; }
   3212 fi
   3213 
   3214 ac_ext=c
   3215 ac_cpp='$CPP $CPPFLAGS'
   3216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3219 
   3220 
   3221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   3222 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3223 if ${ac_cv_path_GREP+:} false; then :
   3224   $as_echo_n "(cached) " >&6
   3225 else
   3226   if test -z "$GREP"; then
   3227   ac_path_GREP_found=false
   3228   # Loop through the user's path and test for each of PROGNAME-LIST
   3229   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3230 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3231 do
   3232   IFS=$as_save_IFS
   3233   test -z "$as_dir" && as_dir=.
   3234     for ac_prog in grep ggrep; do
   3235     for ac_exec_ext in '' $ac_executable_extensions; do
   3236       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3237       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   3238 # Check for GNU ac_path_GREP and select it if it is found.
   3239   # Check for GNU $ac_path_GREP
   3240 case `"$ac_path_GREP" --version 2>&1` in
   3241 *GNU*)
   3242   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3243 *)
   3244   ac_count=0
   3245   $as_echo_n 0123456789 >"conftest.in"
   3246   while :
   3247   do
   3248     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3249     mv "conftest.tmp" "conftest.in"
   3250     cp "conftest.in" "conftest.nl"
   3251     $as_echo 'GREP' >> "conftest.nl"
   3252     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3253     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3254     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3255     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3256       # Best one so far, save it but keep looking for a better one
   3257       ac_cv_path_GREP="$ac_path_GREP"
   3258       ac_path_GREP_max=$ac_count
   3259     fi
   3260     # 10*(2^10) chars as input seems more than enough
   3261     test $ac_count -gt 10 && break
   3262   done
   3263   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3264 esac
   3265 
   3266       $ac_path_GREP_found && break 3
   3267     done
   3268   done
   3269   done
   3270 IFS=$as_save_IFS
   3271   if test -z "$ac_cv_path_GREP"; then
   3272     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3273   fi
   3274 else
   3275   ac_cv_path_GREP=$GREP
   3276 fi
   3277 
   3278 fi
   3279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   3280 $as_echo "$ac_cv_path_GREP" >&6; }
   3281  GREP="$ac_cv_path_GREP"
   3282 
   3283 
   3284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   3285 $as_echo_n "checking for egrep... " >&6; }
   3286 if ${ac_cv_path_EGREP+:} false; then :
   3287   $as_echo_n "(cached) " >&6
   3288 else
   3289   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3290    then ac_cv_path_EGREP="$GREP -E"
   3291    else
   3292      if test -z "$EGREP"; then
   3293   ac_path_EGREP_found=false
   3294   # Loop through the user's path and test for each of PROGNAME-LIST
   3295   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3296 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3297 do
   3298   IFS=$as_save_IFS
   3299   test -z "$as_dir" && as_dir=.
   3300     for ac_prog in egrep; do
   3301     for ac_exec_ext in '' $ac_executable_extensions; do
   3302       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   3303       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   3304 # Check for GNU ac_path_EGREP and select it if it is found.
   3305   # Check for GNU $ac_path_EGREP
   3306 case `"$ac_path_EGREP" --version 2>&1` in
   3307 *GNU*)
   3308   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   3309 *)
   3310   ac_count=0
   3311   $as_echo_n 0123456789 >"conftest.in"
   3312   while :
   3313   do
   3314     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3315     mv "conftest.tmp" "conftest.in"
   3316     cp "conftest.in" "conftest.nl"
   3317     $as_echo 'EGREP' >> "conftest.nl"
   3318     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3319     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3320     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3321     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   3322       # Best one so far, save it but keep looking for a better one
   3323       ac_cv_path_EGREP="$ac_path_EGREP"
   3324       ac_path_EGREP_max=$ac_count
   3325     fi
   3326     # 10*(2^10) chars as input seems more than enough
   3327     test $ac_count -gt 10 && break
   3328   done
   3329   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3330 esac
   3331 
   3332       $ac_path_EGREP_found && break 3
   3333     done
   3334   done
   3335   done
   3336 IFS=$as_save_IFS
   3337   if test -z "$ac_cv_path_EGREP"; then
   3338     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3339   fi
   3340 else
   3341   ac_cv_path_EGREP=$EGREP
   3342 fi
   3343 
   3344    fi
   3345 fi
   3346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   3347 $as_echo "$ac_cv_path_EGREP" >&6; }
   3348  EGREP="$ac_cv_path_EGREP"
   3349 
   3350 
   3351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   3352 $as_echo_n "checking for ANSI C header files... " >&6; }
   3353 if ${ac_cv_header_stdc+:} false; then :
   3354   $as_echo_n "(cached) " >&6
   3355 else
   3356   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3357 /* end confdefs.h.  */
   3358 #include <stdlib.h>
   3359 #include <stdarg.h>
   3360 #include <string.h>
   3361 #include <float.h>
   3362 
   3363 int
   3364 main ()
   3365 {
   3366 
   3367   ;
   3368   return 0;
   3369 }
   3370 _ACEOF
   3371 if ac_fn_c_try_compile "$LINENO"; then :
   3372   ac_cv_header_stdc=yes
   3373 else
   3374   ac_cv_header_stdc=no
   3375 fi
   3376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3377 
   3378 if test $ac_cv_header_stdc = yes; then
   3379   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   3380   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3381 /* end confdefs.h.  */
   3382 #include <string.h>
   3383 
   3384 _ACEOF
   3385 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3386   $EGREP "memchr" >/dev/null 2>&1; then :
   3387 
   3388 else
   3389   ac_cv_header_stdc=no
   3390 fi
   3391 rm -f conftest*
   3392 
   3393 fi
   3394 
   3395 if test $ac_cv_header_stdc = yes; then
   3396   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   3397   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3398 /* end confdefs.h.  */
   3399 #include <stdlib.h>
   3400 
   3401 _ACEOF
   3402 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3403   $EGREP "free" >/dev/null 2>&1; then :
   3404 
   3405 else
   3406   ac_cv_header_stdc=no
   3407 fi
   3408 rm -f conftest*
   3409 
   3410 fi
   3411 
   3412 if test $ac_cv_header_stdc = yes; then
   3413   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   3414   if test "$cross_compiling" = yes; then :
   3415   :
   3416 else
   3417   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3418 /* end confdefs.h.  */
   3419 #include <ctype.h>
   3420 #include <stdlib.h>
   3421 #if ((' ' & 0x0FF) == 0x020)
   3422 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   3423 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   3424 #else
   3425 # define ISLOWER(c) \
   3426 		   (('a' <= (c) && (c) <= 'i') \
   3427 		     || ('j' <= (c) && (c) <= 'r') \
   3428 		     || ('s' <= (c) && (c) <= 'z'))
   3429 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   3430 #endif
   3431 
   3432 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   3433 int
   3434 main ()
   3435 {
   3436   int i;
   3437   for (i = 0; i < 256; i++)
   3438     if (XOR (islower (i), ISLOWER (i))
   3439 	|| toupper (i) != TOUPPER (i))
   3440       return 2;
   3441   return 0;
   3442 }
   3443 _ACEOF
   3444 if ac_fn_c_try_run "$LINENO"; then :
   3445 
   3446 else
   3447   ac_cv_header_stdc=no
   3448 fi
   3449 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   3450   conftest.$ac_objext conftest.beam conftest.$ac_ext
   3451 fi
   3452 
   3453 fi
   3454 fi
   3455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   3456 $as_echo "$ac_cv_header_stdc" >&6; }
   3457 if test $ac_cv_header_stdc = yes; then
   3458 
   3459 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   3460 
   3461 fi
   3462 
   3463 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   3464 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   3465 		  inttypes.h stdint.h unistd.h
   3466 do :
   3467   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   3468 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   3469 "
   3470 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   3471   cat >>confdefs.h <<_ACEOF
   3472 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   3473 _ACEOF
   3474 
   3475 fi
   3476 
   3477 done
   3478 
   3479 
   3480 
   3481   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
   3482 if test "x$ac_cv_header_minix_config_h" = xyes; then :
   3483   MINIX=yes
   3484 else
   3485   MINIX=
   3486 fi
   3487 
   3488 
   3489   if test "$MINIX" = yes; then
   3490 
   3491 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
   3492 
   3493 
   3494 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
   3495 
   3496 
   3497 $as_echo "#define _MINIX 1" >>confdefs.h
   3498 
   3499   fi
   3500 
   3501 
   3502   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   3503 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   3504 if ${ac_cv_safe_to_define___extensions__+:} false; then :
   3505   $as_echo_n "(cached) " >&6
   3506 else
   3507   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3508 /* end confdefs.h.  */
   3509 
   3510 #	  define __EXTENSIONS__ 1
   3511 	  $ac_includes_default
   3512 int
   3513 main ()
   3514 {
   3515 
   3516   ;
   3517   return 0;
   3518 }
   3519 _ACEOF
   3520 if ac_fn_c_try_compile "$LINENO"; then :
   3521   ac_cv_safe_to_define___extensions__=yes
   3522 else
   3523   ac_cv_safe_to_define___extensions__=no
   3524 fi
   3525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3526 fi
   3527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   3528 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   3529   test $ac_cv_safe_to_define___extensions__ = yes &&
   3530     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
   3531 
   3532   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
   3533 
   3534   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   3535 
   3536   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   3537 
   3538   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
   3539 
   3540 
   3541 
   3542 # Initialize Automake
   3543 am__api_version='1.13'
   3544 
   3545 ac_aux_dir=
   3546 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   3547   if test -f "$ac_dir/install-sh"; then
   3548     ac_aux_dir=$ac_dir
   3549     ac_install_sh="$ac_aux_dir/install-sh -c"
   3550     break
   3551   elif test -f "$ac_dir/install.sh"; then
   3552     ac_aux_dir=$ac_dir
   3553     ac_install_sh="$ac_aux_dir/install.sh -c"
   3554     break
   3555   elif test -f "$ac_dir/shtool"; then
   3556     ac_aux_dir=$ac_dir
   3557     ac_install_sh="$ac_aux_dir/shtool install -c"
   3558     break
   3559   fi
   3560 done
   3561 if test -z "$ac_aux_dir"; then
   3562   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   3563 fi
   3564 
   3565 # These three variables are undocumented and unsupported,
   3566 # and are intended to be withdrawn in a future Autoconf release.
   3567 # They can cause serious problems if a builder's source tree is in a directory
   3568 # whose full name contains unusual characters.
   3569 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   3570 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   3571 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   3572 
   3573 
   3574 # Find a good install program.  We prefer a C program (faster),
   3575 # so one script is as good as another.  But avoid the broken or
   3576 # incompatible versions:
   3577 # SysV /etc/install, /usr/sbin/install
   3578 # SunOS /usr/etc/install
   3579 # IRIX /sbin/install
   3580 # AIX /bin/install
   3581 # AmigaOS /C/install, which installs bootblocks on floppy discs
   3582 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   3583 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   3584 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   3585 # OS/2's system install, which has a completely different semantic
   3586 # ./install, which can be erroneously created by make from ./install.sh.
   3587 # Reject install programs that cannot install multiple files.
   3588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   3589 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   3590 if test -z "$INSTALL"; then
   3591 if ${ac_cv_path_install+:} false; then :
   3592   $as_echo_n "(cached) " >&6
   3593 else
   3594   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3595 for as_dir in $PATH
   3596 do
   3597   IFS=$as_save_IFS
   3598   test -z "$as_dir" && as_dir=.
   3599     # Account for people who put trailing slashes in PATH elements.
   3600 case $as_dir/ in #((
   3601   ./ | .// | /[cC]/* | \
   3602   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   3603   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   3604   /usr/ucb/* ) ;;
   3605   *)
   3606     # OSF1 and SCO ODT 3.0 have their own names for install.
   3607     # Don't use installbsd from OSF since it installs stuff as root
   3608     # by default.
   3609     for ac_prog in ginstall scoinst install; do
   3610       for ac_exec_ext in '' $ac_executable_extensions; do
   3611 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   3612 	  if test $ac_prog = install &&
   3613 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3614 	    # AIX install.  It has an incompatible calling convention.
   3615 	    :
   3616 	  elif test $ac_prog = install &&
   3617 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3618 	    # program-specific install script used by HP pwplus--don't use.
   3619 	    :
   3620 	  else
   3621 	    rm -rf conftest.one conftest.two conftest.dir
   3622 	    echo one > conftest.one
   3623 	    echo two > conftest.two
   3624 	    mkdir conftest.dir
   3625 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   3626 	      test -s conftest.one && test -s conftest.two &&
   3627 	      test -s conftest.dir/conftest.one &&
   3628 	      test -s conftest.dir/conftest.two
   3629 	    then
   3630 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   3631 	      break 3
   3632 	    fi
   3633 	  fi
   3634 	fi
   3635       done
   3636     done
   3637     ;;
   3638 esac
   3639 
   3640   done
   3641 IFS=$as_save_IFS
   3642 
   3643 rm -rf conftest.one conftest.two conftest.dir
   3644 
   3645 fi
   3646   if test "${ac_cv_path_install+set}" = set; then
   3647     INSTALL=$ac_cv_path_install
   3648   else
   3649     # As a last resort, use the slow shell script.  Don't cache a
   3650     # value for INSTALL within a source directory, because that will
   3651     # break other packages using the cache if that directory is
   3652     # removed, or if the value is a relative name.
   3653     INSTALL=$ac_install_sh
   3654   fi
   3655 fi
   3656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   3657 $as_echo "$INSTALL" >&6; }
   3658 
   3659 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   3660 # It thinks the first close brace ends the variable substitution.
   3661 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   3662 
   3663 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   3664 
   3665 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   3666 
   3667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   3668 $as_echo_n "checking whether build environment is sane... " >&6; }
   3669 # Reject unsafe characters in $srcdir or the absolute working directory
   3670 # name.  Accept space and tab only in the latter.
   3671 am_lf='
   3672 '
   3673 case `pwd` in
   3674   *[\\\"\#\$\&\'\`$am_lf]*)
   3675     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   3676 esac
   3677 case $srcdir in
   3678   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   3679     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   3680 esac
   3681 
   3682 # Do 'set' in a subshell so we don't clobber the current shell's
   3683 # arguments.  Must try -L first in case configure is actually a
   3684 # symlink; some systems play weird games with the mod time of symlinks
   3685 # (eg FreeBSD returns the mod time of the symlink's containing
   3686 # directory).
   3687 if (
   3688    am_has_slept=no
   3689    for am_try in 1 2; do
   3690      echo "timestamp, slept: $am_has_slept" > conftest.file
   3691      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   3692      if test "$*" = "X"; then
   3693 	# -L didn't work.
   3694 	set X `ls -t "$srcdir/configure" conftest.file`
   3695      fi
   3696      if test "$*" != "X $srcdir/configure conftest.file" \
   3697 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   3698 
   3699 	# If neither matched, then we have a broken ls.  This can happen
   3700 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   3701 	# broken ls alias from the environment.  This has actually
   3702 	# happened.  Such a system could not be considered "sane".
   3703 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   3704   alias in your environment" "$LINENO" 5
   3705      fi
   3706      if test "$2" = conftest.file || test $am_try -eq 2; then
   3707        break
   3708      fi
   3709      # Just in case.
   3710      sleep 1
   3711      am_has_slept=yes
   3712    done
   3713    test "$2" = conftest.file
   3714    )
   3715 then
   3716    # Ok.
   3717    :
   3718 else
   3719    as_fn_error $? "newly created file is older than distributed files!
   3720 Check your system clock" "$LINENO" 5
   3721 fi
   3722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3723 $as_echo "yes" >&6; }
   3724 # If we didn't sleep, we still need to ensure time stamps of config.status and
   3725 # generated files are strictly newer.
   3726 am_sleep_pid=
   3727 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   3728   ( sleep 1 ) &
   3729   am_sleep_pid=$!
   3730 fi
   3731 
   3732 rm -f conftest.file
   3733 
   3734 test "$program_prefix" != NONE &&
   3735   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   3736 # Use a double $ so make ignores it.
   3737 test "$program_suffix" != NONE &&
   3738   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   3739 # Double any \ or $.
   3740 # By default was `s,x,x', remove it if useless.
   3741 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   3742 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   3743 
   3744 # expand $ac_aux_dir to an absolute path
   3745 am_aux_dir=`cd $ac_aux_dir && pwd`
   3746 
   3747 if test x"${MISSING+set}" != xset; then
   3748   case $am_aux_dir in
   3749   *\ * | *\	*)
   3750     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   3751   *)
   3752     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   3753   esac
   3754 fi
   3755 # Use eval to expand $SHELL
   3756 if eval "$MISSING --is-lightweight"; then
   3757   am_missing_run="$MISSING "
   3758 else
   3759   am_missing_run=
   3760   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   3761 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   3762 fi
   3763 
   3764 if test x"${install_sh}" != xset; then
   3765   case $am_aux_dir in
   3766   *\ * | *\	*)
   3767     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   3768   *)
   3769     install_sh="\${SHELL} $am_aux_dir/install-sh"
   3770   esac
   3771 fi
   3772 
   3773 # Installed binaries are usually stripped using 'strip' when the user
   3774 # run "make install-strip".  However 'strip' might not be the right
   3775 # tool to use in cross-compilation environments, therefore Automake
   3776 # will honor the 'STRIP' environment variable to overrule this program.
   3777 if test "$cross_compiling" != no; then
   3778   if test -n "$ac_tool_prefix"; then
   3779   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   3780 set dummy ${ac_tool_prefix}strip; ac_word=$2
   3781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3782 $as_echo_n "checking for $ac_word... " >&6; }
   3783 if ${ac_cv_prog_STRIP+:} false; then :
   3784   $as_echo_n "(cached) " >&6
   3785 else
   3786   if test -n "$STRIP"; then
   3787   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   3788 else
   3789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3790 for as_dir in $PATH
   3791 do
   3792   IFS=$as_save_IFS
   3793   test -z "$as_dir" && as_dir=.
   3794     for ac_exec_ext in '' $ac_executable_extensions; do
   3795   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3796     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   3797     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3798     break 2
   3799   fi
   3800 done
   3801   done
   3802 IFS=$as_save_IFS
   3803 
   3804 fi
   3805 fi
   3806 STRIP=$ac_cv_prog_STRIP
   3807 if test -n "$STRIP"; then
   3808   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   3809 $as_echo "$STRIP" >&6; }
   3810 else
   3811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3812 $as_echo "no" >&6; }
   3813 fi
   3814 
   3815 
   3816 fi
   3817 if test -z "$ac_cv_prog_STRIP"; then
   3818   ac_ct_STRIP=$STRIP
   3819   # Extract the first word of "strip", so it can be a program name with args.
   3820 set dummy strip; ac_word=$2
   3821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3822 $as_echo_n "checking for $ac_word... " >&6; }
   3823 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   3824   $as_echo_n "(cached) " >&6
   3825 else
   3826   if test -n "$ac_ct_STRIP"; then
   3827   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   3828 else
   3829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3830 for as_dir in $PATH
   3831 do
   3832   IFS=$as_save_IFS
   3833   test -z "$as_dir" && as_dir=.
   3834     for ac_exec_ext in '' $ac_executable_extensions; do
   3835   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3836     ac_cv_prog_ac_ct_STRIP="strip"
   3837     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3838     break 2
   3839   fi
   3840 done
   3841   done
   3842 IFS=$as_save_IFS
   3843 
   3844 fi
   3845 fi
   3846 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   3847 if test -n "$ac_ct_STRIP"; then
   3848   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   3849 $as_echo "$ac_ct_STRIP" >&6; }
   3850 else
   3851   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3852 $as_echo "no" >&6; }
   3853 fi
   3854 
   3855   if test "x$ac_ct_STRIP" = x; then
   3856     STRIP=":"
   3857   else
   3858     case $cross_compiling:$ac_tool_warned in
   3859 yes:)
   3860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3861 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3862 ac_tool_warned=yes ;;
   3863 esac
   3864     STRIP=$ac_ct_STRIP
   3865   fi
   3866 else
   3867   STRIP="$ac_cv_prog_STRIP"
   3868 fi
   3869 
   3870 fi
   3871 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3872 
   3873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   3874 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   3875 if test -z "$MKDIR_P"; then
   3876   if ${ac_cv_path_mkdir+:} false; then :
   3877   $as_echo_n "(cached) " >&6
   3878 else
   3879   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3880 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3881 do
   3882   IFS=$as_save_IFS
   3883   test -z "$as_dir" && as_dir=.
   3884     for ac_prog in mkdir gmkdir; do
   3885 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3886 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   3887 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3888 	     'mkdir (GNU coreutils) '* | \
   3889 	     'mkdir (coreutils) '* | \
   3890 	     'mkdir (fileutils) '4.1*)
   3891 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   3892 	       break 3;;
   3893 	   esac
   3894 	 done
   3895        done
   3896   done
   3897 IFS=$as_save_IFS
   3898 
   3899 fi
   3900 
   3901   test -d ./--version && rmdir ./--version
   3902   if test "${ac_cv_path_mkdir+set}" = set; then
   3903     MKDIR_P="$ac_cv_path_mkdir -p"
   3904   else
   3905     # As a last resort, use the slow shell script.  Don't cache a
   3906     # value for MKDIR_P within a source directory, because that will
   3907     # break other packages using the cache if that directory is
   3908     # removed, or if the value is a relative name.
   3909     MKDIR_P="$ac_install_sh -d"
   3910   fi
   3911 fi
   3912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3913 $as_echo "$MKDIR_P" >&6; }
   3914 
   3915 for ac_prog in gawk mawk nawk awk
   3916 do
   3917   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3918 set dummy $ac_prog; ac_word=$2
   3919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3920 $as_echo_n "checking for $ac_word... " >&6; }
   3921 if ${ac_cv_prog_AWK+:} false; then :
   3922   $as_echo_n "(cached) " >&6
   3923 else
   3924   if test -n "$AWK"; then
   3925   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3926 else
   3927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3928 for as_dir in $PATH
   3929 do
   3930   IFS=$as_save_IFS
   3931   test -z "$as_dir" && as_dir=.
   3932     for ac_exec_ext in '' $ac_executable_extensions; do
   3933   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3934     ac_cv_prog_AWK="$ac_prog"
   3935     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3936     break 2
   3937   fi
   3938 done
   3939   done
   3940 IFS=$as_save_IFS
   3941 
   3942 fi
   3943 fi
   3944 AWK=$ac_cv_prog_AWK
   3945 if test -n "$AWK"; then
   3946   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3947 $as_echo "$AWK" >&6; }
   3948 else
   3949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3950 $as_echo "no" >&6; }
   3951 fi
   3952 
   3953 
   3954   test -n "$AWK" && break
   3955 done
   3956 
   3957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3958 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3959 set x ${MAKE-make}
   3960 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3961 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   3962   $as_echo_n "(cached) " >&6
   3963 else
   3964   cat >conftest.make <<\_ACEOF
   3965 SHELL = /bin/sh
   3966 all:
   3967 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3968 _ACEOF
   3969 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3970 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3971   *@@@%%%=?*=@@@%%%*)
   3972     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3973   *)
   3974     eval ac_cv_prog_make_${ac_make}_set=no;;
   3975 esac
   3976 rm -f conftest.make
   3977 fi
   3978 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3979   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3980 $as_echo "yes" >&6; }
   3981   SET_MAKE=
   3982 else
   3983   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3984 $as_echo "no" >&6; }
   3985   SET_MAKE="MAKE=${MAKE-make}"
   3986 fi
   3987 
   3988 rm -rf .tst 2>/dev/null
   3989 mkdir .tst 2>/dev/null
   3990 if test -d .tst; then
   3991   am__leading_dot=.
   3992 else
   3993   am__leading_dot=_
   3994 fi
   3995 rmdir .tst 2>/dev/null
   3996 
   3997 DEPDIR="${am__leading_dot}deps"
   3998 
   3999 ac_config_commands="$ac_config_commands depfiles"
   4000 
   4001 
   4002 am_make=${MAKE-make}
   4003 cat > confinc << 'END'
   4004 am__doit:
   4005 	@echo this is the am__doit target
   4006 .PHONY: am__doit
   4007 END
   4008 # If we don't find an include directive, just comment out the code.
   4009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   4010 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   4011 am__include="#"
   4012 am__quote=
   4013 _am_result=none
   4014 # First try GNU make style include.
   4015 echo "include confinc" > confmf
   4016 # Ignore all kinds of additional output from 'make'.
   4017 case `$am_make -s -f confmf 2> /dev/null` in #(
   4018 *the\ am__doit\ target*)
   4019   am__include=include
   4020   am__quote=
   4021   _am_result=GNU
   4022   ;;
   4023 esac
   4024 # Now try BSD make style include.
   4025 if test "$am__include" = "#"; then
   4026    echo '.include "confinc"' > confmf
   4027    case `$am_make -s -f confmf 2> /dev/null` in #(
   4028    *the\ am__doit\ target*)
   4029      am__include=.include
   4030      am__quote="\""
   4031      _am_result=BSD
   4032      ;;
   4033    esac
   4034 fi
   4035 
   4036 
   4037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   4038 $as_echo "$_am_result" >&6; }
   4039 rm -f confinc confmf
   4040 
   4041 # Check whether --enable-dependency-tracking was given.
   4042 if test "${enable_dependency_tracking+set}" = set; then :
   4043   enableval=$enable_dependency_tracking;
   4044 fi
   4045 
   4046 if test "x$enable_dependency_tracking" != xno; then
   4047   am_depcomp="$ac_aux_dir/depcomp"
   4048   AMDEPBACKSLASH='\'
   4049   am__nodep='_no'
   4050 fi
   4051  if test "x$enable_dependency_tracking" != xno; then
   4052   AMDEP_TRUE=
   4053   AMDEP_FALSE='#'
   4054 else
   4055   AMDEP_TRUE='#'
   4056   AMDEP_FALSE=
   4057 fi
   4058 
   4059 
   4060 # Check whether --enable-silent-rules was given.
   4061 if test "${enable_silent_rules+set}" = set; then :
   4062   enableval=$enable_silent_rules;
   4063 fi
   4064 
   4065 case $enable_silent_rules in # (((
   4066   yes) AM_DEFAULT_VERBOSITY=0;;
   4067    no) AM_DEFAULT_VERBOSITY=1;;
   4068     *) AM_DEFAULT_VERBOSITY=1;;
   4069 esac
   4070 am_make=${MAKE-make}
   4071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   4072 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   4073 if ${am_cv_make_support_nested_variables+:} false; then :
   4074   $as_echo_n "(cached) " >&6
   4075 else
   4076   if $as_echo 'TRUE=$(BAR$(V))
   4077 BAR0=false
   4078 BAR1=true
   4079 V=1
   4080 am__doit:
   4081 	@$(TRUE)
   4082 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   4083   am_cv_make_support_nested_variables=yes
   4084 else
   4085   am_cv_make_support_nested_variables=no
   4086 fi
   4087 fi
   4088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   4089 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   4090 if test $am_cv_make_support_nested_variables = yes; then
   4091     AM_V='$(V)'
   4092   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   4093 else
   4094   AM_V=$AM_DEFAULT_VERBOSITY
   4095   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   4096 fi
   4097 AM_BACKSLASH='\'
   4098 
   4099 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   4100   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   4101   # is not polluted with repeated "-I."
   4102   am__isrc=' -I$(srcdir)'
   4103   # test to see if srcdir already configured
   4104   if test -f $srcdir/config.status; then
   4105     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   4106   fi
   4107 fi
   4108 
   4109 # test whether we have cygpath
   4110 if test -z "$CYGPATH_W"; then
   4111   if (cygpath --version) >/dev/null 2>/dev/null; then
   4112     CYGPATH_W='cygpath -w'
   4113   else
   4114     CYGPATH_W=echo
   4115   fi
   4116 fi
   4117 
   4118 
   4119 # Define the identity of the package.
   4120  PACKAGE='libXau'
   4121  VERSION='1.0.8'
   4122 
   4123 
   4124 cat >>confdefs.h <<_ACEOF
   4125 #define PACKAGE "$PACKAGE"
   4126 _ACEOF
   4127 
   4128 
   4129 cat >>confdefs.h <<_ACEOF
   4130 #define VERSION "$VERSION"
   4131 _ACEOF
   4132 
   4133 # Some tools Automake needs.
   4134 
   4135 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   4136 
   4137 
   4138 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   4139 
   4140 
   4141 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   4142 
   4143 
   4144 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   4145 
   4146 
   4147 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   4148 
   4149 # For better backward compatibility.  To be removed once Automake 1.9.x
   4150 # dies out for good.  For more background, see:
   4151 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   4152 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   4153 mkdir_p='$(MKDIR_P)'
   4154 
   4155 # We need awk for the "check" target.  The system "awk" is bad on
   4156 # some platforms.
   4157 # Always define AMTAR for backward compatibility.  Yes, it's still used
   4158 # in the wild :-(  We should find a proper way to deprecate it ...
   4159 AMTAR='$${TAR-tar}'
   4160 
   4161 
   4162 # We'll loop over all known methods to create a tar archive until one works.
   4163 _am_tools='gnutar  pax cpio none'
   4164 
   4165 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   4166 
   4167 
   4168 
   4169 
   4170 
   4171 depcc="$CC"   am_compiler_list=
   4172 
   4173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4174 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4175 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4176   $as_echo_n "(cached) " >&6
   4177 else
   4178   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4179   # We make a subdir and do the tests there.  Otherwise we can end up
   4180   # making bogus files that we don't know about and never remove.  For
   4181   # instance it was reported that on HP-UX the gcc test will end up
   4182   # making a dummy file named 'D' -- because '-MD' means "put the output
   4183   # in D".
   4184   rm -rf conftest.dir
   4185   mkdir conftest.dir
   4186   # Copy depcomp to subdir because otherwise we won't find it if we're
   4187   # using a relative directory.
   4188   cp "$am_depcomp" conftest.dir
   4189   cd conftest.dir
   4190   # We will build objects and dependencies in a subdirectory because
   4191   # it helps to detect inapplicable dependency modes.  For instance
   4192   # both Tru64's cc and ICC support -MD to output dependencies as a
   4193   # side effect of compilation, but ICC will put the dependencies in
   4194   # the current directory while Tru64 will put them in the object
   4195   # directory.
   4196   mkdir sub
   4197 
   4198   am_cv_CC_dependencies_compiler_type=none
   4199   if test "$am_compiler_list" = ""; then
   4200      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4201   fi
   4202   am__universal=false
   4203   case " $depcc " in #(
   4204      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4205      esac
   4206 
   4207   for depmode in $am_compiler_list; do
   4208     # Setup a source with many dependencies, because some compilers
   4209     # like to wrap large dependency lists on column 80 (with \), and
   4210     # we should not choose a depcomp mode which is confused by this.
   4211     #
   4212     # We need to recreate these files for each test, as the compiler may
   4213     # overwrite some of them when testing with obscure command lines.
   4214     # This happens at least with the AIX C compiler.
   4215     : > sub/conftest.c
   4216     for i in 1 2 3 4 5 6; do
   4217       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4218       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4219       # Solaris 10 /bin/sh.
   4220       echo '/* dummy */' > sub/conftst$i.h
   4221     done
   4222     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4223 
   4224     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4225     # mode.  It turns out that the SunPro C++ compiler does not properly
   4226     # handle '-M -o', and we need to detect this.  Also, some Intel
   4227     # versions had trouble with output in subdirs.
   4228     am__obj=sub/conftest.${OBJEXT-o}
   4229     am__minus_obj="-o $am__obj"
   4230     case $depmode in
   4231     gcc)
   4232       # This depmode causes a compiler race in universal mode.
   4233       test "$am__universal" = false || continue
   4234       ;;
   4235     nosideeffect)
   4236       # After this tag, mechanisms are not by side-effect, so they'll
   4237       # only be used when explicitly requested.
   4238       if test "x$enable_dependency_tracking" = xyes; then
   4239 	continue
   4240       else
   4241 	break
   4242       fi
   4243       ;;
   4244     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4245       # This compiler won't grok '-c -o', but also, the minuso test has
   4246       # not run yet.  These depmodes are late enough in the game, and
   4247       # so weak that their functioning should not be impacted.
   4248       am__obj=conftest.${OBJEXT-o}
   4249       am__minus_obj=
   4250       ;;
   4251     none) break ;;
   4252     esac
   4253     if depmode=$depmode \
   4254        source=sub/conftest.c object=$am__obj \
   4255        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4256        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4257          >/dev/null 2>conftest.err &&
   4258        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4259        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4260        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4261        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4262       # icc doesn't choke on unknown options, it will just issue warnings
   4263       # or remarks (even with -Werror).  So we grep stderr for any message
   4264       # that says an option was ignored or not supported.
   4265       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4266       #   icc: Command line warning: ignoring option '-M'; no argument required
   4267       # The diagnosis changed in icc 8.0:
   4268       #   icc: Command line remark: option '-MP' not supported
   4269       if (grep 'ignoring option' conftest.err ||
   4270           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4271         am_cv_CC_dependencies_compiler_type=$depmode
   4272         break
   4273       fi
   4274     fi
   4275   done
   4276 
   4277   cd ..
   4278   rm -rf conftest.dir
   4279 else
   4280   am_cv_CC_dependencies_compiler_type=none
   4281 fi
   4282 
   4283 fi
   4284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4285 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4286 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4287 
   4288  if
   4289   test "x$enable_dependency_tracking" != xno \
   4290   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4291   am__fastdepCC_TRUE=
   4292   am__fastdepCC_FALSE='#'
   4293 else
   4294   am__fastdepCC_TRUE='#'
   4295   am__fastdepCC_FALSE=
   4296 fi
   4297 
   4298 
   4299 
   4300 
   4301 # Initialize libtool
   4302 # Make sure we can run config.sub.
   4303 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4304   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4305 
   4306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4307 $as_echo_n "checking build system type... " >&6; }
   4308 if ${ac_cv_build+:} false; then :
   4309   $as_echo_n "(cached) " >&6
   4310 else
   4311   ac_build_alias=$build_alias
   4312 test "x$ac_build_alias" = x &&
   4313   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4314 test "x$ac_build_alias" = x &&
   4315   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4316 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4317   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4318 
   4319 fi
   4320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4321 $as_echo "$ac_cv_build" >&6; }
   4322 case $ac_cv_build in
   4323 *-*-*) ;;
   4324 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4325 esac
   4326 build=$ac_cv_build
   4327 ac_save_IFS=$IFS; IFS='-'
   4328 set x $ac_cv_build
   4329 shift
   4330 build_cpu=$1
   4331 build_vendor=$2
   4332 shift; shift
   4333 # Remember, the first character of IFS is used to create $*,
   4334 # except with old shells:
   4335 build_os=$*
   4336 IFS=$ac_save_IFS
   4337 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4338 
   4339 
   4340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4341 $as_echo_n "checking host system type... " >&6; }
   4342 if ${ac_cv_host+:} false; then :
   4343   $as_echo_n "(cached) " >&6
   4344 else
   4345   if test "x$host_alias" = x; then
   4346   ac_cv_host=$ac_cv_build
   4347 else
   4348   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4349     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4350 fi
   4351 
   4352 fi
   4353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4354 $as_echo "$ac_cv_host" >&6; }
   4355 case $ac_cv_host in
   4356 *-*-*) ;;
   4357 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4358 esac
   4359 host=$ac_cv_host
   4360 ac_save_IFS=$IFS; IFS='-'
   4361 set x $ac_cv_host
   4362 shift
   4363 host_cpu=$1
   4364 host_vendor=$2
   4365 shift; shift
   4366 # Remember, the first character of IFS is used to create $*,
   4367 # except with old shells:
   4368 host_os=$*
   4369 IFS=$ac_save_IFS
   4370 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4371 
   4372 
   4373 enable_win32_dll=yes
   4374 
   4375 case $host in
   4376 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
   4377   if test -n "$ac_tool_prefix"; then
   4378   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
   4379 set dummy ${ac_tool_prefix}as; ac_word=$2
   4380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4381 $as_echo_n "checking for $ac_word... " >&6; }
   4382 if ${ac_cv_prog_AS+:} false; then :
   4383   $as_echo_n "(cached) " >&6
   4384 else
   4385   if test -n "$AS"; then
   4386   ac_cv_prog_AS="$AS" # Let the user override the test.
   4387 else
   4388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4389 for as_dir in $PATH
   4390 do
   4391   IFS=$as_save_IFS
   4392   test -z "$as_dir" && as_dir=.
   4393     for ac_exec_ext in '' $ac_executable_extensions; do
   4394   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4395     ac_cv_prog_AS="${ac_tool_prefix}as"
   4396     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4397     break 2
   4398   fi
   4399 done
   4400   done
   4401 IFS=$as_save_IFS
   4402 
   4403 fi
   4404 fi
   4405 AS=$ac_cv_prog_AS
   4406 if test -n "$AS"; then
   4407   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
   4408 $as_echo "$AS" >&6; }
   4409 else
   4410   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4411 $as_echo "no" >&6; }
   4412 fi
   4413 
   4414 
   4415 fi
   4416 if test -z "$ac_cv_prog_AS"; then
   4417   ac_ct_AS=$AS
   4418   # Extract the first word of "as", so it can be a program name with args.
   4419 set dummy as; ac_word=$2
   4420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4421 $as_echo_n "checking for $ac_word... " >&6; }
   4422 if ${ac_cv_prog_ac_ct_AS+:} false; then :
   4423   $as_echo_n "(cached) " >&6
   4424 else
   4425   if test -n "$ac_ct_AS"; then
   4426   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
   4427 else
   4428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4429 for as_dir in $PATH
   4430 do
   4431   IFS=$as_save_IFS
   4432   test -z "$as_dir" && as_dir=.
   4433     for ac_exec_ext in '' $ac_executable_extensions; do
   4434   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4435     ac_cv_prog_ac_ct_AS="as"
   4436     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4437     break 2
   4438   fi
   4439 done
   4440   done
   4441 IFS=$as_save_IFS
   4442 
   4443 fi
   4444 fi
   4445 ac_ct_AS=$ac_cv_prog_ac_ct_AS
   4446 if test -n "$ac_ct_AS"; then
   4447   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
   4448 $as_echo "$ac_ct_AS" >&6; }
   4449 else
   4450   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4451 $as_echo "no" >&6; }
   4452 fi
   4453 
   4454   if test "x$ac_ct_AS" = x; then
   4455     AS="false"
   4456   else
   4457     case $cross_compiling:$ac_tool_warned in
   4458 yes:)
   4459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4460 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4461 ac_tool_warned=yes ;;
   4462 esac
   4463     AS=$ac_ct_AS
   4464   fi
   4465 else
   4466   AS="$ac_cv_prog_AS"
   4467 fi
   4468 
   4469   if test -n "$ac_tool_prefix"; then
   4470   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   4471 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   4472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4473 $as_echo_n "checking for $ac_word... " >&6; }
   4474 if ${ac_cv_prog_DLLTOOL+:} false; then :
   4475   $as_echo_n "(cached) " >&6
   4476 else
   4477   if test -n "$DLLTOOL"; then
   4478   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   4479 else
   4480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4481 for as_dir in $PATH
   4482 do
   4483   IFS=$as_save_IFS
   4484   test -z "$as_dir" && as_dir=.
   4485     for ac_exec_ext in '' $ac_executable_extensions; do
   4486   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4487     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   4488     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4489     break 2
   4490   fi
   4491 done
   4492   done
   4493 IFS=$as_save_IFS
   4494 
   4495 fi
   4496 fi
   4497 DLLTOOL=$ac_cv_prog_DLLTOOL
   4498 if test -n "$DLLTOOL"; then
   4499   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   4500 $as_echo "$DLLTOOL" >&6; }
   4501 else
   4502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4503 $as_echo "no" >&6; }
   4504 fi
   4505 
   4506 
   4507 fi
   4508 if test -z "$ac_cv_prog_DLLTOOL"; then
   4509   ac_ct_DLLTOOL=$DLLTOOL
   4510   # Extract the first word of "dlltool", so it can be a program name with args.
   4511 set dummy dlltool; ac_word=$2
   4512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4513 $as_echo_n "checking for $ac_word... " >&6; }
   4514 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   4515   $as_echo_n "(cached) " >&6
   4516 else
   4517   if test -n "$ac_ct_DLLTOOL"; then
   4518   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   4519 else
   4520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4521 for as_dir in $PATH
   4522 do
   4523   IFS=$as_save_IFS
   4524   test -z "$as_dir" && as_dir=.
   4525     for ac_exec_ext in '' $ac_executable_extensions; do
   4526   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4527     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   4528     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4529     break 2
   4530   fi
   4531 done
   4532   done
   4533 IFS=$as_save_IFS
   4534 
   4535 fi
   4536 fi
   4537 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   4538 if test -n "$ac_ct_DLLTOOL"; then
   4539   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   4540 $as_echo "$ac_ct_DLLTOOL" >&6; }
   4541 else
   4542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4543 $as_echo "no" >&6; }
   4544 fi
   4545 
   4546   if test "x$ac_ct_DLLTOOL" = x; then
   4547     DLLTOOL="false"
   4548   else
   4549     case $cross_compiling:$ac_tool_warned in
   4550 yes:)
   4551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4552 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4553 ac_tool_warned=yes ;;
   4554 esac
   4555     DLLTOOL=$ac_ct_DLLTOOL
   4556   fi
   4557 else
   4558   DLLTOOL="$ac_cv_prog_DLLTOOL"
   4559 fi
   4560 
   4561   if test -n "$ac_tool_prefix"; then
   4562   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   4563 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   4564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4565 $as_echo_n "checking for $ac_word... " >&6; }
   4566 if ${ac_cv_prog_OBJDUMP+:} false; then :
   4567   $as_echo_n "(cached) " >&6
   4568 else
   4569   if test -n "$OBJDUMP"; then
   4570   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   4571 else
   4572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4573 for as_dir in $PATH
   4574 do
   4575   IFS=$as_save_IFS
   4576   test -z "$as_dir" && as_dir=.
   4577     for ac_exec_ext in '' $ac_executable_extensions; do
   4578   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4579     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   4580     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4581     break 2
   4582   fi
   4583 done
   4584   done
   4585 IFS=$as_save_IFS
   4586 
   4587 fi
   4588 fi
   4589 OBJDUMP=$ac_cv_prog_OBJDUMP
   4590 if test -n "$OBJDUMP"; then
   4591   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   4592 $as_echo "$OBJDUMP" >&6; }
   4593 else
   4594   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4595 $as_echo "no" >&6; }
   4596 fi
   4597 
   4598 
   4599 fi
   4600 if test -z "$ac_cv_prog_OBJDUMP"; then
   4601   ac_ct_OBJDUMP=$OBJDUMP
   4602   # Extract the first word of "objdump", so it can be a program name with args.
   4603 set dummy objdump; ac_word=$2
   4604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4605 $as_echo_n "checking for $ac_word... " >&6; }
   4606 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   4607   $as_echo_n "(cached) " >&6
   4608 else
   4609   if test -n "$ac_ct_OBJDUMP"; then
   4610   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   4611 else
   4612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4613 for as_dir in $PATH
   4614 do
   4615   IFS=$as_save_IFS
   4616   test -z "$as_dir" && as_dir=.
   4617     for ac_exec_ext in '' $ac_executable_extensions; do
   4618   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4619     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   4620     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4621     break 2
   4622   fi
   4623 done
   4624   done
   4625 IFS=$as_save_IFS
   4626 
   4627 fi
   4628 fi
   4629 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   4630 if test -n "$ac_ct_OBJDUMP"; then
   4631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   4632 $as_echo "$ac_ct_OBJDUMP" >&6; }
   4633 else
   4634   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4635 $as_echo "no" >&6; }
   4636 fi
   4637 
   4638   if test "x$ac_ct_OBJDUMP" = x; then
   4639     OBJDUMP="false"
   4640   else
   4641     case $cross_compiling:$ac_tool_warned in
   4642 yes:)
   4643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4644 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4645 ac_tool_warned=yes ;;
   4646 esac
   4647     OBJDUMP=$ac_ct_OBJDUMP
   4648   fi
   4649 else
   4650   OBJDUMP="$ac_cv_prog_OBJDUMP"
   4651 fi
   4652 
   4653   ;;
   4654 esac
   4655 
   4656 test -z "$AS" && AS=as
   4657 
   4658 
   4659 
   4660 
   4661 
   4662 test -z "$DLLTOOL" && DLLTOOL=dlltool
   4663 
   4664 
   4665 
   4666 
   4667 
   4668 test -z "$OBJDUMP" && OBJDUMP=objdump
   4669 
   4670 
   4671 
   4672 
   4673 
   4674 
   4675 
   4676 case `pwd` in
   4677   *\ * | *\	*)
   4678     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   4679 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   4680 esac
   4681 
   4682 
   4683 
   4684 macro_version='2.4.2'
   4685 macro_revision='1.3337'
   4686 
   4687 
   4688 
   4689 
   4690 
   4691 
   4692 
   4693 
   4694 
   4695 
   4696 
   4697 
   4698 
   4699 ltmain="$ac_aux_dir/ltmain.sh"
   4700 
   4701 # Backslashify metacharacters that are still active within
   4702 # double-quoted strings.
   4703 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   4704 
   4705 # Same as above, but do not quote variable references.
   4706 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   4707 
   4708 # Sed substitution to delay expansion of an escaped shell variable in a
   4709 # double_quote_subst'ed string.
   4710 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   4711 
   4712 # Sed substitution to delay expansion of an escaped single quote.
   4713 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   4714 
   4715 # Sed substitution to avoid accidental globbing in evaled expressions
   4716 no_glob_subst='s/\*/\\\*/g'
   4717 
   4718 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   4719 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   4720 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   4721 
   4722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   4723 $as_echo_n "checking how to print strings... " >&6; }
   4724 # Test print first, because it will be a builtin if present.
   4725 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   4726    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   4727   ECHO='print -r --'
   4728 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   4729   ECHO='printf %s\n'
   4730 else
   4731   # Use this function as a fallback that always works.
   4732   func_fallback_echo ()
   4733   {
   4734     eval 'cat <<_LTECHO_EOF
   4735 $1
   4736 _LTECHO_EOF'
   4737   }
   4738   ECHO='func_fallback_echo'
   4739 fi
   4740 
   4741 # func_echo_all arg...
   4742 # Invoke $ECHO with all args, space-separated.
   4743 func_echo_all ()
   4744 {
   4745     $ECHO ""
   4746 }
   4747 
   4748 case "$ECHO" in
   4749   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   4750 $as_echo "printf" >&6; } ;;
   4751   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   4752 $as_echo "print -r" >&6; } ;;
   4753   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   4754 $as_echo "cat" >&6; } ;;
   4755 esac
   4756 
   4757 
   4758 
   4759 
   4760 
   4761 
   4762 
   4763 
   4764 
   4765 
   4766 
   4767 
   4768 
   4769 
   4770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4771 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4772 if ${ac_cv_path_SED+:} false; then :
   4773   $as_echo_n "(cached) " >&6
   4774 else
   4775             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4776      for ac_i in 1 2 3 4 5 6 7; do
   4777        ac_script="$ac_script$as_nl$ac_script"
   4778      done
   4779      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4780      { ac_script=; unset ac_script;}
   4781      if test -z "$SED"; then
   4782   ac_path_SED_found=false
   4783   # Loop through the user's path and test for each of PROGNAME-LIST
   4784   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4785 for as_dir in $PATH
   4786 do
   4787   IFS=$as_save_IFS
   4788   test -z "$as_dir" && as_dir=.
   4789     for ac_prog in sed gsed; do
   4790     for ac_exec_ext in '' $ac_executable_extensions; do
   4791       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4792       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   4793 # Check for GNU ac_path_SED and select it if it is found.
   4794   # Check for GNU $ac_path_SED
   4795 case `"$ac_path_SED" --version 2>&1` in
   4796 *GNU*)
   4797   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4798 *)
   4799   ac_count=0
   4800   $as_echo_n 0123456789 >"conftest.in"
   4801   while :
   4802   do
   4803     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4804     mv "conftest.tmp" "conftest.in"
   4805     cp "conftest.in" "conftest.nl"
   4806     $as_echo '' >> "conftest.nl"
   4807     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4808     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4809     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4810     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4811       # Best one so far, save it but keep looking for a better one
   4812       ac_cv_path_SED="$ac_path_SED"
   4813       ac_path_SED_max=$ac_count
   4814     fi
   4815     # 10*(2^10) chars as input seems more than enough
   4816     test $ac_count -gt 10 && break
   4817   done
   4818   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4819 esac
   4820 
   4821       $ac_path_SED_found && break 3
   4822     done
   4823   done
   4824   done
   4825 IFS=$as_save_IFS
   4826   if test -z "$ac_cv_path_SED"; then
   4827     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4828   fi
   4829 else
   4830   ac_cv_path_SED=$SED
   4831 fi
   4832 
   4833 fi
   4834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4835 $as_echo "$ac_cv_path_SED" >&6; }
   4836  SED="$ac_cv_path_SED"
   4837   rm -f conftest.sed
   4838 
   4839 test -z "$SED" && SED=sed
   4840 Xsed="$SED -e 1s/^X//"
   4841 
   4842 
   4843 
   4844 
   4845 
   4846 
   4847 
   4848 
   4849 
   4850 
   4851 
   4852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4853 $as_echo_n "checking for fgrep... " >&6; }
   4854 if ${ac_cv_path_FGREP+:} false; then :
   4855   $as_echo_n "(cached) " >&6
   4856 else
   4857   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4858    then ac_cv_path_FGREP="$GREP -F"
   4859    else
   4860      if test -z "$FGREP"; then
   4861   ac_path_FGREP_found=false
   4862   # Loop through the user's path and test for each of PROGNAME-LIST
   4863   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4864 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4865 do
   4866   IFS=$as_save_IFS
   4867   test -z "$as_dir" && as_dir=.
   4868     for ac_prog in fgrep; do
   4869     for ac_exec_ext in '' $ac_executable_extensions; do
   4870       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4871       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   4872 # Check for GNU ac_path_FGREP and select it if it is found.
   4873   # Check for GNU $ac_path_FGREP
   4874 case `"$ac_path_FGREP" --version 2>&1` in
   4875 *GNU*)
   4876   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4877 *)
   4878   ac_count=0
   4879   $as_echo_n 0123456789 >"conftest.in"
   4880   while :
   4881   do
   4882     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4883     mv "conftest.tmp" "conftest.in"
   4884     cp "conftest.in" "conftest.nl"
   4885     $as_echo 'FGREP' >> "conftest.nl"
   4886     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4887     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4888     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4889     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4890       # Best one so far, save it but keep looking for a better one
   4891       ac_cv_path_FGREP="$ac_path_FGREP"
   4892       ac_path_FGREP_max=$ac_count
   4893     fi
   4894     # 10*(2^10) chars as input seems more than enough
   4895     test $ac_count -gt 10 && break
   4896   done
   4897   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4898 esac
   4899 
   4900       $ac_path_FGREP_found && break 3
   4901     done
   4902   done
   4903   done
   4904 IFS=$as_save_IFS
   4905   if test -z "$ac_cv_path_FGREP"; then
   4906     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4907   fi
   4908 else
   4909   ac_cv_path_FGREP=$FGREP
   4910 fi
   4911 
   4912    fi
   4913 fi
   4914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4915 $as_echo "$ac_cv_path_FGREP" >&6; }
   4916  FGREP="$ac_cv_path_FGREP"
   4917 
   4918 
   4919 test -z "$GREP" && GREP=grep
   4920 
   4921 
   4922 
   4923 
   4924 
   4925 
   4926 
   4927 
   4928 
   4929 
   4930 
   4931 
   4932 
   4933 
   4934 
   4935 
   4936 
   4937 
   4938 
   4939 # Check whether --with-gnu-ld was given.
   4940 if test "${with_gnu_ld+set}" = set; then :
   4941   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4942 else
   4943   with_gnu_ld=no
   4944 fi
   4945 
   4946 ac_prog=ld
   4947 if test "$GCC" = yes; then
   4948   # Check if gcc -print-prog-name=ld gives a path.
   4949   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   4950 $as_echo_n "checking for ld used by $CC... " >&6; }
   4951   case $host in
   4952   *-*-mingw*)
   4953     # gcc leaves a trailing carriage return which upsets mingw
   4954     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4955   *)
   4956     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4957   esac
   4958   case $ac_prog in
   4959     # Accept absolute paths.
   4960     [\\/]* | ?:[\\/]*)
   4961       re_direlt='/[^/][^/]*/\.\./'
   4962       # Canonicalize the pathname of ld
   4963       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4964       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4965 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4966       done
   4967       test -z "$LD" && LD="$ac_prog"
   4968       ;;
   4969   "")
   4970     # If it fails, then pretend we aren't using GCC.
   4971     ac_prog=ld
   4972     ;;
   4973   *)
   4974     # If it is relative, then search for the first ld in PATH.
   4975     with_gnu_ld=unknown
   4976     ;;
   4977   esac
   4978 elif test "$with_gnu_ld" = yes; then
   4979   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   4980 $as_echo_n "checking for GNU ld... " >&6; }
   4981 else
   4982   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   4983 $as_echo_n "checking for non-GNU ld... " >&6; }
   4984 fi
   4985 if ${lt_cv_path_LD+:} false; then :
   4986   $as_echo_n "(cached) " >&6
   4987 else
   4988   if test -z "$LD"; then
   4989   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4990   for ac_dir in $PATH; do
   4991     IFS="$lt_save_ifs"
   4992     test -z "$ac_dir" && ac_dir=.
   4993     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4994       lt_cv_path_LD="$ac_dir/$ac_prog"
   4995       # Check to see if the program is GNU ld.  I'd rather use --version,
   4996       # but apparently some variants of GNU ld only accept -v.
   4997       # Break only if it was the GNU/non-GNU ld that we prefer.
   4998       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4999       *GNU* | *'with BFD'*)
   5000 	test "$with_gnu_ld" != no && break
   5001 	;;
   5002       *)
   5003 	test "$with_gnu_ld" != yes && break
   5004 	;;
   5005       esac
   5006     fi
   5007   done
   5008   IFS="$lt_save_ifs"
   5009 else
   5010   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   5011 fi
   5012 fi
   5013 
   5014 LD="$lt_cv_path_LD"
   5015 if test -n "$LD"; then
   5016   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5017 $as_echo "$LD" >&6; }
   5018 else
   5019   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5020 $as_echo "no" >&6; }
   5021 fi
   5022 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5024 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   5025 if ${lt_cv_prog_gnu_ld+:} false; then :
   5026   $as_echo_n "(cached) " >&6
   5027 else
   5028   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5029 case `$LD -v 2>&1 </dev/null` in
   5030 *GNU* | *'with BFD'*)
   5031   lt_cv_prog_gnu_ld=yes
   5032   ;;
   5033 *)
   5034   lt_cv_prog_gnu_ld=no
   5035   ;;
   5036 esac
   5037 fi
   5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5039 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   5040 with_gnu_ld=$lt_cv_prog_gnu_ld
   5041 
   5042 
   5043 
   5044 
   5045 
   5046 
   5047 
   5048 
   5049 
   5050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5051 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5052 if ${lt_cv_path_NM+:} false; then :
   5053   $as_echo_n "(cached) " >&6
   5054 else
   5055   if test -n "$NM"; then
   5056   # Let the user override the test.
   5057   lt_cv_path_NM="$NM"
   5058 else
   5059   lt_nm_to_check="${ac_tool_prefix}nm"
   5060   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5061     lt_nm_to_check="$lt_nm_to_check nm"
   5062   fi
   5063   for lt_tmp_nm in $lt_nm_to_check; do
   5064     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5065     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5066       IFS="$lt_save_ifs"
   5067       test -z "$ac_dir" && ac_dir=.
   5068       tmp_nm="$ac_dir/$lt_tmp_nm"
   5069       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   5070 	# Check to see if the nm accepts a BSD-compat flag.
   5071 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   5072 	#   nm: unknown option "B" ignored
   5073 	# Tru64's nm complains that /dev/null is an invalid object file
   5074 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   5075 	*/dev/null* | *'Invalid file or object type'*)
   5076 	  lt_cv_path_NM="$tmp_nm -B"
   5077 	  break
   5078 	  ;;
   5079 	*)
   5080 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   5081 	  */dev/null*)
   5082 	    lt_cv_path_NM="$tmp_nm -p"
   5083 	    break
   5084 	    ;;
   5085 	  *)
   5086 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5087 	    continue # so that we can try to find one that supports BSD flags
   5088 	    ;;
   5089 	  esac
   5090 	  ;;
   5091 	esac
   5092       fi
   5093     done
   5094     IFS="$lt_save_ifs"
   5095   done
   5096   : ${lt_cv_path_NM=no}
   5097 fi
   5098 fi
   5099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5100 $as_echo "$lt_cv_path_NM" >&6; }
   5101 if test "$lt_cv_path_NM" != "no"; then
   5102   NM="$lt_cv_path_NM"
   5103 else
   5104   # Didn't find any BSD compatible name lister, look for dumpbin.
   5105   if test -n "$DUMPBIN"; then :
   5106     # Let the user override the test.
   5107   else
   5108     if test -n "$ac_tool_prefix"; then
   5109   for ac_prog in dumpbin "link -dump"
   5110   do
   5111     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5112 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5114 $as_echo_n "checking for $ac_word... " >&6; }
   5115 if ${ac_cv_prog_DUMPBIN+:} false; then :
   5116   $as_echo_n "(cached) " >&6
   5117 else
   5118   if test -n "$DUMPBIN"; then
   5119   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5120 else
   5121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5122 for as_dir in $PATH
   5123 do
   5124   IFS=$as_save_IFS
   5125   test -z "$as_dir" && as_dir=.
   5126     for ac_exec_ext in '' $ac_executable_extensions; do
   5127   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5128     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5129     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5130     break 2
   5131   fi
   5132 done
   5133   done
   5134 IFS=$as_save_IFS
   5135 
   5136 fi
   5137 fi
   5138 DUMPBIN=$ac_cv_prog_DUMPBIN
   5139 if test -n "$DUMPBIN"; then
   5140   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5141 $as_echo "$DUMPBIN" >&6; }
   5142 else
   5143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5144 $as_echo "no" >&6; }
   5145 fi
   5146 
   5147 
   5148     test -n "$DUMPBIN" && break
   5149   done
   5150 fi
   5151 if test -z "$DUMPBIN"; then
   5152   ac_ct_DUMPBIN=$DUMPBIN
   5153   for ac_prog in dumpbin "link -dump"
   5154 do
   5155   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5156 set dummy $ac_prog; ac_word=$2
   5157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5158 $as_echo_n "checking for $ac_word... " >&6; }
   5159 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   5160   $as_echo_n "(cached) " >&6
   5161 else
   5162   if test -n "$ac_ct_DUMPBIN"; then
   5163   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5164 else
   5165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5166 for as_dir in $PATH
   5167 do
   5168   IFS=$as_save_IFS
   5169   test -z "$as_dir" && as_dir=.
   5170     for ac_exec_ext in '' $ac_executable_extensions; do
   5171   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5172     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5173     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5174     break 2
   5175   fi
   5176 done
   5177   done
   5178 IFS=$as_save_IFS
   5179 
   5180 fi
   5181 fi
   5182 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5183 if test -n "$ac_ct_DUMPBIN"; then
   5184   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5185 $as_echo "$ac_ct_DUMPBIN" >&6; }
   5186 else
   5187   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5188 $as_echo "no" >&6; }
   5189 fi
   5190 
   5191 
   5192   test -n "$ac_ct_DUMPBIN" && break
   5193 done
   5194 
   5195   if test "x$ac_ct_DUMPBIN" = x; then
   5196     DUMPBIN=":"
   5197   else
   5198     case $cross_compiling:$ac_tool_warned in
   5199 yes:)
   5200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5201 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5202 ac_tool_warned=yes ;;
   5203 esac
   5204     DUMPBIN=$ac_ct_DUMPBIN
   5205   fi
   5206 fi
   5207 
   5208     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   5209     *COFF*)
   5210       DUMPBIN="$DUMPBIN -symbols"
   5211       ;;
   5212     *)
   5213       DUMPBIN=:
   5214       ;;
   5215     esac
   5216   fi
   5217 
   5218   if test "$DUMPBIN" != ":"; then
   5219     NM="$DUMPBIN"
   5220   fi
   5221 fi
   5222 test -z "$NM" && NM=nm
   5223 
   5224 
   5225 
   5226 
   5227 
   5228 
   5229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5230 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   5231 if ${lt_cv_nm_interface+:} false; then :
   5232   $as_echo_n "(cached) " >&6
   5233 else
   5234   lt_cv_nm_interface="BSD nm"
   5235   echo "int some_variable = 0;" > conftest.$ac_ext
   5236   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5237   (eval "$ac_compile" 2>conftest.err)
   5238   cat conftest.err >&5
   5239   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5240   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5241   cat conftest.err >&5
   5242   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5243   cat conftest.out >&5
   5244   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5245     lt_cv_nm_interface="MS dumpbin"
   5246   fi
   5247   rm -f conftest*
   5248 fi
   5249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5250 $as_echo "$lt_cv_nm_interface" >&6; }
   5251 
   5252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5253 $as_echo_n "checking whether ln -s works... " >&6; }
   5254 LN_S=$as_ln_s
   5255 if test "$LN_S" = "ln -s"; then
   5256   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5257 $as_echo "yes" >&6; }
   5258 else
   5259   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5260 $as_echo "no, using $LN_S" >&6; }
   5261 fi
   5262 
   5263 # find the maximum length of command line arguments
   5264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5265 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   5266 if ${lt_cv_sys_max_cmd_len+:} false; then :
   5267   $as_echo_n "(cached) " >&6
   5268 else
   5269     i=0
   5270   teststring="ABCD"
   5271 
   5272   case $build_os in
   5273   msdosdjgpp*)
   5274     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5275     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5276     # during glob expansion).  Even if it were fixed, the result of this
   5277     # check would be larger than it should be.
   5278     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5279     ;;
   5280 
   5281   gnu*)
   5282     # Under GNU Hurd, this test is not required because there is
   5283     # no limit to the length of command line arguments.
   5284     # Libtool will interpret -1 as no limit whatsoever
   5285     lt_cv_sys_max_cmd_len=-1;
   5286     ;;
   5287 
   5288   cygwin* | mingw* | cegcc*)
   5289     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5290     # about 5 minutes as the teststring grows exponentially.
   5291     # Worse, since 9x/ME are not pre-emptively multitasking,
   5292     # you end up with a "frozen" computer, even though with patience
   5293     # the test eventually succeeds (with a max line length of 256k).
   5294     # Instead, let's just punt: use the minimum linelength reported by
   5295     # all of the supported platforms: 8192 (on NT/2K/XP).
   5296     lt_cv_sys_max_cmd_len=8192;
   5297     ;;
   5298 
   5299   mint*)
   5300     # On MiNT this can take a long time and run out of memory.
   5301     lt_cv_sys_max_cmd_len=8192;
   5302     ;;
   5303 
   5304   amigaos*)
   5305     # On AmigaOS with pdksh, this test takes hours, literally.
   5306     # So we just punt and use a minimum line length of 8192.
   5307     lt_cv_sys_max_cmd_len=8192;
   5308     ;;
   5309 
   5310   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   5311     # This has been around since 386BSD, at least.  Likely further.
   5312     if test -x /sbin/sysctl; then
   5313       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5314     elif test -x /usr/sbin/sysctl; then
   5315       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5316     else
   5317       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5318     fi
   5319     # And add a safety zone
   5320     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5321     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5322     ;;
   5323 
   5324   interix*)
   5325     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5326     lt_cv_sys_max_cmd_len=196608
   5327     ;;
   5328 
   5329   os2*)
   5330     # The test takes a long time on OS/2.
   5331     lt_cv_sys_max_cmd_len=8192
   5332     ;;
   5333 
   5334   osf*)
   5335     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5336     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5337     # nice to cause kernel panics so lets avoid the loop below.
   5338     # First set a reasonable default.
   5339     lt_cv_sys_max_cmd_len=16384
   5340     #
   5341     if test -x /sbin/sysconfig; then
   5342       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5343         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5344       esac
   5345     fi
   5346     ;;
   5347   sco3.2v5*)
   5348     lt_cv_sys_max_cmd_len=102400
   5349     ;;
   5350   sysv5* | sco5v6* | sysv4.2uw2*)
   5351     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5352     if test -n "$kargmax"; then
   5353       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   5354     else
   5355       lt_cv_sys_max_cmd_len=32768
   5356     fi
   5357     ;;
   5358   *)
   5359     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5360     if test -n "$lt_cv_sys_max_cmd_len"; then
   5361       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5362       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5363     else
   5364       # Make teststring a little bigger before we do anything with it.
   5365       # a 1K string should be a reasonable start.
   5366       for i in 1 2 3 4 5 6 7 8 ; do
   5367         teststring=$teststring$teststring
   5368       done
   5369       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5370       # If test is not a shell built-in, we'll probably end up computing a
   5371       # maximum length that is only half of the actual maximum length, but
   5372       # we can't tell.
   5373       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
   5374 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   5375 	      test $i != 17 # 1/2 MB should be enough
   5376       do
   5377         i=`expr $i + 1`
   5378         teststring=$teststring$teststring
   5379       done
   5380       # Only check the string length outside the loop.
   5381       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5382       teststring=
   5383       # Add a significant safety factor because C++ compilers can tack on
   5384       # massive amounts of additional arguments before passing them to the
   5385       # linker.  It appears as though 1/2 is a usable value.
   5386       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5387     fi
   5388     ;;
   5389   esac
   5390 
   5391 fi
   5392 
   5393 if test -n $lt_cv_sys_max_cmd_len ; then
   5394   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5395 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   5396 else
   5397   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5398 $as_echo "none" >&6; }
   5399 fi
   5400 max_cmd_len=$lt_cv_sys_max_cmd_len
   5401 
   5402 
   5403 
   5404 
   5405 
   5406 
   5407 : ${CP="cp -f"}
   5408 : ${MV="mv -f"}
   5409 : ${RM="rm -f"}
   5410 
   5411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   5412 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   5413 # Try some XSI features
   5414 xsi_shell=no
   5415 ( _lt_dummy="a/b/c"
   5416   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
   5417       = c,a/b,b/c, \
   5418     && eval 'test $(( 1 + 1 )) -eq 2 \
   5419     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   5420   && xsi_shell=yes
   5421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   5422 $as_echo "$xsi_shell" >&6; }
   5423 
   5424 
   5425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   5426 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   5427 lt_shell_append=no
   5428 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   5429     >/dev/null 2>&1 \
   5430   && lt_shell_append=yes
   5431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   5432 $as_echo "$lt_shell_append" >&6; }
   5433 
   5434 
   5435 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5436   lt_unset=unset
   5437 else
   5438   lt_unset=false
   5439 fi
   5440 
   5441 
   5442 
   5443 
   5444 
   5445 # test EBCDIC or ASCII
   5446 case `echo X|tr X '\101'` in
   5447  A) # ASCII based system
   5448     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5449   lt_SP2NL='tr \040 \012'
   5450   lt_NL2SP='tr \015\012 \040\040'
   5451   ;;
   5452  *) # EBCDIC based system
   5453   lt_SP2NL='tr \100 \n'
   5454   lt_NL2SP='tr \r\n \100\100'
   5455   ;;
   5456 esac
   5457 
   5458 
   5459 
   5460 
   5461 
   5462 
   5463 
   5464 
   5465 
   5466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   5467 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   5468 if ${lt_cv_to_host_file_cmd+:} false; then :
   5469   $as_echo_n "(cached) " >&6
   5470 else
   5471   case $host in
   5472   *-*-mingw* )
   5473     case $build in
   5474       *-*-mingw* ) # actually msys
   5475         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   5476         ;;
   5477       *-*-cygwin* )
   5478         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   5479         ;;
   5480       * ) # otherwise, assume *nix
   5481         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   5482         ;;
   5483     esac
   5484     ;;
   5485   *-*-cygwin* )
   5486     case $build in
   5487       *-*-mingw* ) # actually msys
   5488         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   5489         ;;
   5490       *-*-cygwin* )
   5491         lt_cv_to_host_file_cmd=func_convert_file_noop
   5492         ;;
   5493       * ) # otherwise, assume *nix
   5494         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   5495         ;;
   5496     esac
   5497     ;;
   5498   * ) # unhandled hosts (and "normal" native builds)
   5499     lt_cv_to_host_file_cmd=func_convert_file_noop
   5500     ;;
   5501 esac
   5502 
   5503 fi
   5504 
   5505 to_host_file_cmd=$lt_cv_to_host_file_cmd
   5506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   5507 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   5508 
   5509 
   5510 
   5511 
   5512 
   5513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   5514 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   5515 if ${lt_cv_to_tool_file_cmd+:} false; then :
   5516   $as_echo_n "(cached) " >&6
   5517 else
   5518   #assume ordinary cross tools, or native build.
   5519 lt_cv_to_tool_file_cmd=func_convert_file_noop
   5520 case $host in
   5521   *-*-mingw* )
   5522     case $build in
   5523       *-*-mingw* ) # actually msys
   5524         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   5525         ;;
   5526     esac
   5527     ;;
   5528 esac
   5529 
   5530 fi
   5531 
   5532 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   5533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   5534 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   5535 
   5536 
   5537 
   5538 
   5539 
   5540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5541 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   5542 if ${lt_cv_ld_reload_flag+:} false; then :
   5543   $as_echo_n "(cached) " >&6
   5544 else
   5545   lt_cv_ld_reload_flag='-r'
   5546 fi
   5547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5548 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   5549 reload_flag=$lt_cv_ld_reload_flag
   5550 case $reload_flag in
   5551 "" | " "*) ;;
   5552 *) reload_flag=" $reload_flag" ;;
   5553 esac
   5554 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5555 case $host_os in
   5556   cygwin* | mingw* | pw32* | cegcc*)
   5557     if test "$GCC" != yes; then
   5558       reload_cmds=false
   5559     fi
   5560     ;;
   5561   darwin*)
   5562     if test "$GCC" = yes; then
   5563       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   5564     else
   5565       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5566     fi
   5567     ;;
   5568 esac
   5569 
   5570 
   5571 
   5572 
   5573 
   5574 
   5575 
   5576 
   5577 
   5578 if test -n "$ac_tool_prefix"; then
   5579   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5580 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5582 $as_echo_n "checking for $ac_word... " >&6; }
   5583 if ${ac_cv_prog_OBJDUMP+:} false; then :
   5584   $as_echo_n "(cached) " >&6
   5585 else
   5586   if test -n "$OBJDUMP"; then
   5587   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5588 else
   5589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5590 for as_dir in $PATH
   5591 do
   5592   IFS=$as_save_IFS
   5593   test -z "$as_dir" && as_dir=.
   5594     for ac_exec_ext in '' $ac_executable_extensions; do
   5595   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5596     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5597     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5598     break 2
   5599   fi
   5600 done
   5601   done
   5602 IFS=$as_save_IFS
   5603 
   5604 fi
   5605 fi
   5606 OBJDUMP=$ac_cv_prog_OBJDUMP
   5607 if test -n "$OBJDUMP"; then
   5608   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5609 $as_echo "$OBJDUMP" >&6; }
   5610 else
   5611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5612 $as_echo "no" >&6; }
   5613 fi
   5614 
   5615 
   5616 fi
   5617 if test -z "$ac_cv_prog_OBJDUMP"; then
   5618   ac_ct_OBJDUMP=$OBJDUMP
   5619   # Extract the first word of "objdump", so it can be a program name with args.
   5620 set dummy objdump; ac_word=$2
   5621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5622 $as_echo_n "checking for $ac_word... " >&6; }
   5623 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   5624   $as_echo_n "(cached) " >&6
   5625 else
   5626   if test -n "$ac_ct_OBJDUMP"; then
   5627   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5628 else
   5629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5630 for as_dir in $PATH
   5631 do
   5632   IFS=$as_save_IFS
   5633   test -z "$as_dir" && as_dir=.
   5634     for ac_exec_ext in '' $ac_executable_extensions; do
   5635   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5636     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5637     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5638     break 2
   5639   fi
   5640 done
   5641   done
   5642 IFS=$as_save_IFS
   5643 
   5644 fi
   5645 fi
   5646 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5647 if test -n "$ac_ct_OBJDUMP"; then
   5648   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5649 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5650 else
   5651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5652 $as_echo "no" >&6; }
   5653 fi
   5654 
   5655   if test "x$ac_ct_OBJDUMP" = x; then
   5656     OBJDUMP="false"
   5657   else
   5658     case $cross_compiling:$ac_tool_warned in
   5659 yes:)
   5660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5661 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5662 ac_tool_warned=yes ;;
   5663 esac
   5664     OBJDUMP=$ac_ct_OBJDUMP
   5665   fi
   5666 else
   5667   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5668 fi
   5669 
   5670 test -z "$OBJDUMP" && OBJDUMP=objdump
   5671 
   5672 
   5673 
   5674 
   5675 
   5676 
   5677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5678 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5679 if ${lt_cv_deplibs_check_method+:} false; then :
   5680   $as_echo_n "(cached) " >&6
   5681 else
   5682   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5683 lt_cv_file_magic_test_file=
   5684 lt_cv_deplibs_check_method='unknown'
   5685 # Need to set the preceding variable on all platforms that support
   5686 # interlibrary dependencies.
   5687 # 'none' -- dependencies not supported.
   5688 # `unknown' -- same as none, but documents that we really don't know.
   5689 # 'pass_all' -- all dependencies passed with no checks.
   5690 # 'test_compile' -- check by making test program.
   5691 # 'file_magic [[regex]]' -- check by looking for files in library path
   5692 # which responds to the $file_magic_cmd with a given extended regex.
   5693 # If you have `file' or equivalent on your system and you're not sure
   5694 # whether `pass_all' will *always* work, you probably want this one.
   5695 
   5696 case $host_os in
   5697 aix[4-9]*)
   5698   lt_cv_deplibs_check_method=pass_all
   5699   ;;
   5700 
   5701 beos*)
   5702   lt_cv_deplibs_check_method=pass_all
   5703   ;;
   5704 
   5705 bsdi[45]*)
   5706   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5707   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5708   lt_cv_file_magic_test_file=/shlib/libc.so
   5709   ;;
   5710 
   5711 cygwin*)
   5712   # func_win32_libid is a shell function defined in ltmain.sh
   5713   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5714   lt_cv_file_magic_cmd='func_win32_libid'
   5715   ;;
   5716 
   5717 mingw* | pw32*)
   5718   # Base MSYS/MinGW do not provide the 'file' command needed by
   5719   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5720   # unless we find 'file', for example because we are cross-compiling.
   5721   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   5722   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   5723     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5724     lt_cv_file_magic_cmd='func_win32_libid'
   5725   else
   5726     # Keep this pattern in sync with the one in func_win32_libid.
   5727     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   5728     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5729   fi
   5730   ;;
   5731 
   5732 cegcc*)
   5733   # use the weaker test based on 'objdump'. See mingw*.
   5734   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5735   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5736   ;;
   5737 
   5738 darwin* | rhapsody*)
   5739   lt_cv_deplibs_check_method=pass_all
   5740   ;;
   5741 
   5742 freebsd* | dragonfly*)
   5743   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5744     case $host_cpu in
   5745     i*86 )
   5746       # Not sure whether the presence of OpenBSD here was a mistake.
   5747       # Let's accept both of them until this is cleared up.
   5748       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5749       lt_cv_file_magic_cmd=/usr/bin/file
   5750       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5751       ;;
   5752     esac
   5753   else
   5754     lt_cv_deplibs_check_method=pass_all
   5755   fi
   5756   ;;
   5757 
   5758 gnu*)
   5759   lt_cv_deplibs_check_method=pass_all
   5760   ;;
   5761 
   5762 haiku*)
   5763   lt_cv_deplibs_check_method=pass_all
   5764   ;;
   5765 
   5766 hpux10.20* | hpux11*)
   5767   lt_cv_file_magic_cmd=/usr/bin/file
   5768   case $host_cpu in
   5769   ia64*)
   5770     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5771     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5772     ;;
   5773   hppa*64*)
   5774     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]'
   5775     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5776     ;;
   5777   *)
   5778     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5779     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5780     ;;
   5781   esac
   5782   ;;
   5783 
   5784 interix[3-9]*)
   5785   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5786   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5787   ;;
   5788 
   5789 irix5* | irix6* | nonstopux*)
   5790   case $LD in
   5791   *-32|*"-32 ") libmagic=32-bit;;
   5792   *-n32|*"-n32 ") libmagic=N32;;
   5793   *-64|*"-64 ") libmagic=64-bit;;
   5794   *) libmagic=never-match;;
   5795   esac
   5796   lt_cv_deplibs_check_method=pass_all
   5797   ;;
   5798 
   5799 # This must be glibc/ELF.
   5800 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   5801   lt_cv_deplibs_check_method=pass_all
   5802   ;;
   5803 
   5804 netbsd*)
   5805   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5806     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5807   else
   5808     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5809   fi
   5810   ;;
   5811 
   5812 newos6*)
   5813   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5814   lt_cv_file_magic_cmd=/usr/bin/file
   5815   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5816   ;;
   5817 
   5818 *nto* | *qnx*)
   5819   lt_cv_deplibs_check_method=pass_all
   5820   ;;
   5821 
   5822 openbsd*)
   5823   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   5824     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5825   else
   5826     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5827   fi
   5828   ;;
   5829 
   5830 osf3* | osf4* | osf5*)
   5831   lt_cv_deplibs_check_method=pass_all
   5832   ;;
   5833 
   5834 rdos*)
   5835   lt_cv_deplibs_check_method=pass_all
   5836   ;;
   5837 
   5838 solaris*)
   5839   lt_cv_deplibs_check_method=pass_all
   5840   ;;
   5841 
   5842 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5843   lt_cv_deplibs_check_method=pass_all
   5844   ;;
   5845 
   5846 sysv4 | sysv4.3*)
   5847   case $host_vendor in
   5848   motorola)
   5849     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]'
   5850     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5851     ;;
   5852   ncr)
   5853     lt_cv_deplibs_check_method=pass_all
   5854     ;;
   5855   sequent)
   5856     lt_cv_file_magic_cmd='/bin/file'
   5857     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5858     ;;
   5859   sni)
   5860     lt_cv_file_magic_cmd='/bin/file'
   5861     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5862     lt_cv_file_magic_test_file=/lib/libc.so
   5863     ;;
   5864   siemens)
   5865     lt_cv_deplibs_check_method=pass_all
   5866     ;;
   5867   pc)
   5868     lt_cv_deplibs_check_method=pass_all
   5869     ;;
   5870   esac
   5871   ;;
   5872 
   5873 tpf*)
   5874   lt_cv_deplibs_check_method=pass_all
   5875   ;;
   5876 esac
   5877 
   5878 fi
   5879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5880 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5881 
   5882 file_magic_glob=
   5883 want_nocaseglob=no
   5884 if test "$build" = "$host"; then
   5885   case $host_os in
   5886   mingw* | pw32*)
   5887     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   5888       want_nocaseglob=yes
   5889     else
   5890       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   5891     fi
   5892     ;;
   5893   esac
   5894 fi
   5895 
   5896 file_magic_cmd=$lt_cv_file_magic_cmd
   5897 deplibs_check_method=$lt_cv_deplibs_check_method
   5898 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5899 
   5900 
   5901 
   5902 
   5903 
   5904 
   5905 
   5906 
   5907 
   5908 
   5909 
   5910 
   5911 
   5912 
   5913 
   5914 
   5915 
   5916 
   5917 
   5918 
   5919 
   5920 
   5921 if test -n "$ac_tool_prefix"; then
   5922   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   5923 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   5924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5925 $as_echo_n "checking for $ac_word... " >&6; }
   5926 if ${ac_cv_prog_DLLTOOL+:} false; then :
   5927   $as_echo_n "(cached) " >&6
   5928 else
   5929   if test -n "$DLLTOOL"; then
   5930   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   5931 else
   5932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5933 for as_dir in $PATH
   5934 do
   5935   IFS=$as_save_IFS
   5936   test -z "$as_dir" && as_dir=.
   5937     for ac_exec_ext in '' $ac_executable_extensions; do
   5938   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5939     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   5940     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5941     break 2
   5942   fi
   5943 done
   5944   done
   5945 IFS=$as_save_IFS
   5946 
   5947 fi
   5948 fi
   5949 DLLTOOL=$ac_cv_prog_DLLTOOL
   5950 if test -n "$DLLTOOL"; then
   5951   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   5952 $as_echo "$DLLTOOL" >&6; }
   5953 else
   5954   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5955 $as_echo "no" >&6; }
   5956 fi
   5957 
   5958 
   5959 fi
   5960 if test -z "$ac_cv_prog_DLLTOOL"; then
   5961   ac_ct_DLLTOOL=$DLLTOOL
   5962   # Extract the first word of "dlltool", so it can be a program name with args.
   5963 set dummy dlltool; ac_word=$2
   5964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5965 $as_echo_n "checking for $ac_word... " >&6; }
   5966 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   5967   $as_echo_n "(cached) " >&6
   5968 else
   5969   if test -n "$ac_ct_DLLTOOL"; then
   5970   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   5971 else
   5972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5973 for as_dir in $PATH
   5974 do
   5975   IFS=$as_save_IFS
   5976   test -z "$as_dir" && as_dir=.
   5977     for ac_exec_ext in '' $ac_executable_extensions; do
   5978   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5979     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   5980     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5981     break 2
   5982   fi
   5983 done
   5984   done
   5985 IFS=$as_save_IFS
   5986 
   5987 fi
   5988 fi
   5989 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   5990 if test -n "$ac_ct_DLLTOOL"; then
   5991   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   5992 $as_echo "$ac_ct_DLLTOOL" >&6; }
   5993 else
   5994   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5995 $as_echo "no" >&6; }
   5996 fi
   5997 
   5998   if test "x$ac_ct_DLLTOOL" = x; then
   5999     DLLTOOL="false"
   6000   else
   6001     case $cross_compiling:$ac_tool_warned in
   6002 yes:)
   6003 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6004 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6005 ac_tool_warned=yes ;;
   6006 esac
   6007     DLLTOOL=$ac_ct_DLLTOOL
   6008   fi
   6009 else
   6010   DLLTOOL="$ac_cv_prog_DLLTOOL"
   6011 fi
   6012 
   6013 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6014 
   6015 
   6016 
   6017 
   6018 
   6019 
   6020 
   6021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   6022 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   6023 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   6024   $as_echo_n "(cached) " >&6
   6025 else
   6026   lt_cv_sharedlib_from_linklib_cmd='unknown'
   6027 
   6028 case $host_os in
   6029 cygwin* | mingw* | pw32* | cegcc*)
   6030   # two different shell functions defined in ltmain.sh
   6031   # decide which to use based on capabilities of $DLLTOOL
   6032   case `$DLLTOOL --help 2>&1` in
   6033   *--identify-strict*)
   6034     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   6035     ;;
   6036   *)
   6037     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   6038     ;;
   6039   esac
   6040   ;;
   6041 *)
   6042   # fallback: assume linklib IS sharedlib
   6043   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
   6044   ;;
   6045 esac
   6046 
   6047 fi
   6048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   6049 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   6050 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   6051 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   6052 
   6053 
   6054 
   6055 
   6056 
   6057 
   6058 
   6059 if test -n "$ac_tool_prefix"; then
   6060   for ac_prog in ar
   6061   do
   6062     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6063 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6065 $as_echo_n "checking for $ac_word... " >&6; }
   6066 if ${ac_cv_prog_AR+:} false; then :
   6067   $as_echo_n "(cached) " >&6
   6068 else
   6069   if test -n "$AR"; then
   6070   ac_cv_prog_AR="$AR" # Let the user override the test.
   6071 else
   6072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6073 for as_dir in $PATH
   6074 do
   6075   IFS=$as_save_IFS
   6076   test -z "$as_dir" && as_dir=.
   6077     for ac_exec_ext in '' $ac_executable_extensions; do
   6078   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6079     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   6080     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6081     break 2
   6082   fi
   6083 done
   6084   done
   6085 IFS=$as_save_IFS
   6086 
   6087 fi
   6088 fi
   6089 AR=$ac_cv_prog_AR
   6090 if test -n "$AR"; then
   6091   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6092 $as_echo "$AR" >&6; }
   6093 else
   6094   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6095 $as_echo "no" >&6; }
   6096 fi
   6097 
   6098 
   6099     test -n "$AR" && break
   6100   done
   6101 fi
   6102 if test -z "$AR"; then
   6103   ac_ct_AR=$AR
   6104   for ac_prog in ar
   6105 do
   6106   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6107 set dummy $ac_prog; ac_word=$2
   6108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6109 $as_echo_n "checking for $ac_word... " >&6; }
   6110 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   6111   $as_echo_n "(cached) " >&6
   6112 else
   6113   if test -n "$ac_ct_AR"; then
   6114   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6115 else
   6116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6117 for as_dir in $PATH
   6118 do
   6119   IFS=$as_save_IFS
   6120   test -z "$as_dir" && as_dir=.
   6121     for ac_exec_ext in '' $ac_executable_extensions; do
   6122   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6123     ac_cv_prog_ac_ct_AR="$ac_prog"
   6124     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6125     break 2
   6126   fi
   6127 done
   6128   done
   6129 IFS=$as_save_IFS
   6130 
   6131 fi
   6132 fi
   6133 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6134 if test -n "$ac_ct_AR"; then
   6135   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6136 $as_echo "$ac_ct_AR" >&6; }
   6137 else
   6138   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6139 $as_echo "no" >&6; }
   6140 fi
   6141 
   6142 
   6143   test -n "$ac_ct_AR" && break
   6144 done
   6145 
   6146   if test "x$ac_ct_AR" = x; then
   6147     AR="false"
   6148   else
   6149     case $cross_compiling:$ac_tool_warned in
   6150 yes:)
   6151 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6152 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6153 ac_tool_warned=yes ;;
   6154 esac
   6155     AR=$ac_ct_AR
   6156   fi
   6157 fi
   6158 
   6159 : ${AR=ar}
   6160 : ${AR_FLAGS=cru}
   6161 
   6162 
   6163 
   6164 
   6165 
   6166 
   6167 
   6168 
   6169 
   6170 
   6171 
   6172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   6173 $as_echo_n "checking for archiver @FILE support... " >&6; }
   6174 if ${lt_cv_ar_at_file+:} false; then :
   6175   $as_echo_n "(cached) " >&6
   6176 else
   6177   lt_cv_ar_at_file=no
   6178    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6179 /* end confdefs.h.  */
   6180 
   6181 int
   6182 main ()
   6183 {
   6184 
   6185   ;
   6186   return 0;
   6187 }
   6188 _ACEOF
   6189 if ac_fn_c_try_compile "$LINENO"; then :
   6190   echo conftest.$ac_objext > conftest.lst
   6191       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   6192       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6193   (eval $lt_ar_try) 2>&5
   6194   ac_status=$?
   6195   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6196   test $ac_status = 0; }
   6197       if test "$ac_status" -eq 0; then
   6198 	# Ensure the archiver fails upon bogus file names.
   6199 	rm -f conftest.$ac_objext libconftest.a
   6200 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6201   (eval $lt_ar_try) 2>&5
   6202   ac_status=$?
   6203   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6204   test $ac_status = 0; }
   6205 	if test "$ac_status" -ne 0; then
   6206           lt_cv_ar_at_file=@
   6207         fi
   6208       fi
   6209       rm -f conftest.* libconftest.a
   6210 
   6211 fi
   6212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6213 
   6214 fi
   6215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   6216 $as_echo "$lt_cv_ar_at_file" >&6; }
   6217 
   6218 if test "x$lt_cv_ar_at_file" = xno; then
   6219   archiver_list_spec=
   6220 else
   6221   archiver_list_spec=$lt_cv_ar_at_file
   6222 fi
   6223 
   6224 
   6225 
   6226 
   6227 
   6228 
   6229 
   6230 if test -n "$ac_tool_prefix"; then
   6231   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6232 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6234 $as_echo_n "checking for $ac_word... " >&6; }
   6235 if ${ac_cv_prog_STRIP+:} false; then :
   6236   $as_echo_n "(cached) " >&6
   6237 else
   6238   if test -n "$STRIP"; then
   6239   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6240 else
   6241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6242 for as_dir in $PATH
   6243 do
   6244   IFS=$as_save_IFS
   6245   test -z "$as_dir" && as_dir=.
   6246     for ac_exec_ext in '' $ac_executable_extensions; do
   6247   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6248     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6249     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6250     break 2
   6251   fi
   6252 done
   6253   done
   6254 IFS=$as_save_IFS
   6255 
   6256 fi
   6257 fi
   6258 STRIP=$ac_cv_prog_STRIP
   6259 if test -n "$STRIP"; then
   6260   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6261 $as_echo "$STRIP" >&6; }
   6262 else
   6263   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6264 $as_echo "no" >&6; }
   6265 fi
   6266 
   6267 
   6268 fi
   6269 if test -z "$ac_cv_prog_STRIP"; then
   6270   ac_ct_STRIP=$STRIP
   6271   # Extract the first word of "strip", so it can be a program name with args.
   6272 set dummy strip; ac_word=$2
   6273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6274 $as_echo_n "checking for $ac_word... " >&6; }
   6275 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   6276   $as_echo_n "(cached) " >&6
   6277 else
   6278   if test -n "$ac_ct_STRIP"; then
   6279   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6280 else
   6281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6282 for as_dir in $PATH
   6283 do
   6284   IFS=$as_save_IFS
   6285   test -z "$as_dir" && as_dir=.
   6286     for ac_exec_ext in '' $ac_executable_extensions; do
   6287   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6288     ac_cv_prog_ac_ct_STRIP="strip"
   6289     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6290     break 2
   6291   fi
   6292 done
   6293   done
   6294 IFS=$as_save_IFS
   6295 
   6296 fi
   6297 fi
   6298 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6299 if test -n "$ac_ct_STRIP"; then
   6300   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6301 $as_echo "$ac_ct_STRIP" >&6; }
   6302 else
   6303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6304 $as_echo "no" >&6; }
   6305 fi
   6306 
   6307   if test "x$ac_ct_STRIP" = x; then
   6308     STRIP=":"
   6309   else
   6310     case $cross_compiling:$ac_tool_warned in
   6311 yes:)
   6312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6313 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6314 ac_tool_warned=yes ;;
   6315 esac
   6316     STRIP=$ac_ct_STRIP
   6317   fi
   6318 else
   6319   STRIP="$ac_cv_prog_STRIP"
   6320 fi
   6321 
   6322 test -z "$STRIP" && STRIP=:
   6323 
   6324 
   6325 
   6326 
   6327 
   6328 
   6329 if test -n "$ac_tool_prefix"; then
   6330   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6331 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6333 $as_echo_n "checking for $ac_word... " >&6; }
   6334 if ${ac_cv_prog_RANLIB+:} false; then :
   6335   $as_echo_n "(cached) " >&6
   6336 else
   6337   if test -n "$RANLIB"; then
   6338   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6339 else
   6340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6341 for as_dir in $PATH
   6342 do
   6343   IFS=$as_save_IFS
   6344   test -z "$as_dir" && as_dir=.
   6345     for ac_exec_ext in '' $ac_executable_extensions; do
   6346   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6347     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6348     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6349     break 2
   6350   fi
   6351 done
   6352   done
   6353 IFS=$as_save_IFS
   6354 
   6355 fi
   6356 fi
   6357 RANLIB=$ac_cv_prog_RANLIB
   6358 if test -n "$RANLIB"; then
   6359   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6360 $as_echo "$RANLIB" >&6; }
   6361 else
   6362   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6363 $as_echo "no" >&6; }
   6364 fi
   6365 
   6366 
   6367 fi
   6368 if test -z "$ac_cv_prog_RANLIB"; then
   6369   ac_ct_RANLIB=$RANLIB
   6370   # Extract the first word of "ranlib", so it can be a program name with args.
   6371 set dummy ranlib; ac_word=$2
   6372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6373 $as_echo_n "checking for $ac_word... " >&6; }
   6374 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   6375   $as_echo_n "(cached) " >&6
   6376 else
   6377   if test -n "$ac_ct_RANLIB"; then
   6378   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6379 else
   6380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6381 for as_dir in $PATH
   6382 do
   6383   IFS=$as_save_IFS
   6384   test -z "$as_dir" && as_dir=.
   6385     for ac_exec_ext in '' $ac_executable_extensions; do
   6386   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6387     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6388     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6389     break 2
   6390   fi
   6391 done
   6392   done
   6393 IFS=$as_save_IFS
   6394 
   6395 fi
   6396 fi
   6397 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6398 if test -n "$ac_ct_RANLIB"; then
   6399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6400 $as_echo "$ac_ct_RANLIB" >&6; }
   6401 else
   6402   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6403 $as_echo "no" >&6; }
   6404 fi
   6405 
   6406   if test "x$ac_ct_RANLIB" = x; then
   6407     RANLIB=":"
   6408   else
   6409     case $cross_compiling:$ac_tool_warned in
   6410 yes:)
   6411 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6412 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6413 ac_tool_warned=yes ;;
   6414 esac
   6415     RANLIB=$ac_ct_RANLIB
   6416   fi
   6417 else
   6418   RANLIB="$ac_cv_prog_RANLIB"
   6419 fi
   6420 
   6421 test -z "$RANLIB" && RANLIB=:
   6422 
   6423 
   6424 
   6425 
   6426 
   6427 
   6428 # Determine commands to create old-style static archives.
   6429 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6430 old_postinstall_cmds='chmod 644 $oldlib'
   6431 old_postuninstall_cmds=
   6432 
   6433 if test -n "$RANLIB"; then
   6434   case $host_os in
   6435   openbsd*)
   6436     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   6437     ;;
   6438   *)
   6439     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   6440     ;;
   6441   esac
   6442   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   6443 fi
   6444 
   6445 case $host_os in
   6446   darwin*)
   6447     lock_old_archive_extraction=yes ;;
   6448   *)
   6449     lock_old_archive_extraction=no ;;
   6450 esac
   6451 
   6452 
   6453 
   6454 
   6455 
   6456 
   6457 
   6458 
   6459 
   6460 
   6461 
   6462 
   6463 
   6464 
   6465 
   6466 
   6467 
   6468 
   6469 
   6470 
   6471 
   6472 
   6473 
   6474 
   6475 
   6476 
   6477 
   6478 
   6479 
   6480 
   6481 
   6482 
   6483 
   6484 
   6485 
   6486 
   6487 
   6488 
   6489 
   6490 # If no C compiler was specified, use CC.
   6491 LTCC=${LTCC-"$CC"}
   6492 
   6493 # If no C compiler flags were specified, use CFLAGS.
   6494 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6495 
   6496 # Allow CC to be a program name with arguments.
   6497 compiler=$CC
   6498 
   6499 
   6500 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   6502 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6503 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   6504   $as_echo_n "(cached) " >&6
   6505 else
   6506 
   6507 # These are sane defaults that work on at least a few old systems.
   6508 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6509 
   6510 # Character class describing NM global symbol codes.
   6511 symcode='[BCDEGRST]'
   6512 
   6513 # Regexp to match symbols that can be accessed directly from C.
   6514 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6515 
   6516 # Define system-specific variables.
   6517 case $host_os in
   6518 aix*)
   6519   symcode='[BCDT]'
   6520   ;;
   6521 cygwin* | mingw* | pw32* | cegcc*)
   6522   symcode='[ABCDGISTW]'
   6523   ;;
   6524 hpux*)
   6525   if test "$host_cpu" = ia64; then
   6526     symcode='[ABCDEGRST]'
   6527   fi
   6528   ;;
   6529 irix* | nonstopux*)
   6530   symcode='[BCDEGRST]'
   6531   ;;
   6532 osf*)
   6533   symcode='[BCDEGQRST]'
   6534   ;;
   6535 solaris*)
   6536   symcode='[BDRT]'
   6537   ;;
   6538 sco3.2v5*)
   6539   symcode='[DT]'
   6540   ;;
   6541 sysv4.2uw2*)
   6542   symcode='[DT]'
   6543   ;;
   6544 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6545   symcode='[ABDT]'
   6546   ;;
   6547 sysv4)
   6548   symcode='[DFNSTU]'
   6549   ;;
   6550 esac
   6551 
   6552 # If we're using GNU nm, then use its standard symbol codes.
   6553 case `$NM -V 2>&1` in
   6554 *GNU* | *'with BFD'*)
   6555   symcode='[ABCDGIRSTW]' ;;
   6556 esac
   6557 
   6558 # Transform an extracted symbol line into a proper C declaration.
   6559 # Some systems (esp. on ia64) link data and code symbols differently,
   6560 # so use this general approach.
   6561 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6562 
   6563 # Transform an extracted symbol line into symbol name and symbol address
   6564 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   6565 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'"
   6566 
   6567 # Handle CRLF in mingw tool chain
   6568 opt_cr=
   6569 case $build_os in
   6570 mingw*)
   6571   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6572   ;;
   6573 esac
   6574 
   6575 # Try without a prefix underscore, then with it.
   6576 for ac_symprfx in "" "_"; do
   6577 
   6578   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6579   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6580 
   6581   # Write the raw and C identifiers.
   6582   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6583     # Fake it for dumpbin and say T for any non-static function
   6584     # and D for any global variable.
   6585     # Also find C++ and __fastcall symbols from MSVC++,
   6586     # which start with @ or ?.
   6587     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6588 "     {last_section=section; section=\$ 3};"\
   6589 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   6590 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6591 "     \$ 0!~/External *\|/{next};"\
   6592 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6593 "     {if(hide[section]) next};"\
   6594 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   6595 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   6596 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   6597 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   6598 "     ' prfx=^$ac_symprfx"
   6599   else
   6600     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6601   fi
   6602   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   6603 
   6604   # Check to see that the pipe works correctly.
   6605   pipe_works=no
   6606 
   6607   rm -f conftest*
   6608   cat > conftest.$ac_ext <<_LT_EOF
   6609 #ifdef __cplusplus
   6610 extern "C" {
   6611 #endif
   6612 char nm_test_var;
   6613 void nm_test_func(void);
   6614 void nm_test_func(void){}
   6615 #ifdef __cplusplus
   6616 }
   6617 #endif
   6618 int main(){nm_test_var='a';nm_test_func();return(0);}
   6619 _LT_EOF
   6620 
   6621   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6622   (eval $ac_compile) 2>&5
   6623   ac_status=$?
   6624   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6625   test $ac_status = 0; }; then
   6626     # Now try to grab the symbols.
   6627     nlist=conftest.nm
   6628     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   6629   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   6630   ac_status=$?
   6631   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6632   test $ac_status = 0; } && test -s "$nlist"; then
   6633       # Try sorting and uniquifying the output.
   6634       if sort "$nlist" | uniq > "$nlist"T; then
   6635 	mv -f "$nlist"T "$nlist"
   6636       else
   6637 	rm -f "$nlist"T
   6638       fi
   6639 
   6640       # Make sure that we snagged all the symbols we need.
   6641       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6642 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6643 	  cat <<_LT_EOF > conftest.$ac_ext
   6644 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   6645 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
   6646 /* DATA imports from DLLs on WIN32 con't be const, because runtime
   6647    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   6648 # define LT_DLSYM_CONST
   6649 #elif defined(__osf__)
   6650 /* This system does not cope well with relocations in const data.  */
   6651 # define LT_DLSYM_CONST
   6652 #else
   6653 # define LT_DLSYM_CONST const
   6654 #endif
   6655 
   6656 #ifdef __cplusplus
   6657 extern "C" {
   6658 #endif
   6659 
   6660 _LT_EOF
   6661 	  # Now generate the symbol file.
   6662 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6663 
   6664 	  cat <<_LT_EOF >> conftest.$ac_ext
   6665 
   6666 /* The mapping between symbol names and symbols.  */
   6667 LT_DLSYM_CONST struct {
   6668   const char *name;
   6669   void       *address;
   6670 }
   6671 lt__PROGRAM__LTX_preloaded_symbols[] =
   6672 {
   6673   { "@PROGRAM@", (void *) 0 },
   6674 _LT_EOF
   6675 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6676 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6677   {0, (void *) 0}
   6678 };
   6679 
   6680 /* This works around a problem in FreeBSD linker */
   6681 #ifdef FREEBSD_WORKAROUND
   6682 static const void *lt_preloaded_setup() {
   6683   return lt__PROGRAM__LTX_preloaded_symbols;
   6684 }
   6685 #endif
   6686 
   6687 #ifdef __cplusplus
   6688 }
   6689 #endif
   6690 _LT_EOF
   6691 	  # Now try linking the two files.
   6692 	  mv conftest.$ac_objext conftstm.$ac_objext
   6693 	  lt_globsym_save_LIBS=$LIBS
   6694 	  lt_globsym_save_CFLAGS=$CFLAGS
   6695 	  LIBS="conftstm.$ac_objext"
   6696 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6697 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6698   (eval $ac_link) 2>&5
   6699   ac_status=$?
   6700   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6701   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   6702 	    pipe_works=yes
   6703 	  fi
   6704 	  LIBS=$lt_globsym_save_LIBS
   6705 	  CFLAGS=$lt_globsym_save_CFLAGS
   6706 	else
   6707 	  echo "cannot find nm_test_func in $nlist" >&5
   6708 	fi
   6709       else
   6710 	echo "cannot find nm_test_var in $nlist" >&5
   6711       fi
   6712     else
   6713       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6714     fi
   6715   else
   6716     echo "$progname: failed program was:" >&5
   6717     cat conftest.$ac_ext >&5
   6718   fi
   6719   rm -rf conftest* conftst*
   6720 
   6721   # Do not use the global_symbol_pipe unless it works.
   6722   if test "$pipe_works" = yes; then
   6723     break
   6724   else
   6725     lt_cv_sys_global_symbol_pipe=
   6726   fi
   6727 done
   6728 
   6729 fi
   6730 
   6731 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6732   lt_cv_sys_global_symbol_to_cdecl=
   6733 fi
   6734 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6735   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6736 $as_echo "failed" >&6; }
   6737 else
   6738   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6739 $as_echo "ok" >&6; }
   6740 fi
   6741 
   6742 # Response file support.
   6743 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6744   nm_file_list_spec='@'
   6745 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   6746   nm_file_list_spec='@'
   6747 fi
   6748 
   6749 
   6750 
   6751 
   6752 
   6753 
   6754 
   6755 
   6756 
   6757 
   6758 
   6759 
   6760 
   6761 
   6762 
   6763 
   6764 
   6765 
   6766 
   6767 
   6768 
   6769 
   6770 
   6771 
   6772 
   6773 
   6774 
   6775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   6776 $as_echo_n "checking for sysroot... " >&6; }
   6777 
   6778 # Check whether --with-sysroot was given.
   6779 if test "${with_sysroot+set}" = set; then :
   6780   withval=$with_sysroot;
   6781 else
   6782   with_sysroot=no
   6783 fi
   6784 
   6785 
   6786 lt_sysroot=
   6787 case ${with_sysroot} in #(
   6788  yes)
   6789    if test "$GCC" = yes; then
   6790      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   6791    fi
   6792    ;; #(
   6793  /*)
   6794    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   6795    ;; #(
   6796  no|'')
   6797    ;; #(
   6798  *)
   6799    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
   6800 $as_echo "${with_sysroot}" >&6; }
   6801    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   6802    ;;
   6803 esac
   6804 
   6805  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   6806 $as_echo "${lt_sysroot:-no}" >&6; }
   6807 
   6808 
   6809 
   6810 
   6811 
   6812 # Check whether --enable-libtool-lock was given.
   6813 if test "${enable_libtool_lock+set}" = set; then :
   6814   enableval=$enable_libtool_lock;
   6815 fi
   6816 
   6817 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6818 
   6819 # Some flags need to be propagated to the compiler or linker for good
   6820 # libtool support.
   6821 case $host in
   6822 ia64-*-hpux*)
   6823   # Find out which ABI we are using.
   6824   echo 'int i;' > conftest.$ac_ext
   6825   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6826   (eval $ac_compile) 2>&5
   6827   ac_status=$?
   6828   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6829   test $ac_status = 0; }; then
   6830     case `/usr/bin/file conftest.$ac_objext` in
   6831       *ELF-32*)
   6832 	HPUX_IA64_MODE="32"
   6833 	;;
   6834       *ELF-64*)
   6835 	HPUX_IA64_MODE="64"
   6836 	;;
   6837     esac
   6838   fi
   6839   rm -rf conftest*
   6840   ;;
   6841 *-*-irix6*)
   6842   # Find out which ABI we are using.
   6843   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6844   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6845   (eval $ac_compile) 2>&5
   6846   ac_status=$?
   6847   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6848   test $ac_status = 0; }; then
   6849     if test "$lt_cv_prog_gnu_ld" = yes; then
   6850       case `/usr/bin/file conftest.$ac_objext` in
   6851 	*32-bit*)
   6852 	  LD="${LD-ld} -melf32bsmip"
   6853 	  ;;
   6854 	*N32*)
   6855 	  LD="${LD-ld} -melf32bmipn32"
   6856 	  ;;
   6857 	*64-bit*)
   6858 	  LD="${LD-ld} -melf64bmip"
   6859 	;;
   6860       esac
   6861     else
   6862       case `/usr/bin/file conftest.$ac_objext` in
   6863 	*32-bit*)
   6864 	  LD="${LD-ld} -32"
   6865 	  ;;
   6866 	*N32*)
   6867 	  LD="${LD-ld} -n32"
   6868 	  ;;
   6869 	*64-bit*)
   6870 	  LD="${LD-ld} -64"
   6871 	  ;;
   6872       esac
   6873     fi
   6874   fi
   6875   rm -rf conftest*
   6876   ;;
   6877 
   6878 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   6879 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6880   # Find out which ABI we are using.
   6881   echo 'int i;' > conftest.$ac_ext
   6882   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6883   (eval $ac_compile) 2>&5
   6884   ac_status=$?
   6885   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6886   test $ac_status = 0; }; then
   6887     case `/usr/bin/file conftest.o` in
   6888       *32-bit*)
   6889 	case $host in
   6890 	  x86_64-*kfreebsd*-gnu)
   6891 	    LD="${LD-ld} -m elf_i386_fbsd"
   6892 	    ;;
   6893 	  x86_64-*linux*)
   6894 	    LD="${LD-ld} -m elf_i386"
   6895 	    ;;
   6896 	  ppc64-*linux*|powerpc64-*linux*)
   6897 	    LD="${LD-ld} -m elf32ppclinux"
   6898 	    ;;
   6899 	  s390x-*linux*)
   6900 	    LD="${LD-ld} -m elf_s390"
   6901 	    ;;
   6902 	  sparc64-*linux*)
   6903 	    LD="${LD-ld} -m elf32_sparc"
   6904 	    ;;
   6905 	esac
   6906 	;;
   6907       *64-bit*)
   6908 	case $host in
   6909 	  x86_64-*kfreebsd*-gnu)
   6910 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6911 	    ;;
   6912 	  x86_64-*linux*)
   6913 	    LD="${LD-ld} -m elf_x86_64"
   6914 	    ;;
   6915 	  ppc*-*linux*|powerpc*-*linux*)
   6916 	    LD="${LD-ld} -m elf64ppc"
   6917 	    ;;
   6918 	  s390*-*linux*|s390*-*tpf*)
   6919 	    LD="${LD-ld} -m elf64_s390"
   6920 	    ;;
   6921 	  sparc*-*linux*)
   6922 	    LD="${LD-ld} -m elf64_sparc"
   6923 	    ;;
   6924 	esac
   6925 	;;
   6926     esac
   6927   fi
   6928   rm -rf conftest*
   6929   ;;
   6930 
   6931 *-*-sco3.2v5*)
   6932   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6933   SAVE_CFLAGS="$CFLAGS"
   6934   CFLAGS="$CFLAGS -belf"
   6935   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   6936 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6937 if ${lt_cv_cc_needs_belf+:} false; then :
   6938   $as_echo_n "(cached) " >&6
   6939 else
   6940   ac_ext=c
   6941 ac_cpp='$CPP $CPPFLAGS'
   6942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6945 
   6946      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6947 /* end confdefs.h.  */
   6948 
   6949 int
   6950 main ()
   6951 {
   6952 
   6953   ;
   6954   return 0;
   6955 }
   6956 _ACEOF
   6957 if ac_fn_c_try_link "$LINENO"; then :
   6958   lt_cv_cc_needs_belf=yes
   6959 else
   6960   lt_cv_cc_needs_belf=no
   6961 fi
   6962 rm -f core conftest.err conftest.$ac_objext \
   6963     conftest$ac_exeext conftest.$ac_ext
   6964      ac_ext=c
   6965 ac_cpp='$CPP $CPPFLAGS'
   6966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6969 
   6970 fi
   6971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   6972 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   6973   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   6974     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   6975     CFLAGS="$SAVE_CFLAGS"
   6976   fi
   6977   ;;
   6978 *-*solaris*)
   6979   # Find out which ABI we are using.
   6980   echo 'int i;' > conftest.$ac_ext
   6981   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6982   (eval $ac_compile) 2>&5
   6983   ac_status=$?
   6984   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6985   test $ac_status = 0; }; then
   6986     case `/usr/bin/file conftest.o` in
   6987     *64-bit*)
   6988       case $lt_cv_prog_gnu_ld in
   6989       yes*)
   6990         case $host in
   6991         i?86-*-solaris*)
   6992           LD="${LD-ld} -m elf_x86_64"
   6993           ;;
   6994         sparc*-*-solaris*)
   6995           LD="${LD-ld} -m elf64_sparc"
   6996           ;;
   6997         esac
   6998         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   6999         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   7000           LD="${LD-ld}_sol2"
   7001         fi
   7002         ;;
   7003       *)
   7004 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7005 	  LD="${LD-ld} -64"
   7006 	fi
   7007 	;;
   7008       esac
   7009       ;;
   7010     esac
   7011   fi
   7012   rm -rf conftest*
   7013   ;;
   7014 esac
   7015 
   7016 need_locks="$enable_libtool_lock"
   7017 
   7018 if test -n "$ac_tool_prefix"; then
   7019   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   7020 set dummy ${ac_tool_prefix}mt; ac_word=$2
   7021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7022 $as_echo_n "checking for $ac_word... " >&6; }
   7023 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   7024   $as_echo_n "(cached) " >&6
   7025 else
   7026   if test -n "$MANIFEST_TOOL"; then
   7027   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   7028 else
   7029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7030 for as_dir in $PATH
   7031 do
   7032   IFS=$as_save_IFS
   7033   test -z "$as_dir" && as_dir=.
   7034     for ac_exec_ext in '' $ac_executable_extensions; do
   7035   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7036     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   7037     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7038     break 2
   7039   fi
   7040 done
   7041   done
   7042 IFS=$as_save_IFS
   7043 
   7044 fi
   7045 fi
   7046 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   7047 if test -n "$MANIFEST_TOOL"; then
   7048   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   7049 $as_echo "$MANIFEST_TOOL" >&6; }
   7050 else
   7051   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7052 $as_echo "no" >&6; }
   7053 fi
   7054 
   7055 
   7056 fi
   7057 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   7058   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   7059   # Extract the first word of "mt", so it can be a program name with args.
   7060 set dummy mt; ac_word=$2
   7061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7062 $as_echo_n "checking for $ac_word... " >&6; }
   7063 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   7064   $as_echo_n "(cached) " >&6
   7065 else
   7066   if test -n "$ac_ct_MANIFEST_TOOL"; then
   7067   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   7068 else
   7069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7070 for as_dir in $PATH
   7071 do
   7072   IFS=$as_save_IFS
   7073   test -z "$as_dir" && as_dir=.
   7074     for ac_exec_ext in '' $ac_executable_extensions; do
   7075   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7076     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   7077     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7078     break 2
   7079   fi
   7080 done
   7081   done
   7082 IFS=$as_save_IFS
   7083 
   7084 fi
   7085 fi
   7086 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   7087 if test -n "$ac_ct_MANIFEST_TOOL"; then
   7088   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   7089 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   7090 else
   7091   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7092 $as_echo "no" >&6; }
   7093 fi
   7094 
   7095   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   7096     MANIFEST_TOOL=":"
   7097   else
   7098     case $cross_compiling:$ac_tool_warned in
   7099 yes:)
   7100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7101 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7102 ac_tool_warned=yes ;;
   7103 esac
   7104     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   7105   fi
   7106 else
   7107   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   7108 fi
   7109 
   7110 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   7111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   7112 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   7113 if ${lt_cv_path_mainfest_tool+:} false; then :
   7114   $as_echo_n "(cached) " >&6
   7115 else
   7116   lt_cv_path_mainfest_tool=no
   7117   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   7118   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   7119   cat conftest.err >&5
   7120   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   7121     lt_cv_path_mainfest_tool=yes
   7122   fi
   7123   rm -f conftest*
   7124 fi
   7125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   7126 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   7127 if test "x$lt_cv_path_mainfest_tool" != xyes; then
   7128   MANIFEST_TOOL=:
   7129 fi
   7130 
   7131 
   7132 
   7133 
   7134 
   7135 
   7136   case $host_os in
   7137     rhapsody* | darwin*)
   7138     if test -n "$ac_tool_prefix"; then
   7139   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7140 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7142 $as_echo_n "checking for $ac_word... " >&6; }
   7143 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   7144   $as_echo_n "(cached) " >&6
   7145 else
   7146   if test -n "$DSYMUTIL"; then
   7147   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7148 else
   7149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7150 for as_dir in $PATH
   7151 do
   7152   IFS=$as_save_IFS
   7153   test -z "$as_dir" && as_dir=.
   7154     for ac_exec_ext in '' $ac_executable_extensions; do
   7155   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7156     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7157     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7158     break 2
   7159   fi
   7160 done
   7161   done
   7162 IFS=$as_save_IFS
   7163 
   7164 fi
   7165 fi
   7166 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7167 if test -n "$DSYMUTIL"; then
   7168   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   7169 $as_echo "$DSYMUTIL" >&6; }
   7170 else
   7171   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7172 $as_echo "no" >&6; }
   7173 fi
   7174 
   7175 
   7176 fi
   7177 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7178   ac_ct_DSYMUTIL=$DSYMUTIL
   7179   # Extract the first word of "dsymutil", so it can be a program name with args.
   7180 set dummy dsymutil; ac_word=$2
   7181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7182 $as_echo_n "checking for $ac_word... " >&6; }
   7183 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   7184   $as_echo_n "(cached) " >&6
   7185 else
   7186   if test -n "$ac_ct_DSYMUTIL"; then
   7187   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7188 else
   7189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7190 for as_dir in $PATH
   7191 do
   7192   IFS=$as_save_IFS
   7193   test -z "$as_dir" && as_dir=.
   7194     for ac_exec_ext in '' $ac_executable_extensions; do
   7195   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7196     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7197     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7198     break 2
   7199   fi
   7200 done
   7201   done
   7202 IFS=$as_save_IFS
   7203 
   7204 fi
   7205 fi
   7206 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7207 if test -n "$ac_ct_DSYMUTIL"; then
   7208   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   7209 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7210 else
   7211   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7212 $as_echo "no" >&6; }
   7213 fi
   7214 
   7215   if test "x$ac_ct_DSYMUTIL" = x; then
   7216     DSYMUTIL=":"
   7217   else
   7218     case $cross_compiling:$ac_tool_warned in
   7219 yes:)
   7220 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7221 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7222 ac_tool_warned=yes ;;
   7223 esac
   7224     DSYMUTIL=$ac_ct_DSYMUTIL
   7225   fi
   7226 else
   7227   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7228 fi
   7229 
   7230     if test -n "$ac_tool_prefix"; then
   7231   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7232 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7234 $as_echo_n "checking for $ac_word... " >&6; }
   7235 if ${ac_cv_prog_NMEDIT+:} false; then :
   7236   $as_echo_n "(cached) " >&6
   7237 else
   7238   if test -n "$NMEDIT"; then
   7239   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7240 else
   7241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7242 for as_dir in $PATH
   7243 do
   7244   IFS=$as_save_IFS
   7245   test -z "$as_dir" && as_dir=.
   7246     for ac_exec_ext in '' $ac_executable_extensions; do
   7247   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7248     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7249     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7250     break 2
   7251   fi
   7252 done
   7253   done
   7254 IFS=$as_save_IFS
   7255 
   7256 fi
   7257 fi
   7258 NMEDIT=$ac_cv_prog_NMEDIT
   7259 if test -n "$NMEDIT"; then
   7260   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   7261 $as_echo "$NMEDIT" >&6; }
   7262 else
   7263   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7264 $as_echo "no" >&6; }
   7265 fi
   7266 
   7267 
   7268 fi
   7269 if test -z "$ac_cv_prog_NMEDIT"; then
   7270   ac_ct_NMEDIT=$NMEDIT
   7271   # Extract the first word of "nmedit", so it can be a program name with args.
   7272 set dummy nmedit; ac_word=$2
   7273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7274 $as_echo_n "checking for $ac_word... " >&6; }
   7275 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   7276   $as_echo_n "(cached) " >&6
   7277 else
   7278   if test -n "$ac_ct_NMEDIT"; then
   7279   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7280 else
   7281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7282 for as_dir in $PATH
   7283 do
   7284   IFS=$as_save_IFS
   7285   test -z "$as_dir" && as_dir=.
   7286     for ac_exec_ext in '' $ac_executable_extensions; do
   7287   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7288     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7289     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7290     break 2
   7291   fi
   7292 done
   7293   done
   7294 IFS=$as_save_IFS
   7295 
   7296 fi
   7297 fi
   7298 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7299 if test -n "$ac_ct_NMEDIT"; then
   7300   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   7301 $as_echo "$ac_ct_NMEDIT" >&6; }
   7302 else
   7303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7304 $as_echo "no" >&6; }
   7305 fi
   7306 
   7307   if test "x$ac_ct_NMEDIT" = x; then
   7308     NMEDIT=":"
   7309   else
   7310     case $cross_compiling:$ac_tool_warned in
   7311 yes:)
   7312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7313 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7314 ac_tool_warned=yes ;;
   7315 esac
   7316     NMEDIT=$ac_ct_NMEDIT
   7317   fi
   7318 else
   7319   NMEDIT="$ac_cv_prog_NMEDIT"
   7320 fi
   7321 
   7322     if test -n "$ac_tool_prefix"; then
   7323   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   7324 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   7325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7326 $as_echo_n "checking for $ac_word... " >&6; }
   7327 if ${ac_cv_prog_LIPO+:} false; then :
   7328   $as_echo_n "(cached) " >&6
   7329 else
   7330   if test -n "$LIPO"; then
   7331   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   7332 else
   7333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7334 for as_dir in $PATH
   7335 do
   7336   IFS=$as_save_IFS
   7337   test -z "$as_dir" && as_dir=.
   7338     for ac_exec_ext in '' $ac_executable_extensions; do
   7339   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7340     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   7341     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7342     break 2
   7343   fi
   7344 done
   7345   done
   7346 IFS=$as_save_IFS
   7347 
   7348 fi
   7349 fi
   7350 LIPO=$ac_cv_prog_LIPO
   7351 if test -n "$LIPO"; then
   7352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   7353 $as_echo "$LIPO" >&6; }
   7354 else
   7355   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7356 $as_echo "no" >&6; }
   7357 fi
   7358 
   7359 
   7360 fi
   7361 if test -z "$ac_cv_prog_LIPO"; then
   7362   ac_ct_LIPO=$LIPO
   7363   # Extract the first word of "lipo", so it can be a program name with args.
   7364 set dummy lipo; ac_word=$2
   7365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7366 $as_echo_n "checking for $ac_word... " >&6; }
   7367 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   7368   $as_echo_n "(cached) " >&6
   7369 else
   7370   if test -n "$ac_ct_LIPO"; then
   7371   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   7372 else
   7373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7374 for as_dir in $PATH
   7375 do
   7376   IFS=$as_save_IFS
   7377   test -z "$as_dir" && as_dir=.
   7378     for ac_exec_ext in '' $ac_executable_extensions; do
   7379   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7380     ac_cv_prog_ac_ct_LIPO="lipo"
   7381     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7382     break 2
   7383   fi
   7384 done
   7385   done
   7386 IFS=$as_save_IFS
   7387 
   7388 fi
   7389 fi
   7390 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   7391 if test -n "$ac_ct_LIPO"; then
   7392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   7393 $as_echo "$ac_ct_LIPO" >&6; }
   7394 else
   7395   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7396 $as_echo "no" >&6; }
   7397 fi
   7398 
   7399   if test "x$ac_ct_LIPO" = x; then
   7400     LIPO=":"
   7401   else
   7402     case $cross_compiling:$ac_tool_warned in
   7403 yes:)
   7404 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7405 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7406 ac_tool_warned=yes ;;
   7407 esac
   7408     LIPO=$ac_ct_LIPO
   7409   fi
   7410 else
   7411   LIPO="$ac_cv_prog_LIPO"
   7412 fi
   7413 
   7414     if test -n "$ac_tool_prefix"; then
   7415   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7416 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7418 $as_echo_n "checking for $ac_word... " >&6; }
   7419 if ${ac_cv_prog_OTOOL+:} false; then :
   7420   $as_echo_n "(cached) " >&6
   7421 else
   7422   if test -n "$OTOOL"; then
   7423   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7424 else
   7425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7426 for as_dir in $PATH
   7427 do
   7428   IFS=$as_save_IFS
   7429   test -z "$as_dir" && as_dir=.
   7430     for ac_exec_ext in '' $ac_executable_extensions; do
   7431   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7432     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7433     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7434     break 2
   7435   fi
   7436 done
   7437   done
   7438 IFS=$as_save_IFS
   7439 
   7440 fi
   7441 fi
   7442 OTOOL=$ac_cv_prog_OTOOL
   7443 if test -n "$OTOOL"; then
   7444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   7445 $as_echo "$OTOOL" >&6; }
   7446 else
   7447   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7448 $as_echo "no" >&6; }
   7449 fi
   7450 
   7451 
   7452 fi
   7453 if test -z "$ac_cv_prog_OTOOL"; then
   7454   ac_ct_OTOOL=$OTOOL
   7455   # Extract the first word of "otool", so it can be a program name with args.
   7456 set dummy otool; ac_word=$2
   7457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7458 $as_echo_n "checking for $ac_word... " >&6; }
   7459 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   7460   $as_echo_n "(cached) " >&6
   7461 else
   7462   if test -n "$ac_ct_OTOOL"; then
   7463   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   7464 else
   7465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7466 for as_dir in $PATH
   7467 do
   7468   IFS=$as_save_IFS
   7469   test -z "$as_dir" && as_dir=.
   7470     for ac_exec_ext in '' $ac_executable_extensions; do
   7471   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7472     ac_cv_prog_ac_ct_OTOOL="otool"
   7473     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7474     break 2
   7475   fi
   7476 done
   7477   done
   7478 IFS=$as_save_IFS
   7479 
   7480 fi
   7481 fi
   7482 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   7483 if test -n "$ac_ct_OTOOL"; then
   7484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   7485 $as_echo "$ac_ct_OTOOL" >&6; }
   7486 else
   7487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7488 $as_echo "no" >&6; }
   7489 fi
   7490 
   7491   if test "x$ac_ct_OTOOL" = x; then
   7492     OTOOL=":"
   7493   else
   7494     case $cross_compiling:$ac_tool_warned in
   7495 yes:)
   7496 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7497 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7498 ac_tool_warned=yes ;;
   7499 esac
   7500     OTOOL=$ac_ct_OTOOL
   7501   fi
   7502 else
   7503   OTOOL="$ac_cv_prog_OTOOL"
   7504 fi
   7505 
   7506     if test -n "$ac_tool_prefix"; then
   7507   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   7508 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   7509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7510 $as_echo_n "checking for $ac_word... " >&6; }
   7511 if ${ac_cv_prog_OTOOL64+:} false; then :
   7512   $as_echo_n "(cached) " >&6
   7513 else
   7514   if test -n "$OTOOL64"; then
   7515   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   7516 else
   7517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7518 for as_dir in $PATH
   7519 do
   7520   IFS=$as_save_IFS
   7521   test -z "$as_dir" && as_dir=.
   7522     for ac_exec_ext in '' $ac_executable_extensions; do
   7523   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7524     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   7525     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7526     break 2
   7527   fi
   7528 done
   7529   done
   7530 IFS=$as_save_IFS
   7531 
   7532 fi
   7533 fi
   7534 OTOOL64=$ac_cv_prog_OTOOL64
   7535 if test -n "$OTOOL64"; then
   7536   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   7537 $as_echo "$OTOOL64" >&6; }
   7538 else
   7539   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7540 $as_echo "no" >&6; }
   7541 fi
   7542 
   7543 
   7544 fi
   7545 if test -z "$ac_cv_prog_OTOOL64"; then
   7546   ac_ct_OTOOL64=$OTOOL64
   7547   # Extract the first word of "otool64", so it can be a program name with args.
   7548 set dummy otool64; ac_word=$2
   7549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7550 $as_echo_n "checking for $ac_word... " >&6; }
   7551 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   7552   $as_echo_n "(cached) " >&6
   7553 else
   7554   if test -n "$ac_ct_OTOOL64"; then
   7555   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   7556 else
   7557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7558 for as_dir in $PATH
   7559 do
   7560   IFS=$as_save_IFS
   7561   test -z "$as_dir" && as_dir=.
   7562     for ac_exec_ext in '' $ac_executable_extensions; do
   7563   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7564     ac_cv_prog_ac_ct_OTOOL64="otool64"
   7565     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7566     break 2
   7567   fi
   7568 done
   7569   done
   7570 IFS=$as_save_IFS
   7571 
   7572 fi
   7573 fi
   7574 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   7575 if test -n "$ac_ct_OTOOL64"; then
   7576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   7577 $as_echo "$ac_ct_OTOOL64" >&6; }
   7578 else
   7579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7580 $as_echo "no" >&6; }
   7581 fi
   7582 
   7583   if test "x$ac_ct_OTOOL64" = x; then
   7584     OTOOL64=":"
   7585   else
   7586     case $cross_compiling:$ac_tool_warned in
   7587 yes:)
   7588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7589 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7590 ac_tool_warned=yes ;;
   7591 esac
   7592     OTOOL64=$ac_ct_OTOOL64
   7593   fi
   7594 else
   7595   OTOOL64="$ac_cv_prog_OTOOL64"
   7596 fi
   7597 
   7598 
   7599 
   7600 
   7601 
   7602 
   7603 
   7604 
   7605 
   7606 
   7607 
   7608 
   7609 
   7610 
   7611 
   7612 
   7613 
   7614 
   7615 
   7616 
   7617 
   7618 
   7619 
   7620 
   7621 
   7622 
   7623 
   7624     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   7625 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7626 if ${lt_cv_apple_cc_single_mod+:} false; then :
   7627   $as_echo_n "(cached) " >&6
   7628 else
   7629   lt_cv_apple_cc_single_mod=no
   7630       if test -z "${LT_MULTI_MODULE}"; then
   7631 	# By default we will add the -single_module flag. You can override
   7632 	# by either setting the environment variable LT_MULTI_MODULE
   7633 	# non-empty at configure time, or by adding -multi_module to the
   7634 	# link flags.
   7635 	rm -rf libconftest.dylib*
   7636 	echo "int foo(void){return 1;}" > conftest.c
   7637 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7638 -dynamiclib -Wl,-single_module conftest.c" >&5
   7639 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7640 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7641         _lt_result=$?
   7642 	# If there is a non-empty error log, and "single_module"
   7643 	# appears in it, assume the flag caused a linker warning
   7644         if test -s conftest.err && $GREP single_module conftest.err; then
   7645 	  cat conftest.err >&5
   7646 	# Otherwise, if the output was created with a 0 exit code from
   7647 	# the compiler, it worked.
   7648 	elif test -f libconftest.dylib && test $_lt_result -eq 0; then
   7649 	  lt_cv_apple_cc_single_mod=yes
   7650 	else
   7651 	  cat conftest.err >&5
   7652 	fi
   7653 	rm -rf libconftest.dylib*
   7654 	rm -f conftest.*
   7655       fi
   7656 fi
   7657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   7658 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7659 
   7660     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   7661 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7662 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   7663   $as_echo_n "(cached) " >&6
   7664 else
   7665   lt_cv_ld_exported_symbols_list=no
   7666       save_LDFLAGS=$LDFLAGS
   7667       echo "_main" > conftest.sym
   7668       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7669       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7670 /* end confdefs.h.  */
   7671 
   7672 int
   7673 main ()
   7674 {
   7675 
   7676   ;
   7677   return 0;
   7678 }
   7679 _ACEOF
   7680 if ac_fn_c_try_link "$LINENO"; then :
   7681   lt_cv_ld_exported_symbols_list=yes
   7682 else
   7683   lt_cv_ld_exported_symbols_list=no
   7684 fi
   7685 rm -f core conftest.err conftest.$ac_objext \
   7686     conftest$ac_exeext conftest.$ac_ext
   7687 	LDFLAGS="$save_LDFLAGS"
   7688 
   7689 fi
   7690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7691 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7692 
   7693     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   7694 $as_echo_n "checking for -force_load linker flag... " >&6; }
   7695 if ${lt_cv_ld_force_load+:} false; then :
   7696   $as_echo_n "(cached) " >&6
   7697 else
   7698   lt_cv_ld_force_load=no
   7699       cat > conftest.c << _LT_EOF
   7700 int forced_loaded() { return 2;}
   7701 _LT_EOF
   7702       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   7703       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   7704       echo "$AR cru libconftest.a conftest.o" >&5
   7705       $AR cru libconftest.a conftest.o 2>&5
   7706       echo "$RANLIB libconftest.a" >&5
   7707       $RANLIB libconftest.a 2>&5
   7708       cat > conftest.c << _LT_EOF
   7709 int main() { return 0;}
   7710 _LT_EOF
   7711       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   7712       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   7713       _lt_result=$?
   7714       if test -s conftest.err && $GREP force_load conftest.err; then
   7715 	cat conftest.err >&5
   7716       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
   7717 	lt_cv_ld_force_load=yes
   7718       else
   7719 	cat conftest.err >&5
   7720       fi
   7721         rm -f conftest.err libconftest.a conftest conftest.c
   7722         rm -rf conftest.dSYM
   7723 
   7724 fi
   7725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   7726 $as_echo "$lt_cv_ld_force_load" >&6; }
   7727     case $host_os in
   7728     rhapsody* | darwin1.[012])
   7729       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7730     darwin1.*)
   7731       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7732     darwin*) # darwin 5.x on
   7733       # if running on 10.5 or later, the deployment target defaults
   7734       # to the OS version, if on x86, and 10.4, the deployment
   7735       # target defaults to 10.4. Don't you love it?
   7736       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7737 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7738 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7739 	10.[012]*)
   7740 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7741 	10.*)
   7742 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7743       esac
   7744     ;;
   7745   esac
   7746     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7747       _lt_dar_single_mod='$single_module'
   7748     fi
   7749     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7750       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7751     else
   7752       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7753     fi
   7754     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   7755       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7756     else
   7757       _lt_dsymutil=
   7758     fi
   7759     ;;
   7760   esac
   7761 
   7762 for ac_header in dlfcn.h
   7763 do :
   7764   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7765 "
   7766 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   7767   cat >>confdefs.h <<_ACEOF
   7768 #define HAVE_DLFCN_H 1
   7769 _ACEOF
   7770 
   7771 fi
   7772 
   7773 done
   7774 
   7775 
   7776 
   7777 
   7778 
   7779 # Set options
   7780 
   7781 
   7782 
   7783         enable_dlopen=no
   7784 
   7785 
   7786 
   7787             # Check whether --enable-shared was given.
   7788 if test "${enable_shared+set}" = set; then :
   7789   enableval=$enable_shared; p=${PACKAGE-default}
   7790     case $enableval in
   7791     yes) enable_shared=yes ;;
   7792     no) enable_shared=no ;;
   7793     *)
   7794       enable_shared=no
   7795       # Look at the argument we got.  We use all the common list separators.
   7796       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7797       for pkg in $enableval; do
   7798 	IFS="$lt_save_ifs"
   7799 	if test "X$pkg" = "X$p"; then
   7800 	  enable_shared=yes
   7801 	fi
   7802       done
   7803       IFS="$lt_save_ifs"
   7804       ;;
   7805     esac
   7806 else
   7807   enable_shared=yes
   7808 fi
   7809 
   7810 
   7811 
   7812 
   7813 
   7814 
   7815 
   7816 
   7817 
   7818   # Check whether --enable-static was given.
   7819 if test "${enable_static+set}" = set; then :
   7820   enableval=$enable_static; p=${PACKAGE-default}
   7821     case $enableval in
   7822     yes) enable_static=yes ;;
   7823     no) enable_static=no ;;
   7824     *)
   7825      enable_static=no
   7826       # Look at the argument we got.  We use all the common list separators.
   7827       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7828       for pkg in $enableval; do
   7829 	IFS="$lt_save_ifs"
   7830 	if test "X$pkg" = "X$p"; then
   7831 	  enable_static=yes
   7832 	fi
   7833       done
   7834       IFS="$lt_save_ifs"
   7835       ;;
   7836     esac
   7837 else
   7838   enable_static=yes
   7839 fi
   7840 
   7841 
   7842 
   7843 
   7844 
   7845 
   7846 
   7847 
   7848 
   7849 
   7850 # Check whether --with-pic was given.
   7851 if test "${with_pic+set}" = set; then :
   7852   withval=$with_pic; lt_p=${PACKAGE-default}
   7853     case $withval in
   7854     yes|no) pic_mode=$withval ;;
   7855     *)
   7856       pic_mode=default
   7857       # Look at the argument we got.  We use all the common list separators.
   7858       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7859       for lt_pkg in $withval; do
   7860 	IFS="$lt_save_ifs"
   7861 	if test "X$lt_pkg" = "X$lt_p"; then
   7862 	  pic_mode=yes
   7863 	fi
   7864       done
   7865       IFS="$lt_save_ifs"
   7866       ;;
   7867     esac
   7868 else
   7869   pic_mode=default
   7870 fi
   7871 
   7872 
   7873 test -z "$pic_mode" && pic_mode=default
   7874 
   7875 
   7876 
   7877 
   7878 
   7879 
   7880 
   7881   # Check whether --enable-fast-install was given.
   7882 if test "${enable_fast_install+set}" = set; then :
   7883   enableval=$enable_fast_install; p=${PACKAGE-default}
   7884     case $enableval in
   7885     yes) enable_fast_install=yes ;;
   7886     no) enable_fast_install=no ;;
   7887     *)
   7888       enable_fast_install=no
   7889       # Look at the argument we got.  We use all the common list separators.
   7890       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7891       for pkg in $enableval; do
   7892 	IFS="$lt_save_ifs"
   7893 	if test "X$pkg" = "X$p"; then
   7894 	  enable_fast_install=yes
   7895 	fi
   7896       done
   7897       IFS="$lt_save_ifs"
   7898       ;;
   7899     esac
   7900 else
   7901   enable_fast_install=yes
   7902 fi
   7903 
   7904 
   7905 
   7906 
   7907 
   7908 
   7909 
   7910 
   7911 
   7912 
   7913 
   7914 # This can be used to rebuild libtool when needed
   7915 LIBTOOL_DEPS="$ltmain"
   7916 
   7917 # Always use our own libtool.
   7918 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7919 
   7920 
   7921 
   7922 
   7923 
   7924 
   7925 
   7926 
   7927 
   7928 
   7929 
   7930 
   7931 
   7932 
   7933 
   7934 
   7935 
   7936 
   7937 
   7938 
   7939 
   7940 
   7941 
   7942 
   7943 
   7944 
   7945 
   7946 
   7947 
   7948 
   7949 test -z "$LN_S" && LN_S="ln -s"
   7950 
   7951 
   7952 
   7953 
   7954 
   7955 
   7956 
   7957 
   7958 
   7959 
   7960 
   7961 
   7962 
   7963 
   7964 if test -n "${ZSH_VERSION+set}" ; then
   7965    setopt NO_GLOB_SUBST
   7966 fi
   7967 
   7968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   7969 $as_echo_n "checking for objdir... " >&6; }
   7970 if ${lt_cv_objdir+:} false; then :
   7971   $as_echo_n "(cached) " >&6
   7972 else
   7973   rm -f .libs 2>/dev/null
   7974 mkdir .libs 2>/dev/null
   7975 if test -d .libs; then
   7976   lt_cv_objdir=.libs
   7977 else
   7978   # MS-DOS does not allow filenames that begin with a dot.
   7979   lt_cv_objdir=_libs
   7980 fi
   7981 rmdir .libs 2>/dev/null
   7982 fi
   7983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   7984 $as_echo "$lt_cv_objdir" >&6; }
   7985 objdir=$lt_cv_objdir
   7986 
   7987 
   7988 
   7989 
   7990 
   7991 cat >>confdefs.h <<_ACEOF
   7992 #define LT_OBJDIR "$lt_cv_objdir/"
   7993 _ACEOF
   7994 
   7995 
   7996 
   7997 
   7998 case $host_os in
   7999 aix3*)
   8000   # AIX sometimes has problems with the GCC collect2 program.  For some
   8001   # reason, if we set the COLLECT_NAMES environment variable, the problems
   8002   # vanish in a puff of smoke.
   8003   if test "X${COLLECT_NAMES+set}" != Xset; then
   8004     COLLECT_NAMES=
   8005     export COLLECT_NAMES
   8006   fi
   8007   ;;
   8008 esac
   8009 
   8010 # Global variables:
   8011 ofile=libtool
   8012 can_build_shared=yes
   8013 
   8014 # All known linkers require a `.a' archive for static linking (except MSVC,
   8015 # which needs '.lib').
   8016 libext=a
   8017 
   8018 with_gnu_ld="$lt_cv_prog_gnu_ld"
   8019 
   8020 old_CC="$CC"
   8021 old_CFLAGS="$CFLAGS"
   8022 
   8023 # Set sane defaults for various variables
   8024 test -z "$CC" && CC=cc
   8025 test -z "$LTCC" && LTCC=$CC
   8026 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   8027 test -z "$LD" && LD=ld
   8028 test -z "$ac_objext" && ac_objext=o
   8029 
   8030 for cc_temp in $compiler""; do
   8031   case $cc_temp in
   8032     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   8033     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   8034     \-*) ;;
   8035     *) break;;
   8036   esac
   8037 done
   8038 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   8039 
   8040 
   8041 # Only perform the check for file, if the check method requires it
   8042 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   8043 case $deplibs_check_method in
   8044 file_magic*)
   8045   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   8046     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   8047 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   8048 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8049   $as_echo_n "(cached) " >&6
   8050 else
   8051   case $MAGIC_CMD in
   8052 [\\/*] |  ?:[\\/]*)
   8053   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   8054   ;;
   8055 *)
   8056   lt_save_MAGIC_CMD="$MAGIC_CMD"
   8057   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   8058   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8059   for ac_dir in $ac_dummy; do
   8060     IFS="$lt_save_ifs"
   8061     test -z "$ac_dir" && ac_dir=.
   8062     if test -f $ac_dir/${ac_tool_prefix}file; then
   8063       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   8064       if test -n "$file_magic_test_file"; then
   8065 	case $deplibs_check_method in
   8066 	"file_magic "*)
   8067 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8068 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8069 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8070 	    $EGREP "$file_magic_regex" > /dev/null; then
   8071 	    :
   8072 	  else
   8073 	    cat <<_LT_EOF 1>&2
   8074 
   8075 *** Warning: the command libtool uses to detect shared libraries,
   8076 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8077 *** The result is that libtool may fail to recognize shared libraries
   8078 *** as such.  This will affect the creation of libtool libraries that
   8079 *** depend on shared libraries, but programs linked with such libtool
   8080 *** libraries will work regardless of this problem.  Nevertheless, you
   8081 *** may want to report the problem to your system manager and/or to
   8082 *** bug-libtool@gnu.org
   8083 
   8084 _LT_EOF
   8085 	  fi ;;
   8086 	esac
   8087       fi
   8088       break
   8089     fi
   8090   done
   8091   IFS="$lt_save_ifs"
   8092   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8093   ;;
   8094 esac
   8095 fi
   8096 
   8097 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8098 if test -n "$MAGIC_CMD"; then
   8099   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8100 $as_echo "$MAGIC_CMD" >&6; }
   8101 else
   8102   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8103 $as_echo "no" >&6; }
   8104 fi
   8105 
   8106 
   8107 
   8108 
   8109 
   8110 if test -z "$lt_cv_path_MAGIC_CMD"; then
   8111   if test -n "$ac_tool_prefix"; then
   8112     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   8113 $as_echo_n "checking for file... " >&6; }
   8114 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8115   $as_echo_n "(cached) " >&6
   8116 else
   8117   case $MAGIC_CMD in
   8118 [\\/*] |  ?:[\\/]*)
   8119   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   8120   ;;
   8121 *)
   8122   lt_save_MAGIC_CMD="$MAGIC_CMD"
   8123   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   8124   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8125   for ac_dir in $ac_dummy; do
   8126     IFS="$lt_save_ifs"
   8127     test -z "$ac_dir" && ac_dir=.
   8128     if test -f $ac_dir/file; then
   8129       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   8130       if test -n "$file_magic_test_file"; then
   8131 	case $deplibs_check_method in
   8132 	"file_magic "*)
   8133 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8134 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8135 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8136 	    $EGREP "$file_magic_regex" > /dev/null; then
   8137 	    :
   8138 	  else
   8139 	    cat <<_LT_EOF 1>&2
   8140 
   8141 *** Warning: the command libtool uses to detect shared libraries,
   8142 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8143 *** The result is that libtool may fail to recognize shared libraries
   8144 *** as such.  This will affect the creation of libtool libraries that
   8145 *** depend on shared libraries, but programs linked with such libtool
   8146 *** libraries will work regardless of this problem.  Nevertheless, you
   8147 *** may want to report the problem to your system manager and/or to
   8148 *** bug-libtool@gnu.org
   8149 
   8150 _LT_EOF
   8151 	  fi ;;
   8152 	esac
   8153       fi
   8154       break
   8155     fi
   8156   done
   8157   IFS="$lt_save_ifs"
   8158   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8159   ;;
   8160 esac
   8161 fi
   8162 
   8163 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8164 if test -n "$MAGIC_CMD"; then
   8165   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8166 $as_echo "$MAGIC_CMD" >&6; }
   8167 else
   8168   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8169 $as_echo "no" >&6; }
   8170 fi
   8171 
   8172 
   8173   else
   8174     MAGIC_CMD=:
   8175   fi
   8176 fi
   8177 
   8178   fi
   8179   ;;
   8180 esac
   8181 
   8182 # Use C for the default configuration in the libtool script
   8183 
   8184 lt_save_CC="$CC"
   8185 ac_ext=c
   8186 ac_cpp='$CPP $CPPFLAGS'
   8187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8190 
   8191 
   8192 # Source file extension for C test sources.
   8193 ac_ext=c
   8194 
   8195 # Object file extension for compiled C test sources.
   8196 objext=o
   8197 objext=$objext
   8198 
   8199 # Code to be used in simple compile tests
   8200 lt_simple_compile_test_code="int some_variable = 0;"
   8201 
   8202 # Code to be used in simple link tests
   8203 lt_simple_link_test_code='int main(){return(0);}'
   8204 
   8205 
   8206 
   8207 
   8208 
   8209 
   8210 
   8211 # If no C compiler was specified, use CC.
   8212 LTCC=${LTCC-"$CC"}
   8213 
   8214 # If no C compiler flags were specified, use CFLAGS.
   8215 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8216 
   8217 # Allow CC to be a program name with arguments.
   8218 compiler=$CC
   8219 
   8220 # Save the default compiler, since it gets overwritten when the other
   8221 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8222 compiler_DEFAULT=$CC
   8223 
   8224 # save warnings/boilerplate of simple test code
   8225 ac_outfile=conftest.$ac_objext
   8226 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8227 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8228 _lt_compiler_boilerplate=`cat conftest.err`
   8229 $RM conftest*
   8230 
   8231 ac_outfile=conftest.$ac_objext
   8232 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8233 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8234 _lt_linker_boilerplate=`cat conftest.err`
   8235 $RM -r conftest*
   8236 
   8237 
   8238 if test -n "$compiler"; then
   8239 
   8240 lt_prog_compiler_no_builtin_flag=
   8241 
   8242 if test "$GCC" = yes; then
   8243   case $cc_basename in
   8244   nvcc*)
   8245     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   8246   *)
   8247     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   8248   esac
   8249 
   8250   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8251 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   8252 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   8253   $as_echo_n "(cached) " >&6
   8254 else
   8255   lt_cv_prog_compiler_rtti_exceptions=no
   8256    ac_outfile=conftest.$ac_objext
   8257    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8258    lt_compiler_flag="-fno-rtti -fno-exceptions"
   8259    # Insert the option either (1) after the last *FLAGS variable, or
   8260    # (2) before a word containing "conftest.", or (3) at the end.
   8261    # Note that $ac_compile itself does not contain backslashes and begins
   8262    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8263    # The option is referenced via a variable to avoid confusing sed.
   8264    lt_compile=`echo "$ac_compile" | $SED \
   8265    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8266    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8267    -e 's:$: $lt_compiler_flag:'`
   8268    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8269    (eval "$lt_compile" 2>conftest.err)
   8270    ac_status=$?
   8271    cat conftest.err >&5
   8272    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8273    if (exit $ac_status) && test -s "$ac_outfile"; then
   8274      # The compiler can only warn and ignore the option if not recognized
   8275      # So say no if there are warnings other than the usual output.
   8276      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8277      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8278      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8279        lt_cv_prog_compiler_rtti_exceptions=yes
   8280      fi
   8281    fi
   8282    $RM conftest*
   8283 
   8284 fi
   8285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   8286 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   8287 
   8288 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   8289     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   8290 else
   8291     :
   8292 fi
   8293 
   8294 fi
   8295 
   8296 
   8297 
   8298 
   8299 
   8300 
   8301   lt_prog_compiler_wl=
   8302 lt_prog_compiler_pic=
   8303 lt_prog_compiler_static=
   8304 
   8305 
   8306   if test "$GCC" = yes; then
   8307     lt_prog_compiler_wl='-Wl,'
   8308     lt_prog_compiler_static='-static'
   8309 
   8310     case $host_os in
   8311       aix*)
   8312       # All AIX code is PIC.
   8313       if test "$host_cpu" = ia64; then
   8314 	# AIX 5 now supports IA64 processor
   8315 	lt_prog_compiler_static='-Bstatic'
   8316       fi
   8317       ;;
   8318 
   8319     amigaos*)
   8320       case $host_cpu in
   8321       powerpc)
   8322             # see comment about AmigaOS4 .so support
   8323             lt_prog_compiler_pic='-fPIC'
   8324         ;;
   8325       m68k)
   8326             # FIXME: we need at least 68020 code to build shared libraries, but
   8327             # adding the `-m68020' flag to GCC prevents building anything better,
   8328             # like `-m68040'.
   8329             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8330         ;;
   8331       esac
   8332       ;;
   8333 
   8334     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8335       # PIC is the default for these OSes.
   8336       ;;
   8337 
   8338     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8339       # This hack is so that the source file can tell whether it is being
   8340       # built for inclusion in a dll (and should export symbols for example).
   8341       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8342       # (--disable-auto-import) libraries
   8343       lt_prog_compiler_pic='-DDLL_EXPORT'
   8344       ;;
   8345 
   8346     darwin* | rhapsody*)
   8347       # PIC is the default on this platform
   8348       # Common symbols not allowed in MH_DYLIB files
   8349       lt_prog_compiler_pic='-fno-common'
   8350       ;;
   8351 
   8352     haiku*)
   8353       # PIC is the default for Haiku.
   8354       # The "-static" flag exists, but is broken.
   8355       lt_prog_compiler_static=
   8356       ;;
   8357 
   8358     hpux*)
   8359       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8360       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8361       # sets the default TLS model and affects inlining.
   8362       case $host_cpu in
   8363       hppa*64*)
   8364 	# +Z the default
   8365 	;;
   8366       *)
   8367 	lt_prog_compiler_pic='-fPIC'
   8368 	;;
   8369       esac
   8370       ;;
   8371 
   8372     interix[3-9]*)
   8373       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8374       # Instead, we relocate shared libraries at runtime.
   8375       ;;
   8376 
   8377     msdosdjgpp*)
   8378       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8379       # on systems that don't support them.
   8380       lt_prog_compiler_can_build_shared=no
   8381       enable_shared=no
   8382       ;;
   8383 
   8384     *nto* | *qnx*)
   8385       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8386       # it will coredump.
   8387       lt_prog_compiler_pic='-fPIC -shared'
   8388       ;;
   8389 
   8390     sysv4*MP*)
   8391       if test -d /usr/nec; then
   8392 	lt_prog_compiler_pic=-Kconform_pic
   8393       fi
   8394       ;;
   8395 
   8396     *)
   8397       lt_prog_compiler_pic='-fPIC'
   8398       ;;
   8399     esac
   8400 
   8401     case $cc_basename in
   8402     nvcc*) # Cuda Compiler Driver 2.2
   8403       lt_prog_compiler_wl='-Xlinker '
   8404       if test -n "$lt_prog_compiler_pic"; then
   8405         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   8406       fi
   8407       ;;
   8408     esac
   8409   else
   8410     # PORTME Check for flag to pass linker flags through the system compiler.
   8411     case $host_os in
   8412     aix*)
   8413       lt_prog_compiler_wl='-Wl,'
   8414       if test "$host_cpu" = ia64; then
   8415 	# AIX 5 now supports IA64 processor
   8416 	lt_prog_compiler_static='-Bstatic'
   8417       else
   8418 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8419       fi
   8420       ;;
   8421 
   8422     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8423       # This hack is so that the source file can tell whether it is being
   8424       # built for inclusion in a dll (and should export symbols for example).
   8425       lt_prog_compiler_pic='-DDLL_EXPORT'
   8426       ;;
   8427 
   8428     hpux9* | hpux10* | hpux11*)
   8429       lt_prog_compiler_wl='-Wl,'
   8430       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8431       # not for PA HP-UX.
   8432       case $host_cpu in
   8433       hppa*64*|ia64*)
   8434 	# +Z the default
   8435 	;;
   8436       *)
   8437 	lt_prog_compiler_pic='+Z'
   8438 	;;
   8439       esac
   8440       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8441       lt_prog_compiler_static='${wl}-a ${wl}archive'
   8442       ;;
   8443 
   8444     irix5* | irix6* | nonstopux*)
   8445       lt_prog_compiler_wl='-Wl,'
   8446       # PIC (with -KPIC) is the default.
   8447       lt_prog_compiler_static='-non_shared'
   8448       ;;
   8449 
   8450     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   8451       case $cc_basename in
   8452       # old Intel for x86_64 which still supported -KPIC.
   8453       ecc*)
   8454 	lt_prog_compiler_wl='-Wl,'
   8455 	lt_prog_compiler_pic='-KPIC'
   8456 	lt_prog_compiler_static='-static'
   8457         ;;
   8458       # icc used to be incompatible with GCC.
   8459       # ICC 10 doesn't accept -KPIC any more.
   8460       icc* | ifort*)
   8461 	lt_prog_compiler_wl='-Wl,'
   8462 	lt_prog_compiler_pic='-fPIC'
   8463 	lt_prog_compiler_static='-static'
   8464         ;;
   8465       # Lahey Fortran 8.1.
   8466       lf95*)
   8467 	lt_prog_compiler_wl='-Wl,'
   8468 	lt_prog_compiler_pic='--shared'
   8469 	lt_prog_compiler_static='--static'
   8470 	;;
   8471       nagfor*)
   8472 	# NAG Fortran compiler
   8473 	lt_prog_compiler_wl='-Wl,-Wl,,'
   8474 	lt_prog_compiler_pic='-PIC'
   8475 	lt_prog_compiler_static='-Bstatic'
   8476 	;;
   8477       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8478         # Portland Group compilers (*not* the Pentium gcc compiler,
   8479 	# which looks to be a dead project)
   8480 	lt_prog_compiler_wl='-Wl,'
   8481 	lt_prog_compiler_pic='-fpic'
   8482 	lt_prog_compiler_static='-Bstatic'
   8483         ;;
   8484       ccc*)
   8485         lt_prog_compiler_wl='-Wl,'
   8486         # All Alpha code is PIC.
   8487         lt_prog_compiler_static='-non_shared'
   8488         ;;
   8489       xl* | bgxl* | bgf* | mpixl*)
   8490 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8491 	lt_prog_compiler_wl='-Wl,'
   8492 	lt_prog_compiler_pic='-qpic'
   8493 	lt_prog_compiler_static='-qstaticlink'
   8494 	;;
   8495       *)
   8496 	case `$CC -V 2>&1 | sed 5q` in
   8497 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   8498 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8499 	  lt_prog_compiler_pic='-KPIC'
   8500 	  lt_prog_compiler_static='-Bstatic'
   8501 	  lt_prog_compiler_wl=''
   8502 	  ;;
   8503 	*Sun\ F* | *Sun*Fortran*)
   8504 	  lt_prog_compiler_pic='-KPIC'
   8505 	  lt_prog_compiler_static='-Bstatic'
   8506 	  lt_prog_compiler_wl='-Qoption ld '
   8507 	  ;;
   8508 	*Sun\ C*)
   8509 	  # Sun C 5.9
   8510 	  lt_prog_compiler_pic='-KPIC'
   8511 	  lt_prog_compiler_static='-Bstatic'
   8512 	  lt_prog_compiler_wl='-Wl,'
   8513 	  ;;
   8514         *Intel*\ [CF]*Compiler*)
   8515 	  lt_prog_compiler_wl='-Wl,'
   8516 	  lt_prog_compiler_pic='-fPIC'
   8517 	  lt_prog_compiler_static='-static'
   8518 	  ;;
   8519 	*Portland\ Group*)
   8520 	  lt_prog_compiler_wl='-Wl,'
   8521 	  lt_prog_compiler_pic='-fpic'
   8522 	  lt_prog_compiler_static='-Bstatic'
   8523 	  ;;
   8524 	esac
   8525 	;;
   8526       esac
   8527       ;;
   8528 
   8529     newsos6)
   8530       lt_prog_compiler_pic='-KPIC'
   8531       lt_prog_compiler_static='-Bstatic'
   8532       ;;
   8533 
   8534     *nto* | *qnx*)
   8535       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8536       # it will coredump.
   8537       lt_prog_compiler_pic='-fPIC -shared'
   8538       ;;
   8539 
   8540     osf3* | osf4* | osf5*)
   8541       lt_prog_compiler_wl='-Wl,'
   8542       # All OSF/1 code is PIC.
   8543       lt_prog_compiler_static='-non_shared'
   8544       ;;
   8545 
   8546     rdos*)
   8547       lt_prog_compiler_static='-non_shared'
   8548       ;;
   8549 
   8550     solaris*)
   8551       lt_prog_compiler_pic='-KPIC'
   8552       lt_prog_compiler_static='-Bstatic'
   8553       case $cc_basename in
   8554       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   8555 	lt_prog_compiler_wl='-Qoption ld ';;
   8556       *)
   8557 	lt_prog_compiler_wl='-Wl,';;
   8558       esac
   8559       ;;
   8560 
   8561     sunos4*)
   8562       lt_prog_compiler_wl='-Qoption ld '
   8563       lt_prog_compiler_pic='-PIC'
   8564       lt_prog_compiler_static='-Bstatic'
   8565       ;;
   8566 
   8567     sysv4 | sysv4.2uw2* | sysv4.3*)
   8568       lt_prog_compiler_wl='-Wl,'
   8569       lt_prog_compiler_pic='-KPIC'
   8570       lt_prog_compiler_static='-Bstatic'
   8571       ;;
   8572 
   8573     sysv4*MP*)
   8574       if test -d /usr/nec ;then
   8575 	lt_prog_compiler_pic='-Kconform_pic'
   8576 	lt_prog_compiler_static='-Bstatic'
   8577       fi
   8578       ;;
   8579 
   8580     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8581       lt_prog_compiler_wl='-Wl,'
   8582       lt_prog_compiler_pic='-KPIC'
   8583       lt_prog_compiler_static='-Bstatic'
   8584       ;;
   8585 
   8586     unicos*)
   8587       lt_prog_compiler_wl='-Wl,'
   8588       lt_prog_compiler_can_build_shared=no
   8589       ;;
   8590 
   8591     uts4*)
   8592       lt_prog_compiler_pic='-pic'
   8593       lt_prog_compiler_static='-Bstatic'
   8594       ;;
   8595 
   8596     *)
   8597       lt_prog_compiler_can_build_shared=no
   8598       ;;
   8599     esac
   8600   fi
   8601 
   8602 case $host_os in
   8603   # For platforms which do not support PIC, -DPIC is meaningless:
   8604   *djgpp*)
   8605     lt_prog_compiler_pic=
   8606     ;;
   8607   *)
   8608     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8609     ;;
   8610 esac
   8611 
   8612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8613 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8614 if ${lt_cv_prog_compiler_pic+:} false; then :
   8615   $as_echo_n "(cached) " >&6
   8616 else
   8617   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   8618 fi
   8619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   8620 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   8621 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   8622 
   8623 #
   8624 # Check to make sure the PIC flag actually works.
   8625 #
   8626 if test -n "$lt_prog_compiler_pic"; then
   8627   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8628 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8629 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8630   $as_echo_n "(cached) " >&6
   8631 else
   8632   lt_cv_prog_compiler_pic_works=no
   8633    ac_outfile=conftest.$ac_objext
   8634    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8635    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8636    # Insert the option either (1) after the last *FLAGS variable, or
   8637    # (2) before a word containing "conftest.", or (3) at the end.
   8638    # Note that $ac_compile itself does not contain backslashes and begins
   8639    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8640    # The option is referenced via a variable to avoid confusing sed.
   8641    lt_compile=`echo "$ac_compile" | $SED \
   8642    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8643    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8644    -e 's:$: $lt_compiler_flag:'`
   8645    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8646    (eval "$lt_compile" 2>conftest.err)
   8647    ac_status=$?
   8648    cat conftest.err >&5
   8649    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8650    if (exit $ac_status) && test -s "$ac_outfile"; then
   8651      # The compiler can only warn and ignore the option if not recognized
   8652      # So say no if there are warnings other than the usual output.
   8653      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8654      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8655      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8656        lt_cv_prog_compiler_pic_works=yes
   8657      fi
   8658    fi
   8659    $RM conftest*
   8660 
   8661 fi
   8662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8663 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8664 
   8665 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8666     case $lt_prog_compiler_pic in
   8667      "" | " "*) ;;
   8668      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8669      esac
   8670 else
   8671     lt_prog_compiler_pic=
   8672      lt_prog_compiler_can_build_shared=no
   8673 fi
   8674 
   8675 fi
   8676 
   8677 
   8678 
   8679 
   8680 
   8681 
   8682 
   8683 
   8684 
   8685 
   8686 
   8687 #
   8688 # Check to make sure the static flag actually works.
   8689 #
   8690 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8692 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8693 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8694   $as_echo_n "(cached) " >&6
   8695 else
   8696   lt_cv_prog_compiler_static_works=no
   8697    save_LDFLAGS="$LDFLAGS"
   8698    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8699    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8700    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8701      # The linker can only warn and ignore the option if not recognized
   8702      # So say no if there are warnings
   8703      if test -s conftest.err; then
   8704        # Append any errors to the config.log.
   8705        cat conftest.err 1>&5
   8706        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8707        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8708        if diff conftest.exp conftest.er2 >/dev/null; then
   8709          lt_cv_prog_compiler_static_works=yes
   8710        fi
   8711      else
   8712        lt_cv_prog_compiler_static_works=yes
   8713      fi
   8714    fi
   8715    $RM -r conftest*
   8716    LDFLAGS="$save_LDFLAGS"
   8717 
   8718 fi
   8719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8720 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8721 
   8722 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8723     :
   8724 else
   8725     lt_prog_compiler_static=
   8726 fi
   8727 
   8728 
   8729 
   8730 
   8731 
   8732 
   8733 
   8734   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8735 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8736 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8737   $as_echo_n "(cached) " >&6
   8738 else
   8739   lt_cv_prog_compiler_c_o=no
   8740    $RM -r conftest 2>/dev/null
   8741    mkdir conftest
   8742    cd conftest
   8743    mkdir out
   8744    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8745 
   8746    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8747    # Insert the option either (1) after the last *FLAGS variable, or
   8748    # (2) before a word containing "conftest.", or (3) at the end.
   8749    # Note that $ac_compile itself does not contain backslashes and begins
   8750    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8751    lt_compile=`echo "$ac_compile" | $SED \
   8752    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8753    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8754    -e 's:$: $lt_compiler_flag:'`
   8755    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8756    (eval "$lt_compile" 2>out/conftest.err)
   8757    ac_status=$?
   8758    cat out/conftest.err >&5
   8759    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8760    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8761    then
   8762      # The compiler can only warn and ignore the option if not recognized
   8763      # So say no if there are warnings
   8764      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8765      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8766      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8767        lt_cv_prog_compiler_c_o=yes
   8768      fi
   8769    fi
   8770    chmod u+w . 2>&5
   8771    $RM conftest*
   8772    # SGI C++ compiler will create directory out/ii_files/ for
   8773    # template instantiation
   8774    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8775    $RM out/* && rmdir out
   8776    cd ..
   8777    $RM -r conftest
   8778    $RM conftest*
   8779 
   8780 fi
   8781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8782 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8783 
   8784 
   8785 
   8786 
   8787 
   8788 
   8789   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8790 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8791 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8792   $as_echo_n "(cached) " >&6
   8793 else
   8794   lt_cv_prog_compiler_c_o=no
   8795    $RM -r conftest 2>/dev/null
   8796    mkdir conftest
   8797    cd conftest
   8798    mkdir out
   8799    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8800 
   8801    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8802    # Insert the option either (1) after the last *FLAGS variable, or
   8803    # (2) before a word containing "conftest.", or (3) at the end.
   8804    # Note that $ac_compile itself does not contain backslashes and begins
   8805    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8806    lt_compile=`echo "$ac_compile" | $SED \
   8807    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8808    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8809    -e 's:$: $lt_compiler_flag:'`
   8810    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8811    (eval "$lt_compile" 2>out/conftest.err)
   8812    ac_status=$?
   8813    cat out/conftest.err >&5
   8814    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8815    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8816    then
   8817      # The compiler can only warn and ignore the option if not recognized
   8818      # So say no if there are warnings
   8819      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8820      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8821      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8822        lt_cv_prog_compiler_c_o=yes
   8823      fi
   8824    fi
   8825    chmod u+w . 2>&5
   8826    $RM conftest*
   8827    # SGI C++ compiler will create directory out/ii_files/ for
   8828    # template instantiation
   8829    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8830    $RM out/* && rmdir out
   8831    cd ..
   8832    $RM -r conftest
   8833    $RM conftest*
   8834 
   8835 fi
   8836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8837 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8838 
   8839 
   8840 
   8841 
   8842 hard_links="nottested"
   8843 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8844   # do not overwrite the value of need_locks provided by the user
   8845   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   8846 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8847   hard_links=yes
   8848   $RM conftest*
   8849   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8850   touch conftest.a
   8851   ln conftest.a conftest.b 2>&5 || hard_links=no
   8852   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8853   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   8854 $as_echo "$hard_links" >&6; }
   8855   if test "$hard_links" = no; then
   8856     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8857 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8858     need_locks=warn
   8859   fi
   8860 else
   8861   need_locks=no
   8862 fi
   8863 
   8864 
   8865 
   8866 
   8867 
   8868 
   8869   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8870 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8871 
   8872   runpath_var=
   8873   allow_undefined_flag=
   8874   always_export_symbols=no
   8875   archive_cmds=
   8876   archive_expsym_cmds=
   8877   compiler_needs_object=no
   8878   enable_shared_with_static_runtimes=no
   8879   export_dynamic_flag_spec=
   8880   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8881   hardcode_automatic=no
   8882   hardcode_direct=no
   8883   hardcode_direct_absolute=no
   8884   hardcode_libdir_flag_spec=
   8885   hardcode_libdir_separator=
   8886   hardcode_minus_L=no
   8887   hardcode_shlibpath_var=unsupported
   8888   inherit_rpath=no
   8889   link_all_deplibs=unknown
   8890   module_cmds=
   8891   module_expsym_cmds=
   8892   old_archive_from_new_cmds=
   8893   old_archive_from_expsyms_cmds=
   8894   thread_safe_flag_spec=
   8895   whole_archive_flag_spec=
   8896   # include_expsyms should be a list of space-separated symbols to be *always*
   8897   # included in the symbol list
   8898   include_expsyms=
   8899   # exclude_expsyms can be an extended regexp of symbols to exclude
   8900   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8901   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8902   # as well as any symbol that contains `d'.
   8903   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8904   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8905   # platforms (ab)use it in PIC code, but their linkers get confused if
   8906   # the symbol is explicitly referenced.  Since portable code cannot
   8907   # rely on this symbol name, it's probably fine to never include it in
   8908   # preloaded symbol tables.
   8909   # Exclude shared library initialization/finalization symbols.
   8910   extract_expsyms_cmds=
   8911 
   8912   case $host_os in
   8913   cygwin* | mingw* | pw32* | cegcc*)
   8914     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8915     # When not using gcc, we currently assume that we are using
   8916     # Microsoft Visual C++.
   8917     if test "$GCC" != yes; then
   8918       with_gnu_ld=no
   8919     fi
   8920     ;;
   8921   interix*)
   8922     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8923     with_gnu_ld=yes
   8924     ;;
   8925   openbsd*)
   8926     with_gnu_ld=no
   8927     ;;
   8928   esac
   8929 
   8930   ld_shlibs=yes
   8931 
   8932   # On some targets, GNU ld is compatible enough with the native linker
   8933   # that we're better off using the native interface for both.
   8934   lt_use_gnu_ld_interface=no
   8935   if test "$with_gnu_ld" = yes; then
   8936     case $host_os in
   8937       aix*)
   8938 	# The AIX port of GNU ld has always aspired to compatibility
   8939 	# with the native linker.  However, as the warning in the GNU ld
   8940 	# block says, versions before 2.19.5* couldn't really create working
   8941 	# shared libraries, regardless of the interface used.
   8942 	case `$LD -v 2>&1` in
   8943 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   8944 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   8945 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   8946 	  *)
   8947 	    lt_use_gnu_ld_interface=yes
   8948 	    ;;
   8949 	esac
   8950 	;;
   8951       *)
   8952 	lt_use_gnu_ld_interface=yes
   8953 	;;
   8954     esac
   8955   fi
   8956 
   8957   if test "$lt_use_gnu_ld_interface" = yes; then
   8958     # If archive_cmds runs LD, not CC, wlarc should be empty
   8959     wlarc='${wl}'
   8960 
   8961     # Set some defaults for GNU ld with shared library support. These
   8962     # are reset later if shared libraries are not supported. Putting them
   8963     # here allows them to be overridden if necessary.
   8964     runpath_var=LD_RUN_PATH
   8965     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8966     export_dynamic_flag_spec='${wl}--export-dynamic'
   8967     # ancient GNU ld didn't support --whole-archive et. al.
   8968     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8969       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8970     else
   8971       whole_archive_flag_spec=
   8972     fi
   8973     supports_anon_versioning=no
   8974     case `$LD -v 2>&1` in
   8975       *GNU\ gold*) supports_anon_versioning=yes ;;
   8976       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8977       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8978       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8979       *\ 2.11.*) ;; # other 2.11 versions
   8980       *) supports_anon_versioning=yes ;;
   8981     esac
   8982 
   8983     # See if GNU ld supports shared libraries.
   8984     case $host_os in
   8985     aix[3-9]*)
   8986       # On AIX/PPC, the GNU linker is very broken
   8987       if test "$host_cpu" != ia64; then
   8988 	ld_shlibs=no
   8989 	cat <<_LT_EOF 1>&2
   8990 
   8991 *** Warning: the GNU linker, at least up to release 2.19, is reported
   8992 *** to be unable to reliably create shared libraries on AIX.
   8993 *** Therefore, libtool is disabling shared libraries support.  If you
   8994 *** really care for shared libraries, you may want to install binutils
   8995 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   8996 *** You will then need to restart the configuration process.
   8997 
   8998 _LT_EOF
   8999       fi
   9000       ;;
   9001 
   9002     amigaos*)
   9003       case $host_cpu in
   9004       powerpc)
   9005             # see comment about AmigaOS4 .so support
   9006             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9007             archive_expsym_cmds=''
   9008         ;;
   9009       m68k)
   9010             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)'
   9011             hardcode_libdir_flag_spec='-L$libdir'
   9012             hardcode_minus_L=yes
   9013         ;;
   9014       esac
   9015       ;;
   9016 
   9017     beos*)
   9018       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9019 	allow_undefined_flag=unsupported
   9020 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   9021 	# support --undefined.  This deserves some investigation.  FIXME
   9022 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9023       else
   9024 	ld_shlibs=no
   9025       fi
   9026       ;;
   9027 
   9028     cygwin* | mingw* | pw32* | cegcc*)
   9029       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   9030       # as there is no search path for DLLs.
   9031       hardcode_libdir_flag_spec='-L$libdir'
   9032       export_dynamic_flag_spec='${wl}--export-all-symbols'
   9033       allow_undefined_flag=unsupported
   9034       always_export_symbols=no
   9035       enable_shared_with_static_runtimes=yes
   9036       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'
   9037       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   9038 
   9039       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   9040         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9041 	# If the export-symbols file already is a .def file (1st line
   9042 	# is EXPORTS), use it as is; otherwise, prepend...
   9043 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9044 	  cp $export_symbols $output_objdir/$soname.def;
   9045 	else
   9046 	  echo EXPORTS > $output_objdir/$soname.def;
   9047 	  cat $export_symbols >> $output_objdir/$soname.def;
   9048 	fi~
   9049 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9050       else
   9051 	ld_shlibs=no
   9052       fi
   9053       ;;
   9054 
   9055     haiku*)
   9056       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9057       link_all_deplibs=yes
   9058       ;;
   9059 
   9060     interix[3-9]*)
   9061       hardcode_direct=no
   9062       hardcode_shlibpath_var=no
   9063       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9064       export_dynamic_flag_spec='${wl}-E'
   9065       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   9066       # Instead, shared libraries are loaded at an image base (0x10000000 by
   9067       # default) and relocated if they conflict, which is a slow very memory
   9068       # consuming and fragmenting process.  To avoid this, we pick a random,
   9069       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   9070       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   9071       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   9072       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'
   9073       ;;
   9074 
   9075     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   9076       tmp_diet=no
   9077       if test "$host_os" = linux-dietlibc; then
   9078 	case $cc_basename in
   9079 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   9080 	esac
   9081       fi
   9082       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   9083 	 && test "$tmp_diet" = no
   9084       then
   9085 	tmp_addflag=' $pic_flag'
   9086 	tmp_sharedflag='-shared'
   9087 	case $cc_basename,$host_cpu in
   9088         pgcc*)				# Portland Group C compiler
   9089 	  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'
   9090 	  tmp_addflag=' $pic_flag'
   9091 	  ;;
   9092 	pgf77* | pgf90* | pgf95* | pgfortran*)
   9093 					# Portland Group f77 and f90 compilers
   9094 	  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'
   9095 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   9096 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   9097 	  tmp_addflag=' -i_dynamic' ;;
   9098 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   9099 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   9100 	ifc* | ifort*)			# Intel Fortran compiler
   9101 	  tmp_addflag=' -nofor_main' ;;
   9102 	lf95*)				# Lahey Fortran 8.1
   9103 	  whole_archive_flag_spec=
   9104 	  tmp_sharedflag='--shared' ;;
   9105 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   9106 	  tmp_sharedflag='-qmkshrobj'
   9107 	  tmp_addflag= ;;
   9108 	nvcc*)	# Cuda Compiler Driver 2.2
   9109 	  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'
   9110 	  compiler_needs_object=yes
   9111 	  ;;
   9112 	esac
   9113 	case `$CC -V 2>&1 | sed 5q` in
   9114 	*Sun\ C*)			# Sun C 5.9
   9115 	  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'
   9116 	  compiler_needs_object=yes
   9117 	  tmp_sharedflag='-G' ;;
   9118 	*Sun\ F*)			# Sun Fortran 8.3
   9119 	  tmp_sharedflag='-G' ;;
   9120 	esac
   9121 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9122 
   9123         if test "x$supports_anon_versioning" = xyes; then
   9124           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9125 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9126 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   9127 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   9128         fi
   9129 
   9130 	case $cc_basename in
   9131 	xlf* | bgf* | bgxlf* | mpixlf*)
   9132 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   9133 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   9134 	  hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9135 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   9136 	  if test "x$supports_anon_versioning" = xyes; then
   9137 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9138 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9139 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   9140 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   9141 	  fi
   9142 	  ;;
   9143 	esac
   9144       else
   9145         ld_shlibs=no
   9146       fi
   9147       ;;
   9148 
   9149     netbsd*)
   9150       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9151 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   9152 	wlarc=
   9153       else
   9154 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9155 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9156       fi
   9157       ;;
   9158 
   9159     solaris*)
   9160       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   9161 	ld_shlibs=no
   9162 	cat <<_LT_EOF 1>&2
   9163 
   9164 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   9165 *** create shared libraries on Solaris systems.  Therefore, libtool
   9166 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9167 *** binutils to release 2.9.1 or newer.  Another option is to modify
   9168 *** your PATH or compiler configuration so that the native linker is
   9169 *** used, and then restart.
   9170 
   9171 _LT_EOF
   9172       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9173 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9174 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9175       else
   9176 	ld_shlibs=no
   9177       fi
   9178       ;;
   9179 
   9180     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   9181       case `$LD -v 2>&1` in
   9182         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   9183 	ld_shlibs=no
   9184 	cat <<_LT_EOF 1>&2
   9185 
   9186 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   9187 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   9188 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9189 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   9190 *** your PATH or compiler configuration so that the native linker is
   9191 *** used, and then restart.
   9192 
   9193 _LT_EOF
   9194 	;;
   9195 	*)
   9196 	  # For security reasons, it is highly recommended that you always
   9197 	  # use absolute paths for naming shared libraries, and exclude the
   9198 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   9199 	  # requires that you compile everything twice, which is a pain.
   9200 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9201 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9202 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9203 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9204 	  else
   9205 	    ld_shlibs=no
   9206 	  fi
   9207 	;;
   9208       esac
   9209       ;;
   9210 
   9211     sunos4*)
   9212       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9213       wlarc=
   9214       hardcode_direct=yes
   9215       hardcode_shlibpath_var=no
   9216       ;;
   9217 
   9218     *)
   9219       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9220 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9221 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9222       else
   9223 	ld_shlibs=no
   9224       fi
   9225       ;;
   9226     esac
   9227 
   9228     if test "$ld_shlibs" = no; then
   9229       runpath_var=
   9230       hardcode_libdir_flag_spec=
   9231       export_dynamic_flag_spec=
   9232       whole_archive_flag_spec=
   9233     fi
   9234   else
   9235     # PORTME fill in a description of your system's linker (not GNU ld)
   9236     case $host_os in
   9237     aix3*)
   9238       allow_undefined_flag=unsupported
   9239       always_export_symbols=yes
   9240       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'
   9241       # Note: this linker hardcodes the directories in LIBPATH if there
   9242       # are no directories specified by -L.
   9243       hardcode_minus_L=yes
   9244       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   9245 	# Neither direct hardcoding nor static linking is supported with a
   9246 	# broken collect2.
   9247 	hardcode_direct=unsupported
   9248       fi
   9249       ;;
   9250 
   9251     aix[4-9]*)
   9252       if test "$host_cpu" = ia64; then
   9253 	# On IA64, the linker does run time linking by default, so we don't
   9254 	# have to do anything special.
   9255 	aix_use_runtimelinking=no
   9256 	exp_sym_flag='-Bexport'
   9257 	no_entry_flag=""
   9258       else
   9259 	# If we're using GNU nm, then we don't want the "-C" option.
   9260 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   9261 	# Also, AIX nm treats weak defined symbols like other global
   9262 	# defined symbols, whereas GNU nm marks them as "W".
   9263 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   9264 	  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'
   9265 	else
   9266 	  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'
   9267 	fi
   9268 	aix_use_runtimelinking=no
   9269 
   9270 	# Test if we are trying to use run time linking or normal
   9271 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   9272 	# need to do runtime linking.
   9273 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   9274 	  for ld_flag in $LDFLAGS; do
   9275 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   9276 	    aix_use_runtimelinking=yes
   9277 	    break
   9278 	  fi
   9279 	  done
   9280 	  ;;
   9281 	esac
   9282 
   9283 	exp_sym_flag='-bexport'
   9284 	no_entry_flag='-bnoentry'
   9285       fi
   9286 
   9287       # When large executables or shared objects are built, AIX ld can
   9288       # have problems creating the table of contents.  If linking a library
   9289       # or program results in "error TOC overflow" add -mminimal-toc to
   9290       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   9291       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   9292 
   9293       archive_cmds=''
   9294       hardcode_direct=yes
   9295       hardcode_direct_absolute=yes
   9296       hardcode_libdir_separator=':'
   9297       link_all_deplibs=yes
   9298       file_list_spec='${wl}-f,'
   9299 
   9300       if test "$GCC" = yes; then
   9301 	case $host_os in aix4.[012]|aix4.[012].*)
   9302 	# We only want to do this on AIX 4.2 and lower, the check
   9303 	# below for broken collect2 doesn't work under 4.3+
   9304 	  collect2name=`${CC} -print-prog-name=collect2`
   9305 	  if test -f "$collect2name" &&
   9306 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   9307 	  then
   9308 	  # We have reworked collect2
   9309 	  :
   9310 	  else
   9311 	  # We have old collect2
   9312 	  hardcode_direct=unsupported
   9313 	  # It fails to find uninstalled libraries when the uninstalled
   9314 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   9315 	  # to unsupported forces relinking
   9316 	  hardcode_minus_L=yes
   9317 	  hardcode_libdir_flag_spec='-L$libdir'
   9318 	  hardcode_libdir_separator=
   9319 	  fi
   9320 	  ;;
   9321 	esac
   9322 	shared_flag='-shared'
   9323 	if test "$aix_use_runtimelinking" = yes; then
   9324 	  shared_flag="$shared_flag "'${wl}-G'
   9325 	fi
   9326       else
   9327 	# not using gcc
   9328 	if test "$host_cpu" = ia64; then
   9329 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   9330 	# chokes on -Wl,-G. The following line is correct:
   9331 	  shared_flag='-G'
   9332 	else
   9333 	  if test "$aix_use_runtimelinking" = yes; then
   9334 	    shared_flag='${wl}-G'
   9335 	  else
   9336 	    shared_flag='${wl}-bM:SRE'
   9337 	  fi
   9338 	fi
   9339       fi
   9340 
   9341       export_dynamic_flag_spec='${wl}-bexpall'
   9342       # It seems that -bexpall does not export symbols beginning with
   9343       # underscore (_), so it is better to generate a list of symbols to export.
   9344       always_export_symbols=yes
   9345       if test "$aix_use_runtimelinking" = yes; then
   9346 	# Warning - without using the other runtime loading flags (-brtl),
   9347 	# -berok will link without error, but may produce a broken library.
   9348 	allow_undefined_flag='-berok'
   9349         # Determine the default libpath from the value encoded in an
   9350         # empty executable.
   9351         if test "${lt_cv_aix_libpath+set}" = set; then
   9352   aix_libpath=$lt_cv_aix_libpath
   9353 else
   9354   if ${lt_cv_aix_libpath_+:} false; then :
   9355   $as_echo_n "(cached) " >&6
   9356 else
   9357   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9358 /* end confdefs.h.  */
   9359 
   9360 int
   9361 main ()
   9362 {
   9363 
   9364   ;
   9365   return 0;
   9366 }
   9367 _ACEOF
   9368 if ac_fn_c_try_link "$LINENO"; then :
   9369 
   9370   lt_aix_libpath_sed='
   9371       /Import File Strings/,/^$/ {
   9372 	  /^0/ {
   9373 	      s/^0  *\([^ ]*\) *$/\1/
   9374 	      p
   9375 	  }
   9376       }'
   9377   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9378   # Check for a 64-bit object if we didn't find anything.
   9379   if test -z "$lt_cv_aix_libpath_"; then
   9380     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9381   fi
   9382 fi
   9383 rm -f core conftest.err conftest.$ac_objext \
   9384     conftest$ac_exeext conftest.$ac_ext
   9385   if test -z "$lt_cv_aix_libpath_"; then
   9386     lt_cv_aix_libpath_="/usr/lib:/lib"
   9387   fi
   9388 
   9389 fi
   9390 
   9391   aix_libpath=$lt_cv_aix_libpath_
   9392 fi
   9393 
   9394         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9395         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"
   9396       else
   9397 	if test "$host_cpu" = ia64; then
   9398 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   9399 	  allow_undefined_flag="-z nodefs"
   9400 	  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"
   9401 	else
   9402 	 # Determine the default libpath from the value encoded in an
   9403 	 # empty executable.
   9404 	 if test "${lt_cv_aix_libpath+set}" = set; then
   9405   aix_libpath=$lt_cv_aix_libpath
   9406 else
   9407   if ${lt_cv_aix_libpath_+:} false; then :
   9408   $as_echo_n "(cached) " >&6
   9409 else
   9410   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9411 /* end confdefs.h.  */
   9412 
   9413 int
   9414 main ()
   9415 {
   9416 
   9417   ;
   9418   return 0;
   9419 }
   9420 _ACEOF
   9421 if ac_fn_c_try_link "$LINENO"; then :
   9422 
   9423   lt_aix_libpath_sed='
   9424       /Import File Strings/,/^$/ {
   9425 	  /^0/ {
   9426 	      s/^0  *\([^ ]*\) *$/\1/
   9427 	      p
   9428 	  }
   9429       }'
   9430   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9431   # Check for a 64-bit object if we didn't find anything.
   9432   if test -z "$lt_cv_aix_libpath_"; then
   9433     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9434   fi
   9435 fi
   9436 rm -f core conftest.err conftest.$ac_objext \
   9437     conftest$ac_exeext conftest.$ac_ext
   9438   if test -z "$lt_cv_aix_libpath_"; then
   9439     lt_cv_aix_libpath_="/usr/lib:/lib"
   9440   fi
   9441 
   9442 fi
   9443 
   9444   aix_libpath=$lt_cv_aix_libpath_
   9445 fi
   9446 
   9447 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9448 	  # Warning - without using the other run time loading flags,
   9449 	  # -berok will link without error, but may produce a broken library.
   9450 	  no_undefined_flag=' ${wl}-bernotok'
   9451 	  allow_undefined_flag=' ${wl}-berok'
   9452 	  if test "$with_gnu_ld" = yes; then
   9453 	    # We only use this code for GNU lds that support --whole-archive.
   9454 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   9455 	  else
   9456 	    # Exported symbols can be pulled into shared objects from archives
   9457 	    whole_archive_flag_spec='$convenience'
   9458 	  fi
   9459 	  archive_cmds_need_lc=yes
   9460 	  # This is similar to how AIX traditionally builds its shared libraries.
   9461 	  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'
   9462 	fi
   9463       fi
   9464       ;;
   9465 
   9466     amigaos*)
   9467       case $host_cpu in
   9468       powerpc)
   9469             # see comment about AmigaOS4 .so support
   9470             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9471             archive_expsym_cmds=''
   9472         ;;
   9473       m68k)
   9474             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)'
   9475             hardcode_libdir_flag_spec='-L$libdir'
   9476             hardcode_minus_L=yes
   9477         ;;
   9478       esac
   9479       ;;
   9480 
   9481     bsdi[45]*)
   9482       export_dynamic_flag_spec=-rdynamic
   9483       ;;
   9484 
   9485     cygwin* | mingw* | pw32* | cegcc*)
   9486       # When not using gcc, we currently assume that we are using
   9487       # Microsoft Visual C++.
   9488       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9489       # no search path for DLLs.
   9490       case $cc_basename in
   9491       cl*)
   9492 	# Native MSVC
   9493 	hardcode_libdir_flag_spec=' '
   9494 	allow_undefined_flag=unsupported
   9495 	always_export_symbols=yes
   9496 	file_list_spec='@'
   9497 	# Tell ltmain to make .lib files, not .a files.
   9498 	libext=lib
   9499 	# Tell ltmain to make .dll files, not .so files.
   9500 	shrext_cmds=".dll"
   9501 	# FIXME: Setting linknames here is a bad hack.
   9502 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
   9503 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9504 	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
   9505 	  else
   9506 	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
   9507 	  fi~
   9508 	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   9509 	  linknames='
   9510 	# The linker will not automatically build a static lib if we build a DLL.
   9511 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   9512 	enable_shared_with_static_runtimes=yes
   9513 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   9514 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9515 	# Don't use ranlib
   9516 	old_postinstall_cmds='chmod 644 $oldlib'
   9517 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   9518 	  lt_tool_outputfile="@TOOL_OUTPUT@"~
   9519 	  case $lt_outputfile in
   9520 	    *.exe|*.EXE) ;;
   9521 	    *)
   9522 	      lt_outputfile="$lt_outputfile.exe"
   9523 	      lt_tool_outputfile="$lt_tool_outputfile.exe"
   9524 	      ;;
   9525 	  esac~
   9526 	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
   9527 	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   9528 	    $RM "$lt_outputfile.manifest";
   9529 	  fi'
   9530 	;;
   9531       *)
   9532 	# Assume MSVC wrapper
   9533 	hardcode_libdir_flag_spec=' '
   9534 	allow_undefined_flag=unsupported
   9535 	# Tell ltmain to make .lib files, not .a files.
   9536 	libext=lib
   9537 	# Tell ltmain to make .dll files, not .so files.
   9538 	shrext_cmds=".dll"
   9539 	# FIXME: Setting linknames here is a bad hack.
   9540 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9541 	# The linker will automatically build a .lib file if we build a DLL.
   9542 	old_archive_from_new_cmds='true'
   9543 	# FIXME: Should let the user specify the lib program.
   9544 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9545 	enable_shared_with_static_runtimes=yes
   9546 	;;
   9547       esac
   9548       ;;
   9549 
   9550     darwin* | rhapsody*)
   9551 
   9552 
   9553   archive_cmds_need_lc=no
   9554   hardcode_direct=no
   9555   hardcode_automatic=yes
   9556   hardcode_shlibpath_var=unsupported
   9557   if test "$lt_cv_ld_force_load" = "yes"; then
   9558     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\"`'
   9559 
   9560   else
   9561     whole_archive_flag_spec=''
   9562   fi
   9563   link_all_deplibs=yes
   9564   allow_undefined_flag="$_lt_dar_allow_undefined"
   9565   case $cc_basename in
   9566      ifort*) _lt_dar_can_shared=yes ;;
   9567      *) _lt_dar_can_shared=$GCC ;;
   9568   esac
   9569   if test "$_lt_dar_can_shared" = "yes"; then
   9570     output_verbose_link_cmd=func_echo_all
   9571     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9572     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9573     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}"
   9574     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}"
   9575 
   9576   else
   9577   ld_shlibs=no
   9578   fi
   9579 
   9580       ;;
   9581 
   9582     dgux*)
   9583       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9584       hardcode_libdir_flag_spec='-L$libdir'
   9585       hardcode_shlibpath_var=no
   9586       ;;
   9587 
   9588     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9589     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9590     # does not break anything, and helps significantly (at the cost of a little
   9591     # extra space).
   9592     freebsd2.2*)
   9593       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9594       hardcode_libdir_flag_spec='-R$libdir'
   9595       hardcode_direct=yes
   9596       hardcode_shlibpath_var=no
   9597       ;;
   9598 
   9599     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9600     freebsd2.*)
   9601       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9602       hardcode_direct=yes
   9603       hardcode_minus_L=yes
   9604       hardcode_shlibpath_var=no
   9605       ;;
   9606 
   9607     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9608     freebsd* | dragonfly*)
   9609       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9610       hardcode_libdir_flag_spec='-R$libdir'
   9611       hardcode_direct=yes
   9612       hardcode_shlibpath_var=no
   9613       ;;
   9614 
   9615     hpux9*)
   9616       if test "$GCC" = yes; then
   9617 	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'
   9618       else
   9619 	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'
   9620       fi
   9621       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9622       hardcode_libdir_separator=:
   9623       hardcode_direct=yes
   9624 
   9625       # hardcode_minus_L: Not really in the search PATH,
   9626       # but as the default location of the library.
   9627       hardcode_minus_L=yes
   9628       export_dynamic_flag_spec='${wl}-E'
   9629       ;;
   9630 
   9631     hpux10*)
   9632       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9633 	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9634       else
   9635 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9636       fi
   9637       if test "$with_gnu_ld" = no; then
   9638 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9639 	hardcode_libdir_separator=:
   9640 	hardcode_direct=yes
   9641 	hardcode_direct_absolute=yes
   9642 	export_dynamic_flag_spec='${wl}-E'
   9643 	# hardcode_minus_L: Not really in the search PATH,
   9644 	# but as the default location of the library.
   9645 	hardcode_minus_L=yes
   9646       fi
   9647       ;;
   9648 
   9649     hpux11*)
   9650       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9651 	case $host_cpu in
   9652 	hppa*64*)
   9653 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9654 	  ;;
   9655 	ia64*)
   9656 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9657 	  ;;
   9658 	*)
   9659 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9660 	  ;;
   9661 	esac
   9662       else
   9663 	case $host_cpu in
   9664 	hppa*64*)
   9665 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9666 	  ;;
   9667 	ia64*)
   9668 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9669 	  ;;
   9670 	*)
   9671 
   9672 	  # Older versions of the 11.00 compiler do not understand -b yet
   9673 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9674 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9675 $as_echo_n "checking if $CC understands -b... " >&6; }
   9676 if ${lt_cv_prog_compiler__b+:} false; then :
   9677   $as_echo_n "(cached) " >&6
   9678 else
   9679   lt_cv_prog_compiler__b=no
   9680    save_LDFLAGS="$LDFLAGS"
   9681    LDFLAGS="$LDFLAGS -b"
   9682    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9683    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9684      # The linker can only warn and ignore the option if not recognized
   9685      # So say no if there are warnings
   9686      if test -s conftest.err; then
   9687        # Append any errors to the config.log.
   9688        cat conftest.err 1>&5
   9689        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9690        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9691        if diff conftest.exp conftest.er2 >/dev/null; then
   9692          lt_cv_prog_compiler__b=yes
   9693        fi
   9694      else
   9695        lt_cv_prog_compiler__b=yes
   9696      fi
   9697    fi
   9698    $RM -r conftest*
   9699    LDFLAGS="$save_LDFLAGS"
   9700 
   9701 fi
   9702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   9703 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   9704 
   9705 if test x"$lt_cv_prog_compiler__b" = xyes; then
   9706     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9707 else
   9708     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9709 fi
   9710 
   9711 	  ;;
   9712 	esac
   9713       fi
   9714       if test "$with_gnu_ld" = no; then
   9715 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9716 	hardcode_libdir_separator=:
   9717 
   9718 	case $host_cpu in
   9719 	hppa*64*|ia64*)
   9720 	  hardcode_direct=no
   9721 	  hardcode_shlibpath_var=no
   9722 	  ;;
   9723 	*)
   9724 	  hardcode_direct=yes
   9725 	  hardcode_direct_absolute=yes
   9726 	  export_dynamic_flag_spec='${wl}-E'
   9727 
   9728 	  # hardcode_minus_L: Not really in the search PATH,
   9729 	  # but as the default location of the library.
   9730 	  hardcode_minus_L=yes
   9731 	  ;;
   9732 	esac
   9733       fi
   9734       ;;
   9735 
   9736     irix5* | irix6* | nonstopux*)
   9737       if test "$GCC" = yes; then
   9738 	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'
   9739 	# Try to use the -exported_symbol ld option, if it does not
   9740 	# work, assume that -exports_file does not work either and
   9741 	# implicitly export all symbols.
   9742 	# This should be the same for all languages, so no per-tag cache variable.
   9743 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   9744 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   9745 if ${lt_cv_irix_exported_symbol+:} false; then :
   9746   $as_echo_n "(cached) " >&6
   9747 else
   9748   save_LDFLAGS="$LDFLAGS"
   9749 	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9750 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9751 /* end confdefs.h.  */
   9752 int foo (void) { return 0; }
   9753 _ACEOF
   9754 if ac_fn_c_try_link "$LINENO"; then :
   9755   lt_cv_irix_exported_symbol=yes
   9756 else
   9757   lt_cv_irix_exported_symbol=no
   9758 fi
   9759 rm -f core conftest.err conftest.$ac_objext \
   9760     conftest$ac_exeext conftest.$ac_ext
   9761            LDFLAGS="$save_LDFLAGS"
   9762 fi
   9763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   9764 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   9765 	if test "$lt_cv_irix_exported_symbol" = yes; then
   9766           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'
   9767 	fi
   9768       else
   9769 	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'
   9770 	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'
   9771       fi
   9772       archive_cmds_need_lc='no'
   9773       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9774       hardcode_libdir_separator=:
   9775       inherit_rpath=yes
   9776       link_all_deplibs=yes
   9777       ;;
   9778 
   9779     netbsd*)
   9780       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9781 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9782       else
   9783 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9784       fi
   9785       hardcode_libdir_flag_spec='-R$libdir'
   9786       hardcode_direct=yes
   9787       hardcode_shlibpath_var=no
   9788       ;;
   9789 
   9790     newsos6)
   9791       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9792       hardcode_direct=yes
   9793       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9794       hardcode_libdir_separator=:
   9795       hardcode_shlibpath_var=no
   9796       ;;
   9797 
   9798     *nto* | *qnx*)
   9799       ;;
   9800 
   9801     openbsd*)
   9802       if test -f /usr/libexec/ld.so; then
   9803 	hardcode_direct=yes
   9804 	hardcode_shlibpath_var=no
   9805 	hardcode_direct_absolute=yes
   9806 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9807 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9808 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9809 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9810 	  export_dynamic_flag_spec='${wl}-E'
   9811 	else
   9812 	  case $host_os in
   9813 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9814 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9815 	     hardcode_libdir_flag_spec='-R$libdir'
   9816 	     ;;
   9817 	   *)
   9818 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9819 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9820 	     ;;
   9821 	  esac
   9822 	fi
   9823       else
   9824 	ld_shlibs=no
   9825       fi
   9826       ;;
   9827 
   9828     os2*)
   9829       hardcode_libdir_flag_spec='-L$libdir'
   9830       hardcode_minus_L=yes
   9831       allow_undefined_flag=unsupported
   9832       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'
   9833       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9834       ;;
   9835 
   9836     osf3*)
   9837       if test "$GCC" = yes; then
   9838 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9839 	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'
   9840       else
   9841 	allow_undefined_flag=' -expect_unresolved \*'
   9842 	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'
   9843       fi
   9844       archive_cmds_need_lc='no'
   9845       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9846       hardcode_libdir_separator=:
   9847       ;;
   9848 
   9849     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9850       if test "$GCC" = yes; then
   9851 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9852 	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'
   9853 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9854       else
   9855 	allow_undefined_flag=' -expect_unresolved \*'
   9856 	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'
   9857 	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~
   9858 	$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'
   9859 
   9860 	# Both c and cxx compiler support -rpath directly
   9861 	hardcode_libdir_flag_spec='-rpath $libdir'
   9862       fi
   9863       archive_cmds_need_lc='no'
   9864       hardcode_libdir_separator=:
   9865       ;;
   9866 
   9867     solaris*)
   9868       no_undefined_flag=' -z defs'
   9869       if test "$GCC" = yes; then
   9870 	wlarc='${wl}'
   9871 	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9872 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9873 	  $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'
   9874       else
   9875 	case `$CC -V 2>&1` in
   9876 	*"Compilers 5.0"*)
   9877 	  wlarc=''
   9878 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9879 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9880 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9881 	  ;;
   9882 	*)
   9883 	  wlarc='${wl}'
   9884 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9885 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9886 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9887 	  ;;
   9888 	esac
   9889       fi
   9890       hardcode_libdir_flag_spec='-R$libdir'
   9891       hardcode_shlibpath_var=no
   9892       case $host_os in
   9893       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9894       *)
   9895 	# The compiler driver will combine and reorder linker options,
   9896 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9897 	# but is careful enough not to reorder.
   9898 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9899 	if test "$GCC" = yes; then
   9900 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9901 	else
   9902 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9903 	fi
   9904 	;;
   9905       esac
   9906       link_all_deplibs=yes
   9907       ;;
   9908 
   9909     sunos4*)
   9910       if test "x$host_vendor" = xsequent; then
   9911 	# Use $CC to link under sequent, because it throws in some extra .o
   9912 	# files that make .init and .fini sections work.
   9913 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9914       else
   9915 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9916       fi
   9917       hardcode_libdir_flag_spec='-L$libdir'
   9918       hardcode_direct=yes
   9919       hardcode_minus_L=yes
   9920       hardcode_shlibpath_var=no
   9921       ;;
   9922 
   9923     sysv4)
   9924       case $host_vendor in
   9925 	sni)
   9926 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9927 	  hardcode_direct=yes # is this really true???
   9928 	;;
   9929 	siemens)
   9930 	  ## LD is ld it makes a PLAMLIB
   9931 	  ## CC just makes a GrossModule.
   9932 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9933 	  reload_cmds='$CC -r -o $output$reload_objs'
   9934 	  hardcode_direct=no
   9935         ;;
   9936 	motorola)
   9937 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9938 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9939 	;;
   9940       esac
   9941       runpath_var='LD_RUN_PATH'
   9942       hardcode_shlibpath_var=no
   9943       ;;
   9944 
   9945     sysv4.3*)
   9946       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9947       hardcode_shlibpath_var=no
   9948       export_dynamic_flag_spec='-Bexport'
   9949       ;;
   9950 
   9951     sysv4*MP*)
   9952       if test -d /usr/nec; then
   9953 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9954 	hardcode_shlibpath_var=no
   9955 	runpath_var=LD_RUN_PATH
   9956 	hardcode_runpath_var=yes
   9957 	ld_shlibs=yes
   9958       fi
   9959       ;;
   9960 
   9961     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9962       no_undefined_flag='${wl}-z,text'
   9963       archive_cmds_need_lc=no
   9964       hardcode_shlibpath_var=no
   9965       runpath_var='LD_RUN_PATH'
   9966 
   9967       if test "$GCC" = yes; then
   9968 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9969 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9970       else
   9971 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9972 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9973       fi
   9974       ;;
   9975 
   9976     sysv5* | sco3.2v5* | sco5v6*)
   9977       # Note: We can NOT use -z defs as we might desire, because we do not
   9978       # link with -lc, and that would cause any symbols used from libc to
   9979       # always be unresolved, which means just about no library would
   9980       # ever link correctly.  If we're not using GNU ld we use -z text
   9981       # though, which does catch some bad symbols but isn't as heavy-handed
   9982       # as -z defs.
   9983       no_undefined_flag='${wl}-z,text'
   9984       allow_undefined_flag='${wl}-z,nodefs'
   9985       archive_cmds_need_lc=no
   9986       hardcode_shlibpath_var=no
   9987       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9988       hardcode_libdir_separator=':'
   9989       link_all_deplibs=yes
   9990       export_dynamic_flag_spec='${wl}-Bexport'
   9991       runpath_var='LD_RUN_PATH'
   9992 
   9993       if test "$GCC" = yes; then
   9994 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9995 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9996       else
   9997 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9998 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9999       fi
   10000       ;;
   10001 
   10002     uts4*)
   10003       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10004       hardcode_libdir_flag_spec='-L$libdir'
   10005       hardcode_shlibpath_var=no
   10006       ;;
   10007 
   10008     *)
   10009       ld_shlibs=no
   10010       ;;
   10011     esac
   10012 
   10013     if test x$host_vendor = xsni; then
   10014       case $host in
   10015       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   10016 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   10017 	;;
   10018       esac
   10019     fi
   10020   fi
   10021 
   10022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   10023 $as_echo "$ld_shlibs" >&6; }
   10024 test "$ld_shlibs" = no && can_build_shared=no
   10025 
   10026 with_gnu_ld=$with_gnu_ld
   10027 
   10028 
   10029 
   10030 
   10031 
   10032 
   10033 
   10034 
   10035 
   10036 
   10037 
   10038 
   10039 
   10040 
   10041 
   10042 #
   10043 # Do we need to explicitly link libc?
   10044 #
   10045 case "x$archive_cmds_need_lc" in
   10046 x|xyes)
   10047   # Assume -lc should be added
   10048   archive_cmds_need_lc=yes
   10049 
   10050   if test "$enable_shared" = yes && test "$GCC" = yes; then
   10051     case $archive_cmds in
   10052     *'~'*)
   10053       # FIXME: we may have to deal with multi-command sequences.
   10054       ;;
   10055     '$CC '*)
   10056       # Test whether the compiler implicitly links with -lc since on some
   10057       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   10058       # to ld, don't add -lc before -lgcc.
   10059       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   10060 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   10061 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   10062   $as_echo_n "(cached) " >&6
   10063 else
   10064   $RM conftest*
   10065 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10066 
   10067 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   10068   (eval $ac_compile) 2>&5
   10069   ac_status=$?
   10070   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10071   test $ac_status = 0; } 2>conftest.err; then
   10072 	  soname=conftest
   10073 	  lib=conftest
   10074 	  libobjs=conftest.$ac_objext
   10075 	  deplibs=
   10076 	  wl=$lt_prog_compiler_wl
   10077 	  pic_flag=$lt_prog_compiler_pic
   10078 	  compiler_flags=-v
   10079 	  linker_flags=-v
   10080 	  verstring=
   10081 	  output_objdir=.
   10082 	  libname=conftest
   10083 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   10084 	  allow_undefined_flag=
   10085 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   10086   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   10087   ac_status=$?
   10088   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10089   test $ac_status = 0; }
   10090 	  then
   10091 	    lt_cv_archive_cmds_need_lc=no
   10092 	  else
   10093 	    lt_cv_archive_cmds_need_lc=yes
   10094 	  fi
   10095 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   10096 	else
   10097 	  cat conftest.err 1>&5
   10098 	fi
   10099 	$RM conftest*
   10100 
   10101 fi
   10102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   10103 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   10104       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   10105       ;;
   10106     esac
   10107   fi
   10108   ;;
   10109 esac
   10110 
   10111 
   10112 
   10113 
   10114 
   10115 
   10116 
   10117 
   10118 
   10119 
   10120 
   10121 
   10122 
   10123 
   10124 
   10125 
   10126 
   10127 
   10128 
   10129 
   10130 
   10131 
   10132 
   10133 
   10134 
   10135 
   10136 
   10137 
   10138 
   10139 
   10140 
   10141 
   10142 
   10143 
   10144 
   10145 
   10146 
   10147 
   10148 
   10149 
   10150 
   10151 
   10152 
   10153 
   10154 
   10155 
   10156 
   10157 
   10158 
   10159 
   10160 
   10161 
   10162 
   10163 
   10164 
   10165 
   10166 
   10167 
   10168 
   10169 
   10170 
   10171 
   10172 
   10173 
   10174 
   10175 
   10176 
   10177 
   10178 
   10179 
   10180 
   10181 
   10182 
   10183 
   10184 
   10185 
   10186 
   10187 
   10188 
   10189 
   10190 
   10191 
   10192 
   10193 
   10194 
   10195 
   10196 
   10197 
   10198 
   10199 
   10200 
   10201 
   10202 
   10203 
   10204 
   10205 
   10206 
   10207 
   10208 
   10209 
   10210 
   10211 
   10212 
   10213 
   10214 
   10215 
   10216 
   10217 
   10218 
   10219 
   10220 
   10221 
   10222 
   10223 
   10224 
   10225 
   10226 
   10227 
   10228 
   10229 
   10230 
   10231 
   10232 
   10233 
   10234 
   10235 
   10236 
   10237 
   10238 
   10239 
   10240 
   10241 
   10242 
   10243 
   10244 
   10245 
   10246 
   10247 
   10248 
   10249 
   10250 
   10251 
   10252 
   10253 
   10254 
   10255 
   10256 
   10257 
   10258 
   10259 
   10260 
   10261 
   10262   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   10263 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   10264 
   10265 if test "$GCC" = yes; then
   10266   case $host_os in
   10267     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   10268     *) lt_awk_arg="/^libraries:/" ;;
   10269   esac
   10270   case $host_os in
   10271     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   10272     *) lt_sed_strip_eq="s,=/,/,g" ;;
   10273   esac
   10274   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   10275   case $lt_search_path_spec in
   10276   *\;*)
   10277     # if the path contains ";" then we assume it to be the separator
   10278     # otherwise default to the standard path separator (i.e. ":") - it is
   10279     # assumed that no part of a normal pathname contains ";" but that should
   10280     # okay in the real world where ";" in dirpaths is itself problematic.
   10281     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   10282     ;;
   10283   *)
   10284     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   10285     ;;
   10286   esac
   10287   # Ok, now we have the path, separated by spaces, we can step through it
   10288   # and add multilib dir if necessary.
   10289   lt_tmp_lt_search_path_spec=
   10290   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   10291   for lt_sys_path in $lt_search_path_spec; do
   10292     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   10293       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   10294     else
   10295       test -d "$lt_sys_path" && \
   10296 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   10297     fi
   10298   done
   10299   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   10300 BEGIN {RS=" "; FS="/|\n";} {
   10301   lt_foo="";
   10302   lt_count=0;
   10303   for (lt_i = NF; lt_i > 0; lt_i--) {
   10304     if ($lt_i != "" && $lt_i != ".") {
   10305       if ($lt_i == "..") {
   10306         lt_count++;
   10307       } else {
   10308         if (lt_count == 0) {
   10309           lt_foo="/" $lt_i lt_foo;
   10310         } else {
   10311           lt_count--;
   10312         }
   10313       }
   10314     }
   10315   }
   10316   if (lt_foo != "") { lt_freq[lt_foo]++; }
   10317   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   10318 }'`
   10319   # AWK program above erroneously prepends '/' to C:/dos/paths
   10320   # for these hosts.
   10321   case $host_os in
   10322     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   10323       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   10324   esac
   10325   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   10326 else
   10327   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   10328 fi
   10329 library_names_spec=
   10330 libname_spec='lib$name'
   10331 soname_spec=
   10332 shrext_cmds=".so"
   10333 postinstall_cmds=
   10334 postuninstall_cmds=
   10335 finish_cmds=
   10336 finish_eval=
   10337 shlibpath_var=
   10338 shlibpath_overrides_runpath=unknown
   10339 version_type=none
   10340 dynamic_linker="$host_os ld.so"
   10341 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   10342 need_lib_prefix=unknown
   10343 hardcode_into_libs=no
   10344 
   10345 # when you set need_version to no, make sure it does not cause -set_version
   10346 # flags to be left without arguments
   10347 need_version=unknown
   10348 
   10349 case $host_os in
   10350 aix3*)
   10351   version_type=linux # correct to gnu/linux during the next big refactor
   10352   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   10353   shlibpath_var=LIBPATH
   10354 
   10355   # AIX 3 has no versioning support, so we append a major version to the name.
   10356   soname_spec='${libname}${release}${shared_ext}$major'
   10357   ;;
   10358 
   10359 aix[4-9]*)
   10360   version_type=linux # correct to gnu/linux during the next big refactor
   10361   need_lib_prefix=no
   10362   need_version=no
   10363   hardcode_into_libs=yes
   10364   if test "$host_cpu" = ia64; then
   10365     # AIX 5 supports IA64
   10366     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   10367     shlibpath_var=LD_LIBRARY_PATH
   10368   else
   10369     # With GCC up to 2.95.x, collect2 would create an import file
   10370     # for dependence libraries.  The import file would start with
   10371     # the line `#! .'.  This would cause the generated library to
   10372     # depend on `.', always an invalid library.  This was fixed in
   10373     # development snapshots of GCC prior to 3.0.
   10374     case $host_os in
   10375       aix4 | aix4.[01] | aix4.[01].*)
   10376       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   10377 	   echo ' yes '
   10378 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   10379 	:
   10380       else
   10381 	can_build_shared=no
   10382       fi
   10383       ;;
   10384     esac
   10385     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   10386     # soname into executable. Probably we can add versioning support to
   10387     # collect2, so additional links can be useful in future.
   10388     if test "$aix_use_runtimelinking" = yes; then
   10389       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   10390       # instead of lib<name>.a to let people know that these are not
   10391       # typical AIX shared libraries.
   10392       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10393     else
   10394       # We preserve .a as extension for shared libraries through AIX4.2
   10395       # and later when we are not doing run time linking.
   10396       library_names_spec='${libname}${release}.a $libname.a'
   10397       soname_spec='${libname}${release}${shared_ext}$major'
   10398     fi
   10399     shlibpath_var=LIBPATH
   10400   fi
   10401   ;;
   10402 
   10403 amigaos*)
   10404   case $host_cpu in
   10405   powerpc)
   10406     # Since July 2007 AmigaOS4 officially supports .so libraries.
   10407     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   10408     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10409     ;;
   10410   m68k)
   10411     library_names_spec='$libname.ixlibrary $libname.a'
   10412     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   10413     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'
   10414     ;;
   10415   esac
   10416   ;;
   10417 
   10418 beos*)
   10419   library_names_spec='${libname}${shared_ext}'
   10420   dynamic_linker="$host_os ld.so"
   10421   shlibpath_var=LIBRARY_PATH
   10422   ;;
   10423 
   10424 bsdi[45]*)
   10425   version_type=linux # correct to gnu/linux during the next big refactor
   10426   need_version=no
   10427   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10428   soname_spec='${libname}${release}${shared_ext}$major'
   10429   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10430   shlibpath_var=LD_LIBRARY_PATH
   10431   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10432   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10433   # the default ld.so.conf also contains /usr/contrib/lib and
   10434   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10435   # libtool to hard-code these into programs
   10436   ;;
   10437 
   10438 cygwin* | mingw* | pw32* | cegcc*)
   10439   version_type=windows
   10440   shrext_cmds=".dll"
   10441   need_version=no
   10442   need_lib_prefix=no
   10443 
   10444   case $GCC,$cc_basename in
   10445   yes,*)
   10446     # gcc
   10447     library_names_spec='$libname.dll.a'
   10448     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10449     postinstall_cmds='base_file=`basename \${file}`~
   10450       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10451       dldir=$destdir/`dirname \$dlpath`~
   10452       test -d \$dldir || mkdir -p \$dldir~
   10453       $install_prog $dir/$dlname \$dldir/$dlname~
   10454       chmod a+x \$dldir/$dlname~
   10455       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10456         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10457       fi'
   10458     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10459       dlpath=$dir/\$dldll~
   10460        $RM \$dlpath'
   10461     shlibpath_overrides_runpath=yes
   10462 
   10463     case $host_os in
   10464     cygwin*)
   10465       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10466       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10467 
   10468       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10469       ;;
   10470     mingw* | cegcc*)
   10471       # MinGW DLLs use traditional 'lib' prefix
   10472       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10473       ;;
   10474     pw32*)
   10475       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10476       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10477       ;;
   10478     esac
   10479     dynamic_linker='Win32 ld.exe'
   10480     ;;
   10481 
   10482   *,cl*)
   10483     # Native MSVC
   10484     libname_spec='$name'
   10485     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10486     library_names_spec='${libname}.dll.lib'
   10487 
   10488     case $build_os in
   10489     mingw*)
   10490       sys_lib_search_path_spec=
   10491       lt_save_ifs=$IFS
   10492       IFS=';'
   10493       for lt_path in $LIB
   10494       do
   10495         IFS=$lt_save_ifs
   10496         # Let DOS variable expansion print the short 8.3 style file name.
   10497         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   10498         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   10499       done
   10500       IFS=$lt_save_ifs
   10501       # Convert to MSYS style.
   10502       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   10503       ;;
   10504     cygwin*)
   10505       # Convert to unix form, then to dos form, then back to unix form
   10506       # but this time dos style (no spaces!) so that the unix form looks
   10507       # like /cygdrive/c/PROGRA~1:/cygdr...
   10508       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   10509       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   10510       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10511       ;;
   10512     *)
   10513       sys_lib_search_path_spec="$LIB"
   10514       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   10515         # It is most probably a Windows format PATH.
   10516         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   10517       else
   10518         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10519       fi
   10520       # FIXME: find the short name or the path components, as spaces are
   10521       # common. (e.g. "Program Files" -> "PROGRA~1")
   10522       ;;
   10523     esac
   10524 
   10525     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10526     postinstall_cmds='base_file=`basename \${file}`~
   10527       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10528       dldir=$destdir/`dirname \$dlpath`~
   10529       test -d \$dldir || mkdir -p \$dldir~
   10530       $install_prog $dir/$dlname \$dldir/$dlname'
   10531     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10532       dlpath=$dir/\$dldll~
   10533        $RM \$dlpath'
   10534     shlibpath_overrides_runpath=yes
   10535     dynamic_linker='Win32 link.exe'
   10536     ;;
   10537 
   10538   *)
   10539     # Assume MSVC wrapper
   10540     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10541     dynamic_linker='Win32 ld.exe'
   10542     ;;
   10543   esac
   10544   # FIXME: first we should search . and the directory the executable is in
   10545   shlibpath_var=PATH
   10546   ;;
   10547 
   10548 darwin* | rhapsody*)
   10549   dynamic_linker="$host_os dyld"
   10550   version_type=darwin
   10551   need_lib_prefix=no
   10552   need_version=no
   10553   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10554   soname_spec='${libname}${release}${major}$shared_ext'
   10555   shlibpath_overrides_runpath=yes
   10556   shlibpath_var=DYLD_LIBRARY_PATH
   10557   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10558 
   10559   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10560   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10561   ;;
   10562 
   10563 dgux*)
   10564   version_type=linux # correct to gnu/linux during the next big refactor
   10565   need_lib_prefix=no
   10566   need_version=no
   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   ;;
   10571 
   10572 freebsd* | dragonfly*)
   10573   # DragonFly does not have aout.  When/if they implement a new
   10574   # versioning mechanism, adjust this.
   10575   if test -x /usr/bin/objformat; then
   10576     objformat=`/usr/bin/objformat`
   10577   else
   10578     case $host_os in
   10579     freebsd[23].*) objformat=aout ;;
   10580     *) objformat=elf ;;
   10581     esac
   10582   fi
   10583   version_type=freebsd-$objformat
   10584   case $version_type in
   10585     freebsd-elf*)
   10586       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10587       need_version=no
   10588       need_lib_prefix=no
   10589       ;;
   10590     freebsd-*)
   10591       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10592       need_version=yes
   10593       ;;
   10594   esac
   10595   shlibpath_var=LD_LIBRARY_PATH
   10596   case $host_os in
   10597   freebsd2.*)
   10598     shlibpath_overrides_runpath=yes
   10599     ;;
   10600   freebsd3.[01]* | freebsdelf3.[01]*)
   10601     shlibpath_overrides_runpath=yes
   10602     hardcode_into_libs=yes
   10603     ;;
   10604   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10605   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10606     shlibpath_overrides_runpath=no
   10607     hardcode_into_libs=yes
   10608     ;;
   10609   *) # from 4.6 on, and DragonFly
   10610     shlibpath_overrides_runpath=yes
   10611     hardcode_into_libs=yes
   10612     ;;
   10613   esac
   10614   ;;
   10615 
   10616 gnu*)
   10617   version_type=linux # correct to gnu/linux during the next big refactor
   10618   need_lib_prefix=no
   10619   need_version=no
   10620   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10621   soname_spec='${libname}${release}${shared_ext}$major'
   10622   shlibpath_var=LD_LIBRARY_PATH
   10623   shlibpath_overrides_runpath=no
   10624   hardcode_into_libs=yes
   10625   ;;
   10626 
   10627 haiku*)
   10628   version_type=linux # correct to gnu/linux during the next big refactor
   10629   need_lib_prefix=no
   10630   need_version=no
   10631   dynamic_linker="$host_os runtime_loader"
   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=LIBRARY_PATH
   10635   shlibpath_overrides_runpath=yes
   10636   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   10637   hardcode_into_libs=yes
   10638   ;;
   10639 
   10640 hpux9* | hpux10* | hpux11*)
   10641   # Give a soname corresponding to the major version so that dld.sl refuses to
   10642   # link against other versions.
   10643   version_type=sunos
   10644   need_lib_prefix=no
   10645   need_version=no
   10646   case $host_cpu in
   10647   ia64*)
   10648     shrext_cmds='.so'
   10649     hardcode_into_libs=yes
   10650     dynamic_linker="$host_os dld.so"
   10651     shlibpath_var=LD_LIBRARY_PATH
   10652     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10653     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10654     soname_spec='${libname}${release}${shared_ext}$major'
   10655     if test "X$HPUX_IA64_MODE" = X32; then
   10656       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10657     else
   10658       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10659     fi
   10660     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10661     ;;
   10662   hppa*64*)
   10663     shrext_cmds='.sl'
   10664     hardcode_into_libs=yes
   10665     dynamic_linker="$host_os dld.sl"
   10666     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10667     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10668     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10669     soname_spec='${libname}${release}${shared_ext}$major'
   10670     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10671     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10672     ;;
   10673   *)
   10674     shrext_cmds='.sl'
   10675     dynamic_linker="$host_os dld.sl"
   10676     shlibpath_var=SHLIB_PATH
   10677     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10678     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10679     soname_spec='${libname}${release}${shared_ext}$major'
   10680     ;;
   10681   esac
   10682   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   10683   postinstall_cmds='chmod 555 $lib'
   10684   # or fails outright, so override atomically:
   10685   install_override_mode=555
   10686   ;;
   10687 
   10688 interix[3-9]*)
   10689   version_type=linux # correct to gnu/linux during the next big refactor
   10690   need_lib_prefix=no
   10691   need_version=no
   10692   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10693   soname_spec='${libname}${release}${shared_ext}$major'
   10694   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10695   shlibpath_var=LD_LIBRARY_PATH
   10696   shlibpath_overrides_runpath=no
   10697   hardcode_into_libs=yes
   10698   ;;
   10699 
   10700 irix5* | irix6* | nonstopux*)
   10701   case $host_os in
   10702     nonstopux*) version_type=nonstopux ;;
   10703     *)
   10704 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10705 		version_type=linux # correct to gnu/linux during the next big refactor
   10706 	else
   10707 		version_type=irix
   10708 	fi ;;
   10709   esac
   10710   need_lib_prefix=no
   10711   need_version=no
   10712   soname_spec='${libname}${release}${shared_ext}$major'
   10713   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10714   case $host_os in
   10715   irix5* | nonstopux*)
   10716     libsuff= shlibsuff=
   10717     ;;
   10718   *)
   10719     case $LD in # libtool.m4 will add one of these switches to LD
   10720     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10721       libsuff= shlibsuff= libmagic=32-bit;;
   10722     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10723       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10724     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10725       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10726     *) libsuff= shlibsuff= libmagic=never-match;;
   10727     esac
   10728     ;;
   10729   esac
   10730   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10731   shlibpath_overrides_runpath=no
   10732   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10733   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10734   hardcode_into_libs=yes
   10735   ;;
   10736 
   10737 # No shared lib support for Linux oldld, aout, or coff.
   10738 linux*oldld* | linux*aout* | linux*coff*)
   10739   dynamic_linker=no
   10740   ;;
   10741 
   10742 # This must be glibc/ELF.
   10743 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   10744   version_type=linux # correct to gnu/linux during the next big refactor
   10745   need_lib_prefix=no
   10746   need_version=no
   10747   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10748   soname_spec='${libname}${release}${shared_ext}$major'
   10749   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10750   shlibpath_var=LD_LIBRARY_PATH
   10751   shlibpath_overrides_runpath=no
   10752 
   10753   # Some binutils ld are patched to set DT_RUNPATH
   10754   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   10755   $as_echo_n "(cached) " >&6
   10756 else
   10757   lt_cv_shlibpath_overrides_runpath=no
   10758     save_LDFLAGS=$LDFLAGS
   10759     save_libdir=$libdir
   10760     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10761 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10762     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10763 /* end confdefs.h.  */
   10764 
   10765 int
   10766 main ()
   10767 {
   10768 
   10769   ;
   10770   return 0;
   10771 }
   10772 _ACEOF
   10773 if ac_fn_c_try_link "$LINENO"; then :
   10774   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10775   lt_cv_shlibpath_overrides_runpath=yes
   10776 fi
   10777 fi
   10778 rm -f core conftest.err conftest.$ac_objext \
   10779     conftest$ac_exeext conftest.$ac_ext
   10780     LDFLAGS=$save_LDFLAGS
   10781     libdir=$save_libdir
   10782 
   10783 fi
   10784 
   10785   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   10786 
   10787   # This implies no fast_install, which is unacceptable.
   10788   # Some rework will be needed to allow for fast_install
   10789   # before this can be enabled.
   10790   hardcode_into_libs=yes
   10791 
   10792   # Append ld.so.conf contents to the search path
   10793   if test -f /etc/ld.so.conf; then
   10794     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' ' '`
   10795     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   10796   fi
   10797 
   10798   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10799   # powerpc, because MkLinux only supported shared libraries with the
   10800   # GNU dynamic linker.  Since this was broken with cross compilers,
   10801   # most powerpc-linux boxes support dynamic linking these days and
   10802   # people can always --disable-shared, the test was removed, and we
   10803   # assume the GNU/Linux dynamic linker is in use.
   10804   dynamic_linker='GNU/Linux ld.so'
   10805   ;;
   10806 
   10807 netbsd*)
   10808   version_type=sunos
   10809   need_lib_prefix=no
   10810   need_version=no
   10811   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10812     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10813     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10814     dynamic_linker='NetBSD (a.out) ld.so'
   10815   else
   10816     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10817     soname_spec='${libname}${release}${shared_ext}$major'
   10818     dynamic_linker='NetBSD ld.elf_so'
   10819   fi
   10820   shlibpath_var=LD_LIBRARY_PATH
   10821   shlibpath_overrides_runpath=yes
   10822   hardcode_into_libs=yes
   10823   ;;
   10824 
   10825 newsos6)
   10826   version_type=linux # correct to gnu/linux during the next big refactor
   10827   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10828   shlibpath_var=LD_LIBRARY_PATH
   10829   shlibpath_overrides_runpath=yes
   10830   ;;
   10831 
   10832 *nto* | *qnx*)
   10833   version_type=qnx
   10834   need_lib_prefix=no
   10835   need_version=no
   10836   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10837   soname_spec='${libname}${release}${shared_ext}$major'
   10838   shlibpath_var=LD_LIBRARY_PATH
   10839   shlibpath_overrides_runpath=no
   10840   hardcode_into_libs=yes
   10841   dynamic_linker='ldqnx.so'
   10842   ;;
   10843 
   10844 openbsd*)
   10845   version_type=sunos
   10846   sys_lib_dlsearch_path_spec="/usr/lib"
   10847   need_lib_prefix=no
   10848   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10849   case $host_os in
   10850     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10851     *)				need_version=no  ;;
   10852   esac
   10853   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10854   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10855   shlibpath_var=LD_LIBRARY_PATH
   10856   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10857     case $host_os in
   10858       openbsd2.[89] | openbsd2.[89].*)
   10859 	shlibpath_overrides_runpath=no
   10860 	;;
   10861       *)
   10862 	shlibpath_overrides_runpath=yes
   10863 	;;
   10864       esac
   10865   else
   10866     shlibpath_overrides_runpath=yes
   10867   fi
   10868   ;;
   10869 
   10870 os2*)
   10871   libname_spec='$name'
   10872   shrext_cmds=".dll"
   10873   need_lib_prefix=no
   10874   library_names_spec='$libname${shared_ext} $libname.a'
   10875   dynamic_linker='OS/2 ld.exe'
   10876   shlibpath_var=LIBPATH
   10877   ;;
   10878 
   10879 osf3* | osf4* | osf5*)
   10880   version_type=osf
   10881   need_lib_prefix=no
   10882   need_version=no
   10883   soname_spec='${libname}${release}${shared_ext}$major'
   10884   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10885   shlibpath_var=LD_LIBRARY_PATH
   10886   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10887   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10888   ;;
   10889 
   10890 rdos*)
   10891   dynamic_linker=no
   10892   ;;
   10893 
   10894 solaris*)
   10895   version_type=linux # correct to gnu/linux during the next big refactor
   10896   need_lib_prefix=no
   10897   need_version=no
   10898   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10899   soname_spec='${libname}${release}${shared_ext}$major'
   10900   shlibpath_var=LD_LIBRARY_PATH
   10901   shlibpath_overrides_runpath=yes
   10902   hardcode_into_libs=yes
   10903   # ldd complains unless libraries are executable
   10904   postinstall_cmds='chmod +x $lib'
   10905   ;;
   10906 
   10907 sunos4*)
   10908   version_type=sunos
   10909   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10910   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10911   shlibpath_var=LD_LIBRARY_PATH
   10912   shlibpath_overrides_runpath=yes
   10913   if test "$with_gnu_ld" = yes; then
   10914     need_lib_prefix=no
   10915   fi
   10916   need_version=yes
   10917   ;;
   10918 
   10919 sysv4 | sysv4.3*)
   10920   version_type=linux # correct to gnu/linux during the next big refactor
   10921   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10922   soname_spec='${libname}${release}${shared_ext}$major'
   10923   shlibpath_var=LD_LIBRARY_PATH
   10924   case $host_vendor in
   10925     sni)
   10926       shlibpath_overrides_runpath=no
   10927       need_lib_prefix=no
   10928       runpath_var=LD_RUN_PATH
   10929       ;;
   10930     siemens)
   10931       need_lib_prefix=no
   10932       ;;
   10933     motorola)
   10934       need_lib_prefix=no
   10935       need_version=no
   10936       shlibpath_overrides_runpath=no
   10937       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10938       ;;
   10939   esac
   10940   ;;
   10941 
   10942 sysv4*MP*)
   10943   if test -d /usr/nec ;then
   10944     version_type=linux # correct to gnu/linux during the next big refactor
   10945     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10946     soname_spec='$libname${shared_ext}.$major'
   10947     shlibpath_var=LD_LIBRARY_PATH
   10948   fi
   10949   ;;
   10950 
   10951 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10952   version_type=freebsd-elf
   10953   need_lib_prefix=no
   10954   need_version=no
   10955   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10956   soname_spec='${libname}${release}${shared_ext}$major'
   10957   shlibpath_var=LD_LIBRARY_PATH
   10958   shlibpath_overrides_runpath=yes
   10959   hardcode_into_libs=yes
   10960   if test "$with_gnu_ld" = yes; then
   10961     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10962   else
   10963     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10964     case $host_os in
   10965       sco3.2v5*)
   10966         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10967 	;;
   10968     esac
   10969   fi
   10970   sys_lib_dlsearch_path_spec='/usr/lib'
   10971   ;;
   10972 
   10973 tpf*)
   10974   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10975   version_type=linux # correct to gnu/linux during the next big refactor
   10976   need_lib_prefix=no
   10977   need_version=no
   10978   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10979   shlibpath_var=LD_LIBRARY_PATH
   10980   shlibpath_overrides_runpath=no
   10981   hardcode_into_libs=yes
   10982   ;;
   10983 
   10984 uts4*)
   10985   version_type=linux # correct to gnu/linux during the next big refactor
   10986   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10987   soname_spec='${libname}${release}${shared_ext}$major'
   10988   shlibpath_var=LD_LIBRARY_PATH
   10989   ;;
   10990 
   10991 *)
   10992   dynamic_linker=no
   10993   ;;
   10994 esac
   10995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   10996 $as_echo "$dynamic_linker" >&6; }
   10997 test "$dynamic_linker" = no && can_build_shared=no
   10998 
   10999 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   11000 if test "$GCC" = yes; then
   11001   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   11002 fi
   11003 
   11004 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   11005   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   11006 fi
   11007 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   11008   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   11009 fi
   11010 
   11011 
   11012 
   11013 
   11014 
   11015 
   11016 
   11017 
   11018 
   11019 
   11020 
   11021 
   11022 
   11023 
   11024 
   11025 
   11026 
   11027 
   11028 
   11029 
   11030 
   11031 
   11032 
   11033 
   11034 
   11035 
   11036 
   11037 
   11038 
   11039 
   11040 
   11041 
   11042 
   11043 
   11044 
   11045 
   11046 
   11047 
   11048 
   11049 
   11050 
   11051 
   11052 
   11053 
   11054 
   11055 
   11056 
   11057 
   11058 
   11059 
   11060 
   11061 
   11062 
   11063 
   11064 
   11065 
   11066 
   11067 
   11068 
   11069 
   11070 
   11071 
   11072 
   11073 
   11074 
   11075 
   11076 
   11077 
   11078 
   11079 
   11080 
   11081 
   11082 
   11083 
   11084 
   11085 
   11086 
   11087 
   11088 
   11089 
   11090 
   11091 
   11092 
   11093 
   11094 
   11095 
   11096 
   11097 
   11098 
   11099 
   11100 
   11101 
   11102   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   11103 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   11104 hardcode_action=
   11105 if test -n "$hardcode_libdir_flag_spec" ||
   11106    test -n "$runpath_var" ||
   11107    test "X$hardcode_automatic" = "Xyes" ; then
   11108 
   11109   # We can hardcode non-existent directories.
   11110   if test "$hardcode_direct" != no &&
   11111      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   11112      # have to relink, otherwise we might link with an installed library
   11113      # when we should be linking with a yet-to-be-installed one
   11114      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   11115      test "$hardcode_minus_L" != no; then
   11116     # Linking always hardcodes the temporary library directory.
   11117     hardcode_action=relink
   11118   else
   11119     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   11120     hardcode_action=immediate
   11121   fi
   11122 else
   11123   # We cannot hardcode anything, or else we can only hardcode existing
   11124   # directories.
   11125   hardcode_action=unsupported
   11126 fi
   11127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   11128 $as_echo "$hardcode_action" >&6; }
   11129 
   11130 if test "$hardcode_action" = relink ||
   11131    test "$inherit_rpath" = yes; then
   11132   # Fast installation is not supported
   11133   enable_fast_install=no
   11134 elif test "$shlibpath_overrides_runpath" = yes ||
   11135      test "$enable_shared" = no; then
   11136   # Fast installation is not necessary
   11137   enable_fast_install=needless
   11138 fi
   11139 
   11140 
   11141 
   11142 
   11143 
   11144 
   11145   if test "x$enable_dlopen" != xyes; then
   11146   enable_dlopen=unknown
   11147   enable_dlopen_self=unknown
   11148   enable_dlopen_self_static=unknown
   11149 else
   11150   lt_cv_dlopen=no
   11151   lt_cv_dlopen_libs=
   11152 
   11153   case $host_os in
   11154   beos*)
   11155     lt_cv_dlopen="load_add_on"
   11156     lt_cv_dlopen_libs=
   11157     lt_cv_dlopen_self=yes
   11158     ;;
   11159 
   11160   mingw* | pw32* | cegcc*)
   11161     lt_cv_dlopen="LoadLibrary"
   11162     lt_cv_dlopen_libs=
   11163     ;;
   11164 
   11165   cygwin*)
   11166     lt_cv_dlopen="dlopen"
   11167     lt_cv_dlopen_libs=
   11168     ;;
   11169 
   11170   darwin*)
   11171   # if libdl is installed we need to link against it
   11172     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11173 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11174 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11175   $as_echo_n "(cached) " >&6
   11176 else
   11177   ac_check_lib_save_LIBS=$LIBS
   11178 LIBS="-ldl  $LIBS"
   11179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11180 /* end confdefs.h.  */
   11181 
   11182 /* Override any GCC internal prototype to avoid an error.
   11183    Use char because int might match the return type of a GCC
   11184    builtin and then its argument prototype would still apply.  */
   11185 #ifdef __cplusplus
   11186 extern "C"
   11187 #endif
   11188 char dlopen ();
   11189 int
   11190 main ()
   11191 {
   11192 return dlopen ();
   11193   ;
   11194   return 0;
   11195 }
   11196 _ACEOF
   11197 if ac_fn_c_try_link "$LINENO"; then :
   11198   ac_cv_lib_dl_dlopen=yes
   11199 else
   11200   ac_cv_lib_dl_dlopen=no
   11201 fi
   11202 rm -f core conftest.err conftest.$ac_objext \
   11203     conftest$ac_exeext conftest.$ac_ext
   11204 LIBS=$ac_check_lib_save_LIBS
   11205 fi
   11206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11207 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11208 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11209   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11210 else
   11211 
   11212     lt_cv_dlopen="dyld"
   11213     lt_cv_dlopen_libs=
   11214     lt_cv_dlopen_self=yes
   11215 
   11216 fi
   11217 
   11218     ;;
   11219 
   11220   *)
   11221     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   11222 if test "x$ac_cv_func_shl_load" = xyes; then :
   11223   lt_cv_dlopen="shl_load"
   11224 else
   11225   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   11226 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   11227 if ${ac_cv_lib_dld_shl_load+:} false; then :
   11228   $as_echo_n "(cached) " >&6
   11229 else
   11230   ac_check_lib_save_LIBS=$LIBS
   11231 LIBS="-ldld  $LIBS"
   11232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11233 /* end confdefs.h.  */
   11234 
   11235 /* Override any GCC internal prototype to avoid an error.
   11236    Use char because int might match the return type of a GCC
   11237    builtin and then its argument prototype would still apply.  */
   11238 #ifdef __cplusplus
   11239 extern "C"
   11240 #endif
   11241 char shl_load ();
   11242 int
   11243 main ()
   11244 {
   11245 return shl_load ();
   11246   ;
   11247   return 0;
   11248 }
   11249 _ACEOF
   11250 if ac_fn_c_try_link "$LINENO"; then :
   11251   ac_cv_lib_dld_shl_load=yes
   11252 else
   11253   ac_cv_lib_dld_shl_load=no
   11254 fi
   11255 rm -f core conftest.err conftest.$ac_objext \
   11256     conftest$ac_exeext conftest.$ac_ext
   11257 LIBS=$ac_check_lib_save_LIBS
   11258 fi
   11259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   11260 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   11261 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   11262   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   11263 else
   11264   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   11265 if test "x$ac_cv_func_dlopen" = xyes; then :
   11266   lt_cv_dlopen="dlopen"
   11267 else
   11268   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11269 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11270 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11271   $as_echo_n "(cached) " >&6
   11272 else
   11273   ac_check_lib_save_LIBS=$LIBS
   11274 LIBS="-ldl  $LIBS"
   11275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11276 /* end confdefs.h.  */
   11277 
   11278 /* Override any GCC internal prototype to avoid an error.
   11279    Use char because int might match the return type of a GCC
   11280    builtin and then its argument prototype would still apply.  */
   11281 #ifdef __cplusplus
   11282 extern "C"
   11283 #endif
   11284 char dlopen ();
   11285 int
   11286 main ()
   11287 {
   11288 return dlopen ();
   11289   ;
   11290   return 0;
   11291 }
   11292 _ACEOF
   11293 if ac_fn_c_try_link "$LINENO"; then :
   11294   ac_cv_lib_dl_dlopen=yes
   11295 else
   11296   ac_cv_lib_dl_dlopen=no
   11297 fi
   11298 rm -f core conftest.err conftest.$ac_objext \
   11299     conftest$ac_exeext conftest.$ac_ext
   11300 LIBS=$ac_check_lib_save_LIBS
   11301 fi
   11302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11303 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11304 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11305   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11306 else
   11307   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   11308 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   11309 if ${ac_cv_lib_svld_dlopen+:} false; then :
   11310   $as_echo_n "(cached) " >&6
   11311 else
   11312   ac_check_lib_save_LIBS=$LIBS
   11313 LIBS="-lsvld  $LIBS"
   11314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11315 /* end confdefs.h.  */
   11316 
   11317 /* Override any GCC internal prototype to avoid an error.
   11318    Use char because int might match the return type of a GCC
   11319    builtin and then its argument prototype would still apply.  */
   11320 #ifdef __cplusplus
   11321 extern "C"
   11322 #endif
   11323 char dlopen ();
   11324 int
   11325 main ()
   11326 {
   11327 return dlopen ();
   11328   ;
   11329   return 0;
   11330 }
   11331 _ACEOF
   11332 if ac_fn_c_try_link "$LINENO"; then :
   11333   ac_cv_lib_svld_dlopen=yes
   11334 else
   11335   ac_cv_lib_svld_dlopen=no
   11336 fi
   11337 rm -f core conftest.err conftest.$ac_objext \
   11338     conftest$ac_exeext conftest.$ac_ext
   11339 LIBS=$ac_check_lib_save_LIBS
   11340 fi
   11341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   11342 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   11343 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   11344   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   11345 else
   11346   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   11347 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   11348 if ${ac_cv_lib_dld_dld_link+:} false; then :
   11349   $as_echo_n "(cached) " >&6
   11350 else
   11351   ac_check_lib_save_LIBS=$LIBS
   11352 LIBS="-ldld  $LIBS"
   11353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11354 /* end confdefs.h.  */
   11355 
   11356 /* Override any GCC internal prototype to avoid an error.
   11357    Use char because int might match the return type of a GCC
   11358    builtin and then its argument prototype would still apply.  */
   11359 #ifdef __cplusplus
   11360 extern "C"
   11361 #endif
   11362 char dld_link ();
   11363 int
   11364 main ()
   11365 {
   11366 return dld_link ();
   11367   ;
   11368   return 0;
   11369 }
   11370 _ACEOF
   11371 if ac_fn_c_try_link "$LINENO"; then :
   11372   ac_cv_lib_dld_dld_link=yes
   11373 else
   11374   ac_cv_lib_dld_dld_link=no
   11375 fi
   11376 rm -f core conftest.err conftest.$ac_objext \
   11377     conftest$ac_exeext conftest.$ac_ext
   11378 LIBS=$ac_check_lib_save_LIBS
   11379 fi
   11380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   11381 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   11382 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   11383   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   11384 fi
   11385 
   11386 
   11387 fi
   11388 
   11389 
   11390 fi
   11391 
   11392 
   11393 fi
   11394 
   11395 
   11396 fi
   11397 
   11398 
   11399 fi
   11400 
   11401     ;;
   11402   esac
   11403 
   11404   if test "x$lt_cv_dlopen" != xno; then
   11405     enable_dlopen=yes
   11406   else
   11407     enable_dlopen=no
   11408   fi
   11409 
   11410   case $lt_cv_dlopen in
   11411   dlopen)
   11412     save_CPPFLAGS="$CPPFLAGS"
   11413     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   11414 
   11415     save_LDFLAGS="$LDFLAGS"
   11416     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   11417 
   11418     save_LIBS="$LIBS"
   11419     LIBS="$lt_cv_dlopen_libs $LIBS"
   11420 
   11421     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   11422 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11423 if ${lt_cv_dlopen_self+:} false; then :
   11424   $as_echo_n "(cached) " >&6
   11425 else
   11426   	  if test "$cross_compiling" = yes; then :
   11427   lt_cv_dlopen_self=cross
   11428 else
   11429   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11430   lt_status=$lt_dlunknown
   11431   cat > conftest.$ac_ext <<_LT_EOF
   11432 #line $LINENO "configure"
   11433 #include "confdefs.h"
   11434 
   11435 #if HAVE_DLFCN_H
   11436 #include <dlfcn.h>
   11437 #endif
   11438 
   11439 #include <stdio.h>
   11440 
   11441 #ifdef RTLD_GLOBAL
   11442 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11443 #else
   11444 #  ifdef DL_GLOBAL
   11445 #    define LT_DLGLOBAL		DL_GLOBAL
   11446 #  else
   11447 #    define LT_DLGLOBAL		0
   11448 #  endif
   11449 #endif
   11450 
   11451 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11452    find out it does not work in some platform. */
   11453 #ifndef LT_DLLAZY_OR_NOW
   11454 #  ifdef RTLD_LAZY
   11455 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11456 #  else
   11457 #    ifdef DL_LAZY
   11458 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11459 #    else
   11460 #      ifdef RTLD_NOW
   11461 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11462 #      else
   11463 #        ifdef DL_NOW
   11464 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11465 #        else
   11466 #          define LT_DLLAZY_OR_NOW	0
   11467 #        endif
   11468 #      endif
   11469 #    endif
   11470 #  endif
   11471 #endif
   11472 
   11473 /* When -fvisbility=hidden is used, assume the code has been annotated
   11474    correspondingly for the symbols needed.  */
   11475 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11476 int fnord () __attribute__((visibility("default")));
   11477 #endif
   11478 
   11479 int fnord () { return 42; }
   11480 int main ()
   11481 {
   11482   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11483   int status = $lt_dlunknown;
   11484 
   11485   if (self)
   11486     {
   11487       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11488       else
   11489         {
   11490 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11491           else puts (dlerror ());
   11492 	}
   11493       /* dlclose (self); */
   11494     }
   11495   else
   11496     puts (dlerror ());
   11497 
   11498   return status;
   11499 }
   11500 _LT_EOF
   11501   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11502   (eval $ac_link) 2>&5
   11503   ac_status=$?
   11504   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11505   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11506     (./conftest; exit; ) >&5 2>/dev/null
   11507     lt_status=$?
   11508     case x$lt_status in
   11509       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11510       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11511       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11512     esac
   11513   else :
   11514     # compilation failed
   11515     lt_cv_dlopen_self=no
   11516   fi
   11517 fi
   11518 rm -fr conftest*
   11519 
   11520 
   11521 fi
   11522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11523 $as_echo "$lt_cv_dlopen_self" >&6; }
   11524 
   11525     if test "x$lt_cv_dlopen_self" = xyes; then
   11526       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11527       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11528 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11529 if ${lt_cv_dlopen_self_static+:} false; then :
   11530   $as_echo_n "(cached) " >&6
   11531 else
   11532   	  if test "$cross_compiling" = yes; then :
   11533   lt_cv_dlopen_self_static=cross
   11534 else
   11535   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11536   lt_status=$lt_dlunknown
   11537   cat > conftest.$ac_ext <<_LT_EOF
   11538 #line $LINENO "configure"
   11539 #include "confdefs.h"
   11540 
   11541 #if HAVE_DLFCN_H
   11542 #include <dlfcn.h>
   11543 #endif
   11544 
   11545 #include <stdio.h>
   11546 
   11547 #ifdef RTLD_GLOBAL
   11548 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11549 #else
   11550 #  ifdef DL_GLOBAL
   11551 #    define LT_DLGLOBAL		DL_GLOBAL
   11552 #  else
   11553 #    define LT_DLGLOBAL		0
   11554 #  endif
   11555 #endif
   11556 
   11557 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11558    find out it does not work in some platform. */
   11559 #ifndef LT_DLLAZY_OR_NOW
   11560 #  ifdef RTLD_LAZY
   11561 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11562 #  else
   11563 #    ifdef DL_LAZY
   11564 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11565 #    else
   11566 #      ifdef RTLD_NOW
   11567 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11568 #      else
   11569 #        ifdef DL_NOW
   11570 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11571 #        else
   11572 #          define LT_DLLAZY_OR_NOW	0
   11573 #        endif
   11574 #      endif
   11575 #    endif
   11576 #  endif
   11577 #endif
   11578 
   11579 /* When -fvisbility=hidden is used, assume the code has been annotated
   11580    correspondingly for the symbols needed.  */
   11581 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11582 int fnord () __attribute__((visibility("default")));
   11583 #endif
   11584 
   11585 int fnord () { return 42; }
   11586 int main ()
   11587 {
   11588   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11589   int status = $lt_dlunknown;
   11590 
   11591   if (self)
   11592     {
   11593       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11594       else
   11595         {
   11596 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11597           else puts (dlerror ());
   11598 	}
   11599       /* dlclose (self); */
   11600     }
   11601   else
   11602     puts (dlerror ());
   11603 
   11604   return status;
   11605 }
   11606 _LT_EOF
   11607   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11608   (eval $ac_link) 2>&5
   11609   ac_status=$?
   11610   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11611   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11612     (./conftest; exit; ) >&5 2>/dev/null
   11613     lt_status=$?
   11614     case x$lt_status in
   11615       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11616       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11617       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11618     esac
   11619   else :
   11620     # compilation failed
   11621     lt_cv_dlopen_self_static=no
   11622   fi
   11623 fi
   11624 rm -fr conftest*
   11625 
   11626 
   11627 fi
   11628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11629 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11630     fi
   11631 
   11632     CPPFLAGS="$save_CPPFLAGS"
   11633     LDFLAGS="$save_LDFLAGS"
   11634     LIBS="$save_LIBS"
   11635     ;;
   11636   esac
   11637 
   11638   case $lt_cv_dlopen_self in
   11639   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11640   *) enable_dlopen_self=unknown ;;
   11641   esac
   11642 
   11643   case $lt_cv_dlopen_self_static in
   11644   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11645   *) enable_dlopen_self_static=unknown ;;
   11646   esac
   11647 fi
   11648 
   11649 
   11650 
   11651 
   11652 
   11653 
   11654 
   11655 
   11656 
   11657 
   11658 
   11659 
   11660 
   11661 
   11662 
   11663 
   11664 
   11665 striplib=
   11666 old_striplib=
   11667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11668 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11669 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11670   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11671   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11673 $as_echo "yes" >&6; }
   11674 else
   11675 # FIXME - insert some real tests, host_os isn't really good enough
   11676   case $host_os in
   11677   darwin*)
   11678     if test -n "$STRIP" ; then
   11679       striplib="$STRIP -x"
   11680       old_striplib="$STRIP -S"
   11681       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11682 $as_echo "yes" >&6; }
   11683     else
   11684       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11685 $as_echo "no" >&6; }
   11686     fi
   11687     ;;
   11688   *)
   11689     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11690 $as_echo "no" >&6; }
   11691     ;;
   11692   esac
   11693 fi
   11694 
   11695 
   11696 
   11697 
   11698 
   11699 
   11700 
   11701 
   11702 
   11703 
   11704 
   11705 
   11706   # Report which library types will actually be built
   11707   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11708 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11710 $as_echo "$can_build_shared" >&6; }
   11711 
   11712   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11713 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11714   test "$can_build_shared" = "no" && enable_shared=no
   11715 
   11716   # On AIX, shared libraries and static libraries use the same namespace, and
   11717   # are all built from PIC.
   11718   case $host_os in
   11719   aix3*)
   11720     test "$enable_shared" = yes && enable_static=no
   11721     if test -n "$RANLIB"; then
   11722       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11723       postinstall_cmds='$RANLIB $lib'
   11724     fi
   11725     ;;
   11726 
   11727   aix[4-9]*)
   11728     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11729       test "$enable_shared" = yes && enable_static=no
   11730     fi
   11731     ;;
   11732   esac
   11733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11734 $as_echo "$enable_shared" >&6; }
   11735 
   11736   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11737 $as_echo_n "checking whether to build static libraries... " >&6; }
   11738   # Make sure either enable_shared or enable_static is yes.
   11739   test "$enable_shared" = yes || enable_static=yes
   11740   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11741 $as_echo "$enable_static" >&6; }
   11742 
   11743 
   11744 
   11745 
   11746 fi
   11747 ac_ext=c
   11748 ac_cpp='$CPP $CPPFLAGS'
   11749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11752 
   11753 CC="$lt_save_CC"
   11754 
   11755 
   11756 
   11757 
   11758 
   11759 
   11760 
   11761 
   11762 
   11763 
   11764 
   11765 
   11766 
   11767 
   11768 
   11769         ac_config_commands="$ac_config_commands libtool"
   11770 
   11771 
   11772 
   11773 
   11774 # Only expand once:
   11775 
   11776 
   11777 
   11778 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   11779 
   11780 
   11781 
   11782 
   11783 
   11784 
   11785 
   11786 
   11787 
   11788 
   11789 
   11790    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   11791 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   11792 if ${ac_cv_prog_cc_c99+:} false; then :
   11793   $as_echo_n "(cached) " >&6
   11794 else
   11795   ac_cv_prog_cc_c99=no
   11796 ac_save_CC=$CC
   11797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11798 /* end confdefs.h.  */
   11799 #include <stdarg.h>
   11800 #include <stdbool.h>
   11801 #include <stdlib.h>
   11802 #include <wchar.h>
   11803 #include <stdio.h>
   11804 
   11805 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   11806 #define debug(...) fprintf (stderr, __VA_ARGS__)
   11807 #define showlist(...) puts (#__VA_ARGS__)
   11808 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   11809 static void
   11810 test_varargs_macros (void)
   11811 {
   11812   int x = 1234;
   11813   int y = 5678;
   11814   debug ("Flag");
   11815   debug ("X = %d\n", x);
   11816   showlist (The first, second, and third items.);
   11817   report (x>y, "x is %d but y is %d", x, y);
   11818 }
   11819 
   11820 // Check long long types.
   11821 #define BIG64 18446744073709551615ull
   11822 #define BIG32 4294967295ul
   11823 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   11824 #if !BIG_OK
   11825   your preprocessor is broken;
   11826 #endif
   11827 #if BIG_OK
   11828 #else
   11829   your preprocessor is broken;
   11830 #endif
   11831 static long long int bignum = -9223372036854775807LL;
   11832 static unsigned long long int ubignum = BIG64;
   11833 
   11834 struct incomplete_array
   11835 {
   11836   int datasize;
   11837   double data[];
   11838 };
   11839 
   11840 struct named_init {
   11841   int number;
   11842   const wchar_t *name;
   11843   double average;
   11844 };
   11845 
   11846 typedef const char *ccp;
   11847 
   11848 static inline int
   11849 test_restrict (ccp restrict text)
   11850 {
   11851   // See if C++-style comments work.
   11852   // Iterate through items via the restricted pointer.
   11853   // Also check for declarations in for loops.
   11854   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   11855     continue;
   11856   return 0;
   11857 }
   11858 
   11859 // Check varargs and va_copy.
   11860 static void
   11861 test_varargs (const char *format, ...)
   11862 {
   11863   va_list args;
   11864   va_start (args, format);
   11865   va_list args_copy;
   11866   va_copy (args_copy, args);
   11867 
   11868   const char *str;
   11869   int number;
   11870   float fnumber;
   11871 
   11872   while (*format)
   11873     {
   11874       switch (*format++)
   11875 	{
   11876 	case 's': // string
   11877 	  str = va_arg (args_copy, const char *);
   11878 	  break;
   11879 	case 'd': // int
   11880 	  number = va_arg (args_copy, int);
   11881 	  break;
   11882 	case 'f': // float
   11883 	  fnumber = va_arg (args_copy, double);
   11884 	  break;
   11885 	default:
   11886 	  break;
   11887 	}
   11888     }
   11889   va_end (args_copy);
   11890   va_end (args);
   11891 }
   11892 
   11893 int
   11894 main ()
   11895 {
   11896 
   11897   // Check bool.
   11898   _Bool success = false;
   11899 
   11900   // Check restrict.
   11901   if (test_restrict ("String literal") == 0)
   11902     success = true;
   11903   char *restrict newvar = "Another string";
   11904 
   11905   // Check varargs.
   11906   test_varargs ("s, d' f .", "string", 65, 34.234);
   11907   test_varargs_macros ();
   11908 
   11909   // Check flexible array members.
   11910   struct incomplete_array *ia =
   11911     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   11912   ia->datasize = 10;
   11913   for (int i = 0; i < ia->datasize; ++i)
   11914     ia->data[i] = i * 1.234;
   11915 
   11916   // Check named initializers.
   11917   struct named_init ni = {
   11918     .number = 34,
   11919     .name = L"Test wide string",
   11920     .average = 543.34343,
   11921   };
   11922 
   11923   ni.number = 58;
   11924 
   11925   int dynamic_array[ni.number];
   11926   dynamic_array[ni.number - 1] = 543;
   11927 
   11928   // work around unused variable warnings
   11929   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   11930 	  || dynamic_array[ni.number - 1] != 543);
   11931 
   11932   ;
   11933   return 0;
   11934 }
   11935 _ACEOF
   11936 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   11937 do
   11938   CC="$ac_save_CC $ac_arg"
   11939   if ac_fn_c_try_compile "$LINENO"; then :
   11940   ac_cv_prog_cc_c99=$ac_arg
   11941 fi
   11942 rm -f core conftest.err conftest.$ac_objext
   11943   test "x$ac_cv_prog_cc_c99" != "xno" && break
   11944 done
   11945 rm -f conftest.$ac_ext
   11946 CC=$ac_save_CC
   11947 
   11948 fi
   11949 # AC_CACHE_VAL
   11950 case "x$ac_cv_prog_cc_c99" in
   11951   x)
   11952     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   11953 $as_echo "none needed" >&6; } ;;
   11954   xno)
   11955     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   11956 $as_echo "unsupported" >&6; } ;;
   11957   *)
   11958     CC="$CC $ac_cv_prog_cc_c99"
   11959     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   11960 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   11961 esac
   11962 if test "x$ac_cv_prog_cc_c99" != xno; then :
   11963 
   11964 fi
   11965 
   11966 
   11967 
   11968 
   11969 
   11970 
   11971 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   11972 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   11973   CLANGCC="yes"
   11974 else
   11975   CLANGCC="no"
   11976 fi
   11977 
   11978 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   11979 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   11980   INTELCC="yes"
   11981 else
   11982   INTELCC="no"
   11983 fi
   11984 
   11985 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   11986 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   11987   SUNCC="yes"
   11988 else
   11989   SUNCC="no"
   11990 fi
   11991 
   11992 
   11993 
   11994 
   11995 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   11996 	if test -n "$ac_tool_prefix"; then
   11997   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   11998 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   11999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12000 $as_echo_n "checking for $ac_word... " >&6; }
   12001 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   12002   $as_echo_n "(cached) " >&6
   12003 else
   12004   case $PKG_CONFIG in
   12005   [\\/]* | ?:[\\/]*)
   12006   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   12007   ;;
   12008   *)
   12009   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12010 for as_dir in $PATH
   12011 do
   12012   IFS=$as_save_IFS
   12013   test -z "$as_dir" && as_dir=.
   12014     for ac_exec_ext in '' $ac_executable_extensions; do
   12015   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12016     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   12017     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12018     break 2
   12019   fi
   12020 done
   12021   done
   12022 IFS=$as_save_IFS
   12023 
   12024   ;;
   12025 esac
   12026 fi
   12027 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   12028 if test -n "$PKG_CONFIG"; then
   12029   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   12030 $as_echo "$PKG_CONFIG" >&6; }
   12031 else
   12032   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12033 $as_echo "no" >&6; }
   12034 fi
   12035 
   12036 
   12037 fi
   12038 if test -z "$ac_cv_path_PKG_CONFIG"; then
   12039   ac_pt_PKG_CONFIG=$PKG_CONFIG
   12040   # Extract the first word of "pkg-config", so it can be a program name with args.
   12041 set dummy pkg-config; ac_word=$2
   12042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12043 $as_echo_n "checking for $ac_word... " >&6; }
   12044 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   12045   $as_echo_n "(cached) " >&6
   12046 else
   12047   case $ac_pt_PKG_CONFIG in
   12048   [\\/]* | ?:[\\/]*)
   12049   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   12050   ;;
   12051   *)
   12052   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12053 for as_dir in $PATH
   12054 do
   12055   IFS=$as_save_IFS
   12056   test -z "$as_dir" && as_dir=.
   12057     for ac_exec_ext in '' $ac_executable_extensions; do
   12058   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   12059     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   12060     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12061     break 2
   12062   fi
   12063 done
   12064   done
   12065 IFS=$as_save_IFS
   12066 
   12067   ;;
   12068 esac
   12069 fi
   12070 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   12071 if test -n "$ac_pt_PKG_CONFIG"; then
   12072   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   12073 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   12074 else
   12075   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12076 $as_echo "no" >&6; }
   12077 fi
   12078 
   12079   if test "x$ac_pt_PKG_CONFIG" = x; then
   12080     PKG_CONFIG=""
   12081   else
   12082     case $cross_compiling:$ac_tool_warned in
   12083 yes:)
   12084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12085 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12086 ac_tool_warned=yes ;;
   12087 esac
   12088     PKG_CONFIG=$ac_pt_PKG_CONFIG
   12089   fi
   12090 else
   12091   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   12092 fi
   12093 
   12094 fi
   12095 if test -n "$PKG_CONFIG"; then
   12096 	_pkg_min_version=0.9.0
   12097 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   12098 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   12099 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   12100 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12101 $as_echo "yes" >&6; }
   12102 	else
   12103 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12104 $as_echo "no" >&6; }
   12105 		PKG_CONFIG=""
   12106 	fi
   12107 
   12108 fi
   12109 
   12110 
   12111 
   12112 
   12113 
   12114 # Check whether --enable-selective-werror was given.
   12115 if test "${enable_selective_werror+set}" = set; then :
   12116   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   12117 else
   12118   SELECTIVE_WERROR=yes
   12119 fi
   12120 
   12121 
   12122 
   12123 
   12124 
   12125 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   12126 if test "x$SUNCC" = "xyes"; then
   12127     BASE_CFLAGS="-v"
   12128 else
   12129     BASE_CFLAGS=""
   12130 fi
   12131 
   12132 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   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 -Wall"
   12211 
   12212 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   12213 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   12214 		cacheid=xorg_cv_cc_flag__Wall
   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 -Wall"
   12246 			found="yes"
   12247 		fi
   12248 	fi
   12249 
   12250 
   12251 
   12252 
   12253 
   12254 
   12255 
   12256 
   12257 
   12258 
   12259 
   12260 
   12261 
   12262 
   12263 
   12264 xorg_testset_save_CFLAGS="$CFLAGS"
   12265 
   12266 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12267 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12268 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12269 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12270 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12271   $as_echo_n "(cached) " >&6
   12272 else
   12273   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12274 /* end confdefs.h.  */
   12275 int i;
   12276 _ACEOF
   12277 if ac_fn_c_try_compile "$LINENO"; then :
   12278   xorg_cv_cc_flag_unknown_warning_option=yes
   12279 else
   12280   xorg_cv_cc_flag_unknown_warning_option=no
   12281 fi
   12282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12283 fi
   12284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12285 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12286 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12287 	CFLAGS="$xorg_testset_save_CFLAGS"
   12288 fi
   12289 
   12290 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12291 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12292 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12293 	fi
   12294 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12295 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12296 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12297 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12298   $as_echo_n "(cached) " >&6
   12299 else
   12300   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12301 /* end confdefs.h.  */
   12302 int i;
   12303 _ACEOF
   12304 if ac_fn_c_try_compile "$LINENO"; then :
   12305   xorg_cv_cc_flag_unused_command_line_argument=yes
   12306 else
   12307   xorg_cv_cc_flag_unused_command_line_argument=no
   12308 fi
   12309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12310 fi
   12311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12312 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12313 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12314 	CFLAGS="$xorg_testset_save_CFLAGS"
   12315 fi
   12316 
   12317 found="no"
   12318 
   12319 	if test $found = "no" ; then
   12320 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12321 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12322 		fi
   12323 
   12324 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12325 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12326 		fi
   12327 
   12328 		CFLAGS="$CFLAGS -Wpointer-arith"
   12329 
   12330 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   12331 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   12332 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   12333 		if eval \${$cacheid+:} false; then :
   12334   $as_echo_n "(cached) " >&6
   12335 else
   12336   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12337 /* end confdefs.h.  */
   12338 int i;
   12339 int
   12340 main ()
   12341 {
   12342 
   12343   ;
   12344   return 0;
   12345 }
   12346 _ACEOF
   12347 if ac_fn_c_try_link "$LINENO"; then :
   12348   eval $cacheid=yes
   12349 else
   12350   eval $cacheid=no
   12351 fi
   12352 rm -f core conftest.err conftest.$ac_objext \
   12353     conftest$ac_exeext conftest.$ac_ext
   12354 fi
   12355 
   12356 
   12357 		CFLAGS="$xorg_testset_save_CFLAGS"
   12358 
   12359 		eval supported=\$$cacheid
   12360 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12361 $as_echo "$supported" >&6; }
   12362 		if test "$supported" = "yes" ; then
   12363 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   12364 			found="yes"
   12365 		fi
   12366 	fi
   12367 
   12368 
   12369 
   12370 
   12371 
   12372 
   12373 
   12374 
   12375 
   12376 
   12377 
   12378 
   12379 
   12380 
   12381 
   12382 xorg_testset_save_CFLAGS="$CFLAGS"
   12383 
   12384 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12385 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12386 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12387 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12388 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12389   $as_echo_n "(cached) " >&6
   12390 else
   12391   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12392 /* end confdefs.h.  */
   12393 int i;
   12394 _ACEOF
   12395 if ac_fn_c_try_compile "$LINENO"; then :
   12396   xorg_cv_cc_flag_unknown_warning_option=yes
   12397 else
   12398   xorg_cv_cc_flag_unknown_warning_option=no
   12399 fi
   12400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12401 fi
   12402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12403 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12404 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12405 	CFLAGS="$xorg_testset_save_CFLAGS"
   12406 fi
   12407 
   12408 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12409 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12410 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12411 	fi
   12412 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12413 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12414 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12415 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12416   $as_echo_n "(cached) " >&6
   12417 else
   12418   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12419 /* end confdefs.h.  */
   12420 int i;
   12421 _ACEOF
   12422 if ac_fn_c_try_compile "$LINENO"; then :
   12423   xorg_cv_cc_flag_unused_command_line_argument=yes
   12424 else
   12425   xorg_cv_cc_flag_unused_command_line_argument=no
   12426 fi
   12427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12428 fi
   12429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12430 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12431 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12432 	CFLAGS="$xorg_testset_save_CFLAGS"
   12433 fi
   12434 
   12435 found="no"
   12436 
   12437 	if test $found = "no" ; then
   12438 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12439 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12440 		fi
   12441 
   12442 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12443 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12444 		fi
   12445 
   12446 		CFLAGS="$CFLAGS -Wmissing-declarations"
   12447 
   12448 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   12449 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   12450 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   12451 		if eval \${$cacheid+:} false; then :
   12452   $as_echo_n "(cached) " >&6
   12453 else
   12454   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12455 /* end confdefs.h.  */
   12456 int i;
   12457 int
   12458 main ()
   12459 {
   12460 
   12461   ;
   12462   return 0;
   12463 }
   12464 _ACEOF
   12465 if ac_fn_c_try_link "$LINENO"; then :
   12466   eval $cacheid=yes
   12467 else
   12468   eval $cacheid=no
   12469 fi
   12470 rm -f core conftest.err conftest.$ac_objext \
   12471     conftest$ac_exeext conftest.$ac_ext
   12472 fi
   12473 
   12474 
   12475 		CFLAGS="$xorg_testset_save_CFLAGS"
   12476 
   12477 		eval supported=\$$cacheid
   12478 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12479 $as_echo "$supported" >&6; }
   12480 		if test "$supported" = "yes" ; then
   12481 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   12482 			found="yes"
   12483 		fi
   12484 	fi
   12485 
   12486 
   12487 
   12488 
   12489 
   12490 
   12491 
   12492 
   12493 
   12494 
   12495 
   12496 
   12497 
   12498 
   12499 
   12500 xorg_testset_save_CFLAGS="$CFLAGS"
   12501 
   12502 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12503 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12504 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12505 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12506 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12507   $as_echo_n "(cached) " >&6
   12508 else
   12509   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12510 /* end confdefs.h.  */
   12511 int i;
   12512 _ACEOF
   12513 if ac_fn_c_try_compile "$LINENO"; then :
   12514   xorg_cv_cc_flag_unknown_warning_option=yes
   12515 else
   12516   xorg_cv_cc_flag_unknown_warning_option=no
   12517 fi
   12518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12519 fi
   12520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12521 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12522 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12523 	CFLAGS="$xorg_testset_save_CFLAGS"
   12524 fi
   12525 
   12526 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12527 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12528 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12529 	fi
   12530 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12531 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12532 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12533 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12534   $as_echo_n "(cached) " >&6
   12535 else
   12536   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12537 /* end confdefs.h.  */
   12538 int i;
   12539 _ACEOF
   12540 if ac_fn_c_try_compile "$LINENO"; then :
   12541   xorg_cv_cc_flag_unused_command_line_argument=yes
   12542 else
   12543   xorg_cv_cc_flag_unused_command_line_argument=no
   12544 fi
   12545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12546 fi
   12547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12548 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12549 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12550 	CFLAGS="$xorg_testset_save_CFLAGS"
   12551 fi
   12552 
   12553 found="no"
   12554 
   12555 	if test $found = "no" ; then
   12556 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12557 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12558 		fi
   12559 
   12560 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12561 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12562 		fi
   12563 
   12564 		CFLAGS="$CFLAGS -Wformat=2"
   12565 
   12566 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   12567 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   12568 		cacheid=`$as_echo "xorg_cv_cc_flag_-Wformat=2" | $as_tr_sh`
   12569 		if eval \${$cacheid+:} false; then :
   12570   $as_echo_n "(cached) " >&6
   12571 else
   12572   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12573 /* end confdefs.h.  */
   12574 int i;
   12575 int
   12576 main ()
   12577 {
   12578 
   12579   ;
   12580   return 0;
   12581 }
   12582 _ACEOF
   12583 if ac_fn_c_try_link "$LINENO"; then :
   12584   eval $cacheid=yes
   12585 else
   12586   eval $cacheid=no
   12587 fi
   12588 rm -f core conftest.err conftest.$ac_objext \
   12589     conftest$ac_exeext conftest.$ac_ext
   12590 fi
   12591 
   12592 
   12593 		CFLAGS="$xorg_testset_save_CFLAGS"
   12594 
   12595 		eval supported=\$$cacheid
   12596 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12597 $as_echo "$supported" >&6; }
   12598 		if test "$supported" = "yes" ; then
   12599 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   12600 			found="yes"
   12601 		fi
   12602 	fi
   12603 
   12604 	if test $found = "no" ; then
   12605 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12606 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12607 		fi
   12608 
   12609 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12610 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12611 		fi
   12612 
   12613 		CFLAGS="$CFLAGS -Wformat"
   12614 
   12615 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   12616 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   12617 		cacheid=xorg_cv_cc_flag__Wformat
   12618 		if eval \${$cacheid+:} false; then :
   12619   $as_echo_n "(cached) " >&6
   12620 else
   12621   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12622 /* end confdefs.h.  */
   12623 int i;
   12624 int
   12625 main ()
   12626 {
   12627 
   12628   ;
   12629   return 0;
   12630 }
   12631 _ACEOF
   12632 if ac_fn_c_try_link "$LINENO"; then :
   12633   eval $cacheid=yes
   12634 else
   12635   eval $cacheid=no
   12636 fi
   12637 rm -f core conftest.err conftest.$ac_objext \
   12638     conftest$ac_exeext conftest.$ac_ext
   12639 fi
   12640 
   12641 
   12642 		CFLAGS="$xorg_testset_save_CFLAGS"
   12643 
   12644 		eval supported=\$$cacheid
   12645 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12646 $as_echo "$supported" >&6; }
   12647 		if test "$supported" = "yes" ; then
   12648 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   12649 			found="yes"
   12650 		fi
   12651 	fi
   12652 
   12653 
   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 -Wstrict-prototypes"
   12734 
   12735 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   12736 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   12737 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   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 -Wstrict-prototypes"
   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 -Wmissing-prototypes"
   12852 
   12853 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   12854 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   12855 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   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 -Wmissing-prototypes"
   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 -Wnested-externs"
   12970 
   12971 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   12972 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   12973 		cacheid=xorg_cv_cc_flag__Wnested_externs
   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 -Wnested-externs"
   13005 			found="yes"
   13006 		fi
   13007 	fi
   13008 
   13009 
   13010 
   13011 
   13012 
   13013 
   13014 
   13015 
   13016 
   13017 
   13018 
   13019 
   13020 
   13021 
   13022 
   13023 xorg_testset_save_CFLAGS="$CFLAGS"
   13024 
   13025 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13026 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13027 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13028 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13029 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13030   $as_echo_n "(cached) " >&6
   13031 else
   13032   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13033 /* end confdefs.h.  */
   13034 int i;
   13035 _ACEOF
   13036 if ac_fn_c_try_compile "$LINENO"; then :
   13037   xorg_cv_cc_flag_unknown_warning_option=yes
   13038 else
   13039   xorg_cv_cc_flag_unknown_warning_option=no
   13040 fi
   13041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13042 fi
   13043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13044 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13045 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13046 	CFLAGS="$xorg_testset_save_CFLAGS"
   13047 fi
   13048 
   13049 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13050 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13051 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13052 	fi
   13053 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13054 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13055 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13056 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13057   $as_echo_n "(cached) " >&6
   13058 else
   13059   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13060 /* end confdefs.h.  */
   13061 int i;
   13062 _ACEOF
   13063 if ac_fn_c_try_compile "$LINENO"; then :
   13064   xorg_cv_cc_flag_unused_command_line_argument=yes
   13065 else
   13066   xorg_cv_cc_flag_unused_command_line_argument=no
   13067 fi
   13068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13069 fi
   13070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13071 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13072 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13073 	CFLAGS="$xorg_testset_save_CFLAGS"
   13074 fi
   13075 
   13076 found="no"
   13077 
   13078 	if test $found = "no" ; then
   13079 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13080 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13081 		fi
   13082 
   13083 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13084 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13085 		fi
   13086 
   13087 		CFLAGS="$CFLAGS -Wbad-function-cast"
   13088 
   13089 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   13090 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   13091 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   13092 		if eval \${$cacheid+:} false; then :
   13093   $as_echo_n "(cached) " >&6
   13094 else
   13095   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13096 /* end confdefs.h.  */
   13097 int i;
   13098 int
   13099 main ()
   13100 {
   13101 
   13102   ;
   13103   return 0;
   13104 }
   13105 _ACEOF
   13106 if ac_fn_c_try_link "$LINENO"; then :
   13107   eval $cacheid=yes
   13108 else
   13109   eval $cacheid=no
   13110 fi
   13111 rm -f core conftest.err conftest.$ac_objext \
   13112     conftest$ac_exeext conftest.$ac_ext
   13113 fi
   13114 
   13115 
   13116 		CFLAGS="$xorg_testset_save_CFLAGS"
   13117 
   13118 		eval supported=\$$cacheid
   13119 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13120 $as_echo "$supported" >&6; }
   13121 		if test "$supported" = "yes" ; then
   13122 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   13123 			found="yes"
   13124 		fi
   13125 	fi
   13126 
   13127 
   13128 
   13129 
   13130 
   13131 
   13132 
   13133 
   13134 
   13135 
   13136 
   13137 
   13138 
   13139 
   13140 
   13141 xorg_testset_save_CFLAGS="$CFLAGS"
   13142 
   13143 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13144 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13145 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13146 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13147 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13148   $as_echo_n "(cached) " >&6
   13149 else
   13150   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13151 /* end confdefs.h.  */
   13152 int i;
   13153 _ACEOF
   13154 if ac_fn_c_try_compile "$LINENO"; then :
   13155   xorg_cv_cc_flag_unknown_warning_option=yes
   13156 else
   13157   xorg_cv_cc_flag_unknown_warning_option=no
   13158 fi
   13159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13160 fi
   13161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13162 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13163 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13164 	CFLAGS="$xorg_testset_save_CFLAGS"
   13165 fi
   13166 
   13167 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13168 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13169 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13170 	fi
   13171 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13172 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13173 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13174 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13175   $as_echo_n "(cached) " >&6
   13176 else
   13177   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13178 /* end confdefs.h.  */
   13179 int i;
   13180 _ACEOF
   13181 if ac_fn_c_try_compile "$LINENO"; then :
   13182   xorg_cv_cc_flag_unused_command_line_argument=yes
   13183 else
   13184   xorg_cv_cc_flag_unused_command_line_argument=no
   13185 fi
   13186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13187 fi
   13188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13189 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13190 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13191 	CFLAGS="$xorg_testset_save_CFLAGS"
   13192 fi
   13193 
   13194 found="no"
   13195 
   13196 	if test $found = "no" ; then
   13197 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13198 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13199 		fi
   13200 
   13201 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13202 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13203 		fi
   13204 
   13205 		CFLAGS="$CFLAGS -Wold-style-definition"
   13206 
   13207 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   13208 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   13209 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   13210 		if eval \${$cacheid+:} false; then :
   13211   $as_echo_n "(cached) " >&6
   13212 else
   13213   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13214 /* end confdefs.h.  */
   13215 int i;
   13216 int
   13217 main ()
   13218 {
   13219 
   13220   ;
   13221   return 0;
   13222 }
   13223 _ACEOF
   13224 if ac_fn_c_try_link "$LINENO"; then :
   13225   eval $cacheid=yes
   13226 else
   13227   eval $cacheid=no
   13228 fi
   13229 rm -f core conftest.err conftest.$ac_objext \
   13230     conftest$ac_exeext conftest.$ac_ext
   13231 fi
   13232 
   13233 
   13234 		CFLAGS="$xorg_testset_save_CFLAGS"
   13235 
   13236 		eval supported=\$$cacheid
   13237 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13238 $as_echo "$supported" >&6; }
   13239 		if test "$supported" = "yes" ; then
   13240 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   13241 			found="yes"
   13242 		fi
   13243 	fi
   13244 
   13245 
   13246 
   13247 
   13248 
   13249 
   13250 
   13251 
   13252 
   13253 
   13254 
   13255 
   13256 
   13257 
   13258 
   13259 xorg_testset_save_CFLAGS="$CFLAGS"
   13260 
   13261 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13262 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13263 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13264 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13265 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13266   $as_echo_n "(cached) " >&6
   13267 else
   13268   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13269 /* end confdefs.h.  */
   13270 int i;
   13271 _ACEOF
   13272 if ac_fn_c_try_compile "$LINENO"; then :
   13273   xorg_cv_cc_flag_unknown_warning_option=yes
   13274 else
   13275   xorg_cv_cc_flag_unknown_warning_option=no
   13276 fi
   13277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13278 fi
   13279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13280 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13281 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13282 	CFLAGS="$xorg_testset_save_CFLAGS"
   13283 fi
   13284 
   13285 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13286 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13287 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13288 	fi
   13289 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13290 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13291 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13292 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13293   $as_echo_n "(cached) " >&6
   13294 else
   13295   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13296 /* end confdefs.h.  */
   13297 int i;
   13298 _ACEOF
   13299 if ac_fn_c_try_compile "$LINENO"; then :
   13300   xorg_cv_cc_flag_unused_command_line_argument=yes
   13301 else
   13302   xorg_cv_cc_flag_unused_command_line_argument=no
   13303 fi
   13304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13305 fi
   13306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13307 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13308 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13309 	CFLAGS="$xorg_testset_save_CFLAGS"
   13310 fi
   13311 
   13312 found="no"
   13313 
   13314 	if test $found = "no" ; then
   13315 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13316 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13317 		fi
   13318 
   13319 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13320 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13321 		fi
   13322 
   13323 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   13324 
   13325 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   13326 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   13327 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   13328 		if eval \${$cacheid+:} false; then :
   13329   $as_echo_n "(cached) " >&6
   13330 else
   13331   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13332 /* end confdefs.h.  */
   13333 int i;
   13334 int
   13335 main ()
   13336 {
   13337 
   13338   ;
   13339   return 0;
   13340 }
   13341 _ACEOF
   13342 if ac_fn_c_try_link "$LINENO"; then :
   13343   eval $cacheid=yes
   13344 else
   13345   eval $cacheid=no
   13346 fi
   13347 rm -f core conftest.err conftest.$ac_objext \
   13348     conftest$ac_exeext conftest.$ac_ext
   13349 fi
   13350 
   13351 
   13352 		CFLAGS="$xorg_testset_save_CFLAGS"
   13353 
   13354 		eval supported=\$$cacheid
   13355 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13356 $as_echo "$supported" >&6; }
   13357 		if test "$supported" = "yes" ; then
   13358 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   13359 			found="yes"
   13360 		fi
   13361 	fi
   13362 
   13363 
   13364 
   13365 
   13366 
   13367 # This chunk adds additional warnings that could catch undesired effects.
   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 -Wunused"
   13446 
   13447 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   13448 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   13449 		cacheid=xorg_cv_cc_flag__Wunused
   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 -Wunused"
   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 -Wuninitialized"
   13564 
   13565 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   13566 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   13567 		cacheid=xorg_cv_cc_flag__Wuninitialized
   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 -Wuninitialized"
   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 -Wshadow"
   13682 
   13683 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   13684 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   13685 		cacheid=xorg_cv_cc_flag__Wshadow
   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 -Wshadow"
   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 -Wcast-qual"
   13800 
   13801 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wcast-qual" >&5
   13802 $as_echo_n "checking if $CC supports -Wcast-qual... " >&6; }
   13803 		cacheid=xorg_cv_cc_flag__Wcast_qual
   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 -Wcast-qual"
   13835 			found="yes"
   13836 		fi
   13837 	fi
   13838 
   13839 
   13840 
   13841 
   13842 
   13843 
   13844 
   13845 
   13846 
   13847 
   13848 
   13849 
   13850 
   13851 
   13852 
   13853 xorg_testset_save_CFLAGS="$CFLAGS"
   13854 
   13855 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13856 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13857 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13858 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13859 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13860   $as_echo_n "(cached) " >&6
   13861 else
   13862   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13863 /* end confdefs.h.  */
   13864 int i;
   13865 _ACEOF
   13866 if ac_fn_c_try_compile "$LINENO"; then :
   13867   xorg_cv_cc_flag_unknown_warning_option=yes
   13868 else
   13869   xorg_cv_cc_flag_unknown_warning_option=no
   13870 fi
   13871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13872 fi
   13873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13874 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13875 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13876 	CFLAGS="$xorg_testset_save_CFLAGS"
   13877 fi
   13878 
   13879 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13880 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13881 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13882 	fi
   13883 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13884 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13885 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13886 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13887   $as_echo_n "(cached) " >&6
   13888 else
   13889   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13890 /* end confdefs.h.  */
   13891 int i;
   13892 _ACEOF
   13893 if ac_fn_c_try_compile "$LINENO"; then :
   13894   xorg_cv_cc_flag_unused_command_line_argument=yes
   13895 else
   13896   xorg_cv_cc_flag_unused_command_line_argument=no
   13897 fi
   13898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13899 fi
   13900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13901 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13902 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13903 	CFLAGS="$xorg_testset_save_CFLAGS"
   13904 fi
   13905 
   13906 found="no"
   13907 
   13908 	if test $found = "no" ; then
   13909 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13910 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13911 		fi
   13912 
   13913 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13914 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13915 		fi
   13916 
   13917 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   13918 
   13919 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   13920 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   13921 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   13922 		if eval \${$cacheid+:} false; then :
   13923   $as_echo_n "(cached) " >&6
   13924 else
   13925   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13926 /* end confdefs.h.  */
   13927 int i;
   13928 int
   13929 main ()
   13930 {
   13931 
   13932   ;
   13933   return 0;
   13934 }
   13935 _ACEOF
   13936 if ac_fn_c_try_link "$LINENO"; then :
   13937   eval $cacheid=yes
   13938 else
   13939   eval $cacheid=no
   13940 fi
   13941 rm -f core conftest.err conftest.$ac_objext \
   13942     conftest$ac_exeext conftest.$ac_ext
   13943 fi
   13944 
   13945 
   13946 		CFLAGS="$xorg_testset_save_CFLAGS"
   13947 
   13948 		eval supported=\$$cacheid
   13949 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13950 $as_echo "$supported" >&6; }
   13951 		if test "$supported" = "yes" ; then
   13952 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   13953 			found="yes"
   13954 		fi
   13955 	fi
   13956 
   13957 
   13958 
   13959 
   13960 
   13961 
   13962 
   13963 
   13964 
   13965 
   13966 
   13967 
   13968 
   13969 
   13970 
   13971 xorg_testset_save_CFLAGS="$CFLAGS"
   13972 
   13973 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13974 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13975 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13976 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13977 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13978   $as_echo_n "(cached) " >&6
   13979 else
   13980   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13981 /* end confdefs.h.  */
   13982 int i;
   13983 _ACEOF
   13984 if ac_fn_c_try_compile "$LINENO"; then :
   13985   xorg_cv_cc_flag_unknown_warning_option=yes
   13986 else
   13987   xorg_cv_cc_flag_unknown_warning_option=no
   13988 fi
   13989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13990 fi
   13991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13992 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13993 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13994 	CFLAGS="$xorg_testset_save_CFLAGS"
   13995 fi
   13996 
   13997 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13998 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13999 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14000 	fi
   14001 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14002 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14003 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14004 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14005   $as_echo_n "(cached) " >&6
   14006 else
   14007   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14008 /* end confdefs.h.  */
   14009 int i;
   14010 _ACEOF
   14011 if ac_fn_c_try_compile "$LINENO"; then :
   14012   xorg_cv_cc_flag_unused_command_line_argument=yes
   14013 else
   14014   xorg_cv_cc_flag_unused_command_line_argument=no
   14015 fi
   14016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14017 fi
   14018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14019 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14020 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14021 	CFLAGS="$xorg_testset_save_CFLAGS"
   14022 fi
   14023 
   14024 found="no"
   14025 
   14026 	if test $found = "no" ; then
   14027 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14028 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14029 		fi
   14030 
   14031 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14032 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14033 		fi
   14034 
   14035 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   14036 
   14037 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   14038 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   14039 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   14040 		if eval \${$cacheid+:} false; then :
   14041   $as_echo_n "(cached) " >&6
   14042 else
   14043   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14044 /* end confdefs.h.  */
   14045 int i;
   14046 int
   14047 main ()
   14048 {
   14049 
   14050   ;
   14051   return 0;
   14052 }
   14053 _ACEOF
   14054 if ac_fn_c_try_link "$LINENO"; then :
   14055   eval $cacheid=yes
   14056 else
   14057   eval $cacheid=no
   14058 fi
   14059 rm -f core conftest.err conftest.$ac_objext \
   14060     conftest$ac_exeext conftest.$ac_ext
   14061 fi
   14062 
   14063 
   14064 		CFLAGS="$xorg_testset_save_CFLAGS"
   14065 
   14066 		eval supported=\$$cacheid
   14067 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14068 $as_echo "$supported" >&6; }
   14069 		if test "$supported" = "yes" ; then
   14070 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   14071 			found="yes"
   14072 		fi
   14073 	fi
   14074 
   14075 
   14076 
   14077 
   14078 
   14079 
   14080 
   14081 
   14082 
   14083 
   14084 
   14085 
   14086 
   14087 
   14088 
   14089 xorg_testset_save_CFLAGS="$CFLAGS"
   14090 
   14091 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14092 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14093 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14094 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14095 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14096   $as_echo_n "(cached) " >&6
   14097 else
   14098   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14099 /* end confdefs.h.  */
   14100 int i;
   14101 _ACEOF
   14102 if ac_fn_c_try_compile "$LINENO"; then :
   14103   xorg_cv_cc_flag_unknown_warning_option=yes
   14104 else
   14105   xorg_cv_cc_flag_unknown_warning_option=no
   14106 fi
   14107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14108 fi
   14109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14110 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14111 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14112 	CFLAGS="$xorg_testset_save_CFLAGS"
   14113 fi
   14114 
   14115 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14116 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14117 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14118 	fi
   14119 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14120 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14121 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14122 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14123   $as_echo_n "(cached) " >&6
   14124 else
   14125   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14126 /* end confdefs.h.  */
   14127 int i;
   14128 _ACEOF
   14129 if ac_fn_c_try_compile "$LINENO"; then :
   14130   xorg_cv_cc_flag_unused_command_line_argument=yes
   14131 else
   14132   xorg_cv_cc_flag_unused_command_line_argument=no
   14133 fi
   14134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14135 fi
   14136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14137 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14138 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14139 	CFLAGS="$xorg_testset_save_CFLAGS"
   14140 fi
   14141 
   14142 found="no"
   14143 
   14144 	if test $found = "no" ; then
   14145 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14146 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14147 		fi
   14148 
   14149 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14150 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14151 		fi
   14152 
   14153 		CFLAGS="$CFLAGS -Wredundant-decls"
   14154 
   14155 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   14156 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   14157 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   14158 		if eval \${$cacheid+:} false; then :
   14159   $as_echo_n "(cached) " >&6
   14160 else
   14161   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14162 /* end confdefs.h.  */
   14163 int i;
   14164 int
   14165 main ()
   14166 {
   14167 
   14168   ;
   14169   return 0;
   14170 }
   14171 _ACEOF
   14172 if ac_fn_c_try_link "$LINENO"; then :
   14173   eval $cacheid=yes
   14174 else
   14175   eval $cacheid=no
   14176 fi
   14177 rm -f core conftest.err conftest.$ac_objext \
   14178     conftest$ac_exeext conftest.$ac_ext
   14179 fi
   14180 
   14181 
   14182 		CFLAGS="$xorg_testset_save_CFLAGS"
   14183 
   14184 		eval supported=\$$cacheid
   14185 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14186 $as_echo "$supported" >&6; }
   14187 		if test "$supported" = "yes" ; then
   14188 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   14189 			found="yes"
   14190 		fi
   14191 	fi
   14192 
   14193 
   14194 
   14195 # These are currently disabled because they are noisy.  They will be enabled
   14196 # in the future once the codebase is sufficiently modernized to silence
   14197 # them.  For now, I don't want them to drown out the other warnings.
   14198 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wlogical-op])
   14199 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   14200 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   14201 
   14202 # Turn some warnings into errors, so we don't accidently get successful builds
   14203 # when there are problems that should be fixed.
   14204 
   14205 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   14206 
   14207 
   14208 
   14209 
   14210 
   14211 
   14212 
   14213 
   14214 
   14215 
   14216 
   14217 
   14218 
   14219 xorg_testset_save_CFLAGS="$CFLAGS"
   14220 
   14221 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14222 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14223 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14224 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14225 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14226   $as_echo_n "(cached) " >&6
   14227 else
   14228   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14229 /* end confdefs.h.  */
   14230 int i;
   14231 _ACEOF
   14232 if ac_fn_c_try_compile "$LINENO"; then :
   14233   xorg_cv_cc_flag_unknown_warning_option=yes
   14234 else
   14235   xorg_cv_cc_flag_unknown_warning_option=no
   14236 fi
   14237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14238 fi
   14239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14240 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14241 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14242 	CFLAGS="$xorg_testset_save_CFLAGS"
   14243 fi
   14244 
   14245 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14246 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14247 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14248 	fi
   14249 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14250 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14251 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14252 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14253   $as_echo_n "(cached) " >&6
   14254 else
   14255   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14256 /* end confdefs.h.  */
   14257 int i;
   14258 _ACEOF
   14259 if ac_fn_c_try_compile "$LINENO"; then :
   14260   xorg_cv_cc_flag_unused_command_line_argument=yes
   14261 else
   14262   xorg_cv_cc_flag_unused_command_line_argument=no
   14263 fi
   14264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14265 fi
   14266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14267 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14268 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14269 	CFLAGS="$xorg_testset_save_CFLAGS"
   14270 fi
   14271 
   14272 found="no"
   14273 
   14274 	if test $found = "no" ; then
   14275 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14276 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14277 		fi
   14278 
   14279 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14280 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14281 		fi
   14282 
   14283 		CFLAGS="$CFLAGS -Werror=implicit"
   14284 
   14285 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   14286 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   14287 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=implicit" | $as_tr_sh`
   14288 		if eval \${$cacheid+:} false; then :
   14289   $as_echo_n "(cached) " >&6
   14290 else
   14291   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14292 /* end confdefs.h.  */
   14293 int i;
   14294 int
   14295 main ()
   14296 {
   14297 
   14298   ;
   14299   return 0;
   14300 }
   14301 _ACEOF
   14302 if ac_fn_c_try_link "$LINENO"; then :
   14303   eval $cacheid=yes
   14304 else
   14305   eval $cacheid=no
   14306 fi
   14307 rm -f core conftest.err conftest.$ac_objext \
   14308     conftest$ac_exeext conftest.$ac_ext
   14309 fi
   14310 
   14311 
   14312 		CFLAGS="$xorg_testset_save_CFLAGS"
   14313 
   14314 		eval supported=\$$cacheid
   14315 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14316 $as_echo "$supported" >&6; }
   14317 		if test "$supported" = "yes" ; then
   14318 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   14319 			found="yes"
   14320 		fi
   14321 	fi
   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 -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   14333 
   14334 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   14335 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   14336 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" | $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 -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   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=nonnull"
   14451 
   14452 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   14453 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   14454 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=nonnull" | $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=nonnull"
   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=init-self"
   14569 
   14570 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   14571 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   14572 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=init-self" | $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=init-self"
   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=main"
   14687 
   14688 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   14689 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   14690 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=main" | $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=main"
   14722 			found="yes"
   14723 		fi
   14724 	fi
   14725 
   14726 
   14727 
   14728 
   14729 
   14730 
   14731 
   14732 
   14733 
   14734 
   14735 
   14736 
   14737 
   14738 
   14739 
   14740 xorg_testset_save_CFLAGS="$CFLAGS"
   14741 
   14742 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14743 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14744 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14745 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14746 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14747   $as_echo_n "(cached) " >&6
   14748 else
   14749   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14750 /* end confdefs.h.  */
   14751 int i;
   14752 _ACEOF
   14753 if ac_fn_c_try_compile "$LINENO"; then :
   14754   xorg_cv_cc_flag_unknown_warning_option=yes
   14755 else
   14756   xorg_cv_cc_flag_unknown_warning_option=no
   14757 fi
   14758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14759 fi
   14760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14761 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14762 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14763 	CFLAGS="$xorg_testset_save_CFLAGS"
   14764 fi
   14765 
   14766 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14767 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14768 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14769 	fi
   14770 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14771 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14772 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14773 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14774   $as_echo_n "(cached) " >&6
   14775 else
   14776   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14777 /* end confdefs.h.  */
   14778 int i;
   14779 _ACEOF
   14780 if ac_fn_c_try_compile "$LINENO"; then :
   14781   xorg_cv_cc_flag_unused_command_line_argument=yes
   14782 else
   14783   xorg_cv_cc_flag_unused_command_line_argument=no
   14784 fi
   14785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14786 fi
   14787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14788 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14789 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14790 	CFLAGS="$xorg_testset_save_CFLAGS"
   14791 fi
   14792 
   14793 found="no"
   14794 
   14795 	if test $found = "no" ; then
   14796 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14797 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14798 		fi
   14799 
   14800 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14801 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14802 		fi
   14803 
   14804 		CFLAGS="$CFLAGS -Werror=missing-braces"
   14805 
   14806 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   14807 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   14808 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=missing-braces" | $as_tr_sh`
   14809 		if eval \${$cacheid+:} false; then :
   14810   $as_echo_n "(cached) " >&6
   14811 else
   14812   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14813 /* end confdefs.h.  */
   14814 int i;
   14815 int
   14816 main ()
   14817 {
   14818 
   14819   ;
   14820   return 0;
   14821 }
   14822 _ACEOF
   14823 if ac_fn_c_try_link "$LINENO"; then :
   14824   eval $cacheid=yes
   14825 else
   14826   eval $cacheid=no
   14827 fi
   14828 rm -f core conftest.err conftest.$ac_objext \
   14829     conftest$ac_exeext conftest.$ac_ext
   14830 fi
   14831 
   14832 
   14833 		CFLAGS="$xorg_testset_save_CFLAGS"
   14834 
   14835 		eval supported=\$$cacheid
   14836 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14837 $as_echo "$supported" >&6; }
   14838 		if test "$supported" = "yes" ; then
   14839 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   14840 			found="yes"
   14841 		fi
   14842 	fi
   14843 
   14844 
   14845 
   14846 
   14847 
   14848 
   14849 
   14850 
   14851 
   14852 
   14853 
   14854 
   14855 
   14856 
   14857 
   14858 xorg_testset_save_CFLAGS="$CFLAGS"
   14859 
   14860 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14861 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14862 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14863 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14864 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14865   $as_echo_n "(cached) " >&6
   14866 else
   14867   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14868 /* end confdefs.h.  */
   14869 int i;
   14870 _ACEOF
   14871 if ac_fn_c_try_compile "$LINENO"; then :
   14872   xorg_cv_cc_flag_unknown_warning_option=yes
   14873 else
   14874   xorg_cv_cc_flag_unknown_warning_option=no
   14875 fi
   14876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14877 fi
   14878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14879 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14880 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14881 	CFLAGS="$xorg_testset_save_CFLAGS"
   14882 fi
   14883 
   14884 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14885 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14886 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14887 	fi
   14888 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14889 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14890 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14891 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14892   $as_echo_n "(cached) " >&6
   14893 else
   14894   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14895 /* end confdefs.h.  */
   14896 int i;
   14897 _ACEOF
   14898 if ac_fn_c_try_compile "$LINENO"; then :
   14899   xorg_cv_cc_flag_unused_command_line_argument=yes
   14900 else
   14901   xorg_cv_cc_flag_unused_command_line_argument=no
   14902 fi
   14903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14904 fi
   14905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14906 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14907 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14908 	CFLAGS="$xorg_testset_save_CFLAGS"
   14909 fi
   14910 
   14911 found="no"
   14912 
   14913 	if test $found = "no" ; then
   14914 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14915 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14916 		fi
   14917 
   14918 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14919 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14920 		fi
   14921 
   14922 		CFLAGS="$CFLAGS -Werror=sequence-point"
   14923 
   14924 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   14925 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   14926 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=sequence-point" | $as_tr_sh`
   14927 		if eval \${$cacheid+:} false; then :
   14928   $as_echo_n "(cached) " >&6
   14929 else
   14930   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14931 /* end confdefs.h.  */
   14932 int i;
   14933 int
   14934 main ()
   14935 {
   14936 
   14937   ;
   14938   return 0;
   14939 }
   14940 _ACEOF
   14941 if ac_fn_c_try_link "$LINENO"; then :
   14942   eval $cacheid=yes
   14943 else
   14944   eval $cacheid=no
   14945 fi
   14946 rm -f core conftest.err conftest.$ac_objext \
   14947     conftest$ac_exeext conftest.$ac_ext
   14948 fi
   14949 
   14950 
   14951 		CFLAGS="$xorg_testset_save_CFLAGS"
   14952 
   14953 		eval supported=\$$cacheid
   14954 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14955 $as_echo "$supported" >&6; }
   14956 		if test "$supported" = "yes" ; then
   14957 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   14958 			found="yes"
   14959 		fi
   14960 	fi
   14961 
   14962 
   14963 
   14964 
   14965 
   14966 
   14967 
   14968 
   14969 
   14970 
   14971 
   14972 
   14973 
   14974 
   14975 
   14976 xorg_testset_save_CFLAGS="$CFLAGS"
   14977 
   14978 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14979 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14980 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14981 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14982 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14983   $as_echo_n "(cached) " >&6
   14984 else
   14985   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14986 /* end confdefs.h.  */
   14987 int i;
   14988 _ACEOF
   14989 if ac_fn_c_try_compile "$LINENO"; then :
   14990   xorg_cv_cc_flag_unknown_warning_option=yes
   14991 else
   14992   xorg_cv_cc_flag_unknown_warning_option=no
   14993 fi
   14994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14995 fi
   14996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14997 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14998 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14999 	CFLAGS="$xorg_testset_save_CFLAGS"
   15000 fi
   15001 
   15002 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15003 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15004 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15005 	fi
   15006 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15007 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15008 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15009 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15010   $as_echo_n "(cached) " >&6
   15011 else
   15012   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15013 /* end confdefs.h.  */
   15014 int i;
   15015 _ACEOF
   15016 if ac_fn_c_try_compile "$LINENO"; then :
   15017   xorg_cv_cc_flag_unused_command_line_argument=yes
   15018 else
   15019   xorg_cv_cc_flag_unused_command_line_argument=no
   15020 fi
   15021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15022 fi
   15023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15024 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15025 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15026 	CFLAGS="$xorg_testset_save_CFLAGS"
   15027 fi
   15028 
   15029 found="no"
   15030 
   15031 	if test $found = "no" ; then
   15032 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15033 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15034 		fi
   15035 
   15036 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15037 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15038 		fi
   15039 
   15040 		CFLAGS="$CFLAGS -Werror=return-type"
   15041 
   15042 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   15043 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   15044 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=return-type" | $as_tr_sh`
   15045 		if eval \${$cacheid+:} false; then :
   15046   $as_echo_n "(cached) " >&6
   15047 else
   15048   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15049 /* end confdefs.h.  */
   15050 int i;
   15051 int
   15052 main ()
   15053 {
   15054 
   15055   ;
   15056   return 0;
   15057 }
   15058 _ACEOF
   15059 if ac_fn_c_try_link "$LINENO"; then :
   15060   eval $cacheid=yes
   15061 else
   15062   eval $cacheid=no
   15063 fi
   15064 rm -f core conftest.err conftest.$ac_objext \
   15065     conftest$ac_exeext conftest.$ac_ext
   15066 fi
   15067 
   15068 
   15069 		CFLAGS="$xorg_testset_save_CFLAGS"
   15070 
   15071 		eval supported=\$$cacheid
   15072 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15073 $as_echo "$supported" >&6; }
   15074 		if test "$supported" = "yes" ; then
   15075 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   15076 			found="yes"
   15077 		fi
   15078 	fi
   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 -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   15090 
   15091 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   15092 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   15093 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_FUNC_HAS_NO_RETURN_STMT" | $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 -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   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=trigraphs"
   15208 
   15209 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   15210 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   15211 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=trigraphs" | $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=trigraphs"
   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=array-bounds"
   15326 
   15327 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   15328 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   15329 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=array-bounds" | $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=array-bounds"
   15361 			found="yes"
   15362 		fi
   15363 	fi
   15364 
   15365 
   15366 
   15367 
   15368 
   15369 
   15370 
   15371 
   15372 
   15373 
   15374 
   15375 
   15376 
   15377 
   15378 
   15379 xorg_testset_save_CFLAGS="$CFLAGS"
   15380 
   15381 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15382 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15383 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15384 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15385 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15386   $as_echo_n "(cached) " >&6
   15387 else
   15388   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15389 /* end confdefs.h.  */
   15390 int i;
   15391 _ACEOF
   15392 if ac_fn_c_try_compile "$LINENO"; then :
   15393   xorg_cv_cc_flag_unknown_warning_option=yes
   15394 else
   15395   xorg_cv_cc_flag_unknown_warning_option=no
   15396 fi
   15397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15398 fi
   15399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15400 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15401 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15402 	CFLAGS="$xorg_testset_save_CFLAGS"
   15403 fi
   15404 
   15405 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15406 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15407 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15408 	fi
   15409 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15410 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15411 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15412 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15413   $as_echo_n "(cached) " >&6
   15414 else
   15415   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15416 /* end confdefs.h.  */
   15417 int i;
   15418 _ACEOF
   15419 if ac_fn_c_try_compile "$LINENO"; then :
   15420   xorg_cv_cc_flag_unused_command_line_argument=yes
   15421 else
   15422   xorg_cv_cc_flag_unused_command_line_argument=no
   15423 fi
   15424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15425 fi
   15426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15427 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15428 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15429 	CFLAGS="$xorg_testset_save_CFLAGS"
   15430 fi
   15431 
   15432 found="no"
   15433 
   15434 	if test $found = "no" ; then
   15435 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15436 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15437 		fi
   15438 
   15439 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15440 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15441 		fi
   15442 
   15443 		CFLAGS="$CFLAGS -Werror=write-strings"
   15444 
   15445 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   15446 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   15447 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=write-strings" | $as_tr_sh`
   15448 		if eval \${$cacheid+:} false; then :
   15449   $as_echo_n "(cached) " >&6
   15450 else
   15451   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15452 /* end confdefs.h.  */
   15453 int i;
   15454 int
   15455 main ()
   15456 {
   15457 
   15458   ;
   15459   return 0;
   15460 }
   15461 _ACEOF
   15462 if ac_fn_c_try_link "$LINENO"; then :
   15463   eval $cacheid=yes
   15464 else
   15465   eval $cacheid=no
   15466 fi
   15467 rm -f core conftest.err conftest.$ac_objext \
   15468     conftest$ac_exeext conftest.$ac_ext
   15469 fi
   15470 
   15471 
   15472 		CFLAGS="$xorg_testset_save_CFLAGS"
   15473 
   15474 		eval supported=\$$cacheid
   15475 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15476 $as_echo "$supported" >&6; }
   15477 		if test "$supported" = "yes" ; then
   15478 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   15479 			found="yes"
   15480 		fi
   15481 	fi
   15482 
   15483 
   15484 
   15485 
   15486 
   15487 
   15488 
   15489 
   15490 
   15491 
   15492 
   15493 
   15494 
   15495 
   15496 
   15497 xorg_testset_save_CFLAGS="$CFLAGS"
   15498 
   15499 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15500 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15501 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15502 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15503 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15504   $as_echo_n "(cached) " >&6
   15505 else
   15506   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15507 /* end confdefs.h.  */
   15508 int i;
   15509 _ACEOF
   15510 if ac_fn_c_try_compile "$LINENO"; then :
   15511   xorg_cv_cc_flag_unknown_warning_option=yes
   15512 else
   15513   xorg_cv_cc_flag_unknown_warning_option=no
   15514 fi
   15515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15516 fi
   15517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15518 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15519 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15520 	CFLAGS="$xorg_testset_save_CFLAGS"
   15521 fi
   15522 
   15523 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15524 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15525 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15526 	fi
   15527 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15528 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15529 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15530 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15531   $as_echo_n "(cached) " >&6
   15532 else
   15533   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15534 /* end confdefs.h.  */
   15535 int i;
   15536 _ACEOF
   15537 if ac_fn_c_try_compile "$LINENO"; then :
   15538   xorg_cv_cc_flag_unused_command_line_argument=yes
   15539 else
   15540   xorg_cv_cc_flag_unused_command_line_argument=no
   15541 fi
   15542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15543 fi
   15544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15545 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15546 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15547 	CFLAGS="$xorg_testset_save_CFLAGS"
   15548 fi
   15549 
   15550 found="no"
   15551 
   15552 	if test $found = "no" ; then
   15553 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15554 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15555 		fi
   15556 
   15557 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15558 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15559 		fi
   15560 
   15561 		CFLAGS="$CFLAGS -Werror=address"
   15562 
   15563 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   15564 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   15565 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=address" | $as_tr_sh`
   15566 		if eval \${$cacheid+:} false; then :
   15567   $as_echo_n "(cached) " >&6
   15568 else
   15569   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15570 /* end confdefs.h.  */
   15571 int i;
   15572 int
   15573 main ()
   15574 {
   15575 
   15576   ;
   15577   return 0;
   15578 }
   15579 _ACEOF
   15580 if ac_fn_c_try_link "$LINENO"; then :
   15581   eval $cacheid=yes
   15582 else
   15583   eval $cacheid=no
   15584 fi
   15585 rm -f core conftest.err conftest.$ac_objext \
   15586     conftest$ac_exeext conftest.$ac_ext
   15587 fi
   15588 
   15589 
   15590 		CFLAGS="$xorg_testset_save_CFLAGS"
   15591 
   15592 		eval supported=\$$cacheid
   15593 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15594 $as_echo "$supported" >&6; }
   15595 		if test "$supported" = "yes" ; then
   15596 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   15597 			found="yes"
   15598 		fi
   15599 	fi
   15600 
   15601 
   15602 
   15603 
   15604 
   15605 
   15606 
   15607 
   15608 
   15609 
   15610 
   15611 
   15612 
   15613 
   15614 
   15615 xorg_testset_save_CFLAGS="$CFLAGS"
   15616 
   15617 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15618 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15619 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15620 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15621 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15622   $as_echo_n "(cached) " >&6
   15623 else
   15624   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15625 /* end confdefs.h.  */
   15626 int i;
   15627 _ACEOF
   15628 if ac_fn_c_try_compile "$LINENO"; then :
   15629   xorg_cv_cc_flag_unknown_warning_option=yes
   15630 else
   15631   xorg_cv_cc_flag_unknown_warning_option=no
   15632 fi
   15633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15634 fi
   15635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15636 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15637 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15638 	CFLAGS="$xorg_testset_save_CFLAGS"
   15639 fi
   15640 
   15641 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15642 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15643 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15644 	fi
   15645 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15646 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15647 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15648 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15649   $as_echo_n "(cached) " >&6
   15650 else
   15651   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15652 /* end confdefs.h.  */
   15653 int i;
   15654 _ACEOF
   15655 if ac_fn_c_try_compile "$LINENO"; then :
   15656   xorg_cv_cc_flag_unused_command_line_argument=yes
   15657 else
   15658   xorg_cv_cc_flag_unused_command_line_argument=no
   15659 fi
   15660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15661 fi
   15662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15663 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15664 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15665 	CFLAGS="$xorg_testset_save_CFLAGS"
   15666 fi
   15667 
   15668 found="no"
   15669 
   15670 	if test $found = "no" ; then
   15671 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15672 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15673 		fi
   15674 
   15675 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15676 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15677 		fi
   15678 
   15679 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   15680 
   15681 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   15682 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   15683 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=int-to-pointer-cast" | $as_tr_sh`
   15684 		if eval \${$cacheid+:} false; then :
   15685   $as_echo_n "(cached) " >&6
   15686 else
   15687   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15688 /* end confdefs.h.  */
   15689 int i;
   15690 int
   15691 main ()
   15692 {
   15693 
   15694   ;
   15695   return 0;
   15696 }
   15697 _ACEOF
   15698 if ac_fn_c_try_link "$LINENO"; then :
   15699   eval $cacheid=yes
   15700 else
   15701   eval $cacheid=no
   15702 fi
   15703 rm -f core conftest.err conftest.$ac_objext \
   15704     conftest$ac_exeext conftest.$ac_ext
   15705 fi
   15706 
   15707 
   15708 		CFLAGS="$xorg_testset_save_CFLAGS"
   15709 
   15710 		eval supported=\$$cacheid
   15711 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15712 $as_echo "$supported" >&6; }
   15713 		if test "$supported" = "yes" ; then
   15714 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   15715 			found="yes"
   15716 		fi
   15717 	fi
   15718 
   15719 	if test $found = "no" ; then
   15720 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15721 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15722 		fi
   15723 
   15724 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15725 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15726 		fi
   15727 
   15728 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15729 
   15730 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   15731 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   15732 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_BAD_PTR_INT_COMBINATION" | $as_tr_sh`
   15733 		if eval \${$cacheid+:} false; then :
   15734   $as_echo_n "(cached) " >&6
   15735 else
   15736   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15737 /* end confdefs.h.  */
   15738 int i;
   15739 int
   15740 main ()
   15741 {
   15742 
   15743   ;
   15744   return 0;
   15745 }
   15746 _ACEOF
   15747 if ac_fn_c_try_link "$LINENO"; then :
   15748   eval $cacheid=yes
   15749 else
   15750   eval $cacheid=no
   15751 fi
   15752 rm -f core conftest.err conftest.$ac_objext \
   15753     conftest$ac_exeext conftest.$ac_ext
   15754 fi
   15755 
   15756 
   15757 		CFLAGS="$xorg_testset_save_CFLAGS"
   15758 
   15759 		eval supported=\$$cacheid
   15760 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15761 $as_echo "$supported" >&6; }
   15762 		if test "$supported" = "yes" ; then
   15763 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15764 			found="yes"
   15765 		fi
   15766 	fi
   15767 
   15768 
   15769 
   15770 
   15771 
   15772 
   15773 
   15774 
   15775 
   15776 
   15777 
   15778 
   15779 
   15780 
   15781 
   15782 xorg_testset_save_CFLAGS="$CFLAGS"
   15783 
   15784 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15785 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15786 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15787 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15788 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15789   $as_echo_n "(cached) " >&6
   15790 else
   15791   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15792 /* end confdefs.h.  */
   15793 int i;
   15794 _ACEOF
   15795 if ac_fn_c_try_compile "$LINENO"; then :
   15796   xorg_cv_cc_flag_unknown_warning_option=yes
   15797 else
   15798   xorg_cv_cc_flag_unknown_warning_option=no
   15799 fi
   15800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15801 fi
   15802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15803 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15804 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15805 	CFLAGS="$xorg_testset_save_CFLAGS"
   15806 fi
   15807 
   15808 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15809 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15810 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15811 	fi
   15812 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15813 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15814 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15815 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15816   $as_echo_n "(cached) " >&6
   15817 else
   15818   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15819 /* end confdefs.h.  */
   15820 int i;
   15821 _ACEOF
   15822 if ac_fn_c_try_compile "$LINENO"; then :
   15823   xorg_cv_cc_flag_unused_command_line_argument=yes
   15824 else
   15825   xorg_cv_cc_flag_unused_command_line_argument=no
   15826 fi
   15827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15828 fi
   15829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15830 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15831 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15832 	CFLAGS="$xorg_testset_save_CFLAGS"
   15833 fi
   15834 
   15835 found="no"
   15836 
   15837 	if test $found = "no" ; then
   15838 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15839 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15840 		fi
   15841 
   15842 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15843 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15844 		fi
   15845 
   15846 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   15847 
   15848 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   15849 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   15850 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=pointer-to-int-cast" | $as_tr_sh`
   15851 		if eval \${$cacheid+:} false; then :
   15852   $as_echo_n "(cached) " >&6
   15853 else
   15854   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15855 /* end confdefs.h.  */
   15856 int i;
   15857 int
   15858 main ()
   15859 {
   15860 
   15861   ;
   15862   return 0;
   15863 }
   15864 _ACEOF
   15865 if ac_fn_c_try_link "$LINENO"; then :
   15866   eval $cacheid=yes
   15867 else
   15868   eval $cacheid=no
   15869 fi
   15870 rm -f core conftest.err conftest.$ac_objext \
   15871     conftest$ac_exeext conftest.$ac_ext
   15872 fi
   15873 
   15874 
   15875 		CFLAGS="$xorg_testset_save_CFLAGS"
   15876 
   15877 		eval supported=\$$cacheid
   15878 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15879 $as_echo "$supported" >&6; }
   15880 		if test "$supported" = "yes" ; then
   15881 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   15882 			found="yes"
   15883 		fi
   15884 	fi
   15885 
   15886  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   15887 else
   15888 { $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
   15889 $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;}
   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 -Wimplicit"
   15968 
   15969 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   15970 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   15971 		cacheid=xorg_cv_cc_flag__Wimplicit
   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 -Wimplicit"
   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 -Wnonnull"
   16086 
   16087 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   16088 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   16089 		cacheid=xorg_cv_cc_flag__Wnonnull
   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 -Wnonnull"
   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 -Winit-self"
   16204 
   16205 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   16206 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   16207 		cacheid=xorg_cv_cc_flag__Winit_self
   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 -Winit-self"
   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 -Wmain"
   16322 
   16323 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   16324 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   16325 		cacheid=xorg_cv_cc_flag__Wmain
   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 -Wmain"
   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 -Wmissing-braces"
   16440 
   16441 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   16442 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   16443 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   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 -Wmissing-braces"
   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 -Wsequence-point"
   16558 
   16559 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   16560 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   16561 		cacheid=xorg_cv_cc_flag__Wsequence_point
   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 -Wsequence-point"
   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 -Wreturn-type"
   16676 
   16677 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   16678 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   16679 		cacheid=xorg_cv_cc_flag__Wreturn_type
   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 -Wreturn-type"
   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 -Wtrigraphs"
   16794 
   16795 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   16796 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   16797 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   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 -Wtrigraphs"
   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 -Warray-bounds"
   16912 
   16913 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   16914 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   16915 		cacheid=xorg_cv_cc_flag__Warray_bounds
   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 -Warray-bounds"
   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 -Wwrite-strings"
   17030 
   17031 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   17032 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   17033 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   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 -Wwrite-strings"
   17065 			found="yes"
   17066 		fi
   17067 	fi
   17068 
   17069 
   17070 
   17071 
   17072 
   17073 
   17074 
   17075 
   17076 
   17077 
   17078 
   17079 
   17080 
   17081 
   17082 
   17083 xorg_testset_save_CFLAGS="$CFLAGS"
   17084 
   17085 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17086 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17087 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17088 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17089 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17090   $as_echo_n "(cached) " >&6
   17091 else
   17092   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17093 /* end confdefs.h.  */
   17094 int i;
   17095 _ACEOF
   17096 if ac_fn_c_try_compile "$LINENO"; then :
   17097   xorg_cv_cc_flag_unknown_warning_option=yes
   17098 else
   17099   xorg_cv_cc_flag_unknown_warning_option=no
   17100 fi
   17101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17102 fi
   17103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17104 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17105 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17106 	CFLAGS="$xorg_testset_save_CFLAGS"
   17107 fi
   17108 
   17109 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17110 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17111 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17112 	fi
   17113 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17114 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17115 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17116 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17117   $as_echo_n "(cached) " >&6
   17118 else
   17119   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17120 /* end confdefs.h.  */
   17121 int i;
   17122 _ACEOF
   17123 if ac_fn_c_try_compile "$LINENO"; then :
   17124   xorg_cv_cc_flag_unused_command_line_argument=yes
   17125 else
   17126   xorg_cv_cc_flag_unused_command_line_argument=no
   17127 fi
   17128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17129 fi
   17130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17131 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17132 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17133 	CFLAGS="$xorg_testset_save_CFLAGS"
   17134 fi
   17135 
   17136 found="no"
   17137 
   17138 	if test $found = "no" ; then
   17139 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17140 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17141 		fi
   17142 
   17143 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17144 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17145 		fi
   17146 
   17147 		CFLAGS="$CFLAGS -Waddress"
   17148 
   17149 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   17150 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   17151 		cacheid=xorg_cv_cc_flag__Waddress
   17152 		if eval \${$cacheid+:} false; then :
   17153   $as_echo_n "(cached) " >&6
   17154 else
   17155   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17156 /* end confdefs.h.  */
   17157 int i;
   17158 int
   17159 main ()
   17160 {
   17161 
   17162   ;
   17163   return 0;
   17164 }
   17165 _ACEOF
   17166 if ac_fn_c_try_link "$LINENO"; then :
   17167   eval $cacheid=yes
   17168 else
   17169   eval $cacheid=no
   17170 fi
   17171 rm -f core conftest.err conftest.$ac_objext \
   17172     conftest$ac_exeext conftest.$ac_ext
   17173 fi
   17174 
   17175 
   17176 		CFLAGS="$xorg_testset_save_CFLAGS"
   17177 
   17178 		eval supported=\$$cacheid
   17179 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17180 $as_echo "$supported" >&6; }
   17181 		if test "$supported" = "yes" ; then
   17182 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   17183 			found="yes"
   17184 		fi
   17185 	fi
   17186 
   17187 
   17188 
   17189 
   17190 
   17191 
   17192 
   17193 
   17194 
   17195 
   17196 
   17197 
   17198 
   17199 
   17200 
   17201 xorg_testset_save_CFLAGS="$CFLAGS"
   17202 
   17203 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17204 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17205 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17206 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17207 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17208   $as_echo_n "(cached) " >&6
   17209 else
   17210   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17211 /* end confdefs.h.  */
   17212 int i;
   17213 _ACEOF
   17214 if ac_fn_c_try_compile "$LINENO"; then :
   17215   xorg_cv_cc_flag_unknown_warning_option=yes
   17216 else
   17217   xorg_cv_cc_flag_unknown_warning_option=no
   17218 fi
   17219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17220 fi
   17221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17222 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17223 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17224 	CFLAGS="$xorg_testset_save_CFLAGS"
   17225 fi
   17226 
   17227 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17228 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17229 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17230 	fi
   17231 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17232 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17233 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17234 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17235   $as_echo_n "(cached) " >&6
   17236 else
   17237   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17238 /* end confdefs.h.  */
   17239 int i;
   17240 _ACEOF
   17241 if ac_fn_c_try_compile "$LINENO"; then :
   17242   xorg_cv_cc_flag_unused_command_line_argument=yes
   17243 else
   17244   xorg_cv_cc_flag_unused_command_line_argument=no
   17245 fi
   17246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17247 fi
   17248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17249 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17250 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17251 	CFLAGS="$xorg_testset_save_CFLAGS"
   17252 fi
   17253 
   17254 found="no"
   17255 
   17256 	if test $found = "no" ; then
   17257 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17258 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17259 		fi
   17260 
   17261 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17262 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17263 		fi
   17264 
   17265 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   17266 
   17267 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   17268 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   17269 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   17270 		if eval \${$cacheid+:} false; then :
   17271   $as_echo_n "(cached) " >&6
   17272 else
   17273   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17274 /* end confdefs.h.  */
   17275 int i;
   17276 int
   17277 main ()
   17278 {
   17279 
   17280   ;
   17281   return 0;
   17282 }
   17283 _ACEOF
   17284 if ac_fn_c_try_link "$LINENO"; then :
   17285   eval $cacheid=yes
   17286 else
   17287   eval $cacheid=no
   17288 fi
   17289 rm -f core conftest.err conftest.$ac_objext \
   17290     conftest$ac_exeext conftest.$ac_ext
   17291 fi
   17292 
   17293 
   17294 		CFLAGS="$xorg_testset_save_CFLAGS"
   17295 
   17296 		eval supported=\$$cacheid
   17297 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17298 $as_echo "$supported" >&6; }
   17299 		if test "$supported" = "yes" ; then
   17300 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   17301 			found="yes"
   17302 		fi
   17303 	fi
   17304 
   17305 
   17306 
   17307 
   17308 
   17309 
   17310 
   17311 
   17312 
   17313 
   17314 
   17315 
   17316 
   17317 
   17318 
   17319 xorg_testset_save_CFLAGS="$CFLAGS"
   17320 
   17321 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17322 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17323 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17324 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17325 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17326   $as_echo_n "(cached) " >&6
   17327 else
   17328   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17329 /* end confdefs.h.  */
   17330 int i;
   17331 _ACEOF
   17332 if ac_fn_c_try_compile "$LINENO"; then :
   17333   xorg_cv_cc_flag_unknown_warning_option=yes
   17334 else
   17335   xorg_cv_cc_flag_unknown_warning_option=no
   17336 fi
   17337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17338 fi
   17339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17340 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17341 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17342 	CFLAGS="$xorg_testset_save_CFLAGS"
   17343 fi
   17344 
   17345 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17346 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17347 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17348 	fi
   17349 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17350 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17351 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17352 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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 _ACEOF
   17359 if ac_fn_c_try_compile "$LINENO"; then :
   17360   xorg_cv_cc_flag_unused_command_line_argument=yes
   17361 else
   17362   xorg_cv_cc_flag_unused_command_line_argument=no
   17363 fi
   17364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17365 fi
   17366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17367 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17368 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17369 	CFLAGS="$xorg_testset_save_CFLAGS"
   17370 fi
   17371 
   17372 found="no"
   17373 
   17374 	if test $found = "no" ; then
   17375 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17376 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17377 		fi
   17378 
   17379 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17380 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17381 		fi
   17382 
   17383 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   17384 
   17385 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   17386 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   17387 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   17388 		if eval \${$cacheid+:} false; then :
   17389   $as_echo_n "(cached) " >&6
   17390 else
   17391   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17392 /* end confdefs.h.  */
   17393 int i;
   17394 int
   17395 main ()
   17396 {
   17397 
   17398   ;
   17399   return 0;
   17400 }
   17401 _ACEOF
   17402 if ac_fn_c_try_link "$LINENO"; then :
   17403   eval $cacheid=yes
   17404 else
   17405   eval $cacheid=no
   17406 fi
   17407 rm -f core conftest.err conftest.$ac_objext \
   17408     conftest$ac_exeext conftest.$ac_ext
   17409 fi
   17410 
   17411 
   17412 		CFLAGS="$xorg_testset_save_CFLAGS"
   17413 
   17414 		eval supported=\$$cacheid
   17415 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17416 $as_echo "$supported" >&6; }
   17417 		if test "$supported" = "yes" ; then
   17418 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   17419 			found="yes"
   17420 		fi
   17421 	fi
   17422 
   17423 
   17424 fi
   17425 
   17426 
   17427 
   17428 
   17429 
   17430 
   17431 
   17432 		CWARNFLAGS="$BASE_CFLAGS"
   17433 		if  test "x$GCC" = xyes ; then
   17434 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   17435 		fi
   17436 
   17437 
   17438 
   17439 
   17440 
   17441 
   17442 
   17443 
   17444 # Check whether --enable-strict-compilation was given.
   17445 if test "${enable_strict_compilation+set}" = set; then :
   17446   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   17447 else
   17448   STRICT_COMPILE=no
   17449 fi
   17450 
   17451 
   17452 
   17453 
   17454 
   17455 
   17456 STRICT_CFLAGS=""
   17457 
   17458 
   17459 
   17460 
   17461 
   17462 
   17463 
   17464 
   17465 
   17466 
   17467 
   17468 
   17469 
   17470 xorg_testset_save_CFLAGS="$CFLAGS"
   17471 
   17472 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17473 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17474 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17475 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17476 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17477   $as_echo_n "(cached) " >&6
   17478 else
   17479   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17480 /* end confdefs.h.  */
   17481 int i;
   17482 _ACEOF
   17483 if ac_fn_c_try_compile "$LINENO"; then :
   17484   xorg_cv_cc_flag_unknown_warning_option=yes
   17485 else
   17486   xorg_cv_cc_flag_unknown_warning_option=no
   17487 fi
   17488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17489 fi
   17490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17491 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17492 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17493 	CFLAGS="$xorg_testset_save_CFLAGS"
   17494 fi
   17495 
   17496 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17497 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17498 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17499 	fi
   17500 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17501 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17502 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17503 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17504   $as_echo_n "(cached) " >&6
   17505 else
   17506   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17507 /* end confdefs.h.  */
   17508 int i;
   17509 _ACEOF
   17510 if ac_fn_c_try_compile "$LINENO"; then :
   17511   xorg_cv_cc_flag_unused_command_line_argument=yes
   17512 else
   17513   xorg_cv_cc_flag_unused_command_line_argument=no
   17514 fi
   17515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17516 fi
   17517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17518 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17519 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17520 	CFLAGS="$xorg_testset_save_CFLAGS"
   17521 fi
   17522 
   17523 found="no"
   17524 
   17525 	if test $found = "no" ; then
   17526 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17527 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17528 		fi
   17529 
   17530 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17531 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17532 		fi
   17533 
   17534 		CFLAGS="$CFLAGS -pedantic"
   17535 
   17536 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   17537 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   17538 		cacheid=xorg_cv_cc_flag__pedantic
   17539 		if eval \${$cacheid+:} false; then :
   17540   $as_echo_n "(cached) " >&6
   17541 else
   17542   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17543 /* end confdefs.h.  */
   17544 int i;
   17545 int
   17546 main ()
   17547 {
   17548 
   17549   ;
   17550   return 0;
   17551 }
   17552 _ACEOF
   17553 if ac_fn_c_try_link "$LINENO"; then :
   17554   eval $cacheid=yes
   17555 else
   17556   eval $cacheid=no
   17557 fi
   17558 rm -f core conftest.err conftest.$ac_objext \
   17559     conftest$ac_exeext conftest.$ac_ext
   17560 fi
   17561 
   17562 
   17563 		CFLAGS="$xorg_testset_save_CFLAGS"
   17564 
   17565 		eval supported=\$$cacheid
   17566 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17567 $as_echo "$supported" >&6; }
   17568 		if test "$supported" = "yes" ; then
   17569 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   17570 			found="yes"
   17571 		fi
   17572 	fi
   17573 
   17574 
   17575 
   17576 
   17577 
   17578 
   17579 
   17580 
   17581 
   17582 
   17583 
   17584 
   17585 
   17586 
   17587 
   17588 xorg_testset_save_CFLAGS="$CFLAGS"
   17589 
   17590 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17591 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17592 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17593 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17594 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17595   $as_echo_n "(cached) " >&6
   17596 else
   17597   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17598 /* end confdefs.h.  */
   17599 int i;
   17600 _ACEOF
   17601 if ac_fn_c_try_compile "$LINENO"; then :
   17602   xorg_cv_cc_flag_unknown_warning_option=yes
   17603 else
   17604   xorg_cv_cc_flag_unknown_warning_option=no
   17605 fi
   17606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17607 fi
   17608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17609 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17610 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17611 	CFLAGS="$xorg_testset_save_CFLAGS"
   17612 fi
   17613 
   17614 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17615 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17616 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17617 	fi
   17618 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17619 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17620 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17621 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17622   $as_echo_n "(cached) " >&6
   17623 else
   17624   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17625 /* end confdefs.h.  */
   17626 int i;
   17627 _ACEOF
   17628 if ac_fn_c_try_compile "$LINENO"; then :
   17629   xorg_cv_cc_flag_unused_command_line_argument=yes
   17630 else
   17631   xorg_cv_cc_flag_unused_command_line_argument=no
   17632 fi
   17633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17634 fi
   17635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17636 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17637 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17638 	CFLAGS="$xorg_testset_save_CFLAGS"
   17639 fi
   17640 
   17641 found="no"
   17642 
   17643 	if test $found = "no" ; then
   17644 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17645 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17646 		fi
   17647 
   17648 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17649 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17650 		fi
   17651 
   17652 		CFLAGS="$CFLAGS -Werror"
   17653 
   17654 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   17655 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   17656 		cacheid=xorg_cv_cc_flag__Werror
   17657 		if eval \${$cacheid+:} false; then :
   17658   $as_echo_n "(cached) " >&6
   17659 else
   17660   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17661 /* end confdefs.h.  */
   17662 int i;
   17663 int
   17664 main ()
   17665 {
   17666 
   17667   ;
   17668   return 0;
   17669 }
   17670 _ACEOF
   17671 if ac_fn_c_try_link "$LINENO"; then :
   17672   eval $cacheid=yes
   17673 else
   17674   eval $cacheid=no
   17675 fi
   17676 rm -f core conftest.err conftest.$ac_objext \
   17677     conftest$ac_exeext conftest.$ac_ext
   17678 fi
   17679 
   17680 
   17681 		CFLAGS="$xorg_testset_save_CFLAGS"
   17682 
   17683 		eval supported=\$$cacheid
   17684 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17685 $as_echo "$supported" >&6; }
   17686 		if test "$supported" = "yes" ; then
   17687 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   17688 			found="yes"
   17689 		fi
   17690 	fi
   17691 
   17692 	if test $found = "no" ; then
   17693 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17694 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17695 		fi
   17696 
   17697 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17698 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17699 		fi
   17700 
   17701 		CFLAGS="$CFLAGS -errwarn"
   17702 
   17703 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   17704 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   17705 		cacheid=xorg_cv_cc_flag__errwarn
   17706 		if eval \${$cacheid+:} false; then :
   17707   $as_echo_n "(cached) " >&6
   17708 else
   17709   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17710 /* end confdefs.h.  */
   17711 int i;
   17712 int
   17713 main ()
   17714 {
   17715 
   17716   ;
   17717   return 0;
   17718 }
   17719 _ACEOF
   17720 if ac_fn_c_try_link "$LINENO"; then :
   17721   eval $cacheid=yes
   17722 else
   17723   eval $cacheid=no
   17724 fi
   17725 rm -f core conftest.err conftest.$ac_objext \
   17726     conftest$ac_exeext conftest.$ac_ext
   17727 fi
   17728 
   17729 
   17730 		CFLAGS="$xorg_testset_save_CFLAGS"
   17731 
   17732 		eval supported=\$$cacheid
   17733 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17734 $as_echo "$supported" >&6; }
   17735 		if test "$supported" = "yes" ; then
   17736 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   17737 			found="yes"
   17738 		fi
   17739 	fi
   17740 
   17741 
   17742 
   17743 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   17744 # activate it with -Werror, so we add it here explicitly.
   17745 
   17746 
   17747 
   17748 
   17749 
   17750 
   17751 
   17752 
   17753 
   17754 
   17755 
   17756 
   17757 
   17758 xorg_testset_save_CFLAGS="$CFLAGS"
   17759 
   17760 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17761 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17762 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17763 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17764 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17765   $as_echo_n "(cached) " >&6
   17766 else
   17767   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17768 /* end confdefs.h.  */
   17769 int i;
   17770 _ACEOF
   17771 if ac_fn_c_try_compile "$LINENO"; then :
   17772   xorg_cv_cc_flag_unknown_warning_option=yes
   17773 else
   17774   xorg_cv_cc_flag_unknown_warning_option=no
   17775 fi
   17776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17777 fi
   17778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17779 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17780 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17781 	CFLAGS="$xorg_testset_save_CFLAGS"
   17782 fi
   17783 
   17784 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17785 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17786 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17787 	fi
   17788 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17789 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17790 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17791 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17792   $as_echo_n "(cached) " >&6
   17793 else
   17794   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17795 /* end confdefs.h.  */
   17796 int i;
   17797 _ACEOF
   17798 if ac_fn_c_try_compile "$LINENO"; then :
   17799   xorg_cv_cc_flag_unused_command_line_argument=yes
   17800 else
   17801   xorg_cv_cc_flag_unused_command_line_argument=no
   17802 fi
   17803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17804 fi
   17805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17806 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17807 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17808 	CFLAGS="$xorg_testset_save_CFLAGS"
   17809 fi
   17810 
   17811 found="no"
   17812 
   17813 	if test $found = "no" ; then
   17814 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17815 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17816 		fi
   17817 
   17818 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17819 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17820 		fi
   17821 
   17822 		CFLAGS="$CFLAGS -Werror=attributes"
   17823 
   17824 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   17825 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   17826 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=attributes" | $as_tr_sh`
   17827 		if eval \${$cacheid+:} false; then :
   17828   $as_echo_n "(cached) " >&6
   17829 else
   17830   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17831 /* end confdefs.h.  */
   17832 int i;
   17833 int
   17834 main ()
   17835 {
   17836 
   17837   ;
   17838   return 0;
   17839 }
   17840 _ACEOF
   17841 if ac_fn_c_try_link "$LINENO"; then :
   17842   eval $cacheid=yes
   17843 else
   17844   eval $cacheid=no
   17845 fi
   17846 rm -f core conftest.err conftest.$ac_objext \
   17847     conftest$ac_exeext conftest.$ac_ext
   17848 fi
   17849 
   17850 
   17851 		CFLAGS="$xorg_testset_save_CFLAGS"
   17852 
   17853 		eval supported=\$$cacheid
   17854 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17855 $as_echo "$supported" >&6; }
   17856 		if test "$supported" = "yes" ; then
   17857 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   17858 			found="yes"
   17859 		fi
   17860 	fi
   17861 
   17862 
   17863 
   17864 if test "x$STRICT_COMPILE" = "xyes"; then
   17865     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   17866     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   17867 fi
   17868 
   17869 
   17870 
   17871 
   17872 
   17873 
   17874 cat >>confdefs.h <<_ACEOF
   17875 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   17876 _ACEOF
   17877 
   17878 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   17879 	if test "x$PVM" = "x"; then
   17880 		PVM="0"
   17881 	fi
   17882 
   17883 cat >>confdefs.h <<_ACEOF
   17884 #define PACKAGE_VERSION_MINOR $PVM
   17885 _ACEOF
   17886 
   17887 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   17888 	if test "x$PVP" = "x"; then
   17889 		PVP="0"
   17890 	fi
   17891 
   17892 cat >>confdefs.h <<_ACEOF
   17893 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   17894 _ACEOF
   17895 
   17896 
   17897 
   17898 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   17899 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   17900 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   17901 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   17902 
   17903 
   17904 
   17905 
   17906 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   17907 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   17908 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   17909 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   17910 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   17911 
   17912 
   17913 
   17914 
   17915 
   17916 
   17917 if test x$APP_MAN_SUFFIX = x    ; then
   17918     APP_MAN_SUFFIX=1
   17919 fi
   17920 if test x$APP_MAN_DIR = x    ; then
   17921     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   17922 fi
   17923 
   17924 if test x$LIB_MAN_SUFFIX = x    ; then
   17925     LIB_MAN_SUFFIX=3
   17926 fi
   17927 if test x$LIB_MAN_DIR = x    ; then
   17928     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   17929 fi
   17930 
   17931 if test x$FILE_MAN_SUFFIX = x    ; then
   17932     case $host_os in
   17933 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   17934 	*)		FILE_MAN_SUFFIX=5  ;;
   17935     esac
   17936 fi
   17937 if test x$FILE_MAN_DIR = x    ; then
   17938     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   17939 fi
   17940 
   17941 if test x$MISC_MAN_SUFFIX = x    ; then
   17942     case $host_os in
   17943 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   17944 	*)		MISC_MAN_SUFFIX=7  ;;
   17945     esac
   17946 fi
   17947 if test x$MISC_MAN_DIR = x    ; then
   17948     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   17949 fi
   17950 
   17951 if test x$DRIVER_MAN_SUFFIX = x    ; then
   17952     case $host_os in
   17953 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   17954 	*)		DRIVER_MAN_SUFFIX=4  ;;
   17955     esac
   17956 fi
   17957 if test x$DRIVER_MAN_DIR = x    ; then
   17958     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   17959 fi
   17960 
   17961 if test x$ADMIN_MAN_SUFFIX = x    ; then
   17962     case $host_os in
   17963 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   17964 	*)		ADMIN_MAN_SUFFIX=8  ;;
   17965     esac
   17966 fi
   17967 if test x$ADMIN_MAN_DIR = x    ; then
   17968     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   17969 fi
   17970 
   17971 
   17972 
   17973 
   17974 
   17975 
   17976 
   17977 
   17978 
   17979 
   17980 
   17981 
   17982 
   17983 
   17984 
   17985 XORG_MAN_PAGE="X Version 11"
   17986 
   17987 MAN_SUBSTS="\
   17988 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   17989 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   17990 	-e 's|__xservername__|Xorg|g' \
   17991 	-e 's|__xconfigfile__|xorg.conf|g' \
   17992 	-e 's|__projectroot__|\$(prefix)|g' \
   17993 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   17994 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   17995 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   17996 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   17997 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   17998 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   17999 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   18000 
   18001 
   18002 
   18003 # Check whether --enable-silent-rules was given.
   18004 if test "${enable_silent_rules+set}" = set; then :
   18005   enableval=$enable_silent_rules;
   18006 fi
   18007 
   18008 case $enable_silent_rules in # (((
   18009   yes) AM_DEFAULT_VERBOSITY=0;;
   18010    no) AM_DEFAULT_VERBOSITY=1;;
   18011     *) AM_DEFAULT_VERBOSITY=0;;
   18012 esac
   18013 am_make=${MAKE-make}
   18014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   18015 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   18016 if ${am_cv_make_support_nested_variables+:} false; then :
   18017   $as_echo_n "(cached) " >&6
   18018 else
   18019   if $as_echo 'TRUE=$(BAR$(V))
   18020 BAR0=false
   18021 BAR1=true
   18022 V=1
   18023 am__doit:
   18024 	@$(TRUE)
   18025 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   18026   am_cv_make_support_nested_variables=yes
   18027 else
   18028   am_cv_make_support_nested_variables=no
   18029 fi
   18030 fi
   18031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   18032 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   18033 if test $am_cv_make_support_nested_variables = yes; then
   18034     AM_V='$(V)'
   18035   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   18036 else
   18037   AM_V=$AM_DEFAULT_VERBOSITY
   18038   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   18039 fi
   18040 AM_BACKSLASH='\'
   18041 
   18042 
   18043 
   18044 # Checks for programs.
   18045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   18046 $as_echo_n "checking whether ln -s works... " >&6; }
   18047 LN_S=$as_ln_s
   18048 if test "$LN_S" = "ln -s"; then
   18049   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18050 $as_echo "yes" >&6; }
   18051 else
   18052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   18053 $as_echo "no, using $LN_S" >&6; }
   18054 fi
   18055 
   18056 
   18057 # Checks for library functions.
   18058 for ac_func in pathconf
   18059 do :
   18060   ac_fn_c_check_func "$LINENO" "pathconf" "ac_cv_func_pathconf"
   18061 if test "x$ac_cv_func_pathconf" = xyes; then :
   18062   cat >>confdefs.h <<_ACEOF
   18063 #define HAVE_PATHCONF 1
   18064 _ACEOF
   18065 
   18066 fi
   18067 done
   18068 
   18069 
   18070 # Obtain compiler/linker options for depedencies
   18071 
   18072 pkg_failed=no
   18073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XAU" >&5
   18074 $as_echo_n "checking for XAU... " >&6; }
   18075 
   18076 if test -n "$XAU_CFLAGS"; then
   18077     pkg_cv_XAU_CFLAGS="$XAU_CFLAGS"
   18078  elif test -n "$PKG_CONFIG"; then
   18079     if test -n "$PKG_CONFIG" && \
   18080     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto\""; } >&5
   18081   ($PKG_CONFIG --exists --print-errors "xproto") 2>&5
   18082   ac_status=$?
   18083   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18084   test $ac_status = 0; }; then
   18085   pkg_cv_XAU_CFLAGS=`$PKG_CONFIG --cflags "xproto" 2>/dev/null`
   18086 else
   18087   pkg_failed=yes
   18088 fi
   18089  else
   18090     pkg_failed=untried
   18091 fi
   18092 if test -n "$XAU_LIBS"; then
   18093     pkg_cv_XAU_LIBS="$XAU_LIBS"
   18094  elif test -n "$PKG_CONFIG"; then
   18095     if test -n "$PKG_CONFIG" && \
   18096     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto\""; } >&5
   18097   ($PKG_CONFIG --exists --print-errors "xproto") 2>&5
   18098   ac_status=$?
   18099   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18100   test $ac_status = 0; }; then
   18101   pkg_cv_XAU_LIBS=`$PKG_CONFIG --libs "xproto" 2>/dev/null`
   18102 else
   18103   pkg_failed=yes
   18104 fi
   18105  else
   18106     pkg_failed=untried
   18107 fi
   18108 
   18109 
   18110 
   18111 if test $pkg_failed = yes; then
   18112 
   18113 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18114         _pkg_short_errors_supported=yes
   18115 else
   18116         _pkg_short_errors_supported=no
   18117 fi
   18118         if test $_pkg_short_errors_supported = yes; then
   18119 	        XAU_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xproto" 2>&1`
   18120         else
   18121 	        XAU_PKG_ERRORS=`$PKG_CONFIG --print-errors "xproto" 2>&1`
   18122         fi
   18123 	# Put the nasty error message in config.log where it belongs
   18124 	echo "$XAU_PKG_ERRORS" >&5
   18125 
   18126 	as_fn_error $? "Package requirements (xproto) were not met:
   18127 
   18128 $XAU_PKG_ERRORS
   18129 
   18130 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18131 installed software in a non-standard prefix.
   18132 
   18133 Alternatively, you may set the environment variables XAU_CFLAGS
   18134 and XAU_LIBS to avoid the need to call pkg-config.
   18135 See the pkg-config man page for more details.
   18136 " "$LINENO" 5
   18137 elif test $pkg_failed = untried; then
   18138 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18139 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18140 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18141 is in your PATH or set the PKG_CONFIG environment variable to the full
   18142 path to pkg-config.
   18143 
   18144 Alternatively, you may set the environment variables XAU_CFLAGS
   18145 and XAU_LIBS to avoid the need to call pkg-config.
   18146 See the pkg-config man page for more details.
   18147 
   18148 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18149 See \`config.log' for more details" "$LINENO" 5; }
   18150 else
   18151 	XAU_CFLAGS=$pkg_cv_XAU_CFLAGS
   18152 	XAU_LIBS=$pkg_cv_XAU_LIBS
   18153         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18154 $as_echo "yes" >&6; }
   18155 	:
   18156 fi
   18157 
   18158 # Check whether --enable-xthreads was given.
   18159 if test "${enable_xthreads+set}" = set; then :
   18160   enableval=$enable_xthreads; xthreads=$enableval
   18161 else
   18162   xthreads=yes
   18163 fi
   18164 
   18165 
   18166 if test "x$xthreads" = "xyes" ; then
   18167 
   18168 $as_echo "#define XTHREADS 1" >>confdefs.h
   18169 
   18170     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname_r in -lc" >&5
   18171 $as_echo_n "checking for gethostbyname_r in -lc... " >&6; }
   18172 if ${ac_cv_lib_c_gethostbyname_r+:} false; then :
   18173   $as_echo_n "(cached) " >&6
   18174 else
   18175   ac_check_lib_save_LIBS=$LIBS
   18176 LIBS="-lc  $LIBS"
   18177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18178 /* end confdefs.h.  */
   18179 
   18180 /* Override any GCC internal prototype to avoid an error.
   18181    Use char because int might match the return type of a GCC
   18182    builtin and then its argument prototype would still apply.  */
   18183 #ifdef __cplusplus
   18184 extern "C"
   18185 #endif
   18186 char gethostbyname_r ();
   18187 int
   18188 main ()
   18189 {
   18190 return gethostbyname_r ();
   18191   ;
   18192   return 0;
   18193 }
   18194 _ACEOF
   18195 if ac_fn_c_try_link "$LINENO"; then :
   18196   ac_cv_lib_c_gethostbyname_r=yes
   18197 else
   18198   ac_cv_lib_c_gethostbyname_r=no
   18199 fi
   18200 rm -f core conftest.err conftest.$ac_objext \
   18201     conftest$ac_exeext conftest.$ac_ext
   18202 LIBS=$ac_check_lib_save_LIBS
   18203 fi
   18204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_gethostbyname_r" >&5
   18205 $as_echo "$ac_cv_lib_c_gethostbyname_r" >&6; }
   18206 if test "x$ac_cv_lib_c_gethostbyname_r" = xyes; then :
   18207   mtsafe=yes
   18208 fi
   18209 
   18210     if test "x$mtsafe" = "x" ; then
   18211 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname_r in -lnsl" >&5
   18212 $as_echo_n "checking for gethostbyname_r in -lnsl... " >&6; }
   18213 if ${ac_cv_lib_nsl_gethostbyname_r+:} false; then :
   18214   $as_echo_n "(cached) " >&6
   18215 else
   18216   ac_check_lib_save_LIBS=$LIBS
   18217 LIBS="-lnsl  $LIBS"
   18218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18219 /* end confdefs.h.  */
   18220 
   18221 /* Override any GCC internal prototype to avoid an error.
   18222    Use char because int might match the return type of a GCC
   18223    builtin and then its argument prototype would still apply.  */
   18224 #ifdef __cplusplus
   18225 extern "C"
   18226 #endif
   18227 char gethostbyname_r ();
   18228 int
   18229 main ()
   18230 {
   18231 return gethostbyname_r ();
   18232   ;
   18233   return 0;
   18234 }
   18235 _ACEOF
   18236 if ac_fn_c_try_link "$LINENO"; then :
   18237   ac_cv_lib_nsl_gethostbyname_r=yes
   18238 else
   18239   ac_cv_lib_nsl_gethostbyname_r=no
   18240 fi
   18241 rm -f core conftest.err conftest.$ac_objext \
   18242     conftest$ac_exeext conftest.$ac_ext
   18243 LIBS=$ac_check_lib_save_LIBS
   18244 fi
   18245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname_r" >&5
   18246 $as_echo "$ac_cv_lib_nsl_gethostbyname_r" >&6; }
   18247 if test "x$ac_cv_lib_nsl_gethostbyname_r" = xyes; then :
   18248   mtsafe=yes
   18249 fi
   18250 
   18251     fi
   18252     if test "x$mtsafe" = "xyes" ; then
   18253 
   18254 $as_echo "#define XUSE_MTSAFE_API 1" >>confdefs.h
   18255 
   18256     fi
   18257 
   18258 # XXX incomplete, please fill this in
   18259     case $host_os in
   18260     solaris*)
   18261 	XTHREAD_CFLAGS="-D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS" ;;
   18262     esac
   18263     XAU_CFLAGS="$XAU_CFLAGS $XTHREAD_CFLAGS"
   18264 fi
   18265 
   18266 # Allow checking code with lint, sparse, etc.
   18267 
   18268 
   18269 
   18270 
   18271 
   18272 # Check whether --with-lint was given.
   18273 if test "${with_lint+set}" = set; then :
   18274   withval=$with_lint; use_lint=$withval
   18275 else
   18276   use_lint=no
   18277 fi
   18278 
   18279 
   18280 # Obtain platform specific info like program name and options
   18281 # The lint program on FreeBSD and NetBSD is different from the one on Solaris
   18282 case $host_os in
   18283   *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
   18284 	lint_name=splint
   18285 	lint_options="-badflag"
   18286 	;;
   18287   *freebsd* | *netbsd*)
   18288 	lint_name=lint
   18289 	lint_options="-u -b"
   18290 	;;
   18291   *solaris*)
   18292 	lint_name=lint
   18293 	lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   18294 	;;
   18295 esac
   18296 
   18297 # Test for the presence of the program (either guessed by the code or spelled out by the user)
   18298 if test "x$use_lint" = x"yes" ; then
   18299    # Extract the first word of "$lint_name", so it can be a program name with args.
   18300 set dummy $lint_name; ac_word=$2
   18301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18302 $as_echo_n "checking for $ac_word... " >&6; }
   18303 if ${ac_cv_path_LINT+:} false; then :
   18304   $as_echo_n "(cached) " >&6
   18305 else
   18306   case $LINT in
   18307   [\\/]* | ?:[\\/]*)
   18308   ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
   18309   ;;
   18310   *)
   18311   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18312 for as_dir in $PATH
   18313 do
   18314   IFS=$as_save_IFS
   18315   test -z "$as_dir" && as_dir=.
   18316     for ac_exec_ext in '' $ac_executable_extensions; do
   18317   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   18318     ac_cv_path_LINT="$as_dir/$ac_word$ac_exec_ext"
   18319     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18320     break 2
   18321   fi
   18322 done
   18323   done
   18324 IFS=$as_save_IFS
   18325 
   18326   ;;
   18327 esac
   18328 fi
   18329 LINT=$ac_cv_path_LINT
   18330 if test -n "$LINT"; then
   18331   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
   18332 $as_echo "$LINT" >&6; }
   18333 else
   18334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18335 $as_echo "no" >&6; }
   18336 fi
   18337 
   18338 
   18339    if test "x$LINT" = "x"; then
   18340         as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
   18341    fi
   18342 elif test "x$use_lint" = x"no" ; then
   18343    if test "x$LINT" != "x"; then
   18344       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
   18345 $as_echo "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
   18346    fi
   18347 else
   18348    as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
   18349 fi
   18350 
   18351 # User supplied flags override default flags
   18352 if test "x$LINT_FLAGS" != "x"; then
   18353    lint_options=$LINT_FLAGS
   18354 fi
   18355 
   18356 LINT_FLAGS=$lint_options
   18357 
   18358  if test "x$LINT" != x; then
   18359   LINT_TRUE=
   18360   LINT_FALSE='#'
   18361 else
   18362   LINT_TRUE='#'
   18363   LINT_FALSE=
   18364 fi
   18365 
   18366 
   18367 
   18368 
   18369 
   18370 # Check whether --enable-lint-library was given.
   18371 if test "${enable_lint_library+set}" = set; then :
   18372   enableval=$enable_lint_library; make_lint_lib=$enableval
   18373 else
   18374   make_lint_lib=no
   18375 fi
   18376 
   18377 
   18378 if test "x$make_lint_lib" = x"yes" ; then
   18379    LINTLIB=llib-lXau.ln
   18380    if test "x$LINT" = "x"; then
   18381         as_fn_error $? "Cannot make lint library without --with-lint" "$LINENO" 5
   18382    fi
   18383 elif test "x$make_lint_lib" != x"no" ; then
   18384    as_fn_error $? "--enable-lint-library expects 'yes' or 'no'." "$LINENO" 5
   18385 fi
   18386 
   18387 
   18388  if test x$make_lint_lib != xno; then
   18389   MAKE_LINT_LIB_TRUE=
   18390   MAKE_LINT_LIB_FALSE='#'
   18391 else
   18392   MAKE_LINT_LIB_TRUE='#'
   18393   MAKE_LINT_LIB_FALSE=
   18394 fi
   18395 
   18396 
   18397 
   18398 LINT_FLAGS="${LINT_FLAGS} ${XAU_CFLAGS}"
   18399 
   18400 ac_config_files="$ac_config_files Makefile man/Makefile xau.pc"
   18401 
   18402 cat >confcache <<\_ACEOF
   18403 # This file is a shell script that caches the results of configure
   18404 # tests run on this system so they can be shared between configure
   18405 # scripts and configure runs, see configure's option --config-cache.
   18406 # It is not useful on other systems.  If it contains results you don't
   18407 # want to keep, you may remove or edit it.
   18408 #
   18409 # config.status only pays attention to the cache file if you give it
   18410 # the --recheck option to rerun configure.
   18411 #
   18412 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   18413 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   18414 # following values.
   18415 
   18416 _ACEOF
   18417 
   18418 # The following way of writing the cache mishandles newlines in values,
   18419 # but we know of no workaround that is simple, portable, and efficient.
   18420 # So, we kill variables containing newlines.
   18421 # Ultrix sh set writes to stderr and can't be redirected directly,
   18422 # and sets the high bit in the cache file unless we assign to the vars.
   18423 (
   18424   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   18425     eval ac_val=\$$ac_var
   18426     case $ac_val in #(
   18427     *${as_nl}*)
   18428       case $ac_var in #(
   18429       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   18430 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   18431       esac
   18432       case $ac_var in #(
   18433       _ | IFS | as_nl) ;; #(
   18434       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   18435       *) { eval $ac_var=; unset $ac_var;} ;;
   18436       esac ;;
   18437     esac
   18438   done
   18439 
   18440   (set) 2>&1 |
   18441     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   18442     *${as_nl}ac_space=\ *)
   18443       # `set' does not quote correctly, so add quotes: double-quote
   18444       # substitution turns \\\\ into \\, and sed turns \\ into \.
   18445       sed -n \
   18446 	"s/'/'\\\\''/g;
   18447 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   18448       ;; #(
   18449     *)
   18450       # `set' quotes correctly as required by POSIX, so do not add quotes.
   18451       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   18452       ;;
   18453     esac |
   18454     sort
   18455 ) |
   18456   sed '
   18457      /^ac_cv_env_/b end
   18458      t clear
   18459      :clear
   18460      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   18461      t end
   18462      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   18463      :end' >>confcache
   18464 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   18465   if test -w "$cache_file"; then
   18466     if test "x$cache_file" != "x/dev/null"; then
   18467       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   18468 $as_echo "$as_me: updating cache $cache_file" >&6;}
   18469       if test ! -f "$cache_file" || test -h "$cache_file"; then
   18470 	cat confcache >"$cache_file"
   18471       else
   18472         case $cache_file in #(
   18473         */* | ?:*)
   18474 	  mv -f confcache "$cache_file"$$ &&
   18475 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   18476         *)
   18477 	  mv -f confcache "$cache_file" ;;
   18478 	esac
   18479       fi
   18480     fi
   18481   else
   18482     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   18483 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   18484   fi
   18485 fi
   18486 rm -f confcache
   18487 
   18488 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   18489 # Let make expand exec_prefix.
   18490 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   18491 
   18492 DEFS=-DHAVE_CONFIG_H
   18493 
   18494 ac_libobjs=
   18495 ac_ltlibobjs=
   18496 U=
   18497 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   18498   # 1. Remove the extension, and $U if already installed.
   18499   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   18500   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   18501   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   18502   #    will be set to the directory where LIBOBJS objects are built.
   18503   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   18504   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   18505 done
   18506 LIBOBJS=$ac_libobjs
   18507 
   18508 LTLIBOBJS=$ac_ltlibobjs
   18509 
   18510 
   18511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   18512 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   18513    if test -n "$am_sleep_pid"; then
   18514      # Hide warnings about reused PIDs.
   18515      wait $am_sleep_pid 2>/dev/null
   18516    fi
   18517    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   18518 $as_echo "done" >&6; }
   18519 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   18520   as_fn_error $? "conditional \"AMDEP\" was never defined.
   18521 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18522 fi
   18523 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   18524   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   18525 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18526 fi
   18527  if test -n "$EXEEXT"; then
   18528   am__EXEEXT_TRUE=
   18529   am__EXEEXT_FALSE='#'
   18530 else
   18531   am__EXEEXT_TRUE='#'
   18532   am__EXEEXT_FALSE=
   18533 fi
   18534 
   18535 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   18536   as_fn_error $? "conditional \"LINT\" was never defined.
   18537 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18538 fi
   18539 if test -z "${MAKE_LINT_LIB_TRUE}" && test -z "${MAKE_LINT_LIB_FALSE}"; then
   18540   as_fn_error $? "conditional \"MAKE_LINT_LIB\" was never defined.
   18541 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18542 fi
   18543 
   18544 : "${CONFIG_STATUS=./config.status}"
   18545 ac_write_fail=0
   18546 ac_clean_files_save=$ac_clean_files
   18547 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   18548 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   18549 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   18550 as_write_fail=0
   18551 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   18552 #! $SHELL
   18553 # Generated by $as_me.
   18554 # Run this file to recreate the current configuration.
   18555 # Compiler output produced by configure, useful for debugging
   18556 # configure, is in config.log if it exists.
   18557 
   18558 debug=false
   18559 ac_cs_recheck=false
   18560 ac_cs_silent=false
   18561 
   18562 SHELL=\${CONFIG_SHELL-$SHELL}
   18563 export SHELL
   18564 _ASEOF
   18565 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   18566 ## -------------------- ##
   18567 ## M4sh Initialization. ##
   18568 ## -------------------- ##
   18569 
   18570 # Be more Bourne compatible
   18571 DUALCASE=1; export DUALCASE # for MKS sh
   18572 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   18573   emulate sh
   18574   NULLCMD=:
   18575   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   18576   # is contrary to our usage.  Disable this feature.
   18577   alias -g '${1+"$@"}'='"$@"'
   18578   setopt NO_GLOB_SUBST
   18579 else
   18580   case `(set -o) 2>/dev/null` in #(
   18581   *posix*) :
   18582     set -o posix ;; #(
   18583   *) :
   18584      ;;
   18585 esac
   18586 fi
   18587 
   18588 
   18589 as_nl='
   18590 '
   18591 export as_nl
   18592 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   18593 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   18594 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   18595 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   18596 # Prefer a ksh shell builtin over an external printf program on Solaris,
   18597 # but without wasting forks for bash or zsh.
   18598 if test -z "$BASH_VERSION$ZSH_VERSION" \
   18599     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   18600   as_echo='print -r --'
   18601   as_echo_n='print -rn --'
   18602 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   18603   as_echo='printf %s\n'
   18604   as_echo_n='printf %s'
   18605 else
   18606   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   18607     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   18608     as_echo_n='/usr/ucb/echo -n'
   18609   else
   18610     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   18611     as_echo_n_body='eval
   18612       arg=$1;
   18613       case $arg in #(
   18614       *"$as_nl"*)
   18615 	expr "X$arg" : "X\\(.*\\)$as_nl";
   18616 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   18617       esac;
   18618       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   18619     '
   18620     export as_echo_n_body
   18621     as_echo_n='sh -c $as_echo_n_body as_echo'
   18622   fi
   18623   export as_echo_body
   18624   as_echo='sh -c $as_echo_body as_echo'
   18625 fi
   18626 
   18627 # The user is always right.
   18628 if test "${PATH_SEPARATOR+set}" != set; then
   18629   PATH_SEPARATOR=:
   18630   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   18631     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   18632       PATH_SEPARATOR=';'
   18633   }
   18634 fi
   18635 
   18636 
   18637 # IFS
   18638 # We need space, tab and new line, in precisely that order.  Quoting is
   18639 # there to prevent editors from complaining about space-tab.
   18640 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   18641 # splitting by setting IFS to empty value.)
   18642 IFS=" ""	$as_nl"
   18643 
   18644 # Find who we are.  Look in the path if we contain no directory separator.
   18645 as_myself=
   18646 case $0 in #((
   18647   *[\\/]* ) as_myself=$0 ;;
   18648   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18649 for as_dir in $PATH
   18650 do
   18651   IFS=$as_save_IFS
   18652   test -z "$as_dir" && as_dir=.
   18653     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   18654   done
   18655 IFS=$as_save_IFS
   18656 
   18657      ;;
   18658 esac
   18659 # We did not find ourselves, most probably we were run as `sh COMMAND'
   18660 # in which case we are not to be found in the path.
   18661 if test "x$as_myself" = x; then
   18662   as_myself=$0
   18663 fi
   18664 if test ! -f "$as_myself"; then
   18665   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   18666   exit 1
   18667 fi
   18668 
   18669 # Unset variables that we do not need and which cause bugs (e.g. in
   18670 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   18671 # suppresses any "Segmentation fault" message there.  '((' could
   18672 # trigger a bug in pdksh 5.2.14.
   18673 for as_var in BASH_ENV ENV MAIL MAILPATH
   18674 do eval test x\${$as_var+set} = xset \
   18675   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   18676 done
   18677 PS1='$ '
   18678 PS2='> '
   18679 PS4='+ '
   18680 
   18681 # NLS nuisances.
   18682 LC_ALL=C
   18683 export LC_ALL
   18684 LANGUAGE=C
   18685 export LANGUAGE
   18686 
   18687 # CDPATH.
   18688 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18689 
   18690 
   18691 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   18692 # ----------------------------------------
   18693 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   18694 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   18695 # script with STATUS, using 1 if that was 0.
   18696 as_fn_error ()
   18697 {
   18698   as_status=$1; test $as_status -eq 0 && as_status=1
   18699   if test "$4"; then
   18700     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   18701     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   18702   fi
   18703   $as_echo "$as_me: error: $2" >&2
   18704   as_fn_exit $as_status
   18705 } # as_fn_error
   18706 
   18707 
   18708 # as_fn_set_status STATUS
   18709 # -----------------------
   18710 # Set $? to STATUS, without forking.
   18711 as_fn_set_status ()
   18712 {
   18713   return $1
   18714 } # as_fn_set_status
   18715 
   18716 # as_fn_exit STATUS
   18717 # -----------------
   18718 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   18719 as_fn_exit ()
   18720 {
   18721   set +e
   18722   as_fn_set_status $1
   18723   exit $1
   18724 } # as_fn_exit
   18725 
   18726 # as_fn_unset VAR
   18727 # ---------------
   18728 # Portably unset VAR.
   18729 as_fn_unset ()
   18730 {
   18731   { eval $1=; unset $1;}
   18732 }
   18733 as_unset=as_fn_unset
   18734 # as_fn_append VAR VALUE
   18735 # ----------------------
   18736 # Append the text in VALUE to the end of the definition contained in VAR. Take
   18737 # advantage of any shell optimizations that allow amortized linear growth over
   18738 # repeated appends, instead of the typical quadratic growth present in naive
   18739 # implementations.
   18740 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   18741   eval 'as_fn_append ()
   18742   {
   18743     eval $1+=\$2
   18744   }'
   18745 else
   18746   as_fn_append ()
   18747   {
   18748     eval $1=\$$1\$2
   18749   }
   18750 fi # as_fn_append
   18751 
   18752 # as_fn_arith ARG...
   18753 # ------------------
   18754 # Perform arithmetic evaluation on the ARGs, and store the result in the
   18755 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   18756 # must be portable across $(()) and expr.
   18757 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   18758   eval 'as_fn_arith ()
   18759   {
   18760     as_val=$(( $* ))
   18761   }'
   18762 else
   18763   as_fn_arith ()
   18764   {
   18765     as_val=`expr "$@" || test $? -eq 1`
   18766   }
   18767 fi # as_fn_arith
   18768 
   18769 
   18770 if expr a : '\(a\)' >/dev/null 2>&1 &&
   18771    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   18772   as_expr=expr
   18773 else
   18774   as_expr=false
   18775 fi
   18776 
   18777 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   18778   as_basename=basename
   18779 else
   18780   as_basename=false
   18781 fi
   18782 
   18783 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   18784   as_dirname=dirname
   18785 else
   18786   as_dirname=false
   18787 fi
   18788 
   18789 as_me=`$as_basename -- "$0" ||
   18790 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   18791 	 X"$0" : 'X\(//\)$' \| \
   18792 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   18793 $as_echo X/"$0" |
   18794     sed '/^.*\/\([^/][^/]*\)\/*$/{
   18795 	    s//\1/
   18796 	    q
   18797 	  }
   18798 	  /^X\/\(\/\/\)$/{
   18799 	    s//\1/
   18800 	    q
   18801 	  }
   18802 	  /^X\/\(\/\).*/{
   18803 	    s//\1/
   18804 	    q
   18805 	  }
   18806 	  s/.*/./; q'`
   18807 
   18808 # Avoid depending upon Character Ranges.
   18809 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   18810 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   18811 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   18812 as_cr_digits='0123456789'
   18813 as_cr_alnum=$as_cr_Letters$as_cr_digits
   18814 
   18815 ECHO_C= ECHO_N= ECHO_T=
   18816 case `echo -n x` in #(((((
   18817 -n*)
   18818   case `echo 'xy\c'` in
   18819   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   18820   xy)  ECHO_C='\c';;
   18821   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   18822        ECHO_T='	';;
   18823   esac;;
   18824 *)
   18825   ECHO_N='-n';;
   18826 esac
   18827 
   18828 rm -f conf$$ conf$$.exe conf$$.file
   18829 if test -d conf$$.dir; then
   18830   rm -f conf$$.dir/conf$$.file
   18831 else
   18832   rm -f conf$$.dir
   18833   mkdir conf$$.dir 2>/dev/null
   18834 fi
   18835 if (echo >conf$$.file) 2>/dev/null; then
   18836   if ln -s conf$$.file conf$$ 2>/dev/null; then
   18837     as_ln_s='ln -s'
   18838     # ... but there are two gotchas:
   18839     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   18840     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   18841     # In both cases, we have to default to `cp -p'.
   18842     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   18843       as_ln_s='cp -p'
   18844   elif ln conf$$.file conf$$ 2>/dev/null; then
   18845     as_ln_s=ln
   18846   else
   18847     as_ln_s='cp -p'
   18848   fi
   18849 else
   18850   as_ln_s='cp -p'
   18851 fi
   18852 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   18853 rmdir conf$$.dir 2>/dev/null
   18854 
   18855 
   18856 # as_fn_mkdir_p
   18857 # -------------
   18858 # Create "$as_dir" as a directory, including parents if necessary.
   18859 as_fn_mkdir_p ()
   18860 {
   18861 
   18862   case $as_dir in #(
   18863   -*) as_dir=./$as_dir;;
   18864   esac
   18865   test -d "$as_dir" || eval $as_mkdir_p || {
   18866     as_dirs=
   18867     while :; do
   18868       case $as_dir in #(
   18869       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   18870       *) as_qdir=$as_dir;;
   18871       esac
   18872       as_dirs="'$as_qdir' $as_dirs"
   18873       as_dir=`$as_dirname -- "$as_dir" ||
   18874 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18875 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   18876 	 X"$as_dir" : 'X\(//\)$' \| \
   18877 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   18878 $as_echo X"$as_dir" |
   18879     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18880 	    s//\1/
   18881 	    q
   18882 	  }
   18883 	  /^X\(\/\/\)[^/].*/{
   18884 	    s//\1/
   18885 	    q
   18886 	  }
   18887 	  /^X\(\/\/\)$/{
   18888 	    s//\1/
   18889 	    q
   18890 	  }
   18891 	  /^X\(\/\).*/{
   18892 	    s//\1/
   18893 	    q
   18894 	  }
   18895 	  s/.*/./; q'`
   18896       test -d "$as_dir" && break
   18897     done
   18898     test -z "$as_dirs" || eval "mkdir $as_dirs"
   18899   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   18900 
   18901 
   18902 } # as_fn_mkdir_p
   18903 if mkdir -p . 2>/dev/null; then
   18904   as_mkdir_p='mkdir -p "$as_dir"'
   18905 else
   18906   test -d ./-p && rmdir ./-p
   18907   as_mkdir_p=false
   18908 fi
   18909 
   18910 if test -x / >/dev/null 2>&1; then
   18911   as_test_x='test -x'
   18912 else
   18913   if ls -dL / >/dev/null 2>&1; then
   18914     as_ls_L_option=L
   18915   else
   18916     as_ls_L_option=
   18917   fi
   18918   as_test_x='
   18919     eval sh -c '\''
   18920       if test -d "$1"; then
   18921 	test -d "$1/.";
   18922       else
   18923 	case $1 in #(
   18924 	-*)set "./$1";;
   18925 	esac;
   18926 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   18927 	???[sx]*):;;*)false;;esac;fi
   18928     '\'' sh
   18929   '
   18930 fi
   18931 as_executable_p=$as_test_x
   18932 
   18933 # Sed expression to map a string onto a valid CPP name.
   18934 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   18935 
   18936 # Sed expression to map a string onto a valid variable name.
   18937 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   18938 
   18939 
   18940 exec 6>&1
   18941 ## ----------------------------------- ##
   18942 ## Main body of $CONFIG_STATUS script. ##
   18943 ## ----------------------------------- ##
   18944 _ASEOF
   18945 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   18946 
   18947 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18948 # Save the log message, to keep $0 and so on meaningful, and to
   18949 # report actual input values of CONFIG_FILES etc. instead of their
   18950 # values after options handling.
   18951 ac_log="
   18952 This file was extended by libXau $as_me 1.0.8, which was
   18953 generated by GNU Autoconf 2.68.  Invocation command line was
   18954 
   18955   CONFIG_FILES    = $CONFIG_FILES
   18956   CONFIG_HEADERS  = $CONFIG_HEADERS
   18957   CONFIG_LINKS    = $CONFIG_LINKS
   18958   CONFIG_COMMANDS = $CONFIG_COMMANDS
   18959   $ $0 $@
   18960 
   18961 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   18962 "
   18963 
   18964 _ACEOF
   18965 
   18966 case $ac_config_files in *"
   18967 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   18968 esac
   18969 
   18970 case $ac_config_headers in *"
   18971 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   18972 esac
   18973 
   18974 
   18975 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18976 # Files that config.status was made for.
   18977 config_files="$ac_config_files"
   18978 config_headers="$ac_config_headers"
   18979 config_commands="$ac_config_commands"
   18980 
   18981 _ACEOF
   18982 
   18983 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18984 ac_cs_usage="\
   18985 \`$as_me' instantiates files and other configuration actions
   18986 from templates according to the current configuration.  Unless the files
   18987 and actions are specified as TAGs, all are instantiated by default.
   18988 
   18989 Usage: $0 [OPTION]... [TAG]...
   18990 
   18991   -h, --help       print this help, then exit
   18992   -V, --version    print version number and configuration settings, then exit
   18993       --config     print configuration, then exit
   18994   -q, --quiet, --silent
   18995                    do not print progress messages
   18996   -d, --debug      don't remove temporary files
   18997       --recheck    update $as_me by reconfiguring in the same conditions
   18998       --file=FILE[:TEMPLATE]
   18999                    instantiate the configuration file FILE
   19000       --header=FILE[:TEMPLATE]
   19001                    instantiate the configuration header FILE
   19002 
   19003 Configuration files:
   19004 $config_files
   19005 
   19006 Configuration headers:
   19007 $config_headers
   19008 
   19009 Configuration commands:
   19010 $config_commands
   19011 
   19012 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   19013 
   19014 _ACEOF
   19015 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19016 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   19017 ac_cs_version="\\
   19018 libXau config.status 1.0.8
   19019 configured by $0, generated by GNU Autoconf 2.68,
   19020   with options \\"\$ac_cs_config\\"
   19021 
   19022 Copyright (C) 2010 Free Software Foundation, Inc.
   19023 This config.status script is free software; the Free Software Foundation
   19024 gives unlimited permission to copy, distribute and modify it."
   19025 
   19026 ac_pwd='$ac_pwd'
   19027 srcdir='$srcdir'
   19028 INSTALL='$INSTALL'
   19029 MKDIR_P='$MKDIR_P'
   19030 AWK='$AWK'
   19031 test -n "\$AWK" || AWK=awk
   19032 _ACEOF
   19033 
   19034 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19035 # The default lists apply if the user does not specify any file.
   19036 ac_need_defaults=:
   19037 while test $# != 0
   19038 do
   19039   case $1 in
   19040   --*=?*)
   19041     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   19042     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   19043     ac_shift=:
   19044     ;;
   19045   --*=)
   19046     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   19047     ac_optarg=
   19048     ac_shift=:
   19049     ;;
   19050   *)
   19051     ac_option=$1
   19052     ac_optarg=$2
   19053     ac_shift=shift
   19054     ;;
   19055   esac
   19056 
   19057   case $ac_option in
   19058   # Handling of the options.
   19059   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   19060     ac_cs_recheck=: ;;
   19061   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   19062     $as_echo "$ac_cs_version"; exit ;;
   19063   --config | --confi | --conf | --con | --co | --c )
   19064     $as_echo "$ac_cs_config"; exit ;;
   19065   --debug | --debu | --deb | --de | --d | -d )
   19066     debug=: ;;
   19067   --file | --fil | --fi | --f )
   19068     $ac_shift
   19069     case $ac_optarg in
   19070     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19071     '') as_fn_error $? "missing file argument" ;;
   19072     esac
   19073     as_fn_append CONFIG_FILES " '$ac_optarg'"
   19074     ac_need_defaults=false;;
   19075   --header | --heade | --head | --hea )
   19076     $ac_shift
   19077     case $ac_optarg in
   19078     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19079     esac
   19080     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   19081     ac_need_defaults=false;;
   19082   --he | --h)
   19083     # Conflict between --help and --header
   19084     as_fn_error $? "ambiguous option: \`$1'
   19085 Try \`$0 --help' for more information.";;
   19086   --help | --hel | -h )
   19087     $as_echo "$ac_cs_usage"; exit ;;
   19088   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   19089   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   19090     ac_cs_silent=: ;;
   19091 
   19092   # This is an error.
   19093   -*) as_fn_error $? "unrecognized option: \`$1'
   19094 Try \`$0 --help' for more information." ;;
   19095 
   19096   *) as_fn_append ac_config_targets " $1"
   19097      ac_need_defaults=false ;;
   19098 
   19099   esac
   19100   shift
   19101 done
   19102 
   19103 ac_configure_extra_args=
   19104 
   19105 if $ac_cs_silent; then
   19106   exec 6>/dev/null
   19107   ac_configure_extra_args="$ac_configure_extra_args --silent"
   19108 fi
   19109 
   19110 _ACEOF
   19111 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19112 if \$ac_cs_recheck; then
   19113   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   19114   shift
   19115   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   19116   CONFIG_SHELL='$SHELL'
   19117   export CONFIG_SHELL
   19118   exec "\$@"
   19119 fi
   19120 
   19121 _ACEOF
   19122 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19123 exec 5>>config.log
   19124 {
   19125   echo
   19126   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   19127 ## Running $as_me. ##
   19128 _ASBOX
   19129   $as_echo "$ac_log"
   19130 } >&5
   19131 
   19132 _ACEOF
   19133 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19134 #
   19135 # INIT-COMMANDS
   19136 #
   19137 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   19138 
   19139 
   19140 # The HP-UX ksh and POSIX shell print the target directory to stdout
   19141 # if CDPATH is set.
   19142 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   19143 
   19144 sed_quote_subst='$sed_quote_subst'
   19145 double_quote_subst='$double_quote_subst'
   19146 delay_variable_subst='$delay_variable_subst'
   19147 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
   19148 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   19149 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   19150 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   19151 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   19152 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   19153 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   19154 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   19155 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   19156 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   19157 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   19158 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   19159 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   19160 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   19161 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   19162 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   19163 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   19164 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   19165 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   19166 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   19167 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   19168 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   19169 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   19170 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   19171 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   19172 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   19173 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   19174 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   19175 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   19176 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   19177 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   19178 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   19179 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   19180 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   19181 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   19182 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   19183 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   19184 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   19185 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   19186 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   19187 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   19188 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   19189 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   19190 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   19191 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   19192 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   19193 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   19194 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   19195 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   19196 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   19197 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   19198 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   19199 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   19200 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   19201 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   19202 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   19203 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   19204 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"`'
   19205 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   19206 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   19207 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   19208 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   19209 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   19210 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   19211 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   19212 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   19213 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   19214 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   19215 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   19216 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   19217 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   19218 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   19219 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   19220 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   19221 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   19222 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   19223 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   19224 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   19225 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   19226 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   19227 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   19228 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   19229 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   19230 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   19231 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   19232 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   19233 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   19234 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   19235 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   19236 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   19237 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   19238 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   19239 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   19240 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   19241 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   19242 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   19243 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   19244 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   19245 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   19246 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   19247 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   19248 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   19249 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   19250 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   19251 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   19252 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   19253 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   19254 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   19255 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   19256 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   19257 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   19258 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   19259 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   19260 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   19261 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   19262 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   19263 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   19264 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   19265 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   19266 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   19267 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   19268 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   19269 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   19270 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   19271 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   19272 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   19273 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   19274 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   19275 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   19276 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   19277 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   19278 
   19279 LTCC='$LTCC'
   19280 LTCFLAGS='$LTCFLAGS'
   19281 compiler='$compiler_DEFAULT'
   19282 
   19283 # A function that is used when there is no print builtin or printf.
   19284 func_fallback_echo ()
   19285 {
   19286   eval 'cat <<_LTECHO_EOF
   19287 \$1
   19288 _LTECHO_EOF'
   19289 }
   19290 
   19291 # Quote evaled strings.
   19292 for var in AS \
   19293 DLLTOOL \
   19294 OBJDUMP \
   19295 SHELL \
   19296 ECHO \
   19297 PATH_SEPARATOR \
   19298 SED \
   19299 GREP \
   19300 EGREP \
   19301 FGREP \
   19302 LD \
   19303 NM \
   19304 LN_S \
   19305 lt_SP2NL \
   19306 lt_NL2SP \
   19307 reload_flag \
   19308 deplibs_check_method \
   19309 file_magic_cmd \
   19310 file_magic_glob \
   19311 want_nocaseglob \
   19312 sharedlib_from_linklib_cmd \
   19313 AR \
   19314 AR_FLAGS \
   19315 archiver_list_spec \
   19316 STRIP \
   19317 RANLIB \
   19318 CC \
   19319 CFLAGS \
   19320 compiler \
   19321 lt_cv_sys_global_symbol_pipe \
   19322 lt_cv_sys_global_symbol_to_cdecl \
   19323 lt_cv_sys_global_symbol_to_c_name_address \
   19324 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   19325 nm_file_list_spec \
   19326 lt_prog_compiler_no_builtin_flag \
   19327 lt_prog_compiler_pic \
   19328 lt_prog_compiler_wl \
   19329 lt_prog_compiler_static \
   19330 lt_cv_prog_compiler_c_o \
   19331 need_locks \
   19332 MANIFEST_TOOL \
   19333 DSYMUTIL \
   19334 NMEDIT \
   19335 LIPO \
   19336 OTOOL \
   19337 OTOOL64 \
   19338 shrext_cmds \
   19339 export_dynamic_flag_spec \
   19340 whole_archive_flag_spec \
   19341 compiler_needs_object \
   19342 with_gnu_ld \
   19343 allow_undefined_flag \
   19344 no_undefined_flag \
   19345 hardcode_libdir_flag_spec \
   19346 hardcode_libdir_separator \
   19347 exclude_expsyms \
   19348 include_expsyms \
   19349 file_list_spec \
   19350 variables_saved_for_relink \
   19351 libname_spec \
   19352 library_names_spec \
   19353 soname_spec \
   19354 install_override_mode \
   19355 finish_eval \
   19356 old_striplib \
   19357 striplib; do
   19358     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   19359     *[\\\\\\\`\\"\\\$]*)
   19360       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   19361       ;;
   19362     *)
   19363       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   19364       ;;
   19365     esac
   19366 done
   19367 
   19368 # Double-quote double-evaled strings.
   19369 for var in reload_cmds \
   19370 old_postinstall_cmds \
   19371 old_postuninstall_cmds \
   19372 old_archive_cmds \
   19373 extract_expsyms_cmds \
   19374 old_archive_from_new_cmds \
   19375 old_archive_from_expsyms_cmds \
   19376 archive_cmds \
   19377 archive_expsym_cmds \
   19378 module_cmds \
   19379 module_expsym_cmds \
   19380 export_symbols_cmds \
   19381 prelink_cmds \
   19382 postlink_cmds \
   19383 postinstall_cmds \
   19384 postuninstall_cmds \
   19385 finish_cmds \
   19386 sys_lib_search_path_spec \
   19387 sys_lib_dlsearch_path_spec; do
   19388     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   19389     *[\\\\\\\`\\"\\\$]*)
   19390       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   19391       ;;
   19392     *)
   19393       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   19394       ;;
   19395     esac
   19396 done
   19397 
   19398 ac_aux_dir='$ac_aux_dir'
   19399 xsi_shell='$xsi_shell'
   19400 lt_shell_append='$lt_shell_append'
   19401 
   19402 # See if we are running on zsh, and set the options which allow our
   19403 # commands through without removal of \ escapes INIT.
   19404 if test -n "\${ZSH_VERSION+set}" ; then
   19405    setopt NO_GLOB_SUBST
   19406 fi
   19407 
   19408 
   19409     PACKAGE='$PACKAGE'
   19410     VERSION='$VERSION'
   19411     TIMESTAMP='$TIMESTAMP'
   19412     RM='$RM'
   19413     ofile='$ofile'
   19414 
   19415 
   19416 
   19417 
   19418 _ACEOF
   19419 
   19420 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19421 
   19422 # Handling of arguments.
   19423 for ac_config_target in $ac_config_targets
   19424 do
   19425   case $ac_config_target in
   19426     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   19427     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   19428     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   19429     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   19430     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   19431     "xau.pc") CONFIG_FILES="$CONFIG_FILES xau.pc" ;;
   19432 
   19433   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   19434   esac
   19435 done
   19436 
   19437 
   19438 # If the user did not use the arguments to specify the items to instantiate,
   19439 # then the envvar interface is used.  Set only those that are not.
   19440 # We use the long form for the default assignment because of an extremely
   19441 # bizarre bug on SunOS 4.1.3.
   19442 if $ac_need_defaults; then
   19443   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   19444   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   19445   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   19446 fi
   19447 
   19448 # Have a temporary directory for convenience.  Make it in the build tree
   19449 # simply because there is no reason against having it here, and in addition,
   19450 # creating and moving files from /tmp can sometimes cause problems.
   19451 # Hook for its removal unless debugging.
   19452 # Note that there is a small window in which the directory will not be cleaned:
   19453 # after its creation but before its name has been assigned to `$tmp'.
   19454 $debug ||
   19455 {
   19456   tmp= ac_tmp=
   19457   trap 'exit_status=$?
   19458   : "${ac_tmp:=$tmp}"
   19459   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   19460 ' 0
   19461   trap 'as_fn_exit 1' 1 2 13 15
   19462 }
   19463 # Create a (secure) tmp directory for tmp files.
   19464 
   19465 {
   19466   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   19467   test -d "$tmp"
   19468 }  ||
   19469 {
   19470   tmp=./conf$$-$RANDOM
   19471   (umask 077 && mkdir "$tmp")
   19472 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   19473 ac_tmp=$tmp
   19474 
   19475 # Set up the scripts for CONFIG_FILES section.
   19476 # No need to generate them if there are no CONFIG_FILES.
   19477 # This happens for instance with `./config.status config.h'.
   19478 if test -n "$CONFIG_FILES"; then
   19479 
   19480 
   19481 ac_cr=`echo X | tr X '\015'`
   19482 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   19483 # But we know of no other shell where ac_cr would be empty at this
   19484 # point, so we can use a bashism as a fallback.
   19485 if test "x$ac_cr" = x; then
   19486   eval ac_cr=\$\'\\r\'
   19487 fi
   19488 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   19489 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   19490   ac_cs_awk_cr='\\r'
   19491 else
   19492   ac_cs_awk_cr=$ac_cr
   19493 fi
   19494 
   19495 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   19496 _ACEOF
   19497 
   19498 
   19499 {
   19500   echo "cat >conf$$subs.awk <<_ACEOF" &&
   19501   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   19502   echo "_ACEOF"
   19503 } >conf$$subs.sh ||
   19504   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19505 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   19506 ac_delim='%!_!# '
   19507 for ac_last_try in false false false false false :; do
   19508   . ./conf$$subs.sh ||
   19509     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19510 
   19511   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   19512   if test $ac_delim_n = $ac_delim_num; then
   19513     break
   19514   elif $ac_last_try; then
   19515     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19516   else
   19517     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19518   fi
   19519 done
   19520 rm -f conf$$subs.sh
   19521 
   19522 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19523 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   19524 _ACEOF
   19525 sed -n '
   19526 h
   19527 s/^/S["/; s/!.*/"]=/
   19528 p
   19529 g
   19530 s/^[^!]*!//
   19531 :repl
   19532 t repl
   19533 s/'"$ac_delim"'$//
   19534 t delim
   19535 :nl
   19536 h
   19537 s/\(.\{148\}\)..*/\1/
   19538 t more1
   19539 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   19540 p
   19541 n
   19542 b repl
   19543 :more1
   19544 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19545 p
   19546 g
   19547 s/.\{148\}//
   19548 t nl
   19549 :delim
   19550 h
   19551 s/\(.\{148\}\)..*/\1/
   19552 t more2
   19553 s/["\\]/\\&/g; s/^/"/; s/$/"/
   19554 p
   19555 b
   19556 :more2
   19557 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19558 p
   19559 g
   19560 s/.\{148\}//
   19561 t delim
   19562 ' <conf$$subs.awk | sed '
   19563 /^[^""]/{
   19564   N
   19565   s/\n//
   19566 }
   19567 ' >>$CONFIG_STATUS || ac_write_fail=1
   19568 rm -f conf$$subs.awk
   19569 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19570 _ACAWK
   19571 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   19572   for (key in S) S_is_set[key] = 1
   19573   FS = ""
   19574 
   19575 }
   19576 {
   19577   line = $ 0
   19578   nfields = split(line, field, "@")
   19579   substed = 0
   19580   len = length(field[1])
   19581   for (i = 2; i < nfields; i++) {
   19582     key = field[i]
   19583     keylen = length(key)
   19584     if (S_is_set[key]) {
   19585       value = S[key]
   19586       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   19587       len += length(value) + length(field[++i])
   19588       substed = 1
   19589     } else
   19590       len += 1 + keylen
   19591   }
   19592 
   19593   print line
   19594 }
   19595 
   19596 _ACAWK
   19597 _ACEOF
   19598 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19599 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   19600   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   19601 else
   19602   cat
   19603 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   19604   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   19605 _ACEOF
   19606 
   19607 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   19608 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   19609 # trailing colons and then remove the whole line if VPATH becomes empty
   19610 # (actually we leave an empty line to preserve line numbers).
   19611 if test "x$srcdir" = x.; then
   19612   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   19613 h
   19614 s///
   19615 s/^/:/
   19616 s/[	 ]*$/:/
   19617 s/:\$(srcdir):/:/g
   19618 s/:\${srcdir}:/:/g
   19619 s/:@srcdir@:/:/g
   19620 s/^:*//
   19621 s/:*$//
   19622 x
   19623 s/\(=[	 ]*\).*/\1/
   19624 G
   19625 s/\n//
   19626 s/^[^=]*=[	 ]*$//
   19627 }'
   19628 fi
   19629 
   19630 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19631 fi # test -n "$CONFIG_FILES"
   19632 
   19633 # Set up the scripts for CONFIG_HEADERS section.
   19634 # No need to generate them if there are no CONFIG_HEADERS.
   19635 # This happens for instance with `./config.status Makefile'.
   19636 if test -n "$CONFIG_HEADERS"; then
   19637 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   19638 BEGIN {
   19639 _ACEOF
   19640 
   19641 # Transform confdefs.h into an awk script `defines.awk', embedded as
   19642 # here-document in config.status, that substitutes the proper values into
   19643 # config.h.in to produce config.h.
   19644 
   19645 # Create a delimiter string that does not exist in confdefs.h, to ease
   19646 # handling of long lines.
   19647 ac_delim='%!_!# '
   19648 for ac_last_try in false false :; do
   19649   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   19650   if test -z "$ac_tt"; then
   19651     break
   19652   elif $ac_last_try; then
   19653     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   19654   else
   19655     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19656   fi
   19657 done
   19658 
   19659 # For the awk script, D is an array of macro values keyed by name,
   19660 # likewise P contains macro parameters if any.  Preserve backslash
   19661 # newline sequences.
   19662 
   19663 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   19664 sed -n '
   19665 s/.\{148\}/&'"$ac_delim"'/g
   19666 t rset
   19667 :rset
   19668 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   19669 t def
   19670 d
   19671 :def
   19672 s/\\$//
   19673 t bsnl
   19674 s/["\\]/\\&/g
   19675 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19676 D["\1"]=" \3"/p
   19677 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   19678 d
   19679 :bsnl
   19680 s/["\\]/\\&/g
   19681 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19682 D["\1"]=" \3\\\\\\n"\\/p
   19683 t cont
   19684 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   19685 t cont
   19686 d
   19687 :cont
   19688 n
   19689 s/.\{148\}/&'"$ac_delim"'/g
   19690 t clear
   19691 :clear
   19692 s/\\$//
   19693 t bsnlc
   19694 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   19695 d
   19696 :bsnlc
   19697 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   19698 b cont
   19699 ' <confdefs.h | sed '
   19700 s/'"$ac_delim"'/"\\\
   19701 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   19702 
   19703 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19704   for (key in D) D_is_set[key] = 1
   19705   FS = ""
   19706 }
   19707 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   19708   line = \$ 0
   19709   split(line, arg, " ")
   19710   if (arg[1] == "#") {
   19711     defundef = arg[2]
   19712     mac1 = arg[3]
   19713   } else {
   19714     defundef = substr(arg[1], 2)
   19715     mac1 = arg[2]
   19716   }
   19717   split(mac1, mac2, "(") #)
   19718   macro = mac2[1]
   19719   prefix = substr(line, 1, index(line, defundef) - 1)
   19720   if (D_is_set[macro]) {
   19721     # Preserve the white space surrounding the "#".
   19722     print prefix "define", macro P[macro] D[macro]
   19723     next
   19724   } else {
   19725     # Replace #undef with comments.  This is necessary, for example,
   19726     # in the case of _POSIX_SOURCE, which is predefined and required
   19727     # on some systems where configure will not decide to define it.
   19728     if (defundef == "undef") {
   19729       print "/*", prefix defundef, macro, "*/"
   19730       next
   19731     }
   19732   }
   19733 }
   19734 { print }
   19735 _ACAWK
   19736 _ACEOF
   19737 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19738   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   19739 fi # test -n "$CONFIG_HEADERS"
   19740 
   19741 
   19742 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   19743 shift
   19744 for ac_tag
   19745 do
   19746   case $ac_tag in
   19747   :[FHLC]) ac_mode=$ac_tag; continue;;
   19748   esac
   19749   case $ac_mode$ac_tag in
   19750   :[FHL]*:*);;
   19751   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   19752   :[FH]-) ac_tag=-:-;;
   19753   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   19754   esac
   19755   ac_save_IFS=$IFS
   19756   IFS=:
   19757   set x $ac_tag
   19758   IFS=$ac_save_IFS
   19759   shift
   19760   ac_file=$1
   19761   shift
   19762 
   19763   case $ac_mode in
   19764   :L) ac_source=$1;;
   19765   :[FH])
   19766     ac_file_inputs=
   19767     for ac_f
   19768     do
   19769       case $ac_f in
   19770       -) ac_f="$ac_tmp/stdin";;
   19771       *) # Look for the file first in the build tree, then in the source tree
   19772 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   19773 	 # because $ac_f cannot contain `:'.
   19774 	 test -f "$ac_f" ||
   19775 	   case $ac_f in
   19776 	   [\\/$]*) false;;
   19777 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   19778 	   esac ||
   19779 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   19780       esac
   19781       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   19782       as_fn_append ac_file_inputs " '$ac_f'"
   19783     done
   19784 
   19785     # Let's still pretend it is `configure' which instantiates (i.e., don't
   19786     # use $as_me), people would be surprised to read:
   19787     #    /* config.h.  Generated by config.status.  */
   19788     configure_input='Generated from '`
   19789 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   19790 	`' by configure.'
   19791     if test x"$ac_file" != x-; then
   19792       configure_input="$ac_file.  $configure_input"
   19793       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   19794 $as_echo "$as_me: creating $ac_file" >&6;}
   19795     fi
   19796     # Neutralize special characters interpreted by sed in replacement strings.
   19797     case $configure_input in #(
   19798     *\&* | *\|* | *\\* )
   19799        ac_sed_conf_input=`$as_echo "$configure_input" |
   19800        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   19801     *) ac_sed_conf_input=$configure_input;;
   19802     esac
   19803 
   19804     case $ac_tag in
   19805     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   19806       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   19807     esac
   19808     ;;
   19809   esac
   19810 
   19811   ac_dir=`$as_dirname -- "$ac_file" ||
   19812 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19813 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   19814 	 X"$ac_file" : 'X\(//\)$' \| \
   19815 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   19816 $as_echo X"$ac_file" |
   19817     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19818 	    s//\1/
   19819 	    q
   19820 	  }
   19821 	  /^X\(\/\/\)[^/].*/{
   19822 	    s//\1/
   19823 	    q
   19824 	  }
   19825 	  /^X\(\/\/\)$/{
   19826 	    s//\1/
   19827 	    q
   19828 	  }
   19829 	  /^X\(\/\).*/{
   19830 	    s//\1/
   19831 	    q
   19832 	  }
   19833 	  s/.*/./; q'`
   19834   as_dir="$ac_dir"; as_fn_mkdir_p
   19835   ac_builddir=.
   19836 
   19837 case "$ac_dir" in
   19838 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19839 *)
   19840   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   19841   # A ".." for each directory in $ac_dir_suffix.
   19842   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   19843   case $ac_top_builddir_sub in
   19844   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19845   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   19846   esac ;;
   19847 esac
   19848 ac_abs_top_builddir=$ac_pwd
   19849 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   19850 # for backward compatibility:
   19851 ac_top_builddir=$ac_top_build_prefix
   19852 
   19853 case $srcdir in
   19854   .)  # We are building in place.
   19855     ac_srcdir=.
   19856     ac_top_srcdir=$ac_top_builddir_sub
   19857     ac_abs_top_srcdir=$ac_pwd ;;
   19858   [\\/]* | ?:[\\/]* )  # Absolute name.
   19859     ac_srcdir=$srcdir$ac_dir_suffix;
   19860     ac_top_srcdir=$srcdir
   19861     ac_abs_top_srcdir=$srcdir ;;
   19862   *) # Relative name.
   19863     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   19864     ac_top_srcdir=$ac_top_build_prefix$srcdir
   19865     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   19866 esac
   19867 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   19868 
   19869 
   19870   case $ac_mode in
   19871   :F)
   19872   #
   19873   # CONFIG_FILE
   19874   #
   19875 
   19876   case $INSTALL in
   19877   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   19878   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   19879   esac
   19880   ac_MKDIR_P=$MKDIR_P
   19881   case $MKDIR_P in
   19882   [\\/$]* | ?:[\\/]* ) ;;
   19883   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   19884   esac
   19885 _ACEOF
   19886 
   19887 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19888 # If the template does not know about datarootdir, expand it.
   19889 # FIXME: This hack should be removed a few years after 2.60.
   19890 ac_datarootdir_hack=; ac_datarootdir_seen=
   19891 ac_sed_dataroot='
   19892 /datarootdir/ {
   19893   p
   19894   q
   19895 }
   19896 /@datadir@/p
   19897 /@docdir@/p
   19898 /@infodir@/p
   19899 /@localedir@/p
   19900 /@mandir@/p'
   19901 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   19902 *datarootdir*) ac_datarootdir_seen=yes;;
   19903 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   19904   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   19905 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   19906 _ACEOF
   19907 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19908   ac_datarootdir_hack='
   19909   s&@datadir@&$datadir&g
   19910   s&@docdir@&$docdir&g
   19911   s&@infodir@&$infodir&g
   19912   s&@localedir@&$localedir&g
   19913   s&@mandir@&$mandir&g
   19914   s&\\\${datarootdir}&$datarootdir&g' ;;
   19915 esac
   19916 _ACEOF
   19917 
   19918 # Neutralize VPATH when `$srcdir' = `.'.
   19919 # Shell code in configure.ac might set extrasub.
   19920 # FIXME: do we really want to maintain this feature?
   19921 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19922 ac_sed_extra="$ac_vpsub
   19923 $extrasub
   19924 _ACEOF
   19925 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19926 :t
   19927 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   19928 s|@configure_input@|$ac_sed_conf_input|;t t
   19929 s&@top_builddir@&$ac_top_builddir_sub&;t t
   19930 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   19931 s&@srcdir@&$ac_srcdir&;t t
   19932 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   19933 s&@top_srcdir@&$ac_top_srcdir&;t t
   19934 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   19935 s&@builddir@&$ac_builddir&;t t
   19936 s&@abs_builddir@&$ac_abs_builddir&;t t
   19937 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   19938 s&@INSTALL@&$ac_INSTALL&;t t
   19939 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   19940 $ac_datarootdir_hack
   19941 "
   19942 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   19943   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19944 
   19945 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   19946   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   19947   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   19948       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   19949   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19950 which seems to be undefined.  Please make sure it is defined" >&5
   19951 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19952 which seems to be undefined.  Please make sure it is defined" >&2;}
   19953 
   19954   rm -f "$ac_tmp/stdin"
   19955   case $ac_file in
   19956   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   19957   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   19958   esac \
   19959   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19960  ;;
   19961   :H)
   19962   #
   19963   # CONFIG_HEADER
   19964   #
   19965   if test x"$ac_file" != x-; then
   19966     {
   19967       $as_echo "/* $configure_input  */" \
   19968       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   19969     } >"$ac_tmp/config.h" \
   19970       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19971     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   19972       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   19973 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   19974     else
   19975       rm -f "$ac_file"
   19976       mv "$ac_tmp/config.h" "$ac_file" \
   19977 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19978     fi
   19979   else
   19980     $as_echo "/* $configure_input  */" \
   19981       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   19982       || as_fn_error $? "could not create -" "$LINENO" 5
   19983   fi
   19984 # Compute "$ac_file"'s index in $config_headers.
   19985 _am_arg="$ac_file"
   19986 _am_stamp_count=1
   19987 for _am_header in $config_headers :; do
   19988   case $_am_header in
   19989     $_am_arg | $_am_arg:* )
   19990       break ;;
   19991     * )
   19992       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   19993   esac
   19994 done
   19995 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   19996 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19997 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   19998 	 X"$_am_arg" : 'X\(//\)$' \| \
   19999 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   20000 $as_echo X"$_am_arg" |
   20001     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20002 	    s//\1/
   20003 	    q
   20004 	  }
   20005 	  /^X\(\/\/\)[^/].*/{
   20006 	    s//\1/
   20007 	    q
   20008 	  }
   20009 	  /^X\(\/\/\)$/{
   20010 	    s//\1/
   20011 	    q
   20012 	  }
   20013 	  /^X\(\/\).*/{
   20014 	    s//\1/
   20015 	    q
   20016 	  }
   20017 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   20018  ;;
   20019 
   20020   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   20021 $as_echo "$as_me: executing $ac_file commands" >&6;}
   20022  ;;
   20023   esac
   20024 
   20025 
   20026   case $ac_file$ac_mode in
   20027     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   20028   # Older Autoconf quotes --file arguments for eval, but not when files
   20029   # are listed without --file.  Let's play safe and only enable the eval
   20030   # if we detect the quoting.
   20031   case $CONFIG_FILES in
   20032   *\'*) eval set x "$CONFIG_FILES" ;;
   20033   *)   set x $CONFIG_FILES ;;
   20034   esac
   20035   shift
   20036   for mf
   20037   do
   20038     # Strip MF so we end up with the name of the file.
   20039     mf=`echo "$mf" | sed -e 's/:.*$//'`
   20040     # Check whether this is an Automake generated Makefile or not.
   20041     # We used to match only the files named 'Makefile.in', but
   20042     # some people rename them; so instead we look at the file content.
   20043     # Grep'ing the first line is not enough: some people post-process
   20044     # each Makefile.in and add a new line on top of each file to say so.
   20045     # Grep'ing the whole file is not good either: AIX grep has a line
   20046     # limit of 2048, but all sed's we know have understand at least 4000.
   20047     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   20048       dirpart=`$as_dirname -- "$mf" ||
   20049 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20050 	 X"$mf" : 'X\(//\)[^/]' \| \
   20051 	 X"$mf" : 'X\(//\)$' \| \
   20052 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   20053 $as_echo X"$mf" |
   20054     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20055 	    s//\1/
   20056 	    q
   20057 	  }
   20058 	  /^X\(\/\/\)[^/].*/{
   20059 	    s//\1/
   20060 	    q
   20061 	  }
   20062 	  /^X\(\/\/\)$/{
   20063 	    s//\1/
   20064 	    q
   20065 	  }
   20066 	  /^X\(\/\).*/{
   20067 	    s//\1/
   20068 	    q
   20069 	  }
   20070 	  s/.*/./; q'`
   20071     else
   20072       continue
   20073     fi
   20074     # Extract the definition of DEPDIR, am__include, and am__quote
   20075     # from the Makefile without running 'make'.
   20076     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   20077     test -z "$DEPDIR" && continue
   20078     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   20079     test -z "$am__include" && continue
   20080     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   20081     # Find all dependency output files, they are included files with
   20082     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   20083     # simplest approach to changing $(DEPDIR) to its actual value in the
   20084     # expansion.
   20085     for file in `sed -n "
   20086       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   20087 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   20088       # Make sure the directory exists.
   20089       test -f "$dirpart/$file" && continue
   20090       fdir=`$as_dirname -- "$file" ||
   20091 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20092 	 X"$file" : 'X\(//\)[^/]' \| \
   20093 	 X"$file" : 'X\(//\)$' \| \
   20094 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   20095 $as_echo X"$file" |
   20096     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20097 	    s//\1/
   20098 	    q
   20099 	  }
   20100 	  /^X\(\/\/\)[^/].*/{
   20101 	    s//\1/
   20102 	    q
   20103 	  }
   20104 	  /^X\(\/\/\)$/{
   20105 	    s//\1/
   20106 	    q
   20107 	  }
   20108 	  /^X\(\/\).*/{
   20109 	    s//\1/
   20110 	    q
   20111 	  }
   20112 	  s/.*/./; q'`
   20113       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   20114       # echo "creating $dirpart/$file"
   20115       echo '# dummy' > "$dirpart/$file"
   20116     done
   20117   done
   20118 }
   20119  ;;
   20120     "libtool":C)
   20121 
   20122     # See if we are running on zsh, and set the options which allow our
   20123     # commands through without removal of \ escapes.
   20124     if test -n "${ZSH_VERSION+set}" ; then
   20125       setopt NO_GLOB_SUBST
   20126     fi
   20127 
   20128     cfgfile="${ofile}T"
   20129     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   20130     $RM "$cfgfile"
   20131 
   20132     cat <<_LT_EOF >> "$cfgfile"
   20133 #! $SHELL
   20134 
   20135 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   20136 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   20137 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   20138 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   20139 #
   20140 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   20141 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
   20142 #                 Foundation, Inc.
   20143 #   Written by Gordon Matzigkeit, 1996
   20144 #
   20145 #   This file is part of GNU Libtool.
   20146 #
   20147 # GNU Libtool is free software; you can redistribute it and/or
   20148 # modify it under the terms of the GNU General Public License as
   20149 # published by the Free Software Foundation; either version 2 of
   20150 # the License, or (at your option) any later version.
   20151 #
   20152 # As a special exception to the GNU General Public License,
   20153 # if you distribute this file as part of a program or library that
   20154 # is built using GNU Libtool, you may include this file under the
   20155 # same distribution terms that you use for the rest of that program.
   20156 #
   20157 # GNU Libtool is distributed in the hope that it will be useful,
   20158 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   20159 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   20160 # GNU General Public License for more details.
   20161 #
   20162 # You should have received a copy of the GNU General Public License
   20163 # along with GNU Libtool; see the file COPYING.  If not, a copy
   20164 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   20165 # obtained by writing to the Free Software Foundation, Inc.,
   20166 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   20167 
   20168 
   20169 # The names of the tagged configurations supported by this script.
   20170 available_tags=""
   20171 
   20172 # ### BEGIN LIBTOOL CONFIG
   20173 
   20174 # Assembler program.
   20175 AS=$lt_AS
   20176 
   20177 # DLL creation program.
   20178 DLLTOOL=$lt_DLLTOOL
   20179 
   20180 # Object dumper program.
   20181 OBJDUMP=$lt_OBJDUMP
   20182 
   20183 # Which release of libtool.m4 was used?
   20184 macro_version=$macro_version
   20185 macro_revision=$macro_revision
   20186 
   20187 # Whether or not to build shared libraries.
   20188 build_libtool_libs=$enable_shared
   20189 
   20190 # Whether or not to build static libraries.
   20191 build_old_libs=$enable_static
   20192 
   20193 # What type of objects to build.
   20194 pic_mode=$pic_mode
   20195 
   20196 # Whether or not to optimize for fast installation.
   20197 fast_install=$enable_fast_install
   20198 
   20199 # Shell to use when invoking shell scripts.
   20200 SHELL=$lt_SHELL
   20201 
   20202 # An echo program that protects backslashes.
   20203 ECHO=$lt_ECHO
   20204 
   20205 # The PATH separator for the build system.
   20206 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   20207 
   20208 # The host system.
   20209 host_alias=$host_alias
   20210 host=$host
   20211 host_os=$host_os
   20212 
   20213 # The build system.
   20214 build_alias=$build_alias
   20215 build=$build
   20216 build_os=$build_os
   20217 
   20218 # A sed program that does not truncate output.
   20219 SED=$lt_SED
   20220 
   20221 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   20222 Xsed="\$SED -e 1s/^X//"
   20223 
   20224 # A grep program that handles long lines.
   20225 GREP=$lt_GREP
   20226 
   20227 # An ERE matcher.
   20228 EGREP=$lt_EGREP
   20229 
   20230 # A literal string matcher.
   20231 FGREP=$lt_FGREP
   20232 
   20233 # A BSD- or MS-compatible name lister.
   20234 NM=$lt_NM
   20235 
   20236 # Whether we need soft or hard links.
   20237 LN_S=$lt_LN_S
   20238 
   20239 # What is the maximum length of a command?
   20240 max_cmd_len=$max_cmd_len
   20241 
   20242 # Object file suffix (normally "o").
   20243 objext=$ac_objext
   20244 
   20245 # Executable file suffix (normally "").
   20246 exeext=$exeext
   20247 
   20248 # whether the shell understands "unset".
   20249 lt_unset=$lt_unset
   20250 
   20251 # turn spaces into newlines.
   20252 SP2NL=$lt_lt_SP2NL
   20253 
   20254 # turn newlines into spaces.
   20255 NL2SP=$lt_lt_NL2SP
   20256 
   20257 # convert \$build file names to \$host format.
   20258 to_host_file_cmd=$lt_cv_to_host_file_cmd
   20259 
   20260 # convert \$build files to toolchain format.
   20261 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   20262 
   20263 # Method to check whether dependent libraries are shared objects.
   20264 deplibs_check_method=$lt_deplibs_check_method
   20265 
   20266 # Command to use when deplibs_check_method = "file_magic".
   20267 file_magic_cmd=$lt_file_magic_cmd
   20268 
   20269 # How to find potential files when deplibs_check_method = "file_magic".
   20270 file_magic_glob=$lt_file_magic_glob
   20271 
   20272 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   20273 want_nocaseglob=$lt_want_nocaseglob
   20274 
   20275 # Command to associate shared and link libraries.
   20276 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   20277 
   20278 # The archiver.
   20279 AR=$lt_AR
   20280 
   20281 # Flags to create an archive.
   20282 AR_FLAGS=$lt_AR_FLAGS
   20283 
   20284 # How to feed a file listing to the archiver.
   20285 archiver_list_spec=$lt_archiver_list_spec
   20286 
   20287 # A symbol stripping program.
   20288 STRIP=$lt_STRIP
   20289 
   20290 # Commands used to install an old-style archive.
   20291 RANLIB=$lt_RANLIB
   20292 old_postinstall_cmds=$lt_old_postinstall_cmds
   20293 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   20294 
   20295 # Whether to use a lock for old archive extraction.
   20296 lock_old_archive_extraction=$lock_old_archive_extraction
   20297 
   20298 # A C compiler.
   20299 LTCC=$lt_CC
   20300 
   20301 # LTCC compiler flags.
   20302 LTCFLAGS=$lt_CFLAGS
   20303 
   20304 # Take the output of nm and produce a listing of raw symbols and C names.
   20305 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   20306 
   20307 # Transform the output of nm in a proper C declaration.
   20308 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   20309 
   20310 # Transform the output of nm in a C name address pair.
   20311 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   20312 
   20313 # Transform the output of nm in a C name address pair when lib prefix is needed.
   20314 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   20315 
   20316 # Specify filename containing input files for \$NM.
   20317 nm_file_list_spec=$lt_nm_file_list_spec
   20318 
   20319 # The root where to search for dependent libraries,and in which our libraries should be installed.
   20320 lt_sysroot=$lt_sysroot
   20321 
   20322 # The name of the directory that contains temporary libtool files.
   20323 objdir=$objdir
   20324 
   20325 # Used to examine libraries when file_magic_cmd begins with "file".
   20326 MAGIC_CMD=$MAGIC_CMD
   20327 
   20328 # Must we lock files when doing compilation?
   20329 need_locks=$lt_need_locks
   20330 
   20331 # Manifest tool.
   20332 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   20333 
   20334 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   20335 DSYMUTIL=$lt_DSYMUTIL
   20336 
   20337 # Tool to change global to local symbols on Mac OS X.
   20338 NMEDIT=$lt_NMEDIT
   20339 
   20340 # Tool to manipulate fat objects and archives on Mac OS X.
   20341 LIPO=$lt_LIPO
   20342 
   20343 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   20344 OTOOL=$lt_OTOOL
   20345 
   20346 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   20347 OTOOL64=$lt_OTOOL64
   20348 
   20349 # Old archive suffix (normally "a").
   20350 libext=$libext
   20351 
   20352 # Shared library suffix (normally ".so").
   20353 shrext_cmds=$lt_shrext_cmds
   20354 
   20355 # The commands to extract the exported symbol list from a shared archive.
   20356 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   20357 
   20358 # Variables whose values should be saved in libtool wrapper scripts and
   20359 # restored at link time.
   20360 variables_saved_for_relink=$lt_variables_saved_for_relink
   20361 
   20362 # Do we need the "lib" prefix for modules?
   20363 need_lib_prefix=$need_lib_prefix
   20364 
   20365 # Do we need a version for libraries?
   20366 need_version=$need_version
   20367 
   20368 # Library versioning type.
   20369 version_type=$version_type
   20370 
   20371 # Shared library runtime path variable.
   20372 runpath_var=$runpath_var
   20373 
   20374 # Shared library path variable.
   20375 shlibpath_var=$shlibpath_var
   20376 
   20377 # Is shlibpath searched before the hard-coded library search path?
   20378 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   20379 
   20380 # Format of library name prefix.
   20381 libname_spec=$lt_libname_spec
   20382 
   20383 # List of archive names.  First name is the real one, the rest are links.
   20384 # The last name is the one that the linker finds with -lNAME
   20385 library_names_spec=$lt_library_names_spec
   20386 
   20387 # The coded name of the library, if different from the real name.
   20388 soname_spec=$lt_soname_spec
   20389 
   20390 # Permission mode override for installation of shared libraries.
   20391 install_override_mode=$lt_install_override_mode
   20392 
   20393 # Command to use after installation of a shared archive.
   20394 postinstall_cmds=$lt_postinstall_cmds
   20395 
   20396 # Command to use after uninstallation of a shared archive.
   20397 postuninstall_cmds=$lt_postuninstall_cmds
   20398 
   20399 # Commands used to finish a libtool library installation in a directory.
   20400 finish_cmds=$lt_finish_cmds
   20401 
   20402 # As "finish_cmds", except a single script fragment to be evaled but
   20403 # not shown.
   20404 finish_eval=$lt_finish_eval
   20405 
   20406 # Whether we should hardcode library paths into libraries.
   20407 hardcode_into_libs=$hardcode_into_libs
   20408 
   20409 # Compile-time system search path for libraries.
   20410 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   20411 
   20412 # Run-time system search path for libraries.
   20413 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   20414 
   20415 # Whether dlopen is supported.
   20416 dlopen_support=$enable_dlopen
   20417 
   20418 # Whether dlopen of programs is supported.
   20419 dlopen_self=$enable_dlopen_self
   20420 
   20421 # Whether dlopen of statically linked programs is supported.
   20422 dlopen_self_static=$enable_dlopen_self_static
   20423 
   20424 # Commands to strip libraries.
   20425 old_striplib=$lt_old_striplib
   20426 striplib=$lt_striplib
   20427 
   20428 
   20429 # The linker used to build libraries.
   20430 LD=$lt_LD
   20431 
   20432 # How to create reloadable object files.
   20433 reload_flag=$lt_reload_flag
   20434 reload_cmds=$lt_reload_cmds
   20435 
   20436 # Commands used to build an old-style archive.
   20437 old_archive_cmds=$lt_old_archive_cmds
   20438 
   20439 # A language specific compiler.
   20440 CC=$lt_compiler
   20441 
   20442 # Is the compiler the GNU compiler?
   20443 with_gcc=$GCC
   20444 
   20445 # Compiler flag to turn off builtin functions.
   20446 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   20447 
   20448 # Additional compiler flags for building library objects.
   20449 pic_flag=$lt_lt_prog_compiler_pic
   20450 
   20451 # How to pass a linker flag through the compiler.
   20452 wl=$lt_lt_prog_compiler_wl
   20453 
   20454 # Compiler flag to prevent dynamic linking.
   20455 link_static_flag=$lt_lt_prog_compiler_static
   20456 
   20457 # Does compiler simultaneously support -c and -o options?
   20458 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   20459 
   20460 # Whether or not to add -lc for building shared libraries.
   20461 build_libtool_need_lc=$archive_cmds_need_lc
   20462 
   20463 # Whether or not to disallow shared libs when runtime libs are static.
   20464 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   20465 
   20466 # Compiler flag to allow reflexive dlopens.
   20467 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   20468 
   20469 # Compiler flag to generate shared objects directly from archives.
   20470 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   20471 
   20472 # Whether the compiler copes with passing no objects directly.
   20473 compiler_needs_object=$lt_compiler_needs_object
   20474 
   20475 # Create an old-style archive from a shared archive.
   20476 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   20477 
   20478 # Create a temporary old-style archive to link instead of a shared archive.
   20479 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   20480 
   20481 # Commands used to build a shared archive.
   20482 archive_cmds=$lt_archive_cmds
   20483 archive_expsym_cmds=$lt_archive_expsym_cmds
   20484 
   20485 # Commands used to build a loadable module if different from building
   20486 # a shared archive.
   20487 module_cmds=$lt_module_cmds
   20488 module_expsym_cmds=$lt_module_expsym_cmds
   20489 
   20490 # Whether we are building with GNU ld or not.
   20491 with_gnu_ld=$lt_with_gnu_ld
   20492 
   20493 # Flag that allows shared libraries with undefined symbols to be built.
   20494 allow_undefined_flag=$lt_allow_undefined_flag
   20495 
   20496 # Flag that enforces no undefined symbols.
   20497 no_undefined_flag=$lt_no_undefined_flag
   20498 
   20499 # Flag to hardcode \$libdir into a binary during linking.
   20500 # This must work even if \$libdir does not exist
   20501 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   20502 
   20503 # Whether we need a single "-rpath" flag with a separated argument.
   20504 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   20505 
   20506 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   20507 # DIR into the resulting binary.
   20508 hardcode_direct=$hardcode_direct
   20509 
   20510 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   20511 # DIR into the resulting binary and the resulting library dependency is
   20512 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   20513 # library is relocated.
   20514 hardcode_direct_absolute=$hardcode_direct_absolute
   20515 
   20516 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   20517 # into the resulting binary.
   20518 hardcode_minus_L=$hardcode_minus_L
   20519 
   20520 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   20521 # into the resulting binary.
   20522 hardcode_shlibpath_var=$hardcode_shlibpath_var
   20523 
   20524 # Set to "yes" if building a shared library automatically hardcodes DIR
   20525 # into the library and all subsequent libraries and executables linked
   20526 # against it.
   20527 hardcode_automatic=$hardcode_automatic
   20528 
   20529 # Set to yes if linker adds runtime paths of dependent libraries
   20530 # to runtime path list.
   20531 inherit_rpath=$inherit_rpath
   20532 
   20533 # Whether libtool must link a program against all its dependency libraries.
   20534 link_all_deplibs=$link_all_deplibs
   20535 
   20536 # Set to "yes" if exported symbols are required.
   20537 always_export_symbols=$always_export_symbols
   20538 
   20539 # The commands to list exported symbols.
   20540 export_symbols_cmds=$lt_export_symbols_cmds
   20541 
   20542 # Symbols that should not be listed in the preloaded symbols.
   20543 exclude_expsyms=$lt_exclude_expsyms
   20544 
   20545 # Symbols that must always be exported.
   20546 include_expsyms=$lt_include_expsyms
   20547 
   20548 # Commands necessary for linking programs (against libraries) with templates.
   20549 prelink_cmds=$lt_prelink_cmds
   20550 
   20551 # Commands necessary for finishing linking programs.
   20552 postlink_cmds=$lt_postlink_cmds
   20553 
   20554 # Specify filename containing input files.
   20555 file_list_spec=$lt_file_list_spec
   20556 
   20557 # How to hardcode a shared library path into an executable.
   20558 hardcode_action=$hardcode_action
   20559 
   20560 # ### END LIBTOOL CONFIG
   20561 
   20562 _LT_EOF
   20563 
   20564   case $host_os in
   20565   aix3*)
   20566     cat <<\_LT_EOF >> "$cfgfile"
   20567 # AIX sometimes has problems with the GCC collect2 program.  For some
   20568 # reason, if we set the COLLECT_NAMES environment variable, the problems
   20569 # vanish in a puff of smoke.
   20570 if test "X${COLLECT_NAMES+set}" != Xset; then
   20571   COLLECT_NAMES=
   20572   export COLLECT_NAMES
   20573 fi
   20574 _LT_EOF
   20575     ;;
   20576   esac
   20577 
   20578 
   20579 ltmain="$ac_aux_dir/ltmain.sh"
   20580 
   20581 
   20582   # We use sed instead of cat because bash on DJGPP gets confused if
   20583   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   20584   # text mode, it properly converts lines to CR/LF.  This bash problem
   20585   # is reportedly fixed, but why not run on old versions too?
   20586   sed '$q' "$ltmain" >> "$cfgfile" \
   20587      || (rm -f "$cfgfile"; exit 1)
   20588 
   20589   if test x"$xsi_shell" = xyes; then
   20590   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
   20591 func_dirname ()\
   20592 {\
   20593 \    case ${1} in\
   20594 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   20595 \      *  ) func_dirname_result="${3}" ;;\
   20596 \    esac\
   20597 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
   20598   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20599     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20600 test 0 -eq $? || _lt_function_replace_fail=:
   20601 
   20602 
   20603   sed -e '/^func_basename ()$/,/^} # func_basename /c\
   20604 func_basename ()\
   20605 {\
   20606 \    func_basename_result="${1##*/}"\
   20607 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
   20608   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20609     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20610 test 0 -eq $? || _lt_function_replace_fail=:
   20611 
   20612 
   20613   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
   20614 func_dirname_and_basename ()\
   20615 {\
   20616 \    case ${1} in\
   20617 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   20618 \      *  ) func_dirname_result="${3}" ;;\
   20619 \    esac\
   20620 \    func_basename_result="${1##*/}"\
   20621 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
   20622   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20623     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20624 test 0 -eq $? || _lt_function_replace_fail=:
   20625 
   20626 
   20627   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
   20628 func_stripname ()\
   20629 {\
   20630 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
   20631 \    # positional parameters, so assign one to ordinary parameter first.\
   20632 \    func_stripname_result=${3}\
   20633 \    func_stripname_result=${func_stripname_result#"${1}"}\
   20634 \    func_stripname_result=${func_stripname_result%"${2}"}\
   20635 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
   20636   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20637     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20638 test 0 -eq $? || _lt_function_replace_fail=:
   20639 
   20640 
   20641   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
   20642 func_split_long_opt ()\
   20643 {\
   20644 \    func_split_long_opt_name=${1%%=*}\
   20645 \    func_split_long_opt_arg=${1#*=}\
   20646 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
   20647   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20648     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20649 test 0 -eq $? || _lt_function_replace_fail=:
   20650 
   20651 
   20652   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
   20653 func_split_short_opt ()\
   20654 {\
   20655 \    func_split_short_opt_arg=${1#??}\
   20656 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
   20657 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
   20658   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20659     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20660 test 0 -eq $? || _lt_function_replace_fail=:
   20661 
   20662 
   20663   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
   20664 func_lo2o ()\
   20665 {\
   20666 \    case ${1} in\
   20667 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
   20668 \      *)    func_lo2o_result=${1} ;;\
   20669 \    esac\
   20670 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
   20671   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20672     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20673 test 0 -eq $? || _lt_function_replace_fail=:
   20674 
   20675 
   20676   sed -e '/^func_xform ()$/,/^} # func_xform /c\
   20677 func_xform ()\
   20678 {\
   20679     func_xform_result=${1%.*}.lo\
   20680 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
   20681   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20682     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20683 test 0 -eq $? || _lt_function_replace_fail=:
   20684 
   20685 
   20686   sed -e '/^func_arith ()$/,/^} # func_arith /c\
   20687 func_arith ()\
   20688 {\
   20689     func_arith_result=$(( $* ))\
   20690 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
   20691   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20692     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20693 test 0 -eq $? || _lt_function_replace_fail=:
   20694 
   20695 
   20696   sed -e '/^func_len ()$/,/^} # func_len /c\
   20697 func_len ()\
   20698 {\
   20699     func_len_result=${#1}\
   20700 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
   20701   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20702     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20703 test 0 -eq $? || _lt_function_replace_fail=:
   20704 
   20705 fi
   20706 
   20707 if test x"$lt_shell_append" = xyes; then
   20708   sed -e '/^func_append ()$/,/^} # func_append /c\
   20709 func_append ()\
   20710 {\
   20711     eval "${1}+=\\${2}"\
   20712 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
   20713   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20714     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20715 test 0 -eq $? || _lt_function_replace_fail=:
   20716 
   20717 
   20718   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
   20719 func_append_quoted ()\
   20720 {\
   20721 \    func_quote_for_eval "${2}"\
   20722 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
   20723 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
   20724   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20725     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20726 test 0 -eq $? || _lt_function_replace_fail=:
   20727 
   20728 
   20729   # Save a `func_append' function call where possible by direct use of '+='
   20730   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
   20731     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20732       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20733   test 0 -eq $? || _lt_function_replace_fail=:
   20734 else
   20735   # Save a `func_append' function call even when '+=' is not available
   20736   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $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 fi
   20741 
   20742 if test x"$_lt_function_replace_fail" = x":"; then
   20743   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
   20744 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
   20745 fi
   20746 
   20747 
   20748    mv -f "$cfgfile" "$ofile" ||
   20749     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   20750   chmod +x "$ofile"
   20751 
   20752  ;;
   20753 
   20754   esac
   20755 done # for ac_tag
   20756 
   20757 
   20758 as_fn_exit 0
   20759 _ACEOF
   20760 ac_clean_files=$ac_clean_files_save
   20761 
   20762 test $ac_write_fail = 0 ||
   20763   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   20764 
   20765 
   20766 # configure is writing to config.log, and then calls config.status.
   20767 # config.status does its own redirection, appending to config.log.
   20768 # Unfortunately, on DOS this fails, as config.log is still kept open
   20769 # by configure, so config.status won't be able to write to it; its
   20770 # output is simply discarded.  So we exec the FD to /dev/null,
   20771 # effectively closing config.log, so it can be properly (re)opened and
   20772 # appended to by config.status.  When coming back to configure, we
   20773 # need to make the FD available again.
   20774 if test "$no_create" != yes; then
   20775   ac_cs_success=:
   20776   ac_config_status_args=
   20777   test "$silent" = yes &&
   20778     ac_config_status_args="$ac_config_status_args --quiet"
   20779   exec 5>/dev/null
   20780   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   20781   exec 5>>config.log
   20782   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   20783   # would make configure fail if this is the last instruction.
   20784   $ac_cs_success || as_fn_exit 1
   20785 fi
   20786 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   20787   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   20788 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   20789 fi
   20790 
   20791