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 libXScrnSaver 1.2.2.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 #
      8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
     10 # Foundation, Inc.
     11 #
     12 #
     13 # This configure script is free software; the Free Software Foundation
     14 # gives unlimited permission to copy, distribute and modify it.
     15 ## -------------------- ##
     16 ## M4sh Initialization. ##
     17 ## -------------------- ##
     18 
     19 # Be more Bourne compatible
     20 DUALCASE=1; export DUALCASE # for MKS sh
     21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     22   emulate sh
     23   NULLCMD=:
     24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     25   # is contrary to our usage.  Disable this feature.
     26   alias -g '${1+"$@"}'='"$@"'
     27   setopt NO_GLOB_SUBST
     28 else
     29   case `(set -o) 2>/dev/null` in #(
     30   *posix*) :
     31     set -o posix ;; #(
     32   *) :
     33      ;;
     34 esac
     35 fi
     36 
     37 
     38 as_nl='
     39 '
     40 export as_nl
     41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     45 # Prefer a ksh shell builtin over an external printf program on Solaris,
     46 # but without wasting forks for bash or zsh.
     47 if test -z "$BASH_VERSION$ZSH_VERSION" \
     48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     49   as_echo='print -r --'
     50   as_echo_n='print -rn --'
     51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     52   as_echo='printf %s\n'
     53   as_echo_n='printf %s'
     54 else
     55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     57     as_echo_n='/usr/ucb/echo -n'
     58   else
     59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     60     as_echo_n_body='eval
     61       arg=$1;
     62       case $arg in #(
     63       *"$as_nl"*)
     64 	expr "X$arg" : "X\\(.*\\)$as_nl";
     65 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     66       esac;
     67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     68     '
     69     export as_echo_n_body
     70     as_echo_n='sh -c $as_echo_n_body as_echo'
     71   fi
     72   export as_echo_body
     73   as_echo='sh -c $as_echo_body as_echo'
     74 fi
     75 
     76 # The user is always right.
     77 if test "${PATH_SEPARATOR+set}" != set; then
     78   PATH_SEPARATOR=:
     79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     81       PATH_SEPARATOR=';'
     82   }
     83 fi
     84 
     85 
     86 # IFS
     87 # We need space, tab and new line, in precisely that order.  Quoting is
     88 # there to prevent editors from complaining about space-tab.
     89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     90 # splitting by setting IFS to empty value.)
     91 IFS=" ""	$as_nl"
     92 
     93 # Find who we are.  Look in the path if we contain no directory separator.
     94 as_myself=
     95 case $0 in #((
     96   *[\\/]* ) as_myself=$0 ;;
     97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     98 for as_dir in $PATH
     99 do
    100   IFS=$as_save_IFS
    101   test -z "$as_dir" && as_dir=.
    102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    103   done
    104 IFS=$as_save_IFS
    105 
    106      ;;
    107 esac
    108 # We did not find ourselves, most probably we were run as `sh COMMAND'
    109 # in which case we are not to be found in the path.
    110 if test "x$as_myself" = x; then
    111   as_myself=$0
    112 fi
    113 if test ! -f "$as_myself"; then
    114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    115   exit 1
    116 fi
    117 
    118 # Unset variables that we do not need and which cause bugs (e.g. in
    119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    120 # suppresses any "Segmentation fault" message there.  '((' could
    121 # trigger a bug in pdksh 5.2.14.
    122 for as_var in BASH_ENV ENV MAIL MAILPATH
    123 do eval test x\${$as_var+set} = xset \
    124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    125 done
    126 PS1='$ '
    127 PS2='> '
    128 PS4='+ '
    129 
    130 # NLS nuisances.
    131 LC_ALL=C
    132 export LC_ALL
    133 LANGUAGE=C
    134 export LANGUAGE
    135 
    136 # CDPATH.
    137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    138 
    139 if test "x$CONFIG_SHELL" = x; then
    140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    141   emulate sh
    142   NULLCMD=:
    143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    144   # is contrary to our usage.  Disable this feature.
    145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    146   setopt NO_GLOB_SUBST
    147 else
    148   case \`(set -o) 2>/dev/null\` in #(
    149   *posix*) :
    150     set -o posix ;; #(
    151   *) :
    152      ;;
    153 esac
    154 fi
    155 "
    156   as_required="as_fn_return () { (exit \$1); }
    157 as_fn_success () { as_fn_return 0; }
    158 as_fn_failure () { as_fn_return 1; }
    159 as_fn_ret_success () { return 0; }
    160 as_fn_ret_failure () { return 1; }
    161 
    162 exitcode=0
    163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    168 
    169 else
    170   exitcode=1; echo positional parameters were not saved.
    171 fi
    172 test x\$exitcode = x0 || exit 1"
    173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    177 
    178   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    179     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    180     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    181     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    182     PATH=/empty FPATH=/empty; export PATH FPATH
    183     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    184       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
    185 test \$(( 1 + 1 )) = 2 || exit 1"
    186   if (eval "$as_required") 2>/dev/null; then :
    187   as_have_required=yes
    188 else
    189   as_have_required=no
    190 fi
    191   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    192 
    193 else
    194   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    195 as_found=false
    196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    197 do
    198   IFS=$as_save_IFS
    199   test -z "$as_dir" && as_dir=.
    200   as_found=:
    201   case $as_dir in #(
    202 	 /*)
    203 	   for as_base in sh bash ksh sh5; do
    204 	     # Try only shells that exist, to save several forks.
    205 	     as_shell=$as_dir/$as_base
    206 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    207 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    208   CONFIG_SHELL=$as_shell as_have_required=yes
    209 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    210   break 2
    211 fi
    212 fi
    213 	   done;;
    214        esac
    215   as_found=false
    216 done
    217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    218 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    219   CONFIG_SHELL=$SHELL as_have_required=yes
    220 fi; }
    221 IFS=$as_save_IFS
    222 
    223 
    224       if test "x$CONFIG_SHELL" != x; then :
    225   # We cannot yet assume a decent shell, so we have to provide a
    226 	# neutralization value for shells without unset; and this also
    227 	# works around shells that cannot unset nonexistent variables.
    228 	# Preserve -v and -x to the replacement shell.
    229 	BASH_ENV=/dev/null
    230 	ENV=/dev/null
    231 	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    232 	export CONFIG_SHELL
    233 	case $- in # ((((
    234 	  *v*x* | *x*v* ) as_opts=-vx ;;
    235 	  *v* ) as_opts=-v ;;
    236 	  *x* ) as_opts=-x ;;
    237 	  * ) as_opts= ;;
    238 	esac
    239 	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
    240 fi
    241 
    242     if test x$as_have_required = xno; then :
    243   $as_echo "$0: This script requires a shell more modern than all"
    244   $as_echo "$0: the shells that I found on your system."
    245   if test x${ZSH_VERSION+set} = xset ; then
    246     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    247     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    248   else
    249     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    250 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    251 $0: about your system, including any error possibly output
    252 $0: before this message. Then install a modern shell, or
    253 $0: manually run the script under such a shell if you do
    254 $0: have one."
    255   fi
    256   exit 1
    257 fi
    258 fi
    259 fi
    260 SHELL=${CONFIG_SHELL-/bin/sh}
    261 export SHELL
    262 # Unset more variables known to interfere with behavior of common tools.
    263 CLICOLOR_FORCE= GREP_OPTIONS=
    264 unset CLICOLOR_FORCE GREP_OPTIONS
    265 
    266 ## --------------------- ##
    267 ## M4sh Shell Functions. ##
    268 ## --------------------- ##
    269 # as_fn_unset VAR
    270 # ---------------
    271 # Portably unset VAR.
    272 as_fn_unset ()
    273 {
    274   { eval $1=; unset $1;}
    275 }
    276 as_unset=as_fn_unset
    277 
    278 # as_fn_set_status STATUS
    279 # -----------------------
    280 # Set $? to STATUS, without forking.
    281 as_fn_set_status ()
    282 {
    283   return $1
    284 } # as_fn_set_status
    285 
    286 # as_fn_exit STATUS
    287 # -----------------
    288 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    289 as_fn_exit ()
    290 {
    291   set +e
    292   as_fn_set_status $1
    293   exit $1
    294 } # as_fn_exit
    295 
    296 # as_fn_mkdir_p
    297 # -------------
    298 # Create "$as_dir" as a directory, including parents if necessary.
    299 as_fn_mkdir_p ()
    300 {
    301 
    302   case $as_dir in #(
    303   -*) as_dir=./$as_dir;;
    304   esac
    305   test -d "$as_dir" || eval $as_mkdir_p || {
    306     as_dirs=
    307     while :; do
    308       case $as_dir in #(
    309       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    310       *) as_qdir=$as_dir;;
    311       esac
    312       as_dirs="'$as_qdir' $as_dirs"
    313       as_dir=`$as_dirname -- "$as_dir" ||
    314 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    315 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    316 	 X"$as_dir" : 'X\(//\)$' \| \
    317 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    318 $as_echo X"$as_dir" |
    319     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    320 	    s//\1/
    321 	    q
    322 	  }
    323 	  /^X\(\/\/\)[^/].*/{
    324 	    s//\1/
    325 	    q
    326 	  }
    327 	  /^X\(\/\/\)$/{
    328 	    s//\1/
    329 	    q
    330 	  }
    331 	  /^X\(\/\).*/{
    332 	    s//\1/
    333 	    q
    334 	  }
    335 	  s/.*/./; q'`
    336       test -d "$as_dir" && break
    337     done
    338     test -z "$as_dirs" || eval "mkdir $as_dirs"
    339   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    340 
    341 
    342 } # as_fn_mkdir_p
    343 # as_fn_append VAR VALUE
    344 # ----------------------
    345 # Append the text in VALUE to the end of the definition contained in VAR. Take
    346 # advantage of any shell optimizations that allow amortized linear growth over
    347 # repeated appends, instead of the typical quadratic growth present in naive
    348 # implementations.
    349 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    350   eval 'as_fn_append ()
    351   {
    352     eval $1+=\$2
    353   }'
    354 else
    355   as_fn_append ()
    356   {
    357     eval $1=\$$1\$2
    358   }
    359 fi # as_fn_append
    360 
    361 # as_fn_arith ARG...
    362 # ------------------
    363 # Perform arithmetic evaluation on the ARGs, and store the result in the
    364 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    365 # must be portable across $(()) and expr.
    366 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    367   eval 'as_fn_arith ()
    368   {
    369     as_val=$(( $* ))
    370   }'
    371 else
    372   as_fn_arith ()
    373   {
    374     as_val=`expr "$@" || test $? -eq 1`
    375   }
    376 fi # as_fn_arith
    377 
    378 
    379 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    380 # ----------------------------------------
    381 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    382 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    383 # script with STATUS, using 1 if that was 0.
    384 as_fn_error ()
    385 {
    386   as_status=$1; test $as_status -eq 0 && as_status=1
    387   if test "$4"; then
    388     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    389     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    390   fi
    391   $as_echo "$as_me: error: $2" >&2
    392   as_fn_exit $as_status
    393 } # as_fn_error
    394 
    395 if expr a : '\(a\)' >/dev/null 2>&1 &&
    396    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    397   as_expr=expr
    398 else
    399   as_expr=false
    400 fi
    401 
    402 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    403   as_basename=basename
    404 else
    405   as_basename=false
    406 fi
    407 
    408 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    409   as_dirname=dirname
    410 else
    411   as_dirname=false
    412 fi
    413 
    414 as_me=`$as_basename -- "$0" ||
    415 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    416 	 X"$0" : 'X\(//\)$' \| \
    417 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    418 $as_echo X/"$0" |
    419     sed '/^.*\/\([^/][^/]*\)\/*$/{
    420 	    s//\1/
    421 	    q
    422 	  }
    423 	  /^X\/\(\/\/\)$/{
    424 	    s//\1/
    425 	    q
    426 	  }
    427 	  /^X\/\(\/\).*/{
    428 	    s//\1/
    429 	    q
    430 	  }
    431 	  s/.*/./; q'`
    432 
    433 # Avoid depending upon Character Ranges.
    434 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    435 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    436 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    437 as_cr_digits='0123456789'
    438 as_cr_alnum=$as_cr_Letters$as_cr_digits
    439 
    440 
    441   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    442   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    443   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    444   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    445   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    446   sed -n '
    447     p
    448     /[$]LINENO/=
    449   ' <$as_myself |
    450     sed '
    451       s/[$]LINENO.*/&-/
    452       t lineno
    453       b
    454       :lineno
    455       N
    456       :loop
    457       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    458       t loop
    459       s/-\n.*//
    460     ' >$as_me.lineno &&
    461   chmod +x "$as_me.lineno" ||
    462     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    463 
    464   # Don't try to exec as it changes $[0], causing all sort of problems
    465   # (the dirname of $[0] is not the place where we might find the
    466   # original and so on.  Autoconf is especially sensitive to this).
    467   . "./$as_me.lineno"
    468   # Exit status is that of the last command.
    469   exit
    470 }
    471 
    472 ECHO_C= ECHO_N= ECHO_T=
    473 case `echo -n x` in #(((((
    474 -n*)
    475   case `echo 'xy\c'` in
    476   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    477   xy)  ECHO_C='\c';;
    478   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    479        ECHO_T='	';;
    480   esac;;
    481 *)
    482   ECHO_N='-n';;
    483 esac
    484 
    485 rm -f conf$$ conf$$.exe conf$$.file
    486 if test -d conf$$.dir; then
    487   rm -f conf$$.dir/conf$$.file
    488 else
    489   rm -f conf$$.dir
    490   mkdir conf$$.dir 2>/dev/null
    491 fi
    492 if (echo >conf$$.file) 2>/dev/null; then
    493   if ln -s conf$$.file conf$$ 2>/dev/null; then
    494     as_ln_s='ln -s'
    495     # ... but there are two gotchas:
    496     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    497     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    498     # In both cases, we have to default to `cp -p'.
    499     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    500       as_ln_s='cp -p'
    501   elif ln conf$$.file conf$$ 2>/dev/null; then
    502     as_ln_s=ln
    503   else
    504     as_ln_s='cp -p'
    505   fi
    506 else
    507   as_ln_s='cp -p'
    508 fi
    509 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    510 rmdir conf$$.dir 2>/dev/null
    511 
    512 if mkdir -p . 2>/dev/null; then
    513   as_mkdir_p='mkdir -p "$as_dir"'
    514 else
    515   test -d ./-p && rmdir ./-p
    516   as_mkdir_p=false
    517 fi
    518 
    519 if test -x / >/dev/null 2>&1; then
    520   as_test_x='test -x'
    521 else
    522   if ls -dL / >/dev/null 2>&1; then
    523     as_ls_L_option=L
    524   else
    525     as_ls_L_option=
    526   fi
    527   as_test_x='
    528     eval sh -c '\''
    529       if test -d "$1"; then
    530 	test -d "$1/.";
    531       else
    532 	case $1 in #(
    533 	-*)set "./$1";;
    534 	esac;
    535 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    536 	???[sx]*):;;*)false;;esac;fi
    537     '\'' sh
    538   '
    539 fi
    540 as_executable_p=$as_test_x
    541 
    542 # Sed expression to map a string onto a valid CPP name.
    543 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    544 
    545 # Sed expression to map a string onto a valid variable name.
    546 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    547 
    548 SHELL=${CONFIG_SHELL-/bin/sh}
    549 
    550 
    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='libXScrnSaver'
    573 PACKAGE_TARNAME='libXScrnSaver'
    574 PACKAGE_VERSION='1.2.2'
    575 PACKAGE_STRING='libXScrnSaver 1.2.2'
    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 XSCRNSAVER_LIBS
    628 XSCRNSAVER_CFLAGS
    629 XTMALLOC_ZERO_CFLAGS
    630 XMALLOC_ZERO_CFLAGS
    631 MALLOC_ZERO_CFLAGS
    632 AM_BACKSLASH
    633 AM_DEFAULT_VERBOSITY
    634 MAN_SUBSTS
    635 XORG_MAN_PAGE
    636 ADMIN_MAN_DIR
    637 DRIVER_MAN_DIR
    638 MISC_MAN_DIR
    639 FILE_MAN_DIR
    640 LIB_MAN_DIR
    641 APP_MAN_DIR
    642 ADMIN_MAN_SUFFIX
    643 DRIVER_MAN_SUFFIX
    644 MISC_MAN_SUFFIX
    645 FILE_MAN_SUFFIX
    646 LIB_MAN_SUFFIX
    647 APP_MAN_SUFFIX
    648 INSTALL_CMD
    649 PKG_CONFIG
    650 CHANGELOG_CMD
    651 STRICT_CFLAGS
    652 CWARNFLAGS
    653 BASE_CFLAGS
    654 CPP
    655 OTOOL64
    656 OTOOL
    657 LIPO
    658 NMEDIT
    659 DSYMUTIL
    660 MANIFEST_TOOL
    661 RANLIB
    662 ac_ct_AR
    663 AR
    664 DLLTOOL
    665 OBJDUMP
    666 LN_S
    667 NM
    668 ac_ct_DUMPBIN
    669 DUMPBIN
    670 LD
    671 FGREP
    672 EGREP
    673 GREP
    674 SED
    675 am__fastdepCC_FALSE
    676 am__fastdepCC_TRUE
    677 CCDEPMODE
    678 AMDEPBACKSLASH
    679 AMDEP_FALSE
    680 AMDEP_TRUE
    681 am__quote
    682 am__include
    683 DEPDIR
    684 OBJEXT
    685 EXEEXT
    686 ac_ct_CC
    687 CPPFLAGS
    688 LDFLAGS
    689 CFLAGS
    690 CC
    691 host_os
    692 host_vendor
    693 host_cpu
    694 host
    695 build_os
    696 build_vendor
    697 build_cpu
    698 build
    699 LIBTOOL
    700 MAINT
    701 MAINTAINER_MODE_FALSE
    702 MAINTAINER_MODE_TRUE
    703 am__untar
    704 am__tar
    705 AMTAR
    706 am__leading_dot
    707 SET_MAKE
    708 AWK
    709 mkdir_p
    710 MKDIR_P
    711 INSTALL_STRIP_PROGRAM
    712 STRIP
    713 install_sh
    714 MAKEINFO
    715 AUTOHEADER
    716 AUTOMAKE
    717 AUTOCONF
    718 ACLOCAL
    719 VERSION
    720 PACKAGE
    721 CYGPATH_W
    722 am__isrc
    723 INSTALL_DATA
    724 INSTALL_SCRIPT
    725 INSTALL_PROGRAM
    726 target_alias
    727 host_alias
    728 build_alias
    729 LIBS
    730 ECHO_T
    731 ECHO_N
    732 ECHO_C
    733 DEFS
    734 mandir
    735 localedir
    736 libdir
    737 psdir
    738 pdfdir
    739 dvidir
    740 htmldir
    741 infodir
    742 docdir
    743 oldincludedir
    744 includedir
    745 localstatedir
    746 sharedstatedir
    747 sysconfdir
    748 datadir
    749 datarootdir
    750 libexecdir
    751 sbindir
    752 bindir
    753 program_transform_name
    754 prefix
    755 exec_prefix
    756 PACKAGE_URL
    757 PACKAGE_BUGREPORT
    758 PACKAGE_STRING
    759 PACKAGE_VERSION
    760 PACKAGE_TARNAME
    761 PACKAGE_NAME
    762 PATH_SEPARATOR
    763 SHELL'
    764 ac_subst_files=''
    765 ac_user_opts='
    766 enable_option_checking
    767 enable_maintainer_mode
    768 enable_shared
    769 enable_static
    770 with_pic
    771 enable_fast_install
    772 enable_dependency_tracking
    773 with_gnu_ld
    774 with_sysroot
    775 enable_libtool_lock
    776 enable_selective_werror
    777 enable_strict_compilation
    778 enable_silent_rules
    779 enable_malloc0returnsnull
    780 with_lint
    781 enable_lint_library
    782 '
    783       ac_precious_vars='build_alias
    784 host_alias
    785 target_alias
    786 CC
    787 CFLAGS
    788 LDFLAGS
    789 LIBS
    790 CPPFLAGS
    791 CPP
    792 PKG_CONFIG
    793 XSCRNSAVER_CFLAGS
    794 XSCRNSAVER_LIBS
    795 LINT
    796 LINT_FLAGS'
    797 
    798 
    799 # Initialize some variables set by options.
    800 ac_init_help=
    801 ac_init_version=false
    802 ac_unrecognized_opts=
    803 ac_unrecognized_sep=
    804 # The variables have the same names as the options, with
    805 # dashes changed to underlines.
    806 cache_file=/dev/null
    807 exec_prefix=NONE
    808 no_create=
    809 no_recursion=
    810 prefix=NONE
    811 program_prefix=NONE
    812 program_suffix=NONE
    813 program_transform_name=s,x,x,
    814 silent=
    815 site=
    816 srcdir=
    817 verbose=
    818 x_includes=NONE
    819 x_libraries=NONE
    820 
    821 # Installation directory options.
    822 # These are left unexpanded so users can "make install exec_prefix=/foo"
    823 # and all the variables that are supposed to be based on exec_prefix
    824 # by default will actually change.
    825 # Use braces instead of parens because sh, perl, etc. also accept them.
    826 # (The list follows the same order as the GNU Coding Standards.)
    827 bindir='${exec_prefix}/bin'
    828 sbindir='${exec_prefix}/sbin'
    829 libexecdir='${exec_prefix}/libexec'
    830 datarootdir='${prefix}/share'
    831 datadir='${datarootdir}'
    832 sysconfdir='${prefix}/etc'
    833 sharedstatedir='${prefix}/com'
    834 localstatedir='${prefix}/var'
    835 includedir='${prefix}/include'
    836 oldincludedir='/usr/include'
    837 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    838 infodir='${datarootdir}/info'
    839 htmldir='${docdir}'
    840 dvidir='${docdir}'
    841 pdfdir='${docdir}'
    842 psdir='${docdir}'
    843 libdir='${exec_prefix}/lib'
    844 localedir='${datarootdir}/locale'
    845 mandir='${datarootdir}/man'
    846 
    847 ac_prev=
    848 ac_dashdash=
    849 for ac_option
    850 do
    851   # If the previous option needs an argument, assign it.
    852   if test -n "$ac_prev"; then
    853     eval $ac_prev=\$ac_option
    854     ac_prev=
    855     continue
    856   fi
    857 
    858   case $ac_option in
    859   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    860   *=)   ac_optarg= ;;
    861   *)    ac_optarg=yes ;;
    862   esac
    863 
    864   # Accept the important Cygnus configure options, so we can diagnose typos.
    865 
    866   case $ac_dashdash$ac_option in
    867   --)
    868     ac_dashdash=yes ;;
    869 
    870   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    871     ac_prev=bindir ;;
    872   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    873     bindir=$ac_optarg ;;
    874 
    875   -build | --build | --buil | --bui | --bu)
    876     ac_prev=build_alias ;;
    877   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    878     build_alias=$ac_optarg ;;
    879 
    880   -cache-file | --cache-file | --cache-fil | --cache-fi \
    881   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    882     ac_prev=cache_file ;;
    883   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    884   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    885     cache_file=$ac_optarg ;;
    886 
    887   --config-cache | -C)
    888     cache_file=config.cache ;;
    889 
    890   -datadir | --datadir | --datadi | --datad)
    891     ac_prev=datadir ;;
    892   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    893     datadir=$ac_optarg ;;
    894 
    895   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    896   | --dataroo | --dataro | --datar)
    897     ac_prev=datarootdir ;;
    898   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    899   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    900     datarootdir=$ac_optarg ;;
    901 
    902   -disable-* | --disable-*)
    903     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    904     # Reject names that are not valid shell variable names.
    905     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    906       as_fn_error $? "invalid feature name: $ac_useropt"
    907     ac_useropt_orig=$ac_useropt
    908     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    909     case $ac_user_opts in
    910       *"
    911 "enable_$ac_useropt"
    912 "*) ;;
    913       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    914 	 ac_unrecognized_sep=', ';;
    915     esac
    916     eval enable_$ac_useropt=no ;;
    917 
    918   -docdir | --docdir | --docdi | --doc | --do)
    919     ac_prev=docdir ;;
    920   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    921     docdir=$ac_optarg ;;
    922 
    923   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    924     ac_prev=dvidir ;;
    925   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    926     dvidir=$ac_optarg ;;
    927 
    928   -enable-* | --enable-*)
    929     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    930     # Reject names that are not valid shell variable names.
    931     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    932       as_fn_error $? "invalid feature name: $ac_useropt"
    933     ac_useropt_orig=$ac_useropt
    934     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    935     case $ac_user_opts in
    936       *"
    937 "enable_$ac_useropt"
    938 "*) ;;
    939       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    940 	 ac_unrecognized_sep=', ';;
    941     esac
    942     eval enable_$ac_useropt=\$ac_optarg ;;
    943 
    944   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    945   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    946   | --exec | --exe | --ex)
    947     ac_prev=exec_prefix ;;
    948   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    949   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    950   | --exec=* | --exe=* | --ex=*)
    951     exec_prefix=$ac_optarg ;;
    952 
    953   -gas | --gas | --ga | --g)
    954     # Obsolete; use --with-gas.
    955     with_gas=yes ;;
    956 
    957   -help | --help | --hel | --he | -h)
    958     ac_init_help=long ;;
    959   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    960     ac_init_help=recursive ;;
    961   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    962     ac_init_help=short ;;
    963 
    964   -host | --host | --hos | --ho)
    965     ac_prev=host_alias ;;
    966   -host=* | --host=* | --hos=* | --ho=*)
    967     host_alias=$ac_optarg ;;
    968 
    969   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    970     ac_prev=htmldir ;;
    971   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    972   | --ht=*)
    973     htmldir=$ac_optarg ;;
    974 
    975   -includedir | --includedir | --includedi | --included | --include \
    976   | --includ | --inclu | --incl | --inc)
    977     ac_prev=includedir ;;
    978   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    979   | --includ=* | --inclu=* | --incl=* | --inc=*)
    980     includedir=$ac_optarg ;;
    981 
    982   -infodir | --infodir | --infodi | --infod | --info | --inf)
    983     ac_prev=infodir ;;
    984   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    985     infodir=$ac_optarg ;;
    986 
    987   -libdir | --libdir | --libdi | --libd)
    988     ac_prev=libdir ;;
    989   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    990     libdir=$ac_optarg ;;
    991 
    992   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    993   | --libexe | --libex | --libe)
    994     ac_prev=libexecdir ;;
    995   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    996   | --libexe=* | --libex=* | --libe=*)
    997     libexecdir=$ac_optarg ;;
    998 
    999   -localedir | --localedir | --localedi | --localed | --locale)
   1000     ac_prev=localedir ;;
   1001   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1002     localedir=$ac_optarg ;;
   1003 
   1004   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1005   | --localstate | --localstat | --localsta | --localst | --locals)
   1006     ac_prev=localstatedir ;;
   1007   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1008   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1009     localstatedir=$ac_optarg ;;
   1010 
   1011   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1012     ac_prev=mandir ;;
   1013   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1014     mandir=$ac_optarg ;;
   1015 
   1016   -nfp | --nfp | --nf)
   1017     # Obsolete; use --without-fp.
   1018     with_fp=no ;;
   1019 
   1020   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1021   | --no-cr | --no-c | -n)
   1022     no_create=yes ;;
   1023 
   1024   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1025   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1026     no_recursion=yes ;;
   1027 
   1028   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1029   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1030   | --oldin | --oldi | --old | --ol | --o)
   1031     ac_prev=oldincludedir ;;
   1032   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1033   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1034   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1035     oldincludedir=$ac_optarg ;;
   1036 
   1037   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1038     ac_prev=prefix ;;
   1039   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1040     prefix=$ac_optarg ;;
   1041 
   1042   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1043   | --program-pre | --program-pr | --program-p)
   1044     ac_prev=program_prefix ;;
   1045   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1046   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1047     program_prefix=$ac_optarg ;;
   1048 
   1049   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1050   | --program-suf | --program-su | --program-s)
   1051     ac_prev=program_suffix ;;
   1052   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1053   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1054     program_suffix=$ac_optarg ;;
   1055 
   1056   -program-transform-name | --program-transform-name \
   1057   | --program-transform-nam | --program-transform-na \
   1058   | --program-transform-n | --program-transform- \
   1059   | --program-transform | --program-transfor \
   1060   | --program-transfo | --program-transf \
   1061   | --program-trans | --program-tran \
   1062   | --progr-tra | --program-tr | --program-t)
   1063     ac_prev=program_transform_name ;;
   1064   -program-transform-name=* | --program-transform-name=* \
   1065   | --program-transform-nam=* | --program-transform-na=* \
   1066   | --program-transform-n=* | --program-transform-=* \
   1067   | --program-transform=* | --program-transfor=* \
   1068   | --program-transfo=* | --program-transf=* \
   1069   | --program-trans=* | --program-tran=* \
   1070   | --progr-tra=* | --program-tr=* | --program-t=*)
   1071     program_transform_name=$ac_optarg ;;
   1072 
   1073   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1074     ac_prev=pdfdir ;;
   1075   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1076     pdfdir=$ac_optarg ;;
   1077 
   1078   -psdir | --psdir | --psdi | --psd | --ps)
   1079     ac_prev=psdir ;;
   1080   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1081     psdir=$ac_optarg ;;
   1082 
   1083   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1084   | -silent | --silent | --silen | --sile | --sil)
   1085     silent=yes ;;
   1086 
   1087   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1088     ac_prev=sbindir ;;
   1089   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1090   | --sbi=* | --sb=*)
   1091     sbindir=$ac_optarg ;;
   1092 
   1093   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1094   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1095   | --sharedst | --shareds | --shared | --share | --shar \
   1096   | --sha | --sh)
   1097     ac_prev=sharedstatedir ;;
   1098   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1099   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1100   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1101   | --sha=* | --sh=*)
   1102     sharedstatedir=$ac_optarg ;;
   1103 
   1104   -site | --site | --sit)
   1105     ac_prev=site ;;
   1106   -site=* | --site=* | --sit=*)
   1107     site=$ac_optarg ;;
   1108 
   1109   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1110     ac_prev=srcdir ;;
   1111   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1112     srcdir=$ac_optarg ;;
   1113 
   1114   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1115   | --syscon | --sysco | --sysc | --sys | --sy)
   1116     ac_prev=sysconfdir ;;
   1117   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1118   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1119     sysconfdir=$ac_optarg ;;
   1120 
   1121   -target | --target | --targe | --targ | --tar | --ta | --t)
   1122     ac_prev=target_alias ;;
   1123   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1124     target_alias=$ac_optarg ;;
   1125 
   1126   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1127     verbose=yes ;;
   1128 
   1129   -version | --version | --versio | --versi | --vers | -V)
   1130     ac_init_version=: ;;
   1131 
   1132   -with-* | --with-*)
   1133     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1134     # Reject names that are not valid shell variable names.
   1135     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1136       as_fn_error $? "invalid package name: $ac_useropt"
   1137     ac_useropt_orig=$ac_useropt
   1138     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1139     case $ac_user_opts in
   1140       *"
   1141 "with_$ac_useropt"
   1142 "*) ;;
   1143       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1144 	 ac_unrecognized_sep=', ';;
   1145     esac
   1146     eval with_$ac_useropt=\$ac_optarg ;;
   1147 
   1148   -without-* | --without-*)
   1149     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1150     # Reject names that are not valid shell variable names.
   1151     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1152       as_fn_error $? "invalid package name: $ac_useropt"
   1153     ac_useropt_orig=$ac_useropt
   1154     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1155     case $ac_user_opts in
   1156       *"
   1157 "with_$ac_useropt"
   1158 "*) ;;
   1159       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1160 	 ac_unrecognized_sep=', ';;
   1161     esac
   1162     eval with_$ac_useropt=no ;;
   1163 
   1164   --x)
   1165     # Obsolete; use --with-x.
   1166     with_x=yes ;;
   1167 
   1168   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1169   | --x-incl | --x-inc | --x-in | --x-i)
   1170     ac_prev=x_includes ;;
   1171   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1172   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1173     x_includes=$ac_optarg ;;
   1174 
   1175   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1176   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1177     ac_prev=x_libraries ;;
   1178   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1179   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1180     x_libraries=$ac_optarg ;;
   1181 
   1182   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1183 Try \`$0 --help' for more information"
   1184     ;;
   1185 
   1186   *=*)
   1187     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1188     # Reject names that are not valid shell variable names.
   1189     case $ac_envvar in #(
   1190       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1191       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1192     esac
   1193     eval $ac_envvar=\$ac_optarg
   1194     export $ac_envvar ;;
   1195 
   1196   *)
   1197     # FIXME: should be removed in autoconf 3.0.
   1198     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1199     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1200       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1201     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1202     ;;
   1203 
   1204   esac
   1205 done
   1206 
   1207 if test -n "$ac_prev"; then
   1208   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1209   as_fn_error $? "missing argument to $ac_option"
   1210 fi
   1211 
   1212 if test -n "$ac_unrecognized_opts"; then
   1213   case $enable_option_checking in
   1214     no) ;;
   1215     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1216     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1217   esac
   1218 fi
   1219 
   1220 # Check all directory arguments for consistency.
   1221 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1222 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1223 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1224 		libdir localedir mandir
   1225 do
   1226   eval ac_val=\$$ac_var
   1227   # Remove trailing slashes.
   1228   case $ac_val in
   1229     */ )
   1230       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1231       eval $ac_var=\$ac_val;;
   1232   esac
   1233   # Be sure to have absolute directory names.
   1234   case $ac_val in
   1235     [\\/$]* | ?:[\\/]* )  continue;;
   1236     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1237   esac
   1238   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1239 done
   1240 
   1241 # There might be people who depend on the old broken behavior: `$host'
   1242 # used to hold the argument of --host etc.
   1243 # FIXME: To remove some day.
   1244 build=$build_alias
   1245 host=$host_alias
   1246 target=$target_alias
   1247 
   1248 # FIXME: To remove some day.
   1249 if test "x$host_alias" != x; then
   1250   if test "x$build_alias" = x; then
   1251     cross_compiling=maybe
   1252     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1253     If a cross compiler is detected then cross compile mode will be used" >&2
   1254   elif test "x$build_alias" != "x$host_alias"; then
   1255     cross_compiling=yes
   1256   fi
   1257 fi
   1258 
   1259 ac_tool_prefix=
   1260 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1261 
   1262 test "$silent" = yes && exec 6>/dev/null
   1263 
   1264 
   1265 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1266 ac_ls_di=`ls -di .` &&
   1267 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1268   as_fn_error $? "working directory cannot be determined"
   1269 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1270   as_fn_error $? "pwd does not report name of working directory"
   1271 
   1272 
   1273 # Find the source files, if location was not specified.
   1274 if test -z "$srcdir"; then
   1275   ac_srcdir_defaulted=yes
   1276   # Try the directory containing this script, then the parent directory.
   1277   ac_confdir=`$as_dirname -- "$as_myself" ||
   1278 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1279 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1280 	 X"$as_myself" : 'X\(//\)$' \| \
   1281 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1282 $as_echo X"$as_myself" |
   1283     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1284 	    s//\1/
   1285 	    q
   1286 	  }
   1287 	  /^X\(\/\/\)[^/].*/{
   1288 	    s//\1/
   1289 	    q
   1290 	  }
   1291 	  /^X\(\/\/\)$/{
   1292 	    s//\1/
   1293 	    q
   1294 	  }
   1295 	  /^X\(\/\).*/{
   1296 	    s//\1/
   1297 	    q
   1298 	  }
   1299 	  s/.*/./; q'`
   1300   srcdir=$ac_confdir
   1301   if test ! -r "$srcdir/$ac_unique_file"; then
   1302     srcdir=..
   1303   fi
   1304 else
   1305   ac_srcdir_defaulted=no
   1306 fi
   1307 if test ! -r "$srcdir/$ac_unique_file"; then
   1308   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1309   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1310 fi
   1311 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1312 ac_abs_confdir=`(
   1313 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1314 	pwd)`
   1315 # When building in place, set srcdir=.
   1316 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1317   srcdir=.
   1318 fi
   1319 # Remove unnecessary trailing slashes from srcdir.
   1320 # Double slashes in file names in object file debugging info
   1321 # mess up M-x gdb in Emacs.
   1322 case $srcdir in
   1323 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1324 esac
   1325 for ac_var in $ac_precious_vars; do
   1326   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1327   eval ac_env_${ac_var}_value=\$${ac_var}
   1328   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1329   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1330 done
   1331 
   1332 #
   1333 # Report the --help message.
   1334 #
   1335 if test "$ac_init_help" = "long"; then
   1336   # Omit some internal or obsolete options to make the list less imposing.
   1337   # This message is too long to be a string in the A/UX 3.1 sh.
   1338   cat <<_ACEOF
   1339 \`configure' configures libXScrnSaver 1.2.2 to adapt to many kinds of systems.
   1340 
   1341 Usage: $0 [OPTION]... [VAR=VALUE]...
   1342 
   1343 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1344 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1345 
   1346 Defaults for the options are specified in brackets.
   1347 
   1348 Configuration:
   1349   -h, --help              display this help and exit
   1350       --help=short        display options specific to this package
   1351       --help=recursive    display the short help of all the included packages
   1352   -V, --version           display version information and exit
   1353   -q, --quiet, --silent   do not print \`checking ...' messages
   1354       --cache-file=FILE   cache test results in FILE [disabled]
   1355   -C, --config-cache      alias for \`--cache-file=config.cache'
   1356   -n, --no-create         do not create output files
   1357       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1358 
   1359 Installation directories:
   1360   --prefix=PREFIX         install architecture-independent files in PREFIX
   1361                           [$ac_default_prefix]
   1362   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1363                           [PREFIX]
   1364 
   1365 By default, \`make install' will install all the files in
   1366 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1367 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1368 for instance \`--prefix=\$HOME'.
   1369 
   1370 For better control, use the options below.
   1371 
   1372 Fine tuning of the installation directories:
   1373   --bindir=DIR            user executables [EPREFIX/bin]
   1374   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1375   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1376   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1377   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1378   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1379   --libdir=DIR            object code libraries [EPREFIX/lib]
   1380   --includedir=DIR        C header files [PREFIX/include]
   1381   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1382   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1383   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1384   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1385   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1386   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1387   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXScrnSaver]
   1388   --htmldir=DIR           html documentation [DOCDIR]
   1389   --dvidir=DIR            dvi documentation [DOCDIR]
   1390   --pdfdir=DIR            pdf documentation [DOCDIR]
   1391   --psdir=DIR             ps documentation [DOCDIR]
   1392 _ACEOF
   1393 
   1394   cat <<\_ACEOF
   1395 
   1396 Program names:
   1397   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1398   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1399   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1400 
   1401 System types:
   1402   --build=BUILD     configure for building on BUILD [guessed]
   1403   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1404 _ACEOF
   1405 fi
   1406 
   1407 if test -n "$ac_init_help"; then
   1408   case $ac_init_help in
   1409      short | recursive ) echo "Configuration of libXScrnSaver 1.2.2:";;
   1410    esac
   1411   cat <<\_ACEOF
   1412 
   1413 Optional Features:
   1414   --disable-option-checking  ignore unrecognized --enable/--with options
   1415   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1416   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1417   --enable-maintainer-mode  enable make rules and dependencies not useful
   1418 			  (and sometimes confusing) to the casual installer
   1419   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1420   --enable-static[=PKGS]  build static libraries [default=yes]
   1421   --enable-fast-install[=PKGS]
   1422                           optimize for fast installation [default=yes]
   1423   --disable-dependency-tracking  speeds up one-time build
   1424   --enable-dependency-tracking   do not reject slow dependency extractors
   1425   --disable-libtool-lock  avoid locking (might break parallel builds)
   1426   --disable-selective-werror
   1427                           Turn off selective compiler errors. (default:
   1428                           enabled)
   1429   --enable-strict-compilation
   1430                           Enable all warnings from compiler and make them
   1431                           errors (default: disabled)
   1432   --enable-silent-rules          less verbose build output (undo: `make V=1')
   1433   --disable-silent-rules         verbose build output (undo: `make V=0')
   1434   --enable-malloc0returnsnull
   1435                           malloc(0) returns NULL (default: auto)
   1436   --enable-lint-library   Create lint library (default: disabled)
   1437 
   1438 Optional Packages:
   1439   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1440   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1441   --with-pic              try to use only PIC/non-PIC objects [default=use
   1442                           both]
   1443   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1444   --with-sysroot=DIR Search for dependent libraries within DIR
   1445                         (or the compiler's sysroot if not specified).
   1446   --with-lint             Use a lint-style source code checker (default:
   1447                           disabled)
   1448 
   1449 Some influential environment variables:
   1450   CC          C compiler command
   1451   CFLAGS      C compiler flags
   1452   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1453               nonstandard directory <lib dir>
   1454   LIBS        libraries to pass to the linker, e.g. -l<library>
   1455   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1456               you have headers in a nonstandard directory <include dir>
   1457   CPP         C preprocessor
   1458   PKG_CONFIG  path to pkg-config utility
   1459   XSCRNSAVER_CFLAGS
   1460               C compiler flags for XSCRNSAVER, overriding pkg-config
   1461   XSCRNSAVER_LIBS
   1462               linker flags for XSCRNSAVER, overriding pkg-config
   1463   LINT        Path to a lint-style command
   1464   LINT_FLAGS  Flags for the lint-style command
   1465 
   1466 Use these variables to override the choices made by `configure' or to help
   1467 it to find libraries and programs with nonstandard names/locations.
   1468 
   1469 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1470 _ACEOF
   1471 ac_status=$?
   1472 fi
   1473 
   1474 if test "$ac_init_help" = "recursive"; then
   1475   # If there are subdirs, report their specific --help.
   1476   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1477     test -d "$ac_dir" ||
   1478       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1479       continue
   1480     ac_builddir=.
   1481 
   1482 case "$ac_dir" in
   1483 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1484 *)
   1485   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1486   # A ".." for each directory in $ac_dir_suffix.
   1487   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1488   case $ac_top_builddir_sub in
   1489   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1490   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1491   esac ;;
   1492 esac
   1493 ac_abs_top_builddir=$ac_pwd
   1494 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1495 # for backward compatibility:
   1496 ac_top_builddir=$ac_top_build_prefix
   1497 
   1498 case $srcdir in
   1499   .)  # We are building in place.
   1500     ac_srcdir=.
   1501     ac_top_srcdir=$ac_top_builddir_sub
   1502     ac_abs_top_srcdir=$ac_pwd ;;
   1503   [\\/]* | ?:[\\/]* )  # Absolute name.
   1504     ac_srcdir=$srcdir$ac_dir_suffix;
   1505     ac_top_srcdir=$srcdir
   1506     ac_abs_top_srcdir=$srcdir ;;
   1507   *) # Relative name.
   1508     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1509     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1510     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1511 esac
   1512 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1513 
   1514     cd "$ac_dir" || { ac_status=$?; continue; }
   1515     # Check for guested configure.
   1516     if test -f "$ac_srcdir/configure.gnu"; then
   1517       echo &&
   1518       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1519     elif test -f "$ac_srcdir/configure"; then
   1520       echo &&
   1521       $SHELL "$ac_srcdir/configure" --help=recursive
   1522     else
   1523       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1524     fi || ac_status=$?
   1525     cd "$ac_pwd" || { ac_status=$?; break; }
   1526   done
   1527 fi
   1528 
   1529 test -n "$ac_init_help" && exit $ac_status
   1530 if $ac_init_version; then
   1531   cat <<\_ACEOF
   1532 libXScrnSaver configure 1.2.2
   1533 generated by GNU Autoconf 2.68
   1534 
   1535 Copyright (C) 2010 Free Software Foundation, Inc.
   1536 This configure script is free software; the Free Software Foundation
   1537 gives unlimited permission to copy, distribute and modify it.
   1538 _ACEOF
   1539   exit
   1540 fi
   1541 
   1542 ## ------------------------ ##
   1543 ## Autoconf initialization. ##
   1544 ## ------------------------ ##
   1545 
   1546 # ac_fn_c_try_compile LINENO
   1547 # --------------------------
   1548 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1549 ac_fn_c_try_compile ()
   1550 {
   1551   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1552   rm -f conftest.$ac_objext
   1553   if { { ac_try="$ac_compile"
   1554 case "(($ac_try" in
   1555   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1556   *) ac_try_echo=$ac_try;;
   1557 esac
   1558 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1559 $as_echo "$ac_try_echo"; } >&5
   1560   (eval "$ac_compile") 2>conftest.err
   1561   ac_status=$?
   1562   if test -s conftest.err; then
   1563     grep -v '^ *+' conftest.err >conftest.er1
   1564     cat conftest.er1 >&5
   1565     mv -f conftest.er1 conftest.err
   1566   fi
   1567   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1568   test $ac_status = 0; } && {
   1569 	 test -z "$ac_c_werror_flag" ||
   1570 	 test ! -s conftest.err
   1571        } && test -s conftest.$ac_objext; then :
   1572   ac_retval=0
   1573 else
   1574   $as_echo "$as_me: failed program was:" >&5
   1575 sed 's/^/| /' conftest.$ac_ext >&5
   1576 
   1577 	ac_retval=1
   1578 fi
   1579   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1580   as_fn_set_status $ac_retval
   1581 
   1582 } # ac_fn_c_try_compile
   1583 
   1584 # ac_fn_c_try_link LINENO
   1585 # -----------------------
   1586 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1587 ac_fn_c_try_link ()
   1588 {
   1589   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1590   rm -f conftest.$ac_objext conftest$ac_exeext
   1591   if { { ac_try="$ac_link"
   1592 case "(($ac_try" in
   1593   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1594   *) ac_try_echo=$ac_try;;
   1595 esac
   1596 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1597 $as_echo "$ac_try_echo"; } >&5
   1598   (eval "$ac_link") 2>conftest.err
   1599   ac_status=$?
   1600   if test -s conftest.err; then
   1601     grep -v '^ *+' conftest.err >conftest.er1
   1602     cat conftest.er1 >&5
   1603     mv -f conftest.er1 conftest.err
   1604   fi
   1605   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1606   test $ac_status = 0; } && {
   1607 	 test -z "$ac_c_werror_flag" ||
   1608 	 test ! -s conftest.err
   1609        } && test -s conftest$ac_exeext && {
   1610 	 test "$cross_compiling" = yes ||
   1611 	 $as_test_x conftest$ac_exeext
   1612        }; then :
   1613   ac_retval=0
   1614 else
   1615   $as_echo "$as_me: failed program was:" >&5
   1616 sed 's/^/| /' conftest.$ac_ext >&5
   1617 
   1618 	ac_retval=1
   1619 fi
   1620   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1621   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1622   # interfere with the next link command; also delete a directory that is
   1623   # left behind by Apple's compiler.  We do this before executing the actions.
   1624   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1625   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1626   as_fn_set_status $ac_retval
   1627 
   1628 } # ac_fn_c_try_link
   1629 
   1630 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1631 # -------------------------------------------------------
   1632 # Tests whether HEADER exists and can be compiled using the include files in
   1633 # INCLUDES, setting the cache variable VAR accordingly.
   1634 ac_fn_c_check_header_compile ()
   1635 {
   1636   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1637   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1638 $as_echo_n "checking for $2... " >&6; }
   1639 if eval \${$3+:} false; then :
   1640   $as_echo_n "(cached) " >&6
   1641 else
   1642   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1643 /* end confdefs.h.  */
   1644 $4
   1645 #include <$2>
   1646 _ACEOF
   1647 if ac_fn_c_try_compile "$LINENO"; then :
   1648   eval "$3=yes"
   1649 else
   1650   eval "$3=no"
   1651 fi
   1652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1653 fi
   1654 eval ac_res=\$$3
   1655 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1656 $as_echo "$ac_res" >&6; }
   1657   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1658 
   1659 } # ac_fn_c_check_header_compile
   1660 
   1661 # ac_fn_c_try_cpp LINENO
   1662 # ----------------------
   1663 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1664 ac_fn_c_try_cpp ()
   1665 {
   1666   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1667   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1668 case "(($ac_try" in
   1669   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1670   *) ac_try_echo=$ac_try;;
   1671 esac
   1672 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1673 $as_echo "$ac_try_echo"; } >&5
   1674   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1675   ac_status=$?
   1676   if test -s conftest.err; then
   1677     grep -v '^ *+' conftest.err >conftest.er1
   1678     cat conftest.er1 >&5
   1679     mv -f conftest.er1 conftest.err
   1680   fi
   1681   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1682   test $ac_status = 0; } > conftest.i && {
   1683 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1684 	 test ! -s conftest.err
   1685        }; then :
   1686   ac_retval=0
   1687 else
   1688   $as_echo "$as_me: failed program was:" >&5
   1689 sed 's/^/| /' conftest.$ac_ext >&5
   1690 
   1691     ac_retval=1
   1692 fi
   1693   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1694   as_fn_set_status $ac_retval
   1695 
   1696 } # ac_fn_c_try_cpp
   1697 
   1698 # ac_fn_c_try_run LINENO
   1699 # ----------------------
   1700 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1701 # that executables *can* be run.
   1702 ac_fn_c_try_run ()
   1703 {
   1704   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1705   if { { ac_try="$ac_link"
   1706 case "(($ac_try" in
   1707   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1708   *) ac_try_echo=$ac_try;;
   1709 esac
   1710 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1711 $as_echo "$ac_try_echo"; } >&5
   1712   (eval "$ac_link") 2>&5
   1713   ac_status=$?
   1714   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1715   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1716   { { case "(($ac_try" in
   1717   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1718   *) ac_try_echo=$ac_try;;
   1719 esac
   1720 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1721 $as_echo "$ac_try_echo"; } >&5
   1722   (eval "$ac_try") 2>&5
   1723   ac_status=$?
   1724   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1725   test $ac_status = 0; }; }; then :
   1726   ac_retval=0
   1727 else
   1728   $as_echo "$as_me: program exited with status $ac_status" >&5
   1729        $as_echo "$as_me: failed program was:" >&5
   1730 sed 's/^/| /' conftest.$ac_ext >&5
   1731 
   1732        ac_retval=$ac_status
   1733 fi
   1734   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1735   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1736   as_fn_set_status $ac_retval
   1737 
   1738 } # ac_fn_c_try_run
   1739 
   1740 # ac_fn_c_check_func LINENO FUNC VAR
   1741 # ----------------------------------
   1742 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1743 ac_fn_c_check_func ()
   1744 {
   1745   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1746   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1747 $as_echo_n "checking for $2... " >&6; }
   1748 if eval \${$3+:} false; then :
   1749   $as_echo_n "(cached) " >&6
   1750 else
   1751   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1752 /* end confdefs.h.  */
   1753 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1754    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1755 #define $2 innocuous_$2
   1756 
   1757 /* System header to define __stub macros and hopefully few prototypes,
   1758     which can conflict with char $2 (); below.
   1759     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1760     <limits.h> exists even on freestanding compilers.  */
   1761 
   1762 #ifdef __STDC__
   1763 # include <limits.h>
   1764 #else
   1765 # include <assert.h>
   1766 #endif
   1767 
   1768 #undef $2
   1769 
   1770 /* Override any GCC internal prototype to avoid an error.
   1771    Use char because int might match the return type of a GCC
   1772    builtin and then its argument prototype would still apply.  */
   1773 #ifdef __cplusplus
   1774 extern "C"
   1775 #endif
   1776 char $2 ();
   1777 /* The GNU C library defines this for functions which it implements
   1778     to always fail with ENOSYS.  Some functions are actually named
   1779     something starting with __ and the normal name is an alias.  */
   1780 #if defined __stub_$2 || defined __stub___$2
   1781 choke me
   1782 #endif
   1783 
   1784 int
   1785 main ()
   1786 {
   1787 return $2 ();
   1788   ;
   1789   return 0;
   1790 }
   1791 _ACEOF
   1792 if ac_fn_c_try_link "$LINENO"; then :
   1793   eval "$3=yes"
   1794 else
   1795   eval "$3=no"
   1796 fi
   1797 rm -f core conftest.err conftest.$ac_objext \
   1798     conftest$ac_exeext conftest.$ac_ext
   1799 fi
   1800 eval ac_res=\$$3
   1801 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1802 $as_echo "$ac_res" >&6; }
   1803   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1804 
   1805 } # ac_fn_c_check_func
   1806 
   1807 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1808 # ---------------------------------------------
   1809 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1810 # accordingly.
   1811 ac_fn_c_check_decl ()
   1812 {
   1813   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1814   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1815   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1816   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1817 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1818 if eval \${$3+:} false; then :
   1819   $as_echo_n "(cached) " >&6
   1820 else
   1821   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1822 /* end confdefs.h.  */
   1823 $4
   1824 int
   1825 main ()
   1826 {
   1827 #ifndef $as_decl_name
   1828 #ifdef __cplusplus
   1829   (void) $as_decl_use;
   1830 #else
   1831   (void) $as_decl_name;
   1832 #endif
   1833 #endif
   1834 
   1835   ;
   1836   return 0;
   1837 }
   1838 _ACEOF
   1839 if ac_fn_c_try_compile "$LINENO"; then :
   1840   eval "$3=yes"
   1841 else
   1842   eval "$3=no"
   1843 fi
   1844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1845 fi
   1846 eval ac_res=\$$3
   1847 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1848 $as_echo "$ac_res" >&6; }
   1849   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1850 
   1851 } # ac_fn_c_check_decl
   1852 cat >config.log <<_ACEOF
   1853 This file contains any messages produced by compilers while
   1854 running configure, to aid debugging if configure makes a mistake.
   1855 
   1856 It was created by libXScrnSaver $as_me 1.2.2, which was
   1857 generated by GNU Autoconf 2.68.  Invocation command line was
   1858 
   1859   $ $0 $@
   1860 
   1861 _ACEOF
   1862 exec 5>>config.log
   1863 {
   1864 cat <<_ASUNAME
   1865 ## --------- ##
   1866 ## Platform. ##
   1867 ## --------- ##
   1868 
   1869 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1870 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1871 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1872 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1873 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1874 
   1875 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1876 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1877 
   1878 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1879 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1880 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1881 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1882 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1883 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1884 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1885 
   1886 _ASUNAME
   1887 
   1888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1889 for as_dir in $PATH
   1890 do
   1891   IFS=$as_save_IFS
   1892   test -z "$as_dir" && as_dir=.
   1893     $as_echo "PATH: $as_dir"
   1894   done
   1895 IFS=$as_save_IFS
   1896 
   1897 } >&5
   1898 
   1899 cat >&5 <<_ACEOF
   1900 
   1901 
   1902 ## ----------- ##
   1903 ## Core tests. ##
   1904 ## ----------- ##
   1905 
   1906 _ACEOF
   1907 
   1908 
   1909 # Keep a trace of the command line.
   1910 # Strip out --no-create and --no-recursion so they do not pile up.
   1911 # Strip out --silent because we don't want to record it for future runs.
   1912 # Also quote any args containing shell meta-characters.
   1913 # Make two passes to allow for proper duplicate-argument suppression.
   1914 ac_configure_args=
   1915 ac_configure_args0=
   1916 ac_configure_args1=
   1917 ac_must_keep_next=false
   1918 for ac_pass in 1 2
   1919 do
   1920   for ac_arg
   1921   do
   1922     case $ac_arg in
   1923     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1924     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1925     | -silent | --silent | --silen | --sile | --sil)
   1926       continue ;;
   1927     *\'*)
   1928       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1929     esac
   1930     case $ac_pass in
   1931     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1932     2)
   1933       as_fn_append ac_configure_args1 " '$ac_arg'"
   1934       if test $ac_must_keep_next = true; then
   1935 	ac_must_keep_next=false # Got value, back to normal.
   1936       else
   1937 	case $ac_arg in
   1938 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1939 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1940 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1941 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1942 	    case "$ac_configure_args0 " in
   1943 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1944 	    esac
   1945 	    ;;
   1946 	  -* ) ac_must_keep_next=true ;;
   1947 	esac
   1948       fi
   1949       as_fn_append ac_configure_args " '$ac_arg'"
   1950       ;;
   1951     esac
   1952   done
   1953 done
   1954 { ac_configure_args0=; unset ac_configure_args0;}
   1955 { ac_configure_args1=; unset ac_configure_args1;}
   1956 
   1957 # When interrupted or exit'd, cleanup temporary files, and complete
   1958 # config.log.  We remove comments because anyway the quotes in there
   1959 # would cause problems or look ugly.
   1960 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1961 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1962 trap 'exit_status=$?
   1963   # Save into config.log some information that might help in debugging.
   1964   {
   1965     echo
   1966 
   1967     $as_echo "## ---------------- ##
   1968 ## Cache variables. ##
   1969 ## ---------------- ##"
   1970     echo
   1971     # The following way of writing the cache mishandles newlines in values,
   1972 (
   1973   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1974     eval ac_val=\$$ac_var
   1975     case $ac_val in #(
   1976     *${as_nl}*)
   1977       case $ac_var in #(
   1978       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1979 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1980       esac
   1981       case $ac_var in #(
   1982       _ | IFS | as_nl) ;; #(
   1983       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1984       *) { eval $ac_var=; unset $ac_var;} ;;
   1985       esac ;;
   1986     esac
   1987   done
   1988   (set) 2>&1 |
   1989     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1990     *${as_nl}ac_space=\ *)
   1991       sed -n \
   1992 	"s/'\''/'\''\\\\'\'''\''/g;
   1993 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1994       ;; #(
   1995     *)
   1996       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1997       ;;
   1998     esac |
   1999     sort
   2000 )
   2001     echo
   2002 
   2003     $as_echo "## ----------------- ##
   2004 ## Output variables. ##
   2005 ## ----------------- ##"
   2006     echo
   2007     for ac_var in $ac_subst_vars
   2008     do
   2009       eval ac_val=\$$ac_var
   2010       case $ac_val in
   2011       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2012       esac
   2013       $as_echo "$ac_var='\''$ac_val'\''"
   2014     done | sort
   2015     echo
   2016 
   2017     if test -n "$ac_subst_files"; then
   2018       $as_echo "## ------------------- ##
   2019 ## File substitutions. ##
   2020 ## ------------------- ##"
   2021       echo
   2022       for ac_var in $ac_subst_files
   2023       do
   2024 	eval ac_val=\$$ac_var
   2025 	case $ac_val in
   2026 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2027 	esac
   2028 	$as_echo "$ac_var='\''$ac_val'\''"
   2029       done | sort
   2030       echo
   2031     fi
   2032 
   2033     if test -s confdefs.h; then
   2034       $as_echo "## ----------- ##
   2035 ## confdefs.h. ##
   2036 ## ----------- ##"
   2037       echo
   2038       cat confdefs.h
   2039       echo
   2040     fi
   2041     test "$ac_signal" != 0 &&
   2042       $as_echo "$as_me: caught signal $ac_signal"
   2043     $as_echo "$as_me: exit $exit_status"
   2044   } >&5
   2045   rm -f core *.core core.conftest.* &&
   2046     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2047     exit $exit_status
   2048 ' 0
   2049 for ac_signal in 1 2 13 15; do
   2050   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2051 done
   2052 ac_signal=0
   2053 
   2054 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2055 rm -f -r conftest* confdefs.h
   2056 
   2057 $as_echo "/* confdefs.h */" > confdefs.h
   2058 
   2059 # Predefined preprocessor variables.
   2060 
   2061 cat >>confdefs.h <<_ACEOF
   2062 #define PACKAGE_NAME "$PACKAGE_NAME"
   2063 _ACEOF
   2064 
   2065 cat >>confdefs.h <<_ACEOF
   2066 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2067 _ACEOF
   2068 
   2069 cat >>confdefs.h <<_ACEOF
   2070 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2071 _ACEOF
   2072 
   2073 cat >>confdefs.h <<_ACEOF
   2074 #define PACKAGE_STRING "$PACKAGE_STRING"
   2075 _ACEOF
   2076 
   2077 cat >>confdefs.h <<_ACEOF
   2078 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2079 _ACEOF
   2080 
   2081 cat >>confdefs.h <<_ACEOF
   2082 #define PACKAGE_URL "$PACKAGE_URL"
   2083 _ACEOF
   2084 
   2085 
   2086 # Let the site file select an alternate cache file if it wants to.
   2087 # Prefer an explicitly selected file to automatically selected ones.
   2088 ac_site_file1=NONE
   2089 ac_site_file2=NONE
   2090 if test -n "$CONFIG_SITE"; then
   2091   # We do not want a PATH search for config.site.
   2092   case $CONFIG_SITE in #((
   2093     -*)  ac_site_file1=./$CONFIG_SITE;;
   2094     */*) ac_site_file1=$CONFIG_SITE;;
   2095     *)   ac_site_file1=./$CONFIG_SITE;;
   2096   esac
   2097 elif test "x$prefix" != xNONE; then
   2098   ac_site_file1=$prefix/share/config.site
   2099   ac_site_file2=$prefix/etc/config.site
   2100 else
   2101   ac_site_file1=$ac_default_prefix/share/config.site
   2102   ac_site_file2=$ac_default_prefix/etc/config.site
   2103 fi
   2104 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2105 do
   2106   test "x$ac_site_file" = xNONE && continue
   2107   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2108     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2109 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2110     sed 's/^/| /' "$ac_site_file" >&5
   2111     . "$ac_site_file" \
   2112       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2113 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2114 as_fn_error $? "failed to load site script $ac_site_file
   2115 See \`config.log' for more details" "$LINENO" 5; }
   2116   fi
   2117 done
   2118 
   2119 if test -r "$cache_file"; then
   2120   # Some versions of bash will fail to source /dev/null (special files
   2121   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2122   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2123     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2124 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2125     case $cache_file in
   2126       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2127       *)                      . "./$cache_file";;
   2128     esac
   2129   fi
   2130 else
   2131   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2132 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2133   >$cache_file
   2134 fi
   2135 
   2136 # Check that the precious variables saved in the cache have kept the same
   2137 # value.
   2138 ac_cache_corrupted=false
   2139 for ac_var in $ac_precious_vars; do
   2140   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2141   eval ac_new_set=\$ac_env_${ac_var}_set
   2142   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2143   eval ac_new_val=\$ac_env_${ac_var}_value
   2144   case $ac_old_set,$ac_new_set in
   2145     set,)
   2146       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2147 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2148       ac_cache_corrupted=: ;;
   2149     ,set)
   2150       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2151 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2152       ac_cache_corrupted=: ;;
   2153     ,);;
   2154     *)
   2155       if test "x$ac_old_val" != "x$ac_new_val"; then
   2156 	# differences in whitespace do not lead to failure.
   2157 	ac_old_val_w=`echo x $ac_old_val`
   2158 	ac_new_val_w=`echo x $ac_new_val`
   2159 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2160 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2161 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2162 	  ac_cache_corrupted=:
   2163 	else
   2164 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2165 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2166 	  eval $ac_var=\$ac_old_val
   2167 	fi
   2168 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2169 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2170 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2171 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2172       fi;;
   2173   esac
   2174   # Pass precious variables to config.status.
   2175   if test "$ac_new_set" = set; then
   2176     case $ac_new_val in
   2177     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2178     *) ac_arg=$ac_var=$ac_new_val ;;
   2179     esac
   2180     case " $ac_configure_args " in
   2181       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2182       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2183     esac
   2184   fi
   2185 done
   2186 if $ac_cache_corrupted; then
   2187   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2188 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2189   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2190 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2191   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2192 fi
   2193 ## -------------------- ##
   2194 ## Main body of script. ##
   2195 ## -------------------- ##
   2196 
   2197 ac_ext=c
   2198 ac_cpp='$CPP $CPPFLAGS'
   2199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2202 
   2203 
   2204 
   2205 ac_config_headers="$ac_config_headers config.h"
   2206 
   2207 
   2208 # Initialize Automake
   2209 am__api_version='1.11'
   2210 
   2211 ac_aux_dir=
   2212 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2213   if test -f "$ac_dir/install-sh"; then
   2214     ac_aux_dir=$ac_dir
   2215     ac_install_sh="$ac_aux_dir/install-sh -c"
   2216     break
   2217   elif test -f "$ac_dir/install.sh"; then
   2218     ac_aux_dir=$ac_dir
   2219     ac_install_sh="$ac_aux_dir/install.sh -c"
   2220     break
   2221   elif test -f "$ac_dir/shtool"; then
   2222     ac_aux_dir=$ac_dir
   2223     ac_install_sh="$ac_aux_dir/shtool install -c"
   2224     break
   2225   fi
   2226 done
   2227 if test -z "$ac_aux_dir"; then
   2228   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2229 fi
   2230 
   2231 # These three variables are undocumented and unsupported,
   2232 # and are intended to be withdrawn in a future Autoconf release.
   2233 # They can cause serious problems if a builder's source tree is in a directory
   2234 # whose full name contains unusual characters.
   2235 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2236 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2237 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2238 
   2239 
   2240 # Find a good install program.  We prefer a C program (faster),
   2241 # so one script is as good as another.  But avoid the broken or
   2242 # incompatible versions:
   2243 # SysV /etc/install, /usr/sbin/install
   2244 # SunOS /usr/etc/install
   2245 # IRIX /sbin/install
   2246 # AIX /bin/install
   2247 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2248 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2249 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2250 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2251 # OS/2's system install, which has a completely different semantic
   2252 # ./install, which can be erroneously created by make from ./install.sh.
   2253 # Reject install programs that cannot install multiple files.
   2254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2255 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2256 if test -z "$INSTALL"; then
   2257 if ${ac_cv_path_install+:} false; then :
   2258   $as_echo_n "(cached) " >&6
   2259 else
   2260   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2261 for as_dir in $PATH
   2262 do
   2263   IFS=$as_save_IFS
   2264   test -z "$as_dir" && as_dir=.
   2265     # Account for people who put trailing slashes in PATH elements.
   2266 case $as_dir/ in #((
   2267   ./ | .// | /[cC]/* | \
   2268   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2269   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2270   /usr/ucb/* ) ;;
   2271   *)
   2272     # OSF1 and SCO ODT 3.0 have their own names for install.
   2273     # Don't use installbsd from OSF since it installs stuff as root
   2274     # by default.
   2275     for ac_prog in ginstall scoinst install; do
   2276       for ac_exec_ext in '' $ac_executable_extensions; do
   2277 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2278 	  if test $ac_prog = install &&
   2279 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2280 	    # AIX install.  It has an incompatible calling convention.
   2281 	    :
   2282 	  elif test $ac_prog = install &&
   2283 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2284 	    # program-specific install script used by HP pwplus--don't use.
   2285 	    :
   2286 	  else
   2287 	    rm -rf conftest.one conftest.two conftest.dir
   2288 	    echo one > conftest.one
   2289 	    echo two > conftest.two
   2290 	    mkdir conftest.dir
   2291 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2292 	      test -s conftest.one && test -s conftest.two &&
   2293 	      test -s conftest.dir/conftest.one &&
   2294 	      test -s conftest.dir/conftest.two
   2295 	    then
   2296 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2297 	      break 3
   2298 	    fi
   2299 	  fi
   2300 	fi
   2301       done
   2302     done
   2303     ;;
   2304 esac
   2305 
   2306   done
   2307 IFS=$as_save_IFS
   2308 
   2309 rm -rf conftest.one conftest.two conftest.dir
   2310 
   2311 fi
   2312   if test "${ac_cv_path_install+set}" = set; then
   2313     INSTALL=$ac_cv_path_install
   2314   else
   2315     # As a last resort, use the slow shell script.  Don't cache a
   2316     # value for INSTALL within a source directory, because that will
   2317     # break other packages using the cache if that directory is
   2318     # removed, or if the value is a relative name.
   2319     INSTALL=$ac_install_sh
   2320   fi
   2321 fi
   2322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2323 $as_echo "$INSTALL" >&6; }
   2324 
   2325 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2326 # It thinks the first close brace ends the variable substitution.
   2327 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2328 
   2329 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2330 
   2331 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2332 
   2333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2334 $as_echo_n "checking whether build environment is sane... " >&6; }
   2335 # Just in case
   2336 sleep 1
   2337 echo timestamp > conftest.file
   2338 # Reject unsafe characters in $srcdir or the absolute working directory
   2339 # name.  Accept space and tab only in the latter.
   2340 am_lf='
   2341 '
   2342 case `pwd` in
   2343   *[\\\"\#\$\&\'\`$am_lf]*)
   2344     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2345 esac
   2346 case $srcdir in
   2347   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2348     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
   2349 esac
   2350 
   2351 # Do `set' in a subshell so we don't clobber the current shell's
   2352 # arguments.  Must try -L first in case configure is actually a
   2353 # symlink; some systems play weird games with the mod time of symlinks
   2354 # (eg FreeBSD returns the mod time of the symlink's containing
   2355 # directory).
   2356 if (
   2357    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2358    if test "$*" = "X"; then
   2359       # -L didn't work.
   2360       set X `ls -t "$srcdir/configure" conftest.file`
   2361    fi
   2362    rm -f conftest.file
   2363    if test "$*" != "X $srcdir/configure conftest.file" \
   2364       && test "$*" != "X conftest.file $srcdir/configure"; then
   2365 
   2366       # If neither matched, then we have a broken ls.  This can happen
   2367       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2368       # broken ls alias from the environment.  This has actually
   2369       # happened.  Such a system could not be considered "sane".
   2370       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2371 alias in your environment" "$LINENO" 5
   2372    fi
   2373 
   2374    test "$2" = conftest.file
   2375    )
   2376 then
   2377    # Ok.
   2378    :
   2379 else
   2380    as_fn_error $? "newly created file is older than distributed files!
   2381 Check your system clock" "$LINENO" 5
   2382 fi
   2383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2384 $as_echo "yes" >&6; }
   2385 test "$program_prefix" != NONE &&
   2386   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2387 # Use a double $ so make ignores it.
   2388 test "$program_suffix" != NONE &&
   2389   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2390 # Double any \ or $.
   2391 # By default was `s,x,x', remove it if useless.
   2392 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2393 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2394 
   2395 # expand $ac_aux_dir to an absolute path
   2396 am_aux_dir=`cd $ac_aux_dir && pwd`
   2397 
   2398 if test x"${MISSING+set}" != xset; then
   2399   case $am_aux_dir in
   2400   *\ * | *\	*)
   2401     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2402   *)
   2403     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2404   esac
   2405 fi
   2406 # Use eval to expand $SHELL
   2407 if eval "$MISSING --run true"; then
   2408   am_missing_run="$MISSING --run "
   2409 else
   2410   am_missing_run=
   2411   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
   2412 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2413 fi
   2414 
   2415 if test x"${install_sh}" != xset; then
   2416   case $am_aux_dir in
   2417   *\ * | *\	*)
   2418     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2419   *)
   2420     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2421   esac
   2422 fi
   2423 
   2424 # Installed binaries are usually stripped using `strip' when the user
   2425 # run `make install-strip'.  However `strip' might not be the right
   2426 # tool to use in cross-compilation environments, therefore Automake
   2427 # will honor the `STRIP' environment variable to overrule this program.
   2428 if test "$cross_compiling" != no; then
   2429   if test -n "$ac_tool_prefix"; then
   2430   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2431 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2433 $as_echo_n "checking for $ac_word... " >&6; }
   2434 if ${ac_cv_prog_STRIP+:} false; then :
   2435   $as_echo_n "(cached) " >&6
   2436 else
   2437   if test -n "$STRIP"; then
   2438   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2439 else
   2440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2441 for as_dir in $PATH
   2442 do
   2443   IFS=$as_save_IFS
   2444   test -z "$as_dir" && as_dir=.
   2445     for ac_exec_ext in '' $ac_executable_extensions; do
   2446   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2447     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2448     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2449     break 2
   2450   fi
   2451 done
   2452   done
   2453 IFS=$as_save_IFS
   2454 
   2455 fi
   2456 fi
   2457 STRIP=$ac_cv_prog_STRIP
   2458 if test -n "$STRIP"; then
   2459   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2460 $as_echo "$STRIP" >&6; }
   2461 else
   2462   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2463 $as_echo "no" >&6; }
   2464 fi
   2465 
   2466 
   2467 fi
   2468 if test -z "$ac_cv_prog_STRIP"; then
   2469   ac_ct_STRIP=$STRIP
   2470   # Extract the first word of "strip", so it can be a program name with args.
   2471 set dummy strip; ac_word=$2
   2472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2473 $as_echo_n "checking for $ac_word... " >&6; }
   2474 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2475   $as_echo_n "(cached) " >&6
   2476 else
   2477   if test -n "$ac_ct_STRIP"; then
   2478   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2479 else
   2480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2481 for as_dir in $PATH
   2482 do
   2483   IFS=$as_save_IFS
   2484   test -z "$as_dir" && as_dir=.
   2485     for ac_exec_ext in '' $ac_executable_extensions; do
   2486   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2487     ac_cv_prog_ac_ct_STRIP="strip"
   2488     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2489     break 2
   2490   fi
   2491 done
   2492   done
   2493 IFS=$as_save_IFS
   2494 
   2495 fi
   2496 fi
   2497 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2498 if test -n "$ac_ct_STRIP"; then
   2499   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2500 $as_echo "$ac_ct_STRIP" >&6; }
   2501 else
   2502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2503 $as_echo "no" >&6; }
   2504 fi
   2505 
   2506   if test "x$ac_ct_STRIP" = x; then
   2507     STRIP=":"
   2508   else
   2509     case $cross_compiling:$ac_tool_warned in
   2510 yes:)
   2511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2512 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2513 ac_tool_warned=yes ;;
   2514 esac
   2515     STRIP=$ac_ct_STRIP
   2516   fi
   2517 else
   2518   STRIP="$ac_cv_prog_STRIP"
   2519 fi
   2520 
   2521 fi
   2522 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2523 
   2524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2525 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2526 if test -z "$MKDIR_P"; then
   2527   if ${ac_cv_path_mkdir+:} false; then :
   2528   $as_echo_n "(cached) " >&6
   2529 else
   2530   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2531 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2532 do
   2533   IFS=$as_save_IFS
   2534   test -z "$as_dir" && as_dir=.
   2535     for ac_prog in mkdir gmkdir; do
   2536 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2537 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2538 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2539 	     'mkdir (GNU coreutils) '* | \
   2540 	     'mkdir (coreutils) '* | \
   2541 	     'mkdir (fileutils) '4.1*)
   2542 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2543 	       break 3;;
   2544 	   esac
   2545 	 done
   2546        done
   2547   done
   2548 IFS=$as_save_IFS
   2549 
   2550 fi
   2551 
   2552   test -d ./--version && rmdir ./--version
   2553   if test "${ac_cv_path_mkdir+set}" = set; then
   2554     MKDIR_P="$ac_cv_path_mkdir -p"
   2555   else
   2556     # As a last resort, use the slow shell script.  Don't cache a
   2557     # value for MKDIR_P within a source directory, because that will
   2558     # break other packages using the cache if that directory is
   2559     # removed, or if the value is a relative name.
   2560     MKDIR_P="$ac_install_sh -d"
   2561   fi
   2562 fi
   2563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2564 $as_echo "$MKDIR_P" >&6; }
   2565 
   2566 mkdir_p="$MKDIR_P"
   2567 case $mkdir_p in
   2568   [\\/$]* | ?:[\\/]*) ;;
   2569   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2570 esac
   2571 
   2572 for ac_prog in gawk mawk nawk awk
   2573 do
   2574   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2575 set dummy $ac_prog; ac_word=$2
   2576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2577 $as_echo_n "checking for $ac_word... " >&6; }
   2578 if ${ac_cv_prog_AWK+:} false; then :
   2579   $as_echo_n "(cached) " >&6
   2580 else
   2581   if test -n "$AWK"; then
   2582   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2583 else
   2584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2585 for as_dir in $PATH
   2586 do
   2587   IFS=$as_save_IFS
   2588   test -z "$as_dir" && as_dir=.
   2589     for ac_exec_ext in '' $ac_executable_extensions; do
   2590   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2591     ac_cv_prog_AWK="$ac_prog"
   2592     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2593     break 2
   2594   fi
   2595 done
   2596   done
   2597 IFS=$as_save_IFS
   2598 
   2599 fi
   2600 fi
   2601 AWK=$ac_cv_prog_AWK
   2602 if test -n "$AWK"; then
   2603   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2604 $as_echo "$AWK" >&6; }
   2605 else
   2606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2607 $as_echo "no" >&6; }
   2608 fi
   2609 
   2610 
   2611   test -n "$AWK" && break
   2612 done
   2613 
   2614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2615 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2616 set x ${MAKE-make}
   2617 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2618 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2619   $as_echo_n "(cached) " >&6
   2620 else
   2621   cat >conftest.make <<\_ACEOF
   2622 SHELL = /bin/sh
   2623 all:
   2624 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2625 _ACEOF
   2626 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2627 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2628   *@@@%%%=?*=@@@%%%*)
   2629     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2630   *)
   2631     eval ac_cv_prog_make_${ac_make}_set=no;;
   2632 esac
   2633 rm -f conftest.make
   2634 fi
   2635 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2637 $as_echo "yes" >&6; }
   2638   SET_MAKE=
   2639 else
   2640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2641 $as_echo "no" >&6; }
   2642   SET_MAKE="MAKE=${MAKE-make}"
   2643 fi
   2644 
   2645 rm -rf .tst 2>/dev/null
   2646 mkdir .tst 2>/dev/null
   2647 if test -d .tst; then
   2648   am__leading_dot=.
   2649 else
   2650   am__leading_dot=_
   2651 fi
   2652 rmdir .tst 2>/dev/null
   2653 
   2654 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2655   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2656   # is not polluted with repeated "-I."
   2657   am__isrc=' -I$(srcdir)'
   2658   # test to see if srcdir already configured
   2659   if test -f $srcdir/config.status; then
   2660     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2661   fi
   2662 fi
   2663 
   2664 # test whether we have cygpath
   2665 if test -z "$CYGPATH_W"; then
   2666   if (cygpath --version) >/dev/null 2>/dev/null; then
   2667     CYGPATH_W='cygpath -w'
   2668   else
   2669     CYGPATH_W=echo
   2670   fi
   2671 fi
   2672 
   2673 
   2674 # Define the identity of the package.
   2675  PACKAGE='libXScrnSaver'
   2676  VERSION='1.2.2'
   2677 
   2678 
   2679 cat >>confdefs.h <<_ACEOF
   2680 #define PACKAGE "$PACKAGE"
   2681 _ACEOF
   2682 
   2683 
   2684 cat >>confdefs.h <<_ACEOF
   2685 #define VERSION "$VERSION"
   2686 _ACEOF
   2687 
   2688 # Some tools Automake needs.
   2689 
   2690 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2691 
   2692 
   2693 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2694 
   2695 
   2696 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2697 
   2698 
   2699 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2700 
   2701 
   2702 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2703 
   2704 # We need awk for the "check" target.  The system "awk" is bad on
   2705 # some platforms.
   2706 # Always define AMTAR for backward compatibility.
   2707 
   2708 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2709 
   2710 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2711 
   2712 
   2713 
   2714 
   2715 
   2716 
   2717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2718 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2719     # Check whether --enable-maintainer-mode was given.
   2720 if test "${enable_maintainer_mode+set}" = set; then :
   2721   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2722 else
   2723   USE_MAINTAINER_MODE=no
   2724 fi
   2725 
   2726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   2727 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2728    if test $USE_MAINTAINER_MODE = yes; then
   2729   MAINTAINER_MODE_TRUE=
   2730   MAINTAINER_MODE_FALSE='#'
   2731 else
   2732   MAINTAINER_MODE_TRUE='#'
   2733   MAINTAINER_MODE_FALSE=
   2734 fi
   2735 
   2736   MAINT=$MAINTAINER_MODE_TRUE
   2737 
   2738 
   2739 
   2740 # Initialize libtool
   2741 case `pwd` in
   2742   *\ * | *\	*)
   2743     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   2744 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   2745 esac
   2746 
   2747 
   2748 
   2749 macro_version='2.4'
   2750 macro_revision='1.3293'
   2751 
   2752 
   2753 
   2754 
   2755 
   2756 
   2757 
   2758 
   2759 
   2760 
   2761 
   2762 
   2763 
   2764 ltmain="$ac_aux_dir/ltmain.sh"
   2765 
   2766 # Make sure we can run config.sub.
   2767 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2768   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2769 
   2770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2771 $as_echo_n "checking build system type... " >&6; }
   2772 if ${ac_cv_build+:} false; then :
   2773   $as_echo_n "(cached) " >&6
   2774 else
   2775   ac_build_alias=$build_alias
   2776 test "x$ac_build_alias" = x &&
   2777   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2778 test "x$ac_build_alias" = x &&
   2779   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   2780 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2781   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2782 
   2783 fi
   2784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2785 $as_echo "$ac_cv_build" >&6; }
   2786 case $ac_cv_build in
   2787 *-*-*) ;;
   2788 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   2789 esac
   2790 build=$ac_cv_build
   2791 ac_save_IFS=$IFS; IFS='-'
   2792 set x $ac_cv_build
   2793 shift
   2794 build_cpu=$1
   2795 build_vendor=$2
   2796 shift; shift
   2797 # Remember, the first character of IFS is used to create $*,
   2798 # except with old shells:
   2799 build_os=$*
   2800 IFS=$ac_save_IFS
   2801 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2802 
   2803 
   2804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2805 $as_echo_n "checking host system type... " >&6; }
   2806 if ${ac_cv_host+:} false; then :
   2807   $as_echo_n "(cached) " >&6
   2808 else
   2809   if test "x$host_alias" = x; then
   2810   ac_cv_host=$ac_cv_build
   2811 else
   2812   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2813     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2814 fi
   2815 
   2816 fi
   2817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2818 $as_echo "$ac_cv_host" >&6; }
   2819 case $ac_cv_host in
   2820 *-*-*) ;;
   2821 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   2822 esac
   2823 host=$ac_cv_host
   2824 ac_save_IFS=$IFS; IFS='-'
   2825 set x $ac_cv_host
   2826 shift
   2827 host_cpu=$1
   2828 host_vendor=$2
   2829 shift; shift
   2830 # Remember, the first character of IFS is used to create $*,
   2831 # except with old shells:
   2832 host_os=$*
   2833 IFS=$ac_save_IFS
   2834 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2835 
   2836 
   2837 # Backslashify metacharacters that are still active within
   2838 # double-quoted strings.
   2839 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   2840 
   2841 # Same as above, but do not quote variable references.
   2842 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   2843 
   2844 # Sed substitution to delay expansion of an escaped shell variable in a
   2845 # double_quote_subst'ed string.
   2846 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   2847 
   2848 # Sed substitution to delay expansion of an escaped single quote.
   2849 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   2850 
   2851 # Sed substitution to avoid accidental globbing in evaled expressions
   2852 no_glob_subst='s/\*/\\\*/g'
   2853 
   2854 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   2855 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   2856 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   2857 
   2858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   2859 $as_echo_n "checking how to print strings... " >&6; }
   2860 # Test print first, because it will be a builtin if present.
   2861 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   2862    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   2863   ECHO='print -r --'
   2864 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   2865   ECHO='printf %s\n'
   2866 else
   2867   # Use this function as a fallback that always works.
   2868   func_fallback_echo ()
   2869   {
   2870     eval 'cat <<_LTECHO_EOF
   2871 $1
   2872 _LTECHO_EOF'
   2873   }
   2874   ECHO='func_fallback_echo'
   2875 fi
   2876 
   2877 # func_echo_all arg...
   2878 # Invoke $ECHO with all args, space-separated.
   2879 func_echo_all ()
   2880 {
   2881     $ECHO ""
   2882 }
   2883 
   2884 case "$ECHO" in
   2885   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   2886 $as_echo "printf" >&6; } ;;
   2887   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   2888 $as_echo "print -r" >&6; } ;;
   2889   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   2890 $as_echo "cat" >&6; } ;;
   2891 esac
   2892 
   2893 
   2894 
   2895 
   2896 
   2897 
   2898 
   2899 
   2900 
   2901 
   2902 
   2903 
   2904 
   2905 
   2906 DEPDIR="${am__leading_dot}deps"
   2907 
   2908 ac_config_commands="$ac_config_commands depfiles"
   2909 
   2910 
   2911 am_make=${MAKE-make}
   2912 cat > confinc << 'END'
   2913 am__doit:
   2914 	@echo this is the am__doit target
   2915 .PHONY: am__doit
   2916 END
   2917 # If we don't find an include directive, just comment out the code.
   2918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2919 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2920 am__include="#"
   2921 am__quote=
   2922 _am_result=none
   2923 # First try GNU make style include.
   2924 echo "include confinc" > confmf
   2925 # Ignore all kinds of additional output from `make'.
   2926 case `$am_make -s -f confmf 2> /dev/null` in #(
   2927 *the\ am__doit\ target*)
   2928   am__include=include
   2929   am__quote=
   2930   _am_result=GNU
   2931   ;;
   2932 esac
   2933 # Now try BSD make style include.
   2934 if test "$am__include" = "#"; then
   2935    echo '.include "confinc"' > confmf
   2936    case `$am_make -s -f confmf 2> /dev/null` in #(
   2937    *the\ am__doit\ target*)
   2938      am__include=.include
   2939      am__quote="\""
   2940      _am_result=BSD
   2941      ;;
   2942    esac
   2943 fi
   2944 
   2945 
   2946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2947 $as_echo "$_am_result" >&6; }
   2948 rm -f confinc confmf
   2949 
   2950 # Check whether --enable-dependency-tracking was given.
   2951 if test "${enable_dependency_tracking+set}" = set; then :
   2952   enableval=$enable_dependency_tracking;
   2953 fi
   2954 
   2955 if test "x$enable_dependency_tracking" != xno; then
   2956   am_depcomp="$ac_aux_dir/depcomp"
   2957   AMDEPBACKSLASH='\'
   2958 fi
   2959  if test "x$enable_dependency_tracking" != xno; then
   2960   AMDEP_TRUE=
   2961   AMDEP_FALSE='#'
   2962 else
   2963   AMDEP_TRUE='#'
   2964   AMDEP_FALSE=
   2965 fi
   2966 
   2967 
   2968 ac_ext=c
   2969 ac_cpp='$CPP $CPPFLAGS'
   2970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2973 if test -n "$ac_tool_prefix"; then
   2974   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2975 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2977 $as_echo_n "checking for $ac_word... " >&6; }
   2978 if ${ac_cv_prog_CC+:} false; then :
   2979   $as_echo_n "(cached) " >&6
   2980 else
   2981   if test -n "$CC"; then
   2982   ac_cv_prog_CC="$CC" # Let the user override the test.
   2983 else
   2984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2985 for as_dir in $PATH
   2986 do
   2987   IFS=$as_save_IFS
   2988   test -z "$as_dir" && as_dir=.
   2989     for ac_exec_ext in '' $ac_executable_extensions; do
   2990   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2991     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2992     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2993     break 2
   2994   fi
   2995 done
   2996   done
   2997 IFS=$as_save_IFS
   2998 
   2999 fi
   3000 fi
   3001 CC=$ac_cv_prog_CC
   3002 if test -n "$CC"; then
   3003   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3004 $as_echo "$CC" >&6; }
   3005 else
   3006   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3007 $as_echo "no" >&6; }
   3008 fi
   3009 
   3010 
   3011 fi
   3012 if test -z "$ac_cv_prog_CC"; then
   3013   ac_ct_CC=$CC
   3014   # Extract the first word of "gcc", so it can be a program name with args.
   3015 set dummy gcc; ac_word=$2
   3016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3017 $as_echo_n "checking for $ac_word... " >&6; }
   3018 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3019   $as_echo_n "(cached) " >&6
   3020 else
   3021   if test -n "$ac_ct_CC"; then
   3022   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3023 else
   3024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3025 for as_dir in $PATH
   3026 do
   3027   IFS=$as_save_IFS
   3028   test -z "$as_dir" && as_dir=.
   3029     for ac_exec_ext in '' $ac_executable_extensions; do
   3030   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3031     ac_cv_prog_ac_ct_CC="gcc"
   3032     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3033     break 2
   3034   fi
   3035 done
   3036   done
   3037 IFS=$as_save_IFS
   3038 
   3039 fi
   3040 fi
   3041 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3042 if test -n "$ac_ct_CC"; then
   3043   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3044 $as_echo "$ac_ct_CC" >&6; }
   3045 else
   3046   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3047 $as_echo "no" >&6; }
   3048 fi
   3049 
   3050   if test "x$ac_ct_CC" = x; then
   3051     CC=""
   3052   else
   3053     case $cross_compiling:$ac_tool_warned in
   3054 yes:)
   3055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3056 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3057 ac_tool_warned=yes ;;
   3058 esac
   3059     CC=$ac_ct_CC
   3060   fi
   3061 else
   3062   CC="$ac_cv_prog_CC"
   3063 fi
   3064 
   3065 if test -z "$CC"; then
   3066           if test -n "$ac_tool_prefix"; then
   3067     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3068 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3070 $as_echo_n "checking for $ac_word... " >&6; }
   3071 if ${ac_cv_prog_CC+:} false; then :
   3072   $as_echo_n "(cached) " >&6
   3073 else
   3074   if test -n "$CC"; then
   3075   ac_cv_prog_CC="$CC" # Let the user override the test.
   3076 else
   3077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3078 for as_dir in $PATH
   3079 do
   3080   IFS=$as_save_IFS
   3081   test -z "$as_dir" && as_dir=.
   3082     for ac_exec_ext in '' $ac_executable_extensions; do
   3083   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3084     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3085     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3086     break 2
   3087   fi
   3088 done
   3089   done
   3090 IFS=$as_save_IFS
   3091 
   3092 fi
   3093 fi
   3094 CC=$ac_cv_prog_CC
   3095 if test -n "$CC"; then
   3096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3097 $as_echo "$CC" >&6; }
   3098 else
   3099   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3100 $as_echo "no" >&6; }
   3101 fi
   3102 
   3103 
   3104   fi
   3105 fi
   3106 if test -z "$CC"; then
   3107   # Extract the first word of "cc", so it can be a program name with args.
   3108 set dummy cc; ac_word=$2
   3109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3110 $as_echo_n "checking for $ac_word... " >&6; }
   3111 if ${ac_cv_prog_CC+:} false; then :
   3112   $as_echo_n "(cached) " >&6
   3113 else
   3114   if test -n "$CC"; then
   3115   ac_cv_prog_CC="$CC" # Let the user override the test.
   3116 else
   3117   ac_prog_rejected=no
   3118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3119 for as_dir in $PATH
   3120 do
   3121   IFS=$as_save_IFS
   3122   test -z "$as_dir" && as_dir=.
   3123     for ac_exec_ext in '' $ac_executable_extensions; do
   3124   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3125     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3126        ac_prog_rejected=yes
   3127        continue
   3128      fi
   3129     ac_cv_prog_CC="cc"
   3130     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3131     break 2
   3132   fi
   3133 done
   3134   done
   3135 IFS=$as_save_IFS
   3136 
   3137 if test $ac_prog_rejected = yes; then
   3138   # We found a bogon in the path, so make sure we never use it.
   3139   set dummy $ac_cv_prog_CC
   3140   shift
   3141   if test $# != 0; then
   3142     # We chose a different compiler from the bogus one.
   3143     # However, it has the same basename, so the bogon will be chosen
   3144     # first if we set CC to just the basename; use the full file name.
   3145     shift
   3146     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3147   fi
   3148 fi
   3149 fi
   3150 fi
   3151 CC=$ac_cv_prog_CC
   3152 if test -n "$CC"; then
   3153   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3154 $as_echo "$CC" >&6; }
   3155 else
   3156   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3157 $as_echo "no" >&6; }
   3158 fi
   3159 
   3160 
   3161 fi
   3162 if test -z "$CC"; then
   3163   if test -n "$ac_tool_prefix"; then
   3164   for ac_prog in cl.exe
   3165   do
   3166     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3167 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3169 $as_echo_n "checking for $ac_word... " >&6; }
   3170 if ${ac_cv_prog_CC+:} false; then :
   3171   $as_echo_n "(cached) " >&6
   3172 else
   3173   if test -n "$CC"; then
   3174   ac_cv_prog_CC="$CC" # Let the user override the test.
   3175 else
   3176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3177 for as_dir in $PATH
   3178 do
   3179   IFS=$as_save_IFS
   3180   test -z "$as_dir" && as_dir=.
   3181     for ac_exec_ext in '' $ac_executable_extensions; do
   3182   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3183     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3184     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3185     break 2
   3186   fi
   3187 done
   3188   done
   3189 IFS=$as_save_IFS
   3190 
   3191 fi
   3192 fi
   3193 CC=$ac_cv_prog_CC
   3194 if test -n "$CC"; then
   3195   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3196 $as_echo "$CC" >&6; }
   3197 else
   3198   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3199 $as_echo "no" >&6; }
   3200 fi
   3201 
   3202 
   3203     test -n "$CC" && break
   3204   done
   3205 fi
   3206 if test -z "$CC"; then
   3207   ac_ct_CC=$CC
   3208   for ac_prog in cl.exe
   3209 do
   3210   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3211 set dummy $ac_prog; ac_word=$2
   3212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3213 $as_echo_n "checking for $ac_word... " >&6; }
   3214 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3215   $as_echo_n "(cached) " >&6
   3216 else
   3217   if test -n "$ac_ct_CC"; then
   3218   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3219 else
   3220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3221 for as_dir in $PATH
   3222 do
   3223   IFS=$as_save_IFS
   3224   test -z "$as_dir" && as_dir=.
   3225     for ac_exec_ext in '' $ac_executable_extensions; do
   3226   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3227     ac_cv_prog_ac_ct_CC="$ac_prog"
   3228     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3229     break 2
   3230   fi
   3231 done
   3232   done
   3233 IFS=$as_save_IFS
   3234 
   3235 fi
   3236 fi
   3237 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3238 if test -n "$ac_ct_CC"; then
   3239   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3240 $as_echo "$ac_ct_CC" >&6; }
   3241 else
   3242   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3243 $as_echo "no" >&6; }
   3244 fi
   3245 
   3246 
   3247   test -n "$ac_ct_CC" && break
   3248 done
   3249 
   3250   if test "x$ac_ct_CC" = x; then
   3251     CC=""
   3252   else
   3253     case $cross_compiling:$ac_tool_warned in
   3254 yes:)
   3255 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3256 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3257 ac_tool_warned=yes ;;
   3258 esac
   3259     CC=$ac_ct_CC
   3260   fi
   3261 fi
   3262 
   3263 fi
   3264 
   3265 
   3266 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3267 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3268 as_fn_error $? "no acceptable C compiler found in \$PATH
   3269 See \`config.log' for more details" "$LINENO" 5; }
   3270 
   3271 # Provide some information about the compiler.
   3272 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3273 set X $ac_compile
   3274 ac_compiler=$2
   3275 for ac_option in --version -v -V -qversion; do
   3276   { { ac_try="$ac_compiler $ac_option >&5"
   3277 case "(($ac_try" in
   3278   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3279   *) ac_try_echo=$ac_try;;
   3280 esac
   3281 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3282 $as_echo "$ac_try_echo"; } >&5
   3283   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3284   ac_status=$?
   3285   if test -s conftest.err; then
   3286     sed '10a\
   3287 ... rest of stderr output deleted ...
   3288          10q' conftest.err >conftest.er1
   3289     cat conftest.er1 >&5
   3290   fi
   3291   rm -f conftest.er1 conftest.err
   3292   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3293   test $ac_status = 0; }
   3294 done
   3295 
   3296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3297 /* end confdefs.h.  */
   3298 
   3299 int
   3300 main ()
   3301 {
   3302 
   3303   ;
   3304   return 0;
   3305 }
   3306 _ACEOF
   3307 ac_clean_files_save=$ac_clean_files
   3308 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3309 # Try to create an executable without -o first, disregard a.out.
   3310 # It will help us diagnose broken compilers, and finding out an intuition
   3311 # of exeext.
   3312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3313 $as_echo_n "checking whether the C compiler works... " >&6; }
   3314 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3315 
   3316 # The possible output files:
   3317 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3318 
   3319 ac_rmfiles=
   3320 for ac_file in $ac_files
   3321 do
   3322   case $ac_file in
   3323     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3324     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3325   esac
   3326 done
   3327 rm -f $ac_rmfiles
   3328 
   3329 if { { ac_try="$ac_link_default"
   3330 case "(($ac_try" in
   3331   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3332   *) ac_try_echo=$ac_try;;
   3333 esac
   3334 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3335 $as_echo "$ac_try_echo"; } >&5
   3336   (eval "$ac_link_default") 2>&5
   3337   ac_status=$?
   3338   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3339   test $ac_status = 0; }; then :
   3340   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3341 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3342 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3343 # so that the user can short-circuit this test for compilers unknown to
   3344 # Autoconf.
   3345 for ac_file in $ac_files ''
   3346 do
   3347   test -f "$ac_file" || continue
   3348   case $ac_file in
   3349     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3350 	;;
   3351     [ab].out )
   3352 	# We found the default executable, but exeext='' is most
   3353 	# certainly right.
   3354 	break;;
   3355     *.* )
   3356 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3357 	then :; else
   3358 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3359 	fi
   3360 	# We set ac_cv_exeext here because the later test for it is not
   3361 	# safe: cross compilers may not add the suffix if given an `-o'
   3362 	# argument, so we may need to know it at that point already.
   3363 	# Even if this section looks crufty: it has the advantage of
   3364 	# actually working.
   3365 	break;;
   3366     * )
   3367 	break;;
   3368   esac
   3369 done
   3370 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3371 
   3372 else
   3373   ac_file=''
   3374 fi
   3375 if test -z "$ac_file"; then :
   3376   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3377 $as_echo "no" >&6; }
   3378 $as_echo "$as_me: failed program was:" >&5
   3379 sed 's/^/| /' conftest.$ac_ext >&5
   3380 
   3381 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3382 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3383 as_fn_error 77 "C compiler cannot create executables
   3384 See \`config.log' for more details" "$LINENO" 5; }
   3385 else
   3386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3387 $as_echo "yes" >&6; }
   3388 fi
   3389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3390 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3392 $as_echo "$ac_file" >&6; }
   3393 ac_exeext=$ac_cv_exeext
   3394 
   3395 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3396 ac_clean_files=$ac_clean_files_save
   3397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3398 $as_echo_n "checking for suffix of executables... " >&6; }
   3399 if { { ac_try="$ac_link"
   3400 case "(($ac_try" in
   3401   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3402   *) ac_try_echo=$ac_try;;
   3403 esac
   3404 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3405 $as_echo "$ac_try_echo"; } >&5
   3406   (eval "$ac_link") 2>&5
   3407   ac_status=$?
   3408   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3409   test $ac_status = 0; }; then :
   3410   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3411 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3412 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3413 # `rm'.
   3414 for ac_file in conftest.exe conftest conftest.*; do
   3415   test -f "$ac_file" || continue
   3416   case $ac_file in
   3417     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3418     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3419 	  break;;
   3420     * ) break;;
   3421   esac
   3422 done
   3423 else
   3424   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3425 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3426 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3427 See \`config.log' for more details" "$LINENO" 5; }
   3428 fi
   3429 rm -f conftest conftest$ac_cv_exeext
   3430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3431 $as_echo "$ac_cv_exeext" >&6; }
   3432 
   3433 rm -f conftest.$ac_ext
   3434 EXEEXT=$ac_cv_exeext
   3435 ac_exeext=$EXEEXT
   3436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3437 /* end confdefs.h.  */
   3438 #include <stdio.h>
   3439 int
   3440 main ()
   3441 {
   3442 FILE *f = fopen ("conftest.out", "w");
   3443  return ferror (f) || fclose (f) != 0;
   3444 
   3445   ;
   3446   return 0;
   3447 }
   3448 _ACEOF
   3449 ac_clean_files="$ac_clean_files conftest.out"
   3450 # Check that the compiler produces executables we can run.  If not, either
   3451 # the compiler is broken, or we cross compile.
   3452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3453 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3454 if test "$cross_compiling" != yes; then
   3455   { { ac_try="$ac_link"
   3456 case "(($ac_try" in
   3457   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3458   *) ac_try_echo=$ac_try;;
   3459 esac
   3460 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3461 $as_echo "$ac_try_echo"; } >&5
   3462   (eval "$ac_link") 2>&5
   3463   ac_status=$?
   3464   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3465   test $ac_status = 0; }
   3466   if { ac_try='./conftest$ac_cv_exeext'
   3467   { { case "(($ac_try" in
   3468   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3469   *) ac_try_echo=$ac_try;;
   3470 esac
   3471 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3472 $as_echo "$ac_try_echo"; } >&5
   3473   (eval "$ac_try") 2>&5
   3474   ac_status=$?
   3475   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3476   test $ac_status = 0; }; }; then
   3477     cross_compiling=no
   3478   else
   3479     if test "$cross_compiling" = maybe; then
   3480 	cross_compiling=yes
   3481     else
   3482 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3483 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3484 as_fn_error $? "cannot run C compiled programs.
   3485 If you meant to cross compile, use \`--host'.
   3486 See \`config.log' for more details" "$LINENO" 5; }
   3487     fi
   3488   fi
   3489 fi
   3490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3491 $as_echo "$cross_compiling" >&6; }
   3492 
   3493 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3494 ac_clean_files=$ac_clean_files_save
   3495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3496 $as_echo_n "checking for suffix of object files... " >&6; }
   3497 if ${ac_cv_objext+:} false; then :
   3498   $as_echo_n "(cached) " >&6
   3499 else
   3500   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3501 /* end confdefs.h.  */
   3502 
   3503 int
   3504 main ()
   3505 {
   3506 
   3507   ;
   3508   return 0;
   3509 }
   3510 _ACEOF
   3511 rm -f conftest.o conftest.obj
   3512 if { { ac_try="$ac_compile"
   3513 case "(($ac_try" in
   3514   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3515   *) ac_try_echo=$ac_try;;
   3516 esac
   3517 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3518 $as_echo "$ac_try_echo"; } >&5
   3519   (eval "$ac_compile") 2>&5
   3520   ac_status=$?
   3521   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3522   test $ac_status = 0; }; then :
   3523   for ac_file in conftest.o conftest.obj conftest.*; do
   3524   test -f "$ac_file" || continue;
   3525   case $ac_file in
   3526     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3527     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3528        break;;
   3529   esac
   3530 done
   3531 else
   3532   $as_echo "$as_me: failed program was:" >&5
   3533 sed 's/^/| /' conftest.$ac_ext >&5
   3534 
   3535 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3536 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3537 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3538 See \`config.log' for more details" "$LINENO" 5; }
   3539 fi
   3540 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3541 fi
   3542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3543 $as_echo "$ac_cv_objext" >&6; }
   3544 OBJEXT=$ac_cv_objext
   3545 ac_objext=$OBJEXT
   3546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3547 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3548 if ${ac_cv_c_compiler_gnu+:} false; then :
   3549   $as_echo_n "(cached) " >&6
   3550 else
   3551   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3552 /* end confdefs.h.  */
   3553 
   3554 int
   3555 main ()
   3556 {
   3557 #ifndef __GNUC__
   3558        choke me
   3559 #endif
   3560 
   3561   ;
   3562   return 0;
   3563 }
   3564 _ACEOF
   3565 if ac_fn_c_try_compile "$LINENO"; then :
   3566   ac_compiler_gnu=yes
   3567 else
   3568   ac_compiler_gnu=no
   3569 fi
   3570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3571 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3572 
   3573 fi
   3574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3575 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3576 if test $ac_compiler_gnu = yes; then
   3577   GCC=yes
   3578 else
   3579   GCC=
   3580 fi
   3581 ac_test_CFLAGS=${CFLAGS+set}
   3582 ac_save_CFLAGS=$CFLAGS
   3583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3584 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3585 if ${ac_cv_prog_cc_g+:} false; then :
   3586   $as_echo_n "(cached) " >&6
   3587 else
   3588   ac_save_c_werror_flag=$ac_c_werror_flag
   3589    ac_c_werror_flag=yes
   3590    ac_cv_prog_cc_g=no
   3591    CFLAGS="-g"
   3592    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3593 /* end confdefs.h.  */
   3594 
   3595 int
   3596 main ()
   3597 {
   3598 
   3599   ;
   3600   return 0;
   3601 }
   3602 _ACEOF
   3603 if ac_fn_c_try_compile "$LINENO"; then :
   3604   ac_cv_prog_cc_g=yes
   3605 else
   3606   CFLAGS=""
   3607       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3608 /* end confdefs.h.  */
   3609 
   3610 int
   3611 main ()
   3612 {
   3613 
   3614   ;
   3615   return 0;
   3616 }
   3617 _ACEOF
   3618 if ac_fn_c_try_compile "$LINENO"; then :
   3619 
   3620 else
   3621   ac_c_werror_flag=$ac_save_c_werror_flag
   3622 	 CFLAGS="-g"
   3623 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3624 /* end confdefs.h.  */
   3625 
   3626 int
   3627 main ()
   3628 {
   3629 
   3630   ;
   3631   return 0;
   3632 }
   3633 _ACEOF
   3634 if ac_fn_c_try_compile "$LINENO"; then :
   3635   ac_cv_prog_cc_g=yes
   3636 fi
   3637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3638 fi
   3639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3640 fi
   3641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3642    ac_c_werror_flag=$ac_save_c_werror_flag
   3643 fi
   3644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3645 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3646 if test "$ac_test_CFLAGS" = set; then
   3647   CFLAGS=$ac_save_CFLAGS
   3648 elif test $ac_cv_prog_cc_g = yes; then
   3649   if test "$GCC" = yes; then
   3650     CFLAGS="-g -O2"
   3651   else
   3652     CFLAGS="-g"
   3653   fi
   3654 else
   3655   if test "$GCC" = yes; then
   3656     CFLAGS="-O2"
   3657   else
   3658     CFLAGS=
   3659   fi
   3660 fi
   3661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3662 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3663 if ${ac_cv_prog_cc_c89+:} false; then :
   3664   $as_echo_n "(cached) " >&6
   3665 else
   3666   ac_cv_prog_cc_c89=no
   3667 ac_save_CC=$CC
   3668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3669 /* end confdefs.h.  */
   3670 #include <stdarg.h>
   3671 #include <stdio.h>
   3672 #include <sys/types.h>
   3673 #include <sys/stat.h>
   3674 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3675 struct buf { int x; };
   3676 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3677 static char *e (p, i)
   3678      char **p;
   3679      int i;
   3680 {
   3681   return p[i];
   3682 }
   3683 static char *f (char * (*g) (char **, int), char **p, ...)
   3684 {
   3685   char *s;
   3686   va_list v;
   3687   va_start (v,p);
   3688   s = g (p, va_arg (v,int));
   3689   va_end (v);
   3690   return s;
   3691 }
   3692 
   3693 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3694    function prototypes and stuff, but not '\xHH' hex character constants.
   3695    These don't provoke an error unfortunately, instead are silently treated
   3696    as 'x'.  The following induces an error, until -std is added to get
   3697    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3698    array size at least.  It's necessary to write '\x00'==0 to get something
   3699    that's true only with -std.  */
   3700 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3701 
   3702 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3703    inside strings and character constants.  */
   3704 #define FOO(x) 'x'
   3705 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3706 
   3707 int test (int i, double x);
   3708 struct s1 {int (*f) (int a);};
   3709 struct s2 {int (*f) (double a);};
   3710 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3711 int argc;
   3712 char **argv;
   3713 int
   3714 main ()
   3715 {
   3716 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3717   ;
   3718   return 0;
   3719 }
   3720 _ACEOF
   3721 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3722 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3723 do
   3724   CC="$ac_save_CC $ac_arg"
   3725   if ac_fn_c_try_compile "$LINENO"; then :
   3726   ac_cv_prog_cc_c89=$ac_arg
   3727 fi
   3728 rm -f core conftest.err conftest.$ac_objext
   3729   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3730 done
   3731 rm -f conftest.$ac_ext
   3732 CC=$ac_save_CC
   3733 
   3734 fi
   3735 # AC_CACHE_VAL
   3736 case "x$ac_cv_prog_cc_c89" in
   3737   x)
   3738     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3739 $as_echo "none needed" >&6; } ;;
   3740   xno)
   3741     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3742 $as_echo "unsupported" >&6; } ;;
   3743   *)
   3744     CC="$CC $ac_cv_prog_cc_c89"
   3745     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3746 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3747 esac
   3748 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3749 
   3750 fi
   3751 
   3752 ac_ext=c
   3753 ac_cpp='$CPP $CPPFLAGS'
   3754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3757 
   3758 depcc="$CC"   am_compiler_list=
   3759 
   3760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3761 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3762 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3763   $as_echo_n "(cached) " >&6
   3764 else
   3765   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3766   # We make a subdir and do the tests there.  Otherwise we can end up
   3767   # making bogus files that we don't know about and never remove.  For
   3768   # instance it was reported that on HP-UX the gcc test will end up
   3769   # making a dummy file named `D' -- because `-MD' means `put the output
   3770   # in D'.
   3771   mkdir conftest.dir
   3772   # Copy depcomp to subdir because otherwise we won't find it if we're
   3773   # using a relative directory.
   3774   cp "$am_depcomp" conftest.dir
   3775   cd conftest.dir
   3776   # We will build objects and dependencies in a subdirectory because
   3777   # it helps to detect inapplicable dependency modes.  For instance
   3778   # both Tru64's cc and ICC support -MD to output dependencies as a
   3779   # side effect of compilation, but ICC will put the dependencies in
   3780   # the current directory while Tru64 will put them in the object
   3781   # directory.
   3782   mkdir sub
   3783 
   3784   am_cv_CC_dependencies_compiler_type=none
   3785   if test "$am_compiler_list" = ""; then
   3786      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3787   fi
   3788   am__universal=false
   3789   case " $depcc " in #(
   3790      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3791      esac
   3792 
   3793   for depmode in $am_compiler_list; do
   3794     # Setup a source with many dependencies, because some compilers
   3795     # like to wrap large dependency lists on column 80 (with \), and
   3796     # we should not choose a depcomp mode which is confused by this.
   3797     #
   3798     # We need to recreate these files for each test, as the compiler may
   3799     # overwrite some of them when testing with obscure command lines.
   3800     # This happens at least with the AIX C compiler.
   3801     : > sub/conftest.c
   3802     for i in 1 2 3 4 5 6; do
   3803       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3804       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3805       # Solaris 8's {/usr,}/bin/sh.
   3806       touch sub/conftst$i.h
   3807     done
   3808     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3809 
   3810     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3811     # mode.  It turns out that the SunPro C++ compiler does not properly
   3812     # handle `-M -o', and we need to detect this.  Also, some Intel
   3813     # versions had trouble with output in subdirs
   3814     am__obj=sub/conftest.${OBJEXT-o}
   3815     am__minus_obj="-o $am__obj"
   3816     case $depmode in
   3817     gcc)
   3818       # This depmode causes a compiler race in universal mode.
   3819       test "$am__universal" = false || continue
   3820       ;;
   3821     nosideeffect)
   3822       # after this tag, mechanisms are not by side-effect, so they'll
   3823       # only be used when explicitly requested
   3824       if test "x$enable_dependency_tracking" = xyes; then
   3825 	continue
   3826       else
   3827 	break
   3828       fi
   3829       ;;
   3830     msvisualcpp | msvcmsys)
   3831       # This compiler won't grok `-c -o', but also, the minuso test has
   3832       # not run yet.  These depmodes are late enough in the game, and
   3833       # so weak that their functioning should not be impacted.
   3834       am__obj=conftest.${OBJEXT-o}
   3835       am__minus_obj=
   3836       ;;
   3837     none) break ;;
   3838     esac
   3839     if depmode=$depmode \
   3840        source=sub/conftest.c object=$am__obj \
   3841        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3842        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3843          >/dev/null 2>conftest.err &&
   3844        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3845        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3846        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3847        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3848       # icc doesn't choke on unknown options, it will just issue warnings
   3849       # or remarks (even with -Werror).  So we grep stderr for any message
   3850       # that says an option was ignored or not supported.
   3851       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3852       #   icc: Command line warning: ignoring option '-M'; no argument required
   3853       # The diagnosis changed in icc 8.0:
   3854       #   icc: Command line remark: option '-MP' not supported
   3855       if (grep 'ignoring option' conftest.err ||
   3856           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3857         am_cv_CC_dependencies_compiler_type=$depmode
   3858         break
   3859       fi
   3860     fi
   3861   done
   3862 
   3863   cd ..
   3864   rm -rf conftest.dir
   3865 else
   3866   am_cv_CC_dependencies_compiler_type=none
   3867 fi
   3868 
   3869 fi
   3870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3871 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3872 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3873 
   3874  if
   3875   test "x$enable_dependency_tracking" != xno \
   3876   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3877   am__fastdepCC_TRUE=
   3878   am__fastdepCC_FALSE='#'
   3879 else
   3880   am__fastdepCC_TRUE='#'
   3881   am__fastdepCC_FALSE=
   3882 fi
   3883 
   3884 
   3885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   3886 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   3887 if ${ac_cv_path_SED+:} false; then :
   3888   $as_echo_n "(cached) " >&6
   3889 else
   3890             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   3891      for ac_i in 1 2 3 4 5 6 7; do
   3892        ac_script="$ac_script$as_nl$ac_script"
   3893      done
   3894      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   3895      { ac_script=; unset ac_script;}
   3896      if test -z "$SED"; then
   3897   ac_path_SED_found=false
   3898   # Loop through the user's path and test for each of PROGNAME-LIST
   3899   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3900 for as_dir in $PATH
   3901 do
   3902   IFS=$as_save_IFS
   3903   test -z "$as_dir" && as_dir=.
   3904     for ac_prog in sed gsed; do
   3905     for ac_exec_ext in '' $ac_executable_extensions; do
   3906       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   3907       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   3908 # Check for GNU ac_path_SED and select it if it is found.
   3909   # Check for GNU $ac_path_SED
   3910 case `"$ac_path_SED" --version 2>&1` in
   3911 *GNU*)
   3912   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   3913 *)
   3914   ac_count=0
   3915   $as_echo_n 0123456789 >"conftest.in"
   3916   while :
   3917   do
   3918     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3919     mv "conftest.tmp" "conftest.in"
   3920     cp "conftest.in" "conftest.nl"
   3921     $as_echo '' >> "conftest.nl"
   3922     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3923     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3924     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3925     if test $ac_count -gt ${ac_path_SED_max-0}; then
   3926       # Best one so far, save it but keep looking for a better one
   3927       ac_cv_path_SED="$ac_path_SED"
   3928       ac_path_SED_max=$ac_count
   3929     fi
   3930     # 10*(2^10) chars as input seems more than enough
   3931     test $ac_count -gt 10 && break
   3932   done
   3933   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3934 esac
   3935 
   3936       $ac_path_SED_found && break 3
   3937     done
   3938   done
   3939   done
   3940 IFS=$as_save_IFS
   3941   if test -z "$ac_cv_path_SED"; then
   3942     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   3943   fi
   3944 else
   3945   ac_cv_path_SED=$SED
   3946 fi
   3947 
   3948 fi
   3949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   3950 $as_echo "$ac_cv_path_SED" >&6; }
   3951  SED="$ac_cv_path_SED"
   3952   rm -f conftest.sed
   3953 
   3954 test -z "$SED" && SED=sed
   3955 Xsed="$SED -e 1s/^X//"
   3956 
   3957 
   3958 
   3959 
   3960 
   3961 
   3962 
   3963 
   3964 
   3965 
   3966 
   3967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   3968 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3969 if ${ac_cv_path_GREP+:} false; then :
   3970   $as_echo_n "(cached) " >&6
   3971 else
   3972   if test -z "$GREP"; then
   3973   ac_path_GREP_found=false
   3974   # Loop through the user's path and test for each of PROGNAME-LIST
   3975   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3976 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3977 do
   3978   IFS=$as_save_IFS
   3979   test -z "$as_dir" && as_dir=.
   3980     for ac_prog in grep ggrep; do
   3981     for ac_exec_ext in '' $ac_executable_extensions; do
   3982       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3983       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   3984 # Check for GNU ac_path_GREP and select it if it is found.
   3985   # Check for GNU $ac_path_GREP
   3986 case `"$ac_path_GREP" --version 2>&1` in
   3987 *GNU*)
   3988   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3989 *)
   3990   ac_count=0
   3991   $as_echo_n 0123456789 >"conftest.in"
   3992   while :
   3993   do
   3994     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3995     mv "conftest.tmp" "conftest.in"
   3996     cp "conftest.in" "conftest.nl"
   3997     $as_echo 'GREP' >> "conftest.nl"
   3998     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3999     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4000     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4001     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4002       # Best one so far, save it but keep looking for a better one
   4003       ac_cv_path_GREP="$ac_path_GREP"
   4004       ac_path_GREP_max=$ac_count
   4005     fi
   4006     # 10*(2^10) chars as input seems more than enough
   4007     test $ac_count -gt 10 && break
   4008   done
   4009   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4010 esac
   4011 
   4012       $ac_path_GREP_found && break 3
   4013     done
   4014   done
   4015   done
   4016 IFS=$as_save_IFS
   4017   if test -z "$ac_cv_path_GREP"; then
   4018     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4019   fi
   4020 else
   4021   ac_cv_path_GREP=$GREP
   4022 fi
   4023 
   4024 fi
   4025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4026 $as_echo "$ac_cv_path_GREP" >&6; }
   4027  GREP="$ac_cv_path_GREP"
   4028 
   4029 
   4030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4031 $as_echo_n "checking for egrep... " >&6; }
   4032 if ${ac_cv_path_EGREP+:} false; then :
   4033   $as_echo_n "(cached) " >&6
   4034 else
   4035   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4036    then ac_cv_path_EGREP="$GREP -E"
   4037    else
   4038      if test -z "$EGREP"; then
   4039   ac_path_EGREP_found=false
   4040   # Loop through the user's path and test for each of PROGNAME-LIST
   4041   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4042 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4043 do
   4044   IFS=$as_save_IFS
   4045   test -z "$as_dir" && as_dir=.
   4046     for ac_prog in egrep; do
   4047     for ac_exec_ext in '' $ac_executable_extensions; do
   4048       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4049       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4050 # Check for GNU ac_path_EGREP and select it if it is found.
   4051   # Check for GNU $ac_path_EGREP
   4052 case `"$ac_path_EGREP" --version 2>&1` in
   4053 *GNU*)
   4054   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4055 *)
   4056   ac_count=0
   4057   $as_echo_n 0123456789 >"conftest.in"
   4058   while :
   4059   do
   4060     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4061     mv "conftest.tmp" "conftest.in"
   4062     cp "conftest.in" "conftest.nl"
   4063     $as_echo 'EGREP' >> "conftest.nl"
   4064     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4065     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4066     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4067     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4068       # Best one so far, save it but keep looking for a better one
   4069       ac_cv_path_EGREP="$ac_path_EGREP"
   4070       ac_path_EGREP_max=$ac_count
   4071     fi
   4072     # 10*(2^10) chars as input seems more than enough
   4073     test $ac_count -gt 10 && break
   4074   done
   4075   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4076 esac
   4077 
   4078       $ac_path_EGREP_found && break 3
   4079     done
   4080   done
   4081   done
   4082 IFS=$as_save_IFS
   4083   if test -z "$ac_cv_path_EGREP"; then
   4084     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4085   fi
   4086 else
   4087   ac_cv_path_EGREP=$EGREP
   4088 fi
   4089 
   4090    fi
   4091 fi
   4092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4093 $as_echo "$ac_cv_path_EGREP" >&6; }
   4094  EGREP="$ac_cv_path_EGREP"
   4095 
   4096 
   4097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4098 $as_echo_n "checking for fgrep... " >&6; }
   4099 if ${ac_cv_path_FGREP+:} false; then :
   4100   $as_echo_n "(cached) " >&6
   4101 else
   4102   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4103    then ac_cv_path_FGREP="$GREP -F"
   4104    else
   4105      if test -z "$FGREP"; then
   4106   ac_path_FGREP_found=false
   4107   # Loop through the user's path and test for each of PROGNAME-LIST
   4108   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4109 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4110 do
   4111   IFS=$as_save_IFS
   4112   test -z "$as_dir" && as_dir=.
   4113     for ac_prog in fgrep; do
   4114     for ac_exec_ext in '' $ac_executable_extensions; do
   4115       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4116       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   4117 # Check for GNU ac_path_FGREP and select it if it is found.
   4118   # Check for GNU $ac_path_FGREP
   4119 case `"$ac_path_FGREP" --version 2>&1` in
   4120 *GNU*)
   4121   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4122 *)
   4123   ac_count=0
   4124   $as_echo_n 0123456789 >"conftest.in"
   4125   while :
   4126   do
   4127     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4128     mv "conftest.tmp" "conftest.in"
   4129     cp "conftest.in" "conftest.nl"
   4130     $as_echo 'FGREP' >> "conftest.nl"
   4131     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4132     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4133     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4134     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4135       # Best one so far, save it but keep looking for a better one
   4136       ac_cv_path_FGREP="$ac_path_FGREP"
   4137       ac_path_FGREP_max=$ac_count
   4138     fi
   4139     # 10*(2^10) chars as input seems more than enough
   4140     test $ac_count -gt 10 && break
   4141   done
   4142   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4143 esac
   4144 
   4145       $ac_path_FGREP_found && break 3
   4146     done
   4147   done
   4148   done
   4149 IFS=$as_save_IFS
   4150   if test -z "$ac_cv_path_FGREP"; then
   4151     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4152   fi
   4153 else
   4154   ac_cv_path_FGREP=$FGREP
   4155 fi
   4156 
   4157    fi
   4158 fi
   4159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4160 $as_echo "$ac_cv_path_FGREP" >&6; }
   4161  FGREP="$ac_cv_path_FGREP"
   4162 
   4163 
   4164 test -z "$GREP" && GREP=grep
   4165 
   4166 
   4167 
   4168 
   4169 
   4170 
   4171 
   4172 
   4173 
   4174 
   4175 
   4176 
   4177 
   4178 
   4179 
   4180 
   4181 
   4182 
   4183 
   4184 # Check whether --with-gnu-ld was given.
   4185 if test "${with_gnu_ld+set}" = set; then :
   4186   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4187 else
   4188   with_gnu_ld=no
   4189 fi
   4190 
   4191 ac_prog=ld
   4192 if test "$GCC" = yes; then
   4193   # Check if gcc -print-prog-name=ld gives a path.
   4194   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   4195 $as_echo_n "checking for ld used by $CC... " >&6; }
   4196   case $host in
   4197   *-*-mingw*)
   4198     # gcc leaves a trailing carriage return which upsets mingw
   4199     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4200   *)
   4201     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4202   esac
   4203   case $ac_prog in
   4204     # Accept absolute paths.
   4205     [\\/]* | ?:[\\/]*)
   4206       re_direlt='/[^/][^/]*/\.\./'
   4207       # Canonicalize the pathname of ld
   4208       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4209       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4210 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4211       done
   4212       test -z "$LD" && LD="$ac_prog"
   4213       ;;
   4214   "")
   4215     # If it fails, then pretend we aren't using GCC.
   4216     ac_prog=ld
   4217     ;;
   4218   *)
   4219     # If it is relative, then search for the first ld in PATH.
   4220     with_gnu_ld=unknown
   4221     ;;
   4222   esac
   4223 elif test "$with_gnu_ld" = yes; then
   4224   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   4225 $as_echo_n "checking for GNU ld... " >&6; }
   4226 else
   4227   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   4228 $as_echo_n "checking for non-GNU ld... " >&6; }
   4229 fi
   4230 if ${lt_cv_path_LD+:} false; then :
   4231   $as_echo_n "(cached) " >&6
   4232 else
   4233   if test -z "$LD"; then
   4234   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4235   for ac_dir in $PATH; do
   4236     IFS="$lt_save_ifs"
   4237     test -z "$ac_dir" && ac_dir=.
   4238     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4239       lt_cv_path_LD="$ac_dir/$ac_prog"
   4240       # Check to see if the program is GNU ld.  I'd rather use --version,
   4241       # but apparently some variants of GNU ld only accept -v.
   4242       # Break only if it was the GNU/non-GNU ld that we prefer.
   4243       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4244       *GNU* | *'with BFD'*)
   4245 	test "$with_gnu_ld" != no && break
   4246 	;;
   4247       *)
   4248 	test "$with_gnu_ld" != yes && break
   4249 	;;
   4250       esac
   4251     fi
   4252   done
   4253   IFS="$lt_save_ifs"
   4254 else
   4255   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4256 fi
   4257 fi
   4258 
   4259 LD="$lt_cv_path_LD"
   4260 if test -n "$LD"; then
   4261   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   4262 $as_echo "$LD" >&6; }
   4263 else
   4264   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4265 $as_echo "no" >&6; }
   4266 fi
   4267 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   4268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   4269 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4270 if ${lt_cv_prog_gnu_ld+:} false; then :
   4271   $as_echo_n "(cached) " >&6
   4272 else
   4273   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4274 case `$LD -v 2>&1 </dev/null` in
   4275 *GNU* | *'with BFD'*)
   4276   lt_cv_prog_gnu_ld=yes
   4277   ;;
   4278 *)
   4279   lt_cv_prog_gnu_ld=no
   4280   ;;
   4281 esac
   4282 fi
   4283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   4284 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4285 with_gnu_ld=$lt_cv_prog_gnu_ld
   4286 
   4287 
   4288 
   4289 
   4290 
   4291 
   4292 
   4293 
   4294 
   4295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   4296 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   4297 if ${lt_cv_path_NM+:} false; then :
   4298   $as_echo_n "(cached) " >&6
   4299 else
   4300   if test -n "$NM"; then
   4301   # Let the user override the test.
   4302   lt_cv_path_NM="$NM"
   4303 else
   4304   lt_nm_to_check="${ac_tool_prefix}nm"
   4305   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4306     lt_nm_to_check="$lt_nm_to_check nm"
   4307   fi
   4308   for lt_tmp_nm in $lt_nm_to_check; do
   4309     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4310     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4311       IFS="$lt_save_ifs"
   4312       test -z "$ac_dir" && ac_dir=.
   4313       tmp_nm="$ac_dir/$lt_tmp_nm"
   4314       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4315 	# Check to see if the nm accepts a BSD-compat flag.
   4316 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4317 	#   nm: unknown option "B" ignored
   4318 	# Tru64's nm complains that /dev/null is an invalid object file
   4319 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4320 	*/dev/null* | *'Invalid file or object type'*)
   4321 	  lt_cv_path_NM="$tmp_nm -B"
   4322 	  break
   4323 	  ;;
   4324 	*)
   4325 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4326 	  */dev/null*)
   4327 	    lt_cv_path_NM="$tmp_nm -p"
   4328 	    break
   4329 	    ;;
   4330 	  *)
   4331 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4332 	    continue # so that we can try to find one that supports BSD flags
   4333 	    ;;
   4334 	  esac
   4335 	  ;;
   4336 	esac
   4337       fi
   4338     done
   4339     IFS="$lt_save_ifs"
   4340   done
   4341   : ${lt_cv_path_NM=no}
   4342 fi
   4343 fi
   4344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   4345 $as_echo "$lt_cv_path_NM" >&6; }
   4346 if test "$lt_cv_path_NM" != "no"; then
   4347   NM="$lt_cv_path_NM"
   4348 else
   4349   # Didn't find any BSD compatible name lister, look for dumpbin.
   4350   if test -n "$DUMPBIN"; then :
   4351     # Let the user override the test.
   4352   else
   4353     if test -n "$ac_tool_prefix"; then
   4354   for ac_prog in dumpbin "link -dump"
   4355   do
   4356     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4357 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4359 $as_echo_n "checking for $ac_word... " >&6; }
   4360 if ${ac_cv_prog_DUMPBIN+:} false; then :
   4361   $as_echo_n "(cached) " >&6
   4362 else
   4363   if test -n "$DUMPBIN"; then
   4364   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   4365 else
   4366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4367 for as_dir in $PATH
   4368 do
   4369   IFS=$as_save_IFS
   4370   test -z "$as_dir" && as_dir=.
   4371     for ac_exec_ext in '' $ac_executable_extensions; do
   4372   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4373     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   4374     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4375     break 2
   4376   fi
   4377 done
   4378   done
   4379 IFS=$as_save_IFS
   4380 
   4381 fi
   4382 fi
   4383 DUMPBIN=$ac_cv_prog_DUMPBIN
   4384 if test -n "$DUMPBIN"; then
   4385   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   4386 $as_echo "$DUMPBIN" >&6; }
   4387 else
   4388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4389 $as_echo "no" >&6; }
   4390 fi
   4391 
   4392 
   4393     test -n "$DUMPBIN" && break
   4394   done
   4395 fi
   4396 if test -z "$DUMPBIN"; then
   4397   ac_ct_DUMPBIN=$DUMPBIN
   4398   for ac_prog in dumpbin "link -dump"
   4399 do
   4400   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4401 set dummy $ac_prog; ac_word=$2
   4402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4403 $as_echo_n "checking for $ac_word... " >&6; }
   4404 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   4405   $as_echo_n "(cached) " >&6
   4406 else
   4407   if test -n "$ac_ct_DUMPBIN"; then
   4408   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   4409 else
   4410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4411 for as_dir in $PATH
   4412 do
   4413   IFS=$as_save_IFS
   4414   test -z "$as_dir" && as_dir=.
   4415     for ac_exec_ext in '' $ac_executable_extensions; do
   4416   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4417     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   4418     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4419     break 2
   4420   fi
   4421 done
   4422   done
   4423 IFS=$as_save_IFS
   4424 
   4425 fi
   4426 fi
   4427 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   4428 if test -n "$ac_ct_DUMPBIN"; then
   4429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   4430 $as_echo "$ac_ct_DUMPBIN" >&6; }
   4431 else
   4432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4433 $as_echo "no" >&6; }
   4434 fi
   4435 
   4436 
   4437   test -n "$ac_ct_DUMPBIN" && break
   4438 done
   4439 
   4440   if test "x$ac_ct_DUMPBIN" = x; then
   4441     DUMPBIN=":"
   4442   else
   4443     case $cross_compiling:$ac_tool_warned in
   4444 yes:)
   4445 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4446 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4447 ac_tool_warned=yes ;;
   4448 esac
   4449     DUMPBIN=$ac_ct_DUMPBIN
   4450   fi
   4451 fi
   4452 
   4453     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   4454     *COFF*)
   4455       DUMPBIN="$DUMPBIN -symbols"
   4456       ;;
   4457     *)
   4458       DUMPBIN=:
   4459       ;;
   4460     esac
   4461   fi
   4462 
   4463   if test "$DUMPBIN" != ":"; then
   4464     NM="$DUMPBIN"
   4465   fi
   4466 fi
   4467 test -z "$NM" && NM=nm
   4468 
   4469 
   4470 
   4471 
   4472 
   4473 
   4474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   4475 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   4476 if ${lt_cv_nm_interface+:} false; then :
   4477   $as_echo_n "(cached) " >&6
   4478 else
   4479   lt_cv_nm_interface="BSD nm"
   4480   echo "int some_variable = 0;" > conftest.$ac_ext
   4481   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   4482   (eval "$ac_compile" 2>conftest.err)
   4483   cat conftest.err >&5
   4484   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   4485   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   4486   cat conftest.err >&5
   4487   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   4488   cat conftest.out >&5
   4489   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   4490     lt_cv_nm_interface="MS dumpbin"
   4491   fi
   4492   rm -f conftest*
   4493 fi
   4494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   4495 $as_echo "$lt_cv_nm_interface" >&6; }
   4496 
   4497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   4498 $as_echo_n "checking whether ln -s works... " >&6; }
   4499 LN_S=$as_ln_s
   4500 if test "$LN_S" = "ln -s"; then
   4501   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4502 $as_echo "yes" >&6; }
   4503 else
   4504   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   4505 $as_echo "no, using $LN_S" >&6; }
   4506 fi
   4507 
   4508 # find the maximum length of command line arguments
   4509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   4510 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   4511 if ${lt_cv_sys_max_cmd_len+:} false; then :
   4512   $as_echo_n "(cached) " >&6
   4513 else
   4514     i=0
   4515   teststring="ABCD"
   4516 
   4517   case $build_os in
   4518   msdosdjgpp*)
   4519     # On DJGPP, this test can blow up pretty badly due to problems in libc
   4520     # (any single argument exceeding 2000 bytes causes a buffer overrun
   4521     # during glob expansion).  Even if it were fixed, the result of this
   4522     # check would be larger than it should be.
   4523     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   4524     ;;
   4525 
   4526   gnu*)
   4527     # Under GNU Hurd, this test is not required because there is
   4528     # no limit to the length of command line arguments.
   4529     # Libtool will interpret -1 as no limit whatsoever
   4530     lt_cv_sys_max_cmd_len=-1;
   4531     ;;
   4532 
   4533   cygwin* | mingw* | cegcc*)
   4534     # On Win9x/ME, this test blows up -- it succeeds, but takes
   4535     # about 5 minutes as the teststring grows exponentially.
   4536     # Worse, since 9x/ME are not pre-emptively multitasking,
   4537     # you end up with a "frozen" computer, even though with patience
   4538     # the test eventually succeeds (with a max line length of 256k).
   4539     # Instead, let's just punt: use the minimum linelength reported by
   4540     # all of the supported platforms: 8192 (on NT/2K/XP).
   4541     lt_cv_sys_max_cmd_len=8192;
   4542     ;;
   4543 
   4544   mint*)
   4545     # On MiNT this can take a long time and run out of memory.
   4546     lt_cv_sys_max_cmd_len=8192;
   4547     ;;
   4548 
   4549   amigaos*)
   4550     # On AmigaOS with pdksh, this test takes hours, literally.
   4551     # So we just punt and use a minimum line length of 8192.
   4552     lt_cv_sys_max_cmd_len=8192;
   4553     ;;
   4554 
   4555   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   4556     # This has been around since 386BSD, at least.  Likely further.
   4557     if test -x /sbin/sysctl; then
   4558       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   4559     elif test -x /usr/sbin/sysctl; then
   4560       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   4561     else
   4562       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   4563     fi
   4564     # And add a safety zone
   4565     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4566     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4567     ;;
   4568 
   4569   interix*)
   4570     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   4571     lt_cv_sys_max_cmd_len=196608
   4572     ;;
   4573 
   4574   osf*)
   4575     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   4576     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   4577     # nice to cause kernel panics so lets avoid the loop below.
   4578     # First set a reasonable default.
   4579     lt_cv_sys_max_cmd_len=16384
   4580     #
   4581     if test -x /sbin/sysconfig; then
   4582       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   4583         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   4584       esac
   4585     fi
   4586     ;;
   4587   sco3.2v5*)
   4588     lt_cv_sys_max_cmd_len=102400
   4589     ;;
   4590   sysv5* | sco5v6* | sysv4.2uw2*)
   4591     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   4592     if test -n "$kargmax"; then
   4593       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   4594     else
   4595       lt_cv_sys_max_cmd_len=32768
   4596     fi
   4597     ;;
   4598   *)
   4599     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   4600     if test -n "$lt_cv_sys_max_cmd_len"; then
   4601       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4602       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4603     else
   4604       # Make teststring a little bigger before we do anything with it.
   4605       # a 1K string should be a reasonable start.
   4606       for i in 1 2 3 4 5 6 7 8 ; do
   4607         teststring=$teststring$teststring
   4608       done
   4609       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   4610       # If test is not a shell built-in, we'll probably end up computing a
   4611       # maximum length that is only half of the actual maximum length, but
   4612       # we can't tell.
   4613       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
   4614 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   4615 	      test $i != 17 # 1/2 MB should be enough
   4616       do
   4617         i=`expr $i + 1`
   4618         teststring=$teststring$teststring
   4619       done
   4620       # Only check the string length outside the loop.
   4621       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   4622       teststring=
   4623       # Add a significant safety factor because C++ compilers can tack on
   4624       # massive amounts of additional arguments before passing them to the
   4625       # linker.  It appears as though 1/2 is a usable value.
   4626       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   4627     fi
   4628     ;;
   4629   esac
   4630 
   4631 fi
   4632 
   4633 if test -n $lt_cv_sys_max_cmd_len ; then
   4634   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   4635 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   4636 else
   4637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   4638 $as_echo "none" >&6; }
   4639 fi
   4640 max_cmd_len=$lt_cv_sys_max_cmd_len
   4641 
   4642 
   4643 
   4644 
   4645 
   4646 
   4647 : ${CP="cp -f"}
   4648 : ${MV="mv -f"}
   4649 : ${RM="rm -f"}
   4650 
   4651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   4652 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   4653 # Try some XSI features
   4654 xsi_shell=no
   4655 ( _lt_dummy="a/b/c"
   4656   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
   4657       = c,a/b,b/c, \
   4658     && eval 'test $(( 1 + 1 )) -eq 2 \
   4659     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   4660   && xsi_shell=yes
   4661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   4662 $as_echo "$xsi_shell" >&6; }
   4663 
   4664 
   4665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   4666 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   4667 lt_shell_append=no
   4668 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   4669     >/dev/null 2>&1 \
   4670   && lt_shell_append=yes
   4671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   4672 $as_echo "$lt_shell_append" >&6; }
   4673 
   4674 
   4675 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   4676   lt_unset=unset
   4677 else
   4678   lt_unset=false
   4679 fi
   4680 
   4681 
   4682 
   4683 
   4684 
   4685 # test EBCDIC or ASCII
   4686 case `echo X|tr X '\101'` in
   4687  A) # ASCII based system
   4688     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   4689   lt_SP2NL='tr \040 \012'
   4690   lt_NL2SP='tr \015\012 \040\040'
   4691   ;;
   4692  *) # EBCDIC based system
   4693   lt_SP2NL='tr \100 \n'
   4694   lt_NL2SP='tr \r\n \100\100'
   4695   ;;
   4696 esac
   4697 
   4698 
   4699 
   4700 
   4701 
   4702 
   4703 
   4704 
   4705 
   4706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   4707 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   4708 if ${lt_cv_to_host_file_cmd+:} false; then :
   4709   $as_echo_n "(cached) " >&6
   4710 else
   4711   case $host in
   4712   *-*-mingw* )
   4713     case $build in
   4714       *-*-mingw* ) # actually msys
   4715         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   4716         ;;
   4717       *-*-cygwin* )
   4718         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   4719         ;;
   4720       * ) # otherwise, assume *nix
   4721         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   4722         ;;
   4723     esac
   4724     ;;
   4725   *-*-cygwin* )
   4726     case $build in
   4727       *-*-mingw* ) # actually msys
   4728         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   4729         ;;
   4730       *-*-cygwin* )
   4731         lt_cv_to_host_file_cmd=func_convert_file_noop
   4732         ;;
   4733       * ) # otherwise, assume *nix
   4734         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   4735         ;;
   4736     esac
   4737     ;;
   4738   * ) # unhandled hosts (and "normal" native builds)
   4739     lt_cv_to_host_file_cmd=func_convert_file_noop
   4740     ;;
   4741 esac
   4742 
   4743 fi
   4744 
   4745 to_host_file_cmd=$lt_cv_to_host_file_cmd
   4746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   4747 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   4748 
   4749 
   4750 
   4751 
   4752 
   4753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   4754 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   4755 if ${lt_cv_to_tool_file_cmd+:} false; then :
   4756   $as_echo_n "(cached) " >&6
   4757 else
   4758   #assume ordinary cross tools, or native build.
   4759 lt_cv_to_tool_file_cmd=func_convert_file_noop
   4760 case $host in
   4761   *-*-mingw* )
   4762     case $build in
   4763       *-*-mingw* ) # actually msys
   4764         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   4765         ;;
   4766     esac
   4767     ;;
   4768 esac
   4769 
   4770 fi
   4771 
   4772 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   4773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   4774 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   4775 
   4776 
   4777 
   4778 
   4779 
   4780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   4781 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4782 if ${lt_cv_ld_reload_flag+:} false; then :
   4783   $as_echo_n "(cached) " >&6
   4784 else
   4785   lt_cv_ld_reload_flag='-r'
   4786 fi
   4787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   4788 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4789 reload_flag=$lt_cv_ld_reload_flag
   4790 case $reload_flag in
   4791 "" | " "*) ;;
   4792 *) reload_flag=" $reload_flag" ;;
   4793 esac
   4794 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4795 case $host_os in
   4796   cygwin* | mingw* | pw32* | cegcc*)
   4797     if test "$GCC" != yes; then
   4798       reload_cmds=false
   4799     fi
   4800     ;;
   4801   darwin*)
   4802     if test "$GCC" = yes; then
   4803       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4804     else
   4805       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4806     fi
   4807     ;;
   4808 esac
   4809 
   4810 
   4811 
   4812 
   4813 
   4814 
   4815 
   4816 
   4817 
   4818 if test -n "$ac_tool_prefix"; then
   4819   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   4820 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   4821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4822 $as_echo_n "checking for $ac_word... " >&6; }
   4823 if ${ac_cv_prog_OBJDUMP+:} false; then :
   4824   $as_echo_n "(cached) " >&6
   4825 else
   4826   if test -n "$OBJDUMP"; then
   4827   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   4828 else
   4829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4830 for as_dir in $PATH
   4831 do
   4832   IFS=$as_save_IFS
   4833   test -z "$as_dir" && as_dir=.
   4834     for ac_exec_ext in '' $ac_executable_extensions; do
   4835   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4836     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   4837     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4838     break 2
   4839   fi
   4840 done
   4841   done
   4842 IFS=$as_save_IFS
   4843 
   4844 fi
   4845 fi
   4846 OBJDUMP=$ac_cv_prog_OBJDUMP
   4847 if test -n "$OBJDUMP"; then
   4848   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   4849 $as_echo "$OBJDUMP" >&6; }
   4850 else
   4851   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4852 $as_echo "no" >&6; }
   4853 fi
   4854 
   4855 
   4856 fi
   4857 if test -z "$ac_cv_prog_OBJDUMP"; then
   4858   ac_ct_OBJDUMP=$OBJDUMP
   4859   # Extract the first word of "objdump", so it can be a program name with args.
   4860 set dummy objdump; ac_word=$2
   4861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4862 $as_echo_n "checking for $ac_word... " >&6; }
   4863 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   4864   $as_echo_n "(cached) " >&6
   4865 else
   4866   if test -n "$ac_ct_OBJDUMP"; then
   4867   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   4868 else
   4869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4870 for as_dir in $PATH
   4871 do
   4872   IFS=$as_save_IFS
   4873   test -z "$as_dir" && as_dir=.
   4874     for ac_exec_ext in '' $ac_executable_extensions; do
   4875   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4876     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   4877     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4878     break 2
   4879   fi
   4880 done
   4881   done
   4882 IFS=$as_save_IFS
   4883 
   4884 fi
   4885 fi
   4886 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   4887 if test -n "$ac_ct_OBJDUMP"; then
   4888   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   4889 $as_echo "$ac_ct_OBJDUMP" >&6; }
   4890 else
   4891   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4892 $as_echo "no" >&6; }
   4893 fi
   4894 
   4895   if test "x$ac_ct_OBJDUMP" = x; then
   4896     OBJDUMP="false"
   4897   else
   4898     case $cross_compiling:$ac_tool_warned in
   4899 yes:)
   4900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4901 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4902 ac_tool_warned=yes ;;
   4903 esac
   4904     OBJDUMP=$ac_ct_OBJDUMP
   4905   fi
   4906 else
   4907   OBJDUMP="$ac_cv_prog_OBJDUMP"
   4908 fi
   4909 
   4910 test -z "$OBJDUMP" && OBJDUMP=objdump
   4911 
   4912 
   4913 
   4914 
   4915 
   4916 
   4917 
   4918 
   4919 
   4920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   4921 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   4922 if ${lt_cv_deplibs_check_method+:} false; then :
   4923   $as_echo_n "(cached) " >&6
   4924 else
   4925   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4926 lt_cv_file_magic_test_file=
   4927 lt_cv_deplibs_check_method='unknown'
   4928 # Need to set the preceding variable on all platforms that support
   4929 # interlibrary dependencies.
   4930 # 'none' -- dependencies not supported.
   4931 # `unknown' -- same as none, but documents that we really don't know.
   4932 # 'pass_all' -- all dependencies passed with no checks.
   4933 # 'test_compile' -- check by making test program.
   4934 # 'file_magic [[regex]]' -- check by looking for files in library path
   4935 # which responds to the $file_magic_cmd with a given extended regex.
   4936 # If you have `file' or equivalent on your system and you're not sure
   4937 # whether `pass_all' will *always* work, you probably want this one.
   4938 
   4939 case $host_os in
   4940 aix[4-9]*)
   4941   lt_cv_deplibs_check_method=pass_all
   4942   ;;
   4943 
   4944 beos*)
   4945   lt_cv_deplibs_check_method=pass_all
   4946   ;;
   4947 
   4948 bsdi[45]*)
   4949   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   4950   lt_cv_file_magic_cmd='/usr/bin/file -L'
   4951   lt_cv_file_magic_test_file=/shlib/libc.so
   4952   ;;
   4953 
   4954 cygwin*)
   4955   # func_win32_libid is a shell function defined in ltmain.sh
   4956   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4957   lt_cv_file_magic_cmd='func_win32_libid'
   4958   ;;
   4959 
   4960 mingw* | pw32*)
   4961   # Base MSYS/MinGW do not provide the 'file' command needed by
   4962   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   4963   # unless we find 'file', for example because we are cross-compiling.
   4964   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   4965   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   4966     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4967     lt_cv_file_magic_cmd='func_win32_libid'
   4968   else
   4969     # Keep this pattern in sync with the one in func_win32_libid.
   4970     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   4971     lt_cv_file_magic_cmd='$OBJDUMP -f'
   4972   fi
   4973   ;;
   4974 
   4975 cegcc*)
   4976   # use the weaker test based on 'objdump'. See mingw*.
   4977   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   4978   lt_cv_file_magic_cmd='$OBJDUMP -f'
   4979   ;;
   4980 
   4981 darwin* | rhapsody*)
   4982   lt_cv_deplibs_check_method=pass_all
   4983   ;;
   4984 
   4985 freebsd* | dragonfly*)
   4986   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   4987     case $host_cpu in
   4988     i*86 )
   4989       # Not sure whether the presence of OpenBSD here was a mistake.
   4990       # Let's accept both of them until this is cleared up.
   4991       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   4992       lt_cv_file_magic_cmd=/usr/bin/file
   4993       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   4994       ;;
   4995     esac
   4996   else
   4997     lt_cv_deplibs_check_method=pass_all
   4998   fi
   4999   ;;
   5000 
   5001 gnu*)
   5002   lt_cv_deplibs_check_method=pass_all
   5003   ;;
   5004 
   5005 haiku*)
   5006   lt_cv_deplibs_check_method=pass_all
   5007   ;;
   5008 
   5009 hpux10.20* | hpux11*)
   5010   lt_cv_file_magic_cmd=/usr/bin/file
   5011   case $host_cpu in
   5012   ia64*)
   5013     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5014     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5015     ;;
   5016   hppa*64*)
   5017     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]'
   5018     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5019     ;;
   5020   *)
   5021     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5022     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5023     ;;
   5024   esac
   5025   ;;
   5026 
   5027 interix[3-9]*)
   5028   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5029   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5030   ;;
   5031 
   5032 irix5* | irix6* | nonstopux*)
   5033   case $LD in
   5034   *-32|*"-32 ") libmagic=32-bit;;
   5035   *-n32|*"-n32 ") libmagic=N32;;
   5036   *-64|*"-64 ") libmagic=64-bit;;
   5037   *) libmagic=never-match;;
   5038   esac
   5039   lt_cv_deplibs_check_method=pass_all
   5040   ;;
   5041 
   5042 # This must be Linux ELF.
   5043 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   5044   lt_cv_deplibs_check_method=pass_all
   5045   ;;
   5046 
   5047 netbsd*)
   5048   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5049     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5050   else
   5051     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5052   fi
   5053   ;;
   5054 
   5055 newos6*)
   5056   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5057   lt_cv_file_magic_cmd=/usr/bin/file
   5058   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5059   ;;
   5060 
   5061 *nto* | *qnx*)
   5062   lt_cv_deplibs_check_method=pass_all
   5063   ;;
   5064 
   5065 openbsd*)
   5066   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   5067     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5068   else
   5069     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5070   fi
   5071   ;;
   5072 
   5073 osf3* | osf4* | osf5*)
   5074   lt_cv_deplibs_check_method=pass_all
   5075   ;;
   5076 
   5077 rdos*)
   5078   lt_cv_deplibs_check_method=pass_all
   5079   ;;
   5080 
   5081 solaris*)
   5082   lt_cv_deplibs_check_method=pass_all
   5083   ;;
   5084 
   5085 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5086   lt_cv_deplibs_check_method=pass_all
   5087   ;;
   5088 
   5089 sysv4 | sysv4.3*)
   5090   case $host_vendor in
   5091   motorola)
   5092     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]'
   5093     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5094     ;;
   5095   ncr)
   5096     lt_cv_deplibs_check_method=pass_all
   5097     ;;
   5098   sequent)
   5099     lt_cv_file_magic_cmd='/bin/file'
   5100     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5101     ;;
   5102   sni)
   5103     lt_cv_file_magic_cmd='/bin/file'
   5104     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5105     lt_cv_file_magic_test_file=/lib/libc.so
   5106     ;;
   5107   siemens)
   5108     lt_cv_deplibs_check_method=pass_all
   5109     ;;
   5110   pc)
   5111     lt_cv_deplibs_check_method=pass_all
   5112     ;;
   5113   esac
   5114   ;;
   5115 
   5116 tpf*)
   5117   lt_cv_deplibs_check_method=pass_all
   5118   ;;
   5119 esac
   5120 
   5121 fi
   5122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5123 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5124 
   5125 file_magic_glob=
   5126 want_nocaseglob=no
   5127 if test "$build" = "$host"; then
   5128   case $host_os in
   5129   mingw* | pw32*)
   5130     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   5131       want_nocaseglob=yes
   5132     else
   5133       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   5134     fi
   5135     ;;
   5136   esac
   5137 fi
   5138 
   5139 file_magic_cmd=$lt_cv_file_magic_cmd
   5140 deplibs_check_method=$lt_cv_deplibs_check_method
   5141 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5142 
   5143 
   5144 
   5145 
   5146 
   5147 
   5148 
   5149 
   5150 
   5151 
   5152 
   5153 
   5154 
   5155 
   5156 
   5157 
   5158 
   5159 
   5160 
   5161 
   5162 
   5163 
   5164 if test -n "$ac_tool_prefix"; then
   5165   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   5166 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   5167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5168 $as_echo_n "checking for $ac_word... " >&6; }
   5169 if ${ac_cv_prog_DLLTOOL+:} false; then :
   5170   $as_echo_n "(cached) " >&6
   5171 else
   5172   if test -n "$DLLTOOL"; then
   5173   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   5174 else
   5175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5176 for as_dir in $PATH
   5177 do
   5178   IFS=$as_save_IFS
   5179   test -z "$as_dir" && as_dir=.
   5180     for ac_exec_ext in '' $ac_executable_extensions; do
   5181   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5182     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   5183     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5184     break 2
   5185   fi
   5186 done
   5187   done
   5188 IFS=$as_save_IFS
   5189 
   5190 fi
   5191 fi
   5192 DLLTOOL=$ac_cv_prog_DLLTOOL
   5193 if test -n "$DLLTOOL"; then
   5194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   5195 $as_echo "$DLLTOOL" >&6; }
   5196 else
   5197   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5198 $as_echo "no" >&6; }
   5199 fi
   5200 
   5201 
   5202 fi
   5203 if test -z "$ac_cv_prog_DLLTOOL"; then
   5204   ac_ct_DLLTOOL=$DLLTOOL
   5205   # Extract the first word of "dlltool", so it can be a program name with args.
   5206 set dummy dlltool; ac_word=$2
   5207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5208 $as_echo_n "checking for $ac_word... " >&6; }
   5209 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   5210   $as_echo_n "(cached) " >&6
   5211 else
   5212   if test -n "$ac_ct_DLLTOOL"; then
   5213   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   5214 else
   5215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5216 for as_dir in $PATH
   5217 do
   5218   IFS=$as_save_IFS
   5219   test -z "$as_dir" && as_dir=.
   5220     for ac_exec_ext in '' $ac_executable_extensions; do
   5221   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5222     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   5223     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5224     break 2
   5225   fi
   5226 done
   5227   done
   5228 IFS=$as_save_IFS
   5229 
   5230 fi
   5231 fi
   5232 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   5233 if test -n "$ac_ct_DLLTOOL"; then
   5234   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   5235 $as_echo "$ac_ct_DLLTOOL" >&6; }
   5236 else
   5237   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5238 $as_echo "no" >&6; }
   5239 fi
   5240 
   5241   if test "x$ac_ct_DLLTOOL" = x; then
   5242     DLLTOOL="false"
   5243   else
   5244     case $cross_compiling:$ac_tool_warned in
   5245 yes:)
   5246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5247 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5248 ac_tool_warned=yes ;;
   5249 esac
   5250     DLLTOOL=$ac_ct_DLLTOOL
   5251   fi
   5252 else
   5253   DLLTOOL="$ac_cv_prog_DLLTOOL"
   5254 fi
   5255 
   5256 test -z "$DLLTOOL" && DLLTOOL=dlltool
   5257 
   5258 
   5259 
   5260 
   5261 
   5262 
   5263 
   5264 
   5265 
   5266 
   5267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   5268 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   5269 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   5270   $as_echo_n "(cached) " >&6
   5271 else
   5272   lt_cv_sharedlib_from_linklib_cmd='unknown'
   5273 
   5274 case $host_os in
   5275 cygwin* | mingw* | pw32* | cegcc*)
   5276   # two different shell functions defined in ltmain.sh
   5277   # decide which to use based on capabilities of $DLLTOOL
   5278   case `$DLLTOOL --help 2>&1` in
   5279   *--identify-strict*)
   5280     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   5281     ;;
   5282   *)
   5283     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   5284     ;;
   5285   esac
   5286   ;;
   5287 *)
   5288   # fallback: assume linklib IS sharedlib
   5289   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
   5290   ;;
   5291 esac
   5292 
   5293 fi
   5294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   5295 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   5296 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   5297 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   5298 
   5299 
   5300 
   5301 
   5302 
   5303 
   5304 
   5305 
   5306 if test -n "$ac_tool_prefix"; then
   5307   for ac_prog in ar
   5308   do
   5309     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5310 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5312 $as_echo_n "checking for $ac_word... " >&6; }
   5313 if ${ac_cv_prog_AR+:} false; then :
   5314   $as_echo_n "(cached) " >&6
   5315 else
   5316   if test -n "$AR"; then
   5317   ac_cv_prog_AR="$AR" # Let the user override the test.
   5318 else
   5319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5320 for as_dir in $PATH
   5321 do
   5322   IFS=$as_save_IFS
   5323   test -z "$as_dir" && as_dir=.
   5324     for ac_exec_ext in '' $ac_executable_extensions; do
   5325   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5326     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   5327     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5328     break 2
   5329   fi
   5330 done
   5331   done
   5332 IFS=$as_save_IFS
   5333 
   5334 fi
   5335 fi
   5336 AR=$ac_cv_prog_AR
   5337 if test -n "$AR"; then
   5338   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5339 $as_echo "$AR" >&6; }
   5340 else
   5341   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5342 $as_echo "no" >&6; }
   5343 fi
   5344 
   5345 
   5346     test -n "$AR" && break
   5347   done
   5348 fi
   5349 if test -z "$AR"; then
   5350   ac_ct_AR=$AR
   5351   for ac_prog in ar
   5352 do
   5353   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5354 set dummy $ac_prog; ac_word=$2
   5355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5356 $as_echo_n "checking for $ac_word... " >&6; }
   5357 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   5358   $as_echo_n "(cached) " >&6
   5359 else
   5360   if test -n "$ac_ct_AR"; then
   5361   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5362 else
   5363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5364 for as_dir in $PATH
   5365 do
   5366   IFS=$as_save_IFS
   5367   test -z "$as_dir" && as_dir=.
   5368     for ac_exec_ext in '' $ac_executable_extensions; do
   5369   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5370     ac_cv_prog_ac_ct_AR="$ac_prog"
   5371     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5372     break 2
   5373   fi
   5374 done
   5375   done
   5376 IFS=$as_save_IFS
   5377 
   5378 fi
   5379 fi
   5380 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5381 if test -n "$ac_ct_AR"; then
   5382   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   5383 $as_echo "$ac_ct_AR" >&6; }
   5384 else
   5385   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5386 $as_echo "no" >&6; }
   5387 fi
   5388 
   5389 
   5390   test -n "$ac_ct_AR" && break
   5391 done
   5392 
   5393   if test "x$ac_ct_AR" = x; then
   5394     AR="false"
   5395   else
   5396     case $cross_compiling:$ac_tool_warned in
   5397 yes:)
   5398 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5399 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5400 ac_tool_warned=yes ;;
   5401 esac
   5402     AR=$ac_ct_AR
   5403   fi
   5404 fi
   5405 
   5406 : ${AR=ar}
   5407 : ${AR_FLAGS=cru}
   5408 
   5409 
   5410 
   5411 
   5412 
   5413 
   5414 
   5415 
   5416 
   5417 
   5418 
   5419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   5420 $as_echo_n "checking for archiver @FILE support... " >&6; }
   5421 if ${lt_cv_ar_at_file+:} false; then :
   5422   $as_echo_n "(cached) " >&6
   5423 else
   5424   lt_cv_ar_at_file=no
   5425    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5426 /* end confdefs.h.  */
   5427 
   5428 int
   5429 main ()
   5430 {
   5431 
   5432   ;
   5433   return 0;
   5434 }
   5435 _ACEOF
   5436 if ac_fn_c_try_compile "$LINENO"; then :
   5437   echo conftest.$ac_objext > conftest.lst
   5438       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   5439       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5440   (eval $lt_ar_try) 2>&5
   5441   ac_status=$?
   5442   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5443   test $ac_status = 0; }
   5444       if test "$ac_status" -eq 0; then
   5445 	# Ensure the archiver fails upon bogus file names.
   5446 	rm -f conftest.$ac_objext libconftest.a
   5447 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5448   (eval $lt_ar_try) 2>&5
   5449   ac_status=$?
   5450   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5451   test $ac_status = 0; }
   5452 	if test "$ac_status" -ne 0; then
   5453           lt_cv_ar_at_file=@
   5454         fi
   5455       fi
   5456       rm -f conftest.* libconftest.a
   5457 
   5458 fi
   5459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5460 
   5461 fi
   5462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   5463 $as_echo "$lt_cv_ar_at_file" >&6; }
   5464 
   5465 if test "x$lt_cv_ar_at_file" = xno; then
   5466   archiver_list_spec=
   5467 else
   5468   archiver_list_spec=$lt_cv_ar_at_file
   5469 fi
   5470 
   5471 
   5472 
   5473 
   5474 
   5475 
   5476 
   5477 if test -n "$ac_tool_prefix"; then
   5478   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   5479 set dummy ${ac_tool_prefix}strip; ac_word=$2
   5480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5481 $as_echo_n "checking for $ac_word... " >&6; }
   5482 if ${ac_cv_prog_STRIP+:} false; then :
   5483   $as_echo_n "(cached) " >&6
   5484 else
   5485   if test -n "$STRIP"; then
   5486   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   5487 else
   5488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5489 for as_dir in $PATH
   5490 do
   5491   IFS=$as_save_IFS
   5492   test -z "$as_dir" && as_dir=.
   5493     for ac_exec_ext in '' $ac_executable_extensions; do
   5494   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5495     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   5496     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5497     break 2
   5498   fi
   5499 done
   5500   done
   5501 IFS=$as_save_IFS
   5502 
   5503 fi
   5504 fi
   5505 STRIP=$ac_cv_prog_STRIP
   5506 if test -n "$STRIP"; then
   5507   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   5508 $as_echo "$STRIP" >&6; }
   5509 else
   5510   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5511 $as_echo "no" >&6; }
   5512 fi
   5513 
   5514 
   5515 fi
   5516 if test -z "$ac_cv_prog_STRIP"; then
   5517   ac_ct_STRIP=$STRIP
   5518   # Extract the first word of "strip", so it can be a program name with args.
   5519 set dummy strip; ac_word=$2
   5520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5521 $as_echo_n "checking for $ac_word... " >&6; }
   5522 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   5523   $as_echo_n "(cached) " >&6
   5524 else
   5525   if test -n "$ac_ct_STRIP"; then
   5526   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   5527 else
   5528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5529 for as_dir in $PATH
   5530 do
   5531   IFS=$as_save_IFS
   5532   test -z "$as_dir" && as_dir=.
   5533     for ac_exec_ext in '' $ac_executable_extensions; do
   5534   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5535     ac_cv_prog_ac_ct_STRIP="strip"
   5536     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5537     break 2
   5538   fi
   5539 done
   5540   done
   5541 IFS=$as_save_IFS
   5542 
   5543 fi
   5544 fi
   5545 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   5546 if test -n "$ac_ct_STRIP"; then
   5547   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   5548 $as_echo "$ac_ct_STRIP" >&6; }
   5549 else
   5550   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5551 $as_echo "no" >&6; }
   5552 fi
   5553 
   5554   if test "x$ac_ct_STRIP" = x; then
   5555     STRIP=":"
   5556   else
   5557     case $cross_compiling:$ac_tool_warned in
   5558 yes:)
   5559 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5560 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5561 ac_tool_warned=yes ;;
   5562 esac
   5563     STRIP=$ac_ct_STRIP
   5564   fi
   5565 else
   5566   STRIP="$ac_cv_prog_STRIP"
   5567 fi
   5568 
   5569 test -z "$STRIP" && STRIP=:
   5570 
   5571 
   5572 
   5573 
   5574 
   5575 
   5576 if test -n "$ac_tool_prefix"; then
   5577   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5578 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5580 $as_echo_n "checking for $ac_word... " >&6; }
   5581 if ${ac_cv_prog_RANLIB+:} false; then :
   5582   $as_echo_n "(cached) " >&6
   5583 else
   5584   if test -n "$RANLIB"; then
   5585   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5586 else
   5587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5588 for as_dir in $PATH
   5589 do
   5590   IFS=$as_save_IFS
   5591   test -z "$as_dir" && as_dir=.
   5592     for ac_exec_ext in '' $ac_executable_extensions; do
   5593   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5594     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5595     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5596     break 2
   5597   fi
   5598 done
   5599   done
   5600 IFS=$as_save_IFS
   5601 
   5602 fi
   5603 fi
   5604 RANLIB=$ac_cv_prog_RANLIB
   5605 if test -n "$RANLIB"; then
   5606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   5607 $as_echo "$RANLIB" >&6; }
   5608 else
   5609   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5610 $as_echo "no" >&6; }
   5611 fi
   5612 
   5613 
   5614 fi
   5615 if test -z "$ac_cv_prog_RANLIB"; then
   5616   ac_ct_RANLIB=$RANLIB
   5617   # Extract the first word of "ranlib", so it can be a program name with args.
   5618 set dummy ranlib; ac_word=$2
   5619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5620 $as_echo_n "checking for $ac_word... " >&6; }
   5621 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   5622   $as_echo_n "(cached) " >&6
   5623 else
   5624   if test -n "$ac_ct_RANLIB"; then
   5625   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   5626 else
   5627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5628 for as_dir in $PATH
   5629 do
   5630   IFS=$as_save_IFS
   5631   test -z "$as_dir" && as_dir=.
   5632     for ac_exec_ext in '' $ac_executable_extensions; do
   5633   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5634     ac_cv_prog_ac_ct_RANLIB="ranlib"
   5635     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5636     break 2
   5637   fi
   5638 done
   5639   done
   5640 IFS=$as_save_IFS
   5641 
   5642 fi
   5643 fi
   5644 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   5645 if test -n "$ac_ct_RANLIB"; then
   5646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   5647 $as_echo "$ac_ct_RANLIB" >&6; }
   5648 else
   5649   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5650 $as_echo "no" >&6; }
   5651 fi
   5652 
   5653   if test "x$ac_ct_RANLIB" = x; then
   5654     RANLIB=":"
   5655   else
   5656     case $cross_compiling:$ac_tool_warned in
   5657 yes:)
   5658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5659 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5660 ac_tool_warned=yes ;;
   5661 esac
   5662     RANLIB=$ac_ct_RANLIB
   5663   fi
   5664 else
   5665   RANLIB="$ac_cv_prog_RANLIB"
   5666 fi
   5667 
   5668 test -z "$RANLIB" && RANLIB=:
   5669 
   5670 
   5671 
   5672 
   5673 
   5674 
   5675 # Determine commands to create old-style static archives.
   5676 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   5677 old_postinstall_cmds='chmod 644 $oldlib'
   5678 old_postuninstall_cmds=
   5679 
   5680 if test -n "$RANLIB"; then
   5681   case $host_os in
   5682   openbsd*)
   5683     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   5684     ;;
   5685   *)
   5686     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   5687     ;;
   5688   esac
   5689   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   5690 fi
   5691 
   5692 case $host_os in
   5693   darwin*)
   5694     lock_old_archive_extraction=yes ;;
   5695   *)
   5696     lock_old_archive_extraction=no ;;
   5697 esac
   5698 
   5699 
   5700 
   5701 
   5702 
   5703 
   5704 
   5705 
   5706 
   5707 
   5708 
   5709 
   5710 
   5711 
   5712 
   5713 
   5714 
   5715 
   5716 
   5717 
   5718 
   5719 
   5720 
   5721 
   5722 
   5723 
   5724 
   5725 
   5726 
   5727 
   5728 
   5729 
   5730 
   5731 
   5732 
   5733 
   5734 
   5735 
   5736 
   5737 # If no C compiler was specified, use CC.
   5738 LTCC=${LTCC-"$CC"}
   5739 
   5740 # If no C compiler flags were specified, use CFLAGS.
   5741 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   5742 
   5743 # Allow CC to be a program name with arguments.
   5744 compiler=$CC
   5745 
   5746 
   5747 # Check for command to grab the raw symbol name followed by C symbol from nm.
   5748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   5749 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   5750 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   5751   $as_echo_n "(cached) " >&6
   5752 else
   5753 
   5754 # These are sane defaults that work on at least a few old systems.
   5755 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   5756 
   5757 # Character class describing NM global symbol codes.
   5758 symcode='[BCDEGRST]'
   5759 
   5760 # Regexp to match symbols that can be accessed directly from C.
   5761 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   5762 
   5763 # Define system-specific variables.
   5764 case $host_os in
   5765 aix*)
   5766   symcode='[BCDT]'
   5767   ;;
   5768 cygwin* | mingw* | pw32* | cegcc*)
   5769   symcode='[ABCDGISTW]'
   5770   ;;
   5771 hpux*)
   5772   if test "$host_cpu" = ia64; then
   5773     symcode='[ABCDEGRST]'
   5774   fi
   5775   ;;
   5776 irix* | nonstopux*)
   5777   symcode='[BCDEGRST]'
   5778   ;;
   5779 osf*)
   5780   symcode='[BCDEGQRST]'
   5781   ;;
   5782 solaris*)
   5783   symcode='[BDRT]'
   5784   ;;
   5785 sco3.2v5*)
   5786   symcode='[DT]'
   5787   ;;
   5788 sysv4.2uw2*)
   5789   symcode='[DT]'
   5790   ;;
   5791 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   5792   symcode='[ABDT]'
   5793   ;;
   5794 sysv4)
   5795   symcode='[DFNSTU]'
   5796   ;;
   5797 esac
   5798 
   5799 # If we're using GNU nm, then use its standard symbol codes.
   5800 case `$NM -V 2>&1` in
   5801 *GNU* | *'with BFD'*)
   5802   symcode='[ABCDGIRSTW]' ;;
   5803 esac
   5804 
   5805 # Transform an extracted symbol line into a proper C declaration.
   5806 # Some systems (esp. on ia64) link data and code symbols differently,
   5807 # so use this general approach.
   5808 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   5809 
   5810 # Transform an extracted symbol line into symbol name and symbol address
   5811 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   5812 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'"
   5813 
   5814 # Handle CRLF in mingw tool chain
   5815 opt_cr=
   5816 case $build_os in
   5817 mingw*)
   5818   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   5819   ;;
   5820 esac
   5821 
   5822 # Try without a prefix underscore, then with it.
   5823 for ac_symprfx in "" "_"; do
   5824 
   5825   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   5826   symxfrm="\\1 $ac_symprfx\\2 \\2"
   5827 
   5828   # Write the raw and C identifiers.
   5829   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   5830     # Fake it for dumpbin and say T for any non-static function
   5831     # and D for any global variable.
   5832     # Also find C++ and __fastcall symbols from MSVC++,
   5833     # which start with @ or ?.
   5834     lt_cv_sys_global_symbol_pipe="$AWK '"\
   5835 "     {last_section=section; section=\$ 3};"\
   5836 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   5837 "     \$ 0!~/External *\|/{next};"\
   5838 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   5839 "     {if(hide[section]) next};"\
   5840 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   5841 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   5842 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   5843 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   5844 "     ' prfx=^$ac_symprfx"
   5845   else
   5846     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   5847   fi
   5848   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   5849 
   5850   # Check to see that the pipe works correctly.
   5851   pipe_works=no
   5852 
   5853   rm -f conftest*
   5854   cat > conftest.$ac_ext <<_LT_EOF
   5855 #ifdef __cplusplus
   5856 extern "C" {
   5857 #endif
   5858 char nm_test_var;
   5859 void nm_test_func(void);
   5860 void nm_test_func(void){}
   5861 #ifdef __cplusplus
   5862 }
   5863 #endif
   5864 int main(){nm_test_var='a';nm_test_func();return(0);}
   5865 _LT_EOF
   5866 
   5867   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   5868   (eval $ac_compile) 2>&5
   5869   ac_status=$?
   5870   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5871   test $ac_status = 0; }; then
   5872     # Now try to grab the symbols.
   5873     nlist=conftest.nm
   5874     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   5875   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   5876   ac_status=$?
   5877   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5878   test $ac_status = 0; } && test -s "$nlist"; then
   5879       # Try sorting and uniquifying the output.
   5880       if sort "$nlist" | uniq > "$nlist"T; then
   5881 	mv -f "$nlist"T "$nlist"
   5882       else
   5883 	rm -f "$nlist"T
   5884       fi
   5885 
   5886       # Make sure that we snagged all the symbols we need.
   5887       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   5888 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   5889 	  cat <<_LT_EOF > conftest.$ac_ext
   5890 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   5891 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
   5892 /* DATA imports from DLLs on WIN32 con't be const, because runtime
   5893    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   5894 # define LT_DLSYM_CONST
   5895 #elif defined(__osf__)
   5896 /* This system does not cope well with relocations in const data.  */
   5897 # define LT_DLSYM_CONST
   5898 #else
   5899 # define LT_DLSYM_CONST const
   5900 #endif
   5901 
   5902 #ifdef __cplusplus
   5903 extern "C" {
   5904 #endif
   5905 
   5906 _LT_EOF
   5907 	  # Now generate the symbol file.
   5908 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   5909 
   5910 	  cat <<_LT_EOF >> conftest.$ac_ext
   5911 
   5912 /* The mapping between symbol names and symbols.  */
   5913 LT_DLSYM_CONST struct {
   5914   const char *name;
   5915   void       *address;
   5916 }
   5917 lt__PROGRAM__LTX_preloaded_symbols[] =
   5918 {
   5919   { "@PROGRAM@", (void *) 0 },
   5920 _LT_EOF
   5921 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   5922 	  cat <<\_LT_EOF >> conftest.$ac_ext
   5923   {0, (void *) 0}
   5924 };
   5925 
   5926 /* This works around a problem in FreeBSD linker */
   5927 #ifdef FREEBSD_WORKAROUND
   5928 static const void *lt_preloaded_setup() {
   5929   return lt__PROGRAM__LTX_preloaded_symbols;
   5930 }
   5931 #endif
   5932 
   5933 #ifdef __cplusplus
   5934 }
   5935 #endif
   5936 _LT_EOF
   5937 	  # Now try linking the two files.
   5938 	  mv conftest.$ac_objext conftstm.$ac_objext
   5939 	  lt_globsym_save_LIBS=$LIBS
   5940 	  lt_globsym_save_CFLAGS=$CFLAGS
   5941 	  LIBS="conftstm.$ac_objext"
   5942 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   5943 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   5944   (eval $ac_link) 2>&5
   5945   ac_status=$?
   5946   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5947   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   5948 	    pipe_works=yes
   5949 	  fi
   5950 	  LIBS=$lt_globsym_save_LIBS
   5951 	  CFLAGS=$lt_globsym_save_CFLAGS
   5952 	else
   5953 	  echo "cannot find nm_test_func in $nlist" >&5
   5954 	fi
   5955       else
   5956 	echo "cannot find nm_test_var in $nlist" >&5
   5957       fi
   5958     else
   5959       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   5960     fi
   5961   else
   5962     echo "$progname: failed program was:" >&5
   5963     cat conftest.$ac_ext >&5
   5964   fi
   5965   rm -rf conftest* conftst*
   5966 
   5967   # Do not use the global_symbol_pipe unless it works.
   5968   if test "$pipe_works" = yes; then
   5969     break
   5970   else
   5971     lt_cv_sys_global_symbol_pipe=
   5972   fi
   5973 done
   5974 
   5975 fi
   5976 
   5977 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   5978   lt_cv_sys_global_symbol_to_cdecl=
   5979 fi
   5980 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   5981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   5982 $as_echo "failed" >&6; }
   5983 else
   5984   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   5985 $as_echo "ok" >&6; }
   5986 fi
   5987 
   5988 # Response file support.
   5989 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   5990   nm_file_list_spec='@'
   5991 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   5992   nm_file_list_spec='@'
   5993 fi
   5994 
   5995 
   5996 
   5997 
   5998 
   5999 
   6000 
   6001 
   6002 
   6003 
   6004 
   6005 
   6006 
   6007 
   6008 
   6009 
   6010 
   6011 
   6012 
   6013 
   6014 
   6015 
   6016 
   6017 
   6018 
   6019 
   6020 
   6021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   6022 $as_echo_n "checking for sysroot... " >&6; }
   6023 
   6024 # Check whether --with-sysroot was given.
   6025 if test "${with_sysroot+set}" = set; then :
   6026   withval=$with_sysroot;
   6027 else
   6028   with_sysroot=no
   6029 fi
   6030 
   6031 
   6032 lt_sysroot=
   6033 case ${with_sysroot} in #(
   6034  yes)
   6035    if test "$GCC" = yes; then
   6036      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   6037    fi
   6038    ;; #(
   6039  /*)
   6040    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   6041    ;; #(
   6042  no|'')
   6043    ;; #(
   6044  *)
   6045    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
   6046 $as_echo "${with_sysroot}" >&6; }
   6047    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   6048    ;;
   6049 esac
   6050 
   6051  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   6052 $as_echo "${lt_sysroot:-no}" >&6; }
   6053 
   6054 
   6055 
   6056 
   6057 
   6058 # Check whether --enable-libtool-lock was given.
   6059 if test "${enable_libtool_lock+set}" = set; then :
   6060   enableval=$enable_libtool_lock;
   6061 fi
   6062 
   6063 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6064 
   6065 # Some flags need to be propagated to the compiler or linker for good
   6066 # libtool support.
   6067 case $host in
   6068 ia64-*-hpux*)
   6069   # Find out which ABI we are using.
   6070   echo 'int i;' > conftest.$ac_ext
   6071   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6072   (eval $ac_compile) 2>&5
   6073   ac_status=$?
   6074   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6075   test $ac_status = 0; }; then
   6076     case `/usr/bin/file conftest.$ac_objext` in
   6077       *ELF-32*)
   6078 	HPUX_IA64_MODE="32"
   6079 	;;
   6080       *ELF-64*)
   6081 	HPUX_IA64_MODE="64"
   6082 	;;
   6083     esac
   6084   fi
   6085   rm -rf conftest*
   6086   ;;
   6087 *-*-irix6*)
   6088   # Find out which ABI we are using.
   6089   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6090   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6091   (eval $ac_compile) 2>&5
   6092   ac_status=$?
   6093   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6094   test $ac_status = 0; }; then
   6095     if test "$lt_cv_prog_gnu_ld" = yes; then
   6096       case `/usr/bin/file conftest.$ac_objext` in
   6097 	*32-bit*)
   6098 	  LD="${LD-ld} -melf32bsmip"
   6099 	  ;;
   6100 	*N32*)
   6101 	  LD="${LD-ld} -melf32bmipn32"
   6102 	  ;;
   6103 	*64-bit*)
   6104 	  LD="${LD-ld} -melf64bmip"
   6105 	;;
   6106       esac
   6107     else
   6108       case `/usr/bin/file conftest.$ac_objext` in
   6109 	*32-bit*)
   6110 	  LD="${LD-ld} -32"
   6111 	  ;;
   6112 	*N32*)
   6113 	  LD="${LD-ld} -n32"
   6114 	  ;;
   6115 	*64-bit*)
   6116 	  LD="${LD-ld} -64"
   6117 	  ;;
   6118       esac
   6119     fi
   6120   fi
   6121   rm -rf conftest*
   6122   ;;
   6123 
   6124 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   6125 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6126   # Find out which ABI we are using.
   6127   echo 'int i;' > conftest.$ac_ext
   6128   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6129   (eval $ac_compile) 2>&5
   6130   ac_status=$?
   6131   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6132   test $ac_status = 0; }; then
   6133     case `/usr/bin/file conftest.o` in
   6134       *32-bit*)
   6135 	case $host in
   6136 	  x86_64-*kfreebsd*-gnu)
   6137 	    LD="${LD-ld} -m elf_i386_fbsd"
   6138 	    ;;
   6139 	  x86_64-*linux*)
   6140 	    LD="${LD-ld} -m elf_i386"
   6141 	    ;;
   6142 	  ppc64-*linux*|powerpc64-*linux*)
   6143 	    LD="${LD-ld} -m elf32ppclinux"
   6144 	    ;;
   6145 	  s390x-*linux*)
   6146 	    LD="${LD-ld} -m elf_s390"
   6147 	    ;;
   6148 	  sparc64-*linux*)
   6149 	    LD="${LD-ld} -m elf32_sparc"
   6150 	    ;;
   6151 	esac
   6152 	;;
   6153       *64-bit*)
   6154 	case $host in
   6155 	  x86_64-*kfreebsd*-gnu)
   6156 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6157 	    ;;
   6158 	  x86_64-*linux*)
   6159 	    LD="${LD-ld} -m elf_x86_64"
   6160 	    ;;
   6161 	  ppc*-*linux*|powerpc*-*linux*)
   6162 	    LD="${LD-ld} -m elf64ppc"
   6163 	    ;;
   6164 	  s390*-*linux*|s390*-*tpf*)
   6165 	    LD="${LD-ld} -m elf64_s390"
   6166 	    ;;
   6167 	  sparc*-*linux*)
   6168 	    LD="${LD-ld} -m elf64_sparc"
   6169 	    ;;
   6170 	esac
   6171 	;;
   6172     esac
   6173   fi
   6174   rm -rf conftest*
   6175   ;;
   6176 
   6177 *-*-sco3.2v5*)
   6178   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6179   SAVE_CFLAGS="$CFLAGS"
   6180   CFLAGS="$CFLAGS -belf"
   6181   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   6182 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6183 if ${lt_cv_cc_needs_belf+:} false; then :
   6184   $as_echo_n "(cached) " >&6
   6185 else
   6186   ac_ext=c
   6187 ac_cpp='$CPP $CPPFLAGS'
   6188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6191 
   6192      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6193 /* end confdefs.h.  */
   6194 
   6195 int
   6196 main ()
   6197 {
   6198 
   6199   ;
   6200   return 0;
   6201 }
   6202 _ACEOF
   6203 if ac_fn_c_try_link "$LINENO"; then :
   6204   lt_cv_cc_needs_belf=yes
   6205 else
   6206   lt_cv_cc_needs_belf=no
   6207 fi
   6208 rm -f core conftest.err conftest.$ac_objext \
   6209     conftest$ac_exeext conftest.$ac_ext
   6210      ac_ext=c
   6211 ac_cpp='$CPP $CPPFLAGS'
   6212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6215 
   6216 fi
   6217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   6218 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   6219   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   6220     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   6221     CFLAGS="$SAVE_CFLAGS"
   6222   fi
   6223   ;;
   6224 sparc*-*solaris*)
   6225   # Find out which ABI we are using.
   6226   echo 'int i;' > conftest.$ac_ext
   6227   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6228   (eval $ac_compile) 2>&5
   6229   ac_status=$?
   6230   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6231   test $ac_status = 0; }; then
   6232     case `/usr/bin/file conftest.o` in
   6233     *64-bit*)
   6234       case $lt_cv_prog_gnu_ld in
   6235       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   6236       *)
   6237 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   6238 	  LD="${LD-ld} -64"
   6239 	fi
   6240 	;;
   6241       esac
   6242       ;;
   6243     esac
   6244   fi
   6245   rm -rf conftest*
   6246   ;;
   6247 esac
   6248 
   6249 need_locks="$enable_libtool_lock"
   6250 
   6251 if test -n "$ac_tool_prefix"; then
   6252   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   6253 set dummy ${ac_tool_prefix}mt; ac_word=$2
   6254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6255 $as_echo_n "checking for $ac_word... " >&6; }
   6256 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   6257   $as_echo_n "(cached) " >&6
   6258 else
   6259   if test -n "$MANIFEST_TOOL"; then
   6260   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   6261 else
   6262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6263 for as_dir in $PATH
   6264 do
   6265   IFS=$as_save_IFS
   6266   test -z "$as_dir" && as_dir=.
   6267     for ac_exec_ext in '' $ac_executable_extensions; do
   6268   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6269     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   6270     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6271     break 2
   6272   fi
   6273 done
   6274   done
   6275 IFS=$as_save_IFS
   6276 
   6277 fi
   6278 fi
   6279 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   6280 if test -n "$MANIFEST_TOOL"; then
   6281   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   6282 $as_echo "$MANIFEST_TOOL" >&6; }
   6283 else
   6284   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6285 $as_echo "no" >&6; }
   6286 fi
   6287 
   6288 
   6289 fi
   6290 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   6291   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   6292   # Extract the first word of "mt", so it can be a program name with args.
   6293 set dummy mt; ac_word=$2
   6294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6295 $as_echo_n "checking for $ac_word... " >&6; }
   6296 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   6297   $as_echo_n "(cached) " >&6
   6298 else
   6299   if test -n "$ac_ct_MANIFEST_TOOL"; then
   6300   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   6301 else
   6302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6303 for as_dir in $PATH
   6304 do
   6305   IFS=$as_save_IFS
   6306   test -z "$as_dir" && as_dir=.
   6307     for ac_exec_ext in '' $ac_executable_extensions; do
   6308   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6309     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   6310     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6311     break 2
   6312   fi
   6313 done
   6314   done
   6315 IFS=$as_save_IFS
   6316 
   6317 fi
   6318 fi
   6319 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   6320 if test -n "$ac_ct_MANIFEST_TOOL"; then
   6321   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   6322 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   6323 else
   6324   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6325 $as_echo "no" >&6; }
   6326 fi
   6327 
   6328   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   6329     MANIFEST_TOOL=":"
   6330   else
   6331     case $cross_compiling:$ac_tool_warned in
   6332 yes:)
   6333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6334 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6335 ac_tool_warned=yes ;;
   6336 esac
   6337     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   6338   fi
   6339 else
   6340   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   6341 fi
   6342 
   6343 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   6344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   6345 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   6346 if ${lt_cv_path_mainfest_tool+:} false; then :
   6347   $as_echo_n "(cached) " >&6
   6348 else
   6349   lt_cv_path_mainfest_tool=no
   6350   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   6351   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   6352   cat conftest.err >&5
   6353   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   6354     lt_cv_path_mainfest_tool=yes
   6355   fi
   6356   rm -f conftest*
   6357 fi
   6358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   6359 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   6360 if test "x$lt_cv_path_mainfest_tool" != xyes; then
   6361   MANIFEST_TOOL=:
   6362 fi
   6363 
   6364 
   6365 
   6366 
   6367 
   6368 
   6369   case $host_os in
   6370     rhapsody* | darwin*)
   6371     if test -n "$ac_tool_prefix"; then
   6372   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   6373 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   6374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6375 $as_echo_n "checking for $ac_word... " >&6; }
   6376 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   6377   $as_echo_n "(cached) " >&6
   6378 else
   6379   if test -n "$DSYMUTIL"; then
   6380   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   6381 else
   6382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6383 for as_dir in $PATH
   6384 do
   6385   IFS=$as_save_IFS
   6386   test -z "$as_dir" && as_dir=.
   6387     for ac_exec_ext in '' $ac_executable_extensions; do
   6388   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6389     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   6390     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6391     break 2
   6392   fi
   6393 done
   6394   done
   6395 IFS=$as_save_IFS
   6396 
   6397 fi
   6398 fi
   6399 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   6400 if test -n "$DSYMUTIL"; then
   6401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   6402 $as_echo "$DSYMUTIL" >&6; }
   6403 else
   6404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6405 $as_echo "no" >&6; }
   6406 fi
   6407 
   6408 
   6409 fi
   6410 if test -z "$ac_cv_prog_DSYMUTIL"; then
   6411   ac_ct_DSYMUTIL=$DSYMUTIL
   6412   # Extract the first word of "dsymutil", so it can be a program name with args.
   6413 set dummy dsymutil; ac_word=$2
   6414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6415 $as_echo_n "checking for $ac_word... " >&6; }
   6416 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   6417   $as_echo_n "(cached) " >&6
   6418 else
   6419   if test -n "$ac_ct_DSYMUTIL"; then
   6420   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   6421 else
   6422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6423 for as_dir in $PATH
   6424 do
   6425   IFS=$as_save_IFS
   6426   test -z "$as_dir" && as_dir=.
   6427     for ac_exec_ext in '' $ac_executable_extensions; do
   6428   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6429     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   6430     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6431     break 2
   6432   fi
   6433 done
   6434   done
   6435 IFS=$as_save_IFS
   6436 
   6437 fi
   6438 fi
   6439 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   6440 if test -n "$ac_ct_DSYMUTIL"; then
   6441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   6442 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   6443 else
   6444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6445 $as_echo "no" >&6; }
   6446 fi
   6447 
   6448   if test "x$ac_ct_DSYMUTIL" = x; then
   6449     DSYMUTIL=":"
   6450   else
   6451     case $cross_compiling:$ac_tool_warned in
   6452 yes:)
   6453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6454 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6455 ac_tool_warned=yes ;;
   6456 esac
   6457     DSYMUTIL=$ac_ct_DSYMUTIL
   6458   fi
   6459 else
   6460   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   6461 fi
   6462 
   6463     if test -n "$ac_tool_prefix"; then
   6464   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   6465 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   6466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6467 $as_echo_n "checking for $ac_word... " >&6; }
   6468 if ${ac_cv_prog_NMEDIT+:} false; then :
   6469   $as_echo_n "(cached) " >&6
   6470 else
   6471   if test -n "$NMEDIT"; then
   6472   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   6473 else
   6474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6475 for as_dir in $PATH
   6476 do
   6477   IFS=$as_save_IFS
   6478   test -z "$as_dir" && as_dir=.
   6479     for ac_exec_ext in '' $ac_executable_extensions; do
   6480   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6481     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   6482     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6483     break 2
   6484   fi
   6485 done
   6486   done
   6487 IFS=$as_save_IFS
   6488 
   6489 fi
   6490 fi
   6491 NMEDIT=$ac_cv_prog_NMEDIT
   6492 if test -n "$NMEDIT"; then
   6493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   6494 $as_echo "$NMEDIT" >&6; }
   6495 else
   6496   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6497 $as_echo "no" >&6; }
   6498 fi
   6499 
   6500 
   6501 fi
   6502 if test -z "$ac_cv_prog_NMEDIT"; then
   6503   ac_ct_NMEDIT=$NMEDIT
   6504   # Extract the first word of "nmedit", so it can be a program name with args.
   6505 set dummy nmedit; ac_word=$2
   6506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6507 $as_echo_n "checking for $ac_word... " >&6; }
   6508 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   6509   $as_echo_n "(cached) " >&6
   6510 else
   6511   if test -n "$ac_ct_NMEDIT"; then
   6512   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   6513 else
   6514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6515 for as_dir in $PATH
   6516 do
   6517   IFS=$as_save_IFS
   6518   test -z "$as_dir" && as_dir=.
   6519     for ac_exec_ext in '' $ac_executable_extensions; do
   6520   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6521     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   6522     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6523     break 2
   6524   fi
   6525 done
   6526   done
   6527 IFS=$as_save_IFS
   6528 
   6529 fi
   6530 fi
   6531 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   6532 if test -n "$ac_ct_NMEDIT"; then
   6533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   6534 $as_echo "$ac_ct_NMEDIT" >&6; }
   6535 else
   6536   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6537 $as_echo "no" >&6; }
   6538 fi
   6539 
   6540   if test "x$ac_ct_NMEDIT" = x; then
   6541     NMEDIT=":"
   6542   else
   6543     case $cross_compiling:$ac_tool_warned in
   6544 yes:)
   6545 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6546 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6547 ac_tool_warned=yes ;;
   6548 esac
   6549     NMEDIT=$ac_ct_NMEDIT
   6550   fi
   6551 else
   6552   NMEDIT="$ac_cv_prog_NMEDIT"
   6553 fi
   6554 
   6555     if test -n "$ac_tool_prefix"; then
   6556   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   6557 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   6558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6559 $as_echo_n "checking for $ac_word... " >&6; }
   6560 if ${ac_cv_prog_LIPO+:} false; then :
   6561   $as_echo_n "(cached) " >&6
   6562 else
   6563   if test -n "$LIPO"; then
   6564   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   6565 else
   6566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6567 for as_dir in $PATH
   6568 do
   6569   IFS=$as_save_IFS
   6570   test -z "$as_dir" && as_dir=.
   6571     for ac_exec_ext in '' $ac_executable_extensions; do
   6572   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6573     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   6574     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6575     break 2
   6576   fi
   6577 done
   6578   done
   6579 IFS=$as_save_IFS
   6580 
   6581 fi
   6582 fi
   6583 LIPO=$ac_cv_prog_LIPO
   6584 if test -n "$LIPO"; then
   6585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   6586 $as_echo "$LIPO" >&6; }
   6587 else
   6588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6589 $as_echo "no" >&6; }
   6590 fi
   6591 
   6592 
   6593 fi
   6594 if test -z "$ac_cv_prog_LIPO"; then
   6595   ac_ct_LIPO=$LIPO
   6596   # Extract the first word of "lipo", so it can be a program name with args.
   6597 set dummy lipo; ac_word=$2
   6598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6599 $as_echo_n "checking for $ac_word... " >&6; }
   6600 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   6601   $as_echo_n "(cached) " >&6
   6602 else
   6603   if test -n "$ac_ct_LIPO"; then
   6604   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   6605 else
   6606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6607 for as_dir in $PATH
   6608 do
   6609   IFS=$as_save_IFS
   6610   test -z "$as_dir" && as_dir=.
   6611     for ac_exec_ext in '' $ac_executable_extensions; do
   6612   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6613     ac_cv_prog_ac_ct_LIPO="lipo"
   6614     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6615     break 2
   6616   fi
   6617 done
   6618   done
   6619 IFS=$as_save_IFS
   6620 
   6621 fi
   6622 fi
   6623 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   6624 if test -n "$ac_ct_LIPO"; then
   6625   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   6626 $as_echo "$ac_ct_LIPO" >&6; }
   6627 else
   6628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6629 $as_echo "no" >&6; }
   6630 fi
   6631 
   6632   if test "x$ac_ct_LIPO" = x; then
   6633     LIPO=":"
   6634   else
   6635     case $cross_compiling:$ac_tool_warned in
   6636 yes:)
   6637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6638 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6639 ac_tool_warned=yes ;;
   6640 esac
   6641     LIPO=$ac_ct_LIPO
   6642   fi
   6643 else
   6644   LIPO="$ac_cv_prog_LIPO"
   6645 fi
   6646 
   6647     if test -n "$ac_tool_prefix"; then
   6648   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   6649 set dummy ${ac_tool_prefix}otool; ac_word=$2
   6650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6651 $as_echo_n "checking for $ac_word... " >&6; }
   6652 if ${ac_cv_prog_OTOOL+:} false; then :
   6653   $as_echo_n "(cached) " >&6
   6654 else
   6655   if test -n "$OTOOL"; then
   6656   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   6657 else
   6658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6659 for as_dir in $PATH
   6660 do
   6661   IFS=$as_save_IFS
   6662   test -z "$as_dir" && as_dir=.
   6663     for ac_exec_ext in '' $ac_executable_extensions; do
   6664   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6665     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   6666     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6667     break 2
   6668   fi
   6669 done
   6670   done
   6671 IFS=$as_save_IFS
   6672 
   6673 fi
   6674 fi
   6675 OTOOL=$ac_cv_prog_OTOOL
   6676 if test -n "$OTOOL"; then
   6677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   6678 $as_echo "$OTOOL" >&6; }
   6679 else
   6680   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6681 $as_echo "no" >&6; }
   6682 fi
   6683 
   6684 
   6685 fi
   6686 if test -z "$ac_cv_prog_OTOOL"; then
   6687   ac_ct_OTOOL=$OTOOL
   6688   # Extract the first word of "otool", so it can be a program name with args.
   6689 set dummy otool; ac_word=$2
   6690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6691 $as_echo_n "checking for $ac_word... " >&6; }
   6692 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   6693   $as_echo_n "(cached) " >&6
   6694 else
   6695   if test -n "$ac_ct_OTOOL"; then
   6696   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   6697 else
   6698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6699 for as_dir in $PATH
   6700 do
   6701   IFS=$as_save_IFS
   6702   test -z "$as_dir" && as_dir=.
   6703     for ac_exec_ext in '' $ac_executable_extensions; do
   6704   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6705     ac_cv_prog_ac_ct_OTOOL="otool"
   6706     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6707     break 2
   6708   fi
   6709 done
   6710   done
   6711 IFS=$as_save_IFS
   6712 
   6713 fi
   6714 fi
   6715 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   6716 if test -n "$ac_ct_OTOOL"; then
   6717   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   6718 $as_echo "$ac_ct_OTOOL" >&6; }
   6719 else
   6720   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6721 $as_echo "no" >&6; }
   6722 fi
   6723 
   6724   if test "x$ac_ct_OTOOL" = x; then
   6725     OTOOL=":"
   6726   else
   6727     case $cross_compiling:$ac_tool_warned in
   6728 yes:)
   6729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6730 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6731 ac_tool_warned=yes ;;
   6732 esac
   6733     OTOOL=$ac_ct_OTOOL
   6734   fi
   6735 else
   6736   OTOOL="$ac_cv_prog_OTOOL"
   6737 fi
   6738 
   6739     if test -n "$ac_tool_prefix"; then
   6740   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   6741 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   6742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6743 $as_echo_n "checking for $ac_word... " >&6; }
   6744 if ${ac_cv_prog_OTOOL64+:} false; then :
   6745   $as_echo_n "(cached) " >&6
   6746 else
   6747   if test -n "$OTOOL64"; then
   6748   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   6749 else
   6750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6751 for as_dir in $PATH
   6752 do
   6753   IFS=$as_save_IFS
   6754   test -z "$as_dir" && as_dir=.
   6755     for ac_exec_ext in '' $ac_executable_extensions; do
   6756   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6757     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   6758     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6759     break 2
   6760   fi
   6761 done
   6762   done
   6763 IFS=$as_save_IFS
   6764 
   6765 fi
   6766 fi
   6767 OTOOL64=$ac_cv_prog_OTOOL64
   6768 if test -n "$OTOOL64"; then
   6769   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   6770 $as_echo "$OTOOL64" >&6; }
   6771 else
   6772   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6773 $as_echo "no" >&6; }
   6774 fi
   6775 
   6776 
   6777 fi
   6778 if test -z "$ac_cv_prog_OTOOL64"; then
   6779   ac_ct_OTOOL64=$OTOOL64
   6780   # Extract the first word of "otool64", so it can be a program name with args.
   6781 set dummy otool64; ac_word=$2
   6782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6783 $as_echo_n "checking for $ac_word... " >&6; }
   6784 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   6785   $as_echo_n "(cached) " >&6
   6786 else
   6787   if test -n "$ac_ct_OTOOL64"; then
   6788   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   6789 else
   6790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6791 for as_dir in $PATH
   6792 do
   6793   IFS=$as_save_IFS
   6794   test -z "$as_dir" && as_dir=.
   6795     for ac_exec_ext in '' $ac_executable_extensions; do
   6796   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6797     ac_cv_prog_ac_ct_OTOOL64="otool64"
   6798     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6799     break 2
   6800   fi
   6801 done
   6802   done
   6803 IFS=$as_save_IFS
   6804 
   6805 fi
   6806 fi
   6807 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   6808 if test -n "$ac_ct_OTOOL64"; then
   6809   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   6810 $as_echo "$ac_ct_OTOOL64" >&6; }
   6811 else
   6812   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6813 $as_echo "no" >&6; }
   6814 fi
   6815 
   6816   if test "x$ac_ct_OTOOL64" = x; then
   6817     OTOOL64=":"
   6818   else
   6819     case $cross_compiling:$ac_tool_warned in
   6820 yes:)
   6821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6822 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6823 ac_tool_warned=yes ;;
   6824 esac
   6825     OTOOL64=$ac_ct_OTOOL64
   6826   fi
   6827 else
   6828   OTOOL64="$ac_cv_prog_OTOOL64"
   6829 fi
   6830 
   6831 
   6832 
   6833 
   6834 
   6835 
   6836 
   6837 
   6838 
   6839 
   6840 
   6841 
   6842 
   6843 
   6844 
   6845 
   6846 
   6847 
   6848 
   6849 
   6850 
   6851 
   6852 
   6853 
   6854 
   6855 
   6856 
   6857     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   6858 $as_echo_n "checking for -single_module linker flag... " >&6; }
   6859 if ${lt_cv_apple_cc_single_mod+:} false; then :
   6860   $as_echo_n "(cached) " >&6
   6861 else
   6862   lt_cv_apple_cc_single_mod=no
   6863       if test -z "${LT_MULTI_MODULE}"; then
   6864 	# By default we will add the -single_module flag. You can override
   6865 	# by either setting the environment variable LT_MULTI_MODULE
   6866 	# non-empty at configure time, or by adding -multi_module to the
   6867 	# link flags.
   6868 	rm -rf libconftest.dylib*
   6869 	echo "int foo(void){return 1;}" > conftest.c
   6870 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   6871 -dynamiclib -Wl,-single_module conftest.c" >&5
   6872 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   6873 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   6874         _lt_result=$?
   6875 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
   6876 	  lt_cv_apple_cc_single_mod=yes
   6877 	else
   6878 	  cat conftest.err >&5
   6879 	fi
   6880 	rm -rf libconftest.dylib*
   6881 	rm -f conftest.*
   6882       fi
   6883 fi
   6884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   6885 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   6886     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   6887 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   6888 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   6889   $as_echo_n "(cached) " >&6
   6890 else
   6891   lt_cv_ld_exported_symbols_list=no
   6892       save_LDFLAGS=$LDFLAGS
   6893       echo "_main" > conftest.sym
   6894       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   6895       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6896 /* end confdefs.h.  */
   6897 
   6898 int
   6899 main ()
   6900 {
   6901 
   6902   ;
   6903   return 0;
   6904 }
   6905 _ACEOF
   6906 if ac_fn_c_try_link "$LINENO"; then :
   6907   lt_cv_ld_exported_symbols_list=yes
   6908 else
   6909   lt_cv_ld_exported_symbols_list=no
   6910 fi
   6911 rm -f core conftest.err conftest.$ac_objext \
   6912     conftest$ac_exeext conftest.$ac_ext
   6913 	LDFLAGS="$save_LDFLAGS"
   6914 
   6915 fi
   6916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   6917 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   6918     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   6919 $as_echo_n "checking for -force_load linker flag... " >&6; }
   6920 if ${lt_cv_ld_force_load+:} false; then :
   6921   $as_echo_n "(cached) " >&6
   6922 else
   6923   lt_cv_ld_force_load=no
   6924       cat > conftest.c << _LT_EOF
   6925 int forced_loaded() { return 2;}
   6926 _LT_EOF
   6927       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   6928       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   6929       echo "$AR cru libconftest.a conftest.o" >&5
   6930       $AR cru libconftest.a conftest.o 2>&5
   6931       echo "$RANLIB libconftest.a" >&5
   6932       $RANLIB libconftest.a 2>&5
   6933       cat > conftest.c << _LT_EOF
   6934 int main() { return 0;}
   6935 _LT_EOF
   6936       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   6937       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   6938       _lt_result=$?
   6939       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
   6940 	lt_cv_ld_force_load=yes
   6941       else
   6942 	cat conftest.err >&5
   6943       fi
   6944         rm -f conftest.err libconftest.a conftest conftest.c
   6945         rm -rf conftest.dSYM
   6946 
   6947 fi
   6948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   6949 $as_echo "$lt_cv_ld_force_load" >&6; }
   6950     case $host_os in
   6951     rhapsody* | darwin1.[012])
   6952       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   6953     darwin1.*)
   6954       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   6955     darwin*) # darwin 5.x on
   6956       # if running on 10.5 or later, the deployment target defaults
   6957       # to the OS version, if on x86, and 10.4, the deployment
   6958       # target defaults to 10.4. Don't you love it?
   6959       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   6960 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   6961 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   6962 	10.[012]*)
   6963 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   6964 	10.*)
   6965 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   6966       esac
   6967     ;;
   6968   esac
   6969     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   6970       _lt_dar_single_mod='$single_module'
   6971     fi
   6972     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   6973       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   6974     else
   6975       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   6976     fi
   6977     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   6978       _lt_dsymutil='~$DSYMUTIL $lib || :'
   6979     else
   6980       _lt_dsymutil=
   6981     fi
   6982     ;;
   6983   esac
   6984 
   6985 ac_ext=c
   6986 ac_cpp='$CPP $CPPFLAGS'
   6987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   6991 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   6992 # On Suns, sometimes $CPP names a directory.
   6993 if test -n "$CPP" && test -d "$CPP"; then
   6994   CPP=
   6995 fi
   6996 if test -z "$CPP"; then
   6997   if ${ac_cv_prog_CPP+:} false; then :
   6998   $as_echo_n "(cached) " >&6
   6999 else
   7000       # Double quotes because CPP needs to be expanded
   7001     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   7002     do
   7003       ac_preproc_ok=false
   7004 for ac_c_preproc_warn_flag in '' yes
   7005 do
   7006   # Use a header file that comes with gcc, so configuring glibc
   7007   # with a fresh cross-compiler works.
   7008   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7009   # <limits.h> exists even on freestanding compilers.
   7010   # On the NeXT, cc -E runs the code through the compiler's parser,
   7011   # not just through cpp. "Syntax error" is here to catch this case.
   7012   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7013 /* end confdefs.h.  */
   7014 #ifdef __STDC__
   7015 # include <limits.h>
   7016 #else
   7017 # include <assert.h>
   7018 #endif
   7019 		     Syntax error
   7020 _ACEOF
   7021 if ac_fn_c_try_cpp "$LINENO"; then :
   7022 
   7023 else
   7024   # Broken: fails on valid input.
   7025 continue
   7026 fi
   7027 rm -f conftest.err conftest.i conftest.$ac_ext
   7028 
   7029   # OK, works on sane cases.  Now check whether nonexistent headers
   7030   # can be detected and how.
   7031   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7032 /* end confdefs.h.  */
   7033 #include <ac_nonexistent.h>
   7034 _ACEOF
   7035 if ac_fn_c_try_cpp "$LINENO"; then :
   7036   # Broken: success on invalid input.
   7037 continue
   7038 else
   7039   # Passes both tests.
   7040 ac_preproc_ok=:
   7041 break
   7042 fi
   7043 rm -f conftest.err conftest.i conftest.$ac_ext
   7044 
   7045 done
   7046 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7047 rm -f conftest.i conftest.err conftest.$ac_ext
   7048 if $ac_preproc_ok; then :
   7049   break
   7050 fi
   7051 
   7052     done
   7053     ac_cv_prog_CPP=$CPP
   7054 
   7055 fi
   7056   CPP=$ac_cv_prog_CPP
   7057 else
   7058   ac_cv_prog_CPP=$CPP
   7059 fi
   7060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   7061 $as_echo "$CPP" >&6; }
   7062 ac_preproc_ok=false
   7063 for ac_c_preproc_warn_flag in '' yes
   7064 do
   7065   # Use a header file that comes with gcc, so configuring glibc
   7066   # with a fresh cross-compiler works.
   7067   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7068   # <limits.h> exists even on freestanding compilers.
   7069   # On the NeXT, cc -E runs the code through the compiler's parser,
   7070   # not just through cpp. "Syntax error" is here to catch this case.
   7071   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7072 /* end confdefs.h.  */
   7073 #ifdef __STDC__
   7074 # include <limits.h>
   7075 #else
   7076 # include <assert.h>
   7077 #endif
   7078 		     Syntax error
   7079 _ACEOF
   7080 if ac_fn_c_try_cpp "$LINENO"; then :
   7081 
   7082 else
   7083   # Broken: fails on valid input.
   7084 continue
   7085 fi
   7086 rm -f conftest.err conftest.i conftest.$ac_ext
   7087 
   7088   # OK, works on sane cases.  Now check whether nonexistent headers
   7089   # can be detected and how.
   7090   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7091 /* end confdefs.h.  */
   7092 #include <ac_nonexistent.h>
   7093 _ACEOF
   7094 if ac_fn_c_try_cpp "$LINENO"; then :
   7095   # Broken: success on invalid input.
   7096 continue
   7097 else
   7098   # Passes both tests.
   7099 ac_preproc_ok=:
   7100 break
   7101 fi
   7102 rm -f conftest.err conftest.i conftest.$ac_ext
   7103 
   7104 done
   7105 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7106 rm -f conftest.i conftest.err conftest.$ac_ext
   7107 if $ac_preproc_ok; then :
   7108 
   7109 else
   7110   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   7111 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   7112 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   7113 See \`config.log' for more details" "$LINENO" 5; }
   7114 fi
   7115 
   7116 ac_ext=c
   7117 ac_cpp='$CPP $CPPFLAGS'
   7118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7121 
   7122 
   7123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   7124 $as_echo_n "checking for ANSI C header files... " >&6; }
   7125 if ${ac_cv_header_stdc+:} false; then :
   7126   $as_echo_n "(cached) " >&6
   7127 else
   7128   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7129 /* end confdefs.h.  */
   7130 #include <stdlib.h>
   7131 #include <stdarg.h>
   7132 #include <string.h>
   7133 #include <float.h>
   7134 
   7135 int
   7136 main ()
   7137 {
   7138 
   7139   ;
   7140   return 0;
   7141 }
   7142 _ACEOF
   7143 if ac_fn_c_try_compile "$LINENO"; then :
   7144   ac_cv_header_stdc=yes
   7145 else
   7146   ac_cv_header_stdc=no
   7147 fi
   7148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7149 
   7150 if test $ac_cv_header_stdc = yes; then
   7151   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   7152   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7153 /* end confdefs.h.  */
   7154 #include <string.h>
   7155 
   7156 _ACEOF
   7157 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7158   $EGREP "memchr" >/dev/null 2>&1; then :
   7159 
   7160 else
   7161   ac_cv_header_stdc=no
   7162 fi
   7163 rm -f conftest*
   7164 
   7165 fi
   7166 
   7167 if test $ac_cv_header_stdc = yes; then
   7168   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   7169   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7170 /* end confdefs.h.  */
   7171 #include <stdlib.h>
   7172 
   7173 _ACEOF
   7174 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7175   $EGREP "free" >/dev/null 2>&1; then :
   7176 
   7177 else
   7178   ac_cv_header_stdc=no
   7179 fi
   7180 rm -f conftest*
   7181 
   7182 fi
   7183 
   7184 if test $ac_cv_header_stdc = yes; then
   7185   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   7186   if test "$cross_compiling" = yes; then :
   7187   :
   7188 else
   7189   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7190 /* end confdefs.h.  */
   7191 #include <ctype.h>
   7192 #include <stdlib.h>
   7193 #if ((' ' & 0x0FF) == 0x020)
   7194 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   7195 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   7196 #else
   7197 # define ISLOWER(c) \
   7198 		   (('a' <= (c) && (c) <= 'i') \
   7199 		     || ('j' <= (c) && (c) <= 'r') \
   7200 		     || ('s' <= (c) && (c) <= 'z'))
   7201 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   7202 #endif
   7203 
   7204 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   7205 int
   7206 main ()
   7207 {
   7208   int i;
   7209   for (i = 0; i < 256; i++)
   7210     if (XOR (islower (i), ISLOWER (i))
   7211 	|| toupper (i) != TOUPPER (i))
   7212       return 2;
   7213   return 0;
   7214 }
   7215 _ACEOF
   7216 if ac_fn_c_try_run "$LINENO"; then :
   7217 
   7218 else
   7219   ac_cv_header_stdc=no
   7220 fi
   7221 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   7222   conftest.$ac_objext conftest.beam conftest.$ac_ext
   7223 fi
   7224 
   7225 fi
   7226 fi
   7227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   7228 $as_echo "$ac_cv_header_stdc" >&6; }
   7229 if test $ac_cv_header_stdc = yes; then
   7230 
   7231 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   7232 
   7233 fi
   7234 
   7235 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   7236 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   7237 		  inttypes.h stdint.h unistd.h
   7238 do :
   7239   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   7240 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   7241 "
   7242 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   7243   cat >>confdefs.h <<_ACEOF
   7244 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   7245 _ACEOF
   7246 
   7247 fi
   7248 
   7249 done
   7250 
   7251 
   7252 for ac_header in dlfcn.h
   7253 do :
   7254   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7255 "
   7256 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   7257   cat >>confdefs.h <<_ACEOF
   7258 #define HAVE_DLFCN_H 1
   7259 _ACEOF
   7260 
   7261 fi
   7262 
   7263 done
   7264 
   7265 
   7266 
   7267 
   7268 
   7269 # Set options
   7270 
   7271 
   7272 
   7273         enable_dlopen=no
   7274 
   7275 
   7276   enable_win32_dll=no
   7277 
   7278 
   7279             # Check whether --enable-shared was given.
   7280 if test "${enable_shared+set}" = set; then :
   7281   enableval=$enable_shared; p=${PACKAGE-default}
   7282     case $enableval in
   7283     yes) enable_shared=yes ;;
   7284     no) enable_shared=no ;;
   7285     *)
   7286       enable_shared=no
   7287       # Look at the argument we got.  We use all the common list separators.
   7288       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7289       for pkg in $enableval; do
   7290 	IFS="$lt_save_ifs"
   7291 	if test "X$pkg" = "X$p"; then
   7292 	  enable_shared=yes
   7293 	fi
   7294       done
   7295       IFS="$lt_save_ifs"
   7296       ;;
   7297     esac
   7298 else
   7299   enable_shared=yes
   7300 fi
   7301 
   7302 
   7303 
   7304 
   7305 
   7306 
   7307 
   7308 
   7309 
   7310   # Check whether --enable-static was given.
   7311 if test "${enable_static+set}" = set; then :
   7312   enableval=$enable_static; p=${PACKAGE-default}
   7313     case $enableval in
   7314     yes) enable_static=yes ;;
   7315     no) enable_static=no ;;
   7316     *)
   7317      enable_static=no
   7318       # Look at the argument we got.  We use all the common list separators.
   7319       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7320       for pkg in $enableval; do
   7321 	IFS="$lt_save_ifs"
   7322 	if test "X$pkg" = "X$p"; then
   7323 	  enable_static=yes
   7324 	fi
   7325       done
   7326       IFS="$lt_save_ifs"
   7327       ;;
   7328     esac
   7329 else
   7330   enable_static=yes
   7331 fi
   7332 
   7333 
   7334 
   7335 
   7336 
   7337 
   7338 
   7339 
   7340 
   7341 
   7342 # Check whether --with-pic was given.
   7343 if test "${with_pic+set}" = set; then :
   7344   withval=$with_pic; pic_mode="$withval"
   7345 else
   7346   pic_mode=default
   7347 fi
   7348 
   7349 
   7350 test -z "$pic_mode" && pic_mode=default
   7351 
   7352 
   7353 
   7354 
   7355 
   7356 
   7357 
   7358   # Check whether --enable-fast-install was given.
   7359 if test "${enable_fast_install+set}" = set; then :
   7360   enableval=$enable_fast_install; p=${PACKAGE-default}
   7361     case $enableval in
   7362     yes) enable_fast_install=yes ;;
   7363     no) enable_fast_install=no ;;
   7364     *)
   7365       enable_fast_install=no
   7366       # Look at the argument we got.  We use all the common list separators.
   7367       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7368       for pkg in $enableval; do
   7369 	IFS="$lt_save_ifs"
   7370 	if test "X$pkg" = "X$p"; then
   7371 	  enable_fast_install=yes
   7372 	fi
   7373       done
   7374       IFS="$lt_save_ifs"
   7375       ;;
   7376     esac
   7377 else
   7378   enable_fast_install=yes
   7379 fi
   7380 
   7381 
   7382 
   7383 
   7384 
   7385 
   7386 
   7387 
   7388 
   7389 
   7390 
   7391 # This can be used to rebuild libtool when needed
   7392 LIBTOOL_DEPS="$ltmain"
   7393 
   7394 # Always use our own libtool.
   7395 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7396 
   7397 
   7398 
   7399 
   7400 
   7401 
   7402 
   7403 
   7404 
   7405 
   7406 
   7407 
   7408 
   7409 
   7410 
   7411 
   7412 
   7413 
   7414 
   7415 
   7416 
   7417 
   7418 
   7419 
   7420 
   7421 
   7422 test -z "$LN_S" && LN_S="ln -s"
   7423 
   7424 
   7425 
   7426 
   7427 
   7428 
   7429 
   7430 
   7431 
   7432 
   7433 
   7434 
   7435 
   7436 
   7437 if test -n "${ZSH_VERSION+set}" ; then
   7438    setopt NO_GLOB_SUBST
   7439 fi
   7440 
   7441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   7442 $as_echo_n "checking for objdir... " >&6; }
   7443 if ${lt_cv_objdir+:} false; then :
   7444   $as_echo_n "(cached) " >&6
   7445 else
   7446   rm -f .libs 2>/dev/null
   7447 mkdir .libs 2>/dev/null
   7448 if test -d .libs; then
   7449   lt_cv_objdir=.libs
   7450 else
   7451   # MS-DOS does not allow filenames that begin with a dot.
   7452   lt_cv_objdir=_libs
   7453 fi
   7454 rmdir .libs 2>/dev/null
   7455 fi
   7456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   7457 $as_echo "$lt_cv_objdir" >&6; }
   7458 objdir=$lt_cv_objdir
   7459 
   7460 
   7461 
   7462 
   7463 
   7464 cat >>confdefs.h <<_ACEOF
   7465 #define LT_OBJDIR "$lt_cv_objdir/"
   7466 _ACEOF
   7467 
   7468 
   7469 
   7470 
   7471 case $host_os in
   7472 aix3*)
   7473   # AIX sometimes has problems with the GCC collect2 program.  For some
   7474   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7475   # vanish in a puff of smoke.
   7476   if test "X${COLLECT_NAMES+set}" != Xset; then
   7477     COLLECT_NAMES=
   7478     export COLLECT_NAMES
   7479   fi
   7480   ;;
   7481 esac
   7482 
   7483 # Global variables:
   7484 ofile=libtool
   7485 can_build_shared=yes
   7486 
   7487 # All known linkers require a `.a' archive for static linking (except MSVC,
   7488 # which needs '.lib').
   7489 libext=a
   7490 
   7491 with_gnu_ld="$lt_cv_prog_gnu_ld"
   7492 
   7493 old_CC="$CC"
   7494 old_CFLAGS="$CFLAGS"
   7495 
   7496 # Set sane defaults for various variables
   7497 test -z "$CC" && CC=cc
   7498 test -z "$LTCC" && LTCC=$CC
   7499 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7500 test -z "$LD" && LD=ld
   7501 test -z "$ac_objext" && ac_objext=o
   7502 
   7503 for cc_temp in $compiler""; do
   7504   case $cc_temp in
   7505     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7506     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7507     \-*) ;;
   7508     *) break;;
   7509   esac
   7510 done
   7511 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7512 
   7513 
   7514 # Only perform the check for file, if the check method requires it
   7515 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7516 case $deplibs_check_method in
   7517 file_magic*)
   7518   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7519     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   7520 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7521 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7522   $as_echo_n "(cached) " >&6
   7523 else
   7524   case $MAGIC_CMD in
   7525 [\\/*] |  ?:[\\/]*)
   7526   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7527   ;;
   7528 *)
   7529   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7530   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7531   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7532   for ac_dir in $ac_dummy; do
   7533     IFS="$lt_save_ifs"
   7534     test -z "$ac_dir" && ac_dir=.
   7535     if test -f $ac_dir/${ac_tool_prefix}file; then
   7536       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7537       if test -n "$file_magic_test_file"; then
   7538 	case $deplibs_check_method in
   7539 	"file_magic "*)
   7540 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7541 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7542 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7543 	    $EGREP "$file_magic_regex" > /dev/null; then
   7544 	    :
   7545 	  else
   7546 	    cat <<_LT_EOF 1>&2
   7547 
   7548 *** Warning: the command libtool uses to detect shared libraries,
   7549 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7550 *** The result is that libtool may fail to recognize shared libraries
   7551 *** as such.  This will affect the creation of libtool libraries that
   7552 *** depend on shared libraries, but programs linked with such libtool
   7553 *** libraries will work regardless of this problem.  Nevertheless, you
   7554 *** may want to report the problem to your system manager and/or to
   7555 *** bug-libtool@gnu.org
   7556 
   7557 _LT_EOF
   7558 	  fi ;;
   7559 	esac
   7560       fi
   7561       break
   7562     fi
   7563   done
   7564   IFS="$lt_save_ifs"
   7565   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7566   ;;
   7567 esac
   7568 fi
   7569 
   7570 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7571 if test -n "$MAGIC_CMD"; then
   7572   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7573 $as_echo "$MAGIC_CMD" >&6; }
   7574 else
   7575   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7576 $as_echo "no" >&6; }
   7577 fi
   7578 
   7579 
   7580 
   7581 
   7582 
   7583 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7584   if test -n "$ac_tool_prefix"; then
   7585     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   7586 $as_echo_n "checking for file... " >&6; }
   7587 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7588   $as_echo_n "(cached) " >&6
   7589 else
   7590   case $MAGIC_CMD in
   7591 [\\/*] |  ?:[\\/]*)
   7592   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7593   ;;
   7594 *)
   7595   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7596   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7597   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7598   for ac_dir in $ac_dummy; do
   7599     IFS="$lt_save_ifs"
   7600     test -z "$ac_dir" && ac_dir=.
   7601     if test -f $ac_dir/file; then
   7602       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7603       if test -n "$file_magic_test_file"; then
   7604 	case $deplibs_check_method in
   7605 	"file_magic "*)
   7606 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7607 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7608 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7609 	    $EGREP "$file_magic_regex" > /dev/null; then
   7610 	    :
   7611 	  else
   7612 	    cat <<_LT_EOF 1>&2
   7613 
   7614 *** Warning: the command libtool uses to detect shared libraries,
   7615 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7616 *** The result is that libtool may fail to recognize shared libraries
   7617 *** as such.  This will affect the creation of libtool libraries that
   7618 *** depend on shared libraries, but programs linked with such libtool
   7619 *** libraries will work regardless of this problem.  Nevertheless, you
   7620 *** may want to report the problem to your system manager and/or to
   7621 *** bug-libtool@gnu.org
   7622 
   7623 _LT_EOF
   7624 	  fi ;;
   7625 	esac
   7626       fi
   7627       break
   7628     fi
   7629   done
   7630   IFS="$lt_save_ifs"
   7631   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7632   ;;
   7633 esac
   7634 fi
   7635 
   7636 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7637 if test -n "$MAGIC_CMD"; then
   7638   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7639 $as_echo "$MAGIC_CMD" >&6; }
   7640 else
   7641   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7642 $as_echo "no" >&6; }
   7643 fi
   7644 
   7645 
   7646   else
   7647     MAGIC_CMD=:
   7648   fi
   7649 fi
   7650 
   7651   fi
   7652   ;;
   7653 esac
   7654 
   7655 # Use C for the default configuration in the libtool script
   7656 
   7657 lt_save_CC="$CC"
   7658 ac_ext=c
   7659 ac_cpp='$CPP $CPPFLAGS'
   7660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7663 
   7664 
   7665 # Source file extension for C test sources.
   7666 ac_ext=c
   7667 
   7668 # Object file extension for compiled C test sources.
   7669 objext=o
   7670 objext=$objext
   7671 
   7672 # Code to be used in simple compile tests
   7673 lt_simple_compile_test_code="int some_variable = 0;"
   7674 
   7675 # Code to be used in simple link tests
   7676 lt_simple_link_test_code='int main(){return(0);}'
   7677 
   7678 
   7679 
   7680 
   7681 
   7682 
   7683 
   7684 # If no C compiler was specified, use CC.
   7685 LTCC=${LTCC-"$CC"}
   7686 
   7687 # If no C compiler flags were specified, use CFLAGS.
   7688 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7689 
   7690 # Allow CC to be a program name with arguments.
   7691 compiler=$CC
   7692 
   7693 # Save the default compiler, since it gets overwritten when the other
   7694 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   7695 compiler_DEFAULT=$CC
   7696 
   7697 # save warnings/boilerplate of simple test code
   7698 ac_outfile=conftest.$ac_objext
   7699 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7700 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7701 _lt_compiler_boilerplate=`cat conftest.err`
   7702 $RM conftest*
   7703 
   7704 ac_outfile=conftest.$ac_objext
   7705 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7706 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7707 _lt_linker_boilerplate=`cat conftest.err`
   7708 $RM -r conftest*
   7709 
   7710 
   7711 if test -n "$compiler"; then
   7712 
   7713 lt_prog_compiler_no_builtin_flag=
   7714 
   7715 if test "$GCC" = yes; then
   7716   case $cc_basename in
   7717   nvcc*)
   7718     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   7719   *)
   7720     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   7721   esac
   7722 
   7723   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7724 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7725 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   7726   $as_echo_n "(cached) " >&6
   7727 else
   7728   lt_cv_prog_compiler_rtti_exceptions=no
   7729    ac_outfile=conftest.$ac_objext
   7730    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7731    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7732    # Insert the option either (1) after the last *FLAGS variable, or
   7733    # (2) before a word containing "conftest.", or (3) at the end.
   7734    # Note that $ac_compile itself does not contain backslashes and begins
   7735    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7736    # The option is referenced via a variable to avoid confusing sed.
   7737    lt_compile=`echo "$ac_compile" | $SED \
   7738    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7739    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7740    -e 's:$: $lt_compiler_flag:'`
   7741    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   7742    (eval "$lt_compile" 2>conftest.err)
   7743    ac_status=$?
   7744    cat conftest.err >&5
   7745    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7746    if (exit $ac_status) && test -s "$ac_outfile"; then
   7747      # The compiler can only warn and ignore the option if not recognized
   7748      # So say no if there are warnings other than the usual output.
   7749      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   7750      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7751      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7752        lt_cv_prog_compiler_rtti_exceptions=yes
   7753      fi
   7754    fi
   7755    $RM conftest*
   7756 
   7757 fi
   7758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7759 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7760 
   7761 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7762     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7763 else
   7764     :
   7765 fi
   7766 
   7767 fi
   7768 
   7769 
   7770 
   7771 
   7772 
   7773 
   7774   lt_prog_compiler_wl=
   7775 lt_prog_compiler_pic=
   7776 lt_prog_compiler_static=
   7777 
   7778 
   7779   if test "$GCC" = yes; then
   7780     lt_prog_compiler_wl='-Wl,'
   7781     lt_prog_compiler_static='-static'
   7782 
   7783     case $host_os in
   7784       aix*)
   7785       # All AIX code is PIC.
   7786       if test "$host_cpu" = ia64; then
   7787 	# AIX 5 now supports IA64 processor
   7788 	lt_prog_compiler_static='-Bstatic'
   7789       fi
   7790       ;;
   7791 
   7792     amigaos*)
   7793       case $host_cpu in
   7794       powerpc)
   7795             # see comment about AmigaOS4 .so support
   7796             lt_prog_compiler_pic='-fPIC'
   7797         ;;
   7798       m68k)
   7799             # FIXME: we need at least 68020 code to build shared libraries, but
   7800             # adding the `-m68020' flag to GCC prevents building anything better,
   7801             # like `-m68040'.
   7802             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7803         ;;
   7804       esac
   7805       ;;
   7806 
   7807     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7808       # PIC is the default for these OSes.
   7809       ;;
   7810 
   7811     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7812       # This hack is so that the source file can tell whether it is being
   7813       # built for inclusion in a dll (and should export symbols for example).
   7814       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7815       # (--disable-auto-import) libraries
   7816       lt_prog_compiler_pic='-DDLL_EXPORT'
   7817       ;;
   7818 
   7819     darwin* | rhapsody*)
   7820       # PIC is the default on this platform
   7821       # Common symbols not allowed in MH_DYLIB files
   7822       lt_prog_compiler_pic='-fno-common'
   7823       ;;
   7824 
   7825     haiku*)
   7826       # PIC is the default for Haiku.
   7827       # The "-static" flag exists, but is broken.
   7828       lt_prog_compiler_static=
   7829       ;;
   7830 
   7831     hpux*)
   7832       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   7833       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   7834       # sets the default TLS model and affects inlining.
   7835       case $host_cpu in
   7836       hppa*64*)
   7837 	# +Z the default
   7838 	;;
   7839       *)
   7840 	lt_prog_compiler_pic='-fPIC'
   7841 	;;
   7842       esac
   7843       ;;
   7844 
   7845     interix[3-9]*)
   7846       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7847       # Instead, we relocate shared libraries at runtime.
   7848       ;;
   7849 
   7850     msdosdjgpp*)
   7851       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7852       # on systems that don't support them.
   7853       lt_prog_compiler_can_build_shared=no
   7854       enable_shared=no
   7855       ;;
   7856 
   7857     *nto* | *qnx*)
   7858       # QNX uses GNU C++, but need to define -shared option too, otherwise
   7859       # it will coredump.
   7860       lt_prog_compiler_pic='-fPIC -shared'
   7861       ;;
   7862 
   7863     sysv4*MP*)
   7864       if test -d /usr/nec; then
   7865 	lt_prog_compiler_pic=-Kconform_pic
   7866       fi
   7867       ;;
   7868 
   7869     *)
   7870       lt_prog_compiler_pic='-fPIC'
   7871       ;;
   7872     esac
   7873 
   7874     case $cc_basename in
   7875     nvcc*) # Cuda Compiler Driver 2.2
   7876       lt_prog_compiler_wl='-Xlinker '
   7877       lt_prog_compiler_pic='-Xcompiler -fPIC'
   7878       ;;
   7879     esac
   7880   else
   7881     # PORTME Check for flag to pass linker flags through the system compiler.
   7882     case $host_os in
   7883     aix*)
   7884       lt_prog_compiler_wl='-Wl,'
   7885       if test "$host_cpu" = ia64; then
   7886 	# AIX 5 now supports IA64 processor
   7887 	lt_prog_compiler_static='-Bstatic'
   7888       else
   7889 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7890       fi
   7891       ;;
   7892 
   7893     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7894       # This hack is so that the source file can tell whether it is being
   7895       # built for inclusion in a dll (and should export symbols for example).
   7896       lt_prog_compiler_pic='-DDLL_EXPORT'
   7897       ;;
   7898 
   7899     hpux9* | hpux10* | hpux11*)
   7900       lt_prog_compiler_wl='-Wl,'
   7901       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7902       # not for PA HP-UX.
   7903       case $host_cpu in
   7904       hppa*64*|ia64*)
   7905 	# +Z the default
   7906 	;;
   7907       *)
   7908 	lt_prog_compiler_pic='+Z'
   7909 	;;
   7910       esac
   7911       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7912       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7913       ;;
   7914 
   7915     irix5* | irix6* | nonstopux*)
   7916       lt_prog_compiler_wl='-Wl,'
   7917       # PIC (with -KPIC) is the default.
   7918       lt_prog_compiler_static='-non_shared'
   7919       ;;
   7920 
   7921     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   7922       case $cc_basename in
   7923       # old Intel for x86_64 which still supported -KPIC.
   7924       ecc*)
   7925 	lt_prog_compiler_wl='-Wl,'
   7926 	lt_prog_compiler_pic='-KPIC'
   7927 	lt_prog_compiler_static='-static'
   7928         ;;
   7929       # icc used to be incompatible with GCC.
   7930       # ICC 10 doesn't accept -KPIC any more.
   7931       icc* | ifort*)
   7932 	lt_prog_compiler_wl='-Wl,'
   7933 	lt_prog_compiler_pic='-fPIC'
   7934 	lt_prog_compiler_static='-static'
   7935         ;;
   7936       # Lahey Fortran 8.1.
   7937       lf95*)
   7938 	lt_prog_compiler_wl='-Wl,'
   7939 	lt_prog_compiler_pic='--shared'
   7940 	lt_prog_compiler_static='--static'
   7941 	;;
   7942       nagfor*)
   7943 	# NAG Fortran compiler
   7944 	lt_prog_compiler_wl='-Wl,-Wl,,'
   7945 	lt_prog_compiler_pic='-PIC'
   7946 	lt_prog_compiler_static='-Bstatic'
   7947 	;;
   7948       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   7949         # Portland Group compilers (*not* the Pentium gcc compiler,
   7950 	# which looks to be a dead project)
   7951 	lt_prog_compiler_wl='-Wl,'
   7952 	lt_prog_compiler_pic='-fpic'
   7953 	lt_prog_compiler_static='-Bstatic'
   7954         ;;
   7955       ccc*)
   7956         lt_prog_compiler_wl='-Wl,'
   7957         # All Alpha code is PIC.
   7958         lt_prog_compiler_static='-non_shared'
   7959         ;;
   7960       xl* | bgxl* | bgf* | mpixl*)
   7961 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   7962 	lt_prog_compiler_wl='-Wl,'
   7963 	lt_prog_compiler_pic='-qpic'
   7964 	lt_prog_compiler_static='-qstaticlink'
   7965 	;;
   7966       *)
   7967 	case `$CC -V 2>&1 | sed 5q` in
   7968 	*Sun\ F* | *Sun*Fortran*)
   7969 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   7970 	  lt_prog_compiler_pic='-KPIC'
   7971 	  lt_prog_compiler_static='-Bstatic'
   7972 	  lt_prog_compiler_wl=''
   7973 	  ;;
   7974 	*Sun\ C*)
   7975 	  # Sun C 5.9
   7976 	  lt_prog_compiler_pic='-KPIC'
   7977 	  lt_prog_compiler_static='-Bstatic'
   7978 	  lt_prog_compiler_wl='-Wl,'
   7979 	  ;;
   7980 	esac
   7981 	;;
   7982       esac
   7983       ;;
   7984 
   7985     newsos6)
   7986       lt_prog_compiler_pic='-KPIC'
   7987       lt_prog_compiler_static='-Bstatic'
   7988       ;;
   7989 
   7990     *nto* | *qnx*)
   7991       # QNX uses GNU C++, but need to define -shared option too, otherwise
   7992       # it will coredump.
   7993       lt_prog_compiler_pic='-fPIC -shared'
   7994       ;;
   7995 
   7996     osf3* | osf4* | osf5*)
   7997       lt_prog_compiler_wl='-Wl,'
   7998       # All OSF/1 code is PIC.
   7999       lt_prog_compiler_static='-non_shared'
   8000       ;;
   8001 
   8002     rdos*)
   8003       lt_prog_compiler_static='-non_shared'
   8004       ;;
   8005 
   8006     solaris*)
   8007       lt_prog_compiler_pic='-KPIC'
   8008       lt_prog_compiler_static='-Bstatic'
   8009       case $cc_basename in
   8010       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   8011 	lt_prog_compiler_wl='-Qoption ld ';;
   8012       *)
   8013 	lt_prog_compiler_wl='-Wl,';;
   8014       esac
   8015       ;;
   8016 
   8017     sunos4*)
   8018       lt_prog_compiler_wl='-Qoption ld '
   8019       lt_prog_compiler_pic='-PIC'
   8020       lt_prog_compiler_static='-Bstatic'
   8021       ;;
   8022 
   8023     sysv4 | sysv4.2uw2* | sysv4.3*)
   8024       lt_prog_compiler_wl='-Wl,'
   8025       lt_prog_compiler_pic='-KPIC'
   8026       lt_prog_compiler_static='-Bstatic'
   8027       ;;
   8028 
   8029     sysv4*MP*)
   8030       if test -d /usr/nec ;then
   8031 	lt_prog_compiler_pic='-Kconform_pic'
   8032 	lt_prog_compiler_static='-Bstatic'
   8033       fi
   8034       ;;
   8035 
   8036     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8037       lt_prog_compiler_wl='-Wl,'
   8038       lt_prog_compiler_pic='-KPIC'
   8039       lt_prog_compiler_static='-Bstatic'
   8040       ;;
   8041 
   8042     unicos*)
   8043       lt_prog_compiler_wl='-Wl,'
   8044       lt_prog_compiler_can_build_shared=no
   8045       ;;
   8046 
   8047     uts4*)
   8048       lt_prog_compiler_pic='-pic'
   8049       lt_prog_compiler_static='-Bstatic'
   8050       ;;
   8051 
   8052     *)
   8053       lt_prog_compiler_can_build_shared=no
   8054       ;;
   8055     esac
   8056   fi
   8057 
   8058 case $host_os in
   8059   # For platforms which do not support PIC, -DPIC is meaningless:
   8060   *djgpp*)
   8061     lt_prog_compiler_pic=
   8062     ;;
   8063   *)
   8064     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8065     ;;
   8066 esac
   8067 
   8068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8069 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8070 if ${lt_cv_prog_compiler_pic+:} false; then :
   8071   $as_echo_n "(cached) " >&6
   8072 else
   8073   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   8074 fi
   8075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   8076 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   8077 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   8078 
   8079 #
   8080 # Check to make sure the PIC flag actually works.
   8081 #
   8082 if test -n "$lt_prog_compiler_pic"; then
   8083   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8084 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8085 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8086   $as_echo_n "(cached) " >&6
   8087 else
   8088   lt_cv_prog_compiler_pic_works=no
   8089    ac_outfile=conftest.$ac_objext
   8090    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8091    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8092    # Insert the option either (1) after the last *FLAGS variable, or
   8093    # (2) before a word containing "conftest.", or (3) at the end.
   8094    # Note that $ac_compile itself does not contain backslashes and begins
   8095    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8096    # The option is referenced via a variable to avoid confusing sed.
   8097    lt_compile=`echo "$ac_compile" | $SED \
   8098    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8099    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8100    -e 's:$: $lt_compiler_flag:'`
   8101    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8102    (eval "$lt_compile" 2>conftest.err)
   8103    ac_status=$?
   8104    cat conftest.err >&5
   8105    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8106    if (exit $ac_status) && test -s "$ac_outfile"; then
   8107      # The compiler can only warn and ignore the option if not recognized
   8108      # So say no if there are warnings other than the usual output.
   8109      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8110      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8111      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8112        lt_cv_prog_compiler_pic_works=yes
   8113      fi
   8114    fi
   8115    $RM conftest*
   8116 
   8117 fi
   8118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8119 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8120 
   8121 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8122     case $lt_prog_compiler_pic in
   8123      "" | " "*) ;;
   8124      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8125      esac
   8126 else
   8127     lt_prog_compiler_pic=
   8128      lt_prog_compiler_can_build_shared=no
   8129 fi
   8130 
   8131 fi
   8132 
   8133 
   8134 
   8135 
   8136 
   8137 
   8138 
   8139 
   8140 
   8141 
   8142 
   8143 #
   8144 # Check to make sure the static flag actually works.
   8145 #
   8146 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8148 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8149 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8150   $as_echo_n "(cached) " >&6
   8151 else
   8152   lt_cv_prog_compiler_static_works=no
   8153    save_LDFLAGS="$LDFLAGS"
   8154    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8155    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8156    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8157      # The linker can only warn and ignore the option if not recognized
   8158      # So say no if there are warnings
   8159      if test -s conftest.err; then
   8160        # Append any errors to the config.log.
   8161        cat conftest.err 1>&5
   8162        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8163        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8164        if diff conftest.exp conftest.er2 >/dev/null; then
   8165          lt_cv_prog_compiler_static_works=yes
   8166        fi
   8167      else
   8168        lt_cv_prog_compiler_static_works=yes
   8169      fi
   8170    fi
   8171    $RM -r conftest*
   8172    LDFLAGS="$save_LDFLAGS"
   8173 
   8174 fi
   8175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8176 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8177 
   8178 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8179     :
   8180 else
   8181     lt_prog_compiler_static=
   8182 fi
   8183 
   8184 
   8185 
   8186 
   8187 
   8188 
   8189 
   8190   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8191 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8192 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8193   $as_echo_n "(cached) " >&6
   8194 else
   8195   lt_cv_prog_compiler_c_o=no
   8196    $RM -r conftest 2>/dev/null
   8197    mkdir conftest
   8198    cd conftest
   8199    mkdir out
   8200    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8201 
   8202    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8203    # Insert the option either (1) after the last *FLAGS variable, or
   8204    # (2) before a word containing "conftest.", or (3) at the end.
   8205    # Note that $ac_compile itself does not contain backslashes and begins
   8206    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8207    lt_compile=`echo "$ac_compile" | $SED \
   8208    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8209    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8210    -e 's:$: $lt_compiler_flag:'`
   8211    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8212    (eval "$lt_compile" 2>out/conftest.err)
   8213    ac_status=$?
   8214    cat out/conftest.err >&5
   8215    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8216    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8217    then
   8218      # The compiler can only warn and ignore the option if not recognized
   8219      # So say no if there are warnings
   8220      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8221      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8222      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8223        lt_cv_prog_compiler_c_o=yes
   8224      fi
   8225    fi
   8226    chmod u+w . 2>&5
   8227    $RM conftest*
   8228    # SGI C++ compiler will create directory out/ii_files/ for
   8229    # template instantiation
   8230    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8231    $RM out/* && rmdir out
   8232    cd ..
   8233    $RM -r conftest
   8234    $RM conftest*
   8235 
   8236 fi
   8237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8238 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8239 
   8240 
   8241 
   8242 
   8243 
   8244 
   8245   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8246 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8247 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8248   $as_echo_n "(cached) " >&6
   8249 else
   8250   lt_cv_prog_compiler_c_o=no
   8251    $RM -r conftest 2>/dev/null
   8252    mkdir conftest
   8253    cd conftest
   8254    mkdir out
   8255    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8256 
   8257    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8258    # Insert the option either (1) after the last *FLAGS variable, or
   8259    # (2) before a word containing "conftest.", or (3) at the end.
   8260    # Note that $ac_compile itself does not contain backslashes and begins
   8261    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8262    lt_compile=`echo "$ac_compile" | $SED \
   8263    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8264    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8265    -e 's:$: $lt_compiler_flag:'`
   8266    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8267    (eval "$lt_compile" 2>out/conftest.err)
   8268    ac_status=$?
   8269    cat out/conftest.err >&5
   8270    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8271    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8272    then
   8273      # The compiler can only warn and ignore the option if not recognized
   8274      # So say no if there are warnings
   8275      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8276      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8277      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8278        lt_cv_prog_compiler_c_o=yes
   8279      fi
   8280    fi
   8281    chmod u+w . 2>&5
   8282    $RM conftest*
   8283    # SGI C++ compiler will create directory out/ii_files/ for
   8284    # template instantiation
   8285    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8286    $RM out/* && rmdir out
   8287    cd ..
   8288    $RM -r conftest
   8289    $RM conftest*
   8290 
   8291 fi
   8292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8293 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8294 
   8295 
   8296 
   8297 
   8298 hard_links="nottested"
   8299 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8300   # do not overwrite the value of need_locks provided by the user
   8301   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   8302 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8303   hard_links=yes
   8304   $RM conftest*
   8305   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8306   touch conftest.a
   8307   ln conftest.a conftest.b 2>&5 || hard_links=no
   8308   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8309   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   8310 $as_echo "$hard_links" >&6; }
   8311   if test "$hard_links" = no; then
   8312     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8313 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8314     need_locks=warn
   8315   fi
   8316 else
   8317   need_locks=no
   8318 fi
   8319 
   8320 
   8321 
   8322 
   8323 
   8324 
   8325   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8326 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8327 
   8328   runpath_var=
   8329   allow_undefined_flag=
   8330   always_export_symbols=no
   8331   archive_cmds=
   8332   archive_expsym_cmds=
   8333   compiler_needs_object=no
   8334   enable_shared_with_static_runtimes=no
   8335   export_dynamic_flag_spec=
   8336   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8337   hardcode_automatic=no
   8338   hardcode_direct=no
   8339   hardcode_direct_absolute=no
   8340   hardcode_libdir_flag_spec=
   8341   hardcode_libdir_flag_spec_ld=
   8342   hardcode_libdir_separator=
   8343   hardcode_minus_L=no
   8344   hardcode_shlibpath_var=unsupported
   8345   inherit_rpath=no
   8346   link_all_deplibs=unknown
   8347   module_cmds=
   8348   module_expsym_cmds=
   8349   old_archive_from_new_cmds=
   8350   old_archive_from_expsyms_cmds=
   8351   thread_safe_flag_spec=
   8352   whole_archive_flag_spec=
   8353   # include_expsyms should be a list of space-separated symbols to be *always*
   8354   # included in the symbol list
   8355   include_expsyms=
   8356   # exclude_expsyms can be an extended regexp of symbols to exclude
   8357   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8358   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8359   # as well as any symbol that contains `d'.
   8360   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8361   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8362   # platforms (ab)use it in PIC code, but their linkers get confused if
   8363   # the symbol is explicitly referenced.  Since portable code cannot
   8364   # rely on this symbol name, it's probably fine to never include it in
   8365   # preloaded symbol tables.
   8366   # Exclude shared library initialization/finalization symbols.
   8367   extract_expsyms_cmds=
   8368 
   8369   case $host_os in
   8370   cygwin* | mingw* | pw32* | cegcc*)
   8371     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8372     # When not using gcc, we currently assume that we are using
   8373     # Microsoft Visual C++.
   8374     if test "$GCC" != yes; then
   8375       with_gnu_ld=no
   8376     fi
   8377     ;;
   8378   interix*)
   8379     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8380     with_gnu_ld=yes
   8381     ;;
   8382   openbsd*)
   8383     with_gnu_ld=no
   8384     ;;
   8385   esac
   8386 
   8387   ld_shlibs=yes
   8388 
   8389   # On some targets, GNU ld is compatible enough with the native linker
   8390   # that we're better off using the native interface for both.
   8391   lt_use_gnu_ld_interface=no
   8392   if test "$with_gnu_ld" = yes; then
   8393     case $host_os in
   8394       aix*)
   8395 	# The AIX port of GNU ld has always aspired to compatibility
   8396 	# with the native linker.  However, as the warning in the GNU ld
   8397 	# block says, versions before 2.19.5* couldn't really create working
   8398 	# shared libraries, regardless of the interface used.
   8399 	case `$LD -v 2>&1` in
   8400 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   8401 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   8402 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   8403 	  *)
   8404 	    lt_use_gnu_ld_interface=yes
   8405 	    ;;
   8406 	esac
   8407 	;;
   8408       *)
   8409 	lt_use_gnu_ld_interface=yes
   8410 	;;
   8411     esac
   8412   fi
   8413 
   8414   if test "$lt_use_gnu_ld_interface" = yes; then
   8415     # If archive_cmds runs LD, not CC, wlarc should be empty
   8416     wlarc='${wl}'
   8417 
   8418     # Set some defaults for GNU ld with shared library support. These
   8419     # are reset later if shared libraries are not supported. Putting them
   8420     # here allows them to be overridden if necessary.
   8421     runpath_var=LD_RUN_PATH
   8422     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8423     export_dynamic_flag_spec='${wl}--export-dynamic'
   8424     # ancient GNU ld didn't support --whole-archive et. al.
   8425     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8426       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8427     else
   8428       whole_archive_flag_spec=
   8429     fi
   8430     supports_anon_versioning=no
   8431     case `$LD -v 2>&1` in
   8432       *GNU\ gold*) supports_anon_versioning=yes ;;
   8433       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8434       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8435       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8436       *\ 2.11.*) ;; # other 2.11 versions
   8437       *) supports_anon_versioning=yes ;;
   8438     esac
   8439 
   8440     # See if GNU ld supports shared libraries.
   8441     case $host_os in
   8442     aix[3-9]*)
   8443       # On AIX/PPC, the GNU linker is very broken
   8444       if test "$host_cpu" != ia64; then
   8445 	ld_shlibs=no
   8446 	cat <<_LT_EOF 1>&2
   8447 
   8448 *** Warning: the GNU linker, at least up to release 2.19, is reported
   8449 *** to be unable to reliably create shared libraries on AIX.
   8450 *** Therefore, libtool is disabling shared libraries support.  If you
   8451 *** really care for shared libraries, you may want to install binutils
   8452 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   8453 *** You will then need to restart the configuration process.
   8454 
   8455 _LT_EOF
   8456       fi
   8457       ;;
   8458 
   8459     amigaos*)
   8460       case $host_cpu in
   8461       powerpc)
   8462             # see comment about AmigaOS4 .so support
   8463             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8464             archive_expsym_cmds=''
   8465         ;;
   8466       m68k)
   8467             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)'
   8468             hardcode_libdir_flag_spec='-L$libdir'
   8469             hardcode_minus_L=yes
   8470         ;;
   8471       esac
   8472       ;;
   8473 
   8474     beos*)
   8475       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8476 	allow_undefined_flag=unsupported
   8477 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8478 	# support --undefined.  This deserves some investigation.  FIXME
   8479 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8480       else
   8481 	ld_shlibs=no
   8482       fi
   8483       ;;
   8484 
   8485     cygwin* | mingw* | pw32* | cegcc*)
   8486       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8487       # as there is no search path for DLLs.
   8488       hardcode_libdir_flag_spec='-L$libdir'
   8489       export_dynamic_flag_spec='${wl}--export-all-symbols'
   8490       allow_undefined_flag=unsupported
   8491       always_export_symbols=no
   8492       enable_shared_with_static_runtimes=yes
   8493       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'
   8494       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   8495 
   8496       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   8497         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8498 	# If the export-symbols file already is a .def file (1st line
   8499 	# is EXPORTS), use it as is; otherwise, prepend...
   8500 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8501 	  cp $export_symbols $output_objdir/$soname.def;
   8502 	else
   8503 	  echo EXPORTS > $output_objdir/$soname.def;
   8504 	  cat $export_symbols >> $output_objdir/$soname.def;
   8505 	fi~
   8506 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8507       else
   8508 	ld_shlibs=no
   8509       fi
   8510       ;;
   8511 
   8512     haiku*)
   8513       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8514       link_all_deplibs=yes
   8515       ;;
   8516 
   8517     interix[3-9]*)
   8518       hardcode_direct=no
   8519       hardcode_shlibpath_var=no
   8520       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8521       export_dynamic_flag_spec='${wl}-E'
   8522       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8523       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8524       # default) and relocated if they conflict, which is a slow very memory
   8525       # consuming and fragmenting process.  To avoid this, we pick a random,
   8526       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8527       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8528       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8529       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'
   8530       ;;
   8531 
   8532     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   8533       tmp_diet=no
   8534       if test "$host_os" = linux-dietlibc; then
   8535 	case $cc_basename in
   8536 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   8537 	esac
   8538       fi
   8539       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   8540 	 && test "$tmp_diet" = no
   8541       then
   8542 	tmp_addflag=' $pic_flag'
   8543 	tmp_sharedflag='-shared'
   8544 	case $cc_basename,$host_cpu in
   8545         pgcc*)				# Portland Group C compiler
   8546 	  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'
   8547 	  tmp_addflag=' $pic_flag'
   8548 	  ;;
   8549 	pgf77* | pgf90* | pgf95* | pgfortran*)
   8550 					# Portland Group f77 and f90 compilers
   8551 	  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'
   8552 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8553 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   8554 	  tmp_addflag=' -i_dynamic' ;;
   8555 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8556 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8557 	ifc* | ifort*)			# Intel Fortran compiler
   8558 	  tmp_addflag=' -nofor_main' ;;
   8559 	lf95*)				# Lahey Fortran 8.1
   8560 	  whole_archive_flag_spec=
   8561 	  tmp_sharedflag='--shared' ;;
   8562 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   8563 	  tmp_sharedflag='-qmkshrobj'
   8564 	  tmp_addflag= ;;
   8565 	nvcc*)	# Cuda Compiler Driver 2.2
   8566 	  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'
   8567 	  compiler_needs_object=yes
   8568 	  ;;
   8569 	esac
   8570 	case `$CC -V 2>&1 | sed 5q` in
   8571 	*Sun\ C*)			# Sun C 5.9
   8572 	  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'
   8573 	  compiler_needs_object=yes
   8574 	  tmp_sharedflag='-G' ;;
   8575 	*Sun\ F*)			# Sun Fortran 8.3
   8576 	  tmp_sharedflag='-G' ;;
   8577 	esac
   8578 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8579 
   8580         if test "x$supports_anon_versioning" = xyes; then
   8581           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8582 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8583 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   8584 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8585         fi
   8586 
   8587 	case $cc_basename in
   8588 	xlf* | bgf* | bgxlf* | mpixlf*)
   8589 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   8590 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   8591 	  hardcode_libdir_flag_spec=
   8592 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8593 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   8594 	  if test "x$supports_anon_versioning" = xyes; then
   8595 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8596 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8597 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   8598 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   8599 	  fi
   8600 	  ;;
   8601 	esac
   8602       else
   8603         ld_shlibs=no
   8604       fi
   8605       ;;
   8606 
   8607     netbsd*)
   8608       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8609 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8610 	wlarc=
   8611       else
   8612 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8613 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8614       fi
   8615       ;;
   8616 
   8617     solaris*)
   8618       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   8619 	ld_shlibs=no
   8620 	cat <<_LT_EOF 1>&2
   8621 
   8622 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8623 *** create shared libraries on Solaris systems.  Therefore, libtool
   8624 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8625 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8626 *** your PATH or compiler configuration so that the native linker is
   8627 *** used, and then restart.
   8628 
   8629 _LT_EOF
   8630       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8631 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8632 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8633       else
   8634 	ld_shlibs=no
   8635       fi
   8636       ;;
   8637 
   8638     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8639       case `$LD -v 2>&1` in
   8640         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8641 	ld_shlibs=no
   8642 	cat <<_LT_EOF 1>&2
   8643 
   8644 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8645 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8646 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8647 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8648 *** your PATH or compiler configuration so that the native linker is
   8649 *** used, and then restart.
   8650 
   8651 _LT_EOF
   8652 	;;
   8653 	*)
   8654 	  # For security reasons, it is highly recommended that you always
   8655 	  # use absolute paths for naming shared libraries, and exclude the
   8656 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   8657 	  # requires that you compile everything twice, which is a pain.
   8658 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8659 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8660 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8661 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8662 	  else
   8663 	    ld_shlibs=no
   8664 	  fi
   8665 	;;
   8666       esac
   8667       ;;
   8668 
   8669     sunos4*)
   8670       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8671       wlarc=
   8672       hardcode_direct=yes
   8673       hardcode_shlibpath_var=no
   8674       ;;
   8675 
   8676     *)
   8677       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8678 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8679 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8680       else
   8681 	ld_shlibs=no
   8682       fi
   8683       ;;
   8684     esac
   8685 
   8686     if test "$ld_shlibs" = no; then
   8687       runpath_var=
   8688       hardcode_libdir_flag_spec=
   8689       export_dynamic_flag_spec=
   8690       whole_archive_flag_spec=
   8691     fi
   8692   else
   8693     # PORTME fill in a description of your system's linker (not GNU ld)
   8694     case $host_os in
   8695     aix3*)
   8696       allow_undefined_flag=unsupported
   8697       always_export_symbols=yes
   8698       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'
   8699       # Note: this linker hardcodes the directories in LIBPATH if there
   8700       # are no directories specified by -L.
   8701       hardcode_minus_L=yes
   8702       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8703 	# Neither direct hardcoding nor static linking is supported with a
   8704 	# broken collect2.
   8705 	hardcode_direct=unsupported
   8706       fi
   8707       ;;
   8708 
   8709     aix[4-9]*)
   8710       if test "$host_cpu" = ia64; then
   8711 	# On IA64, the linker does run time linking by default, so we don't
   8712 	# have to do anything special.
   8713 	aix_use_runtimelinking=no
   8714 	exp_sym_flag='-Bexport'
   8715 	no_entry_flag=""
   8716       else
   8717 	# If we're using GNU nm, then we don't want the "-C" option.
   8718 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8719 	# Also, AIX nm treats weak defined symbols like other global
   8720 	# defined symbols, whereas GNU nm marks them as "W".
   8721 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   8722 	  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'
   8723 	else
   8724 	  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'
   8725 	fi
   8726 	aix_use_runtimelinking=no
   8727 
   8728 	# Test if we are trying to use run time linking or normal
   8729 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8730 	# need to do runtime linking.
   8731 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8732 	  for ld_flag in $LDFLAGS; do
   8733 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8734 	    aix_use_runtimelinking=yes
   8735 	    break
   8736 	  fi
   8737 	  done
   8738 	  ;;
   8739 	esac
   8740 
   8741 	exp_sym_flag='-bexport'
   8742 	no_entry_flag='-bnoentry'
   8743       fi
   8744 
   8745       # When large executables or shared objects are built, AIX ld can
   8746       # have problems creating the table of contents.  If linking a library
   8747       # or program results in "error TOC overflow" add -mminimal-toc to
   8748       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8749       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8750 
   8751       archive_cmds=''
   8752       hardcode_direct=yes
   8753       hardcode_direct_absolute=yes
   8754       hardcode_libdir_separator=':'
   8755       link_all_deplibs=yes
   8756       file_list_spec='${wl}-f,'
   8757 
   8758       if test "$GCC" = yes; then
   8759 	case $host_os in aix4.[012]|aix4.[012].*)
   8760 	# We only want to do this on AIX 4.2 and lower, the check
   8761 	# below for broken collect2 doesn't work under 4.3+
   8762 	  collect2name=`${CC} -print-prog-name=collect2`
   8763 	  if test -f "$collect2name" &&
   8764 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   8765 	  then
   8766 	  # We have reworked collect2
   8767 	  :
   8768 	  else
   8769 	  # We have old collect2
   8770 	  hardcode_direct=unsupported
   8771 	  # It fails to find uninstalled libraries when the uninstalled
   8772 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8773 	  # to unsupported forces relinking
   8774 	  hardcode_minus_L=yes
   8775 	  hardcode_libdir_flag_spec='-L$libdir'
   8776 	  hardcode_libdir_separator=
   8777 	  fi
   8778 	  ;;
   8779 	esac
   8780 	shared_flag='-shared'
   8781 	if test "$aix_use_runtimelinking" = yes; then
   8782 	  shared_flag="$shared_flag "'${wl}-G'
   8783 	fi
   8784       else
   8785 	# not using gcc
   8786 	if test "$host_cpu" = ia64; then
   8787 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8788 	# chokes on -Wl,-G. The following line is correct:
   8789 	  shared_flag='-G'
   8790 	else
   8791 	  if test "$aix_use_runtimelinking" = yes; then
   8792 	    shared_flag='${wl}-G'
   8793 	  else
   8794 	    shared_flag='${wl}-bM:SRE'
   8795 	  fi
   8796 	fi
   8797       fi
   8798 
   8799       export_dynamic_flag_spec='${wl}-bexpall'
   8800       # It seems that -bexpall does not export symbols beginning with
   8801       # underscore (_), so it is better to generate a list of symbols to export.
   8802       always_export_symbols=yes
   8803       if test "$aix_use_runtimelinking" = yes; then
   8804 	# Warning - without using the other runtime loading flags (-brtl),
   8805 	# -berok will link without error, but may produce a broken library.
   8806 	allow_undefined_flag='-berok'
   8807         # Determine the default libpath from the value encoded in an
   8808         # empty executable.
   8809         if test "${lt_cv_aix_libpath+set}" = set; then
   8810   aix_libpath=$lt_cv_aix_libpath
   8811 else
   8812   if ${lt_cv_aix_libpath_+:} false; then :
   8813   $as_echo_n "(cached) " >&6
   8814 else
   8815   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8816 /* end confdefs.h.  */
   8817 
   8818 int
   8819 main ()
   8820 {
   8821 
   8822   ;
   8823   return 0;
   8824 }
   8825 _ACEOF
   8826 if ac_fn_c_try_link "$LINENO"; then :
   8827 
   8828   lt_aix_libpath_sed='
   8829       /Import File Strings/,/^$/ {
   8830 	  /^0/ {
   8831 	      s/^0  *\([^ ]*\) *$/\1/
   8832 	      p
   8833 	  }
   8834       }'
   8835   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8836   # Check for a 64-bit object if we didn't find anything.
   8837   if test -z "$lt_cv_aix_libpath_"; then
   8838     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8839   fi
   8840 fi
   8841 rm -f core conftest.err conftest.$ac_objext \
   8842     conftest$ac_exeext conftest.$ac_ext
   8843   if test -z "$lt_cv_aix_libpath_"; then
   8844     lt_cv_aix_libpath_="/usr/lib:/lib"
   8845   fi
   8846 
   8847 fi
   8848 
   8849   aix_libpath=$lt_cv_aix_libpath_
   8850 fi
   8851 
   8852         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8853         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"
   8854       else
   8855 	if test "$host_cpu" = ia64; then
   8856 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8857 	  allow_undefined_flag="-z nodefs"
   8858 	  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"
   8859 	else
   8860 	 # Determine the default libpath from the value encoded in an
   8861 	 # empty executable.
   8862 	 if test "${lt_cv_aix_libpath+set}" = set; then
   8863   aix_libpath=$lt_cv_aix_libpath
   8864 else
   8865   if ${lt_cv_aix_libpath_+:} false; then :
   8866   $as_echo_n "(cached) " >&6
   8867 else
   8868   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8869 /* end confdefs.h.  */
   8870 
   8871 int
   8872 main ()
   8873 {
   8874 
   8875   ;
   8876   return 0;
   8877 }
   8878 _ACEOF
   8879 if ac_fn_c_try_link "$LINENO"; then :
   8880 
   8881   lt_aix_libpath_sed='
   8882       /Import File Strings/,/^$/ {
   8883 	  /^0/ {
   8884 	      s/^0  *\([^ ]*\) *$/\1/
   8885 	      p
   8886 	  }
   8887       }'
   8888   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8889   # Check for a 64-bit object if we didn't find anything.
   8890   if test -z "$lt_cv_aix_libpath_"; then
   8891     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8892   fi
   8893 fi
   8894 rm -f core conftest.err conftest.$ac_objext \
   8895     conftest$ac_exeext conftest.$ac_ext
   8896   if test -z "$lt_cv_aix_libpath_"; then
   8897     lt_cv_aix_libpath_="/usr/lib:/lib"
   8898   fi
   8899 
   8900 fi
   8901 
   8902   aix_libpath=$lt_cv_aix_libpath_
   8903 fi
   8904 
   8905 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8906 	  # Warning - without using the other run time loading flags,
   8907 	  # -berok will link without error, but may produce a broken library.
   8908 	  no_undefined_flag=' ${wl}-bernotok'
   8909 	  allow_undefined_flag=' ${wl}-berok'
   8910 	  if test "$with_gnu_ld" = yes; then
   8911 	    # We only use this code for GNU lds that support --whole-archive.
   8912 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   8913 	  else
   8914 	    # Exported symbols can be pulled into shared objects from archives
   8915 	    whole_archive_flag_spec='$convenience'
   8916 	  fi
   8917 	  archive_cmds_need_lc=yes
   8918 	  # This is similar to how AIX traditionally builds its shared libraries.
   8919 	  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'
   8920 	fi
   8921       fi
   8922       ;;
   8923 
   8924     amigaos*)
   8925       case $host_cpu in
   8926       powerpc)
   8927             # see comment about AmigaOS4 .so support
   8928             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8929             archive_expsym_cmds=''
   8930         ;;
   8931       m68k)
   8932             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)'
   8933             hardcode_libdir_flag_spec='-L$libdir'
   8934             hardcode_minus_L=yes
   8935         ;;
   8936       esac
   8937       ;;
   8938 
   8939     bsdi[45]*)
   8940       export_dynamic_flag_spec=-rdynamic
   8941       ;;
   8942 
   8943     cygwin* | mingw* | pw32* | cegcc*)
   8944       # When not using gcc, we currently assume that we are using
   8945       # Microsoft Visual C++.
   8946       # hardcode_libdir_flag_spec is actually meaningless, as there is
   8947       # no search path for DLLs.
   8948       case $cc_basename in
   8949       cl*)
   8950 	# Native MSVC
   8951 	hardcode_libdir_flag_spec=' '
   8952 	allow_undefined_flag=unsupported
   8953 	always_export_symbols=yes
   8954 	file_list_spec='@'
   8955 	# Tell ltmain to make .lib files, not .a files.
   8956 	libext=lib
   8957 	# Tell ltmain to make .dll files, not .so files.
   8958 	shrext_cmds=".dll"
   8959 	# FIXME: Setting linknames here is a bad hack.
   8960 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
   8961 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8962 	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
   8963 	  else
   8964 	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
   8965 	  fi~
   8966 	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   8967 	  linknames='
   8968 	# The linker will not automatically build a static lib if we build a DLL.
   8969 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   8970 	enable_shared_with_static_runtimes=yes
   8971 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   8972 	# Don't use ranlib
   8973 	old_postinstall_cmds='chmod 644 $oldlib'
   8974 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   8975 	  lt_tool_outputfile="@TOOL_OUTPUT@"~
   8976 	  case $lt_outputfile in
   8977 	    *.exe|*.EXE) ;;
   8978 	    *)
   8979 	      lt_outputfile="$lt_outputfile.exe"
   8980 	      lt_tool_outputfile="$lt_tool_outputfile.exe"
   8981 	      ;;
   8982 	  esac~
   8983 	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
   8984 	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   8985 	    $RM "$lt_outputfile.manifest";
   8986 	  fi'
   8987 	;;
   8988       *)
   8989 	# Assume MSVC wrapper
   8990 	hardcode_libdir_flag_spec=' '
   8991 	allow_undefined_flag=unsupported
   8992 	# Tell ltmain to make .lib files, not .a files.
   8993 	libext=lib
   8994 	# Tell ltmain to make .dll files, not .so files.
   8995 	shrext_cmds=".dll"
   8996 	# FIXME: Setting linknames here is a bad hack.
   8997 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   8998 	# The linker will automatically build a .lib file if we build a DLL.
   8999 	old_archive_from_new_cmds='true'
   9000 	# FIXME: Should let the user specify the lib program.
   9001 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9002 	enable_shared_with_static_runtimes=yes
   9003 	;;
   9004       esac
   9005       ;;
   9006 
   9007     darwin* | rhapsody*)
   9008 
   9009 
   9010   archive_cmds_need_lc=no
   9011   hardcode_direct=no
   9012   hardcode_automatic=yes
   9013   hardcode_shlibpath_var=unsupported
   9014   if test "$lt_cv_ld_force_load" = "yes"; then
   9015     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\"`'
   9016   else
   9017     whole_archive_flag_spec=''
   9018   fi
   9019   link_all_deplibs=yes
   9020   allow_undefined_flag="$_lt_dar_allow_undefined"
   9021   case $cc_basename in
   9022      ifort*) _lt_dar_can_shared=yes ;;
   9023      *) _lt_dar_can_shared=$GCC ;;
   9024   esac
   9025   if test "$_lt_dar_can_shared" = "yes"; then
   9026     output_verbose_link_cmd=func_echo_all
   9027     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9028     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9029     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}"
   9030     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}"
   9031 
   9032   else
   9033   ld_shlibs=no
   9034   fi
   9035 
   9036       ;;
   9037 
   9038     dgux*)
   9039       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9040       hardcode_libdir_flag_spec='-L$libdir'
   9041       hardcode_shlibpath_var=no
   9042       ;;
   9043 
   9044     freebsd1*)
   9045       ld_shlibs=no
   9046       ;;
   9047 
   9048     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9049     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9050     # does not break anything, and helps significantly (at the cost of a little
   9051     # extra space).
   9052     freebsd2.2*)
   9053       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9054       hardcode_libdir_flag_spec='-R$libdir'
   9055       hardcode_direct=yes
   9056       hardcode_shlibpath_var=no
   9057       ;;
   9058 
   9059     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9060     freebsd2*)
   9061       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9062       hardcode_direct=yes
   9063       hardcode_minus_L=yes
   9064       hardcode_shlibpath_var=no
   9065       ;;
   9066 
   9067     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9068     freebsd* | dragonfly*)
   9069       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9070       hardcode_libdir_flag_spec='-R$libdir'
   9071       hardcode_direct=yes
   9072       hardcode_shlibpath_var=no
   9073       ;;
   9074 
   9075     hpux9*)
   9076       if test "$GCC" = yes; then
   9077 	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'
   9078       else
   9079 	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'
   9080       fi
   9081       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9082       hardcode_libdir_separator=:
   9083       hardcode_direct=yes
   9084 
   9085       # hardcode_minus_L: Not really in the search PATH,
   9086       # but as the default location of the library.
   9087       hardcode_minus_L=yes
   9088       export_dynamic_flag_spec='${wl}-E'
   9089       ;;
   9090 
   9091     hpux10*)
   9092       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9093 	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9094       else
   9095 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9096       fi
   9097       if test "$with_gnu_ld" = no; then
   9098 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9099 	hardcode_libdir_flag_spec_ld='+b $libdir'
   9100 	hardcode_libdir_separator=:
   9101 	hardcode_direct=yes
   9102 	hardcode_direct_absolute=yes
   9103 	export_dynamic_flag_spec='${wl}-E'
   9104 	# hardcode_minus_L: Not really in the search PATH,
   9105 	# but as the default location of the library.
   9106 	hardcode_minus_L=yes
   9107       fi
   9108       ;;
   9109 
   9110     hpux11*)
   9111       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9112 	case $host_cpu in
   9113 	hppa*64*)
   9114 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9115 	  ;;
   9116 	ia64*)
   9117 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9118 	  ;;
   9119 	*)
   9120 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9121 	  ;;
   9122 	esac
   9123       else
   9124 	case $host_cpu in
   9125 	hppa*64*)
   9126 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9127 	  ;;
   9128 	ia64*)
   9129 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9130 	  ;;
   9131 	*)
   9132 
   9133 	  # Older versions of the 11.00 compiler do not understand -b yet
   9134 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9135 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9136 $as_echo_n "checking if $CC understands -b... " >&6; }
   9137 if ${lt_cv_prog_compiler__b+:} false; then :
   9138   $as_echo_n "(cached) " >&6
   9139 else
   9140   lt_cv_prog_compiler__b=no
   9141    save_LDFLAGS="$LDFLAGS"
   9142    LDFLAGS="$LDFLAGS -b"
   9143    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9144    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9145      # The linker can only warn and ignore the option if not recognized
   9146      # So say no if there are warnings
   9147      if test -s conftest.err; then
   9148        # Append any errors to the config.log.
   9149        cat conftest.err 1>&5
   9150        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9151        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9152        if diff conftest.exp conftest.er2 >/dev/null; then
   9153          lt_cv_prog_compiler__b=yes
   9154        fi
   9155      else
   9156        lt_cv_prog_compiler__b=yes
   9157      fi
   9158    fi
   9159    $RM -r conftest*
   9160    LDFLAGS="$save_LDFLAGS"
   9161 
   9162 fi
   9163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   9164 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   9165 
   9166 if test x"$lt_cv_prog_compiler__b" = xyes; then
   9167     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9168 else
   9169     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9170 fi
   9171 
   9172 	  ;;
   9173 	esac
   9174       fi
   9175       if test "$with_gnu_ld" = no; then
   9176 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9177 	hardcode_libdir_separator=:
   9178 
   9179 	case $host_cpu in
   9180 	hppa*64*|ia64*)
   9181 	  hardcode_direct=no
   9182 	  hardcode_shlibpath_var=no
   9183 	  ;;
   9184 	*)
   9185 	  hardcode_direct=yes
   9186 	  hardcode_direct_absolute=yes
   9187 	  export_dynamic_flag_spec='${wl}-E'
   9188 
   9189 	  # hardcode_minus_L: Not really in the search PATH,
   9190 	  # but as the default location of the library.
   9191 	  hardcode_minus_L=yes
   9192 	  ;;
   9193 	esac
   9194       fi
   9195       ;;
   9196 
   9197     irix5* | irix6* | nonstopux*)
   9198       if test "$GCC" = yes; then
   9199 	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'
   9200 	# Try to use the -exported_symbol ld option, if it does not
   9201 	# work, assume that -exports_file does not work either and
   9202 	# implicitly export all symbols.
   9203 	# This should be the same for all languages, so no per-tag cache variable.
   9204 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   9205 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   9206 if ${lt_cv_irix_exported_symbol+:} false; then :
   9207   $as_echo_n "(cached) " >&6
   9208 else
   9209   save_LDFLAGS="$LDFLAGS"
   9210 	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9211 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9212 /* end confdefs.h.  */
   9213 int foo (void) { return 0; }
   9214 _ACEOF
   9215 if ac_fn_c_try_link "$LINENO"; then :
   9216   lt_cv_irix_exported_symbol=yes
   9217 else
   9218   lt_cv_irix_exported_symbol=no
   9219 fi
   9220 rm -f core conftest.err conftest.$ac_objext \
   9221     conftest$ac_exeext conftest.$ac_ext
   9222            LDFLAGS="$save_LDFLAGS"
   9223 fi
   9224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   9225 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   9226 	if test "$lt_cv_irix_exported_symbol" = yes; then
   9227           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'
   9228 	fi
   9229       else
   9230 	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'
   9231 	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'
   9232       fi
   9233       archive_cmds_need_lc='no'
   9234       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9235       hardcode_libdir_separator=:
   9236       inherit_rpath=yes
   9237       link_all_deplibs=yes
   9238       ;;
   9239 
   9240     netbsd*)
   9241       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9242 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9243       else
   9244 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9245       fi
   9246       hardcode_libdir_flag_spec='-R$libdir'
   9247       hardcode_direct=yes
   9248       hardcode_shlibpath_var=no
   9249       ;;
   9250 
   9251     newsos6)
   9252       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9253       hardcode_direct=yes
   9254       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9255       hardcode_libdir_separator=:
   9256       hardcode_shlibpath_var=no
   9257       ;;
   9258 
   9259     *nto* | *qnx*)
   9260       ;;
   9261 
   9262     openbsd*)
   9263       if test -f /usr/libexec/ld.so; then
   9264 	hardcode_direct=yes
   9265 	hardcode_shlibpath_var=no
   9266 	hardcode_direct_absolute=yes
   9267 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9268 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9269 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9270 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9271 	  export_dynamic_flag_spec='${wl}-E'
   9272 	else
   9273 	  case $host_os in
   9274 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9275 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9276 	     hardcode_libdir_flag_spec='-R$libdir'
   9277 	     ;;
   9278 	   *)
   9279 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9280 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9281 	     ;;
   9282 	  esac
   9283 	fi
   9284       else
   9285 	ld_shlibs=no
   9286       fi
   9287       ;;
   9288 
   9289     os2*)
   9290       hardcode_libdir_flag_spec='-L$libdir'
   9291       hardcode_minus_L=yes
   9292       allow_undefined_flag=unsupported
   9293       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'
   9294       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9295       ;;
   9296 
   9297     osf3*)
   9298       if test "$GCC" = yes; then
   9299 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9300 	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'
   9301       else
   9302 	allow_undefined_flag=' -expect_unresolved \*'
   9303 	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'
   9304       fi
   9305       archive_cmds_need_lc='no'
   9306       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9307       hardcode_libdir_separator=:
   9308       ;;
   9309 
   9310     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9311       if test "$GCC" = yes; then
   9312 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9313 	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'
   9314 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9315       else
   9316 	allow_undefined_flag=' -expect_unresolved \*'
   9317 	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'
   9318 	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~
   9319 	$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'
   9320 
   9321 	# Both c and cxx compiler support -rpath directly
   9322 	hardcode_libdir_flag_spec='-rpath $libdir'
   9323       fi
   9324       archive_cmds_need_lc='no'
   9325       hardcode_libdir_separator=:
   9326       ;;
   9327 
   9328     solaris*)
   9329       no_undefined_flag=' -z defs'
   9330       if test "$GCC" = yes; then
   9331 	wlarc='${wl}'
   9332 	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9333 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9334 	  $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'
   9335       else
   9336 	case `$CC -V 2>&1` in
   9337 	*"Compilers 5.0"*)
   9338 	  wlarc=''
   9339 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9340 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9341 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9342 	  ;;
   9343 	*)
   9344 	  wlarc='${wl}'
   9345 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9346 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9347 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9348 	  ;;
   9349 	esac
   9350       fi
   9351       hardcode_libdir_flag_spec='-R$libdir'
   9352       hardcode_shlibpath_var=no
   9353       case $host_os in
   9354       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9355       *)
   9356 	# The compiler driver will combine and reorder linker options,
   9357 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9358 	# but is careful enough not to reorder.
   9359 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9360 	if test "$GCC" = yes; then
   9361 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9362 	else
   9363 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9364 	fi
   9365 	;;
   9366       esac
   9367       link_all_deplibs=yes
   9368       ;;
   9369 
   9370     sunos4*)
   9371       if test "x$host_vendor" = xsequent; then
   9372 	# Use $CC to link under sequent, because it throws in some extra .o
   9373 	# files that make .init and .fini sections work.
   9374 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9375       else
   9376 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9377       fi
   9378       hardcode_libdir_flag_spec='-L$libdir'
   9379       hardcode_direct=yes
   9380       hardcode_minus_L=yes
   9381       hardcode_shlibpath_var=no
   9382       ;;
   9383 
   9384     sysv4)
   9385       case $host_vendor in
   9386 	sni)
   9387 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9388 	  hardcode_direct=yes # is this really true???
   9389 	;;
   9390 	siemens)
   9391 	  ## LD is ld it makes a PLAMLIB
   9392 	  ## CC just makes a GrossModule.
   9393 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9394 	  reload_cmds='$CC -r -o $output$reload_objs'
   9395 	  hardcode_direct=no
   9396         ;;
   9397 	motorola)
   9398 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9399 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9400 	;;
   9401       esac
   9402       runpath_var='LD_RUN_PATH'
   9403       hardcode_shlibpath_var=no
   9404       ;;
   9405 
   9406     sysv4.3*)
   9407       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9408       hardcode_shlibpath_var=no
   9409       export_dynamic_flag_spec='-Bexport'
   9410       ;;
   9411 
   9412     sysv4*MP*)
   9413       if test -d /usr/nec; then
   9414 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9415 	hardcode_shlibpath_var=no
   9416 	runpath_var=LD_RUN_PATH
   9417 	hardcode_runpath_var=yes
   9418 	ld_shlibs=yes
   9419       fi
   9420       ;;
   9421 
   9422     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9423       no_undefined_flag='${wl}-z,text'
   9424       archive_cmds_need_lc=no
   9425       hardcode_shlibpath_var=no
   9426       runpath_var='LD_RUN_PATH'
   9427 
   9428       if test "$GCC" = yes; then
   9429 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9430 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9431       else
   9432 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9433 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9434       fi
   9435       ;;
   9436 
   9437     sysv5* | sco3.2v5* | sco5v6*)
   9438       # Note: We can NOT use -z defs as we might desire, because we do not
   9439       # link with -lc, and that would cause any symbols used from libc to
   9440       # always be unresolved, which means just about no library would
   9441       # ever link correctly.  If we're not using GNU ld we use -z text
   9442       # though, which does catch some bad symbols but isn't as heavy-handed
   9443       # as -z defs.
   9444       no_undefined_flag='${wl}-z,text'
   9445       allow_undefined_flag='${wl}-z,nodefs'
   9446       archive_cmds_need_lc=no
   9447       hardcode_shlibpath_var=no
   9448       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9449       hardcode_libdir_separator=':'
   9450       link_all_deplibs=yes
   9451       export_dynamic_flag_spec='${wl}-Bexport'
   9452       runpath_var='LD_RUN_PATH'
   9453 
   9454       if test "$GCC" = yes; then
   9455 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9456 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9457       else
   9458 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9459 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9460       fi
   9461       ;;
   9462 
   9463     uts4*)
   9464       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9465       hardcode_libdir_flag_spec='-L$libdir'
   9466       hardcode_shlibpath_var=no
   9467       ;;
   9468 
   9469     *)
   9470       ld_shlibs=no
   9471       ;;
   9472     esac
   9473 
   9474     if test x$host_vendor = xsni; then
   9475       case $host in
   9476       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   9477 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   9478 	;;
   9479       esac
   9480     fi
   9481   fi
   9482 
   9483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   9484 $as_echo "$ld_shlibs" >&6; }
   9485 test "$ld_shlibs" = no && can_build_shared=no
   9486 
   9487 with_gnu_ld=$with_gnu_ld
   9488 
   9489 
   9490 
   9491 
   9492 
   9493 
   9494 
   9495 
   9496 
   9497 
   9498 
   9499 
   9500 
   9501 
   9502 
   9503 #
   9504 # Do we need to explicitly link libc?
   9505 #
   9506 case "x$archive_cmds_need_lc" in
   9507 x|xyes)
   9508   # Assume -lc should be added
   9509   archive_cmds_need_lc=yes
   9510 
   9511   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9512     case $archive_cmds in
   9513     *'~'*)
   9514       # FIXME: we may have to deal with multi-command sequences.
   9515       ;;
   9516     '$CC '*)
   9517       # Test whether the compiler implicitly links with -lc since on some
   9518       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9519       # to ld, don't add -lc before -lgcc.
   9520       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   9521 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9522 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   9523   $as_echo_n "(cached) " >&6
   9524 else
   9525   $RM conftest*
   9526 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9527 
   9528 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   9529   (eval $ac_compile) 2>&5
   9530   ac_status=$?
   9531   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9532   test $ac_status = 0; } 2>conftest.err; then
   9533 	  soname=conftest
   9534 	  lib=conftest
   9535 	  libobjs=conftest.$ac_objext
   9536 	  deplibs=
   9537 	  wl=$lt_prog_compiler_wl
   9538 	  pic_flag=$lt_prog_compiler_pic
   9539 	  compiler_flags=-v
   9540 	  linker_flags=-v
   9541 	  verstring=
   9542 	  output_objdir=.
   9543 	  libname=conftest
   9544 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   9545 	  allow_undefined_flag=
   9546 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   9547   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9548   ac_status=$?
   9549   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9550   test $ac_status = 0; }
   9551 	  then
   9552 	    lt_cv_archive_cmds_need_lc=no
   9553 	  else
   9554 	    lt_cv_archive_cmds_need_lc=yes
   9555 	  fi
   9556 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   9557 	else
   9558 	  cat conftest.err 1>&5
   9559 	fi
   9560 	$RM conftest*
   9561 
   9562 fi
   9563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   9564 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   9565       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   9566       ;;
   9567     esac
   9568   fi
   9569   ;;
   9570 esac
   9571 
   9572 
   9573 
   9574 
   9575 
   9576 
   9577 
   9578 
   9579 
   9580 
   9581 
   9582 
   9583 
   9584 
   9585 
   9586 
   9587 
   9588 
   9589 
   9590 
   9591 
   9592 
   9593 
   9594 
   9595 
   9596 
   9597 
   9598 
   9599 
   9600 
   9601 
   9602 
   9603 
   9604 
   9605 
   9606 
   9607 
   9608 
   9609 
   9610 
   9611 
   9612 
   9613 
   9614 
   9615 
   9616 
   9617 
   9618 
   9619 
   9620 
   9621 
   9622 
   9623 
   9624 
   9625 
   9626 
   9627 
   9628 
   9629 
   9630 
   9631 
   9632 
   9633 
   9634 
   9635 
   9636 
   9637 
   9638 
   9639 
   9640 
   9641 
   9642 
   9643 
   9644 
   9645 
   9646 
   9647 
   9648 
   9649 
   9650 
   9651 
   9652 
   9653 
   9654 
   9655 
   9656 
   9657 
   9658 
   9659 
   9660 
   9661 
   9662 
   9663 
   9664 
   9665 
   9666 
   9667 
   9668 
   9669 
   9670 
   9671 
   9672 
   9673 
   9674 
   9675 
   9676 
   9677 
   9678 
   9679 
   9680 
   9681 
   9682 
   9683 
   9684 
   9685 
   9686 
   9687 
   9688 
   9689 
   9690 
   9691 
   9692 
   9693 
   9694 
   9695 
   9696 
   9697 
   9698 
   9699 
   9700 
   9701 
   9702 
   9703 
   9704 
   9705 
   9706 
   9707 
   9708 
   9709 
   9710 
   9711 
   9712 
   9713 
   9714 
   9715 
   9716 
   9717 
   9718 
   9719 
   9720 
   9721 
   9722 
   9723 
   9724 
   9725 
   9726 
   9727 
   9728   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   9729 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9730 
   9731 if test "$GCC" = yes; then
   9732   case $host_os in
   9733     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9734     *) lt_awk_arg="/^libraries:/" ;;
   9735   esac
   9736   case $host_os in
   9737     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   9738     *) lt_sed_strip_eq="s,=/,/,g" ;;
   9739   esac
   9740   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   9741   case $lt_search_path_spec in
   9742   *\;*)
   9743     # if the path contains ";" then we assume it to be the separator
   9744     # otherwise default to the standard path separator (i.e. ":") - it is
   9745     # assumed that no part of a normal pathname contains ";" but that should
   9746     # okay in the real world where ";" in dirpaths is itself problematic.
   9747     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   9748     ;;
   9749   *)
   9750     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   9751     ;;
   9752   esac
   9753   # Ok, now we have the path, separated by spaces, we can step through it
   9754   # and add multilib dir if necessary.
   9755   lt_tmp_lt_search_path_spec=
   9756   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9757   for lt_sys_path in $lt_search_path_spec; do
   9758     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9759       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9760     else
   9761       test -d "$lt_sys_path" && \
   9762 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9763     fi
   9764   done
   9765   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   9766 BEGIN {RS=" "; FS="/|\n";} {
   9767   lt_foo="";
   9768   lt_count=0;
   9769   for (lt_i = NF; lt_i > 0; lt_i--) {
   9770     if ($lt_i != "" && $lt_i != ".") {
   9771       if ($lt_i == "..") {
   9772         lt_count++;
   9773       } else {
   9774         if (lt_count == 0) {
   9775           lt_foo="/" $lt_i lt_foo;
   9776         } else {
   9777           lt_count--;
   9778         }
   9779       }
   9780     }
   9781   }
   9782   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9783   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9784 }'`
   9785   # AWK program above erroneously prepends '/' to C:/dos/paths
   9786   # for these hosts.
   9787   case $host_os in
   9788     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   9789       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   9790   esac
   9791   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   9792 else
   9793   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9794 fi
   9795 library_names_spec=
   9796 libname_spec='lib$name'
   9797 soname_spec=
   9798 shrext_cmds=".so"
   9799 postinstall_cmds=
   9800 postuninstall_cmds=
   9801 finish_cmds=
   9802 finish_eval=
   9803 shlibpath_var=
   9804 shlibpath_overrides_runpath=unknown
   9805 version_type=none
   9806 dynamic_linker="$host_os ld.so"
   9807 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9808 need_lib_prefix=unknown
   9809 hardcode_into_libs=no
   9810 
   9811 # when you set need_version to no, make sure it does not cause -set_version
   9812 # flags to be left without arguments
   9813 need_version=unknown
   9814 
   9815 case $host_os in
   9816 aix3*)
   9817   version_type=linux
   9818   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9819   shlibpath_var=LIBPATH
   9820 
   9821   # AIX 3 has no versioning support, so we append a major version to the name.
   9822   soname_spec='${libname}${release}${shared_ext}$major'
   9823   ;;
   9824 
   9825 aix[4-9]*)
   9826   version_type=linux
   9827   need_lib_prefix=no
   9828   need_version=no
   9829   hardcode_into_libs=yes
   9830   if test "$host_cpu" = ia64; then
   9831     # AIX 5 supports IA64
   9832     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   9833     shlibpath_var=LD_LIBRARY_PATH
   9834   else
   9835     # With GCC up to 2.95.x, collect2 would create an import file
   9836     # for dependence libraries.  The import file would start with
   9837     # the line `#! .'.  This would cause the generated library to
   9838     # depend on `.', always an invalid library.  This was fixed in
   9839     # development snapshots of GCC prior to 3.0.
   9840     case $host_os in
   9841       aix4 | aix4.[01] | aix4.[01].*)
   9842       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   9843 	   echo ' yes '
   9844 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   9845 	:
   9846       else
   9847 	can_build_shared=no
   9848       fi
   9849       ;;
   9850     esac
   9851     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   9852     # soname into executable. Probably we can add versioning support to
   9853     # collect2, so additional links can be useful in future.
   9854     if test "$aix_use_runtimelinking" = yes; then
   9855       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   9856       # instead of lib<name>.a to let people know that these are not
   9857       # typical AIX shared libraries.
   9858       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9859     else
   9860       # We preserve .a as extension for shared libraries through AIX4.2
   9861       # and later when we are not doing run time linking.
   9862       library_names_spec='${libname}${release}.a $libname.a'
   9863       soname_spec='${libname}${release}${shared_ext}$major'
   9864     fi
   9865     shlibpath_var=LIBPATH
   9866   fi
   9867   ;;
   9868 
   9869 amigaos*)
   9870   case $host_cpu in
   9871   powerpc)
   9872     # Since July 2007 AmigaOS4 officially supports .so libraries.
   9873     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   9874     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9875     ;;
   9876   m68k)
   9877     library_names_spec='$libname.ixlibrary $libname.a'
   9878     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   9879     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'
   9880     ;;
   9881   esac
   9882   ;;
   9883 
   9884 beos*)
   9885   library_names_spec='${libname}${shared_ext}'
   9886   dynamic_linker="$host_os ld.so"
   9887   shlibpath_var=LIBRARY_PATH
   9888   ;;
   9889 
   9890 bsdi[45]*)
   9891   version_type=linux
   9892   need_version=no
   9893   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9894   soname_spec='${libname}${release}${shared_ext}$major'
   9895   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   9896   shlibpath_var=LD_LIBRARY_PATH
   9897   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   9898   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   9899   # the default ld.so.conf also contains /usr/contrib/lib and
   9900   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   9901   # libtool to hard-code these into programs
   9902   ;;
   9903 
   9904 cygwin* | mingw* | pw32* | cegcc*)
   9905   version_type=windows
   9906   shrext_cmds=".dll"
   9907   need_version=no
   9908   need_lib_prefix=no
   9909 
   9910   case $GCC,$cc_basename in
   9911   yes,*)
   9912     # gcc
   9913     library_names_spec='$libname.dll.a'
   9914     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   9915     postinstall_cmds='base_file=`basename \${file}`~
   9916       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   9917       dldir=$destdir/`dirname \$dlpath`~
   9918       test -d \$dldir || mkdir -p \$dldir~
   9919       $install_prog $dir/$dlname \$dldir/$dlname~
   9920       chmod a+x \$dldir/$dlname~
   9921       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   9922         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   9923       fi'
   9924     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   9925       dlpath=$dir/\$dldll~
   9926        $RM \$dlpath'
   9927     shlibpath_overrides_runpath=yes
   9928 
   9929     case $host_os in
   9930     cygwin*)
   9931       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   9932       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9933 
   9934       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   9935       ;;
   9936     mingw* | cegcc*)
   9937       # MinGW DLLs use traditional 'lib' prefix
   9938       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9939       ;;
   9940     pw32*)
   9941       # pw32 DLLs use 'pw' prefix rather than 'lib'
   9942       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9943       ;;
   9944     esac
   9945     dynamic_linker='Win32 ld.exe'
   9946     ;;
   9947 
   9948   *,cl*)
   9949     # Native MSVC
   9950     libname_spec='$name'
   9951     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9952     library_names_spec='${libname}.dll.lib'
   9953 
   9954     case $build_os in
   9955     mingw*)
   9956       sys_lib_search_path_spec=
   9957       lt_save_ifs=$IFS
   9958       IFS=';'
   9959       for lt_path in $LIB
   9960       do
   9961         IFS=$lt_save_ifs
   9962         # Let DOS variable expansion print the short 8.3 style file name.
   9963         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   9964         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   9965       done
   9966       IFS=$lt_save_ifs
   9967       # Convert to MSYS style.
   9968       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   9969       ;;
   9970     cygwin*)
   9971       # Convert to unix form, then to dos form, then back to unix form
   9972       # but this time dos style (no spaces!) so that the unix form looks
   9973       # like /cygdrive/c/PROGRA~1:/cygdr...
   9974       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   9975       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   9976       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   9977       ;;
   9978     *)
   9979       sys_lib_search_path_spec="$LIB"
   9980       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   9981         # It is most probably a Windows format PATH.
   9982         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   9983       else
   9984         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   9985       fi
   9986       # FIXME: find the short name or the path components, as spaces are
   9987       # common. (e.g. "Program Files" -> "PROGRA~1")
   9988       ;;
   9989     esac
   9990 
   9991     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   9992     postinstall_cmds='base_file=`basename \${file}`~
   9993       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   9994       dldir=$destdir/`dirname \$dlpath`~
   9995       test -d \$dldir || mkdir -p \$dldir~
   9996       $install_prog $dir/$dlname \$dldir/$dlname'
   9997     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   9998       dlpath=$dir/\$dldll~
   9999        $RM \$dlpath'
   10000     shlibpath_overrides_runpath=yes
   10001     dynamic_linker='Win32 link.exe'
   10002     ;;
   10003 
   10004   *)
   10005     # Assume MSVC wrapper
   10006     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10007     dynamic_linker='Win32 ld.exe'
   10008     ;;
   10009   esac
   10010   # FIXME: first we should search . and the directory the executable is in
   10011   shlibpath_var=PATH
   10012   ;;
   10013 
   10014 darwin* | rhapsody*)
   10015   dynamic_linker="$host_os dyld"
   10016   version_type=darwin
   10017   need_lib_prefix=no
   10018   need_version=no
   10019   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10020   soname_spec='${libname}${release}${major}$shared_ext'
   10021   shlibpath_overrides_runpath=yes
   10022   shlibpath_var=DYLD_LIBRARY_PATH
   10023   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10024 
   10025   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10026   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10027   ;;
   10028 
   10029 dgux*)
   10030   version_type=linux
   10031   need_lib_prefix=no
   10032   need_version=no
   10033   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10034   soname_spec='${libname}${release}${shared_ext}$major'
   10035   shlibpath_var=LD_LIBRARY_PATH
   10036   ;;
   10037 
   10038 freebsd1*)
   10039   dynamic_linker=no
   10040   ;;
   10041 
   10042 freebsd* | dragonfly*)
   10043   # DragonFly does not have aout.  When/if they implement a new
   10044   # versioning mechanism, adjust this.
   10045   if test -x /usr/bin/objformat; then
   10046     objformat=`/usr/bin/objformat`
   10047   else
   10048     case $host_os in
   10049     freebsd[123]*) objformat=aout ;;
   10050     *) objformat=elf ;;
   10051     esac
   10052   fi
   10053   version_type=freebsd-$objformat
   10054   case $version_type in
   10055     freebsd-elf*)
   10056       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10057       need_version=no
   10058       need_lib_prefix=no
   10059       ;;
   10060     freebsd-*)
   10061       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10062       need_version=yes
   10063       ;;
   10064   esac
   10065   shlibpath_var=LD_LIBRARY_PATH
   10066   case $host_os in
   10067   freebsd2*)
   10068     shlibpath_overrides_runpath=yes
   10069     ;;
   10070   freebsd3.[01]* | freebsdelf3.[01]*)
   10071     shlibpath_overrides_runpath=yes
   10072     hardcode_into_libs=yes
   10073     ;;
   10074   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10075   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10076     shlibpath_overrides_runpath=no
   10077     hardcode_into_libs=yes
   10078     ;;
   10079   *) # from 4.6 on, and DragonFly
   10080     shlibpath_overrides_runpath=yes
   10081     hardcode_into_libs=yes
   10082     ;;
   10083   esac
   10084   ;;
   10085 
   10086 gnu*)
   10087   version_type=linux
   10088   need_lib_prefix=no
   10089   need_version=no
   10090   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10091   soname_spec='${libname}${release}${shared_ext}$major'
   10092   shlibpath_var=LD_LIBRARY_PATH
   10093   hardcode_into_libs=yes
   10094   ;;
   10095 
   10096 haiku*)
   10097   version_type=linux
   10098   need_lib_prefix=no
   10099   need_version=no
   10100   dynamic_linker="$host_os runtime_loader"
   10101   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10102   soname_spec='${libname}${release}${shared_ext}$major'
   10103   shlibpath_var=LIBRARY_PATH
   10104   shlibpath_overrides_runpath=yes
   10105   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   10106   hardcode_into_libs=yes
   10107   ;;
   10108 
   10109 hpux9* | hpux10* | hpux11*)
   10110   # Give a soname corresponding to the major version so that dld.sl refuses to
   10111   # link against other versions.
   10112   version_type=sunos
   10113   need_lib_prefix=no
   10114   need_version=no
   10115   case $host_cpu in
   10116   ia64*)
   10117     shrext_cmds='.so'
   10118     hardcode_into_libs=yes
   10119     dynamic_linker="$host_os dld.so"
   10120     shlibpath_var=LD_LIBRARY_PATH
   10121     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10122     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10123     soname_spec='${libname}${release}${shared_ext}$major'
   10124     if test "X$HPUX_IA64_MODE" = X32; then
   10125       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10126     else
   10127       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10128     fi
   10129     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10130     ;;
   10131   hppa*64*)
   10132     shrext_cmds='.sl'
   10133     hardcode_into_libs=yes
   10134     dynamic_linker="$host_os dld.sl"
   10135     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10136     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10137     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10138     soname_spec='${libname}${release}${shared_ext}$major'
   10139     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10140     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10141     ;;
   10142   *)
   10143     shrext_cmds='.sl'
   10144     dynamic_linker="$host_os dld.sl"
   10145     shlibpath_var=SHLIB_PATH
   10146     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10147     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10148     soname_spec='${libname}${release}${shared_ext}$major'
   10149     ;;
   10150   esac
   10151   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   10152   postinstall_cmds='chmod 555 $lib'
   10153   # or fails outright, so override atomically:
   10154   install_override_mode=555
   10155   ;;
   10156 
   10157 interix[3-9]*)
   10158   version_type=linux
   10159   need_lib_prefix=no
   10160   need_version=no
   10161   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10162   soname_spec='${libname}${release}${shared_ext}$major'
   10163   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10164   shlibpath_var=LD_LIBRARY_PATH
   10165   shlibpath_overrides_runpath=no
   10166   hardcode_into_libs=yes
   10167   ;;
   10168 
   10169 irix5* | irix6* | nonstopux*)
   10170   case $host_os in
   10171     nonstopux*) version_type=nonstopux ;;
   10172     *)
   10173 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10174 		version_type=linux
   10175 	else
   10176 		version_type=irix
   10177 	fi ;;
   10178   esac
   10179   need_lib_prefix=no
   10180   need_version=no
   10181   soname_spec='${libname}${release}${shared_ext}$major'
   10182   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10183   case $host_os in
   10184   irix5* | nonstopux*)
   10185     libsuff= shlibsuff=
   10186     ;;
   10187   *)
   10188     case $LD in # libtool.m4 will add one of these switches to LD
   10189     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10190       libsuff= shlibsuff= libmagic=32-bit;;
   10191     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10192       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10193     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10194       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10195     *) libsuff= shlibsuff= libmagic=never-match;;
   10196     esac
   10197     ;;
   10198   esac
   10199   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10200   shlibpath_overrides_runpath=no
   10201   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10202   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10203   hardcode_into_libs=yes
   10204   ;;
   10205 
   10206 # No shared lib support for Linux oldld, aout, or coff.
   10207 linux*oldld* | linux*aout* | linux*coff*)
   10208   dynamic_linker=no
   10209   ;;
   10210 
   10211 # This must be Linux ELF.
   10212 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   10213   version_type=linux
   10214   need_lib_prefix=no
   10215   need_version=no
   10216   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10217   soname_spec='${libname}${release}${shared_ext}$major'
   10218   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10219   shlibpath_var=LD_LIBRARY_PATH
   10220   shlibpath_overrides_runpath=no
   10221 
   10222   # Some binutils ld are patched to set DT_RUNPATH
   10223   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   10224   $as_echo_n "(cached) " >&6
   10225 else
   10226   lt_cv_shlibpath_overrides_runpath=no
   10227     save_LDFLAGS=$LDFLAGS
   10228     save_libdir=$libdir
   10229     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10230 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10231     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10232 /* end confdefs.h.  */
   10233 
   10234 int
   10235 main ()
   10236 {
   10237 
   10238   ;
   10239   return 0;
   10240 }
   10241 _ACEOF
   10242 if ac_fn_c_try_link "$LINENO"; then :
   10243   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10244   lt_cv_shlibpath_overrides_runpath=yes
   10245 fi
   10246 fi
   10247 rm -f core conftest.err conftest.$ac_objext \
   10248     conftest$ac_exeext conftest.$ac_ext
   10249     LDFLAGS=$save_LDFLAGS
   10250     libdir=$save_libdir
   10251 
   10252 fi
   10253 
   10254   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   10255 
   10256   # This implies no fast_install, which is unacceptable.
   10257   # Some rework will be needed to allow for fast_install
   10258   # before this can be enabled.
   10259   hardcode_into_libs=yes
   10260 
   10261   # Append ld.so.conf contents to the search path
   10262   if test -f /etc/ld.so.conf; then
   10263     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' ' '`
   10264     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   10265   fi
   10266 
   10267   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10268   # powerpc, because MkLinux only supported shared libraries with the
   10269   # GNU dynamic linker.  Since this was broken with cross compilers,
   10270   # most powerpc-linux boxes support dynamic linking these days and
   10271   # people can always --disable-shared, the test was removed, and we
   10272   # assume the GNU/Linux dynamic linker is in use.
   10273   dynamic_linker='GNU/Linux ld.so'
   10274   ;;
   10275 
   10276 netbsd*)
   10277   version_type=sunos
   10278   need_lib_prefix=no
   10279   need_version=no
   10280   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10281     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10282     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10283     dynamic_linker='NetBSD (a.out) ld.so'
   10284   else
   10285     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10286     soname_spec='${libname}${release}${shared_ext}$major'
   10287     dynamic_linker='NetBSD ld.elf_so'
   10288   fi
   10289   shlibpath_var=LD_LIBRARY_PATH
   10290   shlibpath_overrides_runpath=yes
   10291   hardcode_into_libs=yes
   10292   ;;
   10293 
   10294 newsos6)
   10295   version_type=linux
   10296   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10297   shlibpath_var=LD_LIBRARY_PATH
   10298   shlibpath_overrides_runpath=yes
   10299   ;;
   10300 
   10301 *nto* | *qnx*)
   10302   version_type=qnx
   10303   need_lib_prefix=no
   10304   need_version=no
   10305   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10306   soname_spec='${libname}${release}${shared_ext}$major'
   10307   shlibpath_var=LD_LIBRARY_PATH
   10308   shlibpath_overrides_runpath=no
   10309   hardcode_into_libs=yes
   10310   dynamic_linker='ldqnx.so'
   10311   ;;
   10312 
   10313 openbsd*)
   10314   version_type=sunos
   10315   sys_lib_dlsearch_path_spec="/usr/lib"
   10316   need_lib_prefix=no
   10317   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10318   case $host_os in
   10319     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10320     *)				need_version=no  ;;
   10321   esac
   10322   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10323   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10324   shlibpath_var=LD_LIBRARY_PATH
   10325   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10326     case $host_os in
   10327       openbsd2.[89] | openbsd2.[89].*)
   10328 	shlibpath_overrides_runpath=no
   10329 	;;
   10330       *)
   10331 	shlibpath_overrides_runpath=yes
   10332 	;;
   10333       esac
   10334   else
   10335     shlibpath_overrides_runpath=yes
   10336   fi
   10337   ;;
   10338 
   10339 os2*)
   10340   libname_spec='$name'
   10341   shrext_cmds=".dll"
   10342   need_lib_prefix=no
   10343   library_names_spec='$libname${shared_ext} $libname.a'
   10344   dynamic_linker='OS/2 ld.exe'
   10345   shlibpath_var=LIBPATH
   10346   ;;
   10347 
   10348 osf3* | osf4* | osf5*)
   10349   version_type=osf
   10350   need_lib_prefix=no
   10351   need_version=no
   10352   soname_spec='${libname}${release}${shared_ext}$major'
   10353   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10354   shlibpath_var=LD_LIBRARY_PATH
   10355   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10356   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10357   ;;
   10358 
   10359 rdos*)
   10360   dynamic_linker=no
   10361   ;;
   10362 
   10363 solaris*)
   10364   version_type=linux
   10365   need_lib_prefix=no
   10366   need_version=no
   10367   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10368   soname_spec='${libname}${release}${shared_ext}$major'
   10369   shlibpath_var=LD_LIBRARY_PATH
   10370   shlibpath_overrides_runpath=yes
   10371   hardcode_into_libs=yes
   10372   # ldd complains unless libraries are executable
   10373   postinstall_cmds='chmod +x $lib'
   10374   ;;
   10375 
   10376 sunos4*)
   10377   version_type=sunos
   10378   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10379   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10380   shlibpath_var=LD_LIBRARY_PATH
   10381   shlibpath_overrides_runpath=yes
   10382   if test "$with_gnu_ld" = yes; then
   10383     need_lib_prefix=no
   10384   fi
   10385   need_version=yes
   10386   ;;
   10387 
   10388 sysv4 | sysv4.3*)
   10389   version_type=linux
   10390   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10391   soname_spec='${libname}${release}${shared_ext}$major'
   10392   shlibpath_var=LD_LIBRARY_PATH
   10393   case $host_vendor in
   10394     sni)
   10395       shlibpath_overrides_runpath=no
   10396       need_lib_prefix=no
   10397       runpath_var=LD_RUN_PATH
   10398       ;;
   10399     siemens)
   10400       need_lib_prefix=no
   10401       ;;
   10402     motorola)
   10403       need_lib_prefix=no
   10404       need_version=no
   10405       shlibpath_overrides_runpath=no
   10406       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10407       ;;
   10408   esac
   10409   ;;
   10410 
   10411 sysv4*MP*)
   10412   if test -d /usr/nec ;then
   10413     version_type=linux
   10414     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10415     soname_spec='$libname${shared_ext}.$major'
   10416     shlibpath_var=LD_LIBRARY_PATH
   10417   fi
   10418   ;;
   10419 
   10420 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10421   version_type=freebsd-elf
   10422   need_lib_prefix=no
   10423   need_version=no
   10424   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10425   soname_spec='${libname}${release}${shared_ext}$major'
   10426   shlibpath_var=LD_LIBRARY_PATH
   10427   shlibpath_overrides_runpath=yes
   10428   hardcode_into_libs=yes
   10429   if test "$with_gnu_ld" = yes; then
   10430     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10431   else
   10432     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10433     case $host_os in
   10434       sco3.2v5*)
   10435         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10436 	;;
   10437     esac
   10438   fi
   10439   sys_lib_dlsearch_path_spec='/usr/lib'
   10440   ;;
   10441 
   10442 tpf*)
   10443   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10444   version_type=linux
   10445   need_lib_prefix=no
   10446   need_version=no
   10447   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10448   shlibpath_var=LD_LIBRARY_PATH
   10449   shlibpath_overrides_runpath=no
   10450   hardcode_into_libs=yes
   10451   ;;
   10452 
   10453 uts4*)
   10454   version_type=linux
   10455   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10456   soname_spec='${libname}${release}${shared_ext}$major'
   10457   shlibpath_var=LD_LIBRARY_PATH
   10458   ;;
   10459 
   10460 *)
   10461   dynamic_linker=no
   10462   ;;
   10463 esac
   10464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   10465 $as_echo "$dynamic_linker" >&6; }
   10466 test "$dynamic_linker" = no && can_build_shared=no
   10467 
   10468 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10469 if test "$GCC" = yes; then
   10470   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10471 fi
   10472 
   10473 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   10474   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   10475 fi
   10476 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   10477   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   10478 fi
   10479 
   10480 
   10481 
   10482 
   10483 
   10484 
   10485 
   10486 
   10487 
   10488 
   10489 
   10490 
   10491 
   10492 
   10493 
   10494 
   10495 
   10496 
   10497 
   10498 
   10499 
   10500 
   10501 
   10502 
   10503 
   10504 
   10505 
   10506 
   10507 
   10508 
   10509 
   10510 
   10511 
   10512 
   10513 
   10514 
   10515 
   10516 
   10517 
   10518 
   10519 
   10520 
   10521 
   10522 
   10523 
   10524 
   10525 
   10526 
   10527 
   10528 
   10529 
   10530 
   10531 
   10532 
   10533 
   10534 
   10535 
   10536 
   10537 
   10538 
   10539 
   10540 
   10541 
   10542 
   10543 
   10544 
   10545 
   10546 
   10547 
   10548 
   10549 
   10550 
   10551 
   10552 
   10553 
   10554 
   10555 
   10556 
   10557 
   10558 
   10559 
   10560 
   10561 
   10562 
   10563 
   10564 
   10565 
   10566 
   10567 
   10568 
   10569 
   10570 
   10571   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   10572 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   10573 hardcode_action=
   10574 if test -n "$hardcode_libdir_flag_spec" ||
   10575    test -n "$runpath_var" ||
   10576    test "X$hardcode_automatic" = "Xyes" ; then
   10577 
   10578   # We can hardcode non-existent directories.
   10579   if test "$hardcode_direct" != no &&
   10580      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   10581      # have to relink, otherwise we might link with an installed library
   10582      # when we should be linking with a yet-to-be-installed one
   10583      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   10584      test "$hardcode_minus_L" != no; then
   10585     # Linking always hardcodes the temporary library directory.
   10586     hardcode_action=relink
   10587   else
   10588     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   10589     hardcode_action=immediate
   10590   fi
   10591 else
   10592   # We cannot hardcode anything, or else we can only hardcode existing
   10593   # directories.
   10594   hardcode_action=unsupported
   10595 fi
   10596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   10597 $as_echo "$hardcode_action" >&6; }
   10598 
   10599 if test "$hardcode_action" = relink ||
   10600    test "$inherit_rpath" = yes; then
   10601   # Fast installation is not supported
   10602   enable_fast_install=no
   10603 elif test "$shlibpath_overrides_runpath" = yes ||
   10604      test "$enable_shared" = no; then
   10605   # Fast installation is not necessary
   10606   enable_fast_install=needless
   10607 fi
   10608 
   10609 
   10610 
   10611 
   10612 
   10613 
   10614   if test "x$enable_dlopen" != xyes; then
   10615   enable_dlopen=unknown
   10616   enable_dlopen_self=unknown
   10617   enable_dlopen_self_static=unknown
   10618 else
   10619   lt_cv_dlopen=no
   10620   lt_cv_dlopen_libs=
   10621 
   10622   case $host_os in
   10623   beos*)
   10624     lt_cv_dlopen="load_add_on"
   10625     lt_cv_dlopen_libs=
   10626     lt_cv_dlopen_self=yes
   10627     ;;
   10628 
   10629   mingw* | pw32* | cegcc*)
   10630     lt_cv_dlopen="LoadLibrary"
   10631     lt_cv_dlopen_libs=
   10632     ;;
   10633 
   10634   cygwin*)
   10635     lt_cv_dlopen="dlopen"
   10636     lt_cv_dlopen_libs=
   10637     ;;
   10638 
   10639   darwin*)
   10640   # if libdl is installed we need to link against it
   10641     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10642 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10643 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10644   $as_echo_n "(cached) " >&6
   10645 else
   10646   ac_check_lib_save_LIBS=$LIBS
   10647 LIBS="-ldl  $LIBS"
   10648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10649 /* end confdefs.h.  */
   10650 
   10651 /* Override any GCC internal prototype to avoid an error.
   10652    Use char because int might match the return type of a GCC
   10653    builtin and then its argument prototype would still apply.  */
   10654 #ifdef __cplusplus
   10655 extern "C"
   10656 #endif
   10657 char dlopen ();
   10658 int
   10659 main ()
   10660 {
   10661 return dlopen ();
   10662   ;
   10663   return 0;
   10664 }
   10665 _ACEOF
   10666 if ac_fn_c_try_link "$LINENO"; then :
   10667   ac_cv_lib_dl_dlopen=yes
   10668 else
   10669   ac_cv_lib_dl_dlopen=no
   10670 fi
   10671 rm -f core conftest.err conftest.$ac_objext \
   10672     conftest$ac_exeext conftest.$ac_ext
   10673 LIBS=$ac_check_lib_save_LIBS
   10674 fi
   10675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10676 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10677 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10678   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10679 else
   10680 
   10681     lt_cv_dlopen="dyld"
   10682     lt_cv_dlopen_libs=
   10683     lt_cv_dlopen_self=yes
   10684 
   10685 fi
   10686 
   10687     ;;
   10688 
   10689   *)
   10690     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   10691 if test "x$ac_cv_func_shl_load" = xyes; then :
   10692   lt_cv_dlopen="shl_load"
   10693 else
   10694   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   10695 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10696 if ${ac_cv_lib_dld_shl_load+:} false; then :
   10697   $as_echo_n "(cached) " >&6
   10698 else
   10699   ac_check_lib_save_LIBS=$LIBS
   10700 LIBS="-ldld  $LIBS"
   10701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10702 /* end confdefs.h.  */
   10703 
   10704 /* Override any GCC internal prototype to avoid an error.
   10705    Use char because int might match the return type of a GCC
   10706    builtin and then its argument prototype would still apply.  */
   10707 #ifdef __cplusplus
   10708 extern "C"
   10709 #endif
   10710 char shl_load ();
   10711 int
   10712 main ()
   10713 {
   10714 return shl_load ();
   10715   ;
   10716   return 0;
   10717 }
   10718 _ACEOF
   10719 if ac_fn_c_try_link "$LINENO"; then :
   10720   ac_cv_lib_dld_shl_load=yes
   10721 else
   10722   ac_cv_lib_dld_shl_load=no
   10723 fi
   10724 rm -f core conftest.err conftest.$ac_objext \
   10725     conftest$ac_exeext conftest.$ac_ext
   10726 LIBS=$ac_check_lib_save_LIBS
   10727 fi
   10728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   10729 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10730 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   10731   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10732 else
   10733   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   10734 if test "x$ac_cv_func_dlopen" = xyes; then :
   10735   lt_cv_dlopen="dlopen"
   10736 else
   10737   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10738 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10739 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10740   $as_echo_n "(cached) " >&6
   10741 else
   10742   ac_check_lib_save_LIBS=$LIBS
   10743 LIBS="-ldl  $LIBS"
   10744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10745 /* end confdefs.h.  */
   10746 
   10747 /* Override any GCC internal prototype to avoid an error.
   10748    Use char because int might match the return type of a GCC
   10749    builtin and then its argument prototype would still apply.  */
   10750 #ifdef __cplusplus
   10751 extern "C"
   10752 #endif
   10753 char dlopen ();
   10754 int
   10755 main ()
   10756 {
   10757 return dlopen ();
   10758   ;
   10759   return 0;
   10760 }
   10761 _ACEOF
   10762 if ac_fn_c_try_link "$LINENO"; then :
   10763   ac_cv_lib_dl_dlopen=yes
   10764 else
   10765   ac_cv_lib_dl_dlopen=no
   10766 fi
   10767 rm -f core conftest.err conftest.$ac_objext \
   10768     conftest$ac_exeext conftest.$ac_ext
   10769 LIBS=$ac_check_lib_save_LIBS
   10770 fi
   10771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10772 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10773 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10774   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10775 else
   10776   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   10777 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10778 if ${ac_cv_lib_svld_dlopen+:} false; then :
   10779   $as_echo_n "(cached) " >&6
   10780 else
   10781   ac_check_lib_save_LIBS=$LIBS
   10782 LIBS="-lsvld  $LIBS"
   10783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10784 /* end confdefs.h.  */
   10785 
   10786 /* Override any GCC internal prototype to avoid an error.
   10787    Use char because int might match the return type of a GCC
   10788    builtin and then its argument prototype would still apply.  */
   10789 #ifdef __cplusplus
   10790 extern "C"
   10791 #endif
   10792 char dlopen ();
   10793 int
   10794 main ()
   10795 {
   10796 return dlopen ();
   10797   ;
   10798   return 0;
   10799 }
   10800 _ACEOF
   10801 if ac_fn_c_try_link "$LINENO"; then :
   10802   ac_cv_lib_svld_dlopen=yes
   10803 else
   10804   ac_cv_lib_svld_dlopen=no
   10805 fi
   10806 rm -f core conftest.err conftest.$ac_objext \
   10807     conftest$ac_exeext conftest.$ac_ext
   10808 LIBS=$ac_check_lib_save_LIBS
   10809 fi
   10810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   10811 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   10812 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   10813   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10814 else
   10815   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   10816 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   10817 if ${ac_cv_lib_dld_dld_link+:} false; then :
   10818   $as_echo_n "(cached) " >&6
   10819 else
   10820   ac_check_lib_save_LIBS=$LIBS
   10821 LIBS="-ldld  $LIBS"
   10822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10823 /* end confdefs.h.  */
   10824 
   10825 /* Override any GCC internal prototype to avoid an error.
   10826    Use char because int might match the return type of a GCC
   10827    builtin and then its argument prototype would still apply.  */
   10828 #ifdef __cplusplus
   10829 extern "C"
   10830 #endif
   10831 char dld_link ();
   10832 int
   10833 main ()
   10834 {
   10835 return dld_link ();
   10836   ;
   10837   return 0;
   10838 }
   10839 _ACEOF
   10840 if ac_fn_c_try_link "$LINENO"; then :
   10841   ac_cv_lib_dld_dld_link=yes
   10842 else
   10843   ac_cv_lib_dld_dld_link=no
   10844 fi
   10845 rm -f core conftest.err conftest.$ac_objext \
   10846     conftest$ac_exeext conftest.$ac_ext
   10847 LIBS=$ac_check_lib_save_LIBS
   10848 fi
   10849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   10850 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   10851 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   10852   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   10853 fi
   10854 
   10855 
   10856 fi
   10857 
   10858 
   10859 fi
   10860 
   10861 
   10862 fi
   10863 
   10864 
   10865 fi
   10866 
   10867 
   10868 fi
   10869 
   10870     ;;
   10871   esac
   10872 
   10873   if test "x$lt_cv_dlopen" != xno; then
   10874     enable_dlopen=yes
   10875   else
   10876     enable_dlopen=no
   10877   fi
   10878 
   10879   case $lt_cv_dlopen in
   10880   dlopen)
   10881     save_CPPFLAGS="$CPPFLAGS"
   10882     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   10883 
   10884     save_LDFLAGS="$LDFLAGS"
   10885     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   10886 
   10887     save_LIBS="$LIBS"
   10888     LIBS="$lt_cv_dlopen_libs $LIBS"
   10889 
   10890     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   10891 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   10892 if ${lt_cv_dlopen_self+:} false; then :
   10893   $as_echo_n "(cached) " >&6
   10894 else
   10895   	  if test "$cross_compiling" = yes; then :
   10896   lt_cv_dlopen_self=cross
   10897 else
   10898   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10899   lt_status=$lt_dlunknown
   10900   cat > conftest.$ac_ext <<_LT_EOF
   10901 #line $LINENO "configure"
   10902 #include "confdefs.h"
   10903 
   10904 #if HAVE_DLFCN_H
   10905 #include <dlfcn.h>
   10906 #endif
   10907 
   10908 #include <stdio.h>
   10909 
   10910 #ifdef RTLD_GLOBAL
   10911 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10912 #else
   10913 #  ifdef DL_GLOBAL
   10914 #    define LT_DLGLOBAL		DL_GLOBAL
   10915 #  else
   10916 #    define LT_DLGLOBAL		0
   10917 #  endif
   10918 #endif
   10919 
   10920 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10921    find out it does not work in some platform. */
   10922 #ifndef LT_DLLAZY_OR_NOW
   10923 #  ifdef RTLD_LAZY
   10924 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10925 #  else
   10926 #    ifdef DL_LAZY
   10927 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10928 #    else
   10929 #      ifdef RTLD_NOW
   10930 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10931 #      else
   10932 #        ifdef DL_NOW
   10933 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10934 #        else
   10935 #          define LT_DLLAZY_OR_NOW	0
   10936 #        endif
   10937 #      endif
   10938 #    endif
   10939 #  endif
   10940 #endif
   10941 
   10942 /* When -fvisbility=hidden is used, assume the code has been annotated
   10943    correspondingly for the symbols needed.  */
   10944 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   10945 int fnord () __attribute__((visibility("default")));
   10946 #endif
   10947 
   10948 int fnord () { return 42; }
   10949 int main ()
   10950 {
   10951   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10952   int status = $lt_dlunknown;
   10953 
   10954   if (self)
   10955     {
   10956       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10957       else
   10958         {
   10959 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   10960           else puts (dlerror ());
   10961 	}
   10962       /* dlclose (self); */
   10963     }
   10964   else
   10965     puts (dlerror ());
   10966 
   10967   return status;
   10968 }
   10969 _LT_EOF
   10970   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   10971   (eval $ac_link) 2>&5
   10972   ac_status=$?
   10973   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10974   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   10975     (./conftest; exit; ) >&5 2>/dev/null
   10976     lt_status=$?
   10977     case x$lt_status in
   10978       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   10979       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   10980       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   10981     esac
   10982   else :
   10983     # compilation failed
   10984     lt_cv_dlopen_self=no
   10985   fi
   10986 fi
   10987 rm -fr conftest*
   10988 
   10989 
   10990 fi
   10991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   10992 $as_echo "$lt_cv_dlopen_self" >&6; }
   10993 
   10994     if test "x$lt_cv_dlopen_self" = xyes; then
   10995       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   10996       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   10997 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   10998 if ${lt_cv_dlopen_self_static+:} false; then :
   10999   $as_echo_n "(cached) " >&6
   11000 else
   11001   	  if test "$cross_compiling" = yes; then :
   11002   lt_cv_dlopen_self_static=cross
   11003 else
   11004   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11005   lt_status=$lt_dlunknown
   11006   cat > conftest.$ac_ext <<_LT_EOF
   11007 #line $LINENO "configure"
   11008 #include "confdefs.h"
   11009 
   11010 #if HAVE_DLFCN_H
   11011 #include <dlfcn.h>
   11012 #endif
   11013 
   11014 #include <stdio.h>
   11015 
   11016 #ifdef RTLD_GLOBAL
   11017 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11018 #else
   11019 #  ifdef DL_GLOBAL
   11020 #    define LT_DLGLOBAL		DL_GLOBAL
   11021 #  else
   11022 #    define LT_DLGLOBAL		0
   11023 #  endif
   11024 #endif
   11025 
   11026 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11027    find out it does not work in some platform. */
   11028 #ifndef LT_DLLAZY_OR_NOW
   11029 #  ifdef RTLD_LAZY
   11030 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11031 #  else
   11032 #    ifdef DL_LAZY
   11033 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11034 #    else
   11035 #      ifdef RTLD_NOW
   11036 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11037 #      else
   11038 #        ifdef DL_NOW
   11039 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11040 #        else
   11041 #          define LT_DLLAZY_OR_NOW	0
   11042 #        endif
   11043 #      endif
   11044 #    endif
   11045 #  endif
   11046 #endif
   11047 
   11048 /* When -fvisbility=hidden is used, assume the code has been annotated
   11049    correspondingly for the symbols needed.  */
   11050 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11051 int fnord () __attribute__((visibility("default")));
   11052 #endif
   11053 
   11054 int fnord () { return 42; }
   11055 int main ()
   11056 {
   11057   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11058   int status = $lt_dlunknown;
   11059 
   11060   if (self)
   11061     {
   11062       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11063       else
   11064         {
   11065 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11066           else puts (dlerror ());
   11067 	}
   11068       /* dlclose (self); */
   11069     }
   11070   else
   11071     puts (dlerror ());
   11072 
   11073   return status;
   11074 }
   11075 _LT_EOF
   11076   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11077   (eval $ac_link) 2>&5
   11078   ac_status=$?
   11079   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11080   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11081     (./conftest; exit; ) >&5 2>/dev/null
   11082     lt_status=$?
   11083     case x$lt_status in
   11084       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11085       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11086       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11087     esac
   11088   else :
   11089     # compilation failed
   11090     lt_cv_dlopen_self_static=no
   11091   fi
   11092 fi
   11093 rm -fr conftest*
   11094 
   11095 
   11096 fi
   11097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11098 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11099     fi
   11100 
   11101     CPPFLAGS="$save_CPPFLAGS"
   11102     LDFLAGS="$save_LDFLAGS"
   11103     LIBS="$save_LIBS"
   11104     ;;
   11105   esac
   11106 
   11107   case $lt_cv_dlopen_self in
   11108   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11109   *) enable_dlopen_self=unknown ;;
   11110   esac
   11111 
   11112   case $lt_cv_dlopen_self_static in
   11113   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11114   *) enable_dlopen_self_static=unknown ;;
   11115   esac
   11116 fi
   11117 
   11118 
   11119 
   11120 
   11121 
   11122 
   11123 
   11124 
   11125 
   11126 
   11127 
   11128 
   11129 
   11130 
   11131 
   11132 
   11133 
   11134 striplib=
   11135 old_striplib=
   11136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11137 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11138 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11139   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11140   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11141   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11142 $as_echo "yes" >&6; }
   11143 else
   11144 # FIXME - insert some real tests, host_os isn't really good enough
   11145   case $host_os in
   11146   darwin*)
   11147     if test -n "$STRIP" ; then
   11148       striplib="$STRIP -x"
   11149       old_striplib="$STRIP -S"
   11150       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11151 $as_echo "yes" >&6; }
   11152     else
   11153       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11154 $as_echo "no" >&6; }
   11155     fi
   11156     ;;
   11157   *)
   11158     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11159 $as_echo "no" >&6; }
   11160     ;;
   11161   esac
   11162 fi
   11163 
   11164 
   11165 
   11166 
   11167 
   11168 
   11169 
   11170 
   11171 
   11172 
   11173 
   11174 
   11175   # Report which library types will actually be built
   11176   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11177 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11178   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11179 $as_echo "$can_build_shared" >&6; }
   11180 
   11181   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11182 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11183   test "$can_build_shared" = "no" && enable_shared=no
   11184 
   11185   # On AIX, shared libraries and static libraries use the same namespace, and
   11186   # are all built from PIC.
   11187   case $host_os in
   11188   aix3*)
   11189     test "$enable_shared" = yes && enable_static=no
   11190     if test -n "$RANLIB"; then
   11191       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11192       postinstall_cmds='$RANLIB $lib'
   11193     fi
   11194     ;;
   11195 
   11196   aix[4-9]*)
   11197     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11198       test "$enable_shared" = yes && enable_static=no
   11199     fi
   11200     ;;
   11201   esac
   11202   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11203 $as_echo "$enable_shared" >&6; }
   11204 
   11205   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11206 $as_echo_n "checking whether to build static libraries... " >&6; }
   11207   # Make sure either enable_shared or enable_static is yes.
   11208   test "$enable_shared" = yes || enable_static=yes
   11209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11210 $as_echo "$enable_static" >&6; }
   11211 
   11212 
   11213 
   11214 
   11215 fi
   11216 ac_ext=c
   11217 ac_cpp='$CPP $CPPFLAGS'
   11218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11221 
   11222 CC="$lt_save_CC"
   11223 
   11224 
   11225 
   11226 
   11227 
   11228 
   11229 
   11230 
   11231 
   11232 
   11233 
   11234 
   11235 
   11236         ac_config_commands="$ac_config_commands libtool"
   11237 
   11238 
   11239 
   11240 
   11241 # Only expand once:
   11242 
   11243 
   11244 
   11245 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   11246 
   11247 
   11248 
   11249 
   11250 
   11251 
   11252 
   11253 
   11254 
   11255 
   11256 
   11257    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   11258 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   11259 if ${ac_cv_prog_cc_c99+:} false; then :
   11260   $as_echo_n "(cached) " >&6
   11261 else
   11262   ac_cv_prog_cc_c99=no
   11263 ac_save_CC=$CC
   11264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11265 /* end confdefs.h.  */
   11266 #include <stdarg.h>
   11267 #include <stdbool.h>
   11268 #include <stdlib.h>
   11269 #include <wchar.h>
   11270 #include <stdio.h>
   11271 
   11272 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   11273 #define debug(...) fprintf (stderr, __VA_ARGS__)
   11274 #define showlist(...) puts (#__VA_ARGS__)
   11275 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   11276 static void
   11277 test_varargs_macros (void)
   11278 {
   11279   int x = 1234;
   11280   int y = 5678;
   11281   debug ("Flag");
   11282   debug ("X = %d\n", x);
   11283   showlist (The first, second, and third items.);
   11284   report (x>y, "x is %d but y is %d", x, y);
   11285 }
   11286 
   11287 // Check long long types.
   11288 #define BIG64 18446744073709551615ull
   11289 #define BIG32 4294967295ul
   11290 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   11291 #if !BIG_OK
   11292   your preprocessor is broken;
   11293 #endif
   11294 #if BIG_OK
   11295 #else
   11296   your preprocessor is broken;
   11297 #endif
   11298 static long long int bignum = -9223372036854775807LL;
   11299 static unsigned long long int ubignum = BIG64;
   11300 
   11301 struct incomplete_array
   11302 {
   11303   int datasize;
   11304   double data[];
   11305 };
   11306 
   11307 struct named_init {
   11308   int number;
   11309   const wchar_t *name;
   11310   double average;
   11311 };
   11312 
   11313 typedef const char *ccp;
   11314 
   11315 static inline int
   11316 test_restrict (ccp restrict text)
   11317 {
   11318   // See if C++-style comments work.
   11319   // Iterate through items via the restricted pointer.
   11320   // Also check for declarations in for loops.
   11321   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   11322     continue;
   11323   return 0;
   11324 }
   11325 
   11326 // Check varargs and va_copy.
   11327 static void
   11328 test_varargs (const char *format, ...)
   11329 {
   11330   va_list args;
   11331   va_start (args, format);
   11332   va_list args_copy;
   11333   va_copy (args_copy, args);
   11334 
   11335   const char *str;
   11336   int number;
   11337   float fnumber;
   11338 
   11339   while (*format)
   11340     {
   11341       switch (*format++)
   11342 	{
   11343 	case 's': // string
   11344 	  str = va_arg (args_copy, const char *);
   11345 	  break;
   11346 	case 'd': // int
   11347 	  number = va_arg (args_copy, int);
   11348 	  break;
   11349 	case 'f': // float
   11350 	  fnumber = va_arg (args_copy, double);
   11351 	  break;
   11352 	default:
   11353 	  break;
   11354 	}
   11355     }
   11356   va_end (args_copy);
   11357   va_end (args);
   11358 }
   11359 
   11360 int
   11361 main ()
   11362 {
   11363 
   11364   // Check bool.
   11365   _Bool success = false;
   11366 
   11367   // Check restrict.
   11368   if (test_restrict ("String literal") == 0)
   11369     success = true;
   11370   char *restrict newvar = "Another string";
   11371 
   11372   // Check varargs.
   11373   test_varargs ("s, d' f .", "string", 65, 34.234);
   11374   test_varargs_macros ();
   11375 
   11376   // Check flexible array members.
   11377   struct incomplete_array *ia =
   11378     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   11379   ia->datasize = 10;
   11380   for (int i = 0; i < ia->datasize; ++i)
   11381     ia->data[i] = i * 1.234;
   11382 
   11383   // Check named initializers.
   11384   struct named_init ni = {
   11385     .number = 34,
   11386     .name = L"Test wide string",
   11387     .average = 543.34343,
   11388   };
   11389 
   11390   ni.number = 58;
   11391 
   11392   int dynamic_array[ni.number];
   11393   dynamic_array[ni.number - 1] = 543;
   11394 
   11395   // work around unused variable warnings
   11396   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   11397 	  || dynamic_array[ni.number - 1] != 543);
   11398 
   11399   ;
   11400   return 0;
   11401 }
   11402 _ACEOF
   11403 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   11404 do
   11405   CC="$ac_save_CC $ac_arg"
   11406   if ac_fn_c_try_compile "$LINENO"; then :
   11407   ac_cv_prog_cc_c99=$ac_arg
   11408 fi
   11409 rm -f core conftest.err conftest.$ac_objext
   11410   test "x$ac_cv_prog_cc_c99" != "xno" && break
   11411 done
   11412 rm -f conftest.$ac_ext
   11413 CC=$ac_save_CC
   11414 
   11415 fi
   11416 # AC_CACHE_VAL
   11417 case "x$ac_cv_prog_cc_c99" in
   11418   x)
   11419     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   11420 $as_echo "none needed" >&6; } ;;
   11421   xno)
   11422     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   11423 $as_echo "unsupported" >&6; } ;;
   11424   *)
   11425     CC="$CC $ac_cv_prog_cc_c99"
   11426     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   11427 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   11428 esac
   11429 if test "x$ac_cv_prog_cc_c99" != xno; then :
   11430 
   11431 fi
   11432 
   11433 
   11434 
   11435 
   11436 
   11437 
   11438 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   11439 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   11440   CLANGCC="yes"
   11441 else
   11442   CLANGCC="no"
   11443 fi
   11444 
   11445 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   11446 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   11447   INTELCC="yes"
   11448 else
   11449   INTELCC="no"
   11450 fi
   11451 
   11452 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   11453 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   11454   SUNCC="yes"
   11455 else
   11456   SUNCC="no"
   11457 fi
   11458 
   11459 
   11460 
   11461 
   11462 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   11463 	if test -n "$ac_tool_prefix"; then
   11464   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   11465 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   11466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11467 $as_echo_n "checking for $ac_word... " >&6; }
   11468 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   11469   $as_echo_n "(cached) " >&6
   11470 else
   11471   case $PKG_CONFIG in
   11472   [\\/]* | ?:[\\/]*)
   11473   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   11474   ;;
   11475   *)
   11476   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11477 for as_dir in $PATH
   11478 do
   11479   IFS=$as_save_IFS
   11480   test -z "$as_dir" && as_dir=.
   11481     for ac_exec_ext in '' $ac_executable_extensions; do
   11482   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11483     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11484     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11485     break 2
   11486   fi
   11487 done
   11488   done
   11489 IFS=$as_save_IFS
   11490 
   11491   ;;
   11492 esac
   11493 fi
   11494 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   11495 if test -n "$PKG_CONFIG"; then
   11496   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   11497 $as_echo "$PKG_CONFIG" >&6; }
   11498 else
   11499   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11500 $as_echo "no" >&6; }
   11501 fi
   11502 
   11503 
   11504 fi
   11505 if test -z "$ac_cv_path_PKG_CONFIG"; then
   11506   ac_pt_PKG_CONFIG=$PKG_CONFIG
   11507   # Extract the first word of "pkg-config", so it can be a program name with args.
   11508 set dummy pkg-config; ac_word=$2
   11509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11510 $as_echo_n "checking for $ac_word... " >&6; }
   11511 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   11512   $as_echo_n "(cached) " >&6
   11513 else
   11514   case $ac_pt_PKG_CONFIG in
   11515   [\\/]* | ?:[\\/]*)
   11516   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   11517   ;;
   11518   *)
   11519   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11520 for as_dir in $PATH
   11521 do
   11522   IFS=$as_save_IFS
   11523   test -z "$as_dir" && as_dir=.
   11524     for ac_exec_ext in '' $ac_executable_extensions; do
   11525   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11526     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11527     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11528     break 2
   11529   fi
   11530 done
   11531   done
   11532 IFS=$as_save_IFS
   11533 
   11534   ;;
   11535 esac
   11536 fi
   11537 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   11538 if test -n "$ac_pt_PKG_CONFIG"; then
   11539   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   11540 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   11541 else
   11542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11543 $as_echo "no" >&6; }
   11544 fi
   11545 
   11546   if test "x$ac_pt_PKG_CONFIG" = x; then
   11547     PKG_CONFIG=""
   11548   else
   11549     case $cross_compiling:$ac_tool_warned in
   11550 yes:)
   11551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11552 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11553 ac_tool_warned=yes ;;
   11554 esac
   11555     PKG_CONFIG=$ac_pt_PKG_CONFIG
   11556   fi
   11557 else
   11558   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   11559 fi
   11560 
   11561 fi
   11562 if test -n "$PKG_CONFIG"; then
   11563 	_pkg_min_version=0.9.0
   11564 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   11565 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   11566 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   11567 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11568 $as_echo "yes" >&6; }
   11569 	else
   11570 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11571 $as_echo "no" >&6; }
   11572 		PKG_CONFIG=""
   11573 	fi
   11574 
   11575 fi
   11576 
   11577 
   11578 
   11579 
   11580 
   11581 # Check whether --enable-selective-werror was given.
   11582 if test "${enable_selective_werror+set}" = set; then :
   11583   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   11584 else
   11585   SELECTIVE_WERROR=yes
   11586 fi
   11587 
   11588 
   11589 
   11590 
   11591 
   11592 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   11593 if test "x$SUNCC" = "xyes"; then
   11594     BASE_CFLAGS="-v"
   11595 else
   11596     BASE_CFLAGS=""
   11597 fi
   11598 
   11599 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   11600 
   11601 
   11602 
   11603 
   11604 
   11605 
   11606 
   11607 
   11608 
   11609 
   11610 
   11611 xorg_testset_save_CFLAGS="$CFLAGS"
   11612 
   11613 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   11614 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11615 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   11616 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   11617 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   11618   $as_echo_n "(cached) " >&6
   11619 else
   11620   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11621 /* end confdefs.h.  */
   11622 int i;
   11623 _ACEOF
   11624 if ac_fn_c_try_compile "$LINENO"; then :
   11625   xorg_cv_compiler_flag_unknown_warning_option=yes
   11626 else
   11627   xorg_cv_compiler_flag_unknown_warning_option=no
   11628 fi
   11629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11630 fi
   11631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   11632 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   11633 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   11634 	CFLAGS="$xorg_testset_save_CFLAGS"
   11635 fi
   11636 
   11637 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   11638 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   11639 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11640 	fi
   11641 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11642 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   11643 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   11644 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   11645   $as_echo_n "(cached) " >&6
   11646 else
   11647   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11648 /* end confdefs.h.  */
   11649 int i;
   11650 _ACEOF
   11651 if ac_fn_c_try_compile "$LINENO"; then :
   11652   xorg_cv_compiler_flag_unused_command_line_argument=yes
   11653 else
   11654   xorg_cv_compiler_flag_unused_command_line_argument=no
   11655 fi
   11656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11657 fi
   11658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   11659 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   11660 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   11661 	CFLAGS="$xorg_testset_save_CFLAGS"
   11662 fi
   11663 
   11664 found="no"
   11665 
   11666 	if test $found = "no" ; then
   11667 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   11668 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11669 		fi
   11670 
   11671 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   11672 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11673 		fi
   11674 
   11675 		CFLAGS="$CFLAGS -Wall"
   11676 
   11677 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   11678 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   11679 		cacheid=`$as_echo xorg_cv_cc_flag_-Wall`
   11680 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   11681   $as_echo_n "(cached) " >&6
   11682 else
   11683   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11684 /* end confdefs.h.  */
   11685 int i;
   11686 int
   11687 main ()
   11688 {
   11689 
   11690   ;
   11691   return 0;
   11692 }
   11693 _ACEOF
   11694 if ac_fn_c_try_link "$LINENO"; then :
   11695   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   11696 else
   11697   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   11698 fi
   11699 rm -f core conftest.err conftest.$ac_objext \
   11700     conftest$ac_exeext conftest.$ac_ext
   11701 fi
   11702 
   11703 
   11704 		CFLAGS="$xorg_testset_save_CFLAGS"
   11705 
   11706 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   11707 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11708 $as_echo "$supported" >&6; }
   11709 		if test "$supported" = "yes" ; then
   11710 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   11711 			found="yes"
   11712 		fi
   11713 	fi
   11714 
   11715 
   11716 
   11717 
   11718 
   11719 
   11720 
   11721 
   11722 
   11723 
   11724 
   11725 
   11726 
   11727 xorg_testset_save_CFLAGS="$CFLAGS"
   11728 
   11729 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   11730 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11731 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   11732 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   11733 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   11734   $as_echo_n "(cached) " >&6
   11735 else
   11736   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11737 /* end confdefs.h.  */
   11738 int i;
   11739 _ACEOF
   11740 if ac_fn_c_try_compile "$LINENO"; then :
   11741   xorg_cv_compiler_flag_unknown_warning_option=yes
   11742 else
   11743   xorg_cv_compiler_flag_unknown_warning_option=no
   11744 fi
   11745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11746 fi
   11747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   11748 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   11749 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   11750 	CFLAGS="$xorg_testset_save_CFLAGS"
   11751 fi
   11752 
   11753 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   11754 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   11755 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11756 	fi
   11757 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11758 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   11759 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   11760 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   11761   $as_echo_n "(cached) " >&6
   11762 else
   11763   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11764 /* end confdefs.h.  */
   11765 int i;
   11766 _ACEOF
   11767 if ac_fn_c_try_compile "$LINENO"; then :
   11768   xorg_cv_compiler_flag_unused_command_line_argument=yes
   11769 else
   11770   xorg_cv_compiler_flag_unused_command_line_argument=no
   11771 fi
   11772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11773 fi
   11774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   11775 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   11776 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   11777 	CFLAGS="$xorg_testset_save_CFLAGS"
   11778 fi
   11779 
   11780 found="no"
   11781 
   11782 	if test $found = "no" ; then
   11783 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   11784 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11785 		fi
   11786 
   11787 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   11788 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11789 		fi
   11790 
   11791 		CFLAGS="$CFLAGS -Wpointer-arith"
   11792 
   11793 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   11794 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   11795 		cacheid=`$as_echo xorg_cv_cc_flag_-Wpointer-arith`
   11796 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   11797   $as_echo_n "(cached) " >&6
   11798 else
   11799   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11800 /* end confdefs.h.  */
   11801 int i;
   11802 int
   11803 main ()
   11804 {
   11805 
   11806   ;
   11807   return 0;
   11808 }
   11809 _ACEOF
   11810 if ac_fn_c_try_link "$LINENO"; then :
   11811   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   11812 else
   11813   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   11814 fi
   11815 rm -f core conftest.err conftest.$ac_objext \
   11816     conftest$ac_exeext conftest.$ac_ext
   11817 fi
   11818 
   11819 
   11820 		CFLAGS="$xorg_testset_save_CFLAGS"
   11821 
   11822 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   11823 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11824 $as_echo "$supported" >&6; }
   11825 		if test "$supported" = "yes" ; then
   11826 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   11827 			found="yes"
   11828 		fi
   11829 	fi
   11830 
   11831 
   11832 
   11833 
   11834 
   11835 
   11836 
   11837 
   11838 
   11839 
   11840 
   11841 
   11842 
   11843 xorg_testset_save_CFLAGS="$CFLAGS"
   11844 
   11845 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   11846 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11847 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   11848 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   11849 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   11850   $as_echo_n "(cached) " >&6
   11851 else
   11852   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11853 /* end confdefs.h.  */
   11854 int i;
   11855 _ACEOF
   11856 if ac_fn_c_try_compile "$LINENO"; then :
   11857   xorg_cv_compiler_flag_unknown_warning_option=yes
   11858 else
   11859   xorg_cv_compiler_flag_unknown_warning_option=no
   11860 fi
   11861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11862 fi
   11863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   11864 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   11865 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   11866 	CFLAGS="$xorg_testset_save_CFLAGS"
   11867 fi
   11868 
   11869 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   11870 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   11871 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11872 	fi
   11873 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11874 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   11875 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   11876 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   11877   $as_echo_n "(cached) " >&6
   11878 else
   11879   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11880 /* end confdefs.h.  */
   11881 int i;
   11882 _ACEOF
   11883 if ac_fn_c_try_compile "$LINENO"; then :
   11884   xorg_cv_compiler_flag_unused_command_line_argument=yes
   11885 else
   11886   xorg_cv_compiler_flag_unused_command_line_argument=no
   11887 fi
   11888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11889 fi
   11890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   11891 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   11892 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   11893 	CFLAGS="$xorg_testset_save_CFLAGS"
   11894 fi
   11895 
   11896 found="no"
   11897 
   11898 	if test $found = "no" ; then
   11899 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   11900 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11901 		fi
   11902 
   11903 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   11904 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11905 		fi
   11906 
   11907 		CFLAGS="$CFLAGS -Wmissing-declarations"
   11908 
   11909 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   11910 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   11911 		cacheid=`$as_echo xorg_cv_cc_flag_-Wmissing-declarations`
   11912 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   11913   $as_echo_n "(cached) " >&6
   11914 else
   11915   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11916 /* end confdefs.h.  */
   11917 int i;
   11918 int
   11919 main ()
   11920 {
   11921 
   11922   ;
   11923   return 0;
   11924 }
   11925 _ACEOF
   11926 if ac_fn_c_try_link "$LINENO"; then :
   11927   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   11928 else
   11929   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   11930 fi
   11931 rm -f core conftest.err conftest.$ac_objext \
   11932     conftest$ac_exeext conftest.$ac_ext
   11933 fi
   11934 
   11935 
   11936 		CFLAGS="$xorg_testset_save_CFLAGS"
   11937 
   11938 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   11939 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11940 $as_echo "$supported" >&6; }
   11941 		if test "$supported" = "yes" ; then
   11942 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   11943 			found="yes"
   11944 		fi
   11945 	fi
   11946 
   11947 
   11948 
   11949 
   11950 
   11951 
   11952 
   11953 
   11954 
   11955 
   11956 
   11957 
   11958 
   11959 xorg_testset_save_CFLAGS="$CFLAGS"
   11960 
   11961 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   11962 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11963 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   11964 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   11965 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   11966   $as_echo_n "(cached) " >&6
   11967 else
   11968   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11969 /* end confdefs.h.  */
   11970 int i;
   11971 _ACEOF
   11972 if ac_fn_c_try_compile "$LINENO"; then :
   11973   xorg_cv_compiler_flag_unknown_warning_option=yes
   11974 else
   11975   xorg_cv_compiler_flag_unknown_warning_option=no
   11976 fi
   11977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11978 fi
   11979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   11980 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   11981 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   11982 	CFLAGS="$xorg_testset_save_CFLAGS"
   11983 fi
   11984 
   11985 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   11986 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   11987 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11988 	fi
   11989 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11990 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   11991 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   11992 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   11993   $as_echo_n "(cached) " >&6
   11994 else
   11995   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11996 /* end confdefs.h.  */
   11997 int i;
   11998 _ACEOF
   11999 if ac_fn_c_try_compile "$LINENO"; then :
   12000   xorg_cv_compiler_flag_unused_command_line_argument=yes
   12001 else
   12002   xorg_cv_compiler_flag_unused_command_line_argument=no
   12003 fi
   12004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12005 fi
   12006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   12007 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   12008 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   12009 	CFLAGS="$xorg_testset_save_CFLAGS"
   12010 fi
   12011 
   12012 found="no"
   12013 
   12014 	if test $found = "no" ; then
   12015 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12016 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12017 		fi
   12018 
   12019 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12020 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12021 		fi
   12022 
   12023 		CFLAGS="$CFLAGS -Wformat=2"
   12024 
   12025 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   12026 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   12027 		cacheid=`$as_echo xorg_cv_cc_flag_-Wformat=2`
   12028 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   12029   $as_echo_n "(cached) " >&6
   12030 else
   12031   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12032 /* end confdefs.h.  */
   12033 int i;
   12034 int
   12035 main ()
   12036 {
   12037 
   12038   ;
   12039   return 0;
   12040 }
   12041 _ACEOF
   12042 if ac_fn_c_try_link "$LINENO"; then :
   12043   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   12044 else
   12045   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   12046 fi
   12047 rm -f core conftest.err conftest.$ac_objext \
   12048     conftest$ac_exeext conftest.$ac_ext
   12049 fi
   12050 
   12051 
   12052 		CFLAGS="$xorg_testset_save_CFLAGS"
   12053 
   12054 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   12055 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12056 $as_echo "$supported" >&6; }
   12057 		if test "$supported" = "yes" ; then
   12058 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   12059 			found="yes"
   12060 		fi
   12061 	fi
   12062 
   12063 	if test $found = "no" ; then
   12064 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12065 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12066 		fi
   12067 
   12068 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12069 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12070 		fi
   12071 
   12072 		CFLAGS="$CFLAGS -Wformat"
   12073 
   12074 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   12075 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   12076 		cacheid=`$as_echo xorg_cv_cc_flag_-Wformat`
   12077 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   12078   $as_echo_n "(cached) " >&6
   12079 else
   12080   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12081 /* end confdefs.h.  */
   12082 int i;
   12083 int
   12084 main ()
   12085 {
   12086 
   12087   ;
   12088   return 0;
   12089 }
   12090 _ACEOF
   12091 if ac_fn_c_try_link "$LINENO"; then :
   12092   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   12093 else
   12094   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   12095 fi
   12096 rm -f core conftest.err conftest.$ac_objext \
   12097     conftest$ac_exeext conftest.$ac_ext
   12098 fi
   12099 
   12100 
   12101 		CFLAGS="$xorg_testset_save_CFLAGS"
   12102 
   12103 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   12104 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12105 $as_echo "$supported" >&6; }
   12106 		if test "$supported" = "yes" ; then
   12107 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   12108 			found="yes"
   12109 		fi
   12110 	fi
   12111 
   12112 
   12113 
   12114 
   12115 
   12116 
   12117 
   12118 
   12119 
   12120 
   12121 
   12122 
   12123 
   12124 
   12125 
   12126 xorg_testset_save_CFLAGS="$CFLAGS"
   12127 
   12128 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   12129 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12130 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   12131 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   12132 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   12133   $as_echo_n "(cached) " >&6
   12134 else
   12135   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12136 /* end confdefs.h.  */
   12137 int i;
   12138 _ACEOF
   12139 if ac_fn_c_try_compile "$LINENO"; then :
   12140   xorg_cv_compiler_flag_unknown_warning_option=yes
   12141 else
   12142   xorg_cv_compiler_flag_unknown_warning_option=no
   12143 fi
   12144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12145 fi
   12146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   12147 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   12148 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   12149 	CFLAGS="$xorg_testset_save_CFLAGS"
   12150 fi
   12151 
   12152 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   12153 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12154 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12155 	fi
   12156 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12157 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   12158 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   12159 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   12160   $as_echo_n "(cached) " >&6
   12161 else
   12162   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12163 /* end confdefs.h.  */
   12164 int i;
   12165 _ACEOF
   12166 if ac_fn_c_try_compile "$LINENO"; then :
   12167   xorg_cv_compiler_flag_unused_command_line_argument=yes
   12168 else
   12169   xorg_cv_compiler_flag_unused_command_line_argument=no
   12170 fi
   12171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12172 fi
   12173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   12174 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   12175 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   12176 	CFLAGS="$xorg_testset_save_CFLAGS"
   12177 fi
   12178 
   12179 found="no"
   12180 
   12181 	if test $found = "no" ; then
   12182 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12183 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12184 		fi
   12185 
   12186 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12187 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12188 		fi
   12189 
   12190 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   12191 
   12192 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   12193 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   12194 		cacheid=`$as_echo xorg_cv_cc_flag_-Wstrict-prototypes`
   12195 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   12196   $as_echo_n "(cached) " >&6
   12197 else
   12198   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12199 /* end confdefs.h.  */
   12200 int i;
   12201 int
   12202 main ()
   12203 {
   12204 
   12205   ;
   12206   return 0;
   12207 }
   12208 _ACEOF
   12209 if ac_fn_c_try_link "$LINENO"; then :
   12210   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   12211 else
   12212   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   12213 fi
   12214 rm -f core conftest.err conftest.$ac_objext \
   12215     conftest$ac_exeext conftest.$ac_ext
   12216 fi
   12217 
   12218 
   12219 		CFLAGS="$xorg_testset_save_CFLAGS"
   12220 
   12221 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   12222 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12223 $as_echo "$supported" >&6; }
   12224 		if test "$supported" = "yes" ; then
   12225 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   12226 			found="yes"
   12227 		fi
   12228 	fi
   12229 
   12230 
   12231 
   12232 
   12233 
   12234 
   12235 
   12236 
   12237 
   12238 
   12239 
   12240 
   12241 
   12242 xorg_testset_save_CFLAGS="$CFLAGS"
   12243 
   12244 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   12245 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12246 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   12247 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   12248 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   12249   $as_echo_n "(cached) " >&6
   12250 else
   12251   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12252 /* end confdefs.h.  */
   12253 int i;
   12254 _ACEOF
   12255 if ac_fn_c_try_compile "$LINENO"; then :
   12256   xorg_cv_compiler_flag_unknown_warning_option=yes
   12257 else
   12258   xorg_cv_compiler_flag_unknown_warning_option=no
   12259 fi
   12260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12261 fi
   12262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   12263 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   12264 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   12265 	CFLAGS="$xorg_testset_save_CFLAGS"
   12266 fi
   12267 
   12268 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   12269 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12270 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12271 	fi
   12272 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12273 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   12274 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   12275 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   12276   $as_echo_n "(cached) " >&6
   12277 else
   12278   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12279 /* end confdefs.h.  */
   12280 int i;
   12281 _ACEOF
   12282 if ac_fn_c_try_compile "$LINENO"; then :
   12283   xorg_cv_compiler_flag_unused_command_line_argument=yes
   12284 else
   12285   xorg_cv_compiler_flag_unused_command_line_argument=no
   12286 fi
   12287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12288 fi
   12289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   12290 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   12291 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   12292 	CFLAGS="$xorg_testset_save_CFLAGS"
   12293 fi
   12294 
   12295 found="no"
   12296 
   12297 	if test $found = "no" ; then
   12298 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12299 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12300 		fi
   12301 
   12302 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12303 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12304 		fi
   12305 
   12306 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   12307 
   12308 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   12309 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   12310 		cacheid=`$as_echo xorg_cv_cc_flag_-Wmissing-prototypes`
   12311 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   12312   $as_echo_n "(cached) " >&6
   12313 else
   12314   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12315 /* end confdefs.h.  */
   12316 int i;
   12317 int
   12318 main ()
   12319 {
   12320 
   12321   ;
   12322   return 0;
   12323 }
   12324 _ACEOF
   12325 if ac_fn_c_try_link "$LINENO"; then :
   12326   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   12327 else
   12328   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   12329 fi
   12330 rm -f core conftest.err conftest.$ac_objext \
   12331     conftest$ac_exeext conftest.$ac_ext
   12332 fi
   12333 
   12334 
   12335 		CFLAGS="$xorg_testset_save_CFLAGS"
   12336 
   12337 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   12338 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12339 $as_echo "$supported" >&6; }
   12340 		if test "$supported" = "yes" ; then
   12341 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   12342 			found="yes"
   12343 		fi
   12344 	fi
   12345 
   12346 
   12347 
   12348 
   12349 
   12350 
   12351 
   12352 
   12353 
   12354 
   12355 
   12356 
   12357 
   12358 xorg_testset_save_CFLAGS="$CFLAGS"
   12359 
   12360 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   12361 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12362 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   12363 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   12364 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   12365   $as_echo_n "(cached) " >&6
   12366 else
   12367   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12368 /* end confdefs.h.  */
   12369 int i;
   12370 _ACEOF
   12371 if ac_fn_c_try_compile "$LINENO"; then :
   12372   xorg_cv_compiler_flag_unknown_warning_option=yes
   12373 else
   12374   xorg_cv_compiler_flag_unknown_warning_option=no
   12375 fi
   12376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12377 fi
   12378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   12379 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   12380 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   12381 	CFLAGS="$xorg_testset_save_CFLAGS"
   12382 fi
   12383 
   12384 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   12385 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12386 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12387 	fi
   12388 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12389 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   12390 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   12391 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   12392   $as_echo_n "(cached) " >&6
   12393 else
   12394   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12395 /* end confdefs.h.  */
   12396 int i;
   12397 _ACEOF
   12398 if ac_fn_c_try_compile "$LINENO"; then :
   12399   xorg_cv_compiler_flag_unused_command_line_argument=yes
   12400 else
   12401   xorg_cv_compiler_flag_unused_command_line_argument=no
   12402 fi
   12403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12404 fi
   12405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   12406 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   12407 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   12408 	CFLAGS="$xorg_testset_save_CFLAGS"
   12409 fi
   12410 
   12411 found="no"
   12412 
   12413 	if test $found = "no" ; then
   12414 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12415 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12416 		fi
   12417 
   12418 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12419 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12420 		fi
   12421 
   12422 		CFLAGS="$CFLAGS -Wnested-externs"
   12423 
   12424 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   12425 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   12426 		cacheid=`$as_echo xorg_cv_cc_flag_-Wnested-externs`
   12427 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   12428   $as_echo_n "(cached) " >&6
   12429 else
   12430   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12431 /* end confdefs.h.  */
   12432 int i;
   12433 int
   12434 main ()
   12435 {
   12436 
   12437   ;
   12438   return 0;
   12439 }
   12440 _ACEOF
   12441 if ac_fn_c_try_link "$LINENO"; then :
   12442   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   12443 else
   12444   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   12445 fi
   12446 rm -f core conftest.err conftest.$ac_objext \
   12447     conftest$ac_exeext conftest.$ac_ext
   12448 fi
   12449 
   12450 
   12451 		CFLAGS="$xorg_testset_save_CFLAGS"
   12452 
   12453 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   12454 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12455 $as_echo "$supported" >&6; }
   12456 		if test "$supported" = "yes" ; then
   12457 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   12458 			found="yes"
   12459 		fi
   12460 	fi
   12461 
   12462 
   12463 
   12464 
   12465 
   12466 
   12467 
   12468 
   12469 
   12470 
   12471 
   12472 
   12473 
   12474 xorg_testset_save_CFLAGS="$CFLAGS"
   12475 
   12476 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   12477 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12478 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   12479 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   12480 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   12481   $as_echo_n "(cached) " >&6
   12482 else
   12483   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12484 /* end confdefs.h.  */
   12485 int i;
   12486 _ACEOF
   12487 if ac_fn_c_try_compile "$LINENO"; then :
   12488   xorg_cv_compiler_flag_unknown_warning_option=yes
   12489 else
   12490   xorg_cv_compiler_flag_unknown_warning_option=no
   12491 fi
   12492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12493 fi
   12494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   12495 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   12496 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   12497 	CFLAGS="$xorg_testset_save_CFLAGS"
   12498 fi
   12499 
   12500 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   12501 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12502 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12503 	fi
   12504 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12505 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   12506 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   12507 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   12508   $as_echo_n "(cached) " >&6
   12509 else
   12510   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12511 /* end confdefs.h.  */
   12512 int i;
   12513 _ACEOF
   12514 if ac_fn_c_try_compile "$LINENO"; then :
   12515   xorg_cv_compiler_flag_unused_command_line_argument=yes
   12516 else
   12517   xorg_cv_compiler_flag_unused_command_line_argument=no
   12518 fi
   12519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12520 fi
   12521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   12522 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   12523 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   12524 	CFLAGS="$xorg_testset_save_CFLAGS"
   12525 fi
   12526 
   12527 found="no"
   12528 
   12529 	if test $found = "no" ; then
   12530 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12531 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12532 		fi
   12533 
   12534 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12535 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12536 		fi
   12537 
   12538 		CFLAGS="$CFLAGS -Wbad-function-cast"
   12539 
   12540 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   12541 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   12542 		cacheid=`$as_echo xorg_cv_cc_flag_-Wbad-function-cast`
   12543 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   12544   $as_echo_n "(cached) " >&6
   12545 else
   12546   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12547 /* end confdefs.h.  */
   12548 int i;
   12549 int
   12550 main ()
   12551 {
   12552 
   12553   ;
   12554   return 0;
   12555 }
   12556 _ACEOF
   12557 if ac_fn_c_try_link "$LINENO"; then :
   12558   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   12559 else
   12560   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   12561 fi
   12562 rm -f core conftest.err conftest.$ac_objext \
   12563     conftest$ac_exeext conftest.$ac_ext
   12564 fi
   12565 
   12566 
   12567 		CFLAGS="$xorg_testset_save_CFLAGS"
   12568 
   12569 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   12570 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12571 $as_echo "$supported" >&6; }
   12572 		if test "$supported" = "yes" ; then
   12573 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   12574 			found="yes"
   12575 		fi
   12576 	fi
   12577 
   12578 
   12579 
   12580 
   12581 
   12582 
   12583 
   12584 
   12585 
   12586 
   12587 
   12588 
   12589 
   12590 xorg_testset_save_CFLAGS="$CFLAGS"
   12591 
   12592 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   12593 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12594 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   12595 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   12596 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   12597   $as_echo_n "(cached) " >&6
   12598 else
   12599   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12600 /* end confdefs.h.  */
   12601 int i;
   12602 _ACEOF
   12603 if ac_fn_c_try_compile "$LINENO"; then :
   12604   xorg_cv_compiler_flag_unknown_warning_option=yes
   12605 else
   12606   xorg_cv_compiler_flag_unknown_warning_option=no
   12607 fi
   12608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12609 fi
   12610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   12611 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   12612 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   12613 	CFLAGS="$xorg_testset_save_CFLAGS"
   12614 fi
   12615 
   12616 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   12617 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12618 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12619 	fi
   12620 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12621 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   12622 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   12623 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   12624   $as_echo_n "(cached) " >&6
   12625 else
   12626   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12627 /* end confdefs.h.  */
   12628 int i;
   12629 _ACEOF
   12630 if ac_fn_c_try_compile "$LINENO"; then :
   12631   xorg_cv_compiler_flag_unused_command_line_argument=yes
   12632 else
   12633   xorg_cv_compiler_flag_unused_command_line_argument=no
   12634 fi
   12635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12636 fi
   12637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   12638 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   12639 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   12640 	CFLAGS="$xorg_testset_save_CFLAGS"
   12641 fi
   12642 
   12643 found="no"
   12644 
   12645 	if test $found = "no" ; then
   12646 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12647 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12648 		fi
   12649 
   12650 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12651 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12652 		fi
   12653 
   12654 		CFLAGS="$CFLAGS -Wold-style-definition"
   12655 
   12656 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   12657 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   12658 		cacheid=`$as_echo xorg_cv_cc_flag_-Wold-style-definition`
   12659 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   12660   $as_echo_n "(cached) " >&6
   12661 else
   12662   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12663 /* end confdefs.h.  */
   12664 int i;
   12665 int
   12666 main ()
   12667 {
   12668 
   12669   ;
   12670   return 0;
   12671 }
   12672 _ACEOF
   12673 if ac_fn_c_try_link "$LINENO"; then :
   12674   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   12675 else
   12676   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   12677 fi
   12678 rm -f core conftest.err conftest.$ac_objext \
   12679     conftest$ac_exeext conftest.$ac_ext
   12680 fi
   12681 
   12682 
   12683 		CFLAGS="$xorg_testset_save_CFLAGS"
   12684 
   12685 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   12686 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12687 $as_echo "$supported" >&6; }
   12688 		if test "$supported" = "yes" ; then
   12689 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   12690 			found="yes"
   12691 		fi
   12692 	fi
   12693 
   12694 
   12695 
   12696 
   12697 
   12698 
   12699 
   12700 
   12701 
   12702 
   12703 
   12704 
   12705 
   12706 xorg_testset_save_CFLAGS="$CFLAGS"
   12707 
   12708 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   12709 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12710 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   12711 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   12712 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   12713   $as_echo_n "(cached) " >&6
   12714 else
   12715   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12716 /* end confdefs.h.  */
   12717 int i;
   12718 _ACEOF
   12719 if ac_fn_c_try_compile "$LINENO"; then :
   12720   xorg_cv_compiler_flag_unknown_warning_option=yes
   12721 else
   12722   xorg_cv_compiler_flag_unknown_warning_option=no
   12723 fi
   12724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12725 fi
   12726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   12727 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   12728 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   12729 	CFLAGS="$xorg_testset_save_CFLAGS"
   12730 fi
   12731 
   12732 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   12733 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12734 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12735 	fi
   12736 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12737 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   12738 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   12739 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   12740   $as_echo_n "(cached) " >&6
   12741 else
   12742   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12743 /* end confdefs.h.  */
   12744 int i;
   12745 _ACEOF
   12746 if ac_fn_c_try_compile "$LINENO"; then :
   12747   xorg_cv_compiler_flag_unused_command_line_argument=yes
   12748 else
   12749   xorg_cv_compiler_flag_unused_command_line_argument=no
   12750 fi
   12751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12752 fi
   12753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   12754 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   12755 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   12756 	CFLAGS="$xorg_testset_save_CFLAGS"
   12757 fi
   12758 
   12759 found="no"
   12760 
   12761 	if test $found = "no" ; then
   12762 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12763 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12764 		fi
   12765 
   12766 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12767 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12768 		fi
   12769 
   12770 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   12771 
   12772 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   12773 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   12774 		cacheid=`$as_echo xorg_cv_cc_flag_-Wdeclaration-after-statement`
   12775 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   12776   $as_echo_n "(cached) " >&6
   12777 else
   12778   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12779 /* end confdefs.h.  */
   12780 int i;
   12781 int
   12782 main ()
   12783 {
   12784 
   12785   ;
   12786   return 0;
   12787 }
   12788 _ACEOF
   12789 if ac_fn_c_try_link "$LINENO"; then :
   12790   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   12791 else
   12792   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   12793 fi
   12794 rm -f core conftest.err conftest.$ac_objext \
   12795     conftest$ac_exeext conftest.$ac_ext
   12796 fi
   12797 
   12798 
   12799 		CFLAGS="$xorg_testset_save_CFLAGS"
   12800 
   12801 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   12802 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12803 $as_echo "$supported" >&6; }
   12804 		if test "$supported" = "yes" ; then
   12805 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   12806 			found="yes"
   12807 		fi
   12808 	fi
   12809 
   12810 
   12811 
   12812 
   12813 
   12814 # This chunk adds additional warnings that could catch undesired effects.
   12815 
   12816 
   12817 
   12818 
   12819 
   12820 
   12821 
   12822 
   12823 
   12824 
   12825 
   12826 xorg_testset_save_CFLAGS="$CFLAGS"
   12827 
   12828 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   12829 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12830 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   12831 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   12832 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   12833   $as_echo_n "(cached) " >&6
   12834 else
   12835   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12836 /* end confdefs.h.  */
   12837 int i;
   12838 _ACEOF
   12839 if ac_fn_c_try_compile "$LINENO"; then :
   12840   xorg_cv_compiler_flag_unknown_warning_option=yes
   12841 else
   12842   xorg_cv_compiler_flag_unknown_warning_option=no
   12843 fi
   12844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12845 fi
   12846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   12847 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   12848 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   12849 	CFLAGS="$xorg_testset_save_CFLAGS"
   12850 fi
   12851 
   12852 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   12853 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12854 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12855 	fi
   12856 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12857 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   12858 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   12859 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   12860   $as_echo_n "(cached) " >&6
   12861 else
   12862   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12863 /* end confdefs.h.  */
   12864 int i;
   12865 _ACEOF
   12866 if ac_fn_c_try_compile "$LINENO"; then :
   12867   xorg_cv_compiler_flag_unused_command_line_argument=yes
   12868 else
   12869   xorg_cv_compiler_flag_unused_command_line_argument=no
   12870 fi
   12871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12872 fi
   12873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   12874 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   12875 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   12876 	CFLAGS="$xorg_testset_save_CFLAGS"
   12877 fi
   12878 
   12879 found="no"
   12880 
   12881 	if test $found = "no" ; then
   12882 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12883 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12884 		fi
   12885 
   12886 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12887 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12888 		fi
   12889 
   12890 		CFLAGS="$CFLAGS -Wunused"
   12891 
   12892 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   12893 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   12894 		cacheid=`$as_echo xorg_cv_cc_flag_-Wunused`
   12895 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   12896   $as_echo_n "(cached) " >&6
   12897 else
   12898   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12899 /* end confdefs.h.  */
   12900 int i;
   12901 int
   12902 main ()
   12903 {
   12904 
   12905   ;
   12906   return 0;
   12907 }
   12908 _ACEOF
   12909 if ac_fn_c_try_link "$LINENO"; then :
   12910   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   12911 else
   12912   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   12913 fi
   12914 rm -f core conftest.err conftest.$ac_objext \
   12915     conftest$ac_exeext conftest.$ac_ext
   12916 fi
   12917 
   12918 
   12919 		CFLAGS="$xorg_testset_save_CFLAGS"
   12920 
   12921 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   12922 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12923 $as_echo "$supported" >&6; }
   12924 		if test "$supported" = "yes" ; then
   12925 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   12926 			found="yes"
   12927 		fi
   12928 	fi
   12929 
   12930 
   12931 
   12932 
   12933 
   12934 
   12935 
   12936 
   12937 
   12938 
   12939 
   12940 
   12941 
   12942 xorg_testset_save_CFLAGS="$CFLAGS"
   12943 
   12944 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   12945 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12946 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   12947 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   12948 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   12949   $as_echo_n "(cached) " >&6
   12950 else
   12951   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12952 /* end confdefs.h.  */
   12953 int i;
   12954 _ACEOF
   12955 if ac_fn_c_try_compile "$LINENO"; then :
   12956   xorg_cv_compiler_flag_unknown_warning_option=yes
   12957 else
   12958   xorg_cv_compiler_flag_unknown_warning_option=no
   12959 fi
   12960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12961 fi
   12962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   12963 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   12964 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   12965 	CFLAGS="$xorg_testset_save_CFLAGS"
   12966 fi
   12967 
   12968 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   12969 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12970 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12971 	fi
   12972 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12973 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   12974 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   12975 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   12976   $as_echo_n "(cached) " >&6
   12977 else
   12978   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12979 /* end confdefs.h.  */
   12980 int i;
   12981 _ACEOF
   12982 if ac_fn_c_try_compile "$LINENO"; then :
   12983   xorg_cv_compiler_flag_unused_command_line_argument=yes
   12984 else
   12985   xorg_cv_compiler_flag_unused_command_line_argument=no
   12986 fi
   12987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12988 fi
   12989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   12990 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   12991 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   12992 	CFLAGS="$xorg_testset_save_CFLAGS"
   12993 fi
   12994 
   12995 found="no"
   12996 
   12997 	if test $found = "no" ; then
   12998 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12999 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13000 		fi
   13001 
   13002 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13003 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13004 		fi
   13005 
   13006 		CFLAGS="$CFLAGS -Wuninitialized"
   13007 
   13008 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   13009 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   13010 		cacheid=`$as_echo xorg_cv_cc_flag_-Wuninitialized`
   13011 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   13012   $as_echo_n "(cached) " >&6
   13013 else
   13014   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13015 /* end confdefs.h.  */
   13016 int i;
   13017 int
   13018 main ()
   13019 {
   13020 
   13021   ;
   13022   return 0;
   13023 }
   13024 _ACEOF
   13025 if ac_fn_c_try_link "$LINENO"; then :
   13026   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   13027 else
   13028   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   13029 fi
   13030 rm -f core conftest.err conftest.$ac_objext \
   13031     conftest$ac_exeext conftest.$ac_ext
   13032 fi
   13033 
   13034 
   13035 		CFLAGS="$xorg_testset_save_CFLAGS"
   13036 
   13037 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   13038 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13039 $as_echo "$supported" >&6; }
   13040 		if test "$supported" = "yes" ; then
   13041 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   13042 			found="yes"
   13043 		fi
   13044 	fi
   13045 
   13046 
   13047 
   13048 
   13049 
   13050 
   13051 
   13052 
   13053 
   13054 
   13055 
   13056 
   13057 
   13058 xorg_testset_save_CFLAGS="$CFLAGS"
   13059 
   13060 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   13061 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13062 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   13063 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   13064 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   13065   $as_echo_n "(cached) " >&6
   13066 else
   13067   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13068 /* end confdefs.h.  */
   13069 int i;
   13070 _ACEOF
   13071 if ac_fn_c_try_compile "$LINENO"; then :
   13072   xorg_cv_compiler_flag_unknown_warning_option=yes
   13073 else
   13074   xorg_cv_compiler_flag_unknown_warning_option=no
   13075 fi
   13076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13077 fi
   13078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   13079 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   13080 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   13081 	CFLAGS="$xorg_testset_save_CFLAGS"
   13082 fi
   13083 
   13084 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   13085 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13086 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13087 	fi
   13088 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13089 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   13090 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   13091 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   13092   $as_echo_n "(cached) " >&6
   13093 else
   13094   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13095 /* end confdefs.h.  */
   13096 int i;
   13097 _ACEOF
   13098 if ac_fn_c_try_compile "$LINENO"; then :
   13099   xorg_cv_compiler_flag_unused_command_line_argument=yes
   13100 else
   13101   xorg_cv_compiler_flag_unused_command_line_argument=no
   13102 fi
   13103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13104 fi
   13105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   13106 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   13107 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   13108 	CFLAGS="$xorg_testset_save_CFLAGS"
   13109 fi
   13110 
   13111 found="no"
   13112 
   13113 	if test $found = "no" ; then
   13114 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13115 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13116 		fi
   13117 
   13118 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13119 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13120 		fi
   13121 
   13122 		CFLAGS="$CFLAGS -Wshadow"
   13123 
   13124 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   13125 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   13126 		cacheid=`$as_echo xorg_cv_cc_flag_-Wshadow`
   13127 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   13128   $as_echo_n "(cached) " >&6
   13129 else
   13130   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13131 /* end confdefs.h.  */
   13132 int i;
   13133 int
   13134 main ()
   13135 {
   13136 
   13137   ;
   13138   return 0;
   13139 }
   13140 _ACEOF
   13141 if ac_fn_c_try_link "$LINENO"; then :
   13142   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   13143 else
   13144   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   13145 fi
   13146 rm -f core conftest.err conftest.$ac_objext \
   13147     conftest$ac_exeext conftest.$ac_ext
   13148 fi
   13149 
   13150 
   13151 		CFLAGS="$xorg_testset_save_CFLAGS"
   13152 
   13153 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   13154 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13155 $as_echo "$supported" >&6; }
   13156 		if test "$supported" = "yes" ; then
   13157 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   13158 			found="yes"
   13159 		fi
   13160 	fi
   13161 
   13162 
   13163 
   13164 
   13165 
   13166 
   13167 
   13168 
   13169 
   13170 
   13171 
   13172 
   13173 
   13174 xorg_testset_save_CFLAGS="$CFLAGS"
   13175 
   13176 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   13177 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13178 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   13179 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   13180 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   13181   $as_echo_n "(cached) " >&6
   13182 else
   13183   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13184 /* end confdefs.h.  */
   13185 int i;
   13186 _ACEOF
   13187 if ac_fn_c_try_compile "$LINENO"; then :
   13188   xorg_cv_compiler_flag_unknown_warning_option=yes
   13189 else
   13190   xorg_cv_compiler_flag_unknown_warning_option=no
   13191 fi
   13192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13193 fi
   13194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   13195 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   13196 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   13197 	CFLAGS="$xorg_testset_save_CFLAGS"
   13198 fi
   13199 
   13200 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   13201 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13202 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13203 	fi
   13204 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13205 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   13206 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   13207 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   13208   $as_echo_n "(cached) " >&6
   13209 else
   13210   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13211 /* end confdefs.h.  */
   13212 int i;
   13213 _ACEOF
   13214 if ac_fn_c_try_compile "$LINENO"; then :
   13215   xorg_cv_compiler_flag_unused_command_line_argument=yes
   13216 else
   13217   xorg_cv_compiler_flag_unused_command_line_argument=no
   13218 fi
   13219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13220 fi
   13221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   13222 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   13223 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   13224 	CFLAGS="$xorg_testset_save_CFLAGS"
   13225 fi
   13226 
   13227 found="no"
   13228 
   13229 	if test $found = "no" ; then
   13230 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13231 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13232 		fi
   13233 
   13234 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13235 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13236 		fi
   13237 
   13238 		CFLAGS="$CFLAGS -Wcast-qual"
   13239 
   13240 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wcast-qual" >&5
   13241 $as_echo_n "checking if $CC supports -Wcast-qual... " >&6; }
   13242 		cacheid=`$as_echo xorg_cv_cc_flag_-Wcast-qual`
   13243 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   13244   $as_echo_n "(cached) " >&6
   13245 else
   13246   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13247 /* end confdefs.h.  */
   13248 int i;
   13249 int
   13250 main ()
   13251 {
   13252 
   13253   ;
   13254   return 0;
   13255 }
   13256 _ACEOF
   13257 if ac_fn_c_try_link "$LINENO"; then :
   13258   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   13259 else
   13260   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   13261 fi
   13262 rm -f core conftest.err conftest.$ac_objext \
   13263     conftest$ac_exeext conftest.$ac_ext
   13264 fi
   13265 
   13266 
   13267 		CFLAGS="$xorg_testset_save_CFLAGS"
   13268 
   13269 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   13270 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13271 $as_echo "$supported" >&6; }
   13272 		if test "$supported" = "yes" ; then
   13273 			BASE_CFLAGS="$BASE_CFLAGS -Wcast-qual"
   13274 			found="yes"
   13275 		fi
   13276 	fi
   13277 
   13278 
   13279 
   13280 
   13281 
   13282 
   13283 
   13284 
   13285 
   13286 
   13287 
   13288 
   13289 
   13290 xorg_testset_save_CFLAGS="$CFLAGS"
   13291 
   13292 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   13293 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13294 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   13295 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   13296 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   13297   $as_echo_n "(cached) " >&6
   13298 else
   13299   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13300 /* end confdefs.h.  */
   13301 int i;
   13302 _ACEOF
   13303 if ac_fn_c_try_compile "$LINENO"; then :
   13304   xorg_cv_compiler_flag_unknown_warning_option=yes
   13305 else
   13306   xorg_cv_compiler_flag_unknown_warning_option=no
   13307 fi
   13308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13309 fi
   13310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   13311 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   13312 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   13313 	CFLAGS="$xorg_testset_save_CFLAGS"
   13314 fi
   13315 
   13316 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   13317 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13318 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13319 	fi
   13320 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13321 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   13322 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   13323 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   13324   $as_echo_n "(cached) " >&6
   13325 else
   13326   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13327 /* end confdefs.h.  */
   13328 int i;
   13329 _ACEOF
   13330 if ac_fn_c_try_compile "$LINENO"; then :
   13331   xorg_cv_compiler_flag_unused_command_line_argument=yes
   13332 else
   13333   xorg_cv_compiler_flag_unused_command_line_argument=no
   13334 fi
   13335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13336 fi
   13337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   13338 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   13339 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   13340 	CFLAGS="$xorg_testset_save_CFLAGS"
   13341 fi
   13342 
   13343 found="no"
   13344 
   13345 	if test $found = "no" ; then
   13346 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13347 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13348 		fi
   13349 
   13350 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13351 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13352 		fi
   13353 
   13354 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   13355 
   13356 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   13357 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   13358 		cacheid=`$as_echo xorg_cv_cc_flag_-Wmissing-noreturn`
   13359 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   13360   $as_echo_n "(cached) " >&6
   13361 else
   13362   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13363 /* end confdefs.h.  */
   13364 int i;
   13365 int
   13366 main ()
   13367 {
   13368 
   13369   ;
   13370   return 0;
   13371 }
   13372 _ACEOF
   13373 if ac_fn_c_try_link "$LINENO"; then :
   13374   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   13375 else
   13376   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   13377 fi
   13378 rm -f core conftest.err conftest.$ac_objext \
   13379     conftest$ac_exeext conftest.$ac_ext
   13380 fi
   13381 
   13382 
   13383 		CFLAGS="$xorg_testset_save_CFLAGS"
   13384 
   13385 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   13386 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13387 $as_echo "$supported" >&6; }
   13388 		if test "$supported" = "yes" ; then
   13389 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   13390 			found="yes"
   13391 		fi
   13392 	fi
   13393 
   13394 
   13395 
   13396 
   13397 
   13398 
   13399 
   13400 
   13401 
   13402 
   13403 
   13404 
   13405 
   13406 xorg_testset_save_CFLAGS="$CFLAGS"
   13407 
   13408 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   13409 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13410 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   13411 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   13412 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   13413   $as_echo_n "(cached) " >&6
   13414 else
   13415   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13416 /* end confdefs.h.  */
   13417 int i;
   13418 _ACEOF
   13419 if ac_fn_c_try_compile "$LINENO"; then :
   13420   xorg_cv_compiler_flag_unknown_warning_option=yes
   13421 else
   13422   xorg_cv_compiler_flag_unknown_warning_option=no
   13423 fi
   13424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13425 fi
   13426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   13427 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   13428 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   13429 	CFLAGS="$xorg_testset_save_CFLAGS"
   13430 fi
   13431 
   13432 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   13433 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13434 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13435 	fi
   13436 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13437 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   13438 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   13439 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   13440   $as_echo_n "(cached) " >&6
   13441 else
   13442   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13443 /* end confdefs.h.  */
   13444 int i;
   13445 _ACEOF
   13446 if ac_fn_c_try_compile "$LINENO"; then :
   13447   xorg_cv_compiler_flag_unused_command_line_argument=yes
   13448 else
   13449   xorg_cv_compiler_flag_unused_command_line_argument=no
   13450 fi
   13451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13452 fi
   13453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   13454 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   13455 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   13456 	CFLAGS="$xorg_testset_save_CFLAGS"
   13457 fi
   13458 
   13459 found="no"
   13460 
   13461 	if test $found = "no" ; then
   13462 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13463 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13464 		fi
   13465 
   13466 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13467 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13468 		fi
   13469 
   13470 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   13471 
   13472 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   13473 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   13474 		cacheid=`$as_echo xorg_cv_cc_flag_-Wmissing-format-attribute`
   13475 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   13476   $as_echo_n "(cached) " >&6
   13477 else
   13478   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13479 /* end confdefs.h.  */
   13480 int i;
   13481 int
   13482 main ()
   13483 {
   13484 
   13485   ;
   13486   return 0;
   13487 }
   13488 _ACEOF
   13489 if ac_fn_c_try_link "$LINENO"; then :
   13490   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   13491 else
   13492   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   13493 fi
   13494 rm -f core conftest.err conftest.$ac_objext \
   13495     conftest$ac_exeext conftest.$ac_ext
   13496 fi
   13497 
   13498 
   13499 		CFLAGS="$xorg_testset_save_CFLAGS"
   13500 
   13501 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   13502 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13503 $as_echo "$supported" >&6; }
   13504 		if test "$supported" = "yes" ; then
   13505 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   13506 			found="yes"
   13507 		fi
   13508 	fi
   13509 
   13510 
   13511 
   13512 
   13513 
   13514 
   13515 
   13516 
   13517 
   13518 
   13519 
   13520 
   13521 
   13522 xorg_testset_save_CFLAGS="$CFLAGS"
   13523 
   13524 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   13525 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13526 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   13527 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   13528 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   13529   $as_echo_n "(cached) " >&6
   13530 else
   13531   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13532 /* end confdefs.h.  */
   13533 int i;
   13534 _ACEOF
   13535 if ac_fn_c_try_compile "$LINENO"; then :
   13536   xorg_cv_compiler_flag_unknown_warning_option=yes
   13537 else
   13538   xorg_cv_compiler_flag_unknown_warning_option=no
   13539 fi
   13540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13541 fi
   13542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   13543 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   13544 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   13545 	CFLAGS="$xorg_testset_save_CFLAGS"
   13546 fi
   13547 
   13548 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   13549 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13550 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13551 	fi
   13552 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13553 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   13554 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   13555 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   13556   $as_echo_n "(cached) " >&6
   13557 else
   13558   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13559 /* end confdefs.h.  */
   13560 int i;
   13561 _ACEOF
   13562 if ac_fn_c_try_compile "$LINENO"; then :
   13563   xorg_cv_compiler_flag_unused_command_line_argument=yes
   13564 else
   13565   xorg_cv_compiler_flag_unused_command_line_argument=no
   13566 fi
   13567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13568 fi
   13569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   13570 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   13571 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   13572 	CFLAGS="$xorg_testset_save_CFLAGS"
   13573 fi
   13574 
   13575 found="no"
   13576 
   13577 	if test $found = "no" ; then
   13578 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13579 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13580 		fi
   13581 
   13582 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13583 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13584 		fi
   13585 
   13586 		CFLAGS="$CFLAGS -Wredundant-decls"
   13587 
   13588 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   13589 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   13590 		cacheid=`$as_echo xorg_cv_cc_flag_-Wredundant-decls`
   13591 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   13592   $as_echo_n "(cached) " >&6
   13593 else
   13594   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13595 /* end confdefs.h.  */
   13596 int i;
   13597 int
   13598 main ()
   13599 {
   13600 
   13601   ;
   13602   return 0;
   13603 }
   13604 _ACEOF
   13605 if ac_fn_c_try_link "$LINENO"; then :
   13606   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   13607 else
   13608   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   13609 fi
   13610 rm -f core conftest.err conftest.$ac_objext \
   13611     conftest$ac_exeext conftest.$ac_ext
   13612 fi
   13613 
   13614 
   13615 		CFLAGS="$xorg_testset_save_CFLAGS"
   13616 
   13617 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   13618 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13619 $as_echo "$supported" >&6; }
   13620 		if test "$supported" = "yes" ; then
   13621 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   13622 			found="yes"
   13623 		fi
   13624 	fi
   13625 
   13626 
   13627 
   13628 # These are currently disabled because they are noisy.  They will be enabled
   13629 # in the future once the codebase is sufficiently modernized to silence
   13630 # them.  For now, I don't want them to drown out the other warnings.
   13631 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wlogical-op])
   13632 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   13633 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   13634 
   13635 # Turn some warnings into errors, so we don't accidently get successful builds
   13636 # when there are problems that should be fixed.
   13637 
   13638 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   13639 
   13640 
   13641 
   13642 
   13643 
   13644 
   13645 
   13646 
   13647 
   13648 
   13649 
   13650 xorg_testset_save_CFLAGS="$CFLAGS"
   13651 
   13652 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   13653 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13654 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   13655 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   13656 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   13657   $as_echo_n "(cached) " >&6
   13658 else
   13659   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13660 /* end confdefs.h.  */
   13661 int i;
   13662 _ACEOF
   13663 if ac_fn_c_try_compile "$LINENO"; then :
   13664   xorg_cv_compiler_flag_unknown_warning_option=yes
   13665 else
   13666   xorg_cv_compiler_flag_unknown_warning_option=no
   13667 fi
   13668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13669 fi
   13670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   13671 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   13672 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   13673 	CFLAGS="$xorg_testset_save_CFLAGS"
   13674 fi
   13675 
   13676 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   13677 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13678 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13679 	fi
   13680 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13681 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   13682 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   13683 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   13684   $as_echo_n "(cached) " >&6
   13685 else
   13686   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13687 /* end confdefs.h.  */
   13688 int i;
   13689 _ACEOF
   13690 if ac_fn_c_try_compile "$LINENO"; then :
   13691   xorg_cv_compiler_flag_unused_command_line_argument=yes
   13692 else
   13693   xorg_cv_compiler_flag_unused_command_line_argument=no
   13694 fi
   13695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13696 fi
   13697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   13698 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   13699 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   13700 	CFLAGS="$xorg_testset_save_CFLAGS"
   13701 fi
   13702 
   13703 found="no"
   13704 
   13705 	if test $found = "no" ; then
   13706 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13707 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13708 		fi
   13709 
   13710 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13711 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13712 		fi
   13713 
   13714 		CFLAGS="$CFLAGS -Werror=implicit"
   13715 
   13716 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   13717 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   13718 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=implicit`
   13719 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   13720   $as_echo_n "(cached) " >&6
   13721 else
   13722   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13723 /* end confdefs.h.  */
   13724 int i;
   13725 int
   13726 main ()
   13727 {
   13728 
   13729   ;
   13730   return 0;
   13731 }
   13732 _ACEOF
   13733 if ac_fn_c_try_link "$LINENO"; then :
   13734   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   13735 else
   13736   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   13737 fi
   13738 rm -f core conftest.err conftest.$ac_objext \
   13739     conftest$ac_exeext conftest.$ac_ext
   13740 fi
   13741 
   13742 
   13743 		CFLAGS="$xorg_testset_save_CFLAGS"
   13744 
   13745 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   13746 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13747 $as_echo "$supported" >&6; }
   13748 		if test "$supported" = "yes" ; then
   13749 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   13750 			found="yes"
   13751 		fi
   13752 	fi
   13753 
   13754 	if test $found = "no" ; then
   13755 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13756 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13757 		fi
   13758 
   13759 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13760 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13761 		fi
   13762 
   13763 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   13764 
   13765 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   13766 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   13767 		cacheid=`$as_echo xorg_cv_cc_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED`
   13768 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} 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 int
   13775 main ()
   13776 {
   13777 
   13778   ;
   13779   return 0;
   13780 }
   13781 _ACEOF
   13782 if ac_fn_c_try_link "$LINENO"; then :
   13783   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   13784 else
   13785   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   13786 fi
   13787 rm -f core conftest.err conftest.$ac_objext \
   13788     conftest$ac_exeext conftest.$ac_ext
   13789 fi
   13790 
   13791 
   13792 		CFLAGS="$xorg_testset_save_CFLAGS"
   13793 
   13794 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   13795 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13796 $as_echo "$supported" >&6; }
   13797 		if test "$supported" = "yes" ; then
   13798 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   13799 			found="yes"
   13800 		fi
   13801 	fi
   13802 
   13803 
   13804 
   13805 
   13806 
   13807 
   13808 
   13809 
   13810 
   13811 
   13812 
   13813 
   13814 
   13815 xorg_testset_save_CFLAGS="$CFLAGS"
   13816 
   13817 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   13818 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13819 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   13820 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   13821 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   13822   $as_echo_n "(cached) " >&6
   13823 else
   13824   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13825 /* end confdefs.h.  */
   13826 int i;
   13827 _ACEOF
   13828 if ac_fn_c_try_compile "$LINENO"; then :
   13829   xorg_cv_compiler_flag_unknown_warning_option=yes
   13830 else
   13831   xorg_cv_compiler_flag_unknown_warning_option=no
   13832 fi
   13833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13834 fi
   13835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   13836 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   13837 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   13838 	CFLAGS="$xorg_testset_save_CFLAGS"
   13839 fi
   13840 
   13841 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   13842 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13843 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13844 	fi
   13845 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13846 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   13847 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   13848 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   13849   $as_echo_n "(cached) " >&6
   13850 else
   13851   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13852 /* end confdefs.h.  */
   13853 int i;
   13854 _ACEOF
   13855 if ac_fn_c_try_compile "$LINENO"; then :
   13856   xorg_cv_compiler_flag_unused_command_line_argument=yes
   13857 else
   13858   xorg_cv_compiler_flag_unused_command_line_argument=no
   13859 fi
   13860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13861 fi
   13862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   13863 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   13864 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   13865 	CFLAGS="$xorg_testset_save_CFLAGS"
   13866 fi
   13867 
   13868 found="no"
   13869 
   13870 	if test $found = "no" ; then
   13871 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13872 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13873 		fi
   13874 
   13875 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13876 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13877 		fi
   13878 
   13879 		CFLAGS="$CFLAGS -Werror=nonnull"
   13880 
   13881 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   13882 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   13883 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=nonnull`
   13884 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   13885   $as_echo_n "(cached) " >&6
   13886 else
   13887   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13888 /* end confdefs.h.  */
   13889 int i;
   13890 int
   13891 main ()
   13892 {
   13893 
   13894   ;
   13895   return 0;
   13896 }
   13897 _ACEOF
   13898 if ac_fn_c_try_link "$LINENO"; then :
   13899   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   13900 else
   13901   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   13902 fi
   13903 rm -f core conftest.err conftest.$ac_objext \
   13904     conftest$ac_exeext conftest.$ac_ext
   13905 fi
   13906 
   13907 
   13908 		CFLAGS="$xorg_testset_save_CFLAGS"
   13909 
   13910 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   13911 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13912 $as_echo "$supported" >&6; }
   13913 		if test "$supported" = "yes" ; then
   13914 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   13915 			found="yes"
   13916 		fi
   13917 	fi
   13918 
   13919 
   13920 
   13921 
   13922 
   13923 
   13924 
   13925 
   13926 
   13927 
   13928 
   13929 
   13930 
   13931 xorg_testset_save_CFLAGS="$CFLAGS"
   13932 
   13933 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   13934 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13935 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   13936 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   13937 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   13938   $as_echo_n "(cached) " >&6
   13939 else
   13940   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13941 /* end confdefs.h.  */
   13942 int i;
   13943 _ACEOF
   13944 if ac_fn_c_try_compile "$LINENO"; then :
   13945   xorg_cv_compiler_flag_unknown_warning_option=yes
   13946 else
   13947   xorg_cv_compiler_flag_unknown_warning_option=no
   13948 fi
   13949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13950 fi
   13951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   13952 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   13953 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   13954 	CFLAGS="$xorg_testset_save_CFLAGS"
   13955 fi
   13956 
   13957 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   13958 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13959 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13960 	fi
   13961 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13962 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   13963 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   13964 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   13965   $as_echo_n "(cached) " >&6
   13966 else
   13967   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13968 /* end confdefs.h.  */
   13969 int i;
   13970 _ACEOF
   13971 if ac_fn_c_try_compile "$LINENO"; then :
   13972   xorg_cv_compiler_flag_unused_command_line_argument=yes
   13973 else
   13974   xorg_cv_compiler_flag_unused_command_line_argument=no
   13975 fi
   13976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13977 fi
   13978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   13979 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   13980 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   13981 	CFLAGS="$xorg_testset_save_CFLAGS"
   13982 fi
   13983 
   13984 found="no"
   13985 
   13986 	if test $found = "no" ; then
   13987 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13988 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13989 		fi
   13990 
   13991 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13992 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13993 		fi
   13994 
   13995 		CFLAGS="$CFLAGS -Werror=init-self"
   13996 
   13997 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   13998 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   13999 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=init-self`
   14000 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   14001   $as_echo_n "(cached) " >&6
   14002 else
   14003   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14004 /* end confdefs.h.  */
   14005 int i;
   14006 int
   14007 main ()
   14008 {
   14009 
   14010   ;
   14011   return 0;
   14012 }
   14013 _ACEOF
   14014 if ac_fn_c_try_link "$LINENO"; then :
   14015   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   14016 else
   14017   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   14018 fi
   14019 rm -f core conftest.err conftest.$ac_objext \
   14020     conftest$ac_exeext conftest.$ac_ext
   14021 fi
   14022 
   14023 
   14024 		CFLAGS="$xorg_testset_save_CFLAGS"
   14025 
   14026 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   14027 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14028 $as_echo "$supported" >&6; }
   14029 		if test "$supported" = "yes" ; then
   14030 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   14031 			found="yes"
   14032 		fi
   14033 	fi
   14034 
   14035 
   14036 
   14037 
   14038 
   14039 
   14040 
   14041 
   14042 
   14043 
   14044 
   14045 
   14046 
   14047 xorg_testset_save_CFLAGS="$CFLAGS"
   14048 
   14049 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   14050 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14051 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   14052 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   14053 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   14054   $as_echo_n "(cached) " >&6
   14055 else
   14056   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14057 /* end confdefs.h.  */
   14058 int i;
   14059 _ACEOF
   14060 if ac_fn_c_try_compile "$LINENO"; then :
   14061   xorg_cv_compiler_flag_unknown_warning_option=yes
   14062 else
   14063   xorg_cv_compiler_flag_unknown_warning_option=no
   14064 fi
   14065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14066 fi
   14067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   14068 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   14069 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   14070 	CFLAGS="$xorg_testset_save_CFLAGS"
   14071 fi
   14072 
   14073 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   14074 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14075 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14076 	fi
   14077 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14078 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   14079 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   14080 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   14081   $as_echo_n "(cached) " >&6
   14082 else
   14083   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14084 /* end confdefs.h.  */
   14085 int i;
   14086 _ACEOF
   14087 if ac_fn_c_try_compile "$LINENO"; then :
   14088   xorg_cv_compiler_flag_unused_command_line_argument=yes
   14089 else
   14090   xorg_cv_compiler_flag_unused_command_line_argument=no
   14091 fi
   14092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14093 fi
   14094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   14095 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   14096 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   14097 	CFLAGS="$xorg_testset_save_CFLAGS"
   14098 fi
   14099 
   14100 found="no"
   14101 
   14102 	if test $found = "no" ; then
   14103 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14104 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14105 		fi
   14106 
   14107 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14108 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14109 		fi
   14110 
   14111 		CFLAGS="$CFLAGS -Werror=main"
   14112 
   14113 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   14114 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   14115 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=main`
   14116 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   14117   $as_echo_n "(cached) " >&6
   14118 else
   14119   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14120 /* end confdefs.h.  */
   14121 int i;
   14122 int
   14123 main ()
   14124 {
   14125 
   14126   ;
   14127   return 0;
   14128 }
   14129 _ACEOF
   14130 if ac_fn_c_try_link "$LINENO"; then :
   14131   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   14132 else
   14133   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   14134 fi
   14135 rm -f core conftest.err conftest.$ac_objext \
   14136     conftest$ac_exeext conftest.$ac_ext
   14137 fi
   14138 
   14139 
   14140 		CFLAGS="$xorg_testset_save_CFLAGS"
   14141 
   14142 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   14143 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14144 $as_echo "$supported" >&6; }
   14145 		if test "$supported" = "yes" ; then
   14146 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   14147 			found="yes"
   14148 		fi
   14149 	fi
   14150 
   14151 
   14152 
   14153 
   14154 
   14155 
   14156 
   14157 
   14158 
   14159 
   14160 
   14161 
   14162 
   14163 xorg_testset_save_CFLAGS="$CFLAGS"
   14164 
   14165 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   14166 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14167 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   14168 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   14169 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   14170   $as_echo_n "(cached) " >&6
   14171 else
   14172   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14173 /* end confdefs.h.  */
   14174 int i;
   14175 _ACEOF
   14176 if ac_fn_c_try_compile "$LINENO"; then :
   14177   xorg_cv_compiler_flag_unknown_warning_option=yes
   14178 else
   14179   xorg_cv_compiler_flag_unknown_warning_option=no
   14180 fi
   14181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14182 fi
   14183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   14184 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   14185 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   14186 	CFLAGS="$xorg_testset_save_CFLAGS"
   14187 fi
   14188 
   14189 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   14190 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14191 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14192 	fi
   14193 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14194 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   14195 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   14196 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   14197   $as_echo_n "(cached) " >&6
   14198 else
   14199   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14200 /* end confdefs.h.  */
   14201 int i;
   14202 _ACEOF
   14203 if ac_fn_c_try_compile "$LINENO"; then :
   14204   xorg_cv_compiler_flag_unused_command_line_argument=yes
   14205 else
   14206   xorg_cv_compiler_flag_unused_command_line_argument=no
   14207 fi
   14208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14209 fi
   14210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   14211 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   14212 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   14213 	CFLAGS="$xorg_testset_save_CFLAGS"
   14214 fi
   14215 
   14216 found="no"
   14217 
   14218 	if test $found = "no" ; then
   14219 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14220 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14221 		fi
   14222 
   14223 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14224 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14225 		fi
   14226 
   14227 		CFLAGS="$CFLAGS -Werror=missing-braces"
   14228 
   14229 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   14230 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   14231 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=missing-braces`
   14232 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   14233   $as_echo_n "(cached) " >&6
   14234 else
   14235   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14236 /* end confdefs.h.  */
   14237 int i;
   14238 int
   14239 main ()
   14240 {
   14241 
   14242   ;
   14243   return 0;
   14244 }
   14245 _ACEOF
   14246 if ac_fn_c_try_link "$LINENO"; then :
   14247   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   14248 else
   14249   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   14250 fi
   14251 rm -f core conftest.err conftest.$ac_objext \
   14252     conftest$ac_exeext conftest.$ac_ext
   14253 fi
   14254 
   14255 
   14256 		CFLAGS="$xorg_testset_save_CFLAGS"
   14257 
   14258 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   14259 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14260 $as_echo "$supported" >&6; }
   14261 		if test "$supported" = "yes" ; then
   14262 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   14263 			found="yes"
   14264 		fi
   14265 	fi
   14266 
   14267 
   14268 
   14269 
   14270 
   14271 
   14272 
   14273 
   14274 
   14275 
   14276 
   14277 
   14278 
   14279 xorg_testset_save_CFLAGS="$CFLAGS"
   14280 
   14281 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   14282 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14283 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   14284 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   14285 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   14286   $as_echo_n "(cached) " >&6
   14287 else
   14288   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14289 /* end confdefs.h.  */
   14290 int i;
   14291 _ACEOF
   14292 if ac_fn_c_try_compile "$LINENO"; then :
   14293   xorg_cv_compiler_flag_unknown_warning_option=yes
   14294 else
   14295   xorg_cv_compiler_flag_unknown_warning_option=no
   14296 fi
   14297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14298 fi
   14299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   14300 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   14301 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   14302 	CFLAGS="$xorg_testset_save_CFLAGS"
   14303 fi
   14304 
   14305 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   14306 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14307 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14308 	fi
   14309 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14310 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   14311 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   14312 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   14313   $as_echo_n "(cached) " >&6
   14314 else
   14315   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14316 /* end confdefs.h.  */
   14317 int i;
   14318 _ACEOF
   14319 if ac_fn_c_try_compile "$LINENO"; then :
   14320   xorg_cv_compiler_flag_unused_command_line_argument=yes
   14321 else
   14322   xorg_cv_compiler_flag_unused_command_line_argument=no
   14323 fi
   14324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14325 fi
   14326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   14327 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   14328 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   14329 	CFLAGS="$xorg_testset_save_CFLAGS"
   14330 fi
   14331 
   14332 found="no"
   14333 
   14334 	if test $found = "no" ; then
   14335 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14336 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14337 		fi
   14338 
   14339 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14340 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14341 		fi
   14342 
   14343 		CFLAGS="$CFLAGS -Werror=sequence-point"
   14344 
   14345 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   14346 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   14347 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=sequence-point`
   14348 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   14349   $as_echo_n "(cached) " >&6
   14350 else
   14351   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14352 /* end confdefs.h.  */
   14353 int i;
   14354 int
   14355 main ()
   14356 {
   14357 
   14358   ;
   14359   return 0;
   14360 }
   14361 _ACEOF
   14362 if ac_fn_c_try_link "$LINENO"; then :
   14363   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   14364 else
   14365   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   14366 fi
   14367 rm -f core conftest.err conftest.$ac_objext \
   14368     conftest$ac_exeext conftest.$ac_ext
   14369 fi
   14370 
   14371 
   14372 		CFLAGS="$xorg_testset_save_CFLAGS"
   14373 
   14374 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   14375 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14376 $as_echo "$supported" >&6; }
   14377 		if test "$supported" = "yes" ; then
   14378 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   14379 			found="yes"
   14380 		fi
   14381 	fi
   14382 
   14383 
   14384 
   14385 
   14386 
   14387 
   14388 
   14389 
   14390 
   14391 
   14392 
   14393 
   14394 
   14395 xorg_testset_save_CFLAGS="$CFLAGS"
   14396 
   14397 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   14398 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14399 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   14400 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   14401 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   14402   $as_echo_n "(cached) " >&6
   14403 else
   14404   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14405 /* end confdefs.h.  */
   14406 int i;
   14407 _ACEOF
   14408 if ac_fn_c_try_compile "$LINENO"; then :
   14409   xorg_cv_compiler_flag_unknown_warning_option=yes
   14410 else
   14411   xorg_cv_compiler_flag_unknown_warning_option=no
   14412 fi
   14413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14414 fi
   14415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   14416 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   14417 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   14418 	CFLAGS="$xorg_testset_save_CFLAGS"
   14419 fi
   14420 
   14421 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   14422 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14423 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14424 	fi
   14425 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14426 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   14427 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   14428 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   14429   $as_echo_n "(cached) " >&6
   14430 else
   14431   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14432 /* end confdefs.h.  */
   14433 int i;
   14434 _ACEOF
   14435 if ac_fn_c_try_compile "$LINENO"; then :
   14436   xorg_cv_compiler_flag_unused_command_line_argument=yes
   14437 else
   14438   xorg_cv_compiler_flag_unused_command_line_argument=no
   14439 fi
   14440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14441 fi
   14442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   14443 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   14444 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   14445 	CFLAGS="$xorg_testset_save_CFLAGS"
   14446 fi
   14447 
   14448 found="no"
   14449 
   14450 	if test $found = "no" ; then
   14451 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14452 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14453 		fi
   14454 
   14455 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14456 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14457 		fi
   14458 
   14459 		CFLAGS="$CFLAGS -Werror=return-type"
   14460 
   14461 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   14462 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   14463 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=return-type`
   14464 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   14465   $as_echo_n "(cached) " >&6
   14466 else
   14467   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14468 /* end confdefs.h.  */
   14469 int i;
   14470 int
   14471 main ()
   14472 {
   14473 
   14474   ;
   14475   return 0;
   14476 }
   14477 _ACEOF
   14478 if ac_fn_c_try_link "$LINENO"; then :
   14479   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   14480 else
   14481   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   14482 fi
   14483 rm -f core conftest.err conftest.$ac_objext \
   14484     conftest$ac_exeext conftest.$ac_ext
   14485 fi
   14486 
   14487 
   14488 		CFLAGS="$xorg_testset_save_CFLAGS"
   14489 
   14490 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   14491 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14492 $as_echo "$supported" >&6; }
   14493 		if test "$supported" = "yes" ; then
   14494 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   14495 			found="yes"
   14496 		fi
   14497 	fi
   14498 
   14499 	if test $found = "no" ; then
   14500 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14501 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14502 		fi
   14503 
   14504 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14505 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14506 		fi
   14507 
   14508 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   14509 
   14510 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   14511 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   14512 		cacheid=`$as_echo xorg_cv_cc_flag_-errwarn=E_FUNC_HAS_NO_RETURN_STMT`
   14513 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   14514   $as_echo_n "(cached) " >&6
   14515 else
   14516   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14517 /* end confdefs.h.  */
   14518 int i;
   14519 int
   14520 main ()
   14521 {
   14522 
   14523   ;
   14524   return 0;
   14525 }
   14526 _ACEOF
   14527 if ac_fn_c_try_link "$LINENO"; then :
   14528   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   14529 else
   14530   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   14531 fi
   14532 rm -f core conftest.err conftest.$ac_objext \
   14533     conftest$ac_exeext conftest.$ac_ext
   14534 fi
   14535 
   14536 
   14537 		CFLAGS="$xorg_testset_save_CFLAGS"
   14538 
   14539 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   14540 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14541 $as_echo "$supported" >&6; }
   14542 		if test "$supported" = "yes" ; then
   14543 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   14544 			found="yes"
   14545 		fi
   14546 	fi
   14547 
   14548 
   14549 
   14550 
   14551 
   14552 
   14553 
   14554 
   14555 
   14556 
   14557 
   14558 
   14559 
   14560 xorg_testset_save_CFLAGS="$CFLAGS"
   14561 
   14562 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   14563 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14564 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   14565 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   14566 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   14567   $as_echo_n "(cached) " >&6
   14568 else
   14569   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14570 /* end confdefs.h.  */
   14571 int i;
   14572 _ACEOF
   14573 if ac_fn_c_try_compile "$LINENO"; then :
   14574   xorg_cv_compiler_flag_unknown_warning_option=yes
   14575 else
   14576   xorg_cv_compiler_flag_unknown_warning_option=no
   14577 fi
   14578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14579 fi
   14580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   14581 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   14582 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   14583 	CFLAGS="$xorg_testset_save_CFLAGS"
   14584 fi
   14585 
   14586 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   14587 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14588 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14589 	fi
   14590 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14591 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   14592 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   14593 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   14594   $as_echo_n "(cached) " >&6
   14595 else
   14596   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14597 /* end confdefs.h.  */
   14598 int i;
   14599 _ACEOF
   14600 if ac_fn_c_try_compile "$LINENO"; then :
   14601   xorg_cv_compiler_flag_unused_command_line_argument=yes
   14602 else
   14603   xorg_cv_compiler_flag_unused_command_line_argument=no
   14604 fi
   14605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14606 fi
   14607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   14608 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   14609 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   14610 	CFLAGS="$xorg_testset_save_CFLAGS"
   14611 fi
   14612 
   14613 found="no"
   14614 
   14615 	if test $found = "no" ; then
   14616 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14617 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14618 		fi
   14619 
   14620 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14621 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14622 		fi
   14623 
   14624 		CFLAGS="$CFLAGS -Werror=trigraphs"
   14625 
   14626 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   14627 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   14628 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=trigraphs`
   14629 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   14630   $as_echo_n "(cached) " >&6
   14631 else
   14632   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14633 /* end confdefs.h.  */
   14634 int i;
   14635 int
   14636 main ()
   14637 {
   14638 
   14639   ;
   14640   return 0;
   14641 }
   14642 _ACEOF
   14643 if ac_fn_c_try_link "$LINENO"; then :
   14644   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   14645 else
   14646   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   14647 fi
   14648 rm -f core conftest.err conftest.$ac_objext \
   14649     conftest$ac_exeext conftest.$ac_ext
   14650 fi
   14651 
   14652 
   14653 		CFLAGS="$xorg_testset_save_CFLAGS"
   14654 
   14655 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   14656 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14657 $as_echo "$supported" >&6; }
   14658 		if test "$supported" = "yes" ; then
   14659 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   14660 			found="yes"
   14661 		fi
   14662 	fi
   14663 
   14664 
   14665 
   14666 
   14667 
   14668 
   14669 
   14670 
   14671 
   14672 
   14673 
   14674 
   14675 
   14676 xorg_testset_save_CFLAGS="$CFLAGS"
   14677 
   14678 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   14679 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14680 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   14681 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   14682 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   14683   $as_echo_n "(cached) " >&6
   14684 else
   14685   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14686 /* end confdefs.h.  */
   14687 int i;
   14688 _ACEOF
   14689 if ac_fn_c_try_compile "$LINENO"; then :
   14690   xorg_cv_compiler_flag_unknown_warning_option=yes
   14691 else
   14692   xorg_cv_compiler_flag_unknown_warning_option=no
   14693 fi
   14694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14695 fi
   14696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   14697 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   14698 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   14699 	CFLAGS="$xorg_testset_save_CFLAGS"
   14700 fi
   14701 
   14702 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   14703 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14704 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14705 	fi
   14706 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14707 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   14708 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   14709 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   14710   $as_echo_n "(cached) " >&6
   14711 else
   14712   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14713 /* end confdefs.h.  */
   14714 int i;
   14715 _ACEOF
   14716 if ac_fn_c_try_compile "$LINENO"; then :
   14717   xorg_cv_compiler_flag_unused_command_line_argument=yes
   14718 else
   14719   xorg_cv_compiler_flag_unused_command_line_argument=no
   14720 fi
   14721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14722 fi
   14723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   14724 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   14725 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   14726 	CFLAGS="$xorg_testset_save_CFLAGS"
   14727 fi
   14728 
   14729 found="no"
   14730 
   14731 	if test $found = "no" ; then
   14732 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14733 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14734 		fi
   14735 
   14736 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14737 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14738 		fi
   14739 
   14740 		CFLAGS="$CFLAGS -Werror=array-bounds"
   14741 
   14742 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   14743 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   14744 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=array-bounds`
   14745 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   14746   $as_echo_n "(cached) " >&6
   14747 else
   14748   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14749 /* end confdefs.h.  */
   14750 int i;
   14751 int
   14752 main ()
   14753 {
   14754 
   14755   ;
   14756   return 0;
   14757 }
   14758 _ACEOF
   14759 if ac_fn_c_try_link "$LINENO"; then :
   14760   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   14761 else
   14762   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   14763 fi
   14764 rm -f core conftest.err conftest.$ac_objext \
   14765     conftest$ac_exeext conftest.$ac_ext
   14766 fi
   14767 
   14768 
   14769 		CFLAGS="$xorg_testset_save_CFLAGS"
   14770 
   14771 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   14772 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14773 $as_echo "$supported" >&6; }
   14774 		if test "$supported" = "yes" ; then
   14775 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   14776 			found="yes"
   14777 		fi
   14778 	fi
   14779 
   14780 
   14781 
   14782 
   14783 
   14784 
   14785 
   14786 
   14787 
   14788 
   14789 
   14790 
   14791 
   14792 xorg_testset_save_CFLAGS="$CFLAGS"
   14793 
   14794 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   14795 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14796 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   14797 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   14798 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   14799   $as_echo_n "(cached) " >&6
   14800 else
   14801   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14802 /* end confdefs.h.  */
   14803 int i;
   14804 _ACEOF
   14805 if ac_fn_c_try_compile "$LINENO"; then :
   14806   xorg_cv_compiler_flag_unknown_warning_option=yes
   14807 else
   14808   xorg_cv_compiler_flag_unknown_warning_option=no
   14809 fi
   14810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14811 fi
   14812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   14813 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   14814 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   14815 	CFLAGS="$xorg_testset_save_CFLAGS"
   14816 fi
   14817 
   14818 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   14819 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14820 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14821 	fi
   14822 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14823 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   14824 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   14825 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   14826   $as_echo_n "(cached) " >&6
   14827 else
   14828   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14829 /* end confdefs.h.  */
   14830 int i;
   14831 _ACEOF
   14832 if ac_fn_c_try_compile "$LINENO"; then :
   14833   xorg_cv_compiler_flag_unused_command_line_argument=yes
   14834 else
   14835   xorg_cv_compiler_flag_unused_command_line_argument=no
   14836 fi
   14837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14838 fi
   14839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   14840 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   14841 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   14842 	CFLAGS="$xorg_testset_save_CFLAGS"
   14843 fi
   14844 
   14845 found="no"
   14846 
   14847 	if test $found = "no" ; then
   14848 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14849 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14850 		fi
   14851 
   14852 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14853 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14854 		fi
   14855 
   14856 		CFLAGS="$CFLAGS -Werror=write-strings"
   14857 
   14858 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   14859 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   14860 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=write-strings`
   14861 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   14862   $as_echo_n "(cached) " >&6
   14863 else
   14864   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14865 /* end confdefs.h.  */
   14866 int i;
   14867 int
   14868 main ()
   14869 {
   14870 
   14871   ;
   14872   return 0;
   14873 }
   14874 _ACEOF
   14875 if ac_fn_c_try_link "$LINENO"; then :
   14876   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   14877 else
   14878   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   14879 fi
   14880 rm -f core conftest.err conftest.$ac_objext \
   14881     conftest$ac_exeext conftest.$ac_ext
   14882 fi
   14883 
   14884 
   14885 		CFLAGS="$xorg_testset_save_CFLAGS"
   14886 
   14887 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   14888 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14889 $as_echo "$supported" >&6; }
   14890 		if test "$supported" = "yes" ; then
   14891 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   14892 			found="yes"
   14893 		fi
   14894 	fi
   14895 
   14896 
   14897 
   14898 
   14899 
   14900 
   14901 
   14902 
   14903 
   14904 
   14905 
   14906 
   14907 
   14908 xorg_testset_save_CFLAGS="$CFLAGS"
   14909 
   14910 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   14911 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14912 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   14913 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   14914 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   14915   $as_echo_n "(cached) " >&6
   14916 else
   14917   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14918 /* end confdefs.h.  */
   14919 int i;
   14920 _ACEOF
   14921 if ac_fn_c_try_compile "$LINENO"; then :
   14922   xorg_cv_compiler_flag_unknown_warning_option=yes
   14923 else
   14924   xorg_cv_compiler_flag_unknown_warning_option=no
   14925 fi
   14926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14927 fi
   14928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   14929 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   14930 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   14931 	CFLAGS="$xorg_testset_save_CFLAGS"
   14932 fi
   14933 
   14934 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   14935 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14936 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14937 	fi
   14938 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14939 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   14940 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   14941 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   14942   $as_echo_n "(cached) " >&6
   14943 else
   14944   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14945 /* end confdefs.h.  */
   14946 int i;
   14947 _ACEOF
   14948 if ac_fn_c_try_compile "$LINENO"; then :
   14949   xorg_cv_compiler_flag_unused_command_line_argument=yes
   14950 else
   14951   xorg_cv_compiler_flag_unused_command_line_argument=no
   14952 fi
   14953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14954 fi
   14955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   14956 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   14957 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   14958 	CFLAGS="$xorg_testset_save_CFLAGS"
   14959 fi
   14960 
   14961 found="no"
   14962 
   14963 	if test $found = "no" ; then
   14964 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14965 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14966 		fi
   14967 
   14968 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14969 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14970 		fi
   14971 
   14972 		CFLAGS="$CFLAGS -Werror=address"
   14973 
   14974 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   14975 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   14976 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=address`
   14977 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   14978   $as_echo_n "(cached) " >&6
   14979 else
   14980   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14981 /* end confdefs.h.  */
   14982 int i;
   14983 int
   14984 main ()
   14985 {
   14986 
   14987   ;
   14988   return 0;
   14989 }
   14990 _ACEOF
   14991 if ac_fn_c_try_link "$LINENO"; then :
   14992   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   14993 else
   14994   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   14995 fi
   14996 rm -f core conftest.err conftest.$ac_objext \
   14997     conftest$ac_exeext conftest.$ac_ext
   14998 fi
   14999 
   15000 
   15001 		CFLAGS="$xorg_testset_save_CFLAGS"
   15002 
   15003 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   15004 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15005 $as_echo "$supported" >&6; }
   15006 		if test "$supported" = "yes" ; then
   15007 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   15008 			found="yes"
   15009 		fi
   15010 	fi
   15011 
   15012 
   15013 
   15014 
   15015 
   15016 
   15017 
   15018 
   15019 
   15020 
   15021 
   15022 
   15023 
   15024 xorg_testset_save_CFLAGS="$CFLAGS"
   15025 
   15026 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   15027 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15028 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   15029 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   15030 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   15031   $as_echo_n "(cached) " >&6
   15032 else
   15033   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15034 /* end confdefs.h.  */
   15035 int i;
   15036 _ACEOF
   15037 if ac_fn_c_try_compile "$LINENO"; then :
   15038   xorg_cv_compiler_flag_unknown_warning_option=yes
   15039 else
   15040   xorg_cv_compiler_flag_unknown_warning_option=no
   15041 fi
   15042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15043 fi
   15044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   15045 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   15046 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   15047 	CFLAGS="$xorg_testset_save_CFLAGS"
   15048 fi
   15049 
   15050 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   15051 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15052 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15053 	fi
   15054 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15055 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   15056 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   15057 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   15058   $as_echo_n "(cached) " >&6
   15059 else
   15060   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15061 /* end confdefs.h.  */
   15062 int i;
   15063 _ACEOF
   15064 if ac_fn_c_try_compile "$LINENO"; then :
   15065   xorg_cv_compiler_flag_unused_command_line_argument=yes
   15066 else
   15067   xorg_cv_compiler_flag_unused_command_line_argument=no
   15068 fi
   15069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15070 fi
   15071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   15072 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   15073 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   15074 	CFLAGS="$xorg_testset_save_CFLAGS"
   15075 fi
   15076 
   15077 found="no"
   15078 
   15079 	if test $found = "no" ; then
   15080 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15081 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15082 		fi
   15083 
   15084 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15085 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15086 		fi
   15087 
   15088 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   15089 
   15090 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   15091 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   15092 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=int-to-pointer-cast`
   15093 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   15094   $as_echo_n "(cached) " >&6
   15095 else
   15096   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15097 /* end confdefs.h.  */
   15098 int i;
   15099 int
   15100 main ()
   15101 {
   15102 
   15103   ;
   15104   return 0;
   15105 }
   15106 _ACEOF
   15107 if ac_fn_c_try_link "$LINENO"; then :
   15108   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   15109 else
   15110   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   15111 fi
   15112 rm -f core conftest.err conftest.$ac_objext \
   15113     conftest$ac_exeext conftest.$ac_ext
   15114 fi
   15115 
   15116 
   15117 		CFLAGS="$xorg_testset_save_CFLAGS"
   15118 
   15119 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   15120 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15121 $as_echo "$supported" >&6; }
   15122 		if test "$supported" = "yes" ; then
   15123 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   15124 			found="yes"
   15125 		fi
   15126 	fi
   15127 
   15128 	if test $found = "no" ; then
   15129 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15130 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15131 		fi
   15132 
   15133 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15134 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15135 		fi
   15136 
   15137 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15138 
   15139 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   15140 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   15141 		cacheid=`$as_echo xorg_cv_cc_flag_-errwarn=E_BAD_PTR_INT_COMBINATION`
   15142 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   15143   $as_echo_n "(cached) " >&6
   15144 else
   15145   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15146 /* end confdefs.h.  */
   15147 int i;
   15148 int
   15149 main ()
   15150 {
   15151 
   15152   ;
   15153   return 0;
   15154 }
   15155 _ACEOF
   15156 if ac_fn_c_try_link "$LINENO"; then :
   15157   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   15158 else
   15159   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   15160 fi
   15161 rm -f core conftest.err conftest.$ac_objext \
   15162     conftest$ac_exeext conftest.$ac_ext
   15163 fi
   15164 
   15165 
   15166 		CFLAGS="$xorg_testset_save_CFLAGS"
   15167 
   15168 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   15169 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15170 $as_echo "$supported" >&6; }
   15171 		if test "$supported" = "yes" ; then
   15172 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15173 			found="yes"
   15174 		fi
   15175 	fi
   15176 
   15177 
   15178 
   15179 
   15180 
   15181 
   15182 
   15183 
   15184 
   15185 
   15186 
   15187 
   15188 
   15189 xorg_testset_save_CFLAGS="$CFLAGS"
   15190 
   15191 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   15192 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15193 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   15194 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   15195 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   15196   $as_echo_n "(cached) " >&6
   15197 else
   15198   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15199 /* end confdefs.h.  */
   15200 int i;
   15201 _ACEOF
   15202 if ac_fn_c_try_compile "$LINENO"; then :
   15203   xorg_cv_compiler_flag_unknown_warning_option=yes
   15204 else
   15205   xorg_cv_compiler_flag_unknown_warning_option=no
   15206 fi
   15207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15208 fi
   15209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   15210 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   15211 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   15212 	CFLAGS="$xorg_testset_save_CFLAGS"
   15213 fi
   15214 
   15215 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   15216 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15217 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15218 	fi
   15219 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15220 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   15221 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   15222 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   15223   $as_echo_n "(cached) " >&6
   15224 else
   15225   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15226 /* end confdefs.h.  */
   15227 int i;
   15228 _ACEOF
   15229 if ac_fn_c_try_compile "$LINENO"; then :
   15230   xorg_cv_compiler_flag_unused_command_line_argument=yes
   15231 else
   15232   xorg_cv_compiler_flag_unused_command_line_argument=no
   15233 fi
   15234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15235 fi
   15236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   15237 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   15238 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   15239 	CFLAGS="$xorg_testset_save_CFLAGS"
   15240 fi
   15241 
   15242 found="no"
   15243 
   15244 	if test $found = "no" ; then
   15245 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15246 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15247 		fi
   15248 
   15249 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15250 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15251 		fi
   15252 
   15253 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   15254 
   15255 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   15256 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   15257 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=pointer-to-int-cast`
   15258 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   15259   $as_echo_n "(cached) " >&6
   15260 else
   15261   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15262 /* end confdefs.h.  */
   15263 int i;
   15264 int
   15265 main ()
   15266 {
   15267 
   15268   ;
   15269   return 0;
   15270 }
   15271 _ACEOF
   15272 if ac_fn_c_try_link "$LINENO"; then :
   15273   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   15274 else
   15275   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   15276 fi
   15277 rm -f core conftest.err conftest.$ac_objext \
   15278     conftest$ac_exeext conftest.$ac_ext
   15279 fi
   15280 
   15281 
   15282 		CFLAGS="$xorg_testset_save_CFLAGS"
   15283 
   15284 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   15285 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15286 $as_echo "$supported" >&6; }
   15287 		if test "$supported" = "yes" ; then
   15288 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   15289 			found="yes"
   15290 		fi
   15291 	fi
   15292 
   15293  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   15294 else
   15295 { $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
   15296 $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;}
   15297 
   15298 
   15299 
   15300 
   15301 
   15302 
   15303 
   15304 
   15305 
   15306 
   15307 
   15308 xorg_testset_save_CFLAGS="$CFLAGS"
   15309 
   15310 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   15311 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15312 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   15313 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   15314 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   15315   $as_echo_n "(cached) " >&6
   15316 else
   15317   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15318 /* end confdefs.h.  */
   15319 int i;
   15320 _ACEOF
   15321 if ac_fn_c_try_compile "$LINENO"; then :
   15322   xorg_cv_compiler_flag_unknown_warning_option=yes
   15323 else
   15324   xorg_cv_compiler_flag_unknown_warning_option=no
   15325 fi
   15326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15327 fi
   15328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   15329 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   15330 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   15331 	CFLAGS="$xorg_testset_save_CFLAGS"
   15332 fi
   15333 
   15334 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   15335 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15336 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15337 	fi
   15338 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15339 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   15340 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   15341 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   15342   $as_echo_n "(cached) " >&6
   15343 else
   15344   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15345 /* end confdefs.h.  */
   15346 int i;
   15347 _ACEOF
   15348 if ac_fn_c_try_compile "$LINENO"; then :
   15349   xorg_cv_compiler_flag_unused_command_line_argument=yes
   15350 else
   15351   xorg_cv_compiler_flag_unused_command_line_argument=no
   15352 fi
   15353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15354 fi
   15355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   15356 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   15357 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   15358 	CFLAGS="$xorg_testset_save_CFLAGS"
   15359 fi
   15360 
   15361 found="no"
   15362 
   15363 	if test $found = "no" ; then
   15364 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15365 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15366 		fi
   15367 
   15368 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15369 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15370 		fi
   15371 
   15372 		CFLAGS="$CFLAGS -Wimplicit"
   15373 
   15374 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   15375 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   15376 		cacheid=`$as_echo xorg_cv_cc_flag_-Wimplicit`
   15377 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   15378   $as_echo_n "(cached) " >&6
   15379 else
   15380   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15381 /* end confdefs.h.  */
   15382 int i;
   15383 int
   15384 main ()
   15385 {
   15386 
   15387   ;
   15388   return 0;
   15389 }
   15390 _ACEOF
   15391 if ac_fn_c_try_link "$LINENO"; then :
   15392   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   15393 else
   15394   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   15395 fi
   15396 rm -f core conftest.err conftest.$ac_objext \
   15397     conftest$ac_exeext conftest.$ac_ext
   15398 fi
   15399 
   15400 
   15401 		CFLAGS="$xorg_testset_save_CFLAGS"
   15402 
   15403 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   15404 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15405 $as_echo "$supported" >&6; }
   15406 		if test "$supported" = "yes" ; then
   15407 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   15408 			found="yes"
   15409 		fi
   15410 	fi
   15411 
   15412 
   15413 
   15414 
   15415 
   15416 
   15417 
   15418 
   15419 
   15420 
   15421 
   15422 
   15423 
   15424 xorg_testset_save_CFLAGS="$CFLAGS"
   15425 
   15426 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   15427 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15428 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   15429 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   15430 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   15431   $as_echo_n "(cached) " >&6
   15432 else
   15433   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15434 /* end confdefs.h.  */
   15435 int i;
   15436 _ACEOF
   15437 if ac_fn_c_try_compile "$LINENO"; then :
   15438   xorg_cv_compiler_flag_unknown_warning_option=yes
   15439 else
   15440   xorg_cv_compiler_flag_unknown_warning_option=no
   15441 fi
   15442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15443 fi
   15444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   15445 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   15446 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   15447 	CFLAGS="$xorg_testset_save_CFLAGS"
   15448 fi
   15449 
   15450 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   15451 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15452 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15453 	fi
   15454 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15455 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   15456 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   15457 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   15458   $as_echo_n "(cached) " >&6
   15459 else
   15460   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15461 /* end confdefs.h.  */
   15462 int i;
   15463 _ACEOF
   15464 if ac_fn_c_try_compile "$LINENO"; then :
   15465   xorg_cv_compiler_flag_unused_command_line_argument=yes
   15466 else
   15467   xorg_cv_compiler_flag_unused_command_line_argument=no
   15468 fi
   15469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15470 fi
   15471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   15472 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   15473 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   15474 	CFLAGS="$xorg_testset_save_CFLAGS"
   15475 fi
   15476 
   15477 found="no"
   15478 
   15479 	if test $found = "no" ; then
   15480 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15481 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15482 		fi
   15483 
   15484 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15485 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15486 		fi
   15487 
   15488 		CFLAGS="$CFLAGS -Wnonnull"
   15489 
   15490 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   15491 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   15492 		cacheid=`$as_echo xorg_cv_cc_flag_-Wnonnull`
   15493 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   15494   $as_echo_n "(cached) " >&6
   15495 else
   15496   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15497 /* end confdefs.h.  */
   15498 int i;
   15499 int
   15500 main ()
   15501 {
   15502 
   15503   ;
   15504   return 0;
   15505 }
   15506 _ACEOF
   15507 if ac_fn_c_try_link "$LINENO"; then :
   15508   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   15509 else
   15510   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   15511 fi
   15512 rm -f core conftest.err conftest.$ac_objext \
   15513     conftest$ac_exeext conftest.$ac_ext
   15514 fi
   15515 
   15516 
   15517 		CFLAGS="$xorg_testset_save_CFLAGS"
   15518 
   15519 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   15520 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15521 $as_echo "$supported" >&6; }
   15522 		if test "$supported" = "yes" ; then
   15523 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   15524 			found="yes"
   15525 		fi
   15526 	fi
   15527 
   15528 
   15529 
   15530 
   15531 
   15532 
   15533 
   15534 
   15535 
   15536 
   15537 
   15538 
   15539 
   15540 xorg_testset_save_CFLAGS="$CFLAGS"
   15541 
   15542 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   15543 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15544 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   15545 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   15546 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   15547   $as_echo_n "(cached) " >&6
   15548 else
   15549   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15550 /* end confdefs.h.  */
   15551 int i;
   15552 _ACEOF
   15553 if ac_fn_c_try_compile "$LINENO"; then :
   15554   xorg_cv_compiler_flag_unknown_warning_option=yes
   15555 else
   15556   xorg_cv_compiler_flag_unknown_warning_option=no
   15557 fi
   15558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15559 fi
   15560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   15561 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   15562 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   15563 	CFLAGS="$xorg_testset_save_CFLAGS"
   15564 fi
   15565 
   15566 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   15567 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15568 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15569 	fi
   15570 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15571 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   15572 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   15573 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   15574   $as_echo_n "(cached) " >&6
   15575 else
   15576   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15577 /* end confdefs.h.  */
   15578 int i;
   15579 _ACEOF
   15580 if ac_fn_c_try_compile "$LINENO"; then :
   15581   xorg_cv_compiler_flag_unused_command_line_argument=yes
   15582 else
   15583   xorg_cv_compiler_flag_unused_command_line_argument=no
   15584 fi
   15585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15586 fi
   15587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   15588 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   15589 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   15590 	CFLAGS="$xorg_testset_save_CFLAGS"
   15591 fi
   15592 
   15593 found="no"
   15594 
   15595 	if test $found = "no" ; then
   15596 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15597 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15598 		fi
   15599 
   15600 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15601 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15602 		fi
   15603 
   15604 		CFLAGS="$CFLAGS -Winit-self"
   15605 
   15606 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   15607 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   15608 		cacheid=`$as_echo xorg_cv_cc_flag_-Winit-self`
   15609 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   15610   $as_echo_n "(cached) " >&6
   15611 else
   15612   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15613 /* end confdefs.h.  */
   15614 int i;
   15615 int
   15616 main ()
   15617 {
   15618 
   15619   ;
   15620   return 0;
   15621 }
   15622 _ACEOF
   15623 if ac_fn_c_try_link "$LINENO"; then :
   15624   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   15625 else
   15626   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   15627 fi
   15628 rm -f core conftest.err conftest.$ac_objext \
   15629     conftest$ac_exeext conftest.$ac_ext
   15630 fi
   15631 
   15632 
   15633 		CFLAGS="$xorg_testset_save_CFLAGS"
   15634 
   15635 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   15636 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15637 $as_echo "$supported" >&6; }
   15638 		if test "$supported" = "yes" ; then
   15639 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   15640 			found="yes"
   15641 		fi
   15642 	fi
   15643 
   15644 
   15645 
   15646 
   15647 
   15648 
   15649 
   15650 
   15651 
   15652 
   15653 
   15654 
   15655 
   15656 xorg_testset_save_CFLAGS="$CFLAGS"
   15657 
   15658 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   15659 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15660 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   15661 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   15662 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   15663   $as_echo_n "(cached) " >&6
   15664 else
   15665   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15666 /* end confdefs.h.  */
   15667 int i;
   15668 _ACEOF
   15669 if ac_fn_c_try_compile "$LINENO"; then :
   15670   xorg_cv_compiler_flag_unknown_warning_option=yes
   15671 else
   15672   xorg_cv_compiler_flag_unknown_warning_option=no
   15673 fi
   15674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15675 fi
   15676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   15677 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   15678 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   15679 	CFLAGS="$xorg_testset_save_CFLAGS"
   15680 fi
   15681 
   15682 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   15683 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15684 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15685 	fi
   15686 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15687 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   15688 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   15689 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   15690   $as_echo_n "(cached) " >&6
   15691 else
   15692   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15693 /* end confdefs.h.  */
   15694 int i;
   15695 _ACEOF
   15696 if ac_fn_c_try_compile "$LINENO"; then :
   15697   xorg_cv_compiler_flag_unused_command_line_argument=yes
   15698 else
   15699   xorg_cv_compiler_flag_unused_command_line_argument=no
   15700 fi
   15701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15702 fi
   15703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   15704 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   15705 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   15706 	CFLAGS="$xorg_testset_save_CFLAGS"
   15707 fi
   15708 
   15709 found="no"
   15710 
   15711 	if test $found = "no" ; then
   15712 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15713 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15714 		fi
   15715 
   15716 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15717 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15718 		fi
   15719 
   15720 		CFLAGS="$CFLAGS -Wmain"
   15721 
   15722 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   15723 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   15724 		cacheid=`$as_echo xorg_cv_cc_flag_-Wmain`
   15725 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   15726   $as_echo_n "(cached) " >&6
   15727 else
   15728   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15729 /* end confdefs.h.  */
   15730 int i;
   15731 int
   15732 main ()
   15733 {
   15734 
   15735   ;
   15736   return 0;
   15737 }
   15738 _ACEOF
   15739 if ac_fn_c_try_link "$LINENO"; then :
   15740   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   15741 else
   15742   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   15743 fi
   15744 rm -f core conftest.err conftest.$ac_objext \
   15745     conftest$ac_exeext conftest.$ac_ext
   15746 fi
   15747 
   15748 
   15749 		CFLAGS="$xorg_testset_save_CFLAGS"
   15750 
   15751 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   15752 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15753 $as_echo "$supported" >&6; }
   15754 		if test "$supported" = "yes" ; then
   15755 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   15756 			found="yes"
   15757 		fi
   15758 	fi
   15759 
   15760 
   15761 
   15762 
   15763 
   15764 
   15765 
   15766 
   15767 
   15768 
   15769 
   15770 
   15771 
   15772 xorg_testset_save_CFLAGS="$CFLAGS"
   15773 
   15774 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   15775 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15776 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   15777 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   15778 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   15779   $as_echo_n "(cached) " >&6
   15780 else
   15781   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15782 /* end confdefs.h.  */
   15783 int i;
   15784 _ACEOF
   15785 if ac_fn_c_try_compile "$LINENO"; then :
   15786   xorg_cv_compiler_flag_unknown_warning_option=yes
   15787 else
   15788   xorg_cv_compiler_flag_unknown_warning_option=no
   15789 fi
   15790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15791 fi
   15792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   15793 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   15794 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   15795 	CFLAGS="$xorg_testset_save_CFLAGS"
   15796 fi
   15797 
   15798 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   15799 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15800 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15801 	fi
   15802 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15803 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   15804 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   15805 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   15806   $as_echo_n "(cached) " >&6
   15807 else
   15808   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15809 /* end confdefs.h.  */
   15810 int i;
   15811 _ACEOF
   15812 if ac_fn_c_try_compile "$LINENO"; then :
   15813   xorg_cv_compiler_flag_unused_command_line_argument=yes
   15814 else
   15815   xorg_cv_compiler_flag_unused_command_line_argument=no
   15816 fi
   15817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15818 fi
   15819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   15820 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   15821 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   15822 	CFLAGS="$xorg_testset_save_CFLAGS"
   15823 fi
   15824 
   15825 found="no"
   15826 
   15827 	if test $found = "no" ; then
   15828 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15829 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15830 		fi
   15831 
   15832 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15833 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15834 		fi
   15835 
   15836 		CFLAGS="$CFLAGS -Wmissing-braces"
   15837 
   15838 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   15839 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   15840 		cacheid=`$as_echo xorg_cv_cc_flag_-Wmissing-braces`
   15841 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   15842   $as_echo_n "(cached) " >&6
   15843 else
   15844   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15845 /* end confdefs.h.  */
   15846 int i;
   15847 int
   15848 main ()
   15849 {
   15850 
   15851   ;
   15852   return 0;
   15853 }
   15854 _ACEOF
   15855 if ac_fn_c_try_link "$LINENO"; then :
   15856   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   15857 else
   15858   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   15859 fi
   15860 rm -f core conftest.err conftest.$ac_objext \
   15861     conftest$ac_exeext conftest.$ac_ext
   15862 fi
   15863 
   15864 
   15865 		CFLAGS="$xorg_testset_save_CFLAGS"
   15866 
   15867 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   15868 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15869 $as_echo "$supported" >&6; }
   15870 		if test "$supported" = "yes" ; then
   15871 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   15872 			found="yes"
   15873 		fi
   15874 	fi
   15875 
   15876 
   15877 
   15878 
   15879 
   15880 
   15881 
   15882 
   15883 
   15884 
   15885 
   15886 
   15887 
   15888 xorg_testset_save_CFLAGS="$CFLAGS"
   15889 
   15890 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   15891 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15892 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   15893 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   15894 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   15895   $as_echo_n "(cached) " >&6
   15896 else
   15897   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15898 /* end confdefs.h.  */
   15899 int i;
   15900 _ACEOF
   15901 if ac_fn_c_try_compile "$LINENO"; then :
   15902   xorg_cv_compiler_flag_unknown_warning_option=yes
   15903 else
   15904   xorg_cv_compiler_flag_unknown_warning_option=no
   15905 fi
   15906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15907 fi
   15908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   15909 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   15910 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   15911 	CFLAGS="$xorg_testset_save_CFLAGS"
   15912 fi
   15913 
   15914 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   15915 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15916 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15917 	fi
   15918 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15919 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   15920 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   15921 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   15922   $as_echo_n "(cached) " >&6
   15923 else
   15924   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15925 /* end confdefs.h.  */
   15926 int i;
   15927 _ACEOF
   15928 if ac_fn_c_try_compile "$LINENO"; then :
   15929   xorg_cv_compiler_flag_unused_command_line_argument=yes
   15930 else
   15931   xorg_cv_compiler_flag_unused_command_line_argument=no
   15932 fi
   15933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15934 fi
   15935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   15936 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   15937 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   15938 	CFLAGS="$xorg_testset_save_CFLAGS"
   15939 fi
   15940 
   15941 found="no"
   15942 
   15943 	if test $found = "no" ; then
   15944 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15945 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15946 		fi
   15947 
   15948 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15949 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15950 		fi
   15951 
   15952 		CFLAGS="$CFLAGS -Wsequence-point"
   15953 
   15954 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   15955 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   15956 		cacheid=`$as_echo xorg_cv_cc_flag_-Wsequence-point`
   15957 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   15958   $as_echo_n "(cached) " >&6
   15959 else
   15960   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15961 /* end confdefs.h.  */
   15962 int i;
   15963 int
   15964 main ()
   15965 {
   15966 
   15967   ;
   15968   return 0;
   15969 }
   15970 _ACEOF
   15971 if ac_fn_c_try_link "$LINENO"; then :
   15972   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   15973 else
   15974   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   15975 fi
   15976 rm -f core conftest.err conftest.$ac_objext \
   15977     conftest$ac_exeext conftest.$ac_ext
   15978 fi
   15979 
   15980 
   15981 		CFLAGS="$xorg_testset_save_CFLAGS"
   15982 
   15983 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   15984 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15985 $as_echo "$supported" >&6; }
   15986 		if test "$supported" = "yes" ; then
   15987 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   15988 			found="yes"
   15989 		fi
   15990 	fi
   15991 
   15992 
   15993 
   15994 
   15995 
   15996 
   15997 
   15998 
   15999 
   16000 
   16001 
   16002 
   16003 
   16004 xorg_testset_save_CFLAGS="$CFLAGS"
   16005 
   16006 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   16007 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16008 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   16009 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   16010 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   16011   $as_echo_n "(cached) " >&6
   16012 else
   16013   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16014 /* end confdefs.h.  */
   16015 int i;
   16016 _ACEOF
   16017 if ac_fn_c_try_compile "$LINENO"; then :
   16018   xorg_cv_compiler_flag_unknown_warning_option=yes
   16019 else
   16020   xorg_cv_compiler_flag_unknown_warning_option=no
   16021 fi
   16022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16023 fi
   16024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   16025 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   16026 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   16027 	CFLAGS="$xorg_testset_save_CFLAGS"
   16028 fi
   16029 
   16030 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   16031 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16032 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16033 	fi
   16034 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16035 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   16036 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   16037 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   16038   $as_echo_n "(cached) " >&6
   16039 else
   16040   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16041 /* end confdefs.h.  */
   16042 int i;
   16043 _ACEOF
   16044 if ac_fn_c_try_compile "$LINENO"; then :
   16045   xorg_cv_compiler_flag_unused_command_line_argument=yes
   16046 else
   16047   xorg_cv_compiler_flag_unused_command_line_argument=no
   16048 fi
   16049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16050 fi
   16051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   16052 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   16053 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   16054 	CFLAGS="$xorg_testset_save_CFLAGS"
   16055 fi
   16056 
   16057 found="no"
   16058 
   16059 	if test $found = "no" ; then
   16060 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16061 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16062 		fi
   16063 
   16064 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16065 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16066 		fi
   16067 
   16068 		CFLAGS="$CFLAGS -Wreturn-type"
   16069 
   16070 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   16071 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   16072 		cacheid=`$as_echo xorg_cv_cc_flag_-Wreturn-type`
   16073 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   16074   $as_echo_n "(cached) " >&6
   16075 else
   16076   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16077 /* end confdefs.h.  */
   16078 int i;
   16079 int
   16080 main ()
   16081 {
   16082 
   16083   ;
   16084   return 0;
   16085 }
   16086 _ACEOF
   16087 if ac_fn_c_try_link "$LINENO"; then :
   16088   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   16089 else
   16090   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   16091 fi
   16092 rm -f core conftest.err conftest.$ac_objext \
   16093     conftest$ac_exeext conftest.$ac_ext
   16094 fi
   16095 
   16096 
   16097 		CFLAGS="$xorg_testset_save_CFLAGS"
   16098 
   16099 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   16100 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16101 $as_echo "$supported" >&6; }
   16102 		if test "$supported" = "yes" ; then
   16103 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   16104 			found="yes"
   16105 		fi
   16106 	fi
   16107 
   16108 
   16109 
   16110 
   16111 
   16112 
   16113 
   16114 
   16115 
   16116 
   16117 
   16118 
   16119 
   16120 xorg_testset_save_CFLAGS="$CFLAGS"
   16121 
   16122 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   16123 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16124 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   16125 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   16126 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   16127   $as_echo_n "(cached) " >&6
   16128 else
   16129   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16130 /* end confdefs.h.  */
   16131 int i;
   16132 _ACEOF
   16133 if ac_fn_c_try_compile "$LINENO"; then :
   16134   xorg_cv_compiler_flag_unknown_warning_option=yes
   16135 else
   16136   xorg_cv_compiler_flag_unknown_warning_option=no
   16137 fi
   16138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16139 fi
   16140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   16141 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   16142 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   16143 	CFLAGS="$xorg_testset_save_CFLAGS"
   16144 fi
   16145 
   16146 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   16147 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16148 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16149 	fi
   16150 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16151 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   16152 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   16153 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   16154   $as_echo_n "(cached) " >&6
   16155 else
   16156   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16157 /* end confdefs.h.  */
   16158 int i;
   16159 _ACEOF
   16160 if ac_fn_c_try_compile "$LINENO"; then :
   16161   xorg_cv_compiler_flag_unused_command_line_argument=yes
   16162 else
   16163   xorg_cv_compiler_flag_unused_command_line_argument=no
   16164 fi
   16165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16166 fi
   16167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   16168 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   16169 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   16170 	CFLAGS="$xorg_testset_save_CFLAGS"
   16171 fi
   16172 
   16173 found="no"
   16174 
   16175 	if test $found = "no" ; then
   16176 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16177 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16178 		fi
   16179 
   16180 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16181 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16182 		fi
   16183 
   16184 		CFLAGS="$CFLAGS -Wtrigraphs"
   16185 
   16186 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   16187 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   16188 		cacheid=`$as_echo xorg_cv_cc_flag_-Wtrigraphs`
   16189 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   16190   $as_echo_n "(cached) " >&6
   16191 else
   16192   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16193 /* end confdefs.h.  */
   16194 int i;
   16195 int
   16196 main ()
   16197 {
   16198 
   16199   ;
   16200   return 0;
   16201 }
   16202 _ACEOF
   16203 if ac_fn_c_try_link "$LINENO"; then :
   16204   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   16205 else
   16206   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   16207 fi
   16208 rm -f core conftest.err conftest.$ac_objext \
   16209     conftest$ac_exeext conftest.$ac_ext
   16210 fi
   16211 
   16212 
   16213 		CFLAGS="$xorg_testset_save_CFLAGS"
   16214 
   16215 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   16216 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16217 $as_echo "$supported" >&6; }
   16218 		if test "$supported" = "yes" ; then
   16219 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   16220 			found="yes"
   16221 		fi
   16222 	fi
   16223 
   16224 
   16225 
   16226 
   16227 
   16228 
   16229 
   16230 
   16231 
   16232 
   16233 
   16234 
   16235 
   16236 xorg_testset_save_CFLAGS="$CFLAGS"
   16237 
   16238 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   16239 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16240 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   16241 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   16242 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   16243   $as_echo_n "(cached) " >&6
   16244 else
   16245   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16246 /* end confdefs.h.  */
   16247 int i;
   16248 _ACEOF
   16249 if ac_fn_c_try_compile "$LINENO"; then :
   16250   xorg_cv_compiler_flag_unknown_warning_option=yes
   16251 else
   16252   xorg_cv_compiler_flag_unknown_warning_option=no
   16253 fi
   16254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16255 fi
   16256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   16257 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   16258 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   16259 	CFLAGS="$xorg_testset_save_CFLAGS"
   16260 fi
   16261 
   16262 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   16263 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16264 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16265 	fi
   16266 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16267 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   16268 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   16269 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   16270   $as_echo_n "(cached) " >&6
   16271 else
   16272   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16273 /* end confdefs.h.  */
   16274 int i;
   16275 _ACEOF
   16276 if ac_fn_c_try_compile "$LINENO"; then :
   16277   xorg_cv_compiler_flag_unused_command_line_argument=yes
   16278 else
   16279   xorg_cv_compiler_flag_unused_command_line_argument=no
   16280 fi
   16281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16282 fi
   16283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   16284 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   16285 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   16286 	CFLAGS="$xorg_testset_save_CFLAGS"
   16287 fi
   16288 
   16289 found="no"
   16290 
   16291 	if test $found = "no" ; then
   16292 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16293 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16294 		fi
   16295 
   16296 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16297 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16298 		fi
   16299 
   16300 		CFLAGS="$CFLAGS -Warray-bounds"
   16301 
   16302 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   16303 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   16304 		cacheid=`$as_echo xorg_cv_cc_flag_-Warray-bounds`
   16305 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   16306   $as_echo_n "(cached) " >&6
   16307 else
   16308   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16309 /* end confdefs.h.  */
   16310 int i;
   16311 int
   16312 main ()
   16313 {
   16314 
   16315   ;
   16316   return 0;
   16317 }
   16318 _ACEOF
   16319 if ac_fn_c_try_link "$LINENO"; then :
   16320   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   16321 else
   16322   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   16323 fi
   16324 rm -f core conftest.err conftest.$ac_objext \
   16325     conftest$ac_exeext conftest.$ac_ext
   16326 fi
   16327 
   16328 
   16329 		CFLAGS="$xorg_testset_save_CFLAGS"
   16330 
   16331 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   16332 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16333 $as_echo "$supported" >&6; }
   16334 		if test "$supported" = "yes" ; then
   16335 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   16336 			found="yes"
   16337 		fi
   16338 	fi
   16339 
   16340 
   16341 
   16342 
   16343 
   16344 
   16345 
   16346 
   16347 
   16348 
   16349 
   16350 
   16351 
   16352 xorg_testset_save_CFLAGS="$CFLAGS"
   16353 
   16354 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   16355 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16356 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   16357 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   16358 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   16359   $as_echo_n "(cached) " >&6
   16360 else
   16361   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16362 /* end confdefs.h.  */
   16363 int i;
   16364 _ACEOF
   16365 if ac_fn_c_try_compile "$LINENO"; then :
   16366   xorg_cv_compiler_flag_unknown_warning_option=yes
   16367 else
   16368   xorg_cv_compiler_flag_unknown_warning_option=no
   16369 fi
   16370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16371 fi
   16372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   16373 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   16374 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   16375 	CFLAGS="$xorg_testset_save_CFLAGS"
   16376 fi
   16377 
   16378 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   16379 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16380 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16381 	fi
   16382 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16383 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   16384 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   16385 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   16386   $as_echo_n "(cached) " >&6
   16387 else
   16388   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16389 /* end confdefs.h.  */
   16390 int i;
   16391 _ACEOF
   16392 if ac_fn_c_try_compile "$LINENO"; then :
   16393   xorg_cv_compiler_flag_unused_command_line_argument=yes
   16394 else
   16395   xorg_cv_compiler_flag_unused_command_line_argument=no
   16396 fi
   16397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16398 fi
   16399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   16400 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   16401 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   16402 	CFLAGS="$xorg_testset_save_CFLAGS"
   16403 fi
   16404 
   16405 found="no"
   16406 
   16407 	if test $found = "no" ; then
   16408 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16409 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16410 		fi
   16411 
   16412 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16413 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16414 		fi
   16415 
   16416 		CFLAGS="$CFLAGS -Wwrite-strings"
   16417 
   16418 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   16419 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   16420 		cacheid=`$as_echo xorg_cv_cc_flag_-Wwrite-strings`
   16421 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   16422   $as_echo_n "(cached) " >&6
   16423 else
   16424   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16425 /* end confdefs.h.  */
   16426 int i;
   16427 int
   16428 main ()
   16429 {
   16430 
   16431   ;
   16432   return 0;
   16433 }
   16434 _ACEOF
   16435 if ac_fn_c_try_link "$LINENO"; then :
   16436   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   16437 else
   16438   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   16439 fi
   16440 rm -f core conftest.err conftest.$ac_objext \
   16441     conftest$ac_exeext conftest.$ac_ext
   16442 fi
   16443 
   16444 
   16445 		CFLAGS="$xorg_testset_save_CFLAGS"
   16446 
   16447 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   16448 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16449 $as_echo "$supported" >&6; }
   16450 		if test "$supported" = "yes" ; then
   16451 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   16452 			found="yes"
   16453 		fi
   16454 	fi
   16455 
   16456 
   16457 
   16458 
   16459 
   16460 
   16461 
   16462 
   16463 
   16464 
   16465 
   16466 
   16467 
   16468 xorg_testset_save_CFLAGS="$CFLAGS"
   16469 
   16470 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   16471 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16472 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   16473 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   16474 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   16475   $as_echo_n "(cached) " >&6
   16476 else
   16477   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16478 /* end confdefs.h.  */
   16479 int i;
   16480 _ACEOF
   16481 if ac_fn_c_try_compile "$LINENO"; then :
   16482   xorg_cv_compiler_flag_unknown_warning_option=yes
   16483 else
   16484   xorg_cv_compiler_flag_unknown_warning_option=no
   16485 fi
   16486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16487 fi
   16488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   16489 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   16490 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   16491 	CFLAGS="$xorg_testset_save_CFLAGS"
   16492 fi
   16493 
   16494 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   16495 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16496 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16497 	fi
   16498 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16499 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   16500 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   16501 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   16502   $as_echo_n "(cached) " >&6
   16503 else
   16504   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16505 /* end confdefs.h.  */
   16506 int i;
   16507 _ACEOF
   16508 if ac_fn_c_try_compile "$LINENO"; then :
   16509   xorg_cv_compiler_flag_unused_command_line_argument=yes
   16510 else
   16511   xorg_cv_compiler_flag_unused_command_line_argument=no
   16512 fi
   16513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16514 fi
   16515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   16516 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   16517 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   16518 	CFLAGS="$xorg_testset_save_CFLAGS"
   16519 fi
   16520 
   16521 found="no"
   16522 
   16523 	if test $found = "no" ; then
   16524 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16525 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16526 		fi
   16527 
   16528 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16529 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16530 		fi
   16531 
   16532 		CFLAGS="$CFLAGS -Waddress"
   16533 
   16534 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   16535 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   16536 		cacheid=`$as_echo xorg_cv_cc_flag_-Waddress`
   16537 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   16538   $as_echo_n "(cached) " >&6
   16539 else
   16540   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16541 /* end confdefs.h.  */
   16542 int i;
   16543 int
   16544 main ()
   16545 {
   16546 
   16547   ;
   16548   return 0;
   16549 }
   16550 _ACEOF
   16551 if ac_fn_c_try_link "$LINENO"; then :
   16552   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   16553 else
   16554   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   16555 fi
   16556 rm -f core conftest.err conftest.$ac_objext \
   16557     conftest$ac_exeext conftest.$ac_ext
   16558 fi
   16559 
   16560 
   16561 		CFLAGS="$xorg_testset_save_CFLAGS"
   16562 
   16563 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   16564 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16565 $as_echo "$supported" >&6; }
   16566 		if test "$supported" = "yes" ; then
   16567 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   16568 			found="yes"
   16569 		fi
   16570 	fi
   16571 
   16572 
   16573 
   16574 
   16575 
   16576 
   16577 
   16578 
   16579 
   16580 
   16581 
   16582 
   16583 
   16584 xorg_testset_save_CFLAGS="$CFLAGS"
   16585 
   16586 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   16587 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16588 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   16589 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   16590 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   16591   $as_echo_n "(cached) " >&6
   16592 else
   16593   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16594 /* end confdefs.h.  */
   16595 int i;
   16596 _ACEOF
   16597 if ac_fn_c_try_compile "$LINENO"; then :
   16598   xorg_cv_compiler_flag_unknown_warning_option=yes
   16599 else
   16600   xorg_cv_compiler_flag_unknown_warning_option=no
   16601 fi
   16602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16603 fi
   16604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   16605 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   16606 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   16607 	CFLAGS="$xorg_testset_save_CFLAGS"
   16608 fi
   16609 
   16610 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   16611 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16612 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16613 	fi
   16614 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16615 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   16616 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   16617 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} 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_compiler_flag_unused_command_line_argument=yes
   16626 else
   16627   xorg_cv_compiler_flag_unused_command_line_argument=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_compiler_flag_unused_command_line_argument" >&5
   16632 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   16633 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   16634 	CFLAGS="$xorg_testset_save_CFLAGS"
   16635 fi
   16636 
   16637 found="no"
   16638 
   16639 	if test $found = "no" ; then
   16640 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16641 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16642 		fi
   16643 
   16644 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16645 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16646 		fi
   16647 
   16648 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   16649 
   16650 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   16651 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   16652 		cacheid=`$as_echo xorg_cv_cc_flag_-Wint-to-pointer-cast`
   16653 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   16654   $as_echo_n "(cached) " >&6
   16655 else
   16656   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16657 /* end confdefs.h.  */
   16658 int i;
   16659 int
   16660 main ()
   16661 {
   16662 
   16663   ;
   16664   return 0;
   16665 }
   16666 _ACEOF
   16667 if ac_fn_c_try_link "$LINENO"; then :
   16668   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   16669 else
   16670   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   16671 fi
   16672 rm -f core conftest.err conftest.$ac_objext \
   16673     conftest$ac_exeext conftest.$ac_ext
   16674 fi
   16675 
   16676 
   16677 		CFLAGS="$xorg_testset_save_CFLAGS"
   16678 
   16679 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   16680 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16681 $as_echo "$supported" >&6; }
   16682 		if test "$supported" = "yes" ; then
   16683 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   16684 			found="yes"
   16685 		fi
   16686 	fi
   16687 
   16688 
   16689 
   16690 
   16691 
   16692 
   16693 
   16694 
   16695 
   16696 
   16697 
   16698 
   16699 
   16700 xorg_testset_save_CFLAGS="$CFLAGS"
   16701 
   16702 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   16703 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16704 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   16705 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   16706 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   16707   $as_echo_n "(cached) " >&6
   16708 else
   16709   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16710 /* end confdefs.h.  */
   16711 int i;
   16712 _ACEOF
   16713 if ac_fn_c_try_compile "$LINENO"; then :
   16714   xorg_cv_compiler_flag_unknown_warning_option=yes
   16715 else
   16716   xorg_cv_compiler_flag_unknown_warning_option=no
   16717 fi
   16718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16719 fi
   16720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   16721 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   16722 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   16723 	CFLAGS="$xorg_testset_save_CFLAGS"
   16724 fi
   16725 
   16726 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   16727 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16728 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16729 	fi
   16730 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16731 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   16732 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   16733 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   16734   $as_echo_n "(cached) " >&6
   16735 else
   16736   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16737 /* end confdefs.h.  */
   16738 int i;
   16739 _ACEOF
   16740 if ac_fn_c_try_compile "$LINENO"; then :
   16741   xorg_cv_compiler_flag_unused_command_line_argument=yes
   16742 else
   16743   xorg_cv_compiler_flag_unused_command_line_argument=no
   16744 fi
   16745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16746 fi
   16747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   16748 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   16749 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   16750 	CFLAGS="$xorg_testset_save_CFLAGS"
   16751 fi
   16752 
   16753 found="no"
   16754 
   16755 	if test $found = "no" ; then
   16756 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16757 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16758 		fi
   16759 
   16760 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16761 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16762 		fi
   16763 
   16764 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   16765 
   16766 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   16767 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   16768 		cacheid=`$as_echo xorg_cv_cc_flag_-Wpointer-to-int-cast`
   16769 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   16770   $as_echo_n "(cached) " >&6
   16771 else
   16772   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16773 /* end confdefs.h.  */
   16774 int i;
   16775 int
   16776 main ()
   16777 {
   16778 
   16779   ;
   16780   return 0;
   16781 }
   16782 _ACEOF
   16783 if ac_fn_c_try_link "$LINENO"; then :
   16784   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   16785 else
   16786   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   16787 fi
   16788 rm -f core conftest.err conftest.$ac_objext \
   16789     conftest$ac_exeext conftest.$ac_ext
   16790 fi
   16791 
   16792 
   16793 		CFLAGS="$xorg_testset_save_CFLAGS"
   16794 
   16795 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   16796 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16797 $as_echo "$supported" >&6; }
   16798 		if test "$supported" = "yes" ; then
   16799 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   16800 			found="yes"
   16801 		fi
   16802 	fi
   16803 
   16804 
   16805 fi
   16806 
   16807 
   16808 
   16809 
   16810 
   16811 
   16812 
   16813 		CWARNFLAGS="$BASE_CFLAGS"
   16814 		if  test "x$GCC" = xyes ; then
   16815 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   16816 		fi
   16817 
   16818 
   16819 
   16820 
   16821 
   16822 
   16823 
   16824 
   16825 # Check whether --enable-strict-compilation was given.
   16826 if test "${enable_strict_compilation+set}" = set; then :
   16827   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   16828 else
   16829   STRICT_COMPILE=no
   16830 fi
   16831 
   16832 
   16833 
   16834 
   16835 
   16836 
   16837 STRICT_CFLAGS=""
   16838 
   16839 
   16840 
   16841 
   16842 
   16843 
   16844 
   16845 
   16846 
   16847 
   16848 
   16849 xorg_testset_save_CFLAGS="$CFLAGS"
   16850 
   16851 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   16852 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16853 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   16854 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   16855 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   16856   $as_echo_n "(cached) " >&6
   16857 else
   16858   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16859 /* end confdefs.h.  */
   16860 int i;
   16861 _ACEOF
   16862 if ac_fn_c_try_compile "$LINENO"; then :
   16863   xorg_cv_compiler_flag_unknown_warning_option=yes
   16864 else
   16865   xorg_cv_compiler_flag_unknown_warning_option=no
   16866 fi
   16867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16868 fi
   16869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   16870 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   16871 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   16872 	CFLAGS="$xorg_testset_save_CFLAGS"
   16873 fi
   16874 
   16875 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   16876 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16877 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16878 	fi
   16879 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16880 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   16881 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   16882 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   16883   $as_echo_n "(cached) " >&6
   16884 else
   16885   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16886 /* end confdefs.h.  */
   16887 int i;
   16888 _ACEOF
   16889 if ac_fn_c_try_compile "$LINENO"; then :
   16890   xorg_cv_compiler_flag_unused_command_line_argument=yes
   16891 else
   16892   xorg_cv_compiler_flag_unused_command_line_argument=no
   16893 fi
   16894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16895 fi
   16896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   16897 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   16898 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   16899 	CFLAGS="$xorg_testset_save_CFLAGS"
   16900 fi
   16901 
   16902 found="no"
   16903 
   16904 	if test $found = "no" ; then
   16905 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16906 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16907 		fi
   16908 
   16909 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16910 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16911 		fi
   16912 
   16913 		CFLAGS="$CFLAGS -pedantic"
   16914 
   16915 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   16916 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   16917 		cacheid=`$as_echo xorg_cv_cc_flag_-pedantic`
   16918 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   16919   $as_echo_n "(cached) " >&6
   16920 else
   16921   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16922 /* end confdefs.h.  */
   16923 int i;
   16924 int
   16925 main ()
   16926 {
   16927 
   16928   ;
   16929   return 0;
   16930 }
   16931 _ACEOF
   16932 if ac_fn_c_try_link "$LINENO"; then :
   16933   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   16934 else
   16935   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   16936 fi
   16937 rm -f core conftest.err conftest.$ac_objext \
   16938     conftest$ac_exeext conftest.$ac_ext
   16939 fi
   16940 
   16941 
   16942 		CFLAGS="$xorg_testset_save_CFLAGS"
   16943 
   16944 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   16945 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16946 $as_echo "$supported" >&6; }
   16947 		if test "$supported" = "yes" ; then
   16948 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   16949 			found="yes"
   16950 		fi
   16951 	fi
   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_unknown_warning_option" = "x" ; then
   16968 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16969 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   16970 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   16971 if ${xorg_cv_compiler_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_compiler_flag_unknown_warning_option=yes
   16980 else
   16981   xorg_cv_compiler_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_compiler_flag_unknown_warning_option" >&5
   16986 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   16987 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   16988 	CFLAGS="$xorg_testset_save_CFLAGS"
   16989 fi
   16990 
   16991 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   16992 	if test "x$xorg_testset_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 compiler supports -Werror=unused-command-line-argument" >&5
   16997 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   16998 if ${xorg_cv_compiler_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_compiler_flag_unused_command_line_argument=yes
   17007 else
   17008   xorg_cv_compiler_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_compiler_flag_unused_command_line_argument" >&5
   17013 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   17014 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_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 -Werror"
   17030 
   17031 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   17032 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   17033 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror`
   17034 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} 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 `$as_echo "$cacheid" | $as_tr_sh`=yes
   17050 else
   17051   eval `$as_echo "$cacheid" | $as_tr_sh`=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=$`$as_echo "$cacheid" | $as_tr_sh`
   17061 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17062 $as_echo "$supported" >&6; }
   17063 		if test "$supported" = "yes" ; then
   17064 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   17065 			found="yes"
   17066 		fi
   17067 	fi
   17068 
   17069 	if test $found = "no" ; then
   17070 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17071 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17072 		fi
   17073 
   17074 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17075 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17076 		fi
   17077 
   17078 		CFLAGS="$CFLAGS -errwarn"
   17079 
   17080 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   17081 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   17082 		cacheid=`$as_echo xorg_cv_cc_flag_-errwarn`
   17083 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   17084   $as_echo_n "(cached) " >&6
   17085 else
   17086   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17087 /* end confdefs.h.  */
   17088 int i;
   17089 int
   17090 main ()
   17091 {
   17092 
   17093   ;
   17094   return 0;
   17095 }
   17096 _ACEOF
   17097 if ac_fn_c_try_link "$LINENO"; then :
   17098   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   17099 else
   17100   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   17101 fi
   17102 rm -f core conftest.err conftest.$ac_objext \
   17103     conftest$ac_exeext conftest.$ac_ext
   17104 fi
   17105 
   17106 
   17107 		CFLAGS="$xorg_testset_save_CFLAGS"
   17108 
   17109 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   17110 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17111 $as_echo "$supported" >&6; }
   17112 		if test "$supported" = "yes" ; then
   17113 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   17114 			found="yes"
   17115 		fi
   17116 	fi
   17117 
   17118 
   17119 
   17120 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   17121 # activate it with -Werror, so we add it here explicitly.
   17122 
   17123 
   17124 
   17125 
   17126 
   17127 
   17128 
   17129 
   17130 
   17131 
   17132 
   17133 xorg_testset_save_CFLAGS="$CFLAGS"
   17134 
   17135 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   17136 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17137 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   17138 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   17139 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   17140   $as_echo_n "(cached) " >&6
   17141 else
   17142   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17143 /* end confdefs.h.  */
   17144 int i;
   17145 _ACEOF
   17146 if ac_fn_c_try_compile "$LINENO"; then :
   17147   xorg_cv_compiler_flag_unknown_warning_option=yes
   17148 else
   17149   xorg_cv_compiler_flag_unknown_warning_option=no
   17150 fi
   17151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17152 fi
   17153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   17154 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   17155 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   17156 	CFLAGS="$xorg_testset_save_CFLAGS"
   17157 fi
   17158 
   17159 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   17160 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17161 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17162 	fi
   17163 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17164 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   17165 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   17166 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   17167   $as_echo_n "(cached) " >&6
   17168 else
   17169   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17170 /* end confdefs.h.  */
   17171 int i;
   17172 _ACEOF
   17173 if ac_fn_c_try_compile "$LINENO"; then :
   17174   xorg_cv_compiler_flag_unused_command_line_argument=yes
   17175 else
   17176   xorg_cv_compiler_flag_unused_command_line_argument=no
   17177 fi
   17178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17179 fi
   17180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   17181 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   17182 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   17183 	CFLAGS="$xorg_testset_save_CFLAGS"
   17184 fi
   17185 
   17186 found="no"
   17187 
   17188 	if test $found = "no" ; then
   17189 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17190 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17191 		fi
   17192 
   17193 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17194 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17195 		fi
   17196 
   17197 		CFLAGS="$CFLAGS -Werror=attributes"
   17198 
   17199 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   17200 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   17201 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=attributes`
   17202 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   17203   $as_echo_n "(cached) " >&6
   17204 else
   17205   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17206 /* end confdefs.h.  */
   17207 int i;
   17208 int
   17209 main ()
   17210 {
   17211 
   17212   ;
   17213   return 0;
   17214 }
   17215 _ACEOF
   17216 if ac_fn_c_try_link "$LINENO"; then :
   17217   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   17218 else
   17219   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   17220 fi
   17221 rm -f core conftest.err conftest.$ac_objext \
   17222     conftest$ac_exeext conftest.$ac_ext
   17223 fi
   17224 
   17225 
   17226 		CFLAGS="$xorg_testset_save_CFLAGS"
   17227 
   17228 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   17229 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17230 $as_echo "$supported" >&6; }
   17231 		if test "$supported" = "yes" ; then
   17232 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   17233 			found="yes"
   17234 		fi
   17235 	fi
   17236 
   17237 
   17238 
   17239 if test "x$STRICT_COMPILE" = "xyes"; then
   17240     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   17241     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   17242 fi
   17243 
   17244 
   17245 
   17246 
   17247 
   17248 
   17249 cat >>confdefs.h <<_ACEOF
   17250 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   17251 _ACEOF
   17252 
   17253 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   17254 	if test "x$PVM" = "x"; then
   17255 		PVM="0"
   17256 	fi
   17257 
   17258 cat >>confdefs.h <<_ACEOF
   17259 #define PACKAGE_VERSION_MINOR $PVM
   17260 _ACEOF
   17261 
   17262 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   17263 	if test "x$PVP" = "x"; then
   17264 		PVP="0"
   17265 	fi
   17266 
   17267 cat >>confdefs.h <<_ACEOF
   17268 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   17269 _ACEOF
   17270 
   17271 
   17272 
   17273 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   17274 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   17275 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   17276 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   17277 
   17278 
   17279 
   17280 
   17281 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   17282 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   17283 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   17284 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   17285 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   17286 
   17287 
   17288 
   17289 
   17290 
   17291 
   17292 if test x$APP_MAN_SUFFIX = x    ; then
   17293     APP_MAN_SUFFIX=1
   17294 fi
   17295 if test x$APP_MAN_DIR = x    ; then
   17296     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   17297 fi
   17298 
   17299 if test x$LIB_MAN_SUFFIX = x    ; then
   17300     LIB_MAN_SUFFIX=3
   17301 fi
   17302 if test x$LIB_MAN_DIR = x    ; then
   17303     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   17304 fi
   17305 
   17306 if test x$FILE_MAN_SUFFIX = x    ; then
   17307     case $host_os in
   17308 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   17309 	*)		FILE_MAN_SUFFIX=5  ;;
   17310     esac
   17311 fi
   17312 if test x$FILE_MAN_DIR = x    ; then
   17313     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   17314 fi
   17315 
   17316 if test x$MISC_MAN_SUFFIX = x    ; then
   17317     case $host_os in
   17318 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   17319 	*)		MISC_MAN_SUFFIX=7  ;;
   17320     esac
   17321 fi
   17322 if test x$MISC_MAN_DIR = x    ; then
   17323     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   17324 fi
   17325 
   17326 if test x$DRIVER_MAN_SUFFIX = x    ; then
   17327     case $host_os in
   17328 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   17329 	*)		DRIVER_MAN_SUFFIX=4  ;;
   17330     esac
   17331 fi
   17332 if test x$DRIVER_MAN_DIR = x    ; then
   17333     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   17334 fi
   17335 
   17336 if test x$ADMIN_MAN_SUFFIX = x    ; then
   17337     case $host_os in
   17338 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   17339 	*)		ADMIN_MAN_SUFFIX=8  ;;
   17340     esac
   17341 fi
   17342 if test x$ADMIN_MAN_DIR = x    ; then
   17343     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   17344 fi
   17345 
   17346 
   17347 
   17348 
   17349 
   17350 
   17351 
   17352 
   17353 
   17354 
   17355 
   17356 
   17357 
   17358 
   17359 
   17360 XORG_MAN_PAGE="X Version 11"
   17361 
   17362 MAN_SUBSTS="\
   17363 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   17364 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   17365 	-e 's|__xservername__|Xorg|g' \
   17366 	-e 's|__xconfigfile__|xorg.conf|g' \
   17367 	-e 's|__projectroot__|\$(prefix)|g' \
   17368 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   17369 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   17370 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   17371 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   17372 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   17373 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   17374 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   17375 
   17376 
   17377 
   17378 # Check whether --enable-silent-rules was given.
   17379 if test "${enable_silent_rules+set}" = set; then :
   17380   enableval=$enable_silent_rules;
   17381 fi
   17382 
   17383 case $enable_silent_rules in
   17384 yes) AM_DEFAULT_VERBOSITY=0;;
   17385 no)  AM_DEFAULT_VERBOSITY=1;;
   17386 *)   AM_DEFAULT_VERBOSITY=0;;
   17387 esac
   17388 AM_BACKSLASH='\'
   17389 
   17390 
   17391 
   17392 # Check whether --enable-malloc0returnsnull was given.
   17393 if test "${enable_malloc0returnsnull+set}" = set; then :
   17394   enableval=$enable_malloc0returnsnull; MALLOC_ZERO_RETURNS_NULL=$enableval
   17395 else
   17396   MALLOC_ZERO_RETURNS_NULL=auto
   17397 fi
   17398 
   17399 
   17400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether malloc(0) returns NULL" >&5
   17401 $as_echo_n "checking whether malloc(0) returns NULL... " >&6; }
   17402 if test "x$MALLOC_ZERO_RETURNS_NULL" = xauto; then
   17403 	if test "$cross_compiling" = yes; then :
   17404   MALLOC_ZERO_RETURNS_NULL=yes
   17405 else
   17406   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17407 /* end confdefs.h.  */
   17408 
   17409 #include <stdlib.h>
   17410 
   17411 int
   17412 main ()
   17413 {
   17414 
   17415     char *m0, *r0, *c0, *p;
   17416     m0 = malloc(0);
   17417     p = malloc(10);
   17418     r0 = realloc(p,0);
   17419     c0 = calloc(0,10);
   17420     exit((m0 == 0 || r0 == 0 || c0 == 0) ? 0 : 1);
   17421 
   17422   ;
   17423   return 0;
   17424 }
   17425 _ACEOF
   17426 if ac_fn_c_try_run "$LINENO"; then :
   17427   MALLOC_ZERO_RETURNS_NULL=yes
   17428 else
   17429   MALLOC_ZERO_RETURNS_NULL=no
   17430 fi
   17431 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   17432   conftest.$ac_objext conftest.beam conftest.$ac_ext
   17433 fi
   17434 
   17435 fi
   17436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MALLOC_ZERO_RETURNS_NULL" >&5
   17437 $as_echo "$MALLOC_ZERO_RETURNS_NULL" >&6; }
   17438 
   17439 if test "x$MALLOC_ZERO_RETURNS_NULL" = xyes; then
   17440 	MALLOC_ZERO_CFLAGS="-DMALLOC_0_RETURNS_NULL"
   17441 	XMALLOC_ZERO_CFLAGS=$MALLOC_ZERO_CFLAGS
   17442 	XTMALLOC_ZERO_CFLAGS="$MALLOC_ZERO_CFLAGS -DXTMALLOC_BC"
   17443 else
   17444 	MALLOC_ZERO_CFLAGS=""
   17445 	XMALLOC_ZERO_CFLAGS=""
   17446 	XTMALLOC_ZERO_CFLAGS=""
   17447 fi
   17448 
   17449 
   17450 
   17451 
   17452 
   17453 
   17454 # Obtain compiler/linker options for depedencies
   17455 
   17456 pkg_failed=no
   17457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XSCRNSAVER" >&5
   17458 $as_echo_n "checking for XSCRNSAVER... " >&6; }
   17459 
   17460 if test -n "$XSCRNSAVER_CFLAGS"; then
   17461     pkg_cv_XSCRNSAVER_CFLAGS="$XSCRNSAVER_CFLAGS"
   17462  elif test -n "$PKG_CONFIG"; then
   17463     if test -n "$PKG_CONFIG" && \
   17464     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xext xextproto scrnsaverproto >= 1.2\""; } >&5
   17465   ($PKG_CONFIG --exists --print-errors "x11 xext xextproto scrnsaverproto >= 1.2") 2>&5
   17466   ac_status=$?
   17467   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17468   test $ac_status = 0; }; then
   17469   pkg_cv_XSCRNSAVER_CFLAGS=`$PKG_CONFIG --cflags "x11 xext xextproto scrnsaverproto >= 1.2" 2>/dev/null`
   17470 else
   17471   pkg_failed=yes
   17472 fi
   17473  else
   17474     pkg_failed=untried
   17475 fi
   17476 if test -n "$XSCRNSAVER_LIBS"; then
   17477     pkg_cv_XSCRNSAVER_LIBS="$XSCRNSAVER_LIBS"
   17478  elif test -n "$PKG_CONFIG"; then
   17479     if test -n "$PKG_CONFIG" && \
   17480     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xext xextproto scrnsaverproto >= 1.2\""; } >&5
   17481   ($PKG_CONFIG --exists --print-errors "x11 xext xextproto scrnsaverproto >= 1.2") 2>&5
   17482   ac_status=$?
   17483   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17484   test $ac_status = 0; }; then
   17485   pkg_cv_XSCRNSAVER_LIBS=`$PKG_CONFIG --libs "x11 xext xextproto scrnsaverproto >= 1.2" 2>/dev/null`
   17486 else
   17487   pkg_failed=yes
   17488 fi
   17489  else
   17490     pkg_failed=untried
   17491 fi
   17492 
   17493 
   17494 
   17495 if test $pkg_failed = yes; then
   17496 
   17497 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   17498         _pkg_short_errors_supported=yes
   17499 else
   17500         _pkg_short_errors_supported=no
   17501 fi
   17502         if test $_pkg_short_errors_supported = yes; then
   17503 	        XSCRNSAVER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11 xext xextproto scrnsaverproto >= 1.2" 2>&1`
   17504         else
   17505 	        XSCRNSAVER_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11 xext xextproto scrnsaverproto >= 1.2" 2>&1`
   17506         fi
   17507 	# Put the nasty error message in config.log where it belongs
   17508 	echo "$XSCRNSAVER_PKG_ERRORS" >&5
   17509 
   17510 	as_fn_error $? "Package requirements (x11 xext xextproto scrnsaverproto >= 1.2) were not met:
   17511 
   17512 $XSCRNSAVER_PKG_ERRORS
   17513 
   17514 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   17515 installed software in a non-standard prefix.
   17516 
   17517 Alternatively, you may set the environment variables XSCRNSAVER_CFLAGS
   17518 and XSCRNSAVER_LIBS to avoid the need to call pkg-config.
   17519 See the pkg-config man page for more details.
   17520 " "$LINENO" 5
   17521 elif test $pkg_failed = untried; then
   17522 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   17523 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   17524 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   17525 is in your PATH or set the PKG_CONFIG environment variable to the full
   17526 path to pkg-config.
   17527 
   17528 Alternatively, you may set the environment variables XSCRNSAVER_CFLAGS
   17529 and XSCRNSAVER_LIBS to avoid the need to call pkg-config.
   17530 See the pkg-config man page for more details.
   17531 
   17532 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   17533 See \`config.log' for more details" "$LINENO" 5; }
   17534 else
   17535 	XSCRNSAVER_CFLAGS=$pkg_cv_XSCRNSAVER_CFLAGS
   17536 	XSCRNSAVER_LIBS=$pkg_cv_XSCRNSAVER_LIBS
   17537         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17538 $as_echo "yes" >&6; }
   17539 	:
   17540 fi
   17541 
   17542 # Allow checking code with lint, sparse, etc.
   17543 
   17544 
   17545 
   17546 
   17547 
   17548 # Check whether --with-lint was given.
   17549 if test "${with_lint+set}" = set; then :
   17550   withval=$with_lint; use_lint=$withval
   17551 else
   17552   use_lint=no
   17553 fi
   17554 
   17555 
   17556 # Obtain platform specific info like program name and options
   17557 # The lint program on FreeBSD and NetBSD is different from the one on Solaris
   17558 case $host_os in
   17559   *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
   17560 	lint_name=splint
   17561 	lint_options="-badflag"
   17562 	;;
   17563   *freebsd* | *netbsd*)
   17564 	lint_name=lint
   17565 	lint_options="-u -b"
   17566 	;;
   17567   *solaris*)
   17568 	lint_name=lint
   17569 	lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   17570 	;;
   17571 esac
   17572 
   17573 # Test for the presence of the program (either guessed by the code or spelled out by the user)
   17574 if test "x$use_lint" = x"yes" ; then
   17575    # Extract the first word of "$lint_name", so it can be a program name with args.
   17576 set dummy $lint_name; ac_word=$2
   17577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17578 $as_echo_n "checking for $ac_word... " >&6; }
   17579 if ${ac_cv_path_LINT+:} false; then :
   17580   $as_echo_n "(cached) " >&6
   17581 else
   17582   case $LINT in
   17583   [\\/]* | ?:[\\/]*)
   17584   ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
   17585   ;;
   17586   *)
   17587   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17588 for as_dir in $PATH
   17589 do
   17590   IFS=$as_save_IFS
   17591   test -z "$as_dir" && as_dir=.
   17592     for ac_exec_ext in '' $ac_executable_extensions; do
   17593   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   17594     ac_cv_path_LINT="$as_dir/$ac_word$ac_exec_ext"
   17595     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   17596     break 2
   17597   fi
   17598 done
   17599   done
   17600 IFS=$as_save_IFS
   17601 
   17602   ;;
   17603 esac
   17604 fi
   17605 LINT=$ac_cv_path_LINT
   17606 if test -n "$LINT"; then
   17607   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
   17608 $as_echo "$LINT" >&6; }
   17609 else
   17610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17611 $as_echo "no" >&6; }
   17612 fi
   17613 
   17614 
   17615    if test "x$LINT" = "x"; then
   17616         as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
   17617    fi
   17618 elif test "x$use_lint" = x"no" ; then
   17619    if test "x$LINT" != "x"; then
   17620       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
   17621 $as_echo "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
   17622    fi
   17623 else
   17624    as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
   17625 fi
   17626 
   17627 # User supplied flags override default flags
   17628 if test "x$LINT_FLAGS" != "x"; then
   17629    lint_options=$LINT_FLAGS
   17630 fi
   17631 
   17632 LINT_FLAGS=$lint_options
   17633 
   17634  if test "x$LINT" != x; then
   17635   LINT_TRUE=
   17636   LINT_FALSE='#'
   17637 else
   17638   LINT_TRUE='#'
   17639   LINT_FALSE=
   17640 fi
   17641 
   17642 
   17643 
   17644 
   17645 
   17646 # Check whether --enable-lint-library was given.
   17647 if test "${enable_lint_library+set}" = set; then :
   17648   enableval=$enable_lint_library; make_lint_lib=$enableval
   17649 else
   17650   make_lint_lib=no
   17651 fi
   17652 
   17653 
   17654 if test "x$make_lint_lib" = x"yes" ; then
   17655    LINTLIB=llib-lXss.ln
   17656    if test "x$LINT" = "x"; then
   17657         as_fn_error $? "Cannot make lint library without --with-lint" "$LINENO" 5
   17658    fi
   17659 elif test "x$make_lint_lib" != x"no" ; then
   17660    as_fn_error $? "--enable-lint-library expects 'yes' or 'no'." "$LINENO" 5
   17661 fi
   17662 
   17663 
   17664  if test x$make_lint_lib != xno; then
   17665   MAKE_LINT_LIB_TRUE=
   17666   MAKE_LINT_LIB_FALSE='#'
   17667 else
   17668   MAKE_LINT_LIB_TRUE='#'
   17669   MAKE_LINT_LIB_FALSE=
   17670 fi
   17671 
   17672 
   17673 
   17674 
   17675 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile xscrnsaver.pc"
   17676 
   17677 cat >confcache <<\_ACEOF
   17678 # This file is a shell script that caches the results of configure
   17679 # tests run on this system so they can be shared between configure
   17680 # scripts and configure runs, see configure's option --config-cache.
   17681 # It is not useful on other systems.  If it contains results you don't
   17682 # want to keep, you may remove or edit it.
   17683 #
   17684 # config.status only pays attention to the cache file if you give it
   17685 # the --recheck option to rerun configure.
   17686 #
   17687 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   17688 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   17689 # following values.
   17690 
   17691 _ACEOF
   17692 
   17693 # The following way of writing the cache mishandles newlines in values,
   17694 # but we know of no workaround that is simple, portable, and efficient.
   17695 # So, we kill variables containing newlines.
   17696 # Ultrix sh set writes to stderr and can't be redirected directly,
   17697 # and sets the high bit in the cache file unless we assign to the vars.
   17698 (
   17699   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   17700     eval ac_val=\$$ac_var
   17701     case $ac_val in #(
   17702     *${as_nl}*)
   17703       case $ac_var in #(
   17704       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   17705 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   17706       esac
   17707       case $ac_var in #(
   17708       _ | IFS | as_nl) ;; #(
   17709       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   17710       *) { eval $ac_var=; unset $ac_var;} ;;
   17711       esac ;;
   17712     esac
   17713   done
   17714 
   17715   (set) 2>&1 |
   17716     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   17717     *${as_nl}ac_space=\ *)
   17718       # `set' does not quote correctly, so add quotes: double-quote
   17719       # substitution turns \\\\ into \\, and sed turns \\ into \.
   17720       sed -n \
   17721 	"s/'/'\\\\''/g;
   17722 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   17723       ;; #(
   17724     *)
   17725       # `set' quotes correctly as required by POSIX, so do not add quotes.
   17726       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   17727       ;;
   17728     esac |
   17729     sort
   17730 ) |
   17731   sed '
   17732      /^ac_cv_env_/b end
   17733      t clear
   17734      :clear
   17735      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   17736      t end
   17737      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   17738      :end' >>confcache
   17739 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   17740   if test -w "$cache_file"; then
   17741     if test "x$cache_file" != "x/dev/null"; then
   17742       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   17743 $as_echo "$as_me: updating cache $cache_file" >&6;}
   17744       if test ! -f "$cache_file" || test -h "$cache_file"; then
   17745 	cat confcache >"$cache_file"
   17746       else
   17747         case $cache_file in #(
   17748         */* | ?:*)
   17749 	  mv -f confcache "$cache_file"$$ &&
   17750 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   17751         *)
   17752 	  mv -f confcache "$cache_file" ;;
   17753 	esac
   17754       fi
   17755     fi
   17756   else
   17757     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   17758 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   17759   fi
   17760 fi
   17761 rm -f confcache
   17762 
   17763 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   17764 # Let make expand exec_prefix.
   17765 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   17766 
   17767 DEFS=-DHAVE_CONFIG_H
   17768 
   17769 ac_libobjs=
   17770 ac_ltlibobjs=
   17771 U=
   17772 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   17773   # 1. Remove the extension, and $U if already installed.
   17774   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   17775   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   17776   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   17777   #    will be set to the directory where LIBOBJS objects are built.
   17778   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   17779   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   17780 done
   17781 LIBOBJS=$ac_libobjs
   17782 
   17783 LTLIBOBJS=$ac_ltlibobjs
   17784 
   17785 
   17786  if test -n "$EXEEXT"; then
   17787   am__EXEEXT_TRUE=
   17788   am__EXEEXT_FALSE='#'
   17789 else
   17790   am__EXEEXT_TRUE='#'
   17791   am__EXEEXT_FALSE=
   17792 fi
   17793 
   17794 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   17795   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   17796 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17797 fi
   17798 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   17799   as_fn_error $? "conditional \"AMDEP\" was never defined.
   17800 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17801 fi
   17802 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   17803   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   17804 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17805 fi
   17806 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   17807   as_fn_error $? "conditional \"LINT\" was never defined.
   17808 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17809 fi
   17810 if test -z "${MAKE_LINT_LIB_TRUE}" && test -z "${MAKE_LINT_LIB_FALSE}"; then
   17811   as_fn_error $? "conditional \"MAKE_LINT_LIB\" was never defined.
   17812 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17813 fi
   17814 
   17815 : "${CONFIG_STATUS=./config.status}"
   17816 ac_write_fail=0
   17817 ac_clean_files_save=$ac_clean_files
   17818 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   17819 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   17820 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   17821 as_write_fail=0
   17822 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   17823 #! $SHELL
   17824 # Generated by $as_me.
   17825 # Run this file to recreate the current configuration.
   17826 # Compiler output produced by configure, useful for debugging
   17827 # configure, is in config.log if it exists.
   17828 
   17829 debug=false
   17830 ac_cs_recheck=false
   17831 ac_cs_silent=false
   17832 
   17833 SHELL=\${CONFIG_SHELL-$SHELL}
   17834 export SHELL
   17835 _ASEOF
   17836 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   17837 ## -------------------- ##
   17838 ## M4sh Initialization. ##
   17839 ## -------------------- ##
   17840 
   17841 # Be more Bourne compatible
   17842 DUALCASE=1; export DUALCASE # for MKS sh
   17843 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   17844   emulate sh
   17845   NULLCMD=:
   17846   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   17847   # is contrary to our usage.  Disable this feature.
   17848   alias -g '${1+"$@"}'='"$@"'
   17849   setopt NO_GLOB_SUBST
   17850 else
   17851   case `(set -o) 2>/dev/null` in #(
   17852   *posix*) :
   17853     set -o posix ;; #(
   17854   *) :
   17855      ;;
   17856 esac
   17857 fi
   17858 
   17859 
   17860 as_nl='
   17861 '
   17862 export as_nl
   17863 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   17864 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   17865 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   17866 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   17867 # Prefer a ksh shell builtin over an external printf program on Solaris,
   17868 # but without wasting forks for bash or zsh.
   17869 if test -z "$BASH_VERSION$ZSH_VERSION" \
   17870     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   17871   as_echo='print -r --'
   17872   as_echo_n='print -rn --'
   17873 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   17874   as_echo='printf %s\n'
   17875   as_echo_n='printf %s'
   17876 else
   17877   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   17878     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   17879     as_echo_n='/usr/ucb/echo -n'
   17880   else
   17881     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   17882     as_echo_n_body='eval
   17883       arg=$1;
   17884       case $arg in #(
   17885       *"$as_nl"*)
   17886 	expr "X$arg" : "X\\(.*\\)$as_nl";
   17887 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   17888       esac;
   17889       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   17890     '
   17891     export as_echo_n_body
   17892     as_echo_n='sh -c $as_echo_n_body as_echo'
   17893   fi
   17894   export as_echo_body
   17895   as_echo='sh -c $as_echo_body as_echo'
   17896 fi
   17897 
   17898 # The user is always right.
   17899 if test "${PATH_SEPARATOR+set}" != set; then
   17900   PATH_SEPARATOR=:
   17901   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   17902     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   17903       PATH_SEPARATOR=';'
   17904   }
   17905 fi
   17906 
   17907 
   17908 # IFS
   17909 # We need space, tab and new line, in precisely that order.  Quoting is
   17910 # there to prevent editors from complaining about space-tab.
   17911 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   17912 # splitting by setting IFS to empty value.)
   17913 IFS=" ""	$as_nl"
   17914 
   17915 # Find who we are.  Look in the path if we contain no directory separator.
   17916 as_myself=
   17917 case $0 in #((
   17918   *[\\/]* ) as_myself=$0 ;;
   17919   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17920 for as_dir in $PATH
   17921 do
   17922   IFS=$as_save_IFS
   17923   test -z "$as_dir" && as_dir=.
   17924     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   17925   done
   17926 IFS=$as_save_IFS
   17927 
   17928      ;;
   17929 esac
   17930 # We did not find ourselves, most probably we were run as `sh COMMAND'
   17931 # in which case we are not to be found in the path.
   17932 if test "x$as_myself" = x; then
   17933   as_myself=$0
   17934 fi
   17935 if test ! -f "$as_myself"; then
   17936   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   17937   exit 1
   17938 fi
   17939 
   17940 # Unset variables that we do not need and which cause bugs (e.g. in
   17941 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   17942 # suppresses any "Segmentation fault" message there.  '((' could
   17943 # trigger a bug in pdksh 5.2.14.
   17944 for as_var in BASH_ENV ENV MAIL MAILPATH
   17945 do eval test x\${$as_var+set} = xset \
   17946   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   17947 done
   17948 PS1='$ '
   17949 PS2='> '
   17950 PS4='+ '
   17951 
   17952 # NLS nuisances.
   17953 LC_ALL=C
   17954 export LC_ALL
   17955 LANGUAGE=C
   17956 export LANGUAGE
   17957 
   17958 # CDPATH.
   17959 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   17960 
   17961 
   17962 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   17963 # ----------------------------------------
   17964 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   17965 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   17966 # script with STATUS, using 1 if that was 0.
   17967 as_fn_error ()
   17968 {
   17969   as_status=$1; test $as_status -eq 0 && as_status=1
   17970   if test "$4"; then
   17971     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   17972     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   17973   fi
   17974   $as_echo "$as_me: error: $2" >&2
   17975   as_fn_exit $as_status
   17976 } # as_fn_error
   17977 
   17978 
   17979 # as_fn_set_status STATUS
   17980 # -----------------------
   17981 # Set $? to STATUS, without forking.
   17982 as_fn_set_status ()
   17983 {
   17984   return $1
   17985 } # as_fn_set_status
   17986 
   17987 # as_fn_exit STATUS
   17988 # -----------------
   17989 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   17990 as_fn_exit ()
   17991 {
   17992   set +e
   17993   as_fn_set_status $1
   17994   exit $1
   17995 } # as_fn_exit
   17996 
   17997 # as_fn_unset VAR
   17998 # ---------------
   17999 # Portably unset VAR.
   18000 as_fn_unset ()
   18001 {
   18002   { eval $1=; unset $1;}
   18003 }
   18004 as_unset=as_fn_unset
   18005 # as_fn_append VAR VALUE
   18006 # ----------------------
   18007 # Append the text in VALUE to the end of the definition contained in VAR. Take
   18008 # advantage of any shell optimizations that allow amortized linear growth over
   18009 # repeated appends, instead of the typical quadratic growth present in naive
   18010 # implementations.
   18011 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   18012   eval 'as_fn_append ()
   18013   {
   18014     eval $1+=\$2
   18015   }'
   18016 else
   18017   as_fn_append ()
   18018   {
   18019     eval $1=\$$1\$2
   18020   }
   18021 fi # as_fn_append
   18022 
   18023 # as_fn_arith ARG...
   18024 # ------------------
   18025 # Perform arithmetic evaluation on the ARGs, and store the result in the
   18026 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   18027 # must be portable across $(()) and expr.
   18028 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   18029   eval 'as_fn_arith ()
   18030   {
   18031     as_val=$(( $* ))
   18032   }'
   18033 else
   18034   as_fn_arith ()
   18035   {
   18036     as_val=`expr "$@" || test $? -eq 1`
   18037   }
   18038 fi # as_fn_arith
   18039 
   18040 
   18041 if expr a : '\(a\)' >/dev/null 2>&1 &&
   18042    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   18043   as_expr=expr
   18044 else
   18045   as_expr=false
   18046 fi
   18047 
   18048 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   18049   as_basename=basename
   18050 else
   18051   as_basename=false
   18052 fi
   18053 
   18054 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   18055   as_dirname=dirname
   18056 else
   18057   as_dirname=false
   18058 fi
   18059 
   18060 as_me=`$as_basename -- "$0" ||
   18061 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   18062 	 X"$0" : 'X\(//\)$' \| \
   18063 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   18064 $as_echo X/"$0" |
   18065     sed '/^.*\/\([^/][^/]*\)\/*$/{
   18066 	    s//\1/
   18067 	    q
   18068 	  }
   18069 	  /^X\/\(\/\/\)$/{
   18070 	    s//\1/
   18071 	    q
   18072 	  }
   18073 	  /^X\/\(\/\).*/{
   18074 	    s//\1/
   18075 	    q
   18076 	  }
   18077 	  s/.*/./; q'`
   18078 
   18079 # Avoid depending upon Character Ranges.
   18080 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   18081 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   18082 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   18083 as_cr_digits='0123456789'
   18084 as_cr_alnum=$as_cr_Letters$as_cr_digits
   18085 
   18086 ECHO_C= ECHO_N= ECHO_T=
   18087 case `echo -n x` in #(((((
   18088 -n*)
   18089   case `echo 'xy\c'` in
   18090   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   18091   xy)  ECHO_C='\c';;
   18092   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   18093        ECHO_T='	';;
   18094   esac;;
   18095 *)
   18096   ECHO_N='-n';;
   18097 esac
   18098 
   18099 rm -f conf$$ conf$$.exe conf$$.file
   18100 if test -d conf$$.dir; then
   18101   rm -f conf$$.dir/conf$$.file
   18102 else
   18103   rm -f conf$$.dir
   18104   mkdir conf$$.dir 2>/dev/null
   18105 fi
   18106 if (echo >conf$$.file) 2>/dev/null; then
   18107   if ln -s conf$$.file conf$$ 2>/dev/null; then
   18108     as_ln_s='ln -s'
   18109     # ... but there are two gotchas:
   18110     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   18111     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   18112     # In both cases, we have to default to `cp -p'.
   18113     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   18114       as_ln_s='cp -p'
   18115   elif ln conf$$.file conf$$ 2>/dev/null; then
   18116     as_ln_s=ln
   18117   else
   18118     as_ln_s='cp -p'
   18119   fi
   18120 else
   18121   as_ln_s='cp -p'
   18122 fi
   18123 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   18124 rmdir conf$$.dir 2>/dev/null
   18125 
   18126 
   18127 # as_fn_mkdir_p
   18128 # -------------
   18129 # Create "$as_dir" as a directory, including parents if necessary.
   18130 as_fn_mkdir_p ()
   18131 {
   18132 
   18133   case $as_dir in #(
   18134   -*) as_dir=./$as_dir;;
   18135   esac
   18136   test -d "$as_dir" || eval $as_mkdir_p || {
   18137     as_dirs=
   18138     while :; do
   18139       case $as_dir in #(
   18140       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   18141       *) as_qdir=$as_dir;;
   18142       esac
   18143       as_dirs="'$as_qdir' $as_dirs"
   18144       as_dir=`$as_dirname -- "$as_dir" ||
   18145 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18146 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   18147 	 X"$as_dir" : 'X\(//\)$' \| \
   18148 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   18149 $as_echo X"$as_dir" |
   18150     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18151 	    s//\1/
   18152 	    q
   18153 	  }
   18154 	  /^X\(\/\/\)[^/].*/{
   18155 	    s//\1/
   18156 	    q
   18157 	  }
   18158 	  /^X\(\/\/\)$/{
   18159 	    s//\1/
   18160 	    q
   18161 	  }
   18162 	  /^X\(\/\).*/{
   18163 	    s//\1/
   18164 	    q
   18165 	  }
   18166 	  s/.*/./; q'`
   18167       test -d "$as_dir" && break
   18168     done
   18169     test -z "$as_dirs" || eval "mkdir $as_dirs"
   18170   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   18171 
   18172 
   18173 } # as_fn_mkdir_p
   18174 if mkdir -p . 2>/dev/null; then
   18175   as_mkdir_p='mkdir -p "$as_dir"'
   18176 else
   18177   test -d ./-p && rmdir ./-p
   18178   as_mkdir_p=false
   18179 fi
   18180 
   18181 if test -x / >/dev/null 2>&1; then
   18182   as_test_x='test -x'
   18183 else
   18184   if ls -dL / >/dev/null 2>&1; then
   18185     as_ls_L_option=L
   18186   else
   18187     as_ls_L_option=
   18188   fi
   18189   as_test_x='
   18190     eval sh -c '\''
   18191       if test -d "$1"; then
   18192 	test -d "$1/.";
   18193       else
   18194 	case $1 in #(
   18195 	-*)set "./$1";;
   18196 	esac;
   18197 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   18198 	???[sx]*):;;*)false;;esac;fi
   18199     '\'' sh
   18200   '
   18201 fi
   18202 as_executable_p=$as_test_x
   18203 
   18204 # Sed expression to map a string onto a valid CPP name.
   18205 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   18206 
   18207 # Sed expression to map a string onto a valid variable name.
   18208 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   18209 
   18210 
   18211 exec 6>&1
   18212 ## ----------------------------------- ##
   18213 ## Main body of $CONFIG_STATUS script. ##
   18214 ## ----------------------------------- ##
   18215 _ASEOF
   18216 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   18217 
   18218 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18219 # Save the log message, to keep $0 and so on meaningful, and to
   18220 # report actual input values of CONFIG_FILES etc. instead of their
   18221 # values after options handling.
   18222 ac_log="
   18223 This file was extended by libXScrnSaver $as_me 1.2.2, which was
   18224 generated by GNU Autoconf 2.68.  Invocation command line was
   18225 
   18226   CONFIG_FILES    = $CONFIG_FILES
   18227   CONFIG_HEADERS  = $CONFIG_HEADERS
   18228   CONFIG_LINKS    = $CONFIG_LINKS
   18229   CONFIG_COMMANDS = $CONFIG_COMMANDS
   18230   $ $0 $@
   18231 
   18232 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   18233 "
   18234 
   18235 _ACEOF
   18236 
   18237 case $ac_config_files in *"
   18238 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   18239 esac
   18240 
   18241 case $ac_config_headers in *"
   18242 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   18243 esac
   18244 
   18245 
   18246 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18247 # Files that config.status was made for.
   18248 config_files="$ac_config_files"
   18249 config_headers="$ac_config_headers"
   18250 config_commands="$ac_config_commands"
   18251 
   18252 _ACEOF
   18253 
   18254 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18255 ac_cs_usage="\
   18256 \`$as_me' instantiates files and other configuration actions
   18257 from templates according to the current configuration.  Unless the files
   18258 and actions are specified as TAGs, all are instantiated by default.
   18259 
   18260 Usage: $0 [OPTION]... [TAG]...
   18261 
   18262   -h, --help       print this help, then exit
   18263   -V, --version    print version number and configuration settings, then exit
   18264       --config     print configuration, then exit
   18265   -q, --quiet, --silent
   18266                    do not print progress messages
   18267   -d, --debug      don't remove temporary files
   18268       --recheck    update $as_me by reconfiguring in the same conditions
   18269       --file=FILE[:TEMPLATE]
   18270                    instantiate the configuration file FILE
   18271       --header=FILE[:TEMPLATE]
   18272                    instantiate the configuration header FILE
   18273 
   18274 Configuration files:
   18275 $config_files
   18276 
   18277 Configuration headers:
   18278 $config_headers
   18279 
   18280 Configuration commands:
   18281 $config_commands
   18282 
   18283 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   18284 
   18285 _ACEOF
   18286 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18287 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   18288 ac_cs_version="\\
   18289 libXScrnSaver config.status 1.2.2
   18290 configured by $0, generated by GNU Autoconf 2.68,
   18291   with options \\"\$ac_cs_config\\"
   18292 
   18293 Copyright (C) 2010 Free Software Foundation, Inc.
   18294 This config.status script is free software; the Free Software Foundation
   18295 gives unlimited permission to copy, distribute and modify it."
   18296 
   18297 ac_pwd='$ac_pwd'
   18298 srcdir='$srcdir'
   18299 INSTALL='$INSTALL'
   18300 MKDIR_P='$MKDIR_P'
   18301 AWK='$AWK'
   18302 test -n "\$AWK" || AWK=awk
   18303 _ACEOF
   18304 
   18305 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18306 # The default lists apply if the user does not specify any file.
   18307 ac_need_defaults=:
   18308 while test $# != 0
   18309 do
   18310   case $1 in
   18311   --*=?*)
   18312     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18313     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   18314     ac_shift=:
   18315     ;;
   18316   --*=)
   18317     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18318     ac_optarg=
   18319     ac_shift=:
   18320     ;;
   18321   *)
   18322     ac_option=$1
   18323     ac_optarg=$2
   18324     ac_shift=shift
   18325     ;;
   18326   esac
   18327 
   18328   case $ac_option in
   18329   # Handling of the options.
   18330   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   18331     ac_cs_recheck=: ;;
   18332   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   18333     $as_echo "$ac_cs_version"; exit ;;
   18334   --config | --confi | --conf | --con | --co | --c )
   18335     $as_echo "$ac_cs_config"; exit ;;
   18336   --debug | --debu | --deb | --de | --d | -d )
   18337     debug=: ;;
   18338   --file | --fil | --fi | --f )
   18339     $ac_shift
   18340     case $ac_optarg in
   18341     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18342     '') as_fn_error $? "missing file argument" ;;
   18343     esac
   18344     as_fn_append CONFIG_FILES " '$ac_optarg'"
   18345     ac_need_defaults=false;;
   18346   --header | --heade | --head | --hea )
   18347     $ac_shift
   18348     case $ac_optarg in
   18349     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18350     esac
   18351     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   18352     ac_need_defaults=false;;
   18353   --he | --h)
   18354     # Conflict between --help and --header
   18355     as_fn_error $? "ambiguous option: \`$1'
   18356 Try \`$0 --help' for more information.";;
   18357   --help | --hel | -h )
   18358     $as_echo "$ac_cs_usage"; exit ;;
   18359   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   18360   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   18361     ac_cs_silent=: ;;
   18362 
   18363   # This is an error.
   18364   -*) as_fn_error $? "unrecognized option: \`$1'
   18365 Try \`$0 --help' for more information." ;;
   18366 
   18367   *) as_fn_append ac_config_targets " $1"
   18368      ac_need_defaults=false ;;
   18369 
   18370   esac
   18371   shift
   18372 done
   18373 
   18374 ac_configure_extra_args=
   18375 
   18376 if $ac_cs_silent; then
   18377   exec 6>/dev/null
   18378   ac_configure_extra_args="$ac_configure_extra_args --silent"
   18379 fi
   18380 
   18381 _ACEOF
   18382 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18383 if \$ac_cs_recheck; then
   18384   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   18385   shift
   18386   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   18387   CONFIG_SHELL='$SHELL'
   18388   export CONFIG_SHELL
   18389   exec "\$@"
   18390 fi
   18391 
   18392 _ACEOF
   18393 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18394 exec 5>>config.log
   18395 {
   18396   echo
   18397   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   18398 ## Running $as_me. ##
   18399 _ASBOX
   18400   $as_echo "$ac_log"
   18401 } >&5
   18402 
   18403 _ACEOF
   18404 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18405 #
   18406 # INIT-COMMANDS
   18407 #
   18408 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   18409 
   18410 
   18411 # The HP-UX ksh and POSIX shell print the target directory to stdout
   18412 # if CDPATH is set.
   18413 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18414 
   18415 sed_quote_subst='$sed_quote_subst'
   18416 double_quote_subst='$double_quote_subst'
   18417 delay_variable_subst='$delay_variable_subst'
   18418 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   18419 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   18420 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   18421 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   18422 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   18423 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   18424 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   18425 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   18426 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   18427 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   18428 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   18429 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   18430 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   18431 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   18432 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   18433 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   18434 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   18435 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   18436 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   18437 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   18438 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   18439 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   18440 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   18441 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   18442 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   18443 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   18444 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   18445 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   18446 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   18447 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   18448 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   18449 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   18450 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   18451 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   18452 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   18453 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   18454 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   18455 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   18456 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   18457 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   18458 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   18459 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   18460 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   18461 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   18462 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   18463 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   18464 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   18465 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   18466 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   18467 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   18468 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   18469 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   18470 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   18471 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   18472 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   18473 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"`'
   18474 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   18475 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   18476 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   18477 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   18478 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   18479 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   18480 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   18481 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   18482 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   18483 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   18484 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   18485 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   18486 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   18487 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   18488 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   18489 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   18490 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   18491 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   18492 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   18493 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   18494 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   18495 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   18496 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   18497 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   18498 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   18499 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   18500 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   18501 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   18502 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   18503 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   18504 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   18505 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   18506 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   18507 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   18508 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
   18509 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   18510 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   18511 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   18512 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   18513 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   18514 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   18515 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   18516 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   18517 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   18518 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   18519 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   18520 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   18521 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   18522 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   18523 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   18524 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   18525 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   18526 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   18527 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   18528 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   18529 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   18530 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   18531 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   18532 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   18533 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   18534 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   18535 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   18536 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   18537 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   18538 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   18539 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   18540 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   18541 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   18542 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   18543 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   18544 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   18545 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   18546 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   18547 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   18548 
   18549 LTCC='$LTCC'
   18550 LTCFLAGS='$LTCFLAGS'
   18551 compiler='$compiler_DEFAULT'
   18552 
   18553 # A function that is used when there is no print builtin or printf.
   18554 func_fallback_echo ()
   18555 {
   18556   eval 'cat <<_LTECHO_EOF
   18557 \$1
   18558 _LTECHO_EOF'
   18559 }
   18560 
   18561 # Quote evaled strings.
   18562 for var in SHELL \
   18563 ECHO \
   18564 SED \
   18565 GREP \
   18566 EGREP \
   18567 FGREP \
   18568 LD \
   18569 NM \
   18570 LN_S \
   18571 lt_SP2NL \
   18572 lt_NL2SP \
   18573 reload_flag \
   18574 OBJDUMP \
   18575 deplibs_check_method \
   18576 file_magic_cmd \
   18577 file_magic_glob \
   18578 want_nocaseglob \
   18579 DLLTOOL \
   18580 sharedlib_from_linklib_cmd \
   18581 AR \
   18582 AR_FLAGS \
   18583 archiver_list_spec \
   18584 STRIP \
   18585 RANLIB \
   18586 CC \
   18587 CFLAGS \
   18588 compiler \
   18589 lt_cv_sys_global_symbol_pipe \
   18590 lt_cv_sys_global_symbol_to_cdecl \
   18591 lt_cv_sys_global_symbol_to_c_name_address \
   18592 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   18593 nm_file_list_spec \
   18594 lt_prog_compiler_no_builtin_flag \
   18595 lt_prog_compiler_pic \
   18596 lt_prog_compiler_wl \
   18597 lt_prog_compiler_static \
   18598 lt_cv_prog_compiler_c_o \
   18599 need_locks \
   18600 MANIFEST_TOOL \
   18601 DSYMUTIL \
   18602 NMEDIT \
   18603 LIPO \
   18604 OTOOL \
   18605 OTOOL64 \
   18606 shrext_cmds \
   18607 export_dynamic_flag_spec \
   18608 whole_archive_flag_spec \
   18609 compiler_needs_object \
   18610 with_gnu_ld \
   18611 allow_undefined_flag \
   18612 no_undefined_flag \
   18613 hardcode_libdir_flag_spec \
   18614 hardcode_libdir_flag_spec_ld \
   18615 hardcode_libdir_separator \
   18616 exclude_expsyms \
   18617 include_expsyms \
   18618 file_list_spec \
   18619 variables_saved_for_relink \
   18620 libname_spec \
   18621 library_names_spec \
   18622 soname_spec \
   18623 install_override_mode \
   18624 finish_eval \
   18625 old_striplib \
   18626 striplib; do
   18627     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   18628     *[\\\\\\\`\\"\\\$]*)
   18629       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   18630       ;;
   18631     *)
   18632       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   18633       ;;
   18634     esac
   18635 done
   18636 
   18637 # Double-quote double-evaled strings.
   18638 for var in reload_cmds \
   18639 old_postinstall_cmds \
   18640 old_postuninstall_cmds \
   18641 old_archive_cmds \
   18642 extract_expsyms_cmds \
   18643 old_archive_from_new_cmds \
   18644 old_archive_from_expsyms_cmds \
   18645 archive_cmds \
   18646 archive_expsym_cmds \
   18647 module_cmds \
   18648 module_expsym_cmds \
   18649 export_symbols_cmds \
   18650 prelink_cmds \
   18651 postlink_cmds \
   18652 postinstall_cmds \
   18653 postuninstall_cmds \
   18654 finish_cmds \
   18655 sys_lib_search_path_spec \
   18656 sys_lib_dlsearch_path_spec; do
   18657     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   18658     *[\\\\\\\`\\"\\\$]*)
   18659       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   18660       ;;
   18661     *)
   18662       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   18663       ;;
   18664     esac
   18665 done
   18666 
   18667 ac_aux_dir='$ac_aux_dir'
   18668 xsi_shell='$xsi_shell'
   18669 lt_shell_append='$lt_shell_append'
   18670 
   18671 # See if we are running on zsh, and set the options which allow our
   18672 # commands through without removal of \ escapes INIT.
   18673 if test -n "\${ZSH_VERSION+set}" ; then
   18674    setopt NO_GLOB_SUBST
   18675 fi
   18676 
   18677 
   18678     PACKAGE='$PACKAGE'
   18679     VERSION='$VERSION'
   18680     TIMESTAMP='$TIMESTAMP'
   18681     RM='$RM'
   18682     ofile='$ofile'
   18683 
   18684 
   18685 
   18686 
   18687 _ACEOF
   18688 
   18689 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18690 
   18691 # Handling of arguments.
   18692 for ac_config_target in $ac_config_targets
   18693 do
   18694   case $ac_config_target in
   18695     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   18696     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   18697     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   18698     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   18699     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   18700     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   18701     "xscrnsaver.pc") CONFIG_FILES="$CONFIG_FILES xscrnsaver.pc" ;;
   18702 
   18703   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   18704   esac
   18705 done
   18706 
   18707 
   18708 # If the user did not use the arguments to specify the items to instantiate,
   18709 # then the envvar interface is used.  Set only those that are not.
   18710 # We use the long form for the default assignment because of an extremely
   18711 # bizarre bug on SunOS 4.1.3.
   18712 if $ac_need_defaults; then
   18713   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   18714   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   18715   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   18716 fi
   18717 
   18718 # Have a temporary directory for convenience.  Make it in the build tree
   18719 # simply because there is no reason against having it here, and in addition,
   18720 # creating and moving files from /tmp can sometimes cause problems.
   18721 # Hook for its removal unless debugging.
   18722 # Note that there is a small window in which the directory will not be cleaned:
   18723 # after its creation but before its name has been assigned to `$tmp'.
   18724 $debug ||
   18725 {
   18726   tmp= ac_tmp=
   18727   trap 'exit_status=$?
   18728   : "${ac_tmp:=$tmp}"
   18729   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   18730 ' 0
   18731   trap 'as_fn_exit 1' 1 2 13 15
   18732 }
   18733 # Create a (secure) tmp directory for tmp files.
   18734 
   18735 {
   18736   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   18737   test -d "$tmp"
   18738 }  ||
   18739 {
   18740   tmp=./conf$$-$RANDOM
   18741   (umask 077 && mkdir "$tmp")
   18742 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   18743 ac_tmp=$tmp
   18744 
   18745 # Set up the scripts for CONFIG_FILES section.
   18746 # No need to generate them if there are no CONFIG_FILES.
   18747 # This happens for instance with `./config.status config.h'.
   18748 if test -n "$CONFIG_FILES"; then
   18749 
   18750 
   18751 ac_cr=`echo X | tr X '\015'`
   18752 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   18753 # But we know of no other shell where ac_cr would be empty at this
   18754 # point, so we can use a bashism as a fallback.
   18755 if test "x$ac_cr" = x; then
   18756   eval ac_cr=\$\'\\r\'
   18757 fi
   18758 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   18759 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   18760   ac_cs_awk_cr='\\r'
   18761 else
   18762   ac_cs_awk_cr=$ac_cr
   18763 fi
   18764 
   18765 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   18766 _ACEOF
   18767 
   18768 
   18769 {
   18770   echo "cat >conf$$subs.awk <<_ACEOF" &&
   18771   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   18772   echo "_ACEOF"
   18773 } >conf$$subs.sh ||
   18774   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18775 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   18776 ac_delim='%!_!# '
   18777 for ac_last_try in false false false false false :; do
   18778   . ./conf$$subs.sh ||
   18779     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18780 
   18781   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   18782   if test $ac_delim_n = $ac_delim_num; then
   18783     break
   18784   elif $ac_last_try; then
   18785     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18786   else
   18787     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   18788   fi
   18789 done
   18790 rm -f conf$$subs.sh
   18791 
   18792 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18793 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   18794 _ACEOF
   18795 sed -n '
   18796 h
   18797 s/^/S["/; s/!.*/"]=/
   18798 p
   18799 g
   18800 s/^[^!]*!//
   18801 :repl
   18802 t repl
   18803 s/'"$ac_delim"'$//
   18804 t delim
   18805 :nl
   18806 h
   18807 s/\(.\{148\}\)..*/\1/
   18808 t more1
   18809 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   18810 p
   18811 n
   18812 b repl
   18813 :more1
   18814 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   18815 p
   18816 g
   18817 s/.\{148\}//
   18818 t nl
   18819 :delim
   18820 h
   18821 s/\(.\{148\}\)..*/\1/
   18822 t more2
   18823 s/["\\]/\\&/g; s/^/"/; s/$/"/
   18824 p
   18825 b
   18826 :more2
   18827 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   18828 p
   18829 g
   18830 s/.\{148\}//
   18831 t delim
   18832 ' <conf$$subs.awk | sed '
   18833 /^[^""]/{
   18834   N
   18835   s/\n//
   18836 }
   18837 ' >>$CONFIG_STATUS || ac_write_fail=1
   18838 rm -f conf$$subs.awk
   18839 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18840 _ACAWK
   18841 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   18842   for (key in S) S_is_set[key] = 1
   18843   FS = ""
   18844 
   18845 }
   18846 {
   18847   line = $ 0
   18848   nfields = split(line, field, "@")
   18849   substed = 0
   18850   len = length(field[1])
   18851   for (i = 2; i < nfields; i++) {
   18852     key = field[i]
   18853     keylen = length(key)
   18854     if (S_is_set[key]) {
   18855       value = S[key]
   18856       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   18857       len += length(value) + length(field[++i])
   18858       substed = 1
   18859     } else
   18860       len += 1 + keylen
   18861   }
   18862 
   18863   print line
   18864 }
   18865 
   18866 _ACAWK
   18867 _ACEOF
   18868 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18869 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   18870   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   18871 else
   18872   cat
   18873 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   18874   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   18875 _ACEOF
   18876 
   18877 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   18878 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   18879 # trailing colons and then remove the whole line if VPATH becomes empty
   18880 # (actually we leave an empty line to preserve line numbers).
   18881 if test "x$srcdir" = x.; then
   18882   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   18883 h
   18884 s///
   18885 s/^/:/
   18886 s/[	 ]*$/:/
   18887 s/:\$(srcdir):/:/g
   18888 s/:\${srcdir}:/:/g
   18889 s/:@srcdir@:/:/g
   18890 s/^:*//
   18891 s/:*$//
   18892 x
   18893 s/\(=[	 ]*\).*/\1/
   18894 G
   18895 s/\n//
   18896 s/^[^=]*=[	 ]*$//
   18897 }'
   18898 fi
   18899 
   18900 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18901 fi # test -n "$CONFIG_FILES"
   18902 
   18903 # Set up the scripts for CONFIG_HEADERS section.
   18904 # No need to generate them if there are no CONFIG_HEADERS.
   18905 # This happens for instance with `./config.status Makefile'.
   18906 if test -n "$CONFIG_HEADERS"; then
   18907 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   18908 BEGIN {
   18909 _ACEOF
   18910 
   18911 # Transform confdefs.h into an awk script `defines.awk', embedded as
   18912 # here-document in config.status, that substitutes the proper values into
   18913 # config.h.in to produce config.h.
   18914 
   18915 # Create a delimiter string that does not exist in confdefs.h, to ease
   18916 # handling of long lines.
   18917 ac_delim='%!_!# '
   18918 for ac_last_try in false false :; do
   18919   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   18920   if test -z "$ac_tt"; then
   18921     break
   18922   elif $ac_last_try; then
   18923     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   18924   else
   18925     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   18926   fi
   18927 done
   18928 
   18929 # For the awk script, D is an array of macro values keyed by name,
   18930 # likewise P contains macro parameters if any.  Preserve backslash
   18931 # newline sequences.
   18932 
   18933 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   18934 sed -n '
   18935 s/.\{148\}/&'"$ac_delim"'/g
   18936 t rset
   18937 :rset
   18938 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   18939 t def
   18940 d
   18941 :def
   18942 s/\\$//
   18943 t bsnl
   18944 s/["\\]/\\&/g
   18945 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   18946 D["\1"]=" \3"/p
   18947 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   18948 d
   18949 :bsnl
   18950 s/["\\]/\\&/g
   18951 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   18952 D["\1"]=" \3\\\\\\n"\\/p
   18953 t cont
   18954 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   18955 t cont
   18956 d
   18957 :cont
   18958 n
   18959 s/.\{148\}/&'"$ac_delim"'/g
   18960 t clear
   18961 :clear
   18962 s/\\$//
   18963 t bsnlc
   18964 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   18965 d
   18966 :bsnlc
   18967 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   18968 b cont
   18969 ' <confdefs.h | sed '
   18970 s/'"$ac_delim"'/"\\\
   18971 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   18972 
   18973 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18974   for (key in D) D_is_set[key] = 1
   18975   FS = ""
   18976 }
   18977 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   18978   line = \$ 0
   18979   split(line, arg, " ")
   18980   if (arg[1] == "#") {
   18981     defundef = arg[2]
   18982     mac1 = arg[3]
   18983   } else {
   18984     defundef = substr(arg[1], 2)
   18985     mac1 = arg[2]
   18986   }
   18987   split(mac1, mac2, "(") #)
   18988   macro = mac2[1]
   18989   prefix = substr(line, 1, index(line, defundef) - 1)
   18990   if (D_is_set[macro]) {
   18991     # Preserve the white space surrounding the "#".
   18992     print prefix "define", macro P[macro] D[macro]
   18993     next
   18994   } else {
   18995     # Replace #undef with comments.  This is necessary, for example,
   18996     # in the case of _POSIX_SOURCE, which is predefined and required
   18997     # on some systems where configure will not decide to define it.
   18998     if (defundef == "undef") {
   18999       print "/*", prefix defundef, macro, "*/"
   19000       next
   19001     }
   19002   }
   19003 }
   19004 { print }
   19005 _ACAWK
   19006 _ACEOF
   19007 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19008   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   19009 fi # test -n "$CONFIG_HEADERS"
   19010 
   19011 
   19012 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   19013 shift
   19014 for ac_tag
   19015 do
   19016   case $ac_tag in
   19017   :[FHLC]) ac_mode=$ac_tag; continue;;
   19018   esac
   19019   case $ac_mode$ac_tag in
   19020   :[FHL]*:*);;
   19021   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   19022   :[FH]-) ac_tag=-:-;;
   19023   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   19024   esac
   19025   ac_save_IFS=$IFS
   19026   IFS=:
   19027   set x $ac_tag
   19028   IFS=$ac_save_IFS
   19029   shift
   19030   ac_file=$1
   19031   shift
   19032 
   19033   case $ac_mode in
   19034   :L) ac_source=$1;;
   19035   :[FH])
   19036     ac_file_inputs=
   19037     for ac_f
   19038     do
   19039       case $ac_f in
   19040       -) ac_f="$ac_tmp/stdin";;
   19041       *) # Look for the file first in the build tree, then in the source tree
   19042 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   19043 	 # because $ac_f cannot contain `:'.
   19044 	 test -f "$ac_f" ||
   19045 	   case $ac_f in
   19046 	   [\\/$]*) false;;
   19047 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   19048 	   esac ||
   19049 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   19050       esac
   19051       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   19052       as_fn_append ac_file_inputs " '$ac_f'"
   19053     done
   19054 
   19055     # Let's still pretend it is `configure' which instantiates (i.e., don't
   19056     # use $as_me), people would be surprised to read:
   19057     #    /* config.h.  Generated by config.status.  */
   19058     configure_input='Generated from '`
   19059 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   19060 	`' by configure.'
   19061     if test x"$ac_file" != x-; then
   19062       configure_input="$ac_file.  $configure_input"
   19063       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   19064 $as_echo "$as_me: creating $ac_file" >&6;}
   19065     fi
   19066     # Neutralize special characters interpreted by sed in replacement strings.
   19067     case $configure_input in #(
   19068     *\&* | *\|* | *\\* )
   19069        ac_sed_conf_input=`$as_echo "$configure_input" |
   19070        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   19071     *) ac_sed_conf_input=$configure_input;;
   19072     esac
   19073 
   19074     case $ac_tag in
   19075     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   19076       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   19077     esac
   19078     ;;
   19079   esac
   19080 
   19081   ac_dir=`$as_dirname -- "$ac_file" ||
   19082 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19083 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   19084 	 X"$ac_file" : 'X\(//\)$' \| \
   19085 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   19086 $as_echo X"$ac_file" |
   19087     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19088 	    s//\1/
   19089 	    q
   19090 	  }
   19091 	  /^X\(\/\/\)[^/].*/{
   19092 	    s//\1/
   19093 	    q
   19094 	  }
   19095 	  /^X\(\/\/\)$/{
   19096 	    s//\1/
   19097 	    q
   19098 	  }
   19099 	  /^X\(\/\).*/{
   19100 	    s//\1/
   19101 	    q
   19102 	  }
   19103 	  s/.*/./; q'`
   19104   as_dir="$ac_dir"; as_fn_mkdir_p
   19105   ac_builddir=.
   19106 
   19107 case "$ac_dir" in
   19108 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19109 *)
   19110   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   19111   # A ".." for each directory in $ac_dir_suffix.
   19112   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   19113   case $ac_top_builddir_sub in
   19114   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19115   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   19116   esac ;;
   19117 esac
   19118 ac_abs_top_builddir=$ac_pwd
   19119 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   19120 # for backward compatibility:
   19121 ac_top_builddir=$ac_top_build_prefix
   19122 
   19123 case $srcdir in
   19124   .)  # We are building in place.
   19125     ac_srcdir=.
   19126     ac_top_srcdir=$ac_top_builddir_sub
   19127     ac_abs_top_srcdir=$ac_pwd ;;
   19128   [\\/]* | ?:[\\/]* )  # Absolute name.
   19129     ac_srcdir=$srcdir$ac_dir_suffix;
   19130     ac_top_srcdir=$srcdir
   19131     ac_abs_top_srcdir=$srcdir ;;
   19132   *) # Relative name.
   19133     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   19134     ac_top_srcdir=$ac_top_build_prefix$srcdir
   19135     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   19136 esac
   19137 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   19138 
   19139 
   19140   case $ac_mode in
   19141   :F)
   19142   #
   19143   # CONFIG_FILE
   19144   #
   19145 
   19146   case $INSTALL in
   19147   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   19148   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   19149   esac
   19150   ac_MKDIR_P=$MKDIR_P
   19151   case $MKDIR_P in
   19152   [\\/$]* | ?:[\\/]* ) ;;
   19153   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   19154   esac
   19155 _ACEOF
   19156 
   19157 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19158 # If the template does not know about datarootdir, expand it.
   19159 # FIXME: This hack should be removed a few years after 2.60.
   19160 ac_datarootdir_hack=; ac_datarootdir_seen=
   19161 ac_sed_dataroot='
   19162 /datarootdir/ {
   19163   p
   19164   q
   19165 }
   19166 /@datadir@/p
   19167 /@docdir@/p
   19168 /@infodir@/p
   19169 /@localedir@/p
   19170 /@mandir@/p'
   19171 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   19172 *datarootdir*) ac_datarootdir_seen=yes;;
   19173 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   19174   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   19175 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   19176 _ACEOF
   19177 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19178   ac_datarootdir_hack='
   19179   s&@datadir@&$datadir&g
   19180   s&@docdir@&$docdir&g
   19181   s&@infodir@&$infodir&g
   19182   s&@localedir@&$localedir&g
   19183   s&@mandir@&$mandir&g
   19184   s&\\\${datarootdir}&$datarootdir&g' ;;
   19185 esac
   19186 _ACEOF
   19187 
   19188 # Neutralize VPATH when `$srcdir' = `.'.
   19189 # Shell code in configure.ac might set extrasub.
   19190 # FIXME: do we really want to maintain this feature?
   19191 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19192 ac_sed_extra="$ac_vpsub
   19193 $extrasub
   19194 _ACEOF
   19195 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19196 :t
   19197 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   19198 s|@configure_input@|$ac_sed_conf_input|;t t
   19199 s&@top_builddir@&$ac_top_builddir_sub&;t t
   19200 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   19201 s&@srcdir@&$ac_srcdir&;t t
   19202 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   19203 s&@top_srcdir@&$ac_top_srcdir&;t t
   19204 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   19205 s&@builddir@&$ac_builddir&;t t
   19206 s&@abs_builddir@&$ac_abs_builddir&;t t
   19207 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   19208 s&@INSTALL@&$ac_INSTALL&;t t
   19209 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   19210 $ac_datarootdir_hack
   19211 "
   19212 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   19213   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19214 
   19215 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   19216   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   19217   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   19218       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   19219   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19220 which seems to be undefined.  Please make sure it is defined" >&5
   19221 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19222 which seems to be undefined.  Please make sure it is defined" >&2;}
   19223 
   19224   rm -f "$ac_tmp/stdin"
   19225   case $ac_file in
   19226   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   19227   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   19228   esac \
   19229   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19230  ;;
   19231   :H)
   19232   #
   19233   # CONFIG_HEADER
   19234   #
   19235   if test x"$ac_file" != x-; then
   19236     {
   19237       $as_echo "/* $configure_input  */" \
   19238       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   19239     } >"$ac_tmp/config.h" \
   19240       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19241     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   19242       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   19243 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   19244     else
   19245       rm -f "$ac_file"
   19246       mv "$ac_tmp/config.h" "$ac_file" \
   19247 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19248     fi
   19249   else
   19250     $as_echo "/* $configure_input  */" \
   19251       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   19252       || as_fn_error $? "could not create -" "$LINENO" 5
   19253   fi
   19254 # Compute "$ac_file"'s index in $config_headers.
   19255 _am_arg="$ac_file"
   19256 _am_stamp_count=1
   19257 for _am_header in $config_headers :; do
   19258   case $_am_header in
   19259     $_am_arg | $_am_arg:* )
   19260       break ;;
   19261     * )
   19262       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   19263   esac
   19264 done
   19265 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   19266 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19267 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   19268 	 X"$_am_arg" : 'X\(//\)$' \| \
   19269 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   19270 $as_echo X"$_am_arg" |
   19271     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19272 	    s//\1/
   19273 	    q
   19274 	  }
   19275 	  /^X\(\/\/\)[^/].*/{
   19276 	    s//\1/
   19277 	    q
   19278 	  }
   19279 	  /^X\(\/\/\)$/{
   19280 	    s//\1/
   19281 	    q
   19282 	  }
   19283 	  /^X\(\/\).*/{
   19284 	    s//\1/
   19285 	    q
   19286 	  }
   19287 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   19288  ;;
   19289 
   19290   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   19291 $as_echo "$as_me: executing $ac_file commands" >&6;}
   19292  ;;
   19293   esac
   19294 
   19295 
   19296   case $ac_file$ac_mode in
   19297     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   19298   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   19299   # are listed without --file.  Let's play safe and only enable the eval
   19300   # if we detect the quoting.
   19301   case $CONFIG_FILES in
   19302   *\'*) eval set x "$CONFIG_FILES" ;;
   19303   *)   set x $CONFIG_FILES ;;
   19304   esac
   19305   shift
   19306   for mf
   19307   do
   19308     # Strip MF so we end up with the name of the file.
   19309     mf=`echo "$mf" | sed -e 's/:.*$//'`
   19310     # Check whether this is an Automake generated Makefile or not.
   19311     # We used to match only the files named `Makefile.in', but
   19312     # some people rename them; so instead we look at the file content.
   19313     # Grep'ing the first line is not enough: some people post-process
   19314     # each Makefile.in and add a new line on top of each file to say so.
   19315     # Grep'ing the whole file is not good either: AIX grep has a line
   19316     # limit of 2048, but all sed's we know have understand at least 4000.
   19317     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   19318       dirpart=`$as_dirname -- "$mf" ||
   19319 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19320 	 X"$mf" : 'X\(//\)[^/]' \| \
   19321 	 X"$mf" : 'X\(//\)$' \| \
   19322 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   19323 $as_echo X"$mf" |
   19324     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19325 	    s//\1/
   19326 	    q
   19327 	  }
   19328 	  /^X\(\/\/\)[^/].*/{
   19329 	    s//\1/
   19330 	    q
   19331 	  }
   19332 	  /^X\(\/\/\)$/{
   19333 	    s//\1/
   19334 	    q
   19335 	  }
   19336 	  /^X\(\/\).*/{
   19337 	    s//\1/
   19338 	    q
   19339 	  }
   19340 	  s/.*/./; q'`
   19341     else
   19342       continue
   19343     fi
   19344     # Extract the definition of DEPDIR, am__include, and am__quote
   19345     # from the Makefile without running `make'.
   19346     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   19347     test -z "$DEPDIR" && continue
   19348     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   19349     test -z "am__include" && continue
   19350     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   19351     # When using ansi2knr, U may be empty or an underscore; expand it
   19352     U=`sed -n 's/^U = //p' < "$mf"`
   19353     # Find all dependency output files, they are included files with
   19354     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   19355     # simplest approach to changing $(DEPDIR) to its actual value in the
   19356     # expansion.
   19357     for file in `sed -n "
   19358       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   19359 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   19360       # Make sure the directory exists.
   19361       test -f "$dirpart/$file" && continue
   19362       fdir=`$as_dirname -- "$file" ||
   19363 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19364 	 X"$file" : 'X\(//\)[^/]' \| \
   19365 	 X"$file" : 'X\(//\)$' \| \
   19366 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   19367 $as_echo X"$file" |
   19368     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19369 	    s//\1/
   19370 	    q
   19371 	  }
   19372 	  /^X\(\/\/\)[^/].*/{
   19373 	    s//\1/
   19374 	    q
   19375 	  }
   19376 	  /^X\(\/\/\)$/{
   19377 	    s//\1/
   19378 	    q
   19379 	  }
   19380 	  /^X\(\/\).*/{
   19381 	    s//\1/
   19382 	    q
   19383 	  }
   19384 	  s/.*/./; q'`
   19385       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   19386       # echo "creating $dirpart/$file"
   19387       echo '# dummy' > "$dirpart/$file"
   19388     done
   19389   done
   19390 }
   19391  ;;
   19392     "libtool":C)
   19393 
   19394     # See if we are running on zsh, and set the options which allow our
   19395     # commands through without removal of \ escapes.
   19396     if test -n "${ZSH_VERSION+set}" ; then
   19397       setopt NO_GLOB_SUBST
   19398     fi
   19399 
   19400     cfgfile="${ofile}T"
   19401     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   19402     $RM "$cfgfile"
   19403 
   19404     cat <<_LT_EOF >> "$cfgfile"
   19405 #! $SHELL
   19406 
   19407 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   19408 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   19409 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19410 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   19411 #
   19412 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   19413 #                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
   19414 #                 Inc.
   19415 #   Written by Gordon Matzigkeit, 1996
   19416 #
   19417 #   This file is part of GNU Libtool.
   19418 #
   19419 # GNU Libtool is free software; you can redistribute it and/or
   19420 # modify it under the terms of the GNU General Public License as
   19421 # published by the Free Software Foundation; either version 2 of
   19422 # the License, or (at your option) any later version.
   19423 #
   19424 # As a special exception to the GNU General Public License,
   19425 # if you distribute this file as part of a program or library that
   19426 # is built using GNU Libtool, you may include this file under the
   19427 # same distribution terms that you use for the rest of that program.
   19428 #
   19429 # GNU Libtool is distributed in the hope that it will be useful,
   19430 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   19431 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   19432 # GNU General Public License for more details.
   19433 #
   19434 # You should have received a copy of the GNU General Public License
   19435 # along with GNU Libtool; see the file COPYING.  If not, a copy
   19436 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   19437 # obtained by writing to the Free Software Foundation, Inc.,
   19438 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   19439 
   19440 
   19441 # The names of the tagged configurations supported by this script.
   19442 available_tags=""
   19443 
   19444 # ### BEGIN LIBTOOL CONFIG
   19445 
   19446 # Which release of libtool.m4 was used?
   19447 macro_version=$macro_version
   19448 macro_revision=$macro_revision
   19449 
   19450 # Whether or not to build shared libraries.
   19451 build_libtool_libs=$enable_shared
   19452 
   19453 # Whether or not to build static libraries.
   19454 build_old_libs=$enable_static
   19455 
   19456 # What type of objects to build.
   19457 pic_mode=$pic_mode
   19458 
   19459 # Whether or not to optimize for fast installation.
   19460 fast_install=$enable_fast_install
   19461 
   19462 # Shell to use when invoking shell scripts.
   19463 SHELL=$lt_SHELL
   19464 
   19465 # An echo program that protects backslashes.
   19466 ECHO=$lt_ECHO
   19467 
   19468 # The host system.
   19469 host_alias=$host_alias
   19470 host=$host
   19471 host_os=$host_os
   19472 
   19473 # The build system.
   19474 build_alias=$build_alias
   19475 build=$build
   19476 build_os=$build_os
   19477 
   19478 # A sed program that does not truncate output.
   19479 SED=$lt_SED
   19480 
   19481 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   19482 Xsed="\$SED -e 1s/^X//"
   19483 
   19484 # A grep program that handles long lines.
   19485 GREP=$lt_GREP
   19486 
   19487 # An ERE matcher.
   19488 EGREP=$lt_EGREP
   19489 
   19490 # A literal string matcher.
   19491 FGREP=$lt_FGREP
   19492 
   19493 # A BSD- or MS-compatible name lister.
   19494 NM=$lt_NM
   19495 
   19496 # Whether we need soft or hard links.
   19497 LN_S=$lt_LN_S
   19498 
   19499 # What is the maximum length of a command?
   19500 max_cmd_len=$max_cmd_len
   19501 
   19502 # Object file suffix (normally "o").
   19503 objext=$ac_objext
   19504 
   19505 # Executable file suffix (normally "").
   19506 exeext=$exeext
   19507 
   19508 # whether the shell understands "unset".
   19509 lt_unset=$lt_unset
   19510 
   19511 # turn spaces into newlines.
   19512 SP2NL=$lt_lt_SP2NL
   19513 
   19514 # turn newlines into spaces.
   19515 NL2SP=$lt_lt_NL2SP
   19516 
   19517 # convert \$build file names to \$host format.
   19518 to_host_file_cmd=$lt_cv_to_host_file_cmd
   19519 
   19520 # convert \$build files to toolchain format.
   19521 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   19522 
   19523 # An object symbol dumper.
   19524 OBJDUMP=$lt_OBJDUMP
   19525 
   19526 # Method to check whether dependent libraries are shared objects.
   19527 deplibs_check_method=$lt_deplibs_check_method
   19528 
   19529 # Command to use when deplibs_check_method = "file_magic".
   19530 file_magic_cmd=$lt_file_magic_cmd
   19531 
   19532 # How to find potential files when deplibs_check_method = "file_magic".
   19533 file_magic_glob=$lt_file_magic_glob
   19534 
   19535 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   19536 want_nocaseglob=$lt_want_nocaseglob
   19537 
   19538 # DLL creation program.
   19539 DLLTOOL=$lt_DLLTOOL
   19540 
   19541 # Command to associate shared and link libraries.
   19542 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   19543 
   19544 # The archiver.
   19545 AR=$lt_AR
   19546 
   19547 # Flags to create an archive.
   19548 AR_FLAGS=$lt_AR_FLAGS
   19549 
   19550 # How to feed a file listing to the archiver.
   19551 archiver_list_spec=$lt_archiver_list_spec
   19552 
   19553 # A symbol stripping program.
   19554 STRIP=$lt_STRIP
   19555 
   19556 # Commands used to install an old-style archive.
   19557 RANLIB=$lt_RANLIB
   19558 old_postinstall_cmds=$lt_old_postinstall_cmds
   19559 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19560 
   19561 # Whether to use a lock for old archive extraction.
   19562 lock_old_archive_extraction=$lock_old_archive_extraction
   19563 
   19564 # A C compiler.
   19565 LTCC=$lt_CC
   19566 
   19567 # LTCC compiler flags.
   19568 LTCFLAGS=$lt_CFLAGS
   19569 
   19570 # Take the output of nm and produce a listing of raw symbols and C names.
   19571 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19572 
   19573 # Transform the output of nm in a proper C declaration.
   19574 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19575 
   19576 # Transform the output of nm in a C name address pair.
   19577 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19578 
   19579 # Transform the output of nm in a C name address pair when lib prefix is needed.
   19580 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   19581 
   19582 # Specify filename containing input files for \$NM.
   19583 nm_file_list_spec=$lt_nm_file_list_spec
   19584 
   19585 # The root where to search for dependent libraries,and in which our libraries should be installed.
   19586 lt_sysroot=$lt_sysroot
   19587 
   19588 # The name of the directory that contains temporary libtool files.
   19589 objdir=$objdir
   19590 
   19591 # Used to examine libraries when file_magic_cmd begins with "file".
   19592 MAGIC_CMD=$MAGIC_CMD
   19593 
   19594 # Must we lock files when doing compilation?
   19595 need_locks=$lt_need_locks
   19596 
   19597 # Manifest tool.
   19598 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   19599 
   19600 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   19601 DSYMUTIL=$lt_DSYMUTIL
   19602 
   19603 # Tool to change global to local symbols on Mac OS X.
   19604 NMEDIT=$lt_NMEDIT
   19605 
   19606 # Tool to manipulate fat objects and archives on Mac OS X.
   19607 LIPO=$lt_LIPO
   19608 
   19609 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   19610 OTOOL=$lt_OTOOL
   19611 
   19612 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   19613 OTOOL64=$lt_OTOOL64
   19614 
   19615 # Old archive suffix (normally "a").
   19616 libext=$libext
   19617 
   19618 # Shared library suffix (normally ".so").
   19619 shrext_cmds=$lt_shrext_cmds
   19620 
   19621 # The commands to extract the exported symbol list from a shared archive.
   19622 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19623 
   19624 # Variables whose values should be saved in libtool wrapper scripts and
   19625 # restored at link time.
   19626 variables_saved_for_relink=$lt_variables_saved_for_relink
   19627 
   19628 # Do we need the "lib" prefix for modules?
   19629 need_lib_prefix=$need_lib_prefix
   19630 
   19631 # Do we need a version for libraries?
   19632 need_version=$need_version
   19633 
   19634 # Library versioning type.
   19635 version_type=$version_type
   19636 
   19637 # Shared library runtime path variable.
   19638 runpath_var=$runpath_var
   19639 
   19640 # Shared library path variable.
   19641 shlibpath_var=$shlibpath_var
   19642 
   19643 # Is shlibpath searched before the hard-coded library search path?
   19644 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19645 
   19646 # Format of library name prefix.
   19647 libname_spec=$lt_libname_spec
   19648 
   19649 # List of archive names.  First name is the real one, the rest are links.
   19650 # The last name is the one that the linker finds with -lNAME
   19651 library_names_spec=$lt_library_names_spec
   19652 
   19653 # The coded name of the library, if different from the real name.
   19654 soname_spec=$lt_soname_spec
   19655 
   19656 # Permission mode override for installation of shared libraries.
   19657 install_override_mode=$lt_install_override_mode
   19658 
   19659 # Command to use after installation of a shared archive.
   19660 postinstall_cmds=$lt_postinstall_cmds
   19661 
   19662 # Command to use after uninstallation of a shared archive.
   19663 postuninstall_cmds=$lt_postuninstall_cmds
   19664 
   19665 # Commands used to finish a libtool library installation in a directory.
   19666 finish_cmds=$lt_finish_cmds
   19667 
   19668 # As "finish_cmds", except a single script fragment to be evaled but
   19669 # not shown.
   19670 finish_eval=$lt_finish_eval
   19671 
   19672 # Whether we should hardcode library paths into libraries.
   19673 hardcode_into_libs=$hardcode_into_libs
   19674 
   19675 # Compile-time system search path for libraries.
   19676 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19677 
   19678 # Run-time system search path for libraries.
   19679 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19680 
   19681 # Whether dlopen is supported.
   19682 dlopen_support=$enable_dlopen
   19683 
   19684 # Whether dlopen of programs is supported.
   19685 dlopen_self=$enable_dlopen_self
   19686 
   19687 # Whether dlopen of statically linked programs is supported.
   19688 dlopen_self_static=$enable_dlopen_self_static
   19689 
   19690 # Commands to strip libraries.
   19691 old_striplib=$lt_old_striplib
   19692 striplib=$lt_striplib
   19693 
   19694 
   19695 # The linker used to build libraries.
   19696 LD=$lt_LD
   19697 
   19698 # How to create reloadable object files.
   19699 reload_flag=$lt_reload_flag
   19700 reload_cmds=$lt_reload_cmds
   19701 
   19702 # Commands used to build an old-style archive.
   19703 old_archive_cmds=$lt_old_archive_cmds
   19704 
   19705 # A language specific compiler.
   19706 CC=$lt_compiler
   19707 
   19708 # Is the compiler the GNU compiler?
   19709 with_gcc=$GCC
   19710 
   19711 # Compiler flag to turn off builtin functions.
   19712 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   19713 
   19714 # Additional compiler flags for building library objects.
   19715 pic_flag=$lt_lt_prog_compiler_pic
   19716 
   19717 # How to pass a linker flag through the compiler.
   19718 wl=$lt_lt_prog_compiler_wl
   19719 
   19720 # Compiler flag to prevent dynamic linking.
   19721 link_static_flag=$lt_lt_prog_compiler_static
   19722 
   19723 # Does compiler simultaneously support -c and -o options?
   19724 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   19725 
   19726 # Whether or not to add -lc for building shared libraries.
   19727 build_libtool_need_lc=$archive_cmds_need_lc
   19728 
   19729 # Whether or not to disallow shared libs when runtime libs are static.
   19730 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   19731 
   19732 # Compiler flag to allow reflexive dlopens.
   19733 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   19734 
   19735 # Compiler flag to generate shared objects directly from archives.
   19736 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   19737 
   19738 # Whether the compiler copes with passing no objects directly.
   19739 compiler_needs_object=$lt_compiler_needs_object
   19740 
   19741 # Create an old-style archive from a shared archive.
   19742 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   19743 
   19744 # Create a temporary old-style archive to link instead of a shared archive.
   19745 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   19746 
   19747 # Commands used to build a shared archive.
   19748 archive_cmds=$lt_archive_cmds
   19749 archive_expsym_cmds=$lt_archive_expsym_cmds
   19750 
   19751 # Commands used to build a loadable module if different from building
   19752 # a shared archive.
   19753 module_cmds=$lt_module_cmds
   19754 module_expsym_cmds=$lt_module_expsym_cmds
   19755 
   19756 # Whether we are building with GNU ld or not.
   19757 with_gnu_ld=$lt_with_gnu_ld
   19758 
   19759 # Flag that allows shared libraries with undefined symbols to be built.
   19760 allow_undefined_flag=$lt_allow_undefined_flag
   19761 
   19762 # Flag that enforces no undefined symbols.
   19763 no_undefined_flag=$lt_no_undefined_flag
   19764 
   19765 # Flag to hardcode \$libdir into a binary during linking.
   19766 # This must work even if \$libdir does not exist
   19767 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   19768 
   19769 # If ld is used when linking, flag to hardcode \$libdir into a binary
   19770 # during linking.  This must work even if \$libdir does not exist.
   19771 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   19772 
   19773 # Whether we need a single "-rpath" flag with a separated argument.
   19774 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   19775 
   19776 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   19777 # DIR into the resulting binary.
   19778 hardcode_direct=$hardcode_direct
   19779 
   19780 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   19781 # DIR into the resulting binary and the resulting library dependency is
   19782 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   19783 # library is relocated.
   19784 hardcode_direct_absolute=$hardcode_direct_absolute
   19785 
   19786 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   19787 # into the resulting binary.
   19788 hardcode_minus_L=$hardcode_minus_L
   19789 
   19790 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   19791 # into the resulting binary.
   19792 hardcode_shlibpath_var=$hardcode_shlibpath_var
   19793 
   19794 # Set to "yes" if building a shared library automatically hardcodes DIR
   19795 # into the library and all subsequent libraries and executables linked
   19796 # against it.
   19797 hardcode_automatic=$hardcode_automatic
   19798 
   19799 # Set to yes if linker adds runtime paths of dependent libraries
   19800 # to runtime path list.
   19801 inherit_rpath=$inherit_rpath
   19802 
   19803 # Whether libtool must link a program against all its dependency libraries.
   19804 link_all_deplibs=$link_all_deplibs
   19805 
   19806 # Set to "yes" if exported symbols are required.
   19807 always_export_symbols=$always_export_symbols
   19808 
   19809 # The commands to list exported symbols.
   19810 export_symbols_cmds=$lt_export_symbols_cmds
   19811 
   19812 # Symbols that should not be listed in the preloaded symbols.
   19813 exclude_expsyms=$lt_exclude_expsyms
   19814 
   19815 # Symbols that must always be exported.
   19816 include_expsyms=$lt_include_expsyms
   19817 
   19818 # Commands necessary for linking programs (against libraries) with templates.
   19819 prelink_cmds=$lt_prelink_cmds
   19820 
   19821 # Commands necessary for finishing linking programs.
   19822 postlink_cmds=$lt_postlink_cmds
   19823 
   19824 # Specify filename containing input files.
   19825 file_list_spec=$lt_file_list_spec
   19826 
   19827 # How to hardcode a shared library path into an executable.
   19828 hardcode_action=$hardcode_action
   19829 
   19830 # ### END LIBTOOL CONFIG
   19831 
   19832 _LT_EOF
   19833 
   19834   case $host_os in
   19835   aix3*)
   19836     cat <<\_LT_EOF >> "$cfgfile"
   19837 # AIX sometimes has problems with the GCC collect2 program.  For some
   19838 # reason, if we set the COLLECT_NAMES environment variable, the problems
   19839 # vanish in a puff of smoke.
   19840 if test "X${COLLECT_NAMES+set}" != Xset; then
   19841   COLLECT_NAMES=
   19842   export COLLECT_NAMES
   19843 fi
   19844 _LT_EOF
   19845     ;;
   19846   esac
   19847 
   19848 
   19849 ltmain="$ac_aux_dir/ltmain.sh"
   19850 
   19851 
   19852   # We use sed instead of cat because bash on DJGPP gets confused if
   19853   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   19854   # text mode, it properly converts lines to CR/LF.  This bash problem
   19855   # is reportedly fixed, but why not run on old versions too?
   19856   sed '$q' "$ltmain" >> "$cfgfile" \
   19857      || (rm -f "$cfgfile"; exit 1)
   19858 
   19859   if test x"$xsi_shell" = xyes; then
   19860   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
   19861 func_dirname ()\
   19862 {\
   19863 \    case ${1} in\
   19864 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   19865 \      *  ) func_dirname_result="${3}" ;;\
   19866 \    esac\
   19867 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
   19868   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19869     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19870 test 0 -eq $? || _lt_function_replace_fail=:
   19871 
   19872 
   19873   sed -e '/^func_basename ()$/,/^} # func_basename /c\
   19874 func_basename ()\
   19875 {\
   19876 \    func_basename_result="${1##*/}"\
   19877 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
   19878   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19879     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19880 test 0 -eq $? || _lt_function_replace_fail=:
   19881 
   19882 
   19883   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
   19884 func_dirname_and_basename ()\
   19885 {\
   19886 \    case ${1} in\
   19887 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   19888 \      *  ) func_dirname_result="${3}" ;;\
   19889 \    esac\
   19890 \    func_basename_result="${1##*/}"\
   19891 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
   19892   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19893     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19894 test 0 -eq $? || _lt_function_replace_fail=:
   19895 
   19896 
   19897   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
   19898 func_stripname ()\
   19899 {\
   19900 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
   19901 \    # positional parameters, so assign one to ordinary parameter first.\
   19902 \    func_stripname_result=${3}\
   19903 \    func_stripname_result=${func_stripname_result#"${1}"}\
   19904 \    func_stripname_result=${func_stripname_result%"${2}"}\
   19905 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
   19906   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19907     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19908 test 0 -eq $? || _lt_function_replace_fail=:
   19909 
   19910 
   19911   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
   19912 func_split_long_opt ()\
   19913 {\
   19914 \    func_split_long_opt_name=${1%%=*}\
   19915 \    func_split_long_opt_arg=${1#*=}\
   19916 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
   19917   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19918     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19919 test 0 -eq $? || _lt_function_replace_fail=:
   19920 
   19921 
   19922   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
   19923 func_split_short_opt ()\
   19924 {\
   19925 \    func_split_short_opt_arg=${1#??}\
   19926 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
   19927 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
   19928   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19929     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19930 test 0 -eq $? || _lt_function_replace_fail=:
   19931 
   19932 
   19933   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
   19934 func_lo2o ()\
   19935 {\
   19936 \    case ${1} in\
   19937 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
   19938 \      *)    func_lo2o_result=${1} ;;\
   19939 \    esac\
   19940 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
   19941   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19942     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19943 test 0 -eq $? || _lt_function_replace_fail=:
   19944 
   19945 
   19946   sed -e '/^func_xform ()$/,/^} # func_xform /c\
   19947 func_xform ()\
   19948 {\
   19949     func_xform_result=${1%.*}.lo\
   19950 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
   19951   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19952     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19953 test 0 -eq $? || _lt_function_replace_fail=:
   19954 
   19955 
   19956   sed -e '/^func_arith ()$/,/^} # func_arith /c\
   19957 func_arith ()\
   19958 {\
   19959     func_arith_result=$(( $* ))\
   19960 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
   19961   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19962     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19963 test 0 -eq $? || _lt_function_replace_fail=:
   19964 
   19965 
   19966   sed -e '/^func_len ()$/,/^} # func_len /c\
   19967 func_len ()\
   19968 {\
   19969     func_len_result=${#1}\
   19970 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
   19971   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19972     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19973 test 0 -eq $? || _lt_function_replace_fail=:
   19974 
   19975 fi
   19976 
   19977 if test x"$lt_shell_append" = xyes; then
   19978   sed -e '/^func_append ()$/,/^} # func_append /c\
   19979 func_append ()\
   19980 {\
   19981     eval "${1}+=\\${2}"\
   19982 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
   19983   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19984     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19985 test 0 -eq $? || _lt_function_replace_fail=:
   19986 
   19987 
   19988   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
   19989 func_append_quoted ()\
   19990 {\
   19991 \    func_quote_for_eval "${2}"\
   19992 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
   19993 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
   19994   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19995     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19996 test 0 -eq $? || _lt_function_replace_fail=:
   19997 
   19998 
   19999   # Save a `func_append' function call where possible by direct use of '+='
   20000   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
   20001     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20002       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20003   test 0 -eq $? || _lt_function_replace_fail=:
   20004 else
   20005   # Save a `func_append' function call even when '+=' is not available
   20006   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
   20007     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20008       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20009   test 0 -eq $? || _lt_function_replace_fail=:
   20010 fi
   20011 
   20012 if test x"$_lt_function_replace_fail" = x":"; then
   20013   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
   20014 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
   20015 fi
   20016 
   20017 
   20018    mv -f "$cfgfile" "$ofile" ||
   20019     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   20020   chmod +x "$ofile"
   20021 
   20022  ;;
   20023 
   20024   esac
   20025 done # for ac_tag
   20026 
   20027 
   20028 as_fn_exit 0
   20029 _ACEOF
   20030 ac_clean_files=$ac_clean_files_save
   20031 
   20032 test $ac_write_fail = 0 ||
   20033   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   20034 
   20035 
   20036 # configure is writing to config.log, and then calls config.status.
   20037 # config.status does its own redirection, appending to config.log.
   20038 # Unfortunately, on DOS this fails, as config.log is still kept open
   20039 # by configure, so config.status won't be able to write to it; its
   20040 # output is simply discarded.  So we exec the FD to /dev/null,
   20041 # effectively closing config.log, so it can be properly (re)opened and
   20042 # appended to by config.status.  When coming back to configure, we
   20043 # need to make the FD available again.
   20044 if test "$no_create" != yes; then
   20045   ac_cs_success=:
   20046   ac_config_status_args=
   20047   test "$silent" = yes &&
   20048     ac_config_status_args="$ac_config_status_args --quiet"
   20049   exec 5>/dev/null
   20050   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   20051   exec 5>>config.log
   20052   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   20053   # would make configure fail if this is the last instruction.
   20054   $ac_cs_success || as_fn_exit 1
   20055 fi
   20056 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   20057   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   20058 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   20059 fi
   20060 
   20061