Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.5
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.68 for libICE 1.0.8.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 #
      8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
     10 # Foundation, Inc.
     11 #
     12 #
     13 # This configure script is free software; the Free Software Foundation
     14 # gives unlimited permission to copy, distribute and modify it.
     15 ## -------------------- ##
     16 ## M4sh Initialization. ##
     17 ## -------------------- ##
     18 
     19 # Be more Bourne compatible
     20 DUALCASE=1; export DUALCASE # for MKS sh
     21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     22   emulate sh
     23   NULLCMD=:
     24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     25   # is contrary to our usage.  Disable this feature.
     26   alias -g '${1+"$@"}'='"$@"'
     27   setopt NO_GLOB_SUBST
     28 else
     29   case `(set -o) 2>/dev/null` in #(
     30   *posix*) :
     31     set -o posix ;; #(
     32   *) :
     33      ;;
     34 esac
     35 fi
     36 
     37 
     38 as_nl='
     39 '
     40 export as_nl
     41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     45 # Prefer a ksh shell builtin over an external printf program on Solaris,
     46 # but without wasting forks for bash or zsh.
     47 if test -z "$BASH_VERSION$ZSH_VERSION" \
     48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     49   as_echo='print -r --'
     50   as_echo_n='print -rn --'
     51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     52   as_echo='printf %s\n'
     53   as_echo_n='printf %s'
     54 else
     55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     57     as_echo_n='/usr/ucb/echo -n'
     58   else
     59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     60     as_echo_n_body='eval
     61       arg=$1;
     62       case $arg in #(
     63       *"$as_nl"*)
     64 	expr "X$arg" : "X\\(.*\\)$as_nl";
     65 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     66       esac;
     67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     68     '
     69     export as_echo_n_body
     70     as_echo_n='sh -c $as_echo_n_body as_echo'
     71   fi
     72   export as_echo_body
     73   as_echo='sh -c $as_echo_body as_echo'
     74 fi
     75 
     76 # The user is always right.
     77 if test "${PATH_SEPARATOR+set}" != set; then
     78   PATH_SEPARATOR=:
     79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     81       PATH_SEPARATOR=';'
     82   }
     83 fi
     84 
     85 
     86 # IFS
     87 # We need space, tab and new line, in precisely that order.  Quoting is
     88 # there to prevent editors from complaining about space-tab.
     89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     90 # splitting by setting IFS to empty value.)
     91 IFS=" ""	$as_nl"
     92 
     93 # Find who we are.  Look in the path if we contain no directory separator.
     94 as_myself=
     95 case $0 in #((
     96   *[\\/]* ) as_myself=$0 ;;
     97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     98 for as_dir in $PATH
     99 do
    100   IFS=$as_save_IFS
    101   test -z "$as_dir" && as_dir=.
    102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    103   done
    104 IFS=$as_save_IFS
    105 
    106      ;;
    107 esac
    108 # We did not find ourselves, most probably we were run as `sh COMMAND'
    109 # in which case we are not to be found in the path.
    110 if test "x$as_myself" = x; then
    111   as_myself=$0
    112 fi
    113 if test ! -f "$as_myself"; then
    114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    115   exit 1
    116 fi
    117 
    118 # Unset variables that we do not need and which cause bugs (e.g. in
    119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    120 # suppresses any "Segmentation fault" message there.  '((' could
    121 # trigger a bug in pdksh 5.2.14.
    122 for as_var in BASH_ENV ENV MAIL MAILPATH
    123 do eval test x\${$as_var+set} = xset \
    124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    125 done
    126 PS1='$ '
    127 PS2='> '
    128 PS4='+ '
    129 
    130 # NLS nuisances.
    131 LC_ALL=C
    132 export LC_ALL
    133 LANGUAGE=C
    134 export LANGUAGE
    135 
    136 # CDPATH.
    137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    138 
    139 if test "x$CONFIG_SHELL" = x; then
    140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    141   emulate sh
    142   NULLCMD=:
    143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    144   # is contrary to our usage.  Disable this feature.
    145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    146   setopt NO_GLOB_SUBST
    147 else
    148   case \`(set -o) 2>/dev/null\` in #(
    149   *posix*) :
    150     set -o posix ;; #(
    151   *) :
    152      ;;
    153 esac
    154 fi
    155 "
    156   as_required="as_fn_return () { (exit \$1); }
    157 as_fn_success () { as_fn_return 0; }
    158 as_fn_failure () { as_fn_return 1; }
    159 as_fn_ret_success () { return 0; }
    160 as_fn_ret_failure () { return 1; }
    161 
    162 exitcode=0
    163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    168 
    169 else
    170   exitcode=1; echo positional parameters were not saved.
    171 fi
    172 test x\$exitcode = x0 || exit 1"
    173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    177 test \$(( 1 + 1 )) = 2 || exit 1
    178 
    179   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    180     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    181     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    182     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    183     PATH=/empty FPATH=/empty; export PATH FPATH
    184     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    185       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
    186   if (eval "$as_required") 2>/dev/null; then :
    187   as_have_required=yes
    188 else
    189   as_have_required=no
    190 fi
    191   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    192 
    193 else
    194   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    195 as_found=false
    196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    197 do
    198   IFS=$as_save_IFS
    199   test -z "$as_dir" && as_dir=.
    200   as_found=:
    201   case $as_dir in #(
    202 	 /*)
    203 	   for as_base in sh bash ksh sh5; do
    204 	     # Try only shells that exist, to save several forks.
    205 	     as_shell=$as_dir/$as_base
    206 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    207 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    208   CONFIG_SHELL=$as_shell as_have_required=yes
    209 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    210   break 2
    211 fi
    212 fi
    213 	   done;;
    214        esac
    215   as_found=false
    216 done
    217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    218 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    219   CONFIG_SHELL=$SHELL as_have_required=yes
    220 fi; }
    221 IFS=$as_save_IFS
    222 
    223 
    224       if test "x$CONFIG_SHELL" != x; then :
    225   # We cannot yet assume a decent shell, so we have to provide a
    226 	# neutralization value for shells without unset; and this also
    227 	# works around shells that cannot unset nonexistent variables.
    228 	# Preserve -v and -x to the replacement shell.
    229 	BASH_ENV=/dev/null
    230 	ENV=/dev/null
    231 	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    232 	export CONFIG_SHELL
    233 	case $- in # ((((
    234 	  *v*x* | *x*v* ) as_opts=-vx ;;
    235 	  *v* ) as_opts=-v ;;
    236 	  *x* ) as_opts=-x ;;
    237 	  * ) as_opts= ;;
    238 	esac
    239 	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
    240 fi
    241 
    242     if test x$as_have_required = xno; then :
    243   $as_echo "$0: This script requires a shell more modern than all"
    244   $as_echo "$0: the shells that I found on your system."
    245   if test x${ZSH_VERSION+set} = xset ; then
    246     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    247     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    248   else
    249     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    250 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    251 $0: about your system, including any error possibly output
    252 $0: before this message. Then install a modern shell, or
    253 $0: manually run the script under such a shell if you do
    254 $0: have one."
    255   fi
    256   exit 1
    257 fi
    258 fi
    259 fi
    260 SHELL=${CONFIG_SHELL-/bin/sh}
    261 export SHELL
    262 # Unset more variables known to interfere with behavior of common tools.
    263 CLICOLOR_FORCE= GREP_OPTIONS=
    264 unset CLICOLOR_FORCE GREP_OPTIONS
    265 
    266 ## --------------------- ##
    267 ## M4sh Shell Functions. ##
    268 ## --------------------- ##
    269 # as_fn_unset VAR
    270 # ---------------
    271 # Portably unset VAR.
    272 as_fn_unset ()
    273 {
    274   { eval $1=; unset $1;}
    275 }
    276 as_unset=as_fn_unset
    277 
    278 # as_fn_set_status STATUS
    279 # -----------------------
    280 # Set $? to STATUS, without forking.
    281 as_fn_set_status ()
    282 {
    283   return $1
    284 } # as_fn_set_status
    285 
    286 # as_fn_exit STATUS
    287 # -----------------
    288 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    289 as_fn_exit ()
    290 {
    291   set +e
    292   as_fn_set_status $1
    293   exit $1
    294 } # as_fn_exit
    295 
    296 # as_fn_mkdir_p
    297 # -------------
    298 # Create "$as_dir" as a directory, including parents if necessary.
    299 as_fn_mkdir_p ()
    300 {
    301 
    302   case $as_dir in #(
    303   -*) as_dir=./$as_dir;;
    304   esac
    305   test -d "$as_dir" || eval $as_mkdir_p || {
    306     as_dirs=
    307     while :; do
    308       case $as_dir in #(
    309       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    310       *) as_qdir=$as_dir;;
    311       esac
    312       as_dirs="'$as_qdir' $as_dirs"
    313       as_dir=`$as_dirname -- "$as_dir" ||
    314 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    315 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    316 	 X"$as_dir" : 'X\(//\)$' \| \
    317 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    318 $as_echo X"$as_dir" |
    319     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    320 	    s//\1/
    321 	    q
    322 	  }
    323 	  /^X\(\/\/\)[^/].*/{
    324 	    s//\1/
    325 	    q
    326 	  }
    327 	  /^X\(\/\/\)$/{
    328 	    s//\1/
    329 	    q
    330 	  }
    331 	  /^X\(\/\).*/{
    332 	    s//\1/
    333 	    q
    334 	  }
    335 	  s/.*/./; q'`
    336       test -d "$as_dir" && break
    337     done
    338     test -z "$as_dirs" || eval "mkdir $as_dirs"
    339   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    340 
    341 
    342 } # as_fn_mkdir_p
    343 # as_fn_append VAR VALUE
    344 # ----------------------
    345 # Append the text in VALUE to the end of the definition contained in VAR. Take
    346 # advantage of any shell optimizations that allow amortized linear growth over
    347 # repeated appends, instead of the typical quadratic growth present in naive
    348 # implementations.
    349 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    350   eval 'as_fn_append ()
    351   {
    352     eval $1+=\$2
    353   }'
    354 else
    355   as_fn_append ()
    356   {
    357     eval $1=\$$1\$2
    358   }
    359 fi # as_fn_append
    360 
    361 # as_fn_arith ARG...
    362 # ------------------
    363 # Perform arithmetic evaluation on the ARGs, and store the result in the
    364 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    365 # must be portable across $(()) and expr.
    366 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    367   eval 'as_fn_arith ()
    368   {
    369     as_val=$(( $* ))
    370   }'
    371 else
    372   as_fn_arith ()
    373   {
    374     as_val=`expr "$@" || test $? -eq 1`
    375   }
    376 fi # as_fn_arith
    377 
    378 
    379 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    380 # ----------------------------------------
    381 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    382 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    383 # script with STATUS, using 1 if that was 0.
    384 as_fn_error ()
    385 {
    386   as_status=$1; test $as_status -eq 0 && as_status=1
    387   if test "$4"; then
    388     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    389     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    390   fi
    391   $as_echo "$as_me: error: $2" >&2
    392   as_fn_exit $as_status
    393 } # as_fn_error
    394 
    395 if expr a : '\(a\)' >/dev/null 2>&1 &&
    396    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    397   as_expr=expr
    398 else
    399   as_expr=false
    400 fi
    401 
    402 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    403   as_basename=basename
    404 else
    405   as_basename=false
    406 fi
    407 
    408 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    409   as_dirname=dirname
    410 else
    411   as_dirname=false
    412 fi
    413 
    414 as_me=`$as_basename -- "$0" ||
    415 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    416 	 X"$0" : 'X\(//\)$' \| \
    417 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    418 $as_echo X/"$0" |
    419     sed '/^.*\/\([^/][^/]*\)\/*$/{
    420 	    s//\1/
    421 	    q
    422 	  }
    423 	  /^X\/\(\/\/\)$/{
    424 	    s//\1/
    425 	    q
    426 	  }
    427 	  /^X\/\(\/\).*/{
    428 	    s//\1/
    429 	    q
    430 	  }
    431 	  s/.*/./; q'`
    432 
    433 # Avoid depending upon Character Ranges.
    434 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    435 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    436 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    437 as_cr_digits='0123456789'
    438 as_cr_alnum=$as_cr_Letters$as_cr_digits
    439 
    440 
    441   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    442   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    443   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    444   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    445   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    446   sed -n '
    447     p
    448     /[$]LINENO/=
    449   ' <$as_myself |
    450     sed '
    451       s/[$]LINENO.*/&-/
    452       t lineno
    453       b
    454       :lineno
    455       N
    456       :loop
    457       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    458       t loop
    459       s/-\n.*//
    460     ' >$as_me.lineno &&
    461   chmod +x "$as_me.lineno" ||
    462     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    463 
    464   # Don't try to exec as it changes $[0], causing all sort of problems
    465   # (the dirname of $[0] is not the place where we might find the
    466   # original and so on.  Autoconf is especially sensitive to this).
    467   . "./$as_me.lineno"
    468   # Exit status is that of the last command.
    469   exit
    470 }
    471 
    472 ECHO_C= ECHO_N= ECHO_T=
    473 case `echo -n x` in #(((((
    474 -n*)
    475   case `echo 'xy\c'` in
    476   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    477   xy)  ECHO_C='\c';;
    478   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    479        ECHO_T='	';;
    480   esac;;
    481 *)
    482   ECHO_N='-n';;
    483 esac
    484 
    485 rm -f conf$$ conf$$.exe conf$$.file
    486 if test -d conf$$.dir; then
    487   rm -f conf$$.dir/conf$$.file
    488 else
    489   rm -f conf$$.dir
    490   mkdir conf$$.dir 2>/dev/null
    491 fi
    492 if (echo >conf$$.file) 2>/dev/null; then
    493   if ln -s conf$$.file conf$$ 2>/dev/null; then
    494     as_ln_s='ln -s'
    495     # ... but there are two gotchas:
    496     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    497     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    498     # In both cases, we have to default to `cp -p'.
    499     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    500       as_ln_s='cp -p'
    501   elif ln conf$$.file conf$$ 2>/dev/null; then
    502     as_ln_s=ln
    503   else
    504     as_ln_s='cp -p'
    505   fi
    506 else
    507   as_ln_s='cp -p'
    508 fi
    509 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    510 rmdir conf$$.dir 2>/dev/null
    511 
    512 if mkdir -p . 2>/dev/null; then
    513   as_mkdir_p='mkdir -p "$as_dir"'
    514 else
    515   test -d ./-p && rmdir ./-p
    516   as_mkdir_p=false
    517 fi
    518 
    519 if test -x / >/dev/null 2>&1; then
    520   as_test_x='test -x'
    521 else
    522   if ls -dL / >/dev/null 2>&1; then
    523     as_ls_L_option=L
    524   else
    525     as_ls_L_option=
    526   fi
    527   as_test_x='
    528     eval sh -c '\''
    529       if test -d "$1"; then
    530 	test -d "$1/.";
    531       else
    532 	case $1 in #(
    533 	-*)set "./$1";;
    534 	esac;
    535 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    536 	???[sx]*):;;*)false;;esac;fi
    537     '\'' sh
    538   '
    539 fi
    540 as_executable_p=$as_test_x
    541 
    542 # Sed expression to map a string onto a valid CPP name.
    543 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    544 
    545 # Sed expression to map a string onto a valid variable name.
    546 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    547 
    548 SHELL=${CONFIG_SHELL-/bin/sh}
    549 
    550 as_awk_strverscmp='
    551   # Use only awk features that work with 7th edition Unix awk (1978).
    552   # My, what an old awk you have, Mr. Solaris!
    553   END {
    554     while (length(v1) && length(v2)) {
    555       # Set d1 to be the next thing to compare from v1, and likewise for d2.
    556       # Normally this is a single character, but if v1 and v2 contain digits,
    557       # compare them as integers and fractions as strverscmp does.
    558       if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
    559 	# Split v1 and v2 into their leading digit string components d1 and d2,
    560 	# and advance v1 and v2 past the leading digit strings.
    561 	for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
    562 	for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
    563 	d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
    564 	d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
    565 	if (d1 ~ /^0/) {
    566 	  if (d2 ~ /^0/) {
    567 	    # Compare two fractions.
    568 	    while (d1 ~ /^0/ && d2 ~ /^0/) {
    569 	      d1 = substr(d1, 2); len1--
    570 	      d2 = substr(d2, 2); len2--
    571 	    }
    572 	    if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
    573 	      # The two components differ in length, and the common prefix
    574 	      # contains only leading zeros.  Consider the longer to be less.
    575 	      d1 = -len1
    576 	      d2 = -len2
    577 	    } else {
    578 	      # Otherwise, compare as strings.
    579 	      d1 = "x" d1
    580 	      d2 = "x" d2
    581 	    }
    582 	  } else {
    583 	    # A fraction is less than an integer.
    584 	    exit 1
    585 	  }
    586 	} else {
    587 	  if (d2 ~ /^0/) {
    588 	    # An integer is greater than a fraction.
    589 	    exit 2
    590 	  } else {
    591 	    # Compare two integers.
    592 	    d1 += 0
    593 	    d2 += 0
    594 	  }
    595 	}
    596       } else {
    597 	# The normal case, without worrying about digits.
    598 	d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
    599 	d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
    600       }
    601       if (d1 < d2) exit 1
    602       if (d1 > d2) exit 2
    603     }
    604     # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
    605     # which mishandles some comparisons of empty strings to integers.
    606     if (length(v2)) exit 1
    607     if (length(v1)) exit 2
    608   }
    609 '
    610 
    611 test -n "$DJDIR" || exec 7<&0 </dev/null
    612 exec 6>&1
    613 
    614 # Name of the host.
    615 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    616 # so uname gets run too.
    617 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    618 
    619 #
    620 # Initializations.
    621 #
    622 ac_default_prefix=/usr/local
    623 ac_clean_files=
    624 ac_config_libobj_dir=.
    625 LIBOBJS=
    626 cross_compiling=no
    627 subdirs=
    628 MFLAGS=
    629 MAKEFLAGS=
    630 
    631 # Identity of this package.
    632 PACKAGE_NAME='libICE'
    633 PACKAGE_TARNAME='libICE'
    634 PACKAGE_VERSION='1.0.8'
    635 PACKAGE_STRING='libICE 1.0.8'
    636 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    637 PACKAGE_URL=''
    638 
    639 ac_unique_file="Makefile.am"
    640 # Factoring default headers for most tests.
    641 ac_includes_default="\
    642 #include <stdio.h>
    643 #ifdef HAVE_SYS_TYPES_H
    644 # include <sys/types.h>
    645 #endif
    646 #ifdef HAVE_SYS_STAT_H
    647 # include <sys/stat.h>
    648 #endif
    649 #ifdef STDC_HEADERS
    650 # include <stdlib.h>
    651 # include <stddef.h>
    652 #else
    653 # ifdef HAVE_STDLIB_H
    654 #  include <stdlib.h>
    655 # endif
    656 #endif
    657 #ifdef HAVE_STRING_H
    658 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    659 #  include <memory.h>
    660 # endif
    661 # include <string.h>
    662 #endif
    663 #ifdef HAVE_STRINGS_H
    664 # include <strings.h>
    665 #endif
    666 #ifdef HAVE_INTTYPES_H
    667 # include <inttypes.h>
    668 #endif
    669 #ifdef HAVE_STDINT_H
    670 # include <stdint.h>
    671 #endif
    672 #ifdef HAVE_UNISTD_H
    673 # include <unistd.h>
    674 #endif"
    675 
    676 ac_subst_vars='am__EXEEXT_FALSE
    677 am__EXEEXT_TRUE
    678 LTLIBOBJS
    679 LIBOBJS
    680 MAKE_LINT_LIB_FALSE
    681 MAKE_LINT_LIB_TRUE
    682 LINTLIB
    683 LINT_FALSE
    684 LINT_TRUE
    685 LINT_FLAGS
    686 LINT
    687 ICE_LIBS
    688 ICE_CFLAGS
    689 HAVE_STYLESHEETS_FALSE
    690 HAVE_STYLESHEETS_TRUE
    691 XSL_STYLESHEET
    692 STYLESHEET_SRCDIR
    693 XORG_SGML_PATH
    694 HAVE_XSLTPROC_FALSE
    695 HAVE_XSLTPROC_TRUE
    696 XSLTPROC
    697 HAVE_FOP_FALSE
    698 HAVE_FOP_TRUE
    699 FOP
    700 HAVE_XMLTO_FALSE
    701 HAVE_XMLTO_TRUE
    702 HAVE_XMLTO_TEXT_FALSE
    703 HAVE_XMLTO_TEXT_TRUE
    704 XMLTO
    705 ENABLE_SPECS_FALSE
    706 ENABLE_SPECS_TRUE
    707 ENABLE_DOCS_FALSE
    708 ENABLE_DOCS_TRUE
    709 AM_BACKSLASH
    710 AM_DEFAULT_VERBOSITY
    711 MAN_SUBSTS
    712 XORG_MAN_PAGE
    713 ADMIN_MAN_DIR
    714 DRIVER_MAN_DIR
    715 MISC_MAN_DIR
    716 FILE_MAN_DIR
    717 LIB_MAN_DIR
    718 APP_MAN_DIR
    719 ADMIN_MAN_SUFFIX
    720 DRIVER_MAN_SUFFIX
    721 MISC_MAN_SUFFIX
    722 FILE_MAN_SUFFIX
    723 LIB_MAN_SUFFIX
    724 APP_MAN_SUFFIX
    725 INSTALL_CMD
    726 PKG_CONFIG
    727 CHANGELOG_CMD
    728 STRICT_CFLAGS
    729 CWARNFLAGS
    730 BASE_CFLAGS
    731 OTOOL64
    732 OTOOL
    733 LIPO
    734 NMEDIT
    735 DSYMUTIL
    736 MANIFEST_TOOL
    737 RANLIB
    738 ac_ct_AR
    739 AR
    740 DLLTOOL
    741 OBJDUMP
    742 LN_S
    743 NM
    744 ac_ct_DUMPBIN
    745 DUMPBIN
    746 LD
    747 FGREP
    748 SED
    749 host_os
    750 host_vendor
    751 host_cpu
    752 host
    753 build_os
    754 build_vendor
    755 build_cpu
    756 build
    757 LIBTOOL
    758 MAINT
    759 MAINTAINER_MODE_FALSE
    760 MAINTAINER_MODE_TRUE
    761 am__fastdepCC_FALSE
    762 am__fastdepCC_TRUE
    763 CCDEPMODE
    764 AMDEPBACKSLASH
    765 AMDEP_FALSE
    766 AMDEP_TRUE
    767 am__quote
    768 am__include
    769 DEPDIR
    770 am__untar
    771 am__tar
    772 AMTAR
    773 am__leading_dot
    774 SET_MAKE
    775 AWK
    776 mkdir_p
    777 MKDIR_P
    778 INSTALL_STRIP_PROGRAM
    779 STRIP
    780 install_sh
    781 MAKEINFO
    782 AUTOHEADER
    783 AUTOMAKE
    784 AUTOCONF
    785 ACLOCAL
    786 VERSION
    787 PACKAGE
    788 CYGPATH_W
    789 am__isrc
    790 INSTALL_DATA
    791 INSTALL_SCRIPT
    792 INSTALL_PROGRAM
    793 EGREP
    794 GREP
    795 CPP
    796 OBJEXT
    797 EXEEXT
    798 ac_ct_CC
    799 CPPFLAGS
    800 LDFLAGS
    801 CFLAGS
    802 CC
    803 target_alias
    804 host_alias
    805 build_alias
    806 LIBS
    807 ECHO_T
    808 ECHO_N
    809 ECHO_C
    810 DEFS
    811 mandir
    812 localedir
    813 libdir
    814 psdir
    815 pdfdir
    816 dvidir
    817 htmldir
    818 infodir
    819 docdir
    820 oldincludedir
    821 includedir
    822 localstatedir
    823 sharedstatedir
    824 sysconfdir
    825 datadir
    826 datarootdir
    827 libexecdir
    828 sbindir
    829 bindir
    830 program_transform_name
    831 prefix
    832 exec_prefix
    833 PACKAGE_URL
    834 PACKAGE_BUGREPORT
    835 PACKAGE_STRING
    836 PACKAGE_VERSION
    837 PACKAGE_TARNAME
    838 PACKAGE_NAME
    839 PATH_SEPARATOR
    840 SHELL'
    841 ac_subst_files=''
    842 ac_user_opts='
    843 enable_option_checking
    844 enable_dependency_tracking
    845 enable_maintainer_mode
    846 enable_shared
    847 enable_static
    848 with_pic
    849 enable_fast_install
    850 with_gnu_ld
    851 with_sysroot
    852 enable_libtool_lock
    853 enable_selective_werror
    854 enable_strict_compilation
    855 enable_silent_rules
    856 enable_docs
    857 enable_specs
    858 with_xmlto
    859 with_fop
    860 with_xsltproc
    861 enable_unix_transport
    862 enable_tcp_transport
    863 enable_ipv6
    864 enable_local_transport
    865 with_lint
    866 enable_lint_library
    867 '
    868       ac_precious_vars='build_alias
    869 host_alias
    870 target_alias
    871 CC
    872 CFLAGS
    873 LDFLAGS
    874 LIBS
    875 CPPFLAGS
    876 CPP
    877 PKG_CONFIG
    878 XMLTO
    879 FOP
    880 XSLTPROC
    881 ICE_CFLAGS
    882 ICE_LIBS
    883 LINT
    884 LINT_FLAGS'
    885 
    886 
    887 # Initialize some variables set by options.
    888 ac_init_help=
    889 ac_init_version=false
    890 ac_unrecognized_opts=
    891 ac_unrecognized_sep=
    892 # The variables have the same names as the options, with
    893 # dashes changed to underlines.
    894 cache_file=/dev/null
    895 exec_prefix=NONE
    896 no_create=
    897 no_recursion=
    898 prefix=NONE
    899 program_prefix=NONE
    900 program_suffix=NONE
    901 program_transform_name=s,x,x,
    902 silent=
    903 site=
    904 srcdir=
    905 verbose=
    906 x_includes=NONE
    907 x_libraries=NONE
    908 
    909 # Installation directory options.
    910 # These are left unexpanded so users can "make install exec_prefix=/foo"
    911 # and all the variables that are supposed to be based on exec_prefix
    912 # by default will actually change.
    913 # Use braces instead of parens because sh, perl, etc. also accept them.
    914 # (The list follows the same order as the GNU Coding Standards.)
    915 bindir='${exec_prefix}/bin'
    916 sbindir='${exec_prefix}/sbin'
    917 libexecdir='${exec_prefix}/libexec'
    918 datarootdir='${prefix}/share'
    919 datadir='${datarootdir}'
    920 sysconfdir='${prefix}/etc'
    921 sharedstatedir='${prefix}/com'
    922 localstatedir='${prefix}/var'
    923 includedir='${prefix}/include'
    924 oldincludedir='/usr/include'
    925 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    926 infodir='${datarootdir}/info'
    927 htmldir='${docdir}'
    928 dvidir='${docdir}'
    929 pdfdir='${docdir}'
    930 psdir='${docdir}'
    931 libdir='${exec_prefix}/lib'
    932 localedir='${datarootdir}/locale'
    933 mandir='${datarootdir}/man'
    934 
    935 ac_prev=
    936 ac_dashdash=
    937 for ac_option
    938 do
    939   # If the previous option needs an argument, assign it.
    940   if test -n "$ac_prev"; then
    941     eval $ac_prev=\$ac_option
    942     ac_prev=
    943     continue
    944   fi
    945 
    946   case $ac_option in
    947   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    948   *=)   ac_optarg= ;;
    949   *)    ac_optarg=yes ;;
    950   esac
    951 
    952   # Accept the important Cygnus configure options, so we can diagnose typos.
    953 
    954   case $ac_dashdash$ac_option in
    955   --)
    956     ac_dashdash=yes ;;
    957 
    958   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    959     ac_prev=bindir ;;
    960   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    961     bindir=$ac_optarg ;;
    962 
    963   -build | --build | --buil | --bui | --bu)
    964     ac_prev=build_alias ;;
    965   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    966     build_alias=$ac_optarg ;;
    967 
    968   -cache-file | --cache-file | --cache-fil | --cache-fi \
    969   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    970     ac_prev=cache_file ;;
    971   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    972   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    973     cache_file=$ac_optarg ;;
    974 
    975   --config-cache | -C)
    976     cache_file=config.cache ;;
    977 
    978   -datadir | --datadir | --datadi | --datad)
    979     ac_prev=datadir ;;
    980   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    981     datadir=$ac_optarg ;;
    982 
    983   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    984   | --dataroo | --dataro | --datar)
    985     ac_prev=datarootdir ;;
    986   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    987   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    988     datarootdir=$ac_optarg ;;
    989 
    990   -disable-* | --disable-*)
    991     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    992     # Reject names that are not valid shell variable names.
    993     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    994       as_fn_error $? "invalid feature name: $ac_useropt"
    995     ac_useropt_orig=$ac_useropt
    996     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    997     case $ac_user_opts in
    998       *"
    999 "enable_$ac_useropt"
   1000 "*) ;;
   1001       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1002 	 ac_unrecognized_sep=', ';;
   1003     esac
   1004     eval enable_$ac_useropt=no ;;
   1005 
   1006   -docdir | --docdir | --docdi | --doc | --do)
   1007     ac_prev=docdir ;;
   1008   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1009     docdir=$ac_optarg ;;
   1010 
   1011   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1012     ac_prev=dvidir ;;
   1013   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1014     dvidir=$ac_optarg ;;
   1015 
   1016   -enable-* | --enable-*)
   1017     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1018     # Reject names that are not valid shell variable names.
   1019     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1020       as_fn_error $? "invalid feature name: $ac_useropt"
   1021     ac_useropt_orig=$ac_useropt
   1022     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1023     case $ac_user_opts in
   1024       *"
   1025 "enable_$ac_useropt"
   1026 "*) ;;
   1027       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1028 	 ac_unrecognized_sep=', ';;
   1029     esac
   1030     eval enable_$ac_useropt=\$ac_optarg ;;
   1031 
   1032   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1033   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1034   | --exec | --exe | --ex)
   1035     ac_prev=exec_prefix ;;
   1036   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1037   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1038   | --exec=* | --exe=* | --ex=*)
   1039     exec_prefix=$ac_optarg ;;
   1040 
   1041   -gas | --gas | --ga | --g)
   1042     # Obsolete; use --with-gas.
   1043     with_gas=yes ;;
   1044 
   1045   -help | --help | --hel | --he | -h)
   1046     ac_init_help=long ;;
   1047   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1048     ac_init_help=recursive ;;
   1049   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1050     ac_init_help=short ;;
   1051 
   1052   -host | --host | --hos | --ho)
   1053     ac_prev=host_alias ;;
   1054   -host=* | --host=* | --hos=* | --ho=*)
   1055     host_alias=$ac_optarg ;;
   1056 
   1057   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1058     ac_prev=htmldir ;;
   1059   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1060   | --ht=*)
   1061     htmldir=$ac_optarg ;;
   1062 
   1063   -includedir | --includedir | --includedi | --included | --include \
   1064   | --includ | --inclu | --incl | --inc)
   1065     ac_prev=includedir ;;
   1066   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1067   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1068     includedir=$ac_optarg ;;
   1069 
   1070   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1071     ac_prev=infodir ;;
   1072   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1073     infodir=$ac_optarg ;;
   1074 
   1075   -libdir | --libdir | --libdi | --libd)
   1076     ac_prev=libdir ;;
   1077   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1078     libdir=$ac_optarg ;;
   1079 
   1080   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1081   | --libexe | --libex | --libe)
   1082     ac_prev=libexecdir ;;
   1083   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1084   | --libexe=* | --libex=* | --libe=*)
   1085     libexecdir=$ac_optarg ;;
   1086 
   1087   -localedir | --localedir | --localedi | --localed | --locale)
   1088     ac_prev=localedir ;;
   1089   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1090     localedir=$ac_optarg ;;
   1091 
   1092   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1093   | --localstate | --localstat | --localsta | --localst | --locals)
   1094     ac_prev=localstatedir ;;
   1095   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1096   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1097     localstatedir=$ac_optarg ;;
   1098 
   1099   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1100     ac_prev=mandir ;;
   1101   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1102     mandir=$ac_optarg ;;
   1103 
   1104   -nfp | --nfp | --nf)
   1105     # Obsolete; use --without-fp.
   1106     with_fp=no ;;
   1107 
   1108   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1109   | --no-cr | --no-c | -n)
   1110     no_create=yes ;;
   1111 
   1112   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1113   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1114     no_recursion=yes ;;
   1115 
   1116   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1117   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1118   | --oldin | --oldi | --old | --ol | --o)
   1119     ac_prev=oldincludedir ;;
   1120   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1121   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1122   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1123     oldincludedir=$ac_optarg ;;
   1124 
   1125   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1126     ac_prev=prefix ;;
   1127   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1128     prefix=$ac_optarg ;;
   1129 
   1130   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1131   | --program-pre | --program-pr | --program-p)
   1132     ac_prev=program_prefix ;;
   1133   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1134   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1135     program_prefix=$ac_optarg ;;
   1136 
   1137   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1138   | --program-suf | --program-su | --program-s)
   1139     ac_prev=program_suffix ;;
   1140   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1141   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1142     program_suffix=$ac_optarg ;;
   1143 
   1144   -program-transform-name | --program-transform-name \
   1145   | --program-transform-nam | --program-transform-na \
   1146   | --program-transform-n | --program-transform- \
   1147   | --program-transform | --program-transfor \
   1148   | --program-transfo | --program-transf \
   1149   | --program-trans | --program-tran \
   1150   | --progr-tra | --program-tr | --program-t)
   1151     ac_prev=program_transform_name ;;
   1152   -program-transform-name=* | --program-transform-name=* \
   1153   | --program-transform-nam=* | --program-transform-na=* \
   1154   | --program-transform-n=* | --program-transform-=* \
   1155   | --program-transform=* | --program-transfor=* \
   1156   | --program-transfo=* | --program-transf=* \
   1157   | --program-trans=* | --program-tran=* \
   1158   | --progr-tra=* | --program-tr=* | --program-t=*)
   1159     program_transform_name=$ac_optarg ;;
   1160 
   1161   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1162     ac_prev=pdfdir ;;
   1163   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1164     pdfdir=$ac_optarg ;;
   1165 
   1166   -psdir | --psdir | --psdi | --psd | --ps)
   1167     ac_prev=psdir ;;
   1168   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1169     psdir=$ac_optarg ;;
   1170 
   1171   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1172   | -silent | --silent | --silen | --sile | --sil)
   1173     silent=yes ;;
   1174 
   1175   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1176     ac_prev=sbindir ;;
   1177   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1178   | --sbi=* | --sb=*)
   1179     sbindir=$ac_optarg ;;
   1180 
   1181   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1182   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1183   | --sharedst | --shareds | --shared | --share | --shar \
   1184   | --sha | --sh)
   1185     ac_prev=sharedstatedir ;;
   1186   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1187   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1188   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1189   | --sha=* | --sh=*)
   1190     sharedstatedir=$ac_optarg ;;
   1191 
   1192   -site | --site | --sit)
   1193     ac_prev=site ;;
   1194   -site=* | --site=* | --sit=*)
   1195     site=$ac_optarg ;;
   1196 
   1197   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1198     ac_prev=srcdir ;;
   1199   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1200     srcdir=$ac_optarg ;;
   1201 
   1202   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1203   | --syscon | --sysco | --sysc | --sys | --sy)
   1204     ac_prev=sysconfdir ;;
   1205   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1206   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1207     sysconfdir=$ac_optarg ;;
   1208 
   1209   -target | --target | --targe | --targ | --tar | --ta | --t)
   1210     ac_prev=target_alias ;;
   1211   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1212     target_alias=$ac_optarg ;;
   1213 
   1214   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1215     verbose=yes ;;
   1216 
   1217   -version | --version | --versio | --versi | --vers | -V)
   1218     ac_init_version=: ;;
   1219 
   1220   -with-* | --with-*)
   1221     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1222     # Reject names that are not valid shell variable names.
   1223     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1224       as_fn_error $? "invalid package name: $ac_useropt"
   1225     ac_useropt_orig=$ac_useropt
   1226     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1227     case $ac_user_opts in
   1228       *"
   1229 "with_$ac_useropt"
   1230 "*) ;;
   1231       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1232 	 ac_unrecognized_sep=', ';;
   1233     esac
   1234     eval with_$ac_useropt=\$ac_optarg ;;
   1235 
   1236   -without-* | --without-*)
   1237     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1238     # Reject names that are not valid shell variable names.
   1239     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1240       as_fn_error $? "invalid package name: $ac_useropt"
   1241     ac_useropt_orig=$ac_useropt
   1242     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1243     case $ac_user_opts in
   1244       *"
   1245 "with_$ac_useropt"
   1246 "*) ;;
   1247       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1248 	 ac_unrecognized_sep=', ';;
   1249     esac
   1250     eval with_$ac_useropt=no ;;
   1251 
   1252   --x)
   1253     # Obsolete; use --with-x.
   1254     with_x=yes ;;
   1255 
   1256   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1257   | --x-incl | --x-inc | --x-in | --x-i)
   1258     ac_prev=x_includes ;;
   1259   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1260   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1261     x_includes=$ac_optarg ;;
   1262 
   1263   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1264   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1265     ac_prev=x_libraries ;;
   1266   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1267   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1268     x_libraries=$ac_optarg ;;
   1269 
   1270   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1271 Try \`$0 --help' for more information"
   1272     ;;
   1273 
   1274   *=*)
   1275     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1276     # Reject names that are not valid shell variable names.
   1277     case $ac_envvar in #(
   1278       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1279       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1280     esac
   1281     eval $ac_envvar=\$ac_optarg
   1282     export $ac_envvar ;;
   1283 
   1284   *)
   1285     # FIXME: should be removed in autoconf 3.0.
   1286     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1287     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1288       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1289     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1290     ;;
   1291 
   1292   esac
   1293 done
   1294 
   1295 if test -n "$ac_prev"; then
   1296   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1297   as_fn_error $? "missing argument to $ac_option"
   1298 fi
   1299 
   1300 if test -n "$ac_unrecognized_opts"; then
   1301   case $enable_option_checking in
   1302     no) ;;
   1303     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1304     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1305   esac
   1306 fi
   1307 
   1308 # Check all directory arguments for consistency.
   1309 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1310 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1311 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1312 		libdir localedir mandir
   1313 do
   1314   eval ac_val=\$$ac_var
   1315   # Remove trailing slashes.
   1316   case $ac_val in
   1317     */ )
   1318       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1319       eval $ac_var=\$ac_val;;
   1320   esac
   1321   # Be sure to have absolute directory names.
   1322   case $ac_val in
   1323     [\\/$]* | ?:[\\/]* )  continue;;
   1324     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1325   esac
   1326   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1327 done
   1328 
   1329 # There might be people who depend on the old broken behavior: `$host'
   1330 # used to hold the argument of --host etc.
   1331 # FIXME: To remove some day.
   1332 build=$build_alias
   1333 host=$host_alias
   1334 target=$target_alias
   1335 
   1336 # FIXME: To remove some day.
   1337 if test "x$host_alias" != x; then
   1338   if test "x$build_alias" = x; then
   1339     cross_compiling=maybe
   1340     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1341     If a cross compiler is detected then cross compile mode will be used" >&2
   1342   elif test "x$build_alias" != "x$host_alias"; then
   1343     cross_compiling=yes
   1344   fi
   1345 fi
   1346 
   1347 ac_tool_prefix=
   1348 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1349 
   1350 test "$silent" = yes && exec 6>/dev/null
   1351 
   1352 
   1353 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1354 ac_ls_di=`ls -di .` &&
   1355 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1356   as_fn_error $? "working directory cannot be determined"
   1357 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1358   as_fn_error $? "pwd does not report name of working directory"
   1359 
   1360 
   1361 # Find the source files, if location was not specified.
   1362 if test -z "$srcdir"; then
   1363   ac_srcdir_defaulted=yes
   1364   # Try the directory containing this script, then the parent directory.
   1365   ac_confdir=`$as_dirname -- "$as_myself" ||
   1366 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1367 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1368 	 X"$as_myself" : 'X\(//\)$' \| \
   1369 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1370 $as_echo X"$as_myself" |
   1371     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1372 	    s//\1/
   1373 	    q
   1374 	  }
   1375 	  /^X\(\/\/\)[^/].*/{
   1376 	    s//\1/
   1377 	    q
   1378 	  }
   1379 	  /^X\(\/\/\)$/{
   1380 	    s//\1/
   1381 	    q
   1382 	  }
   1383 	  /^X\(\/\).*/{
   1384 	    s//\1/
   1385 	    q
   1386 	  }
   1387 	  s/.*/./; q'`
   1388   srcdir=$ac_confdir
   1389   if test ! -r "$srcdir/$ac_unique_file"; then
   1390     srcdir=..
   1391   fi
   1392 else
   1393   ac_srcdir_defaulted=no
   1394 fi
   1395 if test ! -r "$srcdir/$ac_unique_file"; then
   1396   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1397   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1398 fi
   1399 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1400 ac_abs_confdir=`(
   1401 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1402 	pwd)`
   1403 # When building in place, set srcdir=.
   1404 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1405   srcdir=.
   1406 fi
   1407 # Remove unnecessary trailing slashes from srcdir.
   1408 # Double slashes in file names in object file debugging info
   1409 # mess up M-x gdb in Emacs.
   1410 case $srcdir in
   1411 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1412 esac
   1413 for ac_var in $ac_precious_vars; do
   1414   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1415   eval ac_env_${ac_var}_value=\$${ac_var}
   1416   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1417   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1418 done
   1419 
   1420 #
   1421 # Report the --help message.
   1422 #
   1423 if test "$ac_init_help" = "long"; then
   1424   # Omit some internal or obsolete options to make the list less imposing.
   1425   # This message is too long to be a string in the A/UX 3.1 sh.
   1426   cat <<_ACEOF
   1427 \`configure' configures libICE 1.0.8 to adapt to many kinds of systems.
   1428 
   1429 Usage: $0 [OPTION]... [VAR=VALUE]...
   1430 
   1431 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1432 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1433 
   1434 Defaults for the options are specified in brackets.
   1435 
   1436 Configuration:
   1437   -h, --help              display this help and exit
   1438       --help=short        display options specific to this package
   1439       --help=recursive    display the short help of all the included packages
   1440   -V, --version           display version information and exit
   1441   -q, --quiet, --silent   do not print \`checking ...' messages
   1442       --cache-file=FILE   cache test results in FILE [disabled]
   1443   -C, --config-cache      alias for \`--cache-file=config.cache'
   1444   -n, --no-create         do not create output files
   1445       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1446 
   1447 Installation directories:
   1448   --prefix=PREFIX         install architecture-independent files in PREFIX
   1449                           [$ac_default_prefix]
   1450   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1451                           [PREFIX]
   1452 
   1453 By default, \`make install' will install all the files in
   1454 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1455 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1456 for instance \`--prefix=\$HOME'.
   1457 
   1458 For better control, use the options below.
   1459 
   1460 Fine tuning of the installation directories:
   1461   --bindir=DIR            user executables [EPREFIX/bin]
   1462   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1463   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1464   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1465   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1466   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1467   --libdir=DIR            object code libraries [EPREFIX/lib]
   1468   --includedir=DIR        C header files [PREFIX/include]
   1469   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1470   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1471   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1472   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1473   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1474   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1475   --docdir=DIR            documentation root [DATAROOTDIR/doc/libICE]
   1476   --htmldir=DIR           html documentation [DOCDIR]
   1477   --dvidir=DIR            dvi documentation [DOCDIR]
   1478   --pdfdir=DIR            pdf documentation [DOCDIR]
   1479   --psdir=DIR             ps documentation [DOCDIR]
   1480 _ACEOF
   1481 
   1482   cat <<\_ACEOF
   1483 
   1484 Program names:
   1485   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1486   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1487   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1488 
   1489 System types:
   1490   --build=BUILD     configure for building on BUILD [guessed]
   1491   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1492 _ACEOF
   1493 fi
   1494 
   1495 if test -n "$ac_init_help"; then
   1496   case $ac_init_help in
   1497      short | recursive ) echo "Configuration of libICE 1.0.8:";;
   1498    esac
   1499   cat <<\_ACEOF
   1500 
   1501 Optional Features:
   1502   --disable-option-checking  ignore unrecognized --enable/--with options
   1503   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1504   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1505   --disable-dependency-tracking  speeds up one-time build
   1506   --enable-dependency-tracking   do not reject slow dependency extractors
   1507   --enable-maintainer-mode  enable make rules and dependencies not useful
   1508 			  (and sometimes confusing) to the casual installer
   1509   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1510   --enable-static[=PKGS]  build static libraries [default=yes]
   1511   --enable-fast-install[=PKGS]
   1512                           optimize for fast installation [default=yes]
   1513   --disable-libtool-lock  avoid locking (might break parallel builds)
   1514   --disable-selective-werror
   1515                           Turn off selective compiler errors. (default:
   1516                           enabled)
   1517   --enable-strict-compilation
   1518                           Enable all warnings from compiler and make them
   1519                           errors (default: disabled)
   1520   --enable-silent-rules          less verbose build output (undo: `make V=1')
   1521   --disable-silent-rules         verbose build output (undo: `make V=0')
   1522   --enable-docs           Enable building the documentation (default: yes)
   1523   --enable-specs          Enable building the specs (default: yes)
   1524   --enable-unix-transport Enable UNIX domain socket transport
   1525   --enable-tcp-transport  Enable TCP socket transport
   1526   --enable-ipv6           Enable IPv6 support
   1527   --enable-local-transport
   1528                           Enable os-specific local transport
   1529   --enable-lint-library   Create lint library (default: disabled)
   1530 
   1531 Optional Packages:
   1532   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1533   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1534   --with-pic              try to use only PIC/non-PIC objects [default=use
   1535                           both]
   1536   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1537   --with-sysroot=DIR Search for dependent libraries within DIR
   1538                         (or the compiler's sysroot if not specified).
   1539   --with-xmlto            Use xmlto to regenerate documentation (default:
   1540                           auto)
   1541   --with-fop              Use fop to regenerate documentation (default: auto)
   1542   --with-xsltproc         Use xsltproc for the transformation of XML documents
   1543                           (default: auto)
   1544   --with-lint             Use a lint-style source code checker (default:
   1545                           disabled)
   1546 
   1547 Some influential environment variables:
   1548   CC          C compiler command
   1549   CFLAGS      C compiler flags
   1550   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1551               nonstandard directory <lib dir>
   1552   LIBS        libraries to pass to the linker, e.g. -l<library>
   1553   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1554               you have headers in a nonstandard directory <include dir>
   1555   CPP         C preprocessor
   1556   PKG_CONFIG  path to pkg-config utility
   1557   XMLTO       Path to xmlto command
   1558   FOP         Path to fop command
   1559   XSLTPROC    Path to xsltproc command
   1560   ICE_CFLAGS  C compiler flags for ICE, overriding pkg-config
   1561   ICE_LIBS    linker flags for ICE, overriding pkg-config
   1562   LINT        Path to a lint-style command
   1563   LINT_FLAGS  Flags for the lint-style command
   1564 
   1565 Use these variables to override the choices made by `configure' or to help
   1566 it to find libraries and programs with nonstandard names/locations.
   1567 
   1568 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1569 _ACEOF
   1570 ac_status=$?
   1571 fi
   1572 
   1573 if test "$ac_init_help" = "recursive"; then
   1574   # If there are subdirs, report their specific --help.
   1575   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1576     test -d "$ac_dir" ||
   1577       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1578       continue
   1579     ac_builddir=.
   1580 
   1581 case "$ac_dir" in
   1582 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1583 *)
   1584   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1585   # A ".." for each directory in $ac_dir_suffix.
   1586   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1587   case $ac_top_builddir_sub in
   1588   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1589   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1590   esac ;;
   1591 esac
   1592 ac_abs_top_builddir=$ac_pwd
   1593 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1594 # for backward compatibility:
   1595 ac_top_builddir=$ac_top_build_prefix
   1596 
   1597 case $srcdir in
   1598   .)  # We are building in place.
   1599     ac_srcdir=.
   1600     ac_top_srcdir=$ac_top_builddir_sub
   1601     ac_abs_top_srcdir=$ac_pwd ;;
   1602   [\\/]* | ?:[\\/]* )  # Absolute name.
   1603     ac_srcdir=$srcdir$ac_dir_suffix;
   1604     ac_top_srcdir=$srcdir
   1605     ac_abs_top_srcdir=$srcdir ;;
   1606   *) # Relative name.
   1607     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1608     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1609     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1610 esac
   1611 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1612 
   1613     cd "$ac_dir" || { ac_status=$?; continue; }
   1614     # Check for guested configure.
   1615     if test -f "$ac_srcdir/configure.gnu"; then
   1616       echo &&
   1617       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1618     elif test -f "$ac_srcdir/configure"; then
   1619       echo &&
   1620       $SHELL "$ac_srcdir/configure" --help=recursive
   1621     else
   1622       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1623     fi || ac_status=$?
   1624     cd "$ac_pwd" || { ac_status=$?; break; }
   1625   done
   1626 fi
   1627 
   1628 test -n "$ac_init_help" && exit $ac_status
   1629 if $ac_init_version; then
   1630   cat <<\_ACEOF
   1631 libICE configure 1.0.8
   1632 generated by GNU Autoconf 2.68
   1633 
   1634 Copyright (C) 2010 Free Software Foundation, Inc.
   1635 This configure script is free software; the Free Software Foundation
   1636 gives unlimited permission to copy, distribute and modify it.
   1637 _ACEOF
   1638   exit
   1639 fi
   1640 
   1641 ## ------------------------ ##
   1642 ## Autoconf initialization. ##
   1643 ## ------------------------ ##
   1644 
   1645 # ac_fn_c_try_compile LINENO
   1646 # --------------------------
   1647 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1648 ac_fn_c_try_compile ()
   1649 {
   1650   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1651   rm -f conftest.$ac_objext
   1652   if { { ac_try="$ac_compile"
   1653 case "(($ac_try" in
   1654   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1655   *) ac_try_echo=$ac_try;;
   1656 esac
   1657 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1658 $as_echo "$ac_try_echo"; } >&5
   1659   (eval "$ac_compile") 2>conftest.err
   1660   ac_status=$?
   1661   if test -s conftest.err; then
   1662     grep -v '^ *+' conftest.err >conftest.er1
   1663     cat conftest.er1 >&5
   1664     mv -f conftest.er1 conftest.err
   1665   fi
   1666   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1667   test $ac_status = 0; } && {
   1668 	 test -z "$ac_c_werror_flag" ||
   1669 	 test ! -s conftest.err
   1670        } && test -s conftest.$ac_objext; then :
   1671   ac_retval=0
   1672 else
   1673   $as_echo "$as_me: failed program was:" >&5
   1674 sed 's/^/| /' conftest.$ac_ext >&5
   1675 
   1676 	ac_retval=1
   1677 fi
   1678   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1679   as_fn_set_status $ac_retval
   1680 
   1681 } # ac_fn_c_try_compile
   1682 
   1683 # ac_fn_c_try_cpp LINENO
   1684 # ----------------------
   1685 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1686 ac_fn_c_try_cpp ()
   1687 {
   1688   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1689   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1690 case "(($ac_try" in
   1691   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1692   *) ac_try_echo=$ac_try;;
   1693 esac
   1694 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1695 $as_echo "$ac_try_echo"; } >&5
   1696   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1697   ac_status=$?
   1698   if test -s conftest.err; then
   1699     grep -v '^ *+' conftest.err >conftest.er1
   1700     cat conftest.er1 >&5
   1701     mv -f conftest.er1 conftest.err
   1702   fi
   1703   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1704   test $ac_status = 0; } > conftest.i && {
   1705 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1706 	 test ! -s conftest.err
   1707        }; then :
   1708   ac_retval=0
   1709 else
   1710   $as_echo "$as_me: failed program was:" >&5
   1711 sed 's/^/| /' conftest.$ac_ext >&5
   1712 
   1713     ac_retval=1
   1714 fi
   1715   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1716   as_fn_set_status $ac_retval
   1717 
   1718 } # ac_fn_c_try_cpp
   1719 
   1720 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1721 # -------------------------------------------------------
   1722 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1723 # the include files in INCLUDES and setting the cache variable VAR
   1724 # accordingly.
   1725 ac_fn_c_check_header_mongrel ()
   1726 {
   1727   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1728   if eval \${$3+:} false; then :
   1729   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1730 $as_echo_n "checking for $2... " >&6; }
   1731 if eval \${$3+:} false; then :
   1732   $as_echo_n "(cached) " >&6
   1733 fi
   1734 eval ac_res=\$$3
   1735 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1736 $as_echo "$ac_res" >&6; }
   1737 else
   1738   # Is the header compilable?
   1739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1740 $as_echo_n "checking $2 usability... " >&6; }
   1741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1742 /* end confdefs.h.  */
   1743 $4
   1744 #include <$2>
   1745 _ACEOF
   1746 if ac_fn_c_try_compile "$LINENO"; then :
   1747   ac_header_compiler=yes
   1748 else
   1749   ac_header_compiler=no
   1750 fi
   1751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1753 $as_echo "$ac_header_compiler" >&6; }
   1754 
   1755 # Is the header present?
   1756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1757 $as_echo_n "checking $2 presence... " >&6; }
   1758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1759 /* end confdefs.h.  */
   1760 #include <$2>
   1761 _ACEOF
   1762 if ac_fn_c_try_cpp "$LINENO"; then :
   1763   ac_header_preproc=yes
   1764 else
   1765   ac_header_preproc=no
   1766 fi
   1767 rm -f conftest.err conftest.i conftest.$ac_ext
   1768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1769 $as_echo "$ac_header_preproc" >&6; }
   1770 
   1771 # So?  What about this header?
   1772 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1773   yes:no: )
   1774     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1775 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1776     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1777 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1778     ;;
   1779   no:yes:* )
   1780     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1781 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1782     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1783 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1784     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1785 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1786     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1787 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1788     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1789 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1790 ( $as_echo "## ---------------------------------------------------------------------- ##
   1791 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   1792 ## ---------------------------------------------------------------------- ##"
   1793      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1794     ;;
   1795 esac
   1796   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1797 $as_echo_n "checking for $2... " >&6; }
   1798 if eval \${$3+:} false; then :
   1799   $as_echo_n "(cached) " >&6
   1800 else
   1801   eval "$3=\$ac_header_compiler"
   1802 fi
   1803 eval ac_res=\$$3
   1804 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1805 $as_echo "$ac_res" >&6; }
   1806 fi
   1807   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1808 
   1809 } # ac_fn_c_check_header_mongrel
   1810 
   1811 # ac_fn_c_try_run LINENO
   1812 # ----------------------
   1813 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1814 # that executables *can* be run.
   1815 ac_fn_c_try_run ()
   1816 {
   1817   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1818   if { { ac_try="$ac_link"
   1819 case "(($ac_try" in
   1820   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1821   *) ac_try_echo=$ac_try;;
   1822 esac
   1823 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1824 $as_echo "$ac_try_echo"; } >&5
   1825   (eval "$ac_link") 2>&5
   1826   ac_status=$?
   1827   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1828   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1829   { { case "(($ac_try" in
   1830   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1831   *) ac_try_echo=$ac_try;;
   1832 esac
   1833 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1834 $as_echo "$ac_try_echo"; } >&5
   1835   (eval "$ac_try") 2>&5
   1836   ac_status=$?
   1837   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1838   test $ac_status = 0; }; }; then :
   1839   ac_retval=0
   1840 else
   1841   $as_echo "$as_me: program exited with status $ac_status" >&5
   1842        $as_echo "$as_me: failed program was:" >&5
   1843 sed 's/^/| /' conftest.$ac_ext >&5
   1844 
   1845        ac_retval=$ac_status
   1846 fi
   1847   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1848   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1849   as_fn_set_status $ac_retval
   1850 
   1851 } # ac_fn_c_try_run
   1852 
   1853 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1854 # -------------------------------------------------------
   1855 # Tests whether HEADER exists and can be compiled using the include files in
   1856 # INCLUDES, setting the cache variable VAR accordingly.
   1857 ac_fn_c_check_header_compile ()
   1858 {
   1859   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1860   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1861 $as_echo_n "checking for $2... " >&6; }
   1862 if eval \${$3+:} false; then :
   1863   $as_echo_n "(cached) " >&6
   1864 else
   1865   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1866 /* end confdefs.h.  */
   1867 $4
   1868 #include <$2>
   1869 _ACEOF
   1870 if ac_fn_c_try_compile "$LINENO"; then :
   1871   eval "$3=yes"
   1872 else
   1873   eval "$3=no"
   1874 fi
   1875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1876 fi
   1877 eval ac_res=\$$3
   1878 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1879 $as_echo "$ac_res" >&6; }
   1880   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1881 
   1882 } # ac_fn_c_check_header_compile
   1883 
   1884 # ac_fn_c_try_link LINENO
   1885 # -----------------------
   1886 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1887 ac_fn_c_try_link ()
   1888 {
   1889   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1890   rm -f conftest.$ac_objext conftest$ac_exeext
   1891   if { { ac_try="$ac_link"
   1892 case "(($ac_try" in
   1893   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1894   *) ac_try_echo=$ac_try;;
   1895 esac
   1896 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1897 $as_echo "$ac_try_echo"; } >&5
   1898   (eval "$ac_link") 2>conftest.err
   1899   ac_status=$?
   1900   if test -s conftest.err; then
   1901     grep -v '^ *+' conftest.err >conftest.er1
   1902     cat conftest.er1 >&5
   1903     mv -f conftest.er1 conftest.err
   1904   fi
   1905   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1906   test $ac_status = 0; } && {
   1907 	 test -z "$ac_c_werror_flag" ||
   1908 	 test ! -s conftest.err
   1909        } && test -s conftest$ac_exeext && {
   1910 	 test "$cross_compiling" = yes ||
   1911 	 $as_test_x conftest$ac_exeext
   1912        }; then :
   1913   ac_retval=0
   1914 else
   1915   $as_echo "$as_me: failed program was:" >&5
   1916 sed 's/^/| /' conftest.$ac_ext >&5
   1917 
   1918 	ac_retval=1
   1919 fi
   1920   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1921   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1922   # interfere with the next link command; also delete a directory that is
   1923   # left behind by Apple's compiler.  We do this before executing the actions.
   1924   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1925   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1926   as_fn_set_status $ac_retval
   1927 
   1928 } # ac_fn_c_try_link
   1929 
   1930 # ac_fn_c_check_func LINENO FUNC VAR
   1931 # ----------------------------------
   1932 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1933 ac_fn_c_check_func ()
   1934 {
   1935   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1936   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1937 $as_echo_n "checking for $2... " >&6; }
   1938 if eval \${$3+:} false; then :
   1939   $as_echo_n "(cached) " >&6
   1940 else
   1941   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1942 /* end confdefs.h.  */
   1943 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1944    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1945 #define $2 innocuous_$2
   1946 
   1947 /* System header to define __stub macros and hopefully few prototypes,
   1948     which can conflict with char $2 (); below.
   1949     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1950     <limits.h> exists even on freestanding compilers.  */
   1951 
   1952 #ifdef __STDC__
   1953 # include <limits.h>
   1954 #else
   1955 # include <assert.h>
   1956 #endif
   1957 
   1958 #undef $2
   1959 
   1960 /* Override any GCC internal prototype to avoid an error.
   1961    Use char because int might match the return type of a GCC
   1962    builtin and then its argument prototype would still apply.  */
   1963 #ifdef __cplusplus
   1964 extern "C"
   1965 #endif
   1966 char $2 ();
   1967 /* The GNU C library defines this for functions which it implements
   1968     to always fail with ENOSYS.  Some functions are actually named
   1969     something starting with __ and the normal name is an alias.  */
   1970 #if defined __stub_$2 || defined __stub___$2
   1971 choke me
   1972 #endif
   1973 
   1974 int
   1975 main ()
   1976 {
   1977 return $2 ();
   1978   ;
   1979   return 0;
   1980 }
   1981 _ACEOF
   1982 if ac_fn_c_try_link "$LINENO"; then :
   1983   eval "$3=yes"
   1984 else
   1985   eval "$3=no"
   1986 fi
   1987 rm -f core conftest.err conftest.$ac_objext \
   1988     conftest$ac_exeext conftest.$ac_ext
   1989 fi
   1990 eval ac_res=\$$3
   1991 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1992 $as_echo "$ac_res" >&6; }
   1993   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1994 
   1995 } # ac_fn_c_check_func
   1996 
   1997 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1998 # ---------------------------------------------
   1999 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   2000 # accordingly.
   2001 ac_fn_c_check_decl ()
   2002 {
   2003   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2004   as_decl_name=`echo $2|sed 's/ *(.*//'`
   2005   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   2006   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   2007 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   2008 if eval \${$3+:} false; then :
   2009   $as_echo_n "(cached) " >&6
   2010 else
   2011   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2012 /* end confdefs.h.  */
   2013 $4
   2014 int
   2015 main ()
   2016 {
   2017 #ifndef $as_decl_name
   2018 #ifdef __cplusplus
   2019   (void) $as_decl_use;
   2020 #else
   2021   (void) $as_decl_name;
   2022 #endif
   2023 #endif
   2024 
   2025   ;
   2026   return 0;
   2027 }
   2028 _ACEOF
   2029 if ac_fn_c_try_compile "$LINENO"; then :
   2030   eval "$3=yes"
   2031 else
   2032   eval "$3=no"
   2033 fi
   2034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2035 fi
   2036 eval ac_res=\$$3
   2037 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2038 $as_echo "$ac_res" >&6; }
   2039   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2040 
   2041 } # ac_fn_c_check_decl
   2042 
   2043 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
   2044 # ----------------------------------------------------
   2045 # Tries to find if the field MEMBER exists in type AGGR, after including
   2046 # INCLUDES, setting cache variable VAR accordingly.
   2047 ac_fn_c_check_member ()
   2048 {
   2049   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2050   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
   2051 $as_echo_n "checking for $2.$3... " >&6; }
   2052 if eval \${$4+:} false; then :
   2053   $as_echo_n "(cached) " >&6
   2054 else
   2055   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2056 /* end confdefs.h.  */
   2057 $5
   2058 int
   2059 main ()
   2060 {
   2061 static $2 ac_aggr;
   2062 if (ac_aggr.$3)
   2063 return 0;
   2064   ;
   2065   return 0;
   2066 }
   2067 _ACEOF
   2068 if ac_fn_c_try_compile "$LINENO"; then :
   2069   eval "$4=yes"
   2070 else
   2071   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2072 /* end confdefs.h.  */
   2073 $5
   2074 int
   2075 main ()
   2076 {
   2077 static $2 ac_aggr;
   2078 if (sizeof ac_aggr.$3)
   2079 return 0;
   2080   ;
   2081   return 0;
   2082 }
   2083 _ACEOF
   2084 if ac_fn_c_try_compile "$LINENO"; then :
   2085   eval "$4=yes"
   2086 else
   2087   eval "$4=no"
   2088 fi
   2089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2090 fi
   2091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2092 fi
   2093 eval ac_res=\$$4
   2094 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2095 $as_echo "$ac_res" >&6; }
   2096   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2097 
   2098 } # ac_fn_c_check_member
   2099 
   2100 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   2101 # -------------------------------------------
   2102 # Tests whether TYPE exists after having included INCLUDES, setting cache
   2103 # variable VAR accordingly.
   2104 ac_fn_c_check_type ()
   2105 {
   2106   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2107   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2108 $as_echo_n "checking for $2... " >&6; }
   2109 if eval \${$3+:} false; then :
   2110   $as_echo_n "(cached) " >&6
   2111 else
   2112   eval "$3=no"
   2113   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2114 /* end confdefs.h.  */
   2115 $4
   2116 int
   2117 main ()
   2118 {
   2119 if (sizeof ($2))
   2120 	 return 0;
   2121   ;
   2122   return 0;
   2123 }
   2124 _ACEOF
   2125 if ac_fn_c_try_compile "$LINENO"; then :
   2126   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2127 /* end confdefs.h.  */
   2128 $4
   2129 int
   2130 main ()
   2131 {
   2132 if (sizeof (($2)))
   2133 	    return 0;
   2134   ;
   2135   return 0;
   2136 }
   2137 _ACEOF
   2138 if ac_fn_c_try_compile "$LINENO"; then :
   2139 
   2140 else
   2141   eval "$3=yes"
   2142 fi
   2143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2144 fi
   2145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2146 fi
   2147 eval ac_res=\$$3
   2148 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2149 $as_echo "$ac_res" >&6; }
   2150   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2151 
   2152 } # ac_fn_c_check_type
   2153 cat >config.log <<_ACEOF
   2154 This file contains any messages produced by compilers while
   2155 running configure, to aid debugging if configure makes a mistake.
   2156 
   2157 It was created by libICE $as_me 1.0.8, which was
   2158 generated by GNU Autoconf 2.68.  Invocation command line was
   2159 
   2160   $ $0 $@
   2161 
   2162 _ACEOF
   2163 exec 5>>config.log
   2164 {
   2165 cat <<_ASUNAME
   2166 ## --------- ##
   2167 ## Platform. ##
   2168 ## --------- ##
   2169 
   2170 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2171 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2172 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2173 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2174 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2175 
   2176 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2177 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2178 
   2179 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2180 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2181 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2182 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2183 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2184 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2185 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2186 
   2187 _ASUNAME
   2188 
   2189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2190 for as_dir in $PATH
   2191 do
   2192   IFS=$as_save_IFS
   2193   test -z "$as_dir" && as_dir=.
   2194     $as_echo "PATH: $as_dir"
   2195   done
   2196 IFS=$as_save_IFS
   2197 
   2198 } >&5
   2199 
   2200 cat >&5 <<_ACEOF
   2201 
   2202 
   2203 ## ----------- ##
   2204 ## Core tests. ##
   2205 ## ----------- ##
   2206 
   2207 _ACEOF
   2208 
   2209 
   2210 # Keep a trace of the command line.
   2211 # Strip out --no-create and --no-recursion so they do not pile up.
   2212 # Strip out --silent because we don't want to record it for future runs.
   2213 # Also quote any args containing shell meta-characters.
   2214 # Make two passes to allow for proper duplicate-argument suppression.
   2215 ac_configure_args=
   2216 ac_configure_args0=
   2217 ac_configure_args1=
   2218 ac_must_keep_next=false
   2219 for ac_pass in 1 2
   2220 do
   2221   for ac_arg
   2222   do
   2223     case $ac_arg in
   2224     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2225     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2226     | -silent | --silent | --silen | --sile | --sil)
   2227       continue ;;
   2228     *\'*)
   2229       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2230     esac
   2231     case $ac_pass in
   2232     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2233     2)
   2234       as_fn_append ac_configure_args1 " '$ac_arg'"
   2235       if test $ac_must_keep_next = true; then
   2236 	ac_must_keep_next=false # Got value, back to normal.
   2237       else
   2238 	case $ac_arg in
   2239 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2240 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2241 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2242 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2243 	    case "$ac_configure_args0 " in
   2244 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2245 	    esac
   2246 	    ;;
   2247 	  -* ) ac_must_keep_next=true ;;
   2248 	esac
   2249       fi
   2250       as_fn_append ac_configure_args " '$ac_arg'"
   2251       ;;
   2252     esac
   2253   done
   2254 done
   2255 { ac_configure_args0=; unset ac_configure_args0;}
   2256 { ac_configure_args1=; unset ac_configure_args1;}
   2257 
   2258 # When interrupted or exit'd, cleanup temporary files, and complete
   2259 # config.log.  We remove comments because anyway the quotes in there
   2260 # would cause problems or look ugly.
   2261 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2262 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2263 trap 'exit_status=$?
   2264   # Save into config.log some information that might help in debugging.
   2265   {
   2266     echo
   2267 
   2268     $as_echo "## ---------------- ##
   2269 ## Cache variables. ##
   2270 ## ---------------- ##"
   2271     echo
   2272     # The following way of writing the cache mishandles newlines in values,
   2273 (
   2274   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2275     eval ac_val=\$$ac_var
   2276     case $ac_val in #(
   2277     *${as_nl}*)
   2278       case $ac_var in #(
   2279       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2280 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2281       esac
   2282       case $ac_var in #(
   2283       _ | IFS | as_nl) ;; #(
   2284       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2285       *) { eval $ac_var=; unset $ac_var;} ;;
   2286       esac ;;
   2287     esac
   2288   done
   2289   (set) 2>&1 |
   2290     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2291     *${as_nl}ac_space=\ *)
   2292       sed -n \
   2293 	"s/'\''/'\''\\\\'\'''\''/g;
   2294 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2295       ;; #(
   2296     *)
   2297       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2298       ;;
   2299     esac |
   2300     sort
   2301 )
   2302     echo
   2303 
   2304     $as_echo "## ----------------- ##
   2305 ## Output variables. ##
   2306 ## ----------------- ##"
   2307     echo
   2308     for ac_var in $ac_subst_vars
   2309     do
   2310       eval ac_val=\$$ac_var
   2311       case $ac_val in
   2312       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2313       esac
   2314       $as_echo "$ac_var='\''$ac_val'\''"
   2315     done | sort
   2316     echo
   2317 
   2318     if test -n "$ac_subst_files"; then
   2319       $as_echo "## ------------------- ##
   2320 ## File substitutions. ##
   2321 ## ------------------- ##"
   2322       echo
   2323       for ac_var in $ac_subst_files
   2324       do
   2325 	eval ac_val=\$$ac_var
   2326 	case $ac_val in
   2327 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2328 	esac
   2329 	$as_echo "$ac_var='\''$ac_val'\''"
   2330       done | sort
   2331       echo
   2332     fi
   2333 
   2334     if test -s confdefs.h; then
   2335       $as_echo "## ----------- ##
   2336 ## confdefs.h. ##
   2337 ## ----------- ##"
   2338       echo
   2339       cat confdefs.h
   2340       echo
   2341     fi
   2342     test "$ac_signal" != 0 &&
   2343       $as_echo "$as_me: caught signal $ac_signal"
   2344     $as_echo "$as_me: exit $exit_status"
   2345   } >&5
   2346   rm -f core *.core core.conftest.* &&
   2347     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2348     exit $exit_status
   2349 ' 0
   2350 for ac_signal in 1 2 13 15; do
   2351   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2352 done
   2353 ac_signal=0
   2354 
   2355 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2356 rm -f -r conftest* confdefs.h
   2357 
   2358 $as_echo "/* confdefs.h */" > confdefs.h
   2359 
   2360 # Predefined preprocessor variables.
   2361 
   2362 cat >>confdefs.h <<_ACEOF
   2363 #define PACKAGE_NAME "$PACKAGE_NAME"
   2364 _ACEOF
   2365 
   2366 cat >>confdefs.h <<_ACEOF
   2367 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2368 _ACEOF
   2369 
   2370 cat >>confdefs.h <<_ACEOF
   2371 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2372 _ACEOF
   2373 
   2374 cat >>confdefs.h <<_ACEOF
   2375 #define PACKAGE_STRING "$PACKAGE_STRING"
   2376 _ACEOF
   2377 
   2378 cat >>confdefs.h <<_ACEOF
   2379 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2380 _ACEOF
   2381 
   2382 cat >>confdefs.h <<_ACEOF
   2383 #define PACKAGE_URL "$PACKAGE_URL"
   2384 _ACEOF
   2385 
   2386 
   2387 # Let the site file select an alternate cache file if it wants to.
   2388 # Prefer an explicitly selected file to automatically selected ones.
   2389 ac_site_file1=NONE
   2390 ac_site_file2=NONE
   2391 if test -n "$CONFIG_SITE"; then
   2392   # We do not want a PATH search for config.site.
   2393   case $CONFIG_SITE in #((
   2394     -*)  ac_site_file1=./$CONFIG_SITE;;
   2395     */*) ac_site_file1=$CONFIG_SITE;;
   2396     *)   ac_site_file1=./$CONFIG_SITE;;
   2397   esac
   2398 elif test "x$prefix" != xNONE; then
   2399   ac_site_file1=$prefix/share/config.site
   2400   ac_site_file2=$prefix/etc/config.site
   2401 else
   2402   ac_site_file1=$ac_default_prefix/share/config.site
   2403   ac_site_file2=$ac_default_prefix/etc/config.site
   2404 fi
   2405 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2406 do
   2407   test "x$ac_site_file" = xNONE && continue
   2408   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2409     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2410 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2411     sed 's/^/| /' "$ac_site_file" >&5
   2412     . "$ac_site_file" \
   2413       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2414 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2415 as_fn_error $? "failed to load site script $ac_site_file
   2416 See \`config.log' for more details" "$LINENO" 5; }
   2417   fi
   2418 done
   2419 
   2420 if test -r "$cache_file"; then
   2421   # Some versions of bash will fail to source /dev/null (special files
   2422   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2423   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2424     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2425 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2426     case $cache_file in
   2427       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2428       *)                      . "./$cache_file";;
   2429     esac
   2430   fi
   2431 else
   2432   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2433 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2434   >$cache_file
   2435 fi
   2436 
   2437 # Check that the precious variables saved in the cache have kept the same
   2438 # value.
   2439 ac_cache_corrupted=false
   2440 for ac_var in $ac_precious_vars; do
   2441   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2442   eval ac_new_set=\$ac_env_${ac_var}_set
   2443   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2444   eval ac_new_val=\$ac_env_${ac_var}_value
   2445   case $ac_old_set,$ac_new_set in
   2446     set,)
   2447       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2448 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2449       ac_cache_corrupted=: ;;
   2450     ,set)
   2451       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2452 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2453       ac_cache_corrupted=: ;;
   2454     ,);;
   2455     *)
   2456       if test "x$ac_old_val" != "x$ac_new_val"; then
   2457 	# differences in whitespace do not lead to failure.
   2458 	ac_old_val_w=`echo x $ac_old_val`
   2459 	ac_new_val_w=`echo x $ac_new_val`
   2460 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2461 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2462 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2463 	  ac_cache_corrupted=:
   2464 	else
   2465 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2466 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2467 	  eval $ac_var=\$ac_old_val
   2468 	fi
   2469 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2470 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2471 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2472 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2473       fi;;
   2474   esac
   2475   # Pass precious variables to config.status.
   2476   if test "$ac_new_set" = set; then
   2477     case $ac_new_val in
   2478     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2479     *) ac_arg=$ac_var=$ac_new_val ;;
   2480     esac
   2481     case " $ac_configure_args " in
   2482       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2483       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2484     esac
   2485   fi
   2486 done
   2487 if $ac_cache_corrupted; then
   2488   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2489 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2490   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2491 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2492   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2493 fi
   2494 ## -------------------- ##
   2495 ## Main body of script. ##
   2496 ## -------------------- ##
   2497 
   2498 ac_ext=c
   2499 ac_cpp='$CPP $CPPFLAGS'
   2500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2503 
   2504 
   2505 
   2506 ac_config_headers="$ac_config_headers config.h"
   2507 
   2508 
   2509 # Set common system defines for POSIX extensions, such as _GNU_SOURCE
   2510 # Must be called before any macros that run the compiler (like
   2511 # AC_PROG_LIBTOOL or XORG_DEFAULT_OPTIONS) to avoid autoconf errors.
   2512 ac_ext=c
   2513 ac_cpp='$CPP $CPPFLAGS'
   2514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2517 if test -n "$ac_tool_prefix"; then
   2518   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2519 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2521 $as_echo_n "checking for $ac_word... " >&6; }
   2522 if ${ac_cv_prog_CC+:} false; then :
   2523   $as_echo_n "(cached) " >&6
   2524 else
   2525   if test -n "$CC"; then
   2526   ac_cv_prog_CC="$CC" # Let the user override the test.
   2527 else
   2528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2529 for as_dir in $PATH
   2530 do
   2531   IFS=$as_save_IFS
   2532   test -z "$as_dir" && as_dir=.
   2533     for ac_exec_ext in '' $ac_executable_extensions; do
   2534   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2535     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2536     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2537     break 2
   2538   fi
   2539 done
   2540   done
   2541 IFS=$as_save_IFS
   2542 
   2543 fi
   2544 fi
   2545 CC=$ac_cv_prog_CC
   2546 if test -n "$CC"; then
   2547   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2548 $as_echo "$CC" >&6; }
   2549 else
   2550   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2551 $as_echo "no" >&6; }
   2552 fi
   2553 
   2554 
   2555 fi
   2556 if test -z "$ac_cv_prog_CC"; then
   2557   ac_ct_CC=$CC
   2558   # Extract the first word of "gcc", so it can be a program name with args.
   2559 set dummy gcc; ac_word=$2
   2560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2561 $as_echo_n "checking for $ac_word... " >&6; }
   2562 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2563   $as_echo_n "(cached) " >&6
   2564 else
   2565   if test -n "$ac_ct_CC"; then
   2566   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2567 else
   2568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2569 for as_dir in $PATH
   2570 do
   2571   IFS=$as_save_IFS
   2572   test -z "$as_dir" && as_dir=.
   2573     for ac_exec_ext in '' $ac_executable_extensions; do
   2574   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2575     ac_cv_prog_ac_ct_CC="gcc"
   2576     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2577     break 2
   2578   fi
   2579 done
   2580   done
   2581 IFS=$as_save_IFS
   2582 
   2583 fi
   2584 fi
   2585 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2586 if test -n "$ac_ct_CC"; then
   2587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2588 $as_echo "$ac_ct_CC" >&6; }
   2589 else
   2590   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2591 $as_echo "no" >&6; }
   2592 fi
   2593 
   2594   if test "x$ac_ct_CC" = x; then
   2595     CC=""
   2596   else
   2597     case $cross_compiling:$ac_tool_warned in
   2598 yes:)
   2599 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2600 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2601 ac_tool_warned=yes ;;
   2602 esac
   2603     CC=$ac_ct_CC
   2604   fi
   2605 else
   2606   CC="$ac_cv_prog_CC"
   2607 fi
   2608 
   2609 if test -z "$CC"; then
   2610           if test -n "$ac_tool_prefix"; then
   2611     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2612 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2614 $as_echo_n "checking for $ac_word... " >&6; }
   2615 if ${ac_cv_prog_CC+:} false; then :
   2616   $as_echo_n "(cached) " >&6
   2617 else
   2618   if test -n "$CC"; then
   2619   ac_cv_prog_CC="$CC" # Let the user override the test.
   2620 else
   2621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2622 for as_dir in $PATH
   2623 do
   2624   IFS=$as_save_IFS
   2625   test -z "$as_dir" && as_dir=.
   2626     for ac_exec_ext in '' $ac_executable_extensions; do
   2627   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2628     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2629     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2630     break 2
   2631   fi
   2632 done
   2633   done
   2634 IFS=$as_save_IFS
   2635 
   2636 fi
   2637 fi
   2638 CC=$ac_cv_prog_CC
   2639 if test -n "$CC"; then
   2640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2641 $as_echo "$CC" >&6; }
   2642 else
   2643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2644 $as_echo "no" >&6; }
   2645 fi
   2646 
   2647 
   2648   fi
   2649 fi
   2650 if test -z "$CC"; then
   2651   # Extract the first word of "cc", so it can be a program name with args.
   2652 set dummy cc; ac_word=$2
   2653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2654 $as_echo_n "checking for $ac_word... " >&6; }
   2655 if ${ac_cv_prog_CC+:} false; then :
   2656   $as_echo_n "(cached) " >&6
   2657 else
   2658   if test -n "$CC"; then
   2659   ac_cv_prog_CC="$CC" # Let the user override the test.
   2660 else
   2661   ac_prog_rejected=no
   2662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2663 for as_dir in $PATH
   2664 do
   2665   IFS=$as_save_IFS
   2666   test -z "$as_dir" && as_dir=.
   2667     for ac_exec_ext in '' $ac_executable_extensions; do
   2668   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2669     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2670        ac_prog_rejected=yes
   2671        continue
   2672      fi
   2673     ac_cv_prog_CC="cc"
   2674     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2675     break 2
   2676   fi
   2677 done
   2678   done
   2679 IFS=$as_save_IFS
   2680 
   2681 if test $ac_prog_rejected = yes; then
   2682   # We found a bogon in the path, so make sure we never use it.
   2683   set dummy $ac_cv_prog_CC
   2684   shift
   2685   if test $# != 0; then
   2686     # We chose a different compiler from the bogus one.
   2687     # However, it has the same basename, so the bogon will be chosen
   2688     # first if we set CC to just the basename; use the full file name.
   2689     shift
   2690     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2691   fi
   2692 fi
   2693 fi
   2694 fi
   2695 CC=$ac_cv_prog_CC
   2696 if test -n "$CC"; then
   2697   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2698 $as_echo "$CC" >&6; }
   2699 else
   2700   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2701 $as_echo "no" >&6; }
   2702 fi
   2703 
   2704 
   2705 fi
   2706 if test -z "$CC"; then
   2707   if test -n "$ac_tool_prefix"; then
   2708   for ac_prog in cl.exe
   2709   do
   2710     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2711 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2713 $as_echo_n "checking for $ac_word... " >&6; }
   2714 if ${ac_cv_prog_CC+:} false; then :
   2715   $as_echo_n "(cached) " >&6
   2716 else
   2717   if test -n "$CC"; then
   2718   ac_cv_prog_CC="$CC" # Let the user override the test.
   2719 else
   2720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2721 for as_dir in $PATH
   2722 do
   2723   IFS=$as_save_IFS
   2724   test -z "$as_dir" && as_dir=.
   2725     for ac_exec_ext in '' $ac_executable_extensions; do
   2726   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2727     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2728     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2729     break 2
   2730   fi
   2731 done
   2732   done
   2733 IFS=$as_save_IFS
   2734 
   2735 fi
   2736 fi
   2737 CC=$ac_cv_prog_CC
   2738 if test -n "$CC"; then
   2739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2740 $as_echo "$CC" >&6; }
   2741 else
   2742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2743 $as_echo "no" >&6; }
   2744 fi
   2745 
   2746 
   2747     test -n "$CC" && break
   2748   done
   2749 fi
   2750 if test -z "$CC"; then
   2751   ac_ct_CC=$CC
   2752   for ac_prog in cl.exe
   2753 do
   2754   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2755 set dummy $ac_prog; ac_word=$2
   2756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2757 $as_echo_n "checking for $ac_word... " >&6; }
   2758 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2759   $as_echo_n "(cached) " >&6
   2760 else
   2761   if test -n "$ac_ct_CC"; then
   2762   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2763 else
   2764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2765 for as_dir in $PATH
   2766 do
   2767   IFS=$as_save_IFS
   2768   test -z "$as_dir" && as_dir=.
   2769     for ac_exec_ext in '' $ac_executable_extensions; do
   2770   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2771     ac_cv_prog_ac_ct_CC="$ac_prog"
   2772     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2773     break 2
   2774   fi
   2775 done
   2776   done
   2777 IFS=$as_save_IFS
   2778 
   2779 fi
   2780 fi
   2781 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2782 if test -n "$ac_ct_CC"; then
   2783   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2784 $as_echo "$ac_ct_CC" >&6; }
   2785 else
   2786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2787 $as_echo "no" >&6; }
   2788 fi
   2789 
   2790 
   2791   test -n "$ac_ct_CC" && break
   2792 done
   2793 
   2794   if test "x$ac_ct_CC" = x; then
   2795     CC=""
   2796   else
   2797     case $cross_compiling:$ac_tool_warned in
   2798 yes:)
   2799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2800 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2801 ac_tool_warned=yes ;;
   2802 esac
   2803     CC=$ac_ct_CC
   2804   fi
   2805 fi
   2806 
   2807 fi
   2808 
   2809 
   2810 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2811 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2812 as_fn_error $? "no acceptable C compiler found in \$PATH
   2813 See \`config.log' for more details" "$LINENO" 5; }
   2814 
   2815 # Provide some information about the compiler.
   2816 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   2817 set X $ac_compile
   2818 ac_compiler=$2
   2819 for ac_option in --version -v -V -qversion; do
   2820   { { ac_try="$ac_compiler $ac_option >&5"
   2821 case "(($ac_try" in
   2822   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2823   *) ac_try_echo=$ac_try;;
   2824 esac
   2825 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2826 $as_echo "$ac_try_echo"; } >&5
   2827   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   2828   ac_status=$?
   2829   if test -s conftest.err; then
   2830     sed '10a\
   2831 ... rest of stderr output deleted ...
   2832          10q' conftest.err >conftest.er1
   2833     cat conftest.er1 >&5
   2834   fi
   2835   rm -f conftest.er1 conftest.err
   2836   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2837   test $ac_status = 0; }
   2838 done
   2839 
   2840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2841 /* end confdefs.h.  */
   2842 
   2843 int
   2844 main ()
   2845 {
   2846 
   2847   ;
   2848   return 0;
   2849 }
   2850 _ACEOF
   2851 ac_clean_files_save=$ac_clean_files
   2852 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   2853 # Try to create an executable without -o first, disregard a.out.
   2854 # It will help us diagnose broken compilers, and finding out an intuition
   2855 # of exeext.
   2856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   2857 $as_echo_n "checking whether the C compiler works... " >&6; }
   2858 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   2859 
   2860 # The possible output files:
   2861 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   2862 
   2863 ac_rmfiles=
   2864 for ac_file in $ac_files
   2865 do
   2866   case $ac_file in
   2867     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2868     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   2869   esac
   2870 done
   2871 rm -f $ac_rmfiles
   2872 
   2873 if { { ac_try="$ac_link_default"
   2874 case "(($ac_try" in
   2875   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2876   *) ac_try_echo=$ac_try;;
   2877 esac
   2878 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2879 $as_echo "$ac_try_echo"; } >&5
   2880   (eval "$ac_link_default") 2>&5
   2881   ac_status=$?
   2882   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2883   test $ac_status = 0; }; then :
   2884   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   2885 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   2886 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   2887 # so that the user can short-circuit this test for compilers unknown to
   2888 # Autoconf.
   2889 for ac_file in $ac_files ''
   2890 do
   2891   test -f "$ac_file" || continue
   2892   case $ac_file in
   2893     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   2894 	;;
   2895     [ab].out )
   2896 	# We found the default executable, but exeext='' is most
   2897 	# certainly right.
   2898 	break;;
   2899     *.* )
   2900 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   2901 	then :; else
   2902 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2903 	fi
   2904 	# We set ac_cv_exeext here because the later test for it is not
   2905 	# safe: cross compilers may not add the suffix if given an `-o'
   2906 	# argument, so we may need to know it at that point already.
   2907 	# Even if this section looks crufty: it has the advantage of
   2908 	# actually working.
   2909 	break;;
   2910     * )
   2911 	break;;
   2912   esac
   2913 done
   2914 test "$ac_cv_exeext" = no && ac_cv_exeext=
   2915 
   2916 else
   2917   ac_file=''
   2918 fi
   2919 if test -z "$ac_file"; then :
   2920   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2921 $as_echo "no" >&6; }
   2922 $as_echo "$as_me: failed program was:" >&5
   2923 sed 's/^/| /' conftest.$ac_ext >&5
   2924 
   2925 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2926 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2927 as_fn_error 77 "C compiler cannot create executables
   2928 See \`config.log' for more details" "$LINENO" 5; }
   2929 else
   2930   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2931 $as_echo "yes" >&6; }
   2932 fi
   2933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   2934 $as_echo_n "checking for C compiler default output file name... " >&6; }
   2935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   2936 $as_echo "$ac_file" >&6; }
   2937 ac_exeext=$ac_cv_exeext
   2938 
   2939 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   2940 ac_clean_files=$ac_clean_files_save
   2941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   2942 $as_echo_n "checking for suffix of executables... " >&6; }
   2943 if { { ac_try="$ac_link"
   2944 case "(($ac_try" in
   2945   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2946   *) ac_try_echo=$ac_try;;
   2947 esac
   2948 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2949 $as_echo "$ac_try_echo"; } >&5
   2950   (eval "$ac_link") 2>&5
   2951   ac_status=$?
   2952   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2953   test $ac_status = 0; }; then :
   2954   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   2955 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   2956 # work properly (i.e., refer to `conftest.exe'), while it won't with
   2957 # `rm'.
   2958 for ac_file in conftest.exe conftest conftest.*; do
   2959   test -f "$ac_file" || continue
   2960   case $ac_file in
   2961     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2962     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2963 	  break;;
   2964     * ) break;;
   2965   esac
   2966 done
   2967 else
   2968   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2969 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2970 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   2971 See \`config.log' for more details" "$LINENO" 5; }
   2972 fi
   2973 rm -f conftest conftest$ac_cv_exeext
   2974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   2975 $as_echo "$ac_cv_exeext" >&6; }
   2976 
   2977 rm -f conftest.$ac_ext
   2978 EXEEXT=$ac_cv_exeext
   2979 ac_exeext=$EXEEXT
   2980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2981 /* end confdefs.h.  */
   2982 #include <stdio.h>
   2983 int
   2984 main ()
   2985 {
   2986 FILE *f = fopen ("conftest.out", "w");
   2987  return ferror (f) || fclose (f) != 0;
   2988 
   2989   ;
   2990   return 0;
   2991 }
   2992 _ACEOF
   2993 ac_clean_files="$ac_clean_files conftest.out"
   2994 # Check that the compiler produces executables we can run.  If not, either
   2995 # the compiler is broken, or we cross compile.
   2996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   2997 $as_echo_n "checking whether we are cross compiling... " >&6; }
   2998 if test "$cross_compiling" != yes; then
   2999   { { ac_try="$ac_link"
   3000 case "(($ac_try" in
   3001   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3002   *) ac_try_echo=$ac_try;;
   3003 esac
   3004 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3005 $as_echo "$ac_try_echo"; } >&5
   3006   (eval "$ac_link") 2>&5
   3007   ac_status=$?
   3008   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3009   test $ac_status = 0; }
   3010   if { ac_try='./conftest$ac_cv_exeext'
   3011   { { case "(($ac_try" in
   3012   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3013   *) ac_try_echo=$ac_try;;
   3014 esac
   3015 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3016 $as_echo "$ac_try_echo"; } >&5
   3017   (eval "$ac_try") 2>&5
   3018   ac_status=$?
   3019   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3020   test $ac_status = 0; }; }; then
   3021     cross_compiling=no
   3022   else
   3023     if test "$cross_compiling" = maybe; then
   3024 	cross_compiling=yes
   3025     else
   3026 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3027 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3028 as_fn_error $? "cannot run C compiled programs.
   3029 If you meant to cross compile, use \`--host'.
   3030 See \`config.log' for more details" "$LINENO" 5; }
   3031     fi
   3032   fi
   3033 fi
   3034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3035 $as_echo "$cross_compiling" >&6; }
   3036 
   3037 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3038 ac_clean_files=$ac_clean_files_save
   3039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3040 $as_echo_n "checking for suffix of object files... " >&6; }
   3041 if ${ac_cv_objext+:} false; then :
   3042   $as_echo_n "(cached) " >&6
   3043 else
   3044   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3045 /* end confdefs.h.  */
   3046 
   3047 int
   3048 main ()
   3049 {
   3050 
   3051   ;
   3052   return 0;
   3053 }
   3054 _ACEOF
   3055 rm -f conftest.o conftest.obj
   3056 if { { ac_try="$ac_compile"
   3057 case "(($ac_try" in
   3058   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3059   *) ac_try_echo=$ac_try;;
   3060 esac
   3061 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3062 $as_echo "$ac_try_echo"; } >&5
   3063   (eval "$ac_compile") 2>&5
   3064   ac_status=$?
   3065   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3066   test $ac_status = 0; }; then :
   3067   for ac_file in conftest.o conftest.obj conftest.*; do
   3068   test -f "$ac_file" || continue;
   3069   case $ac_file in
   3070     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3071     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3072        break;;
   3073   esac
   3074 done
   3075 else
   3076   $as_echo "$as_me: failed program was:" >&5
   3077 sed 's/^/| /' conftest.$ac_ext >&5
   3078 
   3079 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3080 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3081 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3082 See \`config.log' for more details" "$LINENO" 5; }
   3083 fi
   3084 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3085 fi
   3086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3087 $as_echo "$ac_cv_objext" >&6; }
   3088 OBJEXT=$ac_cv_objext
   3089 ac_objext=$OBJEXT
   3090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3091 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3092 if ${ac_cv_c_compiler_gnu+:} false; then :
   3093   $as_echo_n "(cached) " >&6
   3094 else
   3095   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3096 /* end confdefs.h.  */
   3097 
   3098 int
   3099 main ()
   3100 {
   3101 #ifndef __GNUC__
   3102        choke me
   3103 #endif
   3104 
   3105   ;
   3106   return 0;
   3107 }
   3108 _ACEOF
   3109 if ac_fn_c_try_compile "$LINENO"; then :
   3110   ac_compiler_gnu=yes
   3111 else
   3112   ac_compiler_gnu=no
   3113 fi
   3114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3115 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3116 
   3117 fi
   3118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3119 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3120 if test $ac_compiler_gnu = yes; then
   3121   GCC=yes
   3122 else
   3123   GCC=
   3124 fi
   3125 ac_test_CFLAGS=${CFLAGS+set}
   3126 ac_save_CFLAGS=$CFLAGS
   3127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3128 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3129 if ${ac_cv_prog_cc_g+:} false; then :
   3130   $as_echo_n "(cached) " >&6
   3131 else
   3132   ac_save_c_werror_flag=$ac_c_werror_flag
   3133    ac_c_werror_flag=yes
   3134    ac_cv_prog_cc_g=no
   3135    CFLAGS="-g"
   3136    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3137 /* end confdefs.h.  */
   3138 
   3139 int
   3140 main ()
   3141 {
   3142 
   3143   ;
   3144   return 0;
   3145 }
   3146 _ACEOF
   3147 if ac_fn_c_try_compile "$LINENO"; then :
   3148   ac_cv_prog_cc_g=yes
   3149 else
   3150   CFLAGS=""
   3151       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3152 /* end confdefs.h.  */
   3153 
   3154 int
   3155 main ()
   3156 {
   3157 
   3158   ;
   3159   return 0;
   3160 }
   3161 _ACEOF
   3162 if ac_fn_c_try_compile "$LINENO"; then :
   3163 
   3164 else
   3165   ac_c_werror_flag=$ac_save_c_werror_flag
   3166 	 CFLAGS="-g"
   3167 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3168 /* end confdefs.h.  */
   3169 
   3170 int
   3171 main ()
   3172 {
   3173 
   3174   ;
   3175   return 0;
   3176 }
   3177 _ACEOF
   3178 if ac_fn_c_try_compile "$LINENO"; then :
   3179   ac_cv_prog_cc_g=yes
   3180 fi
   3181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3182 fi
   3183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3184 fi
   3185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3186    ac_c_werror_flag=$ac_save_c_werror_flag
   3187 fi
   3188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3189 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3190 if test "$ac_test_CFLAGS" = set; then
   3191   CFLAGS=$ac_save_CFLAGS
   3192 elif test $ac_cv_prog_cc_g = yes; then
   3193   if test "$GCC" = yes; then
   3194     CFLAGS="-g -O2"
   3195   else
   3196     CFLAGS="-g"
   3197   fi
   3198 else
   3199   if test "$GCC" = yes; then
   3200     CFLAGS="-O2"
   3201   else
   3202     CFLAGS=
   3203   fi
   3204 fi
   3205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3206 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3207 if ${ac_cv_prog_cc_c89+:} false; then :
   3208   $as_echo_n "(cached) " >&6
   3209 else
   3210   ac_cv_prog_cc_c89=no
   3211 ac_save_CC=$CC
   3212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3213 /* end confdefs.h.  */
   3214 #include <stdarg.h>
   3215 #include <stdio.h>
   3216 #include <sys/types.h>
   3217 #include <sys/stat.h>
   3218 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3219 struct buf { int x; };
   3220 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3221 static char *e (p, i)
   3222      char **p;
   3223      int i;
   3224 {
   3225   return p[i];
   3226 }
   3227 static char *f (char * (*g) (char **, int), char **p, ...)
   3228 {
   3229   char *s;
   3230   va_list v;
   3231   va_start (v,p);
   3232   s = g (p, va_arg (v,int));
   3233   va_end (v);
   3234   return s;
   3235 }
   3236 
   3237 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3238    function prototypes and stuff, but not '\xHH' hex character constants.
   3239    These don't provoke an error unfortunately, instead are silently treated
   3240    as 'x'.  The following induces an error, until -std is added to get
   3241    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3242    array size at least.  It's necessary to write '\x00'==0 to get something
   3243    that's true only with -std.  */
   3244 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3245 
   3246 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3247    inside strings and character constants.  */
   3248 #define FOO(x) 'x'
   3249 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3250 
   3251 int test (int i, double x);
   3252 struct s1 {int (*f) (int a);};
   3253 struct s2 {int (*f) (double a);};
   3254 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3255 int argc;
   3256 char **argv;
   3257 int
   3258 main ()
   3259 {
   3260 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3261   ;
   3262   return 0;
   3263 }
   3264 _ACEOF
   3265 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3266 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3267 do
   3268   CC="$ac_save_CC $ac_arg"
   3269   if ac_fn_c_try_compile "$LINENO"; then :
   3270   ac_cv_prog_cc_c89=$ac_arg
   3271 fi
   3272 rm -f core conftest.err conftest.$ac_objext
   3273   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3274 done
   3275 rm -f conftest.$ac_ext
   3276 CC=$ac_save_CC
   3277 
   3278 fi
   3279 # AC_CACHE_VAL
   3280 case "x$ac_cv_prog_cc_c89" in
   3281   x)
   3282     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3283 $as_echo "none needed" >&6; } ;;
   3284   xno)
   3285     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3286 $as_echo "unsupported" >&6; } ;;
   3287   *)
   3288     CC="$CC $ac_cv_prog_cc_c89"
   3289     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3290 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3291 esac
   3292 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3293 
   3294 fi
   3295 
   3296 ac_ext=c
   3297 ac_cpp='$CPP $CPPFLAGS'
   3298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3301 
   3302 
   3303 ac_ext=c
   3304 ac_cpp='$CPP $CPPFLAGS'
   3305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3309 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3310 # On Suns, sometimes $CPP names a directory.
   3311 if test -n "$CPP" && test -d "$CPP"; then
   3312   CPP=
   3313 fi
   3314 if test -z "$CPP"; then
   3315   if ${ac_cv_prog_CPP+:} false; then :
   3316   $as_echo_n "(cached) " >&6
   3317 else
   3318       # Double quotes because CPP needs to be expanded
   3319     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3320     do
   3321       ac_preproc_ok=false
   3322 for ac_c_preproc_warn_flag in '' yes
   3323 do
   3324   # Use a header file that comes with gcc, so configuring glibc
   3325   # with a fresh cross-compiler works.
   3326   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3327   # <limits.h> exists even on freestanding compilers.
   3328   # On the NeXT, cc -E runs the code through the compiler's parser,
   3329   # not just through cpp. "Syntax error" is here to catch this case.
   3330   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3331 /* end confdefs.h.  */
   3332 #ifdef __STDC__
   3333 # include <limits.h>
   3334 #else
   3335 # include <assert.h>
   3336 #endif
   3337 		     Syntax error
   3338 _ACEOF
   3339 if ac_fn_c_try_cpp "$LINENO"; then :
   3340 
   3341 else
   3342   # Broken: fails on valid input.
   3343 continue
   3344 fi
   3345 rm -f conftest.err conftest.i conftest.$ac_ext
   3346 
   3347   # OK, works on sane cases.  Now check whether nonexistent headers
   3348   # can be detected and how.
   3349   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3350 /* end confdefs.h.  */
   3351 #include <ac_nonexistent.h>
   3352 _ACEOF
   3353 if ac_fn_c_try_cpp "$LINENO"; then :
   3354   # Broken: success on invalid input.
   3355 continue
   3356 else
   3357   # Passes both tests.
   3358 ac_preproc_ok=:
   3359 break
   3360 fi
   3361 rm -f conftest.err conftest.i conftest.$ac_ext
   3362 
   3363 done
   3364 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3365 rm -f conftest.i conftest.err conftest.$ac_ext
   3366 if $ac_preproc_ok; then :
   3367   break
   3368 fi
   3369 
   3370     done
   3371     ac_cv_prog_CPP=$CPP
   3372 
   3373 fi
   3374   CPP=$ac_cv_prog_CPP
   3375 else
   3376   ac_cv_prog_CPP=$CPP
   3377 fi
   3378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   3379 $as_echo "$CPP" >&6; }
   3380 ac_preproc_ok=false
   3381 for ac_c_preproc_warn_flag in '' yes
   3382 do
   3383   # Use a header file that comes with gcc, so configuring glibc
   3384   # with a fresh cross-compiler works.
   3385   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3386   # <limits.h> exists even on freestanding compilers.
   3387   # On the NeXT, cc -E runs the code through the compiler's parser,
   3388   # not just through cpp. "Syntax error" is here to catch this case.
   3389   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3390 /* end confdefs.h.  */
   3391 #ifdef __STDC__
   3392 # include <limits.h>
   3393 #else
   3394 # include <assert.h>
   3395 #endif
   3396 		     Syntax error
   3397 _ACEOF
   3398 if ac_fn_c_try_cpp "$LINENO"; then :
   3399 
   3400 else
   3401   # Broken: fails on valid input.
   3402 continue
   3403 fi
   3404 rm -f conftest.err conftest.i conftest.$ac_ext
   3405 
   3406   # OK, works on sane cases.  Now check whether nonexistent headers
   3407   # can be detected and how.
   3408   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3409 /* end confdefs.h.  */
   3410 #include <ac_nonexistent.h>
   3411 _ACEOF
   3412 if ac_fn_c_try_cpp "$LINENO"; then :
   3413   # Broken: success on invalid input.
   3414 continue
   3415 else
   3416   # Passes both tests.
   3417 ac_preproc_ok=:
   3418 break
   3419 fi
   3420 rm -f conftest.err conftest.i conftest.$ac_ext
   3421 
   3422 done
   3423 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3424 rm -f conftest.i conftest.err conftest.$ac_ext
   3425 if $ac_preproc_ok; then :
   3426 
   3427 else
   3428   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3429 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3430 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   3431 See \`config.log' for more details" "$LINENO" 5; }
   3432 fi
   3433 
   3434 ac_ext=c
   3435 ac_cpp='$CPP $CPPFLAGS'
   3436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3439 
   3440 
   3441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   3442 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3443 if ${ac_cv_path_GREP+:} false; then :
   3444   $as_echo_n "(cached) " >&6
   3445 else
   3446   if test -z "$GREP"; then
   3447   ac_path_GREP_found=false
   3448   # Loop through the user's path and test for each of PROGNAME-LIST
   3449   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3450 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3451 do
   3452   IFS=$as_save_IFS
   3453   test -z "$as_dir" && as_dir=.
   3454     for ac_prog in grep ggrep; do
   3455     for ac_exec_ext in '' $ac_executable_extensions; do
   3456       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3457       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   3458 # Check for GNU ac_path_GREP and select it if it is found.
   3459   # Check for GNU $ac_path_GREP
   3460 case `"$ac_path_GREP" --version 2>&1` in
   3461 *GNU*)
   3462   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3463 *)
   3464   ac_count=0
   3465   $as_echo_n 0123456789 >"conftest.in"
   3466   while :
   3467   do
   3468     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3469     mv "conftest.tmp" "conftest.in"
   3470     cp "conftest.in" "conftest.nl"
   3471     $as_echo 'GREP' >> "conftest.nl"
   3472     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3473     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3474     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3475     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3476       # Best one so far, save it but keep looking for a better one
   3477       ac_cv_path_GREP="$ac_path_GREP"
   3478       ac_path_GREP_max=$ac_count
   3479     fi
   3480     # 10*(2^10) chars as input seems more than enough
   3481     test $ac_count -gt 10 && break
   3482   done
   3483   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3484 esac
   3485 
   3486       $ac_path_GREP_found && break 3
   3487     done
   3488   done
   3489   done
   3490 IFS=$as_save_IFS
   3491   if test -z "$ac_cv_path_GREP"; then
   3492     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3493   fi
   3494 else
   3495   ac_cv_path_GREP=$GREP
   3496 fi
   3497 
   3498 fi
   3499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   3500 $as_echo "$ac_cv_path_GREP" >&6; }
   3501  GREP="$ac_cv_path_GREP"
   3502 
   3503 
   3504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   3505 $as_echo_n "checking for egrep... " >&6; }
   3506 if ${ac_cv_path_EGREP+:} false; then :
   3507   $as_echo_n "(cached) " >&6
   3508 else
   3509   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3510    then ac_cv_path_EGREP="$GREP -E"
   3511    else
   3512      if test -z "$EGREP"; then
   3513   ac_path_EGREP_found=false
   3514   # Loop through the user's path and test for each of PROGNAME-LIST
   3515   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3516 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3517 do
   3518   IFS=$as_save_IFS
   3519   test -z "$as_dir" && as_dir=.
   3520     for ac_prog in egrep; do
   3521     for ac_exec_ext in '' $ac_executable_extensions; do
   3522       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   3523       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   3524 # Check for GNU ac_path_EGREP and select it if it is found.
   3525   # Check for GNU $ac_path_EGREP
   3526 case `"$ac_path_EGREP" --version 2>&1` in
   3527 *GNU*)
   3528   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   3529 *)
   3530   ac_count=0
   3531   $as_echo_n 0123456789 >"conftest.in"
   3532   while :
   3533   do
   3534     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3535     mv "conftest.tmp" "conftest.in"
   3536     cp "conftest.in" "conftest.nl"
   3537     $as_echo 'EGREP' >> "conftest.nl"
   3538     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3539     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3540     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3541     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   3542       # Best one so far, save it but keep looking for a better one
   3543       ac_cv_path_EGREP="$ac_path_EGREP"
   3544       ac_path_EGREP_max=$ac_count
   3545     fi
   3546     # 10*(2^10) chars as input seems more than enough
   3547     test $ac_count -gt 10 && break
   3548   done
   3549   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3550 esac
   3551 
   3552       $ac_path_EGREP_found && break 3
   3553     done
   3554   done
   3555   done
   3556 IFS=$as_save_IFS
   3557   if test -z "$ac_cv_path_EGREP"; then
   3558     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3559   fi
   3560 else
   3561   ac_cv_path_EGREP=$EGREP
   3562 fi
   3563 
   3564    fi
   3565 fi
   3566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   3567 $as_echo "$ac_cv_path_EGREP" >&6; }
   3568  EGREP="$ac_cv_path_EGREP"
   3569 
   3570 
   3571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   3572 $as_echo_n "checking for ANSI C header files... " >&6; }
   3573 if ${ac_cv_header_stdc+:} false; then :
   3574   $as_echo_n "(cached) " >&6
   3575 else
   3576   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3577 /* end confdefs.h.  */
   3578 #include <stdlib.h>
   3579 #include <stdarg.h>
   3580 #include <string.h>
   3581 #include <float.h>
   3582 
   3583 int
   3584 main ()
   3585 {
   3586 
   3587   ;
   3588   return 0;
   3589 }
   3590 _ACEOF
   3591 if ac_fn_c_try_compile "$LINENO"; then :
   3592   ac_cv_header_stdc=yes
   3593 else
   3594   ac_cv_header_stdc=no
   3595 fi
   3596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3597 
   3598 if test $ac_cv_header_stdc = yes; then
   3599   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   3600   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3601 /* end confdefs.h.  */
   3602 #include <string.h>
   3603 
   3604 _ACEOF
   3605 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3606   $EGREP "memchr" >/dev/null 2>&1; then :
   3607 
   3608 else
   3609   ac_cv_header_stdc=no
   3610 fi
   3611 rm -f conftest*
   3612 
   3613 fi
   3614 
   3615 if test $ac_cv_header_stdc = yes; then
   3616   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   3617   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3618 /* end confdefs.h.  */
   3619 #include <stdlib.h>
   3620 
   3621 _ACEOF
   3622 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3623   $EGREP "free" >/dev/null 2>&1; then :
   3624 
   3625 else
   3626   ac_cv_header_stdc=no
   3627 fi
   3628 rm -f conftest*
   3629 
   3630 fi
   3631 
   3632 if test $ac_cv_header_stdc = yes; then
   3633   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   3634   if test "$cross_compiling" = yes; then :
   3635   :
   3636 else
   3637   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3638 /* end confdefs.h.  */
   3639 #include <ctype.h>
   3640 #include <stdlib.h>
   3641 #if ((' ' & 0x0FF) == 0x020)
   3642 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   3643 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   3644 #else
   3645 # define ISLOWER(c) \
   3646 		   (('a' <= (c) && (c) <= 'i') \
   3647 		     || ('j' <= (c) && (c) <= 'r') \
   3648 		     || ('s' <= (c) && (c) <= 'z'))
   3649 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   3650 #endif
   3651 
   3652 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   3653 int
   3654 main ()
   3655 {
   3656   int i;
   3657   for (i = 0; i < 256; i++)
   3658     if (XOR (islower (i), ISLOWER (i))
   3659 	|| toupper (i) != TOUPPER (i))
   3660       return 2;
   3661   return 0;
   3662 }
   3663 _ACEOF
   3664 if ac_fn_c_try_run "$LINENO"; then :
   3665 
   3666 else
   3667   ac_cv_header_stdc=no
   3668 fi
   3669 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   3670   conftest.$ac_objext conftest.beam conftest.$ac_ext
   3671 fi
   3672 
   3673 fi
   3674 fi
   3675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   3676 $as_echo "$ac_cv_header_stdc" >&6; }
   3677 if test $ac_cv_header_stdc = yes; then
   3678 
   3679 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   3680 
   3681 fi
   3682 
   3683 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   3684 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   3685 		  inttypes.h stdint.h unistd.h
   3686 do :
   3687   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   3688 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   3689 "
   3690 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   3691   cat >>confdefs.h <<_ACEOF
   3692 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   3693 _ACEOF
   3694 
   3695 fi
   3696 
   3697 done
   3698 
   3699 
   3700 
   3701   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
   3702 if test "x$ac_cv_header_minix_config_h" = xyes; then :
   3703   MINIX=yes
   3704 else
   3705   MINIX=
   3706 fi
   3707 
   3708 
   3709   if test "$MINIX" = yes; then
   3710 
   3711 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
   3712 
   3713 
   3714 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
   3715 
   3716 
   3717 $as_echo "#define _MINIX 1" >>confdefs.h
   3718 
   3719   fi
   3720 
   3721 
   3722   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   3723 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   3724 if ${ac_cv_safe_to_define___extensions__+:} false; then :
   3725   $as_echo_n "(cached) " >&6
   3726 else
   3727   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3728 /* end confdefs.h.  */
   3729 
   3730 #	  define __EXTENSIONS__ 1
   3731 	  $ac_includes_default
   3732 int
   3733 main ()
   3734 {
   3735 
   3736   ;
   3737   return 0;
   3738 }
   3739 _ACEOF
   3740 if ac_fn_c_try_compile "$LINENO"; then :
   3741   ac_cv_safe_to_define___extensions__=yes
   3742 else
   3743   ac_cv_safe_to_define___extensions__=no
   3744 fi
   3745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3746 fi
   3747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   3748 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   3749   test $ac_cv_safe_to_define___extensions__ = yes &&
   3750     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
   3751 
   3752   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
   3753 
   3754   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   3755 
   3756   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   3757 
   3758   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
   3759 
   3760 
   3761 
   3762 # Initialize Automake
   3763 am__api_version='1.11'
   3764 
   3765 ac_aux_dir=
   3766 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   3767   if test -f "$ac_dir/install-sh"; then
   3768     ac_aux_dir=$ac_dir
   3769     ac_install_sh="$ac_aux_dir/install-sh -c"
   3770     break
   3771   elif test -f "$ac_dir/install.sh"; then
   3772     ac_aux_dir=$ac_dir
   3773     ac_install_sh="$ac_aux_dir/install.sh -c"
   3774     break
   3775   elif test -f "$ac_dir/shtool"; then
   3776     ac_aux_dir=$ac_dir
   3777     ac_install_sh="$ac_aux_dir/shtool install -c"
   3778     break
   3779   fi
   3780 done
   3781 if test -z "$ac_aux_dir"; then
   3782   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   3783 fi
   3784 
   3785 # These three variables are undocumented and unsupported,
   3786 # and are intended to be withdrawn in a future Autoconf release.
   3787 # They can cause serious problems if a builder's source tree is in a directory
   3788 # whose full name contains unusual characters.
   3789 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   3790 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   3791 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   3792 
   3793 
   3794 # Find a good install program.  We prefer a C program (faster),
   3795 # so one script is as good as another.  But avoid the broken or
   3796 # incompatible versions:
   3797 # SysV /etc/install, /usr/sbin/install
   3798 # SunOS /usr/etc/install
   3799 # IRIX /sbin/install
   3800 # AIX /bin/install
   3801 # AmigaOS /C/install, which installs bootblocks on floppy discs
   3802 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   3803 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   3804 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   3805 # OS/2's system install, which has a completely different semantic
   3806 # ./install, which can be erroneously created by make from ./install.sh.
   3807 # Reject install programs that cannot install multiple files.
   3808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   3809 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   3810 if test -z "$INSTALL"; then
   3811 if ${ac_cv_path_install+:} false; then :
   3812   $as_echo_n "(cached) " >&6
   3813 else
   3814   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3815 for as_dir in $PATH
   3816 do
   3817   IFS=$as_save_IFS
   3818   test -z "$as_dir" && as_dir=.
   3819     # Account for people who put trailing slashes in PATH elements.
   3820 case $as_dir/ in #((
   3821   ./ | .// | /[cC]/* | \
   3822   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   3823   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   3824   /usr/ucb/* ) ;;
   3825   *)
   3826     # OSF1 and SCO ODT 3.0 have their own names for install.
   3827     # Don't use installbsd from OSF since it installs stuff as root
   3828     # by default.
   3829     for ac_prog in ginstall scoinst install; do
   3830       for ac_exec_ext in '' $ac_executable_extensions; do
   3831 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   3832 	  if test $ac_prog = install &&
   3833 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3834 	    # AIX install.  It has an incompatible calling convention.
   3835 	    :
   3836 	  elif test $ac_prog = install &&
   3837 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3838 	    # program-specific install script used by HP pwplus--don't use.
   3839 	    :
   3840 	  else
   3841 	    rm -rf conftest.one conftest.two conftest.dir
   3842 	    echo one > conftest.one
   3843 	    echo two > conftest.two
   3844 	    mkdir conftest.dir
   3845 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   3846 	      test -s conftest.one && test -s conftest.two &&
   3847 	      test -s conftest.dir/conftest.one &&
   3848 	      test -s conftest.dir/conftest.two
   3849 	    then
   3850 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   3851 	      break 3
   3852 	    fi
   3853 	  fi
   3854 	fi
   3855       done
   3856     done
   3857     ;;
   3858 esac
   3859 
   3860   done
   3861 IFS=$as_save_IFS
   3862 
   3863 rm -rf conftest.one conftest.two conftest.dir
   3864 
   3865 fi
   3866   if test "${ac_cv_path_install+set}" = set; then
   3867     INSTALL=$ac_cv_path_install
   3868   else
   3869     # As a last resort, use the slow shell script.  Don't cache a
   3870     # value for INSTALL within a source directory, because that will
   3871     # break other packages using the cache if that directory is
   3872     # removed, or if the value is a relative name.
   3873     INSTALL=$ac_install_sh
   3874   fi
   3875 fi
   3876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   3877 $as_echo "$INSTALL" >&6; }
   3878 
   3879 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   3880 # It thinks the first close brace ends the variable substitution.
   3881 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   3882 
   3883 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   3884 
   3885 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   3886 
   3887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   3888 $as_echo_n "checking whether build environment is sane... " >&6; }
   3889 # Just in case
   3890 sleep 1
   3891 echo timestamp > conftest.file
   3892 # Reject unsafe characters in $srcdir or the absolute working directory
   3893 # name.  Accept space and tab only in the latter.
   3894 am_lf='
   3895 '
   3896 case `pwd` in
   3897   *[\\\"\#\$\&\'\`$am_lf]*)
   3898     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   3899 esac
   3900 case $srcdir in
   3901   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   3902     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
   3903 esac
   3904 
   3905 # Do `set' in a subshell so we don't clobber the current shell's
   3906 # arguments.  Must try -L first in case configure is actually a
   3907 # symlink; some systems play weird games with the mod time of symlinks
   3908 # (eg FreeBSD returns the mod time of the symlink's containing
   3909 # directory).
   3910 if (
   3911    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   3912    if test "$*" = "X"; then
   3913       # -L didn't work.
   3914       set X `ls -t "$srcdir/configure" conftest.file`
   3915    fi
   3916    rm -f conftest.file
   3917    if test "$*" != "X $srcdir/configure conftest.file" \
   3918       && test "$*" != "X conftest.file $srcdir/configure"; then
   3919 
   3920       # If neither matched, then we have a broken ls.  This can happen
   3921       # if, for instance, CONFIG_SHELL is bash and it inherits a
   3922       # broken ls alias from the environment.  This has actually
   3923       # happened.  Such a system could not be considered "sane".
   3924       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   3925 alias in your environment" "$LINENO" 5
   3926    fi
   3927 
   3928    test "$2" = conftest.file
   3929    )
   3930 then
   3931    # Ok.
   3932    :
   3933 else
   3934    as_fn_error $? "newly created file is older than distributed files!
   3935 Check your system clock" "$LINENO" 5
   3936 fi
   3937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3938 $as_echo "yes" >&6; }
   3939 test "$program_prefix" != NONE &&
   3940   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   3941 # Use a double $ so make ignores it.
   3942 test "$program_suffix" != NONE &&
   3943   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   3944 # Double any \ or $.
   3945 # By default was `s,x,x', remove it if useless.
   3946 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   3947 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   3948 
   3949 # expand $ac_aux_dir to an absolute path
   3950 am_aux_dir=`cd $ac_aux_dir && pwd`
   3951 
   3952 if test x"${MISSING+set}" != xset; then
   3953   case $am_aux_dir in
   3954   *\ * | *\	*)
   3955     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   3956   *)
   3957     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   3958   esac
   3959 fi
   3960 # Use eval to expand $SHELL
   3961 if eval "$MISSING --run true"; then
   3962   am_missing_run="$MISSING --run "
   3963 else
   3964   am_missing_run=
   3965   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
   3966 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   3967 fi
   3968 
   3969 if test x"${install_sh}" != xset; then
   3970   case $am_aux_dir in
   3971   *\ * | *\	*)
   3972     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   3973   *)
   3974     install_sh="\${SHELL} $am_aux_dir/install-sh"
   3975   esac
   3976 fi
   3977 
   3978 # Installed binaries are usually stripped using `strip' when the user
   3979 # run `make install-strip'.  However `strip' might not be the right
   3980 # tool to use in cross-compilation environments, therefore Automake
   3981 # will honor the `STRIP' environment variable to overrule this program.
   3982 if test "$cross_compiling" != no; then
   3983   if test -n "$ac_tool_prefix"; then
   3984   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   3985 set dummy ${ac_tool_prefix}strip; ac_word=$2
   3986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3987 $as_echo_n "checking for $ac_word... " >&6; }
   3988 if ${ac_cv_prog_STRIP+:} false; then :
   3989   $as_echo_n "(cached) " >&6
   3990 else
   3991   if test -n "$STRIP"; then
   3992   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   3993 else
   3994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3995 for as_dir in $PATH
   3996 do
   3997   IFS=$as_save_IFS
   3998   test -z "$as_dir" && as_dir=.
   3999     for ac_exec_ext in '' $ac_executable_extensions; do
   4000   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4001     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   4002     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4003     break 2
   4004   fi
   4005 done
   4006   done
   4007 IFS=$as_save_IFS
   4008 
   4009 fi
   4010 fi
   4011 STRIP=$ac_cv_prog_STRIP
   4012 if test -n "$STRIP"; then
   4013   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   4014 $as_echo "$STRIP" >&6; }
   4015 else
   4016   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4017 $as_echo "no" >&6; }
   4018 fi
   4019 
   4020 
   4021 fi
   4022 if test -z "$ac_cv_prog_STRIP"; then
   4023   ac_ct_STRIP=$STRIP
   4024   # Extract the first word of "strip", so it can be a program name with args.
   4025 set dummy strip; ac_word=$2
   4026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4027 $as_echo_n "checking for $ac_word... " >&6; }
   4028 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   4029   $as_echo_n "(cached) " >&6
   4030 else
   4031   if test -n "$ac_ct_STRIP"; then
   4032   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   4033 else
   4034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4035 for as_dir in $PATH
   4036 do
   4037   IFS=$as_save_IFS
   4038   test -z "$as_dir" && as_dir=.
   4039     for ac_exec_ext in '' $ac_executable_extensions; do
   4040   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4041     ac_cv_prog_ac_ct_STRIP="strip"
   4042     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4043     break 2
   4044   fi
   4045 done
   4046   done
   4047 IFS=$as_save_IFS
   4048 
   4049 fi
   4050 fi
   4051 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   4052 if test -n "$ac_ct_STRIP"; then
   4053   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   4054 $as_echo "$ac_ct_STRIP" >&6; }
   4055 else
   4056   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4057 $as_echo "no" >&6; }
   4058 fi
   4059 
   4060   if test "x$ac_ct_STRIP" = x; then
   4061     STRIP=":"
   4062   else
   4063     case $cross_compiling:$ac_tool_warned in
   4064 yes:)
   4065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4066 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4067 ac_tool_warned=yes ;;
   4068 esac
   4069     STRIP=$ac_ct_STRIP
   4070   fi
   4071 else
   4072   STRIP="$ac_cv_prog_STRIP"
   4073 fi
   4074 
   4075 fi
   4076 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   4077 
   4078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   4079 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   4080 if test -z "$MKDIR_P"; then
   4081   if ${ac_cv_path_mkdir+:} false; then :
   4082   $as_echo_n "(cached) " >&6
   4083 else
   4084   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4085 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   4086 do
   4087   IFS=$as_save_IFS
   4088   test -z "$as_dir" && as_dir=.
   4089     for ac_prog in mkdir gmkdir; do
   4090 	 for ac_exec_ext in '' $ac_executable_extensions; do
   4091 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   4092 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   4093 	     'mkdir (GNU coreutils) '* | \
   4094 	     'mkdir (coreutils) '* | \
   4095 	     'mkdir (fileutils) '4.1*)
   4096 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   4097 	       break 3;;
   4098 	   esac
   4099 	 done
   4100        done
   4101   done
   4102 IFS=$as_save_IFS
   4103 
   4104 fi
   4105 
   4106   test -d ./--version && rmdir ./--version
   4107   if test "${ac_cv_path_mkdir+set}" = set; then
   4108     MKDIR_P="$ac_cv_path_mkdir -p"
   4109   else
   4110     # As a last resort, use the slow shell script.  Don't cache a
   4111     # value for MKDIR_P within a source directory, because that will
   4112     # break other packages using the cache if that directory is
   4113     # removed, or if the value is a relative name.
   4114     MKDIR_P="$ac_install_sh -d"
   4115   fi
   4116 fi
   4117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   4118 $as_echo "$MKDIR_P" >&6; }
   4119 
   4120 mkdir_p="$MKDIR_P"
   4121 case $mkdir_p in
   4122   [\\/$]* | ?:[\\/]*) ;;
   4123   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   4124 esac
   4125 
   4126 for ac_prog in gawk mawk nawk awk
   4127 do
   4128   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4129 set dummy $ac_prog; ac_word=$2
   4130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4131 $as_echo_n "checking for $ac_word... " >&6; }
   4132 if ${ac_cv_prog_AWK+:} false; then :
   4133   $as_echo_n "(cached) " >&6
   4134 else
   4135   if test -n "$AWK"; then
   4136   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   4137 else
   4138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4139 for as_dir in $PATH
   4140 do
   4141   IFS=$as_save_IFS
   4142   test -z "$as_dir" && as_dir=.
   4143     for ac_exec_ext in '' $ac_executable_extensions; do
   4144   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4145     ac_cv_prog_AWK="$ac_prog"
   4146     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4147     break 2
   4148   fi
   4149 done
   4150   done
   4151 IFS=$as_save_IFS
   4152 
   4153 fi
   4154 fi
   4155 AWK=$ac_cv_prog_AWK
   4156 if test -n "$AWK"; then
   4157   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   4158 $as_echo "$AWK" >&6; }
   4159 else
   4160   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4161 $as_echo "no" >&6; }
   4162 fi
   4163 
   4164 
   4165   test -n "$AWK" && break
   4166 done
   4167 
   4168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   4169 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   4170 set x ${MAKE-make}
   4171 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   4172 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   4173   $as_echo_n "(cached) " >&6
   4174 else
   4175   cat >conftest.make <<\_ACEOF
   4176 SHELL = /bin/sh
   4177 all:
   4178 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   4179 _ACEOF
   4180 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   4181 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   4182   *@@@%%%=?*=@@@%%%*)
   4183     eval ac_cv_prog_make_${ac_make}_set=yes;;
   4184   *)
   4185     eval ac_cv_prog_make_${ac_make}_set=no;;
   4186 esac
   4187 rm -f conftest.make
   4188 fi
   4189 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   4190   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4191 $as_echo "yes" >&6; }
   4192   SET_MAKE=
   4193 else
   4194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4195 $as_echo "no" >&6; }
   4196   SET_MAKE="MAKE=${MAKE-make}"
   4197 fi
   4198 
   4199 rm -rf .tst 2>/dev/null
   4200 mkdir .tst 2>/dev/null
   4201 if test -d .tst; then
   4202   am__leading_dot=.
   4203 else
   4204   am__leading_dot=_
   4205 fi
   4206 rmdir .tst 2>/dev/null
   4207 
   4208 DEPDIR="${am__leading_dot}deps"
   4209 
   4210 ac_config_commands="$ac_config_commands depfiles"
   4211 
   4212 
   4213 am_make=${MAKE-make}
   4214 cat > confinc << 'END'
   4215 am__doit:
   4216 	@echo this is the am__doit target
   4217 .PHONY: am__doit
   4218 END
   4219 # If we don't find an include directive, just comment out the code.
   4220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   4221 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   4222 am__include="#"
   4223 am__quote=
   4224 _am_result=none
   4225 # First try GNU make style include.
   4226 echo "include confinc" > confmf
   4227 # Ignore all kinds of additional output from `make'.
   4228 case `$am_make -s -f confmf 2> /dev/null` in #(
   4229 *the\ am__doit\ target*)
   4230   am__include=include
   4231   am__quote=
   4232   _am_result=GNU
   4233   ;;
   4234 esac
   4235 # Now try BSD make style include.
   4236 if test "$am__include" = "#"; then
   4237    echo '.include "confinc"' > confmf
   4238    case `$am_make -s -f confmf 2> /dev/null` in #(
   4239    *the\ am__doit\ target*)
   4240      am__include=.include
   4241      am__quote="\""
   4242      _am_result=BSD
   4243      ;;
   4244    esac
   4245 fi
   4246 
   4247 
   4248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   4249 $as_echo "$_am_result" >&6; }
   4250 rm -f confinc confmf
   4251 
   4252 # Check whether --enable-dependency-tracking was given.
   4253 if test "${enable_dependency_tracking+set}" = set; then :
   4254   enableval=$enable_dependency_tracking;
   4255 fi
   4256 
   4257 if test "x$enable_dependency_tracking" != xno; then
   4258   am_depcomp="$ac_aux_dir/depcomp"
   4259   AMDEPBACKSLASH='\'
   4260 fi
   4261  if test "x$enable_dependency_tracking" != xno; then
   4262   AMDEP_TRUE=
   4263   AMDEP_FALSE='#'
   4264 else
   4265   AMDEP_TRUE='#'
   4266   AMDEP_FALSE=
   4267 fi
   4268 
   4269 
   4270 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   4271   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   4272   # is not polluted with repeated "-I."
   4273   am__isrc=' -I$(srcdir)'
   4274   # test to see if srcdir already configured
   4275   if test -f $srcdir/config.status; then
   4276     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   4277   fi
   4278 fi
   4279 
   4280 # test whether we have cygpath
   4281 if test -z "$CYGPATH_W"; then
   4282   if (cygpath --version) >/dev/null 2>/dev/null; then
   4283     CYGPATH_W='cygpath -w'
   4284   else
   4285     CYGPATH_W=echo
   4286   fi
   4287 fi
   4288 
   4289 
   4290 # Define the identity of the package.
   4291  PACKAGE='libICE'
   4292  VERSION='1.0.8'
   4293 
   4294 
   4295 cat >>confdefs.h <<_ACEOF
   4296 #define PACKAGE "$PACKAGE"
   4297 _ACEOF
   4298 
   4299 
   4300 cat >>confdefs.h <<_ACEOF
   4301 #define VERSION "$VERSION"
   4302 _ACEOF
   4303 
   4304 # Some tools Automake needs.
   4305 
   4306 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   4307 
   4308 
   4309 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   4310 
   4311 
   4312 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   4313 
   4314 
   4315 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   4316 
   4317 
   4318 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   4319 
   4320 # We need awk for the "check" target.  The system "awk" is bad on
   4321 # some platforms.
   4322 # Always define AMTAR for backward compatibility.
   4323 
   4324 AMTAR=${AMTAR-"${am_missing_run}tar"}
   4325 
   4326 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   4327 
   4328 
   4329 
   4330 
   4331 depcc="$CC"   am_compiler_list=
   4332 
   4333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4334 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4335 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4336   $as_echo_n "(cached) " >&6
   4337 else
   4338   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4339   # We make a subdir and do the tests there.  Otherwise we can end up
   4340   # making bogus files that we don't know about and never remove.  For
   4341   # instance it was reported that on HP-UX the gcc test will end up
   4342   # making a dummy file named `D' -- because `-MD' means `put the output
   4343   # in D'.
   4344   mkdir conftest.dir
   4345   # Copy depcomp to subdir because otherwise we won't find it if we're
   4346   # using a relative directory.
   4347   cp "$am_depcomp" conftest.dir
   4348   cd conftest.dir
   4349   # We will build objects and dependencies in a subdirectory because
   4350   # it helps to detect inapplicable dependency modes.  For instance
   4351   # both Tru64's cc and ICC support -MD to output dependencies as a
   4352   # side effect of compilation, but ICC will put the dependencies in
   4353   # the current directory while Tru64 will put them in the object
   4354   # directory.
   4355   mkdir sub
   4356 
   4357   am_cv_CC_dependencies_compiler_type=none
   4358   if test "$am_compiler_list" = ""; then
   4359      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4360   fi
   4361   am__universal=false
   4362   case " $depcc " in #(
   4363      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4364      esac
   4365 
   4366   for depmode in $am_compiler_list; do
   4367     # Setup a source with many dependencies, because some compilers
   4368     # like to wrap large dependency lists on column 80 (with \), and
   4369     # we should not choose a depcomp mode which is confused by this.
   4370     #
   4371     # We need to recreate these files for each test, as the compiler may
   4372     # overwrite some of them when testing with obscure command lines.
   4373     # This happens at least with the AIX C compiler.
   4374     : > sub/conftest.c
   4375     for i in 1 2 3 4 5 6; do
   4376       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4377       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   4378       # Solaris 8's {/usr,}/bin/sh.
   4379       touch sub/conftst$i.h
   4380     done
   4381     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4382 
   4383     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   4384     # mode.  It turns out that the SunPro C++ compiler does not properly
   4385     # handle `-M -o', and we need to detect this.  Also, some Intel
   4386     # versions had trouble with output in subdirs
   4387     am__obj=sub/conftest.${OBJEXT-o}
   4388     am__minus_obj="-o $am__obj"
   4389     case $depmode in
   4390     gcc)
   4391       # This depmode causes a compiler race in universal mode.
   4392       test "$am__universal" = false || continue
   4393       ;;
   4394     nosideeffect)
   4395       # after this tag, mechanisms are not by side-effect, so they'll
   4396       # only be used when explicitly requested
   4397       if test "x$enable_dependency_tracking" = xyes; then
   4398 	continue
   4399       else
   4400 	break
   4401       fi
   4402       ;;
   4403     msvisualcpp | msvcmsys)
   4404       # This compiler won't grok `-c -o', but also, the minuso test has
   4405       # not run yet.  These depmodes are late enough in the game, and
   4406       # so weak that their functioning should not be impacted.
   4407       am__obj=conftest.${OBJEXT-o}
   4408       am__minus_obj=
   4409       ;;
   4410     none) break ;;
   4411     esac
   4412     if depmode=$depmode \
   4413        source=sub/conftest.c object=$am__obj \
   4414        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4415        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4416          >/dev/null 2>conftest.err &&
   4417        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4418        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4419        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4420        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4421       # icc doesn't choke on unknown options, it will just issue warnings
   4422       # or remarks (even with -Werror).  So we grep stderr for any message
   4423       # that says an option was ignored or not supported.
   4424       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4425       #   icc: Command line warning: ignoring option '-M'; no argument required
   4426       # The diagnosis changed in icc 8.0:
   4427       #   icc: Command line remark: option '-MP' not supported
   4428       if (grep 'ignoring option' conftest.err ||
   4429           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4430         am_cv_CC_dependencies_compiler_type=$depmode
   4431         break
   4432       fi
   4433     fi
   4434   done
   4435 
   4436   cd ..
   4437   rm -rf conftest.dir
   4438 else
   4439   am_cv_CC_dependencies_compiler_type=none
   4440 fi
   4441 
   4442 fi
   4443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4444 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4445 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4446 
   4447  if
   4448   test "x$enable_dependency_tracking" != xno \
   4449   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4450   am__fastdepCC_TRUE=
   4451   am__fastdepCC_FALSE='#'
   4452 else
   4453   am__fastdepCC_TRUE='#'
   4454   am__fastdepCC_FALSE=
   4455 fi
   4456 
   4457 
   4458 
   4459 
   4460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   4461 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   4462     # Check whether --enable-maintainer-mode was given.
   4463 if test "${enable_maintainer_mode+set}" = set; then :
   4464   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   4465 else
   4466   USE_MAINTAINER_MODE=no
   4467 fi
   4468 
   4469   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   4470 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   4471    if test $USE_MAINTAINER_MODE = yes; then
   4472   MAINTAINER_MODE_TRUE=
   4473   MAINTAINER_MODE_FALSE='#'
   4474 else
   4475   MAINTAINER_MODE_TRUE='#'
   4476   MAINTAINER_MODE_FALSE=
   4477 fi
   4478 
   4479   MAINT=$MAINTAINER_MODE_TRUE
   4480 
   4481 
   4482 
   4483 # Initialize libtool
   4484 case `pwd` in
   4485   *\ * | *\	*)
   4486     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   4487 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   4488 esac
   4489 
   4490 
   4491 
   4492 macro_version='2.4'
   4493 macro_revision='1.3293'
   4494 
   4495 
   4496 
   4497 
   4498 
   4499 
   4500 
   4501 
   4502 
   4503 
   4504 
   4505 
   4506 
   4507 ltmain="$ac_aux_dir/ltmain.sh"
   4508 
   4509 # Make sure we can run config.sub.
   4510 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4511   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4512 
   4513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4514 $as_echo_n "checking build system type... " >&6; }
   4515 if ${ac_cv_build+:} false; then :
   4516   $as_echo_n "(cached) " >&6
   4517 else
   4518   ac_build_alias=$build_alias
   4519 test "x$ac_build_alias" = x &&
   4520   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4521 test "x$ac_build_alias" = x &&
   4522   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4523 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4524   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4525 
   4526 fi
   4527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4528 $as_echo "$ac_cv_build" >&6; }
   4529 case $ac_cv_build in
   4530 *-*-*) ;;
   4531 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4532 esac
   4533 build=$ac_cv_build
   4534 ac_save_IFS=$IFS; IFS='-'
   4535 set x $ac_cv_build
   4536 shift
   4537 build_cpu=$1
   4538 build_vendor=$2
   4539 shift; shift
   4540 # Remember, the first character of IFS is used to create $*,
   4541 # except with old shells:
   4542 build_os=$*
   4543 IFS=$ac_save_IFS
   4544 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4545 
   4546 
   4547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4548 $as_echo_n "checking host system type... " >&6; }
   4549 if ${ac_cv_host+:} false; then :
   4550   $as_echo_n "(cached) " >&6
   4551 else
   4552   if test "x$host_alias" = x; then
   4553   ac_cv_host=$ac_cv_build
   4554 else
   4555   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4556     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4557 fi
   4558 
   4559 fi
   4560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4561 $as_echo "$ac_cv_host" >&6; }
   4562 case $ac_cv_host in
   4563 *-*-*) ;;
   4564 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4565 esac
   4566 host=$ac_cv_host
   4567 ac_save_IFS=$IFS; IFS='-'
   4568 set x $ac_cv_host
   4569 shift
   4570 host_cpu=$1
   4571 host_vendor=$2
   4572 shift; shift
   4573 # Remember, the first character of IFS is used to create $*,
   4574 # except with old shells:
   4575 host_os=$*
   4576 IFS=$ac_save_IFS
   4577 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4578 
   4579 
   4580 # Backslashify metacharacters that are still active within
   4581 # double-quoted strings.
   4582 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   4583 
   4584 # Same as above, but do not quote variable references.
   4585 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   4586 
   4587 # Sed substitution to delay expansion of an escaped shell variable in a
   4588 # double_quote_subst'ed string.
   4589 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   4590 
   4591 # Sed substitution to delay expansion of an escaped single quote.
   4592 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   4593 
   4594 # Sed substitution to avoid accidental globbing in evaled expressions
   4595 no_glob_subst='s/\*/\\\*/g'
   4596 
   4597 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   4598 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   4599 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   4600 
   4601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   4602 $as_echo_n "checking how to print strings... " >&6; }
   4603 # Test print first, because it will be a builtin if present.
   4604 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   4605    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   4606   ECHO='print -r --'
   4607 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   4608   ECHO='printf %s\n'
   4609 else
   4610   # Use this function as a fallback that always works.
   4611   func_fallback_echo ()
   4612   {
   4613     eval 'cat <<_LTECHO_EOF
   4614 $1
   4615 _LTECHO_EOF'
   4616   }
   4617   ECHO='func_fallback_echo'
   4618 fi
   4619 
   4620 # func_echo_all arg...
   4621 # Invoke $ECHO with all args, space-separated.
   4622 func_echo_all ()
   4623 {
   4624     $ECHO ""
   4625 }
   4626 
   4627 case "$ECHO" in
   4628   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   4629 $as_echo "printf" >&6; } ;;
   4630   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   4631 $as_echo "print -r" >&6; } ;;
   4632   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   4633 $as_echo "cat" >&6; } ;;
   4634 esac
   4635 
   4636 
   4637 
   4638 
   4639 
   4640 
   4641 
   4642 
   4643 
   4644 
   4645 
   4646 
   4647 
   4648 
   4649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4650 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4651 if ${ac_cv_path_SED+:} false; then :
   4652   $as_echo_n "(cached) " >&6
   4653 else
   4654             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4655      for ac_i in 1 2 3 4 5 6 7; do
   4656        ac_script="$ac_script$as_nl$ac_script"
   4657      done
   4658      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4659      { ac_script=; unset ac_script;}
   4660      if test -z "$SED"; then
   4661   ac_path_SED_found=false
   4662   # Loop through the user's path and test for each of PROGNAME-LIST
   4663   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4664 for as_dir in $PATH
   4665 do
   4666   IFS=$as_save_IFS
   4667   test -z "$as_dir" && as_dir=.
   4668     for ac_prog in sed gsed; do
   4669     for ac_exec_ext in '' $ac_executable_extensions; do
   4670       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4671       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   4672 # Check for GNU ac_path_SED and select it if it is found.
   4673   # Check for GNU $ac_path_SED
   4674 case `"$ac_path_SED" --version 2>&1` in
   4675 *GNU*)
   4676   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4677 *)
   4678   ac_count=0
   4679   $as_echo_n 0123456789 >"conftest.in"
   4680   while :
   4681   do
   4682     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4683     mv "conftest.tmp" "conftest.in"
   4684     cp "conftest.in" "conftest.nl"
   4685     $as_echo '' >> "conftest.nl"
   4686     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4687     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4688     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4689     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4690       # Best one so far, save it but keep looking for a better one
   4691       ac_cv_path_SED="$ac_path_SED"
   4692       ac_path_SED_max=$ac_count
   4693     fi
   4694     # 10*(2^10) chars as input seems more than enough
   4695     test $ac_count -gt 10 && break
   4696   done
   4697   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4698 esac
   4699 
   4700       $ac_path_SED_found && break 3
   4701     done
   4702   done
   4703   done
   4704 IFS=$as_save_IFS
   4705   if test -z "$ac_cv_path_SED"; then
   4706     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4707   fi
   4708 else
   4709   ac_cv_path_SED=$SED
   4710 fi
   4711 
   4712 fi
   4713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4714 $as_echo "$ac_cv_path_SED" >&6; }
   4715  SED="$ac_cv_path_SED"
   4716   rm -f conftest.sed
   4717 
   4718 test -z "$SED" && SED=sed
   4719 Xsed="$SED -e 1s/^X//"
   4720 
   4721 
   4722 
   4723 
   4724 
   4725 
   4726 
   4727 
   4728 
   4729 
   4730 
   4731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4732 $as_echo_n "checking for fgrep... " >&6; }
   4733 if ${ac_cv_path_FGREP+:} false; then :
   4734   $as_echo_n "(cached) " >&6
   4735 else
   4736   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4737    then ac_cv_path_FGREP="$GREP -F"
   4738    else
   4739      if test -z "$FGREP"; then
   4740   ac_path_FGREP_found=false
   4741   # Loop through the user's path and test for each of PROGNAME-LIST
   4742   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4743 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4744 do
   4745   IFS=$as_save_IFS
   4746   test -z "$as_dir" && as_dir=.
   4747     for ac_prog in fgrep; do
   4748     for ac_exec_ext in '' $ac_executable_extensions; do
   4749       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4750       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   4751 # Check for GNU ac_path_FGREP and select it if it is found.
   4752   # Check for GNU $ac_path_FGREP
   4753 case `"$ac_path_FGREP" --version 2>&1` in
   4754 *GNU*)
   4755   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4756 *)
   4757   ac_count=0
   4758   $as_echo_n 0123456789 >"conftest.in"
   4759   while :
   4760   do
   4761     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4762     mv "conftest.tmp" "conftest.in"
   4763     cp "conftest.in" "conftest.nl"
   4764     $as_echo 'FGREP' >> "conftest.nl"
   4765     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4766     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4767     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4768     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4769       # Best one so far, save it but keep looking for a better one
   4770       ac_cv_path_FGREP="$ac_path_FGREP"
   4771       ac_path_FGREP_max=$ac_count
   4772     fi
   4773     # 10*(2^10) chars as input seems more than enough
   4774     test $ac_count -gt 10 && break
   4775   done
   4776   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4777 esac
   4778 
   4779       $ac_path_FGREP_found && break 3
   4780     done
   4781   done
   4782   done
   4783 IFS=$as_save_IFS
   4784   if test -z "$ac_cv_path_FGREP"; then
   4785     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4786   fi
   4787 else
   4788   ac_cv_path_FGREP=$FGREP
   4789 fi
   4790 
   4791    fi
   4792 fi
   4793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4794 $as_echo "$ac_cv_path_FGREP" >&6; }
   4795  FGREP="$ac_cv_path_FGREP"
   4796 
   4797 
   4798 test -z "$GREP" && GREP=grep
   4799 
   4800 
   4801 
   4802 
   4803 
   4804 
   4805 
   4806 
   4807 
   4808 
   4809 
   4810 
   4811 
   4812 
   4813 
   4814 
   4815 
   4816 
   4817 
   4818 # Check whether --with-gnu-ld was given.
   4819 if test "${with_gnu_ld+set}" = set; then :
   4820   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4821 else
   4822   with_gnu_ld=no
   4823 fi
   4824 
   4825 ac_prog=ld
   4826 if test "$GCC" = yes; then
   4827   # Check if gcc -print-prog-name=ld gives a path.
   4828   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   4829 $as_echo_n "checking for ld used by $CC... " >&6; }
   4830   case $host in
   4831   *-*-mingw*)
   4832     # gcc leaves a trailing carriage return which upsets mingw
   4833     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4834   *)
   4835     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4836   esac
   4837   case $ac_prog in
   4838     # Accept absolute paths.
   4839     [\\/]* | ?:[\\/]*)
   4840       re_direlt='/[^/][^/]*/\.\./'
   4841       # Canonicalize the pathname of ld
   4842       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4843       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4844 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4845       done
   4846       test -z "$LD" && LD="$ac_prog"
   4847       ;;
   4848   "")
   4849     # If it fails, then pretend we aren't using GCC.
   4850     ac_prog=ld
   4851     ;;
   4852   *)
   4853     # If it is relative, then search for the first ld in PATH.
   4854     with_gnu_ld=unknown
   4855     ;;
   4856   esac
   4857 elif test "$with_gnu_ld" = yes; then
   4858   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   4859 $as_echo_n "checking for GNU ld... " >&6; }
   4860 else
   4861   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   4862 $as_echo_n "checking for non-GNU ld... " >&6; }
   4863 fi
   4864 if ${lt_cv_path_LD+:} false; then :
   4865   $as_echo_n "(cached) " >&6
   4866 else
   4867   if test -z "$LD"; then
   4868   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4869   for ac_dir in $PATH; do
   4870     IFS="$lt_save_ifs"
   4871     test -z "$ac_dir" && ac_dir=.
   4872     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4873       lt_cv_path_LD="$ac_dir/$ac_prog"
   4874       # Check to see if the program is GNU ld.  I'd rather use --version,
   4875       # but apparently some variants of GNU ld only accept -v.
   4876       # Break only if it was the GNU/non-GNU ld that we prefer.
   4877       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4878       *GNU* | *'with BFD'*)
   4879 	test "$with_gnu_ld" != no && break
   4880 	;;
   4881       *)
   4882 	test "$with_gnu_ld" != yes && break
   4883 	;;
   4884       esac
   4885     fi
   4886   done
   4887   IFS="$lt_save_ifs"
   4888 else
   4889   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4890 fi
   4891 fi
   4892 
   4893 LD="$lt_cv_path_LD"
   4894 if test -n "$LD"; then
   4895   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   4896 $as_echo "$LD" >&6; }
   4897 else
   4898   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4899 $as_echo "no" >&6; }
   4900 fi
   4901 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   4902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   4903 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4904 if ${lt_cv_prog_gnu_ld+:} false; then :
   4905   $as_echo_n "(cached) " >&6
   4906 else
   4907   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4908 case `$LD -v 2>&1 </dev/null` in
   4909 *GNU* | *'with BFD'*)
   4910   lt_cv_prog_gnu_ld=yes
   4911   ;;
   4912 *)
   4913   lt_cv_prog_gnu_ld=no
   4914   ;;
   4915 esac
   4916 fi
   4917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   4918 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4919 with_gnu_ld=$lt_cv_prog_gnu_ld
   4920 
   4921 
   4922 
   4923 
   4924 
   4925 
   4926 
   4927 
   4928 
   4929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   4930 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   4931 if ${lt_cv_path_NM+:} false; then :
   4932   $as_echo_n "(cached) " >&6
   4933 else
   4934   if test -n "$NM"; then
   4935   # Let the user override the test.
   4936   lt_cv_path_NM="$NM"
   4937 else
   4938   lt_nm_to_check="${ac_tool_prefix}nm"
   4939   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4940     lt_nm_to_check="$lt_nm_to_check nm"
   4941   fi
   4942   for lt_tmp_nm in $lt_nm_to_check; do
   4943     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4944     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4945       IFS="$lt_save_ifs"
   4946       test -z "$ac_dir" && ac_dir=.
   4947       tmp_nm="$ac_dir/$lt_tmp_nm"
   4948       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4949 	# Check to see if the nm accepts a BSD-compat flag.
   4950 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4951 	#   nm: unknown option "B" ignored
   4952 	# Tru64's nm complains that /dev/null is an invalid object file
   4953 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4954 	*/dev/null* | *'Invalid file or object type'*)
   4955 	  lt_cv_path_NM="$tmp_nm -B"
   4956 	  break
   4957 	  ;;
   4958 	*)
   4959 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4960 	  */dev/null*)
   4961 	    lt_cv_path_NM="$tmp_nm -p"
   4962 	    break
   4963 	    ;;
   4964 	  *)
   4965 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4966 	    continue # so that we can try to find one that supports BSD flags
   4967 	    ;;
   4968 	  esac
   4969 	  ;;
   4970 	esac
   4971       fi
   4972     done
   4973     IFS="$lt_save_ifs"
   4974   done
   4975   : ${lt_cv_path_NM=no}
   4976 fi
   4977 fi
   4978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   4979 $as_echo "$lt_cv_path_NM" >&6; }
   4980 if test "$lt_cv_path_NM" != "no"; then
   4981   NM="$lt_cv_path_NM"
   4982 else
   4983   # Didn't find any BSD compatible name lister, look for dumpbin.
   4984   if test -n "$DUMPBIN"; then :
   4985     # Let the user override the test.
   4986   else
   4987     if test -n "$ac_tool_prefix"; then
   4988   for ac_prog in dumpbin "link -dump"
   4989   do
   4990     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4991 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4993 $as_echo_n "checking for $ac_word... " >&6; }
   4994 if ${ac_cv_prog_DUMPBIN+:} false; then :
   4995   $as_echo_n "(cached) " >&6
   4996 else
   4997   if test -n "$DUMPBIN"; then
   4998   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   4999 else
   5000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5001 for as_dir in $PATH
   5002 do
   5003   IFS=$as_save_IFS
   5004   test -z "$as_dir" && as_dir=.
   5005     for ac_exec_ext in '' $ac_executable_extensions; do
   5006   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5007     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5008     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5009     break 2
   5010   fi
   5011 done
   5012   done
   5013 IFS=$as_save_IFS
   5014 
   5015 fi
   5016 fi
   5017 DUMPBIN=$ac_cv_prog_DUMPBIN
   5018 if test -n "$DUMPBIN"; then
   5019   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5020 $as_echo "$DUMPBIN" >&6; }
   5021 else
   5022   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5023 $as_echo "no" >&6; }
   5024 fi
   5025 
   5026 
   5027     test -n "$DUMPBIN" && break
   5028   done
   5029 fi
   5030 if test -z "$DUMPBIN"; then
   5031   ac_ct_DUMPBIN=$DUMPBIN
   5032   for ac_prog in dumpbin "link -dump"
   5033 do
   5034   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5035 set dummy $ac_prog; ac_word=$2
   5036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5037 $as_echo_n "checking for $ac_word... " >&6; }
   5038 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   5039   $as_echo_n "(cached) " >&6
   5040 else
   5041   if test -n "$ac_ct_DUMPBIN"; then
   5042   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5043 else
   5044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5045 for as_dir in $PATH
   5046 do
   5047   IFS=$as_save_IFS
   5048   test -z "$as_dir" && as_dir=.
   5049     for ac_exec_ext in '' $ac_executable_extensions; do
   5050   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5051     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5052     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5053     break 2
   5054   fi
   5055 done
   5056   done
   5057 IFS=$as_save_IFS
   5058 
   5059 fi
   5060 fi
   5061 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5062 if test -n "$ac_ct_DUMPBIN"; then
   5063   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5064 $as_echo "$ac_ct_DUMPBIN" >&6; }
   5065 else
   5066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5067 $as_echo "no" >&6; }
   5068 fi
   5069 
   5070 
   5071   test -n "$ac_ct_DUMPBIN" && break
   5072 done
   5073 
   5074   if test "x$ac_ct_DUMPBIN" = x; then
   5075     DUMPBIN=":"
   5076   else
   5077     case $cross_compiling:$ac_tool_warned in
   5078 yes:)
   5079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5080 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5081 ac_tool_warned=yes ;;
   5082 esac
   5083     DUMPBIN=$ac_ct_DUMPBIN
   5084   fi
   5085 fi
   5086 
   5087     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   5088     *COFF*)
   5089       DUMPBIN="$DUMPBIN -symbols"
   5090       ;;
   5091     *)
   5092       DUMPBIN=:
   5093       ;;
   5094     esac
   5095   fi
   5096 
   5097   if test "$DUMPBIN" != ":"; then
   5098     NM="$DUMPBIN"
   5099   fi
   5100 fi
   5101 test -z "$NM" && NM=nm
   5102 
   5103 
   5104 
   5105 
   5106 
   5107 
   5108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5109 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   5110 if ${lt_cv_nm_interface+:} false; then :
   5111   $as_echo_n "(cached) " >&6
   5112 else
   5113   lt_cv_nm_interface="BSD nm"
   5114   echo "int some_variable = 0;" > conftest.$ac_ext
   5115   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5116   (eval "$ac_compile" 2>conftest.err)
   5117   cat conftest.err >&5
   5118   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5119   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5120   cat conftest.err >&5
   5121   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5122   cat conftest.out >&5
   5123   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5124     lt_cv_nm_interface="MS dumpbin"
   5125   fi
   5126   rm -f conftest*
   5127 fi
   5128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5129 $as_echo "$lt_cv_nm_interface" >&6; }
   5130 
   5131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5132 $as_echo_n "checking whether ln -s works... " >&6; }
   5133 LN_S=$as_ln_s
   5134 if test "$LN_S" = "ln -s"; then
   5135   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5136 $as_echo "yes" >&6; }
   5137 else
   5138   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5139 $as_echo "no, using $LN_S" >&6; }
   5140 fi
   5141 
   5142 # find the maximum length of command line arguments
   5143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5144 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   5145 if ${lt_cv_sys_max_cmd_len+:} false; then :
   5146   $as_echo_n "(cached) " >&6
   5147 else
   5148     i=0
   5149   teststring="ABCD"
   5150 
   5151   case $build_os in
   5152   msdosdjgpp*)
   5153     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5154     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5155     # during glob expansion).  Even if it were fixed, the result of this
   5156     # check would be larger than it should be.
   5157     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5158     ;;
   5159 
   5160   gnu*)
   5161     # Under GNU Hurd, this test is not required because there is
   5162     # no limit to the length of command line arguments.
   5163     # Libtool will interpret -1 as no limit whatsoever
   5164     lt_cv_sys_max_cmd_len=-1;
   5165     ;;
   5166 
   5167   cygwin* | mingw* | cegcc*)
   5168     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5169     # about 5 minutes as the teststring grows exponentially.
   5170     # Worse, since 9x/ME are not pre-emptively multitasking,
   5171     # you end up with a "frozen" computer, even though with patience
   5172     # the test eventually succeeds (with a max line length of 256k).
   5173     # Instead, let's just punt: use the minimum linelength reported by
   5174     # all of the supported platforms: 8192 (on NT/2K/XP).
   5175     lt_cv_sys_max_cmd_len=8192;
   5176     ;;
   5177 
   5178   mint*)
   5179     # On MiNT this can take a long time and run out of memory.
   5180     lt_cv_sys_max_cmd_len=8192;
   5181     ;;
   5182 
   5183   amigaos*)
   5184     # On AmigaOS with pdksh, this test takes hours, literally.
   5185     # So we just punt and use a minimum line length of 8192.
   5186     lt_cv_sys_max_cmd_len=8192;
   5187     ;;
   5188 
   5189   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   5190     # This has been around since 386BSD, at least.  Likely further.
   5191     if test -x /sbin/sysctl; then
   5192       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5193     elif test -x /usr/sbin/sysctl; then
   5194       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5195     else
   5196       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5197     fi
   5198     # And add a safety zone
   5199     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5200     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5201     ;;
   5202 
   5203   interix*)
   5204     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5205     lt_cv_sys_max_cmd_len=196608
   5206     ;;
   5207 
   5208   osf*)
   5209     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5210     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5211     # nice to cause kernel panics so lets avoid the loop below.
   5212     # First set a reasonable default.
   5213     lt_cv_sys_max_cmd_len=16384
   5214     #
   5215     if test -x /sbin/sysconfig; then
   5216       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5217         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5218       esac
   5219     fi
   5220     ;;
   5221   sco3.2v5*)
   5222     lt_cv_sys_max_cmd_len=102400
   5223     ;;
   5224   sysv5* | sco5v6* | sysv4.2uw2*)
   5225     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5226     if test -n "$kargmax"; then
   5227       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   5228     else
   5229       lt_cv_sys_max_cmd_len=32768
   5230     fi
   5231     ;;
   5232   *)
   5233     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5234     if test -n "$lt_cv_sys_max_cmd_len"; then
   5235       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5236       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5237     else
   5238       # Make teststring a little bigger before we do anything with it.
   5239       # a 1K string should be a reasonable start.
   5240       for i in 1 2 3 4 5 6 7 8 ; do
   5241         teststring=$teststring$teststring
   5242       done
   5243       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5244       # If test is not a shell built-in, we'll probably end up computing a
   5245       # maximum length that is only half of the actual maximum length, but
   5246       # we can't tell.
   5247       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
   5248 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   5249 	      test $i != 17 # 1/2 MB should be enough
   5250       do
   5251         i=`expr $i + 1`
   5252         teststring=$teststring$teststring
   5253       done
   5254       # Only check the string length outside the loop.
   5255       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5256       teststring=
   5257       # Add a significant safety factor because C++ compilers can tack on
   5258       # massive amounts of additional arguments before passing them to the
   5259       # linker.  It appears as though 1/2 is a usable value.
   5260       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5261     fi
   5262     ;;
   5263   esac
   5264 
   5265 fi
   5266 
   5267 if test -n $lt_cv_sys_max_cmd_len ; then
   5268   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5269 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   5270 else
   5271   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5272 $as_echo "none" >&6; }
   5273 fi
   5274 max_cmd_len=$lt_cv_sys_max_cmd_len
   5275 
   5276 
   5277 
   5278 
   5279 
   5280 
   5281 : ${CP="cp -f"}
   5282 : ${MV="mv -f"}
   5283 : ${RM="rm -f"}
   5284 
   5285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   5286 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   5287 # Try some XSI features
   5288 xsi_shell=no
   5289 ( _lt_dummy="a/b/c"
   5290   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
   5291       = c,a/b,b/c, \
   5292     && eval 'test $(( 1 + 1 )) -eq 2 \
   5293     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   5294   && xsi_shell=yes
   5295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   5296 $as_echo "$xsi_shell" >&6; }
   5297 
   5298 
   5299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   5300 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   5301 lt_shell_append=no
   5302 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   5303     >/dev/null 2>&1 \
   5304   && lt_shell_append=yes
   5305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   5306 $as_echo "$lt_shell_append" >&6; }
   5307 
   5308 
   5309 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5310   lt_unset=unset
   5311 else
   5312   lt_unset=false
   5313 fi
   5314 
   5315 
   5316 
   5317 
   5318 
   5319 # test EBCDIC or ASCII
   5320 case `echo X|tr X '\101'` in
   5321  A) # ASCII based system
   5322     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5323   lt_SP2NL='tr \040 \012'
   5324   lt_NL2SP='tr \015\012 \040\040'
   5325   ;;
   5326  *) # EBCDIC based system
   5327   lt_SP2NL='tr \100 \n'
   5328   lt_NL2SP='tr \r\n \100\100'
   5329   ;;
   5330 esac
   5331 
   5332 
   5333 
   5334 
   5335 
   5336 
   5337 
   5338 
   5339 
   5340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   5341 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   5342 if ${lt_cv_to_host_file_cmd+:} false; then :
   5343   $as_echo_n "(cached) " >&6
   5344 else
   5345   case $host in
   5346   *-*-mingw* )
   5347     case $build in
   5348       *-*-mingw* ) # actually msys
   5349         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   5350         ;;
   5351       *-*-cygwin* )
   5352         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   5353         ;;
   5354       * ) # otherwise, assume *nix
   5355         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   5356         ;;
   5357     esac
   5358     ;;
   5359   *-*-cygwin* )
   5360     case $build in
   5361       *-*-mingw* ) # actually msys
   5362         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   5363         ;;
   5364       *-*-cygwin* )
   5365         lt_cv_to_host_file_cmd=func_convert_file_noop
   5366         ;;
   5367       * ) # otherwise, assume *nix
   5368         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   5369         ;;
   5370     esac
   5371     ;;
   5372   * ) # unhandled hosts (and "normal" native builds)
   5373     lt_cv_to_host_file_cmd=func_convert_file_noop
   5374     ;;
   5375 esac
   5376 
   5377 fi
   5378 
   5379 to_host_file_cmd=$lt_cv_to_host_file_cmd
   5380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   5381 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   5382 
   5383 
   5384 
   5385 
   5386 
   5387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   5388 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   5389 if ${lt_cv_to_tool_file_cmd+:} false; then :
   5390   $as_echo_n "(cached) " >&6
   5391 else
   5392   #assume ordinary cross tools, or native build.
   5393 lt_cv_to_tool_file_cmd=func_convert_file_noop
   5394 case $host in
   5395   *-*-mingw* )
   5396     case $build in
   5397       *-*-mingw* ) # actually msys
   5398         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   5399         ;;
   5400     esac
   5401     ;;
   5402 esac
   5403 
   5404 fi
   5405 
   5406 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   5407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   5408 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   5409 
   5410 
   5411 
   5412 
   5413 
   5414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5415 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   5416 if ${lt_cv_ld_reload_flag+:} false; then :
   5417   $as_echo_n "(cached) " >&6
   5418 else
   5419   lt_cv_ld_reload_flag='-r'
   5420 fi
   5421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5422 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   5423 reload_flag=$lt_cv_ld_reload_flag
   5424 case $reload_flag in
   5425 "" | " "*) ;;
   5426 *) reload_flag=" $reload_flag" ;;
   5427 esac
   5428 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5429 case $host_os in
   5430   cygwin* | mingw* | pw32* | cegcc*)
   5431     if test "$GCC" != yes; then
   5432       reload_cmds=false
   5433     fi
   5434     ;;
   5435   darwin*)
   5436     if test "$GCC" = yes; then
   5437       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   5438     else
   5439       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5440     fi
   5441     ;;
   5442 esac
   5443 
   5444 
   5445 
   5446 
   5447 
   5448 
   5449 
   5450 
   5451 
   5452 if test -n "$ac_tool_prefix"; then
   5453   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5454 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5456 $as_echo_n "checking for $ac_word... " >&6; }
   5457 if ${ac_cv_prog_OBJDUMP+:} false; then :
   5458   $as_echo_n "(cached) " >&6
   5459 else
   5460   if test -n "$OBJDUMP"; then
   5461   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5462 else
   5463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5464 for as_dir in $PATH
   5465 do
   5466   IFS=$as_save_IFS
   5467   test -z "$as_dir" && as_dir=.
   5468     for ac_exec_ext in '' $ac_executable_extensions; do
   5469   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5470     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5471     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5472     break 2
   5473   fi
   5474 done
   5475   done
   5476 IFS=$as_save_IFS
   5477 
   5478 fi
   5479 fi
   5480 OBJDUMP=$ac_cv_prog_OBJDUMP
   5481 if test -n "$OBJDUMP"; then
   5482   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5483 $as_echo "$OBJDUMP" >&6; }
   5484 else
   5485   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5486 $as_echo "no" >&6; }
   5487 fi
   5488 
   5489 
   5490 fi
   5491 if test -z "$ac_cv_prog_OBJDUMP"; then
   5492   ac_ct_OBJDUMP=$OBJDUMP
   5493   # Extract the first word of "objdump", so it can be a program name with args.
   5494 set dummy objdump; ac_word=$2
   5495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5496 $as_echo_n "checking for $ac_word... " >&6; }
   5497 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   5498   $as_echo_n "(cached) " >&6
   5499 else
   5500   if test -n "$ac_ct_OBJDUMP"; then
   5501   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5502 else
   5503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5504 for as_dir in $PATH
   5505 do
   5506   IFS=$as_save_IFS
   5507   test -z "$as_dir" && as_dir=.
   5508     for ac_exec_ext in '' $ac_executable_extensions; do
   5509   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5510     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5511     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5512     break 2
   5513   fi
   5514 done
   5515   done
   5516 IFS=$as_save_IFS
   5517 
   5518 fi
   5519 fi
   5520 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5521 if test -n "$ac_ct_OBJDUMP"; then
   5522   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5523 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5524 else
   5525   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5526 $as_echo "no" >&6; }
   5527 fi
   5528 
   5529   if test "x$ac_ct_OBJDUMP" = x; then
   5530     OBJDUMP="false"
   5531   else
   5532     case $cross_compiling:$ac_tool_warned in
   5533 yes:)
   5534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5535 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5536 ac_tool_warned=yes ;;
   5537 esac
   5538     OBJDUMP=$ac_ct_OBJDUMP
   5539   fi
   5540 else
   5541   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5542 fi
   5543 
   5544 test -z "$OBJDUMP" && OBJDUMP=objdump
   5545 
   5546 
   5547 
   5548 
   5549 
   5550 
   5551 
   5552 
   5553 
   5554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5555 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5556 if ${lt_cv_deplibs_check_method+:} false; then :
   5557   $as_echo_n "(cached) " >&6
   5558 else
   5559   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5560 lt_cv_file_magic_test_file=
   5561 lt_cv_deplibs_check_method='unknown'
   5562 # Need to set the preceding variable on all platforms that support
   5563 # interlibrary dependencies.
   5564 # 'none' -- dependencies not supported.
   5565 # `unknown' -- same as none, but documents that we really don't know.
   5566 # 'pass_all' -- all dependencies passed with no checks.
   5567 # 'test_compile' -- check by making test program.
   5568 # 'file_magic [[regex]]' -- check by looking for files in library path
   5569 # which responds to the $file_magic_cmd with a given extended regex.
   5570 # If you have `file' or equivalent on your system and you're not sure
   5571 # whether `pass_all' will *always* work, you probably want this one.
   5572 
   5573 case $host_os in
   5574 aix[4-9]*)
   5575   lt_cv_deplibs_check_method=pass_all
   5576   ;;
   5577 
   5578 beos*)
   5579   lt_cv_deplibs_check_method=pass_all
   5580   ;;
   5581 
   5582 bsdi[45]*)
   5583   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5584   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5585   lt_cv_file_magic_test_file=/shlib/libc.so
   5586   ;;
   5587 
   5588 cygwin*)
   5589   # func_win32_libid is a shell function defined in ltmain.sh
   5590   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5591   lt_cv_file_magic_cmd='func_win32_libid'
   5592   ;;
   5593 
   5594 mingw* | pw32*)
   5595   # Base MSYS/MinGW do not provide the 'file' command needed by
   5596   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5597   # unless we find 'file', for example because we are cross-compiling.
   5598   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   5599   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   5600     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5601     lt_cv_file_magic_cmd='func_win32_libid'
   5602   else
   5603     # Keep this pattern in sync with the one in func_win32_libid.
   5604     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   5605     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5606   fi
   5607   ;;
   5608 
   5609 cegcc*)
   5610   # use the weaker test based on 'objdump'. See mingw*.
   5611   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5612   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5613   ;;
   5614 
   5615 darwin* | rhapsody*)
   5616   lt_cv_deplibs_check_method=pass_all
   5617   ;;
   5618 
   5619 freebsd* | dragonfly*)
   5620   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5621     case $host_cpu in
   5622     i*86 )
   5623       # Not sure whether the presence of OpenBSD here was a mistake.
   5624       # Let's accept both of them until this is cleared up.
   5625       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5626       lt_cv_file_magic_cmd=/usr/bin/file
   5627       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5628       ;;
   5629     esac
   5630   else
   5631     lt_cv_deplibs_check_method=pass_all
   5632   fi
   5633   ;;
   5634 
   5635 gnu*)
   5636   lt_cv_deplibs_check_method=pass_all
   5637   ;;
   5638 
   5639 haiku*)
   5640   lt_cv_deplibs_check_method=pass_all
   5641   ;;
   5642 
   5643 hpux10.20* | hpux11*)
   5644   lt_cv_file_magic_cmd=/usr/bin/file
   5645   case $host_cpu in
   5646   ia64*)
   5647     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5648     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5649     ;;
   5650   hppa*64*)
   5651     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]'
   5652     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5653     ;;
   5654   *)
   5655     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5656     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5657     ;;
   5658   esac
   5659   ;;
   5660 
   5661 interix[3-9]*)
   5662   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5663   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5664   ;;
   5665 
   5666 irix5* | irix6* | nonstopux*)
   5667   case $LD in
   5668   *-32|*"-32 ") libmagic=32-bit;;
   5669   *-n32|*"-n32 ") libmagic=N32;;
   5670   *-64|*"-64 ") libmagic=64-bit;;
   5671   *) libmagic=never-match;;
   5672   esac
   5673   lt_cv_deplibs_check_method=pass_all
   5674   ;;
   5675 
   5676 # This must be Linux ELF.
   5677 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   5678   lt_cv_deplibs_check_method=pass_all
   5679   ;;
   5680 
   5681 netbsd*)
   5682   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5683     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5684   else
   5685     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5686   fi
   5687   ;;
   5688 
   5689 newos6*)
   5690   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5691   lt_cv_file_magic_cmd=/usr/bin/file
   5692   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5693   ;;
   5694 
   5695 *nto* | *qnx*)
   5696   lt_cv_deplibs_check_method=pass_all
   5697   ;;
   5698 
   5699 openbsd*)
   5700   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   5701     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5702   else
   5703     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5704   fi
   5705   ;;
   5706 
   5707 osf3* | osf4* | osf5*)
   5708   lt_cv_deplibs_check_method=pass_all
   5709   ;;
   5710 
   5711 rdos*)
   5712   lt_cv_deplibs_check_method=pass_all
   5713   ;;
   5714 
   5715 solaris*)
   5716   lt_cv_deplibs_check_method=pass_all
   5717   ;;
   5718 
   5719 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5720   lt_cv_deplibs_check_method=pass_all
   5721   ;;
   5722 
   5723 sysv4 | sysv4.3*)
   5724   case $host_vendor in
   5725   motorola)
   5726     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]'
   5727     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5728     ;;
   5729   ncr)
   5730     lt_cv_deplibs_check_method=pass_all
   5731     ;;
   5732   sequent)
   5733     lt_cv_file_magic_cmd='/bin/file'
   5734     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5735     ;;
   5736   sni)
   5737     lt_cv_file_magic_cmd='/bin/file'
   5738     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5739     lt_cv_file_magic_test_file=/lib/libc.so
   5740     ;;
   5741   siemens)
   5742     lt_cv_deplibs_check_method=pass_all
   5743     ;;
   5744   pc)
   5745     lt_cv_deplibs_check_method=pass_all
   5746     ;;
   5747   esac
   5748   ;;
   5749 
   5750 tpf*)
   5751   lt_cv_deplibs_check_method=pass_all
   5752   ;;
   5753 esac
   5754 
   5755 fi
   5756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5757 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5758 
   5759 file_magic_glob=
   5760 want_nocaseglob=no
   5761 if test "$build" = "$host"; then
   5762   case $host_os in
   5763   mingw* | pw32*)
   5764     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   5765       want_nocaseglob=yes
   5766     else
   5767       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   5768     fi
   5769     ;;
   5770   esac
   5771 fi
   5772 
   5773 file_magic_cmd=$lt_cv_file_magic_cmd
   5774 deplibs_check_method=$lt_cv_deplibs_check_method
   5775 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5776 
   5777 
   5778 
   5779 
   5780 
   5781 
   5782 
   5783 
   5784 
   5785 
   5786 
   5787 
   5788 
   5789 
   5790 
   5791 
   5792 
   5793 
   5794 
   5795 
   5796 
   5797 
   5798 if test -n "$ac_tool_prefix"; then
   5799   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   5800 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   5801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5802 $as_echo_n "checking for $ac_word... " >&6; }
   5803 if ${ac_cv_prog_DLLTOOL+:} false; then :
   5804   $as_echo_n "(cached) " >&6
   5805 else
   5806   if test -n "$DLLTOOL"; then
   5807   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   5808 else
   5809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5810 for as_dir in $PATH
   5811 do
   5812   IFS=$as_save_IFS
   5813   test -z "$as_dir" && as_dir=.
   5814     for ac_exec_ext in '' $ac_executable_extensions; do
   5815   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5816     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   5817     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5818     break 2
   5819   fi
   5820 done
   5821   done
   5822 IFS=$as_save_IFS
   5823 
   5824 fi
   5825 fi
   5826 DLLTOOL=$ac_cv_prog_DLLTOOL
   5827 if test -n "$DLLTOOL"; then
   5828   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   5829 $as_echo "$DLLTOOL" >&6; }
   5830 else
   5831   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5832 $as_echo "no" >&6; }
   5833 fi
   5834 
   5835 
   5836 fi
   5837 if test -z "$ac_cv_prog_DLLTOOL"; then
   5838   ac_ct_DLLTOOL=$DLLTOOL
   5839   # Extract the first word of "dlltool", so it can be a program name with args.
   5840 set dummy dlltool; ac_word=$2
   5841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5842 $as_echo_n "checking for $ac_word... " >&6; }
   5843 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   5844   $as_echo_n "(cached) " >&6
   5845 else
   5846   if test -n "$ac_ct_DLLTOOL"; then
   5847   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   5848 else
   5849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5850 for as_dir in $PATH
   5851 do
   5852   IFS=$as_save_IFS
   5853   test -z "$as_dir" && as_dir=.
   5854     for ac_exec_ext in '' $ac_executable_extensions; do
   5855   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5856     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   5857     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5858     break 2
   5859   fi
   5860 done
   5861   done
   5862 IFS=$as_save_IFS
   5863 
   5864 fi
   5865 fi
   5866 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   5867 if test -n "$ac_ct_DLLTOOL"; then
   5868   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   5869 $as_echo "$ac_ct_DLLTOOL" >&6; }
   5870 else
   5871   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5872 $as_echo "no" >&6; }
   5873 fi
   5874 
   5875   if test "x$ac_ct_DLLTOOL" = x; then
   5876     DLLTOOL="false"
   5877   else
   5878     case $cross_compiling:$ac_tool_warned in
   5879 yes:)
   5880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5881 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5882 ac_tool_warned=yes ;;
   5883 esac
   5884     DLLTOOL=$ac_ct_DLLTOOL
   5885   fi
   5886 else
   5887   DLLTOOL="$ac_cv_prog_DLLTOOL"
   5888 fi
   5889 
   5890 test -z "$DLLTOOL" && DLLTOOL=dlltool
   5891 
   5892 
   5893 
   5894 
   5895 
   5896 
   5897 
   5898 
   5899 
   5900 
   5901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   5902 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   5903 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   5904   $as_echo_n "(cached) " >&6
   5905 else
   5906   lt_cv_sharedlib_from_linklib_cmd='unknown'
   5907 
   5908 case $host_os in
   5909 cygwin* | mingw* | pw32* | cegcc*)
   5910   # two different shell functions defined in ltmain.sh
   5911   # decide which to use based on capabilities of $DLLTOOL
   5912   case `$DLLTOOL --help 2>&1` in
   5913   *--identify-strict*)
   5914     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   5915     ;;
   5916   *)
   5917     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   5918     ;;
   5919   esac
   5920   ;;
   5921 *)
   5922   # fallback: assume linklib IS sharedlib
   5923   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
   5924   ;;
   5925 esac
   5926 
   5927 fi
   5928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   5929 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   5930 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   5931 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   5932 
   5933 
   5934 
   5935 
   5936 
   5937 
   5938 
   5939 if test -n "$ac_tool_prefix"; then
   5940   for ac_prog in ar
   5941   do
   5942     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5943 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5945 $as_echo_n "checking for $ac_word... " >&6; }
   5946 if ${ac_cv_prog_AR+:} false; then :
   5947   $as_echo_n "(cached) " >&6
   5948 else
   5949   if test -n "$AR"; then
   5950   ac_cv_prog_AR="$AR" # Let the user override the test.
   5951 else
   5952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5953 for as_dir in $PATH
   5954 do
   5955   IFS=$as_save_IFS
   5956   test -z "$as_dir" && as_dir=.
   5957     for ac_exec_ext in '' $ac_executable_extensions; do
   5958   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5959     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   5960     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5961     break 2
   5962   fi
   5963 done
   5964   done
   5965 IFS=$as_save_IFS
   5966 
   5967 fi
   5968 fi
   5969 AR=$ac_cv_prog_AR
   5970 if test -n "$AR"; then
   5971   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5972 $as_echo "$AR" >&6; }
   5973 else
   5974   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5975 $as_echo "no" >&6; }
   5976 fi
   5977 
   5978 
   5979     test -n "$AR" && break
   5980   done
   5981 fi
   5982 if test -z "$AR"; then
   5983   ac_ct_AR=$AR
   5984   for ac_prog in ar
   5985 do
   5986   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5987 set dummy $ac_prog; ac_word=$2
   5988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5989 $as_echo_n "checking for $ac_word... " >&6; }
   5990 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   5991   $as_echo_n "(cached) " >&6
   5992 else
   5993   if test -n "$ac_ct_AR"; then
   5994   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5995 else
   5996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5997 for as_dir in $PATH
   5998 do
   5999   IFS=$as_save_IFS
   6000   test -z "$as_dir" && as_dir=.
   6001     for ac_exec_ext in '' $ac_executable_extensions; do
   6002   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6003     ac_cv_prog_ac_ct_AR="$ac_prog"
   6004     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6005     break 2
   6006   fi
   6007 done
   6008   done
   6009 IFS=$as_save_IFS
   6010 
   6011 fi
   6012 fi
   6013 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6014 if test -n "$ac_ct_AR"; then
   6015   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6016 $as_echo "$ac_ct_AR" >&6; }
   6017 else
   6018   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6019 $as_echo "no" >&6; }
   6020 fi
   6021 
   6022 
   6023   test -n "$ac_ct_AR" && break
   6024 done
   6025 
   6026   if test "x$ac_ct_AR" = x; then
   6027     AR="false"
   6028   else
   6029     case $cross_compiling:$ac_tool_warned in
   6030 yes:)
   6031 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6032 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6033 ac_tool_warned=yes ;;
   6034 esac
   6035     AR=$ac_ct_AR
   6036   fi
   6037 fi
   6038 
   6039 : ${AR=ar}
   6040 : ${AR_FLAGS=cru}
   6041 
   6042 
   6043 
   6044 
   6045 
   6046 
   6047 
   6048 
   6049 
   6050 
   6051 
   6052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   6053 $as_echo_n "checking for archiver @FILE support... " >&6; }
   6054 if ${lt_cv_ar_at_file+:} false; then :
   6055   $as_echo_n "(cached) " >&6
   6056 else
   6057   lt_cv_ar_at_file=no
   6058    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6059 /* end confdefs.h.  */
   6060 
   6061 int
   6062 main ()
   6063 {
   6064 
   6065   ;
   6066   return 0;
   6067 }
   6068 _ACEOF
   6069 if ac_fn_c_try_compile "$LINENO"; then :
   6070   echo conftest.$ac_objext > conftest.lst
   6071       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   6072       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6073   (eval $lt_ar_try) 2>&5
   6074   ac_status=$?
   6075   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6076   test $ac_status = 0; }
   6077       if test "$ac_status" -eq 0; then
   6078 	# Ensure the archiver fails upon bogus file names.
   6079 	rm -f conftest.$ac_objext libconftest.a
   6080 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6081   (eval $lt_ar_try) 2>&5
   6082   ac_status=$?
   6083   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6084   test $ac_status = 0; }
   6085 	if test "$ac_status" -ne 0; then
   6086           lt_cv_ar_at_file=@
   6087         fi
   6088       fi
   6089       rm -f conftest.* libconftest.a
   6090 
   6091 fi
   6092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6093 
   6094 fi
   6095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   6096 $as_echo "$lt_cv_ar_at_file" >&6; }
   6097 
   6098 if test "x$lt_cv_ar_at_file" = xno; then
   6099   archiver_list_spec=
   6100 else
   6101   archiver_list_spec=$lt_cv_ar_at_file
   6102 fi
   6103 
   6104 
   6105 
   6106 
   6107 
   6108 
   6109 
   6110 if test -n "$ac_tool_prefix"; then
   6111   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6112 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6114 $as_echo_n "checking for $ac_word... " >&6; }
   6115 if ${ac_cv_prog_STRIP+:} false; then :
   6116   $as_echo_n "(cached) " >&6
   6117 else
   6118   if test -n "$STRIP"; then
   6119   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6120 else
   6121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6122 for as_dir in $PATH
   6123 do
   6124   IFS=$as_save_IFS
   6125   test -z "$as_dir" && as_dir=.
   6126     for ac_exec_ext in '' $ac_executable_extensions; do
   6127   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6128     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6129     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6130     break 2
   6131   fi
   6132 done
   6133   done
   6134 IFS=$as_save_IFS
   6135 
   6136 fi
   6137 fi
   6138 STRIP=$ac_cv_prog_STRIP
   6139 if test -n "$STRIP"; then
   6140   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6141 $as_echo "$STRIP" >&6; }
   6142 else
   6143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6144 $as_echo "no" >&6; }
   6145 fi
   6146 
   6147 
   6148 fi
   6149 if test -z "$ac_cv_prog_STRIP"; then
   6150   ac_ct_STRIP=$STRIP
   6151   # Extract the first word of "strip", so it can be a program name with args.
   6152 set dummy strip; ac_word=$2
   6153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6154 $as_echo_n "checking for $ac_word... " >&6; }
   6155 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   6156   $as_echo_n "(cached) " >&6
   6157 else
   6158   if test -n "$ac_ct_STRIP"; then
   6159   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6160 else
   6161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6162 for as_dir in $PATH
   6163 do
   6164   IFS=$as_save_IFS
   6165   test -z "$as_dir" && as_dir=.
   6166     for ac_exec_ext in '' $ac_executable_extensions; do
   6167   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6168     ac_cv_prog_ac_ct_STRIP="strip"
   6169     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6170     break 2
   6171   fi
   6172 done
   6173   done
   6174 IFS=$as_save_IFS
   6175 
   6176 fi
   6177 fi
   6178 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6179 if test -n "$ac_ct_STRIP"; then
   6180   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6181 $as_echo "$ac_ct_STRIP" >&6; }
   6182 else
   6183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6184 $as_echo "no" >&6; }
   6185 fi
   6186 
   6187   if test "x$ac_ct_STRIP" = x; then
   6188     STRIP=":"
   6189   else
   6190     case $cross_compiling:$ac_tool_warned in
   6191 yes:)
   6192 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6193 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6194 ac_tool_warned=yes ;;
   6195 esac
   6196     STRIP=$ac_ct_STRIP
   6197   fi
   6198 else
   6199   STRIP="$ac_cv_prog_STRIP"
   6200 fi
   6201 
   6202 test -z "$STRIP" && STRIP=:
   6203 
   6204 
   6205 
   6206 
   6207 
   6208 
   6209 if test -n "$ac_tool_prefix"; then
   6210   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6211 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6213 $as_echo_n "checking for $ac_word... " >&6; }
   6214 if ${ac_cv_prog_RANLIB+:} false; then :
   6215   $as_echo_n "(cached) " >&6
   6216 else
   6217   if test -n "$RANLIB"; then
   6218   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6219 else
   6220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6221 for as_dir in $PATH
   6222 do
   6223   IFS=$as_save_IFS
   6224   test -z "$as_dir" && as_dir=.
   6225     for ac_exec_ext in '' $ac_executable_extensions; do
   6226   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6227     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6228     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6229     break 2
   6230   fi
   6231 done
   6232   done
   6233 IFS=$as_save_IFS
   6234 
   6235 fi
   6236 fi
   6237 RANLIB=$ac_cv_prog_RANLIB
   6238 if test -n "$RANLIB"; then
   6239   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6240 $as_echo "$RANLIB" >&6; }
   6241 else
   6242   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6243 $as_echo "no" >&6; }
   6244 fi
   6245 
   6246 
   6247 fi
   6248 if test -z "$ac_cv_prog_RANLIB"; then
   6249   ac_ct_RANLIB=$RANLIB
   6250   # Extract the first word of "ranlib", so it can be a program name with args.
   6251 set dummy ranlib; ac_word=$2
   6252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6253 $as_echo_n "checking for $ac_word... " >&6; }
   6254 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   6255   $as_echo_n "(cached) " >&6
   6256 else
   6257   if test -n "$ac_ct_RANLIB"; then
   6258   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6259 else
   6260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6261 for as_dir in $PATH
   6262 do
   6263   IFS=$as_save_IFS
   6264   test -z "$as_dir" && as_dir=.
   6265     for ac_exec_ext in '' $ac_executable_extensions; do
   6266   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6267     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6268     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6269     break 2
   6270   fi
   6271 done
   6272   done
   6273 IFS=$as_save_IFS
   6274 
   6275 fi
   6276 fi
   6277 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6278 if test -n "$ac_ct_RANLIB"; then
   6279   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6280 $as_echo "$ac_ct_RANLIB" >&6; }
   6281 else
   6282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6283 $as_echo "no" >&6; }
   6284 fi
   6285 
   6286   if test "x$ac_ct_RANLIB" = x; then
   6287     RANLIB=":"
   6288   else
   6289     case $cross_compiling:$ac_tool_warned in
   6290 yes:)
   6291 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6292 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6293 ac_tool_warned=yes ;;
   6294 esac
   6295     RANLIB=$ac_ct_RANLIB
   6296   fi
   6297 else
   6298   RANLIB="$ac_cv_prog_RANLIB"
   6299 fi
   6300 
   6301 test -z "$RANLIB" && RANLIB=:
   6302 
   6303 
   6304 
   6305 
   6306 
   6307 
   6308 # Determine commands to create old-style static archives.
   6309 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6310 old_postinstall_cmds='chmod 644 $oldlib'
   6311 old_postuninstall_cmds=
   6312 
   6313 if test -n "$RANLIB"; then
   6314   case $host_os in
   6315   openbsd*)
   6316     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   6317     ;;
   6318   *)
   6319     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   6320     ;;
   6321   esac
   6322   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   6323 fi
   6324 
   6325 case $host_os in
   6326   darwin*)
   6327     lock_old_archive_extraction=yes ;;
   6328   *)
   6329     lock_old_archive_extraction=no ;;
   6330 esac
   6331 
   6332 
   6333 
   6334 
   6335 
   6336 
   6337 
   6338 
   6339 
   6340 
   6341 
   6342 
   6343 
   6344 
   6345 
   6346 
   6347 
   6348 
   6349 
   6350 
   6351 
   6352 
   6353 
   6354 
   6355 
   6356 
   6357 
   6358 
   6359 
   6360 
   6361 
   6362 
   6363 
   6364 
   6365 
   6366 
   6367 
   6368 
   6369 
   6370 # If no C compiler was specified, use CC.
   6371 LTCC=${LTCC-"$CC"}
   6372 
   6373 # If no C compiler flags were specified, use CFLAGS.
   6374 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6375 
   6376 # Allow CC to be a program name with arguments.
   6377 compiler=$CC
   6378 
   6379 
   6380 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   6382 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6383 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   6384   $as_echo_n "(cached) " >&6
   6385 else
   6386 
   6387 # These are sane defaults that work on at least a few old systems.
   6388 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6389 
   6390 # Character class describing NM global symbol codes.
   6391 symcode='[BCDEGRST]'
   6392 
   6393 # Regexp to match symbols that can be accessed directly from C.
   6394 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6395 
   6396 # Define system-specific variables.
   6397 case $host_os in
   6398 aix*)
   6399   symcode='[BCDT]'
   6400   ;;
   6401 cygwin* | mingw* | pw32* | cegcc*)
   6402   symcode='[ABCDGISTW]'
   6403   ;;
   6404 hpux*)
   6405   if test "$host_cpu" = ia64; then
   6406     symcode='[ABCDEGRST]'
   6407   fi
   6408   ;;
   6409 irix* | nonstopux*)
   6410   symcode='[BCDEGRST]'
   6411   ;;
   6412 osf*)
   6413   symcode='[BCDEGQRST]'
   6414   ;;
   6415 solaris*)
   6416   symcode='[BDRT]'
   6417   ;;
   6418 sco3.2v5*)
   6419   symcode='[DT]'
   6420   ;;
   6421 sysv4.2uw2*)
   6422   symcode='[DT]'
   6423   ;;
   6424 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6425   symcode='[ABDT]'
   6426   ;;
   6427 sysv4)
   6428   symcode='[DFNSTU]'
   6429   ;;
   6430 esac
   6431 
   6432 # If we're using GNU nm, then use its standard symbol codes.
   6433 case `$NM -V 2>&1` in
   6434 *GNU* | *'with BFD'*)
   6435   symcode='[ABCDGIRSTW]' ;;
   6436 esac
   6437 
   6438 # Transform an extracted symbol line into a proper C declaration.
   6439 # Some systems (esp. on ia64) link data and code symbols differently,
   6440 # so use this general approach.
   6441 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6442 
   6443 # Transform an extracted symbol line into symbol name and symbol address
   6444 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   6445 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'"
   6446 
   6447 # Handle CRLF in mingw tool chain
   6448 opt_cr=
   6449 case $build_os in
   6450 mingw*)
   6451   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6452   ;;
   6453 esac
   6454 
   6455 # Try without a prefix underscore, then with it.
   6456 for ac_symprfx in "" "_"; do
   6457 
   6458   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6459   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6460 
   6461   # Write the raw and C identifiers.
   6462   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6463     # Fake it for dumpbin and say T for any non-static function
   6464     # and D for any global variable.
   6465     # Also find C++ and __fastcall symbols from MSVC++,
   6466     # which start with @ or ?.
   6467     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6468 "     {last_section=section; section=\$ 3};"\
   6469 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6470 "     \$ 0!~/External *\|/{next};"\
   6471 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6472 "     {if(hide[section]) next};"\
   6473 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   6474 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   6475 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   6476 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   6477 "     ' prfx=^$ac_symprfx"
   6478   else
   6479     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6480   fi
   6481   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   6482 
   6483   # Check to see that the pipe works correctly.
   6484   pipe_works=no
   6485 
   6486   rm -f conftest*
   6487   cat > conftest.$ac_ext <<_LT_EOF
   6488 #ifdef __cplusplus
   6489 extern "C" {
   6490 #endif
   6491 char nm_test_var;
   6492 void nm_test_func(void);
   6493 void nm_test_func(void){}
   6494 #ifdef __cplusplus
   6495 }
   6496 #endif
   6497 int main(){nm_test_var='a';nm_test_func();return(0);}
   6498 _LT_EOF
   6499 
   6500   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6501   (eval $ac_compile) 2>&5
   6502   ac_status=$?
   6503   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6504   test $ac_status = 0; }; then
   6505     # Now try to grab the symbols.
   6506     nlist=conftest.nm
   6507     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   6508   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   6509   ac_status=$?
   6510   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6511   test $ac_status = 0; } && test -s "$nlist"; then
   6512       # Try sorting and uniquifying the output.
   6513       if sort "$nlist" | uniq > "$nlist"T; then
   6514 	mv -f "$nlist"T "$nlist"
   6515       else
   6516 	rm -f "$nlist"T
   6517       fi
   6518 
   6519       # Make sure that we snagged all the symbols we need.
   6520       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6521 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6522 	  cat <<_LT_EOF > conftest.$ac_ext
   6523 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   6524 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
   6525 /* DATA imports from DLLs on WIN32 con't be const, because runtime
   6526    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   6527 # define LT_DLSYM_CONST
   6528 #elif defined(__osf__)
   6529 /* This system does not cope well with relocations in const data.  */
   6530 # define LT_DLSYM_CONST
   6531 #else
   6532 # define LT_DLSYM_CONST const
   6533 #endif
   6534 
   6535 #ifdef __cplusplus
   6536 extern "C" {
   6537 #endif
   6538 
   6539 _LT_EOF
   6540 	  # Now generate the symbol file.
   6541 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6542 
   6543 	  cat <<_LT_EOF >> conftest.$ac_ext
   6544 
   6545 /* The mapping between symbol names and symbols.  */
   6546 LT_DLSYM_CONST struct {
   6547   const char *name;
   6548   void       *address;
   6549 }
   6550 lt__PROGRAM__LTX_preloaded_symbols[] =
   6551 {
   6552   { "@PROGRAM@", (void *) 0 },
   6553 _LT_EOF
   6554 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6555 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6556   {0, (void *) 0}
   6557 };
   6558 
   6559 /* This works around a problem in FreeBSD linker */
   6560 #ifdef FREEBSD_WORKAROUND
   6561 static const void *lt_preloaded_setup() {
   6562   return lt__PROGRAM__LTX_preloaded_symbols;
   6563 }
   6564 #endif
   6565 
   6566 #ifdef __cplusplus
   6567 }
   6568 #endif
   6569 _LT_EOF
   6570 	  # Now try linking the two files.
   6571 	  mv conftest.$ac_objext conftstm.$ac_objext
   6572 	  lt_globsym_save_LIBS=$LIBS
   6573 	  lt_globsym_save_CFLAGS=$CFLAGS
   6574 	  LIBS="conftstm.$ac_objext"
   6575 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6576 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6577   (eval $ac_link) 2>&5
   6578   ac_status=$?
   6579   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6580   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   6581 	    pipe_works=yes
   6582 	  fi
   6583 	  LIBS=$lt_globsym_save_LIBS
   6584 	  CFLAGS=$lt_globsym_save_CFLAGS
   6585 	else
   6586 	  echo "cannot find nm_test_func in $nlist" >&5
   6587 	fi
   6588       else
   6589 	echo "cannot find nm_test_var in $nlist" >&5
   6590       fi
   6591     else
   6592       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6593     fi
   6594   else
   6595     echo "$progname: failed program was:" >&5
   6596     cat conftest.$ac_ext >&5
   6597   fi
   6598   rm -rf conftest* conftst*
   6599 
   6600   # Do not use the global_symbol_pipe unless it works.
   6601   if test "$pipe_works" = yes; then
   6602     break
   6603   else
   6604     lt_cv_sys_global_symbol_pipe=
   6605   fi
   6606 done
   6607 
   6608 fi
   6609 
   6610 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6611   lt_cv_sys_global_symbol_to_cdecl=
   6612 fi
   6613 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6614   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6615 $as_echo "failed" >&6; }
   6616 else
   6617   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6618 $as_echo "ok" >&6; }
   6619 fi
   6620 
   6621 # Response file support.
   6622 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6623   nm_file_list_spec='@'
   6624 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   6625   nm_file_list_spec='@'
   6626 fi
   6627 
   6628 
   6629 
   6630 
   6631 
   6632 
   6633 
   6634 
   6635 
   6636 
   6637 
   6638 
   6639 
   6640 
   6641 
   6642 
   6643 
   6644 
   6645 
   6646 
   6647 
   6648 
   6649 
   6650 
   6651 
   6652 
   6653 
   6654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   6655 $as_echo_n "checking for sysroot... " >&6; }
   6656 
   6657 # Check whether --with-sysroot was given.
   6658 if test "${with_sysroot+set}" = set; then :
   6659   withval=$with_sysroot;
   6660 else
   6661   with_sysroot=no
   6662 fi
   6663 
   6664 
   6665 lt_sysroot=
   6666 case ${with_sysroot} in #(
   6667  yes)
   6668    if test "$GCC" = yes; then
   6669      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   6670    fi
   6671    ;; #(
   6672  /*)
   6673    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   6674    ;; #(
   6675  no|'')
   6676    ;; #(
   6677  *)
   6678    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
   6679 $as_echo "${with_sysroot}" >&6; }
   6680    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   6681    ;;
   6682 esac
   6683 
   6684  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   6685 $as_echo "${lt_sysroot:-no}" >&6; }
   6686 
   6687 
   6688 
   6689 
   6690 
   6691 # Check whether --enable-libtool-lock was given.
   6692 if test "${enable_libtool_lock+set}" = set; then :
   6693   enableval=$enable_libtool_lock;
   6694 fi
   6695 
   6696 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6697 
   6698 # Some flags need to be propagated to the compiler or linker for good
   6699 # libtool support.
   6700 case $host in
   6701 ia64-*-hpux*)
   6702   # Find out which ABI we are using.
   6703   echo 'int i;' > conftest.$ac_ext
   6704   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6705   (eval $ac_compile) 2>&5
   6706   ac_status=$?
   6707   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6708   test $ac_status = 0; }; then
   6709     case `/usr/bin/file conftest.$ac_objext` in
   6710       *ELF-32*)
   6711 	HPUX_IA64_MODE="32"
   6712 	;;
   6713       *ELF-64*)
   6714 	HPUX_IA64_MODE="64"
   6715 	;;
   6716     esac
   6717   fi
   6718   rm -rf conftest*
   6719   ;;
   6720 *-*-irix6*)
   6721   # Find out which ABI we are using.
   6722   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6723   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6724   (eval $ac_compile) 2>&5
   6725   ac_status=$?
   6726   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6727   test $ac_status = 0; }; then
   6728     if test "$lt_cv_prog_gnu_ld" = yes; then
   6729       case `/usr/bin/file conftest.$ac_objext` in
   6730 	*32-bit*)
   6731 	  LD="${LD-ld} -melf32bsmip"
   6732 	  ;;
   6733 	*N32*)
   6734 	  LD="${LD-ld} -melf32bmipn32"
   6735 	  ;;
   6736 	*64-bit*)
   6737 	  LD="${LD-ld} -melf64bmip"
   6738 	;;
   6739       esac
   6740     else
   6741       case `/usr/bin/file conftest.$ac_objext` in
   6742 	*32-bit*)
   6743 	  LD="${LD-ld} -32"
   6744 	  ;;
   6745 	*N32*)
   6746 	  LD="${LD-ld} -n32"
   6747 	  ;;
   6748 	*64-bit*)
   6749 	  LD="${LD-ld} -64"
   6750 	  ;;
   6751       esac
   6752     fi
   6753   fi
   6754   rm -rf conftest*
   6755   ;;
   6756 
   6757 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   6758 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6759   # Find out which ABI we are using.
   6760   echo 'int i;' > conftest.$ac_ext
   6761   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6762   (eval $ac_compile) 2>&5
   6763   ac_status=$?
   6764   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6765   test $ac_status = 0; }; then
   6766     case `/usr/bin/file conftest.o` in
   6767       *32-bit*)
   6768 	case $host in
   6769 	  x86_64-*kfreebsd*-gnu)
   6770 	    LD="${LD-ld} -m elf_i386_fbsd"
   6771 	    ;;
   6772 	  x86_64-*linux*)
   6773 	    LD="${LD-ld} -m elf_i386"
   6774 	    ;;
   6775 	  ppc64-*linux*|powerpc64-*linux*)
   6776 	    LD="${LD-ld} -m elf32ppclinux"
   6777 	    ;;
   6778 	  s390x-*linux*)
   6779 	    LD="${LD-ld} -m elf_s390"
   6780 	    ;;
   6781 	  sparc64-*linux*)
   6782 	    LD="${LD-ld} -m elf32_sparc"
   6783 	    ;;
   6784 	esac
   6785 	;;
   6786       *64-bit*)
   6787 	case $host in
   6788 	  x86_64-*kfreebsd*-gnu)
   6789 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6790 	    ;;
   6791 	  x86_64-*linux*)
   6792 	    LD="${LD-ld} -m elf_x86_64"
   6793 	    ;;
   6794 	  ppc*-*linux*|powerpc*-*linux*)
   6795 	    LD="${LD-ld} -m elf64ppc"
   6796 	    ;;
   6797 	  s390*-*linux*|s390*-*tpf*)
   6798 	    LD="${LD-ld} -m elf64_s390"
   6799 	    ;;
   6800 	  sparc*-*linux*)
   6801 	    LD="${LD-ld} -m elf64_sparc"
   6802 	    ;;
   6803 	esac
   6804 	;;
   6805     esac
   6806   fi
   6807   rm -rf conftest*
   6808   ;;
   6809 
   6810 *-*-sco3.2v5*)
   6811   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6812   SAVE_CFLAGS="$CFLAGS"
   6813   CFLAGS="$CFLAGS -belf"
   6814   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   6815 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6816 if ${lt_cv_cc_needs_belf+:} false; then :
   6817   $as_echo_n "(cached) " >&6
   6818 else
   6819   ac_ext=c
   6820 ac_cpp='$CPP $CPPFLAGS'
   6821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6824 
   6825      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6826 /* end confdefs.h.  */
   6827 
   6828 int
   6829 main ()
   6830 {
   6831 
   6832   ;
   6833   return 0;
   6834 }
   6835 _ACEOF
   6836 if ac_fn_c_try_link "$LINENO"; then :
   6837   lt_cv_cc_needs_belf=yes
   6838 else
   6839   lt_cv_cc_needs_belf=no
   6840 fi
   6841 rm -f core conftest.err conftest.$ac_objext \
   6842     conftest$ac_exeext conftest.$ac_ext
   6843      ac_ext=c
   6844 ac_cpp='$CPP $CPPFLAGS'
   6845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6848 
   6849 fi
   6850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   6851 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   6852   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   6853     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   6854     CFLAGS="$SAVE_CFLAGS"
   6855   fi
   6856   ;;
   6857 sparc*-*solaris*)
   6858   # Find out which ABI we are using.
   6859   echo 'int i;' > conftest.$ac_ext
   6860   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6861   (eval $ac_compile) 2>&5
   6862   ac_status=$?
   6863   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6864   test $ac_status = 0; }; then
   6865     case `/usr/bin/file conftest.o` in
   6866     *64-bit*)
   6867       case $lt_cv_prog_gnu_ld in
   6868       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   6869       *)
   6870 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   6871 	  LD="${LD-ld} -64"
   6872 	fi
   6873 	;;
   6874       esac
   6875       ;;
   6876     esac
   6877   fi
   6878   rm -rf conftest*
   6879   ;;
   6880 esac
   6881 
   6882 need_locks="$enable_libtool_lock"
   6883 
   6884 if test -n "$ac_tool_prefix"; then
   6885   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   6886 set dummy ${ac_tool_prefix}mt; ac_word=$2
   6887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6888 $as_echo_n "checking for $ac_word... " >&6; }
   6889 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   6890   $as_echo_n "(cached) " >&6
   6891 else
   6892   if test -n "$MANIFEST_TOOL"; then
   6893   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   6894 else
   6895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6896 for as_dir in $PATH
   6897 do
   6898   IFS=$as_save_IFS
   6899   test -z "$as_dir" && as_dir=.
   6900     for ac_exec_ext in '' $ac_executable_extensions; do
   6901   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6902     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   6903     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6904     break 2
   6905   fi
   6906 done
   6907   done
   6908 IFS=$as_save_IFS
   6909 
   6910 fi
   6911 fi
   6912 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   6913 if test -n "$MANIFEST_TOOL"; then
   6914   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   6915 $as_echo "$MANIFEST_TOOL" >&6; }
   6916 else
   6917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6918 $as_echo "no" >&6; }
   6919 fi
   6920 
   6921 
   6922 fi
   6923 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   6924   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   6925   # Extract the first word of "mt", so it can be a program name with args.
   6926 set dummy mt; ac_word=$2
   6927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6928 $as_echo_n "checking for $ac_word... " >&6; }
   6929 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   6930   $as_echo_n "(cached) " >&6
   6931 else
   6932   if test -n "$ac_ct_MANIFEST_TOOL"; then
   6933   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   6934 else
   6935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6936 for as_dir in $PATH
   6937 do
   6938   IFS=$as_save_IFS
   6939   test -z "$as_dir" && as_dir=.
   6940     for ac_exec_ext in '' $ac_executable_extensions; do
   6941   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6942     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   6943     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6944     break 2
   6945   fi
   6946 done
   6947   done
   6948 IFS=$as_save_IFS
   6949 
   6950 fi
   6951 fi
   6952 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   6953 if test -n "$ac_ct_MANIFEST_TOOL"; then
   6954   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   6955 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   6956 else
   6957   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6958 $as_echo "no" >&6; }
   6959 fi
   6960 
   6961   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   6962     MANIFEST_TOOL=":"
   6963   else
   6964     case $cross_compiling:$ac_tool_warned in
   6965 yes:)
   6966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6967 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6968 ac_tool_warned=yes ;;
   6969 esac
   6970     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   6971   fi
   6972 else
   6973   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   6974 fi
   6975 
   6976 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   6977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   6978 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   6979 if ${lt_cv_path_mainfest_tool+:} false; then :
   6980   $as_echo_n "(cached) " >&6
   6981 else
   6982   lt_cv_path_mainfest_tool=no
   6983   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   6984   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   6985   cat conftest.err >&5
   6986   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   6987     lt_cv_path_mainfest_tool=yes
   6988   fi
   6989   rm -f conftest*
   6990 fi
   6991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   6992 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   6993 if test "x$lt_cv_path_mainfest_tool" != xyes; then
   6994   MANIFEST_TOOL=:
   6995 fi
   6996 
   6997 
   6998 
   6999 
   7000 
   7001 
   7002   case $host_os in
   7003     rhapsody* | darwin*)
   7004     if test -n "$ac_tool_prefix"; then
   7005   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7006 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7008 $as_echo_n "checking for $ac_word... " >&6; }
   7009 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   7010   $as_echo_n "(cached) " >&6
   7011 else
   7012   if test -n "$DSYMUTIL"; then
   7013   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7014 else
   7015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7016 for as_dir in $PATH
   7017 do
   7018   IFS=$as_save_IFS
   7019   test -z "$as_dir" && as_dir=.
   7020     for ac_exec_ext in '' $ac_executable_extensions; do
   7021   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7022     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7023     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7024     break 2
   7025   fi
   7026 done
   7027   done
   7028 IFS=$as_save_IFS
   7029 
   7030 fi
   7031 fi
   7032 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7033 if test -n "$DSYMUTIL"; then
   7034   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   7035 $as_echo "$DSYMUTIL" >&6; }
   7036 else
   7037   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7038 $as_echo "no" >&6; }
   7039 fi
   7040 
   7041 
   7042 fi
   7043 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7044   ac_ct_DSYMUTIL=$DSYMUTIL
   7045   # Extract the first word of "dsymutil", so it can be a program name with args.
   7046 set dummy dsymutil; ac_word=$2
   7047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7048 $as_echo_n "checking for $ac_word... " >&6; }
   7049 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   7050   $as_echo_n "(cached) " >&6
   7051 else
   7052   if test -n "$ac_ct_DSYMUTIL"; then
   7053   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7054 else
   7055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7056 for as_dir in $PATH
   7057 do
   7058   IFS=$as_save_IFS
   7059   test -z "$as_dir" && as_dir=.
   7060     for ac_exec_ext in '' $ac_executable_extensions; do
   7061   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7062     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7063     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7064     break 2
   7065   fi
   7066 done
   7067   done
   7068 IFS=$as_save_IFS
   7069 
   7070 fi
   7071 fi
   7072 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7073 if test -n "$ac_ct_DSYMUTIL"; then
   7074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   7075 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7076 else
   7077   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7078 $as_echo "no" >&6; }
   7079 fi
   7080 
   7081   if test "x$ac_ct_DSYMUTIL" = x; then
   7082     DSYMUTIL=":"
   7083   else
   7084     case $cross_compiling:$ac_tool_warned in
   7085 yes:)
   7086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7087 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7088 ac_tool_warned=yes ;;
   7089 esac
   7090     DSYMUTIL=$ac_ct_DSYMUTIL
   7091   fi
   7092 else
   7093   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7094 fi
   7095 
   7096     if test -n "$ac_tool_prefix"; then
   7097   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7098 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7100 $as_echo_n "checking for $ac_word... " >&6; }
   7101 if ${ac_cv_prog_NMEDIT+:} false; then :
   7102   $as_echo_n "(cached) " >&6
   7103 else
   7104   if test -n "$NMEDIT"; then
   7105   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7106 else
   7107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7108 for as_dir in $PATH
   7109 do
   7110   IFS=$as_save_IFS
   7111   test -z "$as_dir" && as_dir=.
   7112     for ac_exec_ext in '' $ac_executable_extensions; do
   7113   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7114     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7115     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7116     break 2
   7117   fi
   7118 done
   7119   done
   7120 IFS=$as_save_IFS
   7121 
   7122 fi
   7123 fi
   7124 NMEDIT=$ac_cv_prog_NMEDIT
   7125 if test -n "$NMEDIT"; then
   7126   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   7127 $as_echo "$NMEDIT" >&6; }
   7128 else
   7129   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7130 $as_echo "no" >&6; }
   7131 fi
   7132 
   7133 
   7134 fi
   7135 if test -z "$ac_cv_prog_NMEDIT"; then
   7136   ac_ct_NMEDIT=$NMEDIT
   7137   # Extract the first word of "nmedit", so it can be a program name with args.
   7138 set dummy nmedit; ac_word=$2
   7139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7140 $as_echo_n "checking for $ac_word... " >&6; }
   7141 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   7142   $as_echo_n "(cached) " >&6
   7143 else
   7144   if test -n "$ac_ct_NMEDIT"; then
   7145   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7146 else
   7147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7148 for as_dir in $PATH
   7149 do
   7150   IFS=$as_save_IFS
   7151   test -z "$as_dir" && as_dir=.
   7152     for ac_exec_ext in '' $ac_executable_extensions; do
   7153   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7154     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7155     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7156     break 2
   7157   fi
   7158 done
   7159   done
   7160 IFS=$as_save_IFS
   7161 
   7162 fi
   7163 fi
   7164 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7165 if test -n "$ac_ct_NMEDIT"; then
   7166   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   7167 $as_echo "$ac_ct_NMEDIT" >&6; }
   7168 else
   7169   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7170 $as_echo "no" >&6; }
   7171 fi
   7172 
   7173   if test "x$ac_ct_NMEDIT" = x; then
   7174     NMEDIT=":"
   7175   else
   7176     case $cross_compiling:$ac_tool_warned in
   7177 yes:)
   7178 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7179 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7180 ac_tool_warned=yes ;;
   7181 esac
   7182     NMEDIT=$ac_ct_NMEDIT
   7183   fi
   7184 else
   7185   NMEDIT="$ac_cv_prog_NMEDIT"
   7186 fi
   7187 
   7188     if test -n "$ac_tool_prefix"; then
   7189   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   7190 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   7191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7192 $as_echo_n "checking for $ac_word... " >&6; }
   7193 if ${ac_cv_prog_LIPO+:} false; then :
   7194   $as_echo_n "(cached) " >&6
   7195 else
   7196   if test -n "$LIPO"; then
   7197   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   7198 else
   7199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7200 for as_dir in $PATH
   7201 do
   7202   IFS=$as_save_IFS
   7203   test -z "$as_dir" && as_dir=.
   7204     for ac_exec_ext in '' $ac_executable_extensions; do
   7205   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7206     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   7207     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7208     break 2
   7209   fi
   7210 done
   7211   done
   7212 IFS=$as_save_IFS
   7213 
   7214 fi
   7215 fi
   7216 LIPO=$ac_cv_prog_LIPO
   7217 if test -n "$LIPO"; then
   7218   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   7219 $as_echo "$LIPO" >&6; }
   7220 else
   7221   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7222 $as_echo "no" >&6; }
   7223 fi
   7224 
   7225 
   7226 fi
   7227 if test -z "$ac_cv_prog_LIPO"; then
   7228   ac_ct_LIPO=$LIPO
   7229   # Extract the first word of "lipo", so it can be a program name with args.
   7230 set dummy lipo; ac_word=$2
   7231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7232 $as_echo_n "checking for $ac_word... " >&6; }
   7233 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   7234   $as_echo_n "(cached) " >&6
   7235 else
   7236   if test -n "$ac_ct_LIPO"; then
   7237   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   7238 else
   7239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7240 for as_dir in $PATH
   7241 do
   7242   IFS=$as_save_IFS
   7243   test -z "$as_dir" && as_dir=.
   7244     for ac_exec_ext in '' $ac_executable_extensions; do
   7245   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7246     ac_cv_prog_ac_ct_LIPO="lipo"
   7247     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7248     break 2
   7249   fi
   7250 done
   7251   done
   7252 IFS=$as_save_IFS
   7253 
   7254 fi
   7255 fi
   7256 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   7257 if test -n "$ac_ct_LIPO"; then
   7258   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   7259 $as_echo "$ac_ct_LIPO" >&6; }
   7260 else
   7261   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7262 $as_echo "no" >&6; }
   7263 fi
   7264 
   7265   if test "x$ac_ct_LIPO" = x; then
   7266     LIPO=":"
   7267   else
   7268     case $cross_compiling:$ac_tool_warned in
   7269 yes:)
   7270 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7271 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7272 ac_tool_warned=yes ;;
   7273 esac
   7274     LIPO=$ac_ct_LIPO
   7275   fi
   7276 else
   7277   LIPO="$ac_cv_prog_LIPO"
   7278 fi
   7279 
   7280     if test -n "$ac_tool_prefix"; then
   7281   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7282 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7284 $as_echo_n "checking for $ac_word... " >&6; }
   7285 if ${ac_cv_prog_OTOOL+:} false; then :
   7286   $as_echo_n "(cached) " >&6
   7287 else
   7288   if test -n "$OTOOL"; then
   7289   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7290 else
   7291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7292 for as_dir in $PATH
   7293 do
   7294   IFS=$as_save_IFS
   7295   test -z "$as_dir" && as_dir=.
   7296     for ac_exec_ext in '' $ac_executable_extensions; do
   7297   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7298     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7299     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7300     break 2
   7301   fi
   7302 done
   7303   done
   7304 IFS=$as_save_IFS
   7305 
   7306 fi
   7307 fi
   7308 OTOOL=$ac_cv_prog_OTOOL
   7309 if test -n "$OTOOL"; then
   7310   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   7311 $as_echo "$OTOOL" >&6; }
   7312 else
   7313   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7314 $as_echo "no" >&6; }
   7315 fi
   7316 
   7317 
   7318 fi
   7319 if test -z "$ac_cv_prog_OTOOL"; then
   7320   ac_ct_OTOOL=$OTOOL
   7321   # Extract the first word of "otool", so it can be a program name with args.
   7322 set dummy otool; ac_word=$2
   7323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7324 $as_echo_n "checking for $ac_word... " >&6; }
   7325 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   7326   $as_echo_n "(cached) " >&6
   7327 else
   7328   if test -n "$ac_ct_OTOOL"; then
   7329   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   7330 else
   7331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7332 for as_dir in $PATH
   7333 do
   7334   IFS=$as_save_IFS
   7335   test -z "$as_dir" && as_dir=.
   7336     for ac_exec_ext in '' $ac_executable_extensions; do
   7337   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7338     ac_cv_prog_ac_ct_OTOOL="otool"
   7339     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7340     break 2
   7341   fi
   7342 done
   7343   done
   7344 IFS=$as_save_IFS
   7345 
   7346 fi
   7347 fi
   7348 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   7349 if test -n "$ac_ct_OTOOL"; then
   7350   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   7351 $as_echo "$ac_ct_OTOOL" >&6; }
   7352 else
   7353   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7354 $as_echo "no" >&6; }
   7355 fi
   7356 
   7357   if test "x$ac_ct_OTOOL" = x; then
   7358     OTOOL=":"
   7359   else
   7360     case $cross_compiling:$ac_tool_warned in
   7361 yes:)
   7362 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7363 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7364 ac_tool_warned=yes ;;
   7365 esac
   7366     OTOOL=$ac_ct_OTOOL
   7367   fi
   7368 else
   7369   OTOOL="$ac_cv_prog_OTOOL"
   7370 fi
   7371 
   7372     if test -n "$ac_tool_prefix"; then
   7373   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   7374 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   7375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7376 $as_echo_n "checking for $ac_word... " >&6; }
   7377 if ${ac_cv_prog_OTOOL64+:} false; then :
   7378   $as_echo_n "(cached) " >&6
   7379 else
   7380   if test -n "$OTOOL64"; then
   7381   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   7382 else
   7383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7384 for as_dir in $PATH
   7385 do
   7386   IFS=$as_save_IFS
   7387   test -z "$as_dir" && as_dir=.
   7388     for ac_exec_ext in '' $ac_executable_extensions; do
   7389   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7390     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   7391     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7392     break 2
   7393   fi
   7394 done
   7395   done
   7396 IFS=$as_save_IFS
   7397 
   7398 fi
   7399 fi
   7400 OTOOL64=$ac_cv_prog_OTOOL64
   7401 if test -n "$OTOOL64"; then
   7402   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   7403 $as_echo "$OTOOL64" >&6; }
   7404 else
   7405   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7406 $as_echo "no" >&6; }
   7407 fi
   7408 
   7409 
   7410 fi
   7411 if test -z "$ac_cv_prog_OTOOL64"; then
   7412   ac_ct_OTOOL64=$OTOOL64
   7413   # Extract the first word of "otool64", so it can be a program name with args.
   7414 set dummy otool64; ac_word=$2
   7415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7416 $as_echo_n "checking for $ac_word... " >&6; }
   7417 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   7418   $as_echo_n "(cached) " >&6
   7419 else
   7420   if test -n "$ac_ct_OTOOL64"; then
   7421   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   7422 else
   7423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7424 for as_dir in $PATH
   7425 do
   7426   IFS=$as_save_IFS
   7427   test -z "$as_dir" && as_dir=.
   7428     for ac_exec_ext in '' $ac_executable_extensions; do
   7429   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7430     ac_cv_prog_ac_ct_OTOOL64="otool64"
   7431     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7432     break 2
   7433   fi
   7434 done
   7435   done
   7436 IFS=$as_save_IFS
   7437 
   7438 fi
   7439 fi
   7440 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   7441 if test -n "$ac_ct_OTOOL64"; then
   7442   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   7443 $as_echo "$ac_ct_OTOOL64" >&6; }
   7444 else
   7445   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7446 $as_echo "no" >&6; }
   7447 fi
   7448 
   7449   if test "x$ac_ct_OTOOL64" = x; then
   7450     OTOOL64=":"
   7451   else
   7452     case $cross_compiling:$ac_tool_warned in
   7453 yes:)
   7454 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7455 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7456 ac_tool_warned=yes ;;
   7457 esac
   7458     OTOOL64=$ac_ct_OTOOL64
   7459   fi
   7460 else
   7461   OTOOL64="$ac_cv_prog_OTOOL64"
   7462 fi
   7463 
   7464 
   7465 
   7466 
   7467 
   7468 
   7469 
   7470 
   7471 
   7472 
   7473 
   7474 
   7475 
   7476 
   7477 
   7478 
   7479 
   7480 
   7481 
   7482 
   7483 
   7484 
   7485 
   7486 
   7487 
   7488 
   7489 
   7490     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   7491 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7492 if ${lt_cv_apple_cc_single_mod+:} false; then :
   7493   $as_echo_n "(cached) " >&6
   7494 else
   7495   lt_cv_apple_cc_single_mod=no
   7496       if test -z "${LT_MULTI_MODULE}"; then
   7497 	# By default we will add the -single_module flag. You can override
   7498 	# by either setting the environment variable LT_MULTI_MODULE
   7499 	# non-empty at configure time, or by adding -multi_module to the
   7500 	# link flags.
   7501 	rm -rf libconftest.dylib*
   7502 	echo "int foo(void){return 1;}" > conftest.c
   7503 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7504 -dynamiclib -Wl,-single_module conftest.c" >&5
   7505 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7506 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7507         _lt_result=$?
   7508 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
   7509 	  lt_cv_apple_cc_single_mod=yes
   7510 	else
   7511 	  cat conftest.err >&5
   7512 	fi
   7513 	rm -rf libconftest.dylib*
   7514 	rm -f conftest.*
   7515       fi
   7516 fi
   7517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   7518 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7519     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   7520 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7521 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   7522   $as_echo_n "(cached) " >&6
   7523 else
   7524   lt_cv_ld_exported_symbols_list=no
   7525       save_LDFLAGS=$LDFLAGS
   7526       echo "_main" > conftest.sym
   7527       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7528       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7529 /* end confdefs.h.  */
   7530 
   7531 int
   7532 main ()
   7533 {
   7534 
   7535   ;
   7536   return 0;
   7537 }
   7538 _ACEOF
   7539 if ac_fn_c_try_link "$LINENO"; then :
   7540   lt_cv_ld_exported_symbols_list=yes
   7541 else
   7542   lt_cv_ld_exported_symbols_list=no
   7543 fi
   7544 rm -f core conftest.err conftest.$ac_objext \
   7545     conftest$ac_exeext conftest.$ac_ext
   7546 	LDFLAGS="$save_LDFLAGS"
   7547 
   7548 fi
   7549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7550 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7551     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   7552 $as_echo_n "checking for -force_load linker flag... " >&6; }
   7553 if ${lt_cv_ld_force_load+:} false; then :
   7554   $as_echo_n "(cached) " >&6
   7555 else
   7556   lt_cv_ld_force_load=no
   7557       cat > conftest.c << _LT_EOF
   7558 int forced_loaded() { return 2;}
   7559 _LT_EOF
   7560       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   7561       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   7562       echo "$AR cru libconftest.a conftest.o" >&5
   7563       $AR cru libconftest.a conftest.o 2>&5
   7564       echo "$RANLIB libconftest.a" >&5
   7565       $RANLIB libconftest.a 2>&5
   7566       cat > conftest.c << _LT_EOF
   7567 int main() { return 0;}
   7568 _LT_EOF
   7569       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   7570       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   7571       _lt_result=$?
   7572       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
   7573 	lt_cv_ld_force_load=yes
   7574       else
   7575 	cat conftest.err >&5
   7576       fi
   7577         rm -f conftest.err libconftest.a conftest conftest.c
   7578         rm -rf conftest.dSYM
   7579 
   7580 fi
   7581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   7582 $as_echo "$lt_cv_ld_force_load" >&6; }
   7583     case $host_os in
   7584     rhapsody* | darwin1.[012])
   7585       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7586     darwin1.*)
   7587       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7588     darwin*) # darwin 5.x on
   7589       # if running on 10.5 or later, the deployment target defaults
   7590       # to the OS version, if on x86, and 10.4, the deployment
   7591       # target defaults to 10.4. Don't you love it?
   7592       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7593 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7594 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7595 	10.[012]*)
   7596 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7597 	10.*)
   7598 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7599       esac
   7600     ;;
   7601   esac
   7602     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7603       _lt_dar_single_mod='$single_module'
   7604     fi
   7605     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7606       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7607     else
   7608       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7609     fi
   7610     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   7611       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7612     else
   7613       _lt_dsymutil=
   7614     fi
   7615     ;;
   7616   esac
   7617 
   7618 for ac_header in dlfcn.h
   7619 do :
   7620   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7621 "
   7622 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   7623   cat >>confdefs.h <<_ACEOF
   7624 #define HAVE_DLFCN_H 1
   7625 _ACEOF
   7626 
   7627 fi
   7628 
   7629 done
   7630 
   7631 
   7632 
   7633 
   7634 
   7635 # Set options
   7636 
   7637 
   7638 
   7639         enable_dlopen=no
   7640 
   7641 
   7642   enable_win32_dll=no
   7643 
   7644 
   7645             # Check whether --enable-shared was given.
   7646 if test "${enable_shared+set}" = set; then :
   7647   enableval=$enable_shared; p=${PACKAGE-default}
   7648     case $enableval in
   7649     yes) enable_shared=yes ;;
   7650     no) enable_shared=no ;;
   7651     *)
   7652       enable_shared=no
   7653       # Look at the argument we got.  We use all the common list separators.
   7654       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7655       for pkg in $enableval; do
   7656 	IFS="$lt_save_ifs"
   7657 	if test "X$pkg" = "X$p"; then
   7658 	  enable_shared=yes
   7659 	fi
   7660       done
   7661       IFS="$lt_save_ifs"
   7662       ;;
   7663     esac
   7664 else
   7665   enable_shared=yes
   7666 fi
   7667 
   7668 
   7669 
   7670 
   7671 
   7672 
   7673 
   7674 
   7675 
   7676   # Check whether --enable-static was given.
   7677 if test "${enable_static+set}" = set; then :
   7678   enableval=$enable_static; p=${PACKAGE-default}
   7679     case $enableval in
   7680     yes) enable_static=yes ;;
   7681     no) enable_static=no ;;
   7682     *)
   7683      enable_static=no
   7684       # Look at the argument we got.  We use all the common list separators.
   7685       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7686       for pkg in $enableval; do
   7687 	IFS="$lt_save_ifs"
   7688 	if test "X$pkg" = "X$p"; then
   7689 	  enable_static=yes
   7690 	fi
   7691       done
   7692       IFS="$lt_save_ifs"
   7693       ;;
   7694     esac
   7695 else
   7696   enable_static=yes
   7697 fi
   7698 
   7699 
   7700 
   7701 
   7702 
   7703 
   7704 
   7705 
   7706 
   7707 
   7708 # Check whether --with-pic was given.
   7709 if test "${with_pic+set}" = set; then :
   7710   withval=$with_pic; pic_mode="$withval"
   7711 else
   7712   pic_mode=default
   7713 fi
   7714 
   7715 
   7716 test -z "$pic_mode" && pic_mode=default
   7717 
   7718 
   7719 
   7720 
   7721 
   7722 
   7723 
   7724   # Check whether --enable-fast-install was given.
   7725 if test "${enable_fast_install+set}" = set; then :
   7726   enableval=$enable_fast_install; p=${PACKAGE-default}
   7727     case $enableval in
   7728     yes) enable_fast_install=yes ;;
   7729     no) enable_fast_install=no ;;
   7730     *)
   7731       enable_fast_install=no
   7732       # Look at the argument we got.  We use all the common list separators.
   7733       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7734       for pkg in $enableval; do
   7735 	IFS="$lt_save_ifs"
   7736 	if test "X$pkg" = "X$p"; then
   7737 	  enable_fast_install=yes
   7738 	fi
   7739       done
   7740       IFS="$lt_save_ifs"
   7741       ;;
   7742     esac
   7743 else
   7744   enable_fast_install=yes
   7745 fi
   7746 
   7747 
   7748 
   7749 
   7750 
   7751 
   7752 
   7753 
   7754 
   7755 
   7756 
   7757 # This can be used to rebuild libtool when needed
   7758 LIBTOOL_DEPS="$ltmain"
   7759 
   7760 # Always use our own libtool.
   7761 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7762 
   7763 
   7764 
   7765 
   7766 
   7767 
   7768 
   7769 
   7770 
   7771 
   7772 
   7773 
   7774 
   7775 
   7776 
   7777 
   7778 
   7779 
   7780 
   7781 
   7782 
   7783 
   7784 
   7785 
   7786 
   7787 
   7788 test -z "$LN_S" && LN_S="ln -s"
   7789 
   7790 
   7791 
   7792 
   7793 
   7794 
   7795 
   7796 
   7797 
   7798 
   7799 
   7800 
   7801 
   7802 
   7803 if test -n "${ZSH_VERSION+set}" ; then
   7804    setopt NO_GLOB_SUBST
   7805 fi
   7806 
   7807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   7808 $as_echo_n "checking for objdir... " >&6; }
   7809 if ${lt_cv_objdir+:} false; then :
   7810   $as_echo_n "(cached) " >&6
   7811 else
   7812   rm -f .libs 2>/dev/null
   7813 mkdir .libs 2>/dev/null
   7814 if test -d .libs; then
   7815   lt_cv_objdir=.libs
   7816 else
   7817   # MS-DOS does not allow filenames that begin with a dot.
   7818   lt_cv_objdir=_libs
   7819 fi
   7820 rmdir .libs 2>/dev/null
   7821 fi
   7822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   7823 $as_echo "$lt_cv_objdir" >&6; }
   7824 objdir=$lt_cv_objdir
   7825 
   7826 
   7827 
   7828 
   7829 
   7830 cat >>confdefs.h <<_ACEOF
   7831 #define LT_OBJDIR "$lt_cv_objdir/"
   7832 _ACEOF
   7833 
   7834 
   7835 
   7836 
   7837 case $host_os in
   7838 aix3*)
   7839   # AIX sometimes has problems with the GCC collect2 program.  For some
   7840   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7841   # vanish in a puff of smoke.
   7842   if test "X${COLLECT_NAMES+set}" != Xset; then
   7843     COLLECT_NAMES=
   7844     export COLLECT_NAMES
   7845   fi
   7846   ;;
   7847 esac
   7848 
   7849 # Global variables:
   7850 ofile=libtool
   7851 can_build_shared=yes
   7852 
   7853 # All known linkers require a `.a' archive for static linking (except MSVC,
   7854 # which needs '.lib').
   7855 libext=a
   7856 
   7857 with_gnu_ld="$lt_cv_prog_gnu_ld"
   7858 
   7859 old_CC="$CC"
   7860 old_CFLAGS="$CFLAGS"
   7861 
   7862 # Set sane defaults for various variables
   7863 test -z "$CC" && CC=cc
   7864 test -z "$LTCC" && LTCC=$CC
   7865 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7866 test -z "$LD" && LD=ld
   7867 test -z "$ac_objext" && ac_objext=o
   7868 
   7869 for cc_temp in $compiler""; do
   7870   case $cc_temp in
   7871     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7872     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7873     \-*) ;;
   7874     *) break;;
   7875   esac
   7876 done
   7877 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7878 
   7879 
   7880 # Only perform the check for file, if the check method requires it
   7881 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7882 case $deplibs_check_method in
   7883 file_magic*)
   7884   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7885     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   7886 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7887 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7888   $as_echo_n "(cached) " >&6
   7889 else
   7890   case $MAGIC_CMD in
   7891 [\\/*] |  ?:[\\/]*)
   7892   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7893   ;;
   7894 *)
   7895   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7896   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7897   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7898   for ac_dir in $ac_dummy; do
   7899     IFS="$lt_save_ifs"
   7900     test -z "$ac_dir" && ac_dir=.
   7901     if test -f $ac_dir/${ac_tool_prefix}file; then
   7902       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7903       if test -n "$file_magic_test_file"; then
   7904 	case $deplibs_check_method in
   7905 	"file_magic "*)
   7906 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7907 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7908 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7909 	    $EGREP "$file_magic_regex" > /dev/null; then
   7910 	    :
   7911 	  else
   7912 	    cat <<_LT_EOF 1>&2
   7913 
   7914 *** Warning: the command libtool uses to detect shared libraries,
   7915 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7916 *** The result is that libtool may fail to recognize shared libraries
   7917 *** as such.  This will affect the creation of libtool libraries that
   7918 *** depend on shared libraries, but programs linked with such libtool
   7919 *** libraries will work regardless of this problem.  Nevertheless, you
   7920 *** may want to report the problem to your system manager and/or to
   7921 *** bug-libtool@gnu.org
   7922 
   7923 _LT_EOF
   7924 	  fi ;;
   7925 	esac
   7926       fi
   7927       break
   7928     fi
   7929   done
   7930   IFS="$lt_save_ifs"
   7931   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7932   ;;
   7933 esac
   7934 fi
   7935 
   7936 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7937 if test -n "$MAGIC_CMD"; then
   7938   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7939 $as_echo "$MAGIC_CMD" >&6; }
   7940 else
   7941   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7942 $as_echo "no" >&6; }
   7943 fi
   7944 
   7945 
   7946 
   7947 
   7948 
   7949 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7950   if test -n "$ac_tool_prefix"; then
   7951     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   7952 $as_echo_n "checking for file... " >&6; }
   7953 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7954   $as_echo_n "(cached) " >&6
   7955 else
   7956   case $MAGIC_CMD in
   7957 [\\/*] |  ?:[\\/]*)
   7958   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7959   ;;
   7960 *)
   7961   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7962   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7963   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7964   for ac_dir in $ac_dummy; do
   7965     IFS="$lt_save_ifs"
   7966     test -z "$ac_dir" && ac_dir=.
   7967     if test -f $ac_dir/file; then
   7968       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7969       if test -n "$file_magic_test_file"; then
   7970 	case $deplibs_check_method in
   7971 	"file_magic "*)
   7972 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7973 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7974 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7975 	    $EGREP "$file_magic_regex" > /dev/null; then
   7976 	    :
   7977 	  else
   7978 	    cat <<_LT_EOF 1>&2
   7979 
   7980 *** Warning: the command libtool uses to detect shared libraries,
   7981 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7982 *** The result is that libtool may fail to recognize shared libraries
   7983 *** as such.  This will affect the creation of libtool libraries that
   7984 *** depend on shared libraries, but programs linked with such libtool
   7985 *** libraries will work regardless of this problem.  Nevertheless, you
   7986 *** may want to report the problem to your system manager and/or to
   7987 *** bug-libtool@gnu.org
   7988 
   7989 _LT_EOF
   7990 	  fi ;;
   7991 	esac
   7992       fi
   7993       break
   7994     fi
   7995   done
   7996   IFS="$lt_save_ifs"
   7997   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7998   ;;
   7999 esac
   8000 fi
   8001 
   8002 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8003 if test -n "$MAGIC_CMD"; then
   8004   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8005 $as_echo "$MAGIC_CMD" >&6; }
   8006 else
   8007   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8008 $as_echo "no" >&6; }
   8009 fi
   8010 
   8011 
   8012   else
   8013     MAGIC_CMD=:
   8014   fi
   8015 fi
   8016 
   8017   fi
   8018   ;;
   8019 esac
   8020 
   8021 # Use C for the default configuration in the libtool script
   8022 
   8023 lt_save_CC="$CC"
   8024 ac_ext=c
   8025 ac_cpp='$CPP $CPPFLAGS'
   8026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8029 
   8030 
   8031 # Source file extension for C test sources.
   8032 ac_ext=c
   8033 
   8034 # Object file extension for compiled C test sources.
   8035 objext=o
   8036 objext=$objext
   8037 
   8038 # Code to be used in simple compile tests
   8039 lt_simple_compile_test_code="int some_variable = 0;"
   8040 
   8041 # Code to be used in simple link tests
   8042 lt_simple_link_test_code='int main(){return(0);}'
   8043 
   8044 
   8045 
   8046 
   8047 
   8048 
   8049 
   8050 # If no C compiler was specified, use CC.
   8051 LTCC=${LTCC-"$CC"}
   8052 
   8053 # If no C compiler flags were specified, use CFLAGS.
   8054 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8055 
   8056 # Allow CC to be a program name with arguments.
   8057 compiler=$CC
   8058 
   8059 # Save the default compiler, since it gets overwritten when the other
   8060 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8061 compiler_DEFAULT=$CC
   8062 
   8063 # save warnings/boilerplate of simple test code
   8064 ac_outfile=conftest.$ac_objext
   8065 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8066 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8067 _lt_compiler_boilerplate=`cat conftest.err`
   8068 $RM conftest*
   8069 
   8070 ac_outfile=conftest.$ac_objext
   8071 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8072 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8073 _lt_linker_boilerplate=`cat conftest.err`
   8074 $RM -r conftest*
   8075 
   8076 
   8077 if test -n "$compiler"; then
   8078 
   8079 lt_prog_compiler_no_builtin_flag=
   8080 
   8081 if test "$GCC" = yes; then
   8082   case $cc_basename in
   8083   nvcc*)
   8084     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   8085   *)
   8086     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   8087   esac
   8088 
   8089   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8090 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   8091 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   8092   $as_echo_n "(cached) " >&6
   8093 else
   8094   lt_cv_prog_compiler_rtti_exceptions=no
   8095    ac_outfile=conftest.$ac_objext
   8096    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8097    lt_compiler_flag="-fno-rtti -fno-exceptions"
   8098    # Insert the option either (1) after the last *FLAGS variable, or
   8099    # (2) before a word containing "conftest.", or (3) at the end.
   8100    # Note that $ac_compile itself does not contain backslashes and begins
   8101    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8102    # The option is referenced via a variable to avoid confusing sed.
   8103    lt_compile=`echo "$ac_compile" | $SED \
   8104    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8105    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8106    -e 's:$: $lt_compiler_flag:'`
   8107    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8108    (eval "$lt_compile" 2>conftest.err)
   8109    ac_status=$?
   8110    cat conftest.err >&5
   8111    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8112    if (exit $ac_status) && test -s "$ac_outfile"; then
   8113      # The compiler can only warn and ignore the option if not recognized
   8114      # So say no if there are warnings other than the usual output.
   8115      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8116      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8117      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8118        lt_cv_prog_compiler_rtti_exceptions=yes
   8119      fi
   8120    fi
   8121    $RM conftest*
   8122 
   8123 fi
   8124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   8125 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   8126 
   8127 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   8128     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   8129 else
   8130     :
   8131 fi
   8132 
   8133 fi
   8134 
   8135 
   8136 
   8137 
   8138 
   8139 
   8140   lt_prog_compiler_wl=
   8141 lt_prog_compiler_pic=
   8142 lt_prog_compiler_static=
   8143 
   8144 
   8145   if test "$GCC" = yes; then
   8146     lt_prog_compiler_wl='-Wl,'
   8147     lt_prog_compiler_static='-static'
   8148 
   8149     case $host_os in
   8150       aix*)
   8151       # All AIX code is PIC.
   8152       if test "$host_cpu" = ia64; then
   8153 	# AIX 5 now supports IA64 processor
   8154 	lt_prog_compiler_static='-Bstatic'
   8155       fi
   8156       ;;
   8157 
   8158     amigaos*)
   8159       case $host_cpu in
   8160       powerpc)
   8161             # see comment about AmigaOS4 .so support
   8162             lt_prog_compiler_pic='-fPIC'
   8163         ;;
   8164       m68k)
   8165             # FIXME: we need at least 68020 code to build shared libraries, but
   8166             # adding the `-m68020' flag to GCC prevents building anything better,
   8167             # like `-m68040'.
   8168             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8169         ;;
   8170       esac
   8171       ;;
   8172 
   8173     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8174       # PIC is the default for these OSes.
   8175       ;;
   8176 
   8177     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8178       # This hack is so that the source file can tell whether it is being
   8179       # built for inclusion in a dll (and should export symbols for example).
   8180       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8181       # (--disable-auto-import) libraries
   8182       lt_prog_compiler_pic='-DDLL_EXPORT'
   8183       ;;
   8184 
   8185     darwin* | rhapsody*)
   8186       # PIC is the default on this platform
   8187       # Common symbols not allowed in MH_DYLIB files
   8188       lt_prog_compiler_pic='-fno-common'
   8189       ;;
   8190 
   8191     haiku*)
   8192       # PIC is the default for Haiku.
   8193       # The "-static" flag exists, but is broken.
   8194       lt_prog_compiler_static=
   8195       ;;
   8196 
   8197     hpux*)
   8198       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8199       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8200       # sets the default TLS model and affects inlining.
   8201       case $host_cpu in
   8202       hppa*64*)
   8203 	# +Z the default
   8204 	;;
   8205       *)
   8206 	lt_prog_compiler_pic='-fPIC'
   8207 	;;
   8208       esac
   8209       ;;
   8210 
   8211     interix[3-9]*)
   8212       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8213       # Instead, we relocate shared libraries at runtime.
   8214       ;;
   8215 
   8216     msdosdjgpp*)
   8217       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8218       # on systems that don't support them.
   8219       lt_prog_compiler_can_build_shared=no
   8220       enable_shared=no
   8221       ;;
   8222 
   8223     *nto* | *qnx*)
   8224       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8225       # it will coredump.
   8226       lt_prog_compiler_pic='-fPIC -shared'
   8227       ;;
   8228 
   8229     sysv4*MP*)
   8230       if test -d /usr/nec; then
   8231 	lt_prog_compiler_pic=-Kconform_pic
   8232       fi
   8233       ;;
   8234 
   8235     *)
   8236       lt_prog_compiler_pic='-fPIC'
   8237       ;;
   8238     esac
   8239 
   8240     case $cc_basename in
   8241     nvcc*) # Cuda Compiler Driver 2.2
   8242       lt_prog_compiler_wl='-Xlinker '
   8243       lt_prog_compiler_pic='-Xcompiler -fPIC'
   8244       ;;
   8245     esac
   8246   else
   8247     # PORTME Check for flag to pass linker flags through the system compiler.
   8248     case $host_os in
   8249     aix*)
   8250       lt_prog_compiler_wl='-Wl,'
   8251       if test "$host_cpu" = ia64; then
   8252 	# AIX 5 now supports IA64 processor
   8253 	lt_prog_compiler_static='-Bstatic'
   8254       else
   8255 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8256       fi
   8257       ;;
   8258 
   8259     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8260       # This hack is so that the source file can tell whether it is being
   8261       # built for inclusion in a dll (and should export symbols for example).
   8262       lt_prog_compiler_pic='-DDLL_EXPORT'
   8263       ;;
   8264 
   8265     hpux9* | hpux10* | hpux11*)
   8266       lt_prog_compiler_wl='-Wl,'
   8267       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8268       # not for PA HP-UX.
   8269       case $host_cpu in
   8270       hppa*64*|ia64*)
   8271 	# +Z the default
   8272 	;;
   8273       *)
   8274 	lt_prog_compiler_pic='+Z'
   8275 	;;
   8276       esac
   8277       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8278       lt_prog_compiler_static='${wl}-a ${wl}archive'
   8279       ;;
   8280 
   8281     irix5* | irix6* | nonstopux*)
   8282       lt_prog_compiler_wl='-Wl,'
   8283       # PIC (with -KPIC) is the default.
   8284       lt_prog_compiler_static='-non_shared'
   8285       ;;
   8286 
   8287     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   8288       case $cc_basename in
   8289       # old Intel for x86_64 which still supported -KPIC.
   8290       ecc*)
   8291 	lt_prog_compiler_wl='-Wl,'
   8292 	lt_prog_compiler_pic='-KPIC'
   8293 	lt_prog_compiler_static='-static'
   8294         ;;
   8295       # icc used to be incompatible with GCC.
   8296       # ICC 10 doesn't accept -KPIC any more.
   8297       icc* | ifort*)
   8298 	lt_prog_compiler_wl='-Wl,'
   8299 	lt_prog_compiler_pic='-fPIC'
   8300 	lt_prog_compiler_static='-static'
   8301         ;;
   8302       # Lahey Fortran 8.1.
   8303       lf95*)
   8304 	lt_prog_compiler_wl='-Wl,'
   8305 	lt_prog_compiler_pic='--shared'
   8306 	lt_prog_compiler_static='--static'
   8307 	;;
   8308       nagfor*)
   8309 	# NAG Fortran compiler
   8310 	lt_prog_compiler_wl='-Wl,-Wl,,'
   8311 	lt_prog_compiler_pic='-PIC'
   8312 	lt_prog_compiler_static='-Bstatic'
   8313 	;;
   8314       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8315         # Portland Group compilers (*not* the Pentium gcc compiler,
   8316 	# which looks to be a dead project)
   8317 	lt_prog_compiler_wl='-Wl,'
   8318 	lt_prog_compiler_pic='-fpic'
   8319 	lt_prog_compiler_static='-Bstatic'
   8320         ;;
   8321       ccc*)
   8322         lt_prog_compiler_wl='-Wl,'
   8323         # All Alpha code is PIC.
   8324         lt_prog_compiler_static='-non_shared'
   8325         ;;
   8326       xl* | bgxl* | bgf* | mpixl*)
   8327 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8328 	lt_prog_compiler_wl='-Wl,'
   8329 	lt_prog_compiler_pic='-qpic'
   8330 	lt_prog_compiler_static='-qstaticlink'
   8331 	;;
   8332       *)
   8333 	case `$CC -V 2>&1 | sed 5q` in
   8334 	*Sun\ F* | *Sun*Fortran*)
   8335 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8336 	  lt_prog_compiler_pic='-KPIC'
   8337 	  lt_prog_compiler_static='-Bstatic'
   8338 	  lt_prog_compiler_wl=''
   8339 	  ;;
   8340 	*Sun\ C*)
   8341 	  # Sun C 5.9
   8342 	  lt_prog_compiler_pic='-KPIC'
   8343 	  lt_prog_compiler_static='-Bstatic'
   8344 	  lt_prog_compiler_wl='-Wl,'
   8345 	  ;;
   8346 	esac
   8347 	;;
   8348       esac
   8349       ;;
   8350 
   8351     newsos6)
   8352       lt_prog_compiler_pic='-KPIC'
   8353       lt_prog_compiler_static='-Bstatic'
   8354       ;;
   8355 
   8356     *nto* | *qnx*)
   8357       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8358       # it will coredump.
   8359       lt_prog_compiler_pic='-fPIC -shared'
   8360       ;;
   8361 
   8362     osf3* | osf4* | osf5*)
   8363       lt_prog_compiler_wl='-Wl,'
   8364       # All OSF/1 code is PIC.
   8365       lt_prog_compiler_static='-non_shared'
   8366       ;;
   8367 
   8368     rdos*)
   8369       lt_prog_compiler_static='-non_shared'
   8370       ;;
   8371 
   8372     solaris*)
   8373       lt_prog_compiler_pic='-KPIC'
   8374       lt_prog_compiler_static='-Bstatic'
   8375       case $cc_basename in
   8376       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   8377 	lt_prog_compiler_wl='-Qoption ld ';;
   8378       *)
   8379 	lt_prog_compiler_wl='-Wl,';;
   8380       esac
   8381       ;;
   8382 
   8383     sunos4*)
   8384       lt_prog_compiler_wl='-Qoption ld '
   8385       lt_prog_compiler_pic='-PIC'
   8386       lt_prog_compiler_static='-Bstatic'
   8387       ;;
   8388 
   8389     sysv4 | sysv4.2uw2* | sysv4.3*)
   8390       lt_prog_compiler_wl='-Wl,'
   8391       lt_prog_compiler_pic='-KPIC'
   8392       lt_prog_compiler_static='-Bstatic'
   8393       ;;
   8394 
   8395     sysv4*MP*)
   8396       if test -d /usr/nec ;then
   8397 	lt_prog_compiler_pic='-Kconform_pic'
   8398 	lt_prog_compiler_static='-Bstatic'
   8399       fi
   8400       ;;
   8401 
   8402     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8403       lt_prog_compiler_wl='-Wl,'
   8404       lt_prog_compiler_pic='-KPIC'
   8405       lt_prog_compiler_static='-Bstatic'
   8406       ;;
   8407 
   8408     unicos*)
   8409       lt_prog_compiler_wl='-Wl,'
   8410       lt_prog_compiler_can_build_shared=no
   8411       ;;
   8412 
   8413     uts4*)
   8414       lt_prog_compiler_pic='-pic'
   8415       lt_prog_compiler_static='-Bstatic'
   8416       ;;
   8417 
   8418     *)
   8419       lt_prog_compiler_can_build_shared=no
   8420       ;;
   8421     esac
   8422   fi
   8423 
   8424 case $host_os in
   8425   # For platforms which do not support PIC, -DPIC is meaningless:
   8426   *djgpp*)
   8427     lt_prog_compiler_pic=
   8428     ;;
   8429   *)
   8430     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8431     ;;
   8432 esac
   8433 
   8434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8435 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8436 if ${lt_cv_prog_compiler_pic+:} false; then :
   8437   $as_echo_n "(cached) " >&6
   8438 else
   8439   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   8440 fi
   8441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   8442 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   8443 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   8444 
   8445 #
   8446 # Check to make sure the PIC flag actually works.
   8447 #
   8448 if test -n "$lt_prog_compiler_pic"; then
   8449   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8450 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8451 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8452   $as_echo_n "(cached) " >&6
   8453 else
   8454   lt_cv_prog_compiler_pic_works=no
   8455    ac_outfile=conftest.$ac_objext
   8456    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8457    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8458    # Insert the option either (1) after the last *FLAGS variable, or
   8459    # (2) before a word containing "conftest.", or (3) at the end.
   8460    # Note that $ac_compile itself does not contain backslashes and begins
   8461    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8462    # The option is referenced via a variable to avoid confusing sed.
   8463    lt_compile=`echo "$ac_compile" | $SED \
   8464    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8465    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8466    -e 's:$: $lt_compiler_flag:'`
   8467    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8468    (eval "$lt_compile" 2>conftest.err)
   8469    ac_status=$?
   8470    cat conftest.err >&5
   8471    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8472    if (exit $ac_status) && test -s "$ac_outfile"; then
   8473      # The compiler can only warn and ignore the option if not recognized
   8474      # So say no if there are warnings other than the usual output.
   8475      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8476      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8477      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8478        lt_cv_prog_compiler_pic_works=yes
   8479      fi
   8480    fi
   8481    $RM conftest*
   8482 
   8483 fi
   8484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8485 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8486 
   8487 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8488     case $lt_prog_compiler_pic in
   8489      "" | " "*) ;;
   8490      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8491      esac
   8492 else
   8493     lt_prog_compiler_pic=
   8494      lt_prog_compiler_can_build_shared=no
   8495 fi
   8496 
   8497 fi
   8498 
   8499 
   8500 
   8501 
   8502 
   8503 
   8504 
   8505 
   8506 
   8507 
   8508 
   8509 #
   8510 # Check to make sure the static flag actually works.
   8511 #
   8512 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8514 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8515 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8516   $as_echo_n "(cached) " >&6
   8517 else
   8518   lt_cv_prog_compiler_static_works=no
   8519    save_LDFLAGS="$LDFLAGS"
   8520    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8521    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8522    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8523      # The linker can only warn and ignore the option if not recognized
   8524      # So say no if there are warnings
   8525      if test -s conftest.err; then
   8526        # Append any errors to the config.log.
   8527        cat conftest.err 1>&5
   8528        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8529        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8530        if diff conftest.exp conftest.er2 >/dev/null; then
   8531          lt_cv_prog_compiler_static_works=yes
   8532        fi
   8533      else
   8534        lt_cv_prog_compiler_static_works=yes
   8535      fi
   8536    fi
   8537    $RM -r conftest*
   8538    LDFLAGS="$save_LDFLAGS"
   8539 
   8540 fi
   8541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8542 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8543 
   8544 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8545     :
   8546 else
   8547     lt_prog_compiler_static=
   8548 fi
   8549 
   8550 
   8551 
   8552 
   8553 
   8554 
   8555 
   8556   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8557 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8558 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8559   $as_echo_n "(cached) " >&6
   8560 else
   8561   lt_cv_prog_compiler_c_o=no
   8562    $RM -r conftest 2>/dev/null
   8563    mkdir conftest
   8564    cd conftest
   8565    mkdir out
   8566    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8567 
   8568    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8569    # Insert the option either (1) after the last *FLAGS variable, or
   8570    # (2) before a word containing "conftest.", or (3) at the end.
   8571    # Note that $ac_compile itself does not contain backslashes and begins
   8572    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8573    lt_compile=`echo "$ac_compile" | $SED \
   8574    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8575    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8576    -e 's:$: $lt_compiler_flag:'`
   8577    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8578    (eval "$lt_compile" 2>out/conftest.err)
   8579    ac_status=$?
   8580    cat out/conftest.err >&5
   8581    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8582    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8583    then
   8584      # The compiler can only warn and ignore the option if not recognized
   8585      # So say no if there are warnings
   8586      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8587      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8588      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8589        lt_cv_prog_compiler_c_o=yes
   8590      fi
   8591    fi
   8592    chmod u+w . 2>&5
   8593    $RM conftest*
   8594    # SGI C++ compiler will create directory out/ii_files/ for
   8595    # template instantiation
   8596    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8597    $RM out/* && rmdir out
   8598    cd ..
   8599    $RM -r conftest
   8600    $RM conftest*
   8601 
   8602 fi
   8603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8604 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8605 
   8606 
   8607 
   8608 
   8609 
   8610 
   8611   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8612 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8613 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8614   $as_echo_n "(cached) " >&6
   8615 else
   8616   lt_cv_prog_compiler_c_o=no
   8617    $RM -r conftest 2>/dev/null
   8618    mkdir conftest
   8619    cd conftest
   8620    mkdir out
   8621    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8622 
   8623    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8624    # Insert the option either (1) after the last *FLAGS variable, or
   8625    # (2) before a word containing "conftest.", or (3) at the end.
   8626    # Note that $ac_compile itself does not contain backslashes and begins
   8627    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8628    lt_compile=`echo "$ac_compile" | $SED \
   8629    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8630    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8631    -e 's:$: $lt_compiler_flag:'`
   8632    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8633    (eval "$lt_compile" 2>out/conftest.err)
   8634    ac_status=$?
   8635    cat out/conftest.err >&5
   8636    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8637    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8638    then
   8639      # The compiler can only warn and ignore the option if not recognized
   8640      # So say no if there are warnings
   8641      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8642      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8643      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8644        lt_cv_prog_compiler_c_o=yes
   8645      fi
   8646    fi
   8647    chmod u+w . 2>&5
   8648    $RM conftest*
   8649    # SGI C++ compiler will create directory out/ii_files/ for
   8650    # template instantiation
   8651    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8652    $RM out/* && rmdir out
   8653    cd ..
   8654    $RM -r conftest
   8655    $RM conftest*
   8656 
   8657 fi
   8658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8659 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8660 
   8661 
   8662 
   8663 
   8664 hard_links="nottested"
   8665 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8666   # do not overwrite the value of need_locks provided by the user
   8667   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   8668 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8669   hard_links=yes
   8670   $RM conftest*
   8671   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8672   touch conftest.a
   8673   ln conftest.a conftest.b 2>&5 || hard_links=no
   8674   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8675   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   8676 $as_echo "$hard_links" >&6; }
   8677   if test "$hard_links" = no; then
   8678     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8679 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8680     need_locks=warn
   8681   fi
   8682 else
   8683   need_locks=no
   8684 fi
   8685 
   8686 
   8687 
   8688 
   8689 
   8690 
   8691   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8692 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8693 
   8694   runpath_var=
   8695   allow_undefined_flag=
   8696   always_export_symbols=no
   8697   archive_cmds=
   8698   archive_expsym_cmds=
   8699   compiler_needs_object=no
   8700   enable_shared_with_static_runtimes=no
   8701   export_dynamic_flag_spec=
   8702   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8703   hardcode_automatic=no
   8704   hardcode_direct=no
   8705   hardcode_direct_absolute=no
   8706   hardcode_libdir_flag_spec=
   8707   hardcode_libdir_flag_spec_ld=
   8708   hardcode_libdir_separator=
   8709   hardcode_minus_L=no
   8710   hardcode_shlibpath_var=unsupported
   8711   inherit_rpath=no
   8712   link_all_deplibs=unknown
   8713   module_cmds=
   8714   module_expsym_cmds=
   8715   old_archive_from_new_cmds=
   8716   old_archive_from_expsyms_cmds=
   8717   thread_safe_flag_spec=
   8718   whole_archive_flag_spec=
   8719   # include_expsyms should be a list of space-separated symbols to be *always*
   8720   # included in the symbol list
   8721   include_expsyms=
   8722   # exclude_expsyms can be an extended regexp of symbols to exclude
   8723   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8724   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8725   # as well as any symbol that contains `d'.
   8726   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8727   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8728   # platforms (ab)use it in PIC code, but their linkers get confused if
   8729   # the symbol is explicitly referenced.  Since portable code cannot
   8730   # rely on this symbol name, it's probably fine to never include it in
   8731   # preloaded symbol tables.
   8732   # Exclude shared library initialization/finalization symbols.
   8733   extract_expsyms_cmds=
   8734 
   8735   case $host_os in
   8736   cygwin* | mingw* | pw32* | cegcc*)
   8737     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8738     # When not using gcc, we currently assume that we are using
   8739     # Microsoft Visual C++.
   8740     if test "$GCC" != yes; then
   8741       with_gnu_ld=no
   8742     fi
   8743     ;;
   8744   interix*)
   8745     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8746     with_gnu_ld=yes
   8747     ;;
   8748   openbsd*)
   8749     with_gnu_ld=no
   8750     ;;
   8751   esac
   8752 
   8753   ld_shlibs=yes
   8754 
   8755   # On some targets, GNU ld is compatible enough with the native linker
   8756   # that we're better off using the native interface for both.
   8757   lt_use_gnu_ld_interface=no
   8758   if test "$with_gnu_ld" = yes; then
   8759     case $host_os in
   8760       aix*)
   8761 	# The AIX port of GNU ld has always aspired to compatibility
   8762 	# with the native linker.  However, as the warning in the GNU ld
   8763 	# block says, versions before 2.19.5* couldn't really create working
   8764 	# shared libraries, regardless of the interface used.
   8765 	case `$LD -v 2>&1` in
   8766 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   8767 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   8768 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   8769 	  *)
   8770 	    lt_use_gnu_ld_interface=yes
   8771 	    ;;
   8772 	esac
   8773 	;;
   8774       *)
   8775 	lt_use_gnu_ld_interface=yes
   8776 	;;
   8777     esac
   8778   fi
   8779 
   8780   if test "$lt_use_gnu_ld_interface" = yes; then
   8781     # If archive_cmds runs LD, not CC, wlarc should be empty
   8782     wlarc='${wl}'
   8783 
   8784     # Set some defaults for GNU ld with shared library support. These
   8785     # are reset later if shared libraries are not supported. Putting them
   8786     # here allows them to be overridden if necessary.
   8787     runpath_var=LD_RUN_PATH
   8788     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8789     export_dynamic_flag_spec='${wl}--export-dynamic'
   8790     # ancient GNU ld didn't support --whole-archive et. al.
   8791     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8792       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8793     else
   8794       whole_archive_flag_spec=
   8795     fi
   8796     supports_anon_versioning=no
   8797     case `$LD -v 2>&1` in
   8798       *GNU\ gold*) supports_anon_versioning=yes ;;
   8799       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8800       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8801       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8802       *\ 2.11.*) ;; # other 2.11 versions
   8803       *) supports_anon_versioning=yes ;;
   8804     esac
   8805 
   8806     # See if GNU ld supports shared libraries.
   8807     case $host_os in
   8808     aix[3-9]*)
   8809       # On AIX/PPC, the GNU linker is very broken
   8810       if test "$host_cpu" != ia64; then
   8811 	ld_shlibs=no
   8812 	cat <<_LT_EOF 1>&2
   8813 
   8814 *** Warning: the GNU linker, at least up to release 2.19, is reported
   8815 *** to be unable to reliably create shared libraries on AIX.
   8816 *** Therefore, libtool is disabling shared libraries support.  If you
   8817 *** really care for shared libraries, you may want to install binutils
   8818 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   8819 *** You will then need to restart the configuration process.
   8820 
   8821 _LT_EOF
   8822       fi
   8823       ;;
   8824 
   8825     amigaos*)
   8826       case $host_cpu in
   8827       powerpc)
   8828             # see comment about AmigaOS4 .so support
   8829             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8830             archive_expsym_cmds=''
   8831         ;;
   8832       m68k)
   8833             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)'
   8834             hardcode_libdir_flag_spec='-L$libdir'
   8835             hardcode_minus_L=yes
   8836         ;;
   8837       esac
   8838       ;;
   8839 
   8840     beos*)
   8841       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8842 	allow_undefined_flag=unsupported
   8843 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8844 	# support --undefined.  This deserves some investigation.  FIXME
   8845 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8846       else
   8847 	ld_shlibs=no
   8848       fi
   8849       ;;
   8850 
   8851     cygwin* | mingw* | pw32* | cegcc*)
   8852       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8853       # as there is no search path for DLLs.
   8854       hardcode_libdir_flag_spec='-L$libdir'
   8855       export_dynamic_flag_spec='${wl}--export-all-symbols'
   8856       allow_undefined_flag=unsupported
   8857       always_export_symbols=no
   8858       enable_shared_with_static_runtimes=yes
   8859       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'
   8860       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   8861 
   8862       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   8863         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8864 	# If the export-symbols file already is a .def file (1st line
   8865 	# is EXPORTS), use it as is; otherwise, prepend...
   8866 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8867 	  cp $export_symbols $output_objdir/$soname.def;
   8868 	else
   8869 	  echo EXPORTS > $output_objdir/$soname.def;
   8870 	  cat $export_symbols >> $output_objdir/$soname.def;
   8871 	fi~
   8872 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8873       else
   8874 	ld_shlibs=no
   8875       fi
   8876       ;;
   8877 
   8878     haiku*)
   8879       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8880       link_all_deplibs=yes
   8881       ;;
   8882 
   8883     interix[3-9]*)
   8884       hardcode_direct=no
   8885       hardcode_shlibpath_var=no
   8886       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8887       export_dynamic_flag_spec='${wl}-E'
   8888       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8889       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8890       # default) and relocated if they conflict, which is a slow very memory
   8891       # consuming and fragmenting process.  To avoid this, we pick a random,
   8892       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8893       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8894       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8895       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'
   8896       ;;
   8897 
   8898     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   8899       tmp_diet=no
   8900       if test "$host_os" = linux-dietlibc; then
   8901 	case $cc_basename in
   8902 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   8903 	esac
   8904       fi
   8905       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   8906 	 && test "$tmp_diet" = no
   8907       then
   8908 	tmp_addflag=' $pic_flag'
   8909 	tmp_sharedflag='-shared'
   8910 	case $cc_basename,$host_cpu in
   8911         pgcc*)				# Portland Group C compiler
   8912 	  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'
   8913 	  tmp_addflag=' $pic_flag'
   8914 	  ;;
   8915 	pgf77* | pgf90* | pgf95* | pgfortran*)
   8916 					# Portland Group f77 and f90 compilers
   8917 	  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'
   8918 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8919 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   8920 	  tmp_addflag=' -i_dynamic' ;;
   8921 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8922 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8923 	ifc* | ifort*)			# Intel Fortran compiler
   8924 	  tmp_addflag=' -nofor_main' ;;
   8925 	lf95*)				# Lahey Fortran 8.1
   8926 	  whole_archive_flag_spec=
   8927 	  tmp_sharedflag='--shared' ;;
   8928 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   8929 	  tmp_sharedflag='-qmkshrobj'
   8930 	  tmp_addflag= ;;
   8931 	nvcc*)	# Cuda Compiler Driver 2.2
   8932 	  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'
   8933 	  compiler_needs_object=yes
   8934 	  ;;
   8935 	esac
   8936 	case `$CC -V 2>&1 | sed 5q` in
   8937 	*Sun\ C*)			# Sun C 5.9
   8938 	  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'
   8939 	  compiler_needs_object=yes
   8940 	  tmp_sharedflag='-G' ;;
   8941 	*Sun\ F*)			# Sun Fortran 8.3
   8942 	  tmp_sharedflag='-G' ;;
   8943 	esac
   8944 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8945 
   8946         if test "x$supports_anon_versioning" = xyes; then
   8947           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8948 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8949 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   8950 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8951         fi
   8952 
   8953 	case $cc_basename in
   8954 	xlf* | bgf* | bgxlf* | mpixlf*)
   8955 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   8956 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   8957 	  hardcode_libdir_flag_spec=
   8958 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8959 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   8960 	  if test "x$supports_anon_versioning" = xyes; then
   8961 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8962 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8963 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   8964 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   8965 	  fi
   8966 	  ;;
   8967 	esac
   8968       else
   8969         ld_shlibs=no
   8970       fi
   8971       ;;
   8972 
   8973     netbsd*)
   8974       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8975 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8976 	wlarc=
   8977       else
   8978 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8979 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8980       fi
   8981       ;;
   8982 
   8983     solaris*)
   8984       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   8985 	ld_shlibs=no
   8986 	cat <<_LT_EOF 1>&2
   8987 
   8988 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8989 *** create shared libraries on Solaris systems.  Therefore, libtool
   8990 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8991 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8992 *** your PATH or compiler configuration so that the native linker is
   8993 *** used, and then restart.
   8994 
   8995 _LT_EOF
   8996       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8997 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8998 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8999       else
   9000 	ld_shlibs=no
   9001       fi
   9002       ;;
   9003 
   9004     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   9005       case `$LD -v 2>&1` in
   9006         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   9007 	ld_shlibs=no
   9008 	cat <<_LT_EOF 1>&2
   9009 
   9010 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   9011 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   9012 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9013 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   9014 *** your PATH or compiler configuration so that the native linker is
   9015 *** used, and then restart.
   9016 
   9017 _LT_EOF
   9018 	;;
   9019 	*)
   9020 	  # For security reasons, it is highly recommended that you always
   9021 	  # use absolute paths for naming shared libraries, and exclude the
   9022 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   9023 	  # requires that you compile everything twice, which is a pain.
   9024 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9025 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9026 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9027 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9028 	  else
   9029 	    ld_shlibs=no
   9030 	  fi
   9031 	;;
   9032       esac
   9033       ;;
   9034 
   9035     sunos4*)
   9036       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9037       wlarc=
   9038       hardcode_direct=yes
   9039       hardcode_shlibpath_var=no
   9040       ;;
   9041 
   9042     *)
   9043       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9044 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9045 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9046       else
   9047 	ld_shlibs=no
   9048       fi
   9049       ;;
   9050     esac
   9051 
   9052     if test "$ld_shlibs" = no; then
   9053       runpath_var=
   9054       hardcode_libdir_flag_spec=
   9055       export_dynamic_flag_spec=
   9056       whole_archive_flag_spec=
   9057     fi
   9058   else
   9059     # PORTME fill in a description of your system's linker (not GNU ld)
   9060     case $host_os in
   9061     aix3*)
   9062       allow_undefined_flag=unsupported
   9063       always_export_symbols=yes
   9064       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'
   9065       # Note: this linker hardcodes the directories in LIBPATH if there
   9066       # are no directories specified by -L.
   9067       hardcode_minus_L=yes
   9068       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   9069 	# Neither direct hardcoding nor static linking is supported with a
   9070 	# broken collect2.
   9071 	hardcode_direct=unsupported
   9072       fi
   9073       ;;
   9074 
   9075     aix[4-9]*)
   9076       if test "$host_cpu" = ia64; then
   9077 	# On IA64, the linker does run time linking by default, so we don't
   9078 	# have to do anything special.
   9079 	aix_use_runtimelinking=no
   9080 	exp_sym_flag='-Bexport'
   9081 	no_entry_flag=""
   9082       else
   9083 	# If we're using GNU nm, then we don't want the "-C" option.
   9084 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   9085 	# Also, AIX nm treats weak defined symbols like other global
   9086 	# defined symbols, whereas GNU nm marks them as "W".
   9087 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   9088 	  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'
   9089 	else
   9090 	  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'
   9091 	fi
   9092 	aix_use_runtimelinking=no
   9093 
   9094 	# Test if we are trying to use run time linking or normal
   9095 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   9096 	# need to do runtime linking.
   9097 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   9098 	  for ld_flag in $LDFLAGS; do
   9099 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   9100 	    aix_use_runtimelinking=yes
   9101 	    break
   9102 	  fi
   9103 	  done
   9104 	  ;;
   9105 	esac
   9106 
   9107 	exp_sym_flag='-bexport'
   9108 	no_entry_flag='-bnoentry'
   9109       fi
   9110 
   9111       # When large executables or shared objects are built, AIX ld can
   9112       # have problems creating the table of contents.  If linking a library
   9113       # or program results in "error TOC overflow" add -mminimal-toc to
   9114       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   9115       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   9116 
   9117       archive_cmds=''
   9118       hardcode_direct=yes
   9119       hardcode_direct_absolute=yes
   9120       hardcode_libdir_separator=':'
   9121       link_all_deplibs=yes
   9122       file_list_spec='${wl}-f,'
   9123 
   9124       if test "$GCC" = yes; then
   9125 	case $host_os in aix4.[012]|aix4.[012].*)
   9126 	# We only want to do this on AIX 4.2 and lower, the check
   9127 	# below for broken collect2 doesn't work under 4.3+
   9128 	  collect2name=`${CC} -print-prog-name=collect2`
   9129 	  if test -f "$collect2name" &&
   9130 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   9131 	  then
   9132 	  # We have reworked collect2
   9133 	  :
   9134 	  else
   9135 	  # We have old collect2
   9136 	  hardcode_direct=unsupported
   9137 	  # It fails to find uninstalled libraries when the uninstalled
   9138 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   9139 	  # to unsupported forces relinking
   9140 	  hardcode_minus_L=yes
   9141 	  hardcode_libdir_flag_spec='-L$libdir'
   9142 	  hardcode_libdir_separator=
   9143 	  fi
   9144 	  ;;
   9145 	esac
   9146 	shared_flag='-shared'
   9147 	if test "$aix_use_runtimelinking" = yes; then
   9148 	  shared_flag="$shared_flag "'${wl}-G'
   9149 	fi
   9150       else
   9151 	# not using gcc
   9152 	if test "$host_cpu" = ia64; then
   9153 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   9154 	# chokes on -Wl,-G. The following line is correct:
   9155 	  shared_flag='-G'
   9156 	else
   9157 	  if test "$aix_use_runtimelinking" = yes; then
   9158 	    shared_flag='${wl}-G'
   9159 	  else
   9160 	    shared_flag='${wl}-bM:SRE'
   9161 	  fi
   9162 	fi
   9163       fi
   9164 
   9165       export_dynamic_flag_spec='${wl}-bexpall'
   9166       # It seems that -bexpall does not export symbols beginning with
   9167       # underscore (_), so it is better to generate a list of symbols to export.
   9168       always_export_symbols=yes
   9169       if test "$aix_use_runtimelinking" = yes; then
   9170 	# Warning - without using the other runtime loading flags (-brtl),
   9171 	# -berok will link without error, but may produce a broken library.
   9172 	allow_undefined_flag='-berok'
   9173         # Determine the default libpath from the value encoded in an
   9174         # empty executable.
   9175         if test "${lt_cv_aix_libpath+set}" = set; then
   9176   aix_libpath=$lt_cv_aix_libpath
   9177 else
   9178   if ${lt_cv_aix_libpath_+:} false; then :
   9179   $as_echo_n "(cached) " >&6
   9180 else
   9181   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9182 /* end confdefs.h.  */
   9183 
   9184 int
   9185 main ()
   9186 {
   9187 
   9188   ;
   9189   return 0;
   9190 }
   9191 _ACEOF
   9192 if ac_fn_c_try_link "$LINENO"; then :
   9193 
   9194   lt_aix_libpath_sed='
   9195       /Import File Strings/,/^$/ {
   9196 	  /^0/ {
   9197 	      s/^0  *\([^ ]*\) *$/\1/
   9198 	      p
   9199 	  }
   9200       }'
   9201   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9202   # Check for a 64-bit object if we didn't find anything.
   9203   if test -z "$lt_cv_aix_libpath_"; then
   9204     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9205   fi
   9206 fi
   9207 rm -f core conftest.err conftest.$ac_objext \
   9208     conftest$ac_exeext conftest.$ac_ext
   9209   if test -z "$lt_cv_aix_libpath_"; then
   9210     lt_cv_aix_libpath_="/usr/lib:/lib"
   9211   fi
   9212 
   9213 fi
   9214 
   9215   aix_libpath=$lt_cv_aix_libpath_
   9216 fi
   9217 
   9218         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9219         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"
   9220       else
   9221 	if test "$host_cpu" = ia64; then
   9222 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   9223 	  allow_undefined_flag="-z nodefs"
   9224 	  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"
   9225 	else
   9226 	 # Determine the default libpath from the value encoded in an
   9227 	 # empty executable.
   9228 	 if test "${lt_cv_aix_libpath+set}" = set; then
   9229   aix_libpath=$lt_cv_aix_libpath
   9230 else
   9231   if ${lt_cv_aix_libpath_+:} false; then :
   9232   $as_echo_n "(cached) " >&6
   9233 else
   9234   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9235 /* end confdefs.h.  */
   9236 
   9237 int
   9238 main ()
   9239 {
   9240 
   9241   ;
   9242   return 0;
   9243 }
   9244 _ACEOF
   9245 if ac_fn_c_try_link "$LINENO"; then :
   9246 
   9247   lt_aix_libpath_sed='
   9248       /Import File Strings/,/^$/ {
   9249 	  /^0/ {
   9250 	      s/^0  *\([^ ]*\) *$/\1/
   9251 	      p
   9252 	  }
   9253       }'
   9254   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9255   # Check for a 64-bit object if we didn't find anything.
   9256   if test -z "$lt_cv_aix_libpath_"; then
   9257     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9258   fi
   9259 fi
   9260 rm -f core conftest.err conftest.$ac_objext \
   9261     conftest$ac_exeext conftest.$ac_ext
   9262   if test -z "$lt_cv_aix_libpath_"; then
   9263     lt_cv_aix_libpath_="/usr/lib:/lib"
   9264   fi
   9265 
   9266 fi
   9267 
   9268   aix_libpath=$lt_cv_aix_libpath_
   9269 fi
   9270 
   9271 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9272 	  # Warning - without using the other run time loading flags,
   9273 	  # -berok will link without error, but may produce a broken library.
   9274 	  no_undefined_flag=' ${wl}-bernotok'
   9275 	  allow_undefined_flag=' ${wl}-berok'
   9276 	  if test "$with_gnu_ld" = yes; then
   9277 	    # We only use this code for GNU lds that support --whole-archive.
   9278 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   9279 	  else
   9280 	    # Exported symbols can be pulled into shared objects from archives
   9281 	    whole_archive_flag_spec='$convenience'
   9282 	  fi
   9283 	  archive_cmds_need_lc=yes
   9284 	  # This is similar to how AIX traditionally builds its shared libraries.
   9285 	  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'
   9286 	fi
   9287       fi
   9288       ;;
   9289 
   9290     amigaos*)
   9291       case $host_cpu in
   9292       powerpc)
   9293             # see comment about AmigaOS4 .so support
   9294             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9295             archive_expsym_cmds=''
   9296         ;;
   9297       m68k)
   9298             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)'
   9299             hardcode_libdir_flag_spec='-L$libdir'
   9300             hardcode_minus_L=yes
   9301         ;;
   9302       esac
   9303       ;;
   9304 
   9305     bsdi[45]*)
   9306       export_dynamic_flag_spec=-rdynamic
   9307       ;;
   9308 
   9309     cygwin* | mingw* | pw32* | cegcc*)
   9310       # When not using gcc, we currently assume that we are using
   9311       # Microsoft Visual C++.
   9312       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9313       # no search path for DLLs.
   9314       case $cc_basename in
   9315       cl*)
   9316 	# Native MSVC
   9317 	hardcode_libdir_flag_spec=' '
   9318 	allow_undefined_flag=unsupported
   9319 	always_export_symbols=yes
   9320 	file_list_spec='@'
   9321 	# Tell ltmain to make .lib files, not .a files.
   9322 	libext=lib
   9323 	# Tell ltmain to make .dll files, not .so files.
   9324 	shrext_cmds=".dll"
   9325 	# FIXME: Setting linknames here is a bad hack.
   9326 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
   9327 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9328 	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
   9329 	  else
   9330 	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
   9331 	  fi~
   9332 	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   9333 	  linknames='
   9334 	# The linker will not automatically build a static lib if we build a DLL.
   9335 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   9336 	enable_shared_with_static_runtimes=yes
   9337 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9338 	# Don't use ranlib
   9339 	old_postinstall_cmds='chmod 644 $oldlib'
   9340 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   9341 	  lt_tool_outputfile="@TOOL_OUTPUT@"~
   9342 	  case $lt_outputfile in
   9343 	    *.exe|*.EXE) ;;
   9344 	    *)
   9345 	      lt_outputfile="$lt_outputfile.exe"
   9346 	      lt_tool_outputfile="$lt_tool_outputfile.exe"
   9347 	      ;;
   9348 	  esac~
   9349 	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
   9350 	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   9351 	    $RM "$lt_outputfile.manifest";
   9352 	  fi'
   9353 	;;
   9354       *)
   9355 	# Assume MSVC wrapper
   9356 	hardcode_libdir_flag_spec=' '
   9357 	allow_undefined_flag=unsupported
   9358 	# Tell ltmain to make .lib files, not .a files.
   9359 	libext=lib
   9360 	# Tell ltmain to make .dll files, not .so files.
   9361 	shrext_cmds=".dll"
   9362 	# FIXME: Setting linknames here is a bad hack.
   9363 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9364 	# The linker will automatically build a .lib file if we build a DLL.
   9365 	old_archive_from_new_cmds='true'
   9366 	# FIXME: Should let the user specify the lib program.
   9367 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9368 	enable_shared_with_static_runtimes=yes
   9369 	;;
   9370       esac
   9371       ;;
   9372 
   9373     darwin* | rhapsody*)
   9374 
   9375 
   9376   archive_cmds_need_lc=no
   9377   hardcode_direct=no
   9378   hardcode_automatic=yes
   9379   hardcode_shlibpath_var=unsupported
   9380   if test "$lt_cv_ld_force_load" = "yes"; then
   9381     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\"`'
   9382   else
   9383     whole_archive_flag_spec=''
   9384   fi
   9385   link_all_deplibs=yes
   9386   allow_undefined_flag="$_lt_dar_allow_undefined"
   9387   case $cc_basename in
   9388      ifort*) _lt_dar_can_shared=yes ;;
   9389      *) _lt_dar_can_shared=$GCC ;;
   9390   esac
   9391   if test "$_lt_dar_can_shared" = "yes"; then
   9392     output_verbose_link_cmd=func_echo_all
   9393     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9394     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9395     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}"
   9396     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}"
   9397 
   9398   else
   9399   ld_shlibs=no
   9400   fi
   9401 
   9402       ;;
   9403 
   9404     dgux*)
   9405       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9406       hardcode_libdir_flag_spec='-L$libdir'
   9407       hardcode_shlibpath_var=no
   9408       ;;
   9409 
   9410     freebsd1*)
   9411       ld_shlibs=no
   9412       ;;
   9413 
   9414     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9415     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9416     # does not break anything, and helps significantly (at the cost of a little
   9417     # extra space).
   9418     freebsd2.2*)
   9419       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9420       hardcode_libdir_flag_spec='-R$libdir'
   9421       hardcode_direct=yes
   9422       hardcode_shlibpath_var=no
   9423       ;;
   9424 
   9425     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9426     freebsd2*)
   9427       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9428       hardcode_direct=yes
   9429       hardcode_minus_L=yes
   9430       hardcode_shlibpath_var=no
   9431       ;;
   9432 
   9433     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9434     freebsd* | dragonfly*)
   9435       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9436       hardcode_libdir_flag_spec='-R$libdir'
   9437       hardcode_direct=yes
   9438       hardcode_shlibpath_var=no
   9439       ;;
   9440 
   9441     hpux9*)
   9442       if test "$GCC" = yes; then
   9443 	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'
   9444       else
   9445 	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'
   9446       fi
   9447       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9448       hardcode_libdir_separator=:
   9449       hardcode_direct=yes
   9450 
   9451       # hardcode_minus_L: Not really in the search PATH,
   9452       # but as the default location of the library.
   9453       hardcode_minus_L=yes
   9454       export_dynamic_flag_spec='${wl}-E'
   9455       ;;
   9456 
   9457     hpux10*)
   9458       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9459 	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9460       else
   9461 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9462       fi
   9463       if test "$with_gnu_ld" = no; then
   9464 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9465 	hardcode_libdir_flag_spec_ld='+b $libdir'
   9466 	hardcode_libdir_separator=:
   9467 	hardcode_direct=yes
   9468 	hardcode_direct_absolute=yes
   9469 	export_dynamic_flag_spec='${wl}-E'
   9470 	# hardcode_minus_L: Not really in the search PATH,
   9471 	# but as the default location of the library.
   9472 	hardcode_minus_L=yes
   9473       fi
   9474       ;;
   9475 
   9476     hpux11*)
   9477       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9478 	case $host_cpu in
   9479 	hppa*64*)
   9480 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9481 	  ;;
   9482 	ia64*)
   9483 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9484 	  ;;
   9485 	*)
   9486 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9487 	  ;;
   9488 	esac
   9489       else
   9490 	case $host_cpu in
   9491 	hppa*64*)
   9492 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9493 	  ;;
   9494 	ia64*)
   9495 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9496 	  ;;
   9497 	*)
   9498 
   9499 	  # Older versions of the 11.00 compiler do not understand -b yet
   9500 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9501 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9502 $as_echo_n "checking if $CC understands -b... " >&6; }
   9503 if ${lt_cv_prog_compiler__b+:} false; then :
   9504   $as_echo_n "(cached) " >&6
   9505 else
   9506   lt_cv_prog_compiler__b=no
   9507    save_LDFLAGS="$LDFLAGS"
   9508    LDFLAGS="$LDFLAGS -b"
   9509    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9510    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9511      # The linker can only warn and ignore the option if not recognized
   9512      # So say no if there are warnings
   9513      if test -s conftest.err; then
   9514        # Append any errors to the config.log.
   9515        cat conftest.err 1>&5
   9516        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9517        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9518        if diff conftest.exp conftest.er2 >/dev/null; then
   9519          lt_cv_prog_compiler__b=yes
   9520        fi
   9521      else
   9522        lt_cv_prog_compiler__b=yes
   9523      fi
   9524    fi
   9525    $RM -r conftest*
   9526    LDFLAGS="$save_LDFLAGS"
   9527 
   9528 fi
   9529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   9530 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   9531 
   9532 if test x"$lt_cv_prog_compiler__b" = xyes; then
   9533     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9534 else
   9535     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9536 fi
   9537 
   9538 	  ;;
   9539 	esac
   9540       fi
   9541       if test "$with_gnu_ld" = no; then
   9542 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9543 	hardcode_libdir_separator=:
   9544 
   9545 	case $host_cpu in
   9546 	hppa*64*|ia64*)
   9547 	  hardcode_direct=no
   9548 	  hardcode_shlibpath_var=no
   9549 	  ;;
   9550 	*)
   9551 	  hardcode_direct=yes
   9552 	  hardcode_direct_absolute=yes
   9553 	  export_dynamic_flag_spec='${wl}-E'
   9554 
   9555 	  # hardcode_minus_L: Not really in the search PATH,
   9556 	  # but as the default location of the library.
   9557 	  hardcode_minus_L=yes
   9558 	  ;;
   9559 	esac
   9560       fi
   9561       ;;
   9562 
   9563     irix5* | irix6* | nonstopux*)
   9564       if test "$GCC" = yes; then
   9565 	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'
   9566 	# Try to use the -exported_symbol ld option, if it does not
   9567 	# work, assume that -exports_file does not work either and
   9568 	# implicitly export all symbols.
   9569 	# This should be the same for all languages, so no per-tag cache variable.
   9570 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   9571 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   9572 if ${lt_cv_irix_exported_symbol+:} false; then :
   9573   $as_echo_n "(cached) " >&6
   9574 else
   9575   save_LDFLAGS="$LDFLAGS"
   9576 	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9577 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9578 /* end confdefs.h.  */
   9579 int foo (void) { return 0; }
   9580 _ACEOF
   9581 if ac_fn_c_try_link "$LINENO"; then :
   9582   lt_cv_irix_exported_symbol=yes
   9583 else
   9584   lt_cv_irix_exported_symbol=no
   9585 fi
   9586 rm -f core conftest.err conftest.$ac_objext \
   9587     conftest$ac_exeext conftest.$ac_ext
   9588            LDFLAGS="$save_LDFLAGS"
   9589 fi
   9590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   9591 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   9592 	if test "$lt_cv_irix_exported_symbol" = yes; then
   9593           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'
   9594 	fi
   9595       else
   9596 	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'
   9597 	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'
   9598       fi
   9599       archive_cmds_need_lc='no'
   9600       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9601       hardcode_libdir_separator=:
   9602       inherit_rpath=yes
   9603       link_all_deplibs=yes
   9604       ;;
   9605 
   9606     netbsd*)
   9607       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9608 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9609       else
   9610 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9611       fi
   9612       hardcode_libdir_flag_spec='-R$libdir'
   9613       hardcode_direct=yes
   9614       hardcode_shlibpath_var=no
   9615       ;;
   9616 
   9617     newsos6)
   9618       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9619       hardcode_direct=yes
   9620       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9621       hardcode_libdir_separator=:
   9622       hardcode_shlibpath_var=no
   9623       ;;
   9624 
   9625     *nto* | *qnx*)
   9626       ;;
   9627 
   9628     openbsd*)
   9629       if test -f /usr/libexec/ld.so; then
   9630 	hardcode_direct=yes
   9631 	hardcode_shlibpath_var=no
   9632 	hardcode_direct_absolute=yes
   9633 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9634 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9635 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9636 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9637 	  export_dynamic_flag_spec='${wl}-E'
   9638 	else
   9639 	  case $host_os in
   9640 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9641 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9642 	     hardcode_libdir_flag_spec='-R$libdir'
   9643 	     ;;
   9644 	   *)
   9645 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9646 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9647 	     ;;
   9648 	  esac
   9649 	fi
   9650       else
   9651 	ld_shlibs=no
   9652       fi
   9653       ;;
   9654 
   9655     os2*)
   9656       hardcode_libdir_flag_spec='-L$libdir'
   9657       hardcode_minus_L=yes
   9658       allow_undefined_flag=unsupported
   9659       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'
   9660       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9661       ;;
   9662 
   9663     osf3*)
   9664       if test "$GCC" = yes; then
   9665 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9666 	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'
   9667       else
   9668 	allow_undefined_flag=' -expect_unresolved \*'
   9669 	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'
   9670       fi
   9671       archive_cmds_need_lc='no'
   9672       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9673       hardcode_libdir_separator=:
   9674       ;;
   9675 
   9676     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9677       if test "$GCC" = yes; then
   9678 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9679 	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'
   9680 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9681       else
   9682 	allow_undefined_flag=' -expect_unresolved \*'
   9683 	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'
   9684 	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~
   9685 	$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'
   9686 
   9687 	# Both c and cxx compiler support -rpath directly
   9688 	hardcode_libdir_flag_spec='-rpath $libdir'
   9689       fi
   9690       archive_cmds_need_lc='no'
   9691       hardcode_libdir_separator=:
   9692       ;;
   9693 
   9694     solaris*)
   9695       no_undefined_flag=' -z defs'
   9696       if test "$GCC" = yes; then
   9697 	wlarc='${wl}'
   9698 	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9699 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9700 	  $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'
   9701       else
   9702 	case `$CC -V 2>&1` in
   9703 	*"Compilers 5.0"*)
   9704 	  wlarc=''
   9705 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9706 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9707 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9708 	  ;;
   9709 	*)
   9710 	  wlarc='${wl}'
   9711 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9712 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9713 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9714 	  ;;
   9715 	esac
   9716       fi
   9717       hardcode_libdir_flag_spec='-R$libdir'
   9718       hardcode_shlibpath_var=no
   9719       case $host_os in
   9720       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9721       *)
   9722 	# The compiler driver will combine and reorder linker options,
   9723 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9724 	# but is careful enough not to reorder.
   9725 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9726 	if test "$GCC" = yes; then
   9727 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9728 	else
   9729 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9730 	fi
   9731 	;;
   9732       esac
   9733       link_all_deplibs=yes
   9734       ;;
   9735 
   9736     sunos4*)
   9737       if test "x$host_vendor" = xsequent; then
   9738 	# Use $CC to link under sequent, because it throws in some extra .o
   9739 	# files that make .init and .fini sections work.
   9740 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9741       else
   9742 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9743       fi
   9744       hardcode_libdir_flag_spec='-L$libdir'
   9745       hardcode_direct=yes
   9746       hardcode_minus_L=yes
   9747       hardcode_shlibpath_var=no
   9748       ;;
   9749 
   9750     sysv4)
   9751       case $host_vendor in
   9752 	sni)
   9753 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9754 	  hardcode_direct=yes # is this really true???
   9755 	;;
   9756 	siemens)
   9757 	  ## LD is ld it makes a PLAMLIB
   9758 	  ## CC just makes a GrossModule.
   9759 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9760 	  reload_cmds='$CC -r -o $output$reload_objs'
   9761 	  hardcode_direct=no
   9762         ;;
   9763 	motorola)
   9764 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9765 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9766 	;;
   9767       esac
   9768       runpath_var='LD_RUN_PATH'
   9769       hardcode_shlibpath_var=no
   9770       ;;
   9771 
   9772     sysv4.3*)
   9773       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9774       hardcode_shlibpath_var=no
   9775       export_dynamic_flag_spec='-Bexport'
   9776       ;;
   9777 
   9778     sysv4*MP*)
   9779       if test -d /usr/nec; then
   9780 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9781 	hardcode_shlibpath_var=no
   9782 	runpath_var=LD_RUN_PATH
   9783 	hardcode_runpath_var=yes
   9784 	ld_shlibs=yes
   9785       fi
   9786       ;;
   9787 
   9788     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9789       no_undefined_flag='${wl}-z,text'
   9790       archive_cmds_need_lc=no
   9791       hardcode_shlibpath_var=no
   9792       runpath_var='LD_RUN_PATH'
   9793 
   9794       if test "$GCC" = yes; then
   9795 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9796 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9797       else
   9798 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9799 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9800       fi
   9801       ;;
   9802 
   9803     sysv5* | sco3.2v5* | sco5v6*)
   9804       # Note: We can NOT use -z defs as we might desire, because we do not
   9805       # link with -lc, and that would cause any symbols used from libc to
   9806       # always be unresolved, which means just about no library would
   9807       # ever link correctly.  If we're not using GNU ld we use -z text
   9808       # though, which does catch some bad symbols but isn't as heavy-handed
   9809       # as -z defs.
   9810       no_undefined_flag='${wl}-z,text'
   9811       allow_undefined_flag='${wl}-z,nodefs'
   9812       archive_cmds_need_lc=no
   9813       hardcode_shlibpath_var=no
   9814       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9815       hardcode_libdir_separator=':'
   9816       link_all_deplibs=yes
   9817       export_dynamic_flag_spec='${wl}-Bexport'
   9818       runpath_var='LD_RUN_PATH'
   9819 
   9820       if test "$GCC" = yes; then
   9821 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9822 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9823       else
   9824 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9825 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9826       fi
   9827       ;;
   9828 
   9829     uts4*)
   9830       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9831       hardcode_libdir_flag_spec='-L$libdir'
   9832       hardcode_shlibpath_var=no
   9833       ;;
   9834 
   9835     *)
   9836       ld_shlibs=no
   9837       ;;
   9838     esac
   9839 
   9840     if test x$host_vendor = xsni; then
   9841       case $host in
   9842       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   9843 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   9844 	;;
   9845       esac
   9846     fi
   9847   fi
   9848 
   9849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   9850 $as_echo "$ld_shlibs" >&6; }
   9851 test "$ld_shlibs" = no && can_build_shared=no
   9852 
   9853 with_gnu_ld=$with_gnu_ld
   9854 
   9855 
   9856 
   9857 
   9858 
   9859 
   9860 
   9861 
   9862 
   9863 
   9864 
   9865 
   9866 
   9867 
   9868 
   9869 #
   9870 # Do we need to explicitly link libc?
   9871 #
   9872 case "x$archive_cmds_need_lc" in
   9873 x|xyes)
   9874   # Assume -lc should be added
   9875   archive_cmds_need_lc=yes
   9876 
   9877   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9878     case $archive_cmds in
   9879     *'~'*)
   9880       # FIXME: we may have to deal with multi-command sequences.
   9881       ;;
   9882     '$CC '*)
   9883       # Test whether the compiler implicitly links with -lc since on some
   9884       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9885       # to ld, don't add -lc before -lgcc.
   9886       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   9887 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9888 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   9889   $as_echo_n "(cached) " >&6
   9890 else
   9891   $RM conftest*
   9892 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9893 
   9894 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   9895   (eval $ac_compile) 2>&5
   9896   ac_status=$?
   9897   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9898   test $ac_status = 0; } 2>conftest.err; then
   9899 	  soname=conftest
   9900 	  lib=conftest
   9901 	  libobjs=conftest.$ac_objext
   9902 	  deplibs=
   9903 	  wl=$lt_prog_compiler_wl
   9904 	  pic_flag=$lt_prog_compiler_pic
   9905 	  compiler_flags=-v
   9906 	  linker_flags=-v
   9907 	  verstring=
   9908 	  output_objdir=.
   9909 	  libname=conftest
   9910 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   9911 	  allow_undefined_flag=
   9912 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   9913   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9914   ac_status=$?
   9915   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9916   test $ac_status = 0; }
   9917 	  then
   9918 	    lt_cv_archive_cmds_need_lc=no
   9919 	  else
   9920 	    lt_cv_archive_cmds_need_lc=yes
   9921 	  fi
   9922 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   9923 	else
   9924 	  cat conftest.err 1>&5
   9925 	fi
   9926 	$RM conftest*
   9927 
   9928 fi
   9929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   9930 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   9931       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   9932       ;;
   9933     esac
   9934   fi
   9935   ;;
   9936 esac
   9937 
   9938 
   9939 
   9940 
   9941 
   9942 
   9943 
   9944 
   9945 
   9946 
   9947 
   9948 
   9949 
   9950 
   9951 
   9952 
   9953 
   9954 
   9955 
   9956 
   9957 
   9958 
   9959 
   9960 
   9961 
   9962 
   9963 
   9964 
   9965 
   9966 
   9967 
   9968 
   9969 
   9970 
   9971 
   9972 
   9973 
   9974 
   9975 
   9976 
   9977 
   9978 
   9979 
   9980 
   9981 
   9982 
   9983 
   9984 
   9985 
   9986 
   9987 
   9988 
   9989 
   9990 
   9991 
   9992 
   9993 
   9994 
   9995 
   9996 
   9997 
   9998 
   9999 
   10000 
   10001 
   10002 
   10003 
   10004 
   10005 
   10006 
   10007 
   10008 
   10009 
   10010 
   10011 
   10012 
   10013 
   10014 
   10015 
   10016 
   10017 
   10018 
   10019 
   10020 
   10021 
   10022 
   10023 
   10024 
   10025 
   10026 
   10027 
   10028 
   10029 
   10030 
   10031 
   10032 
   10033 
   10034 
   10035 
   10036 
   10037 
   10038 
   10039 
   10040 
   10041 
   10042 
   10043 
   10044 
   10045 
   10046 
   10047 
   10048 
   10049 
   10050 
   10051 
   10052 
   10053 
   10054 
   10055 
   10056 
   10057 
   10058 
   10059 
   10060 
   10061 
   10062 
   10063 
   10064 
   10065 
   10066 
   10067 
   10068 
   10069 
   10070 
   10071 
   10072 
   10073 
   10074 
   10075 
   10076 
   10077 
   10078 
   10079 
   10080 
   10081 
   10082 
   10083 
   10084 
   10085 
   10086 
   10087 
   10088 
   10089 
   10090 
   10091 
   10092 
   10093 
   10094   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   10095 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   10096 
   10097 if test "$GCC" = yes; then
   10098   case $host_os in
   10099     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   10100     *) lt_awk_arg="/^libraries:/" ;;
   10101   esac
   10102   case $host_os in
   10103     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   10104     *) lt_sed_strip_eq="s,=/,/,g" ;;
   10105   esac
   10106   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   10107   case $lt_search_path_spec in
   10108   *\;*)
   10109     # if the path contains ";" then we assume it to be the separator
   10110     # otherwise default to the standard path separator (i.e. ":") - it is
   10111     # assumed that no part of a normal pathname contains ";" but that should
   10112     # okay in the real world where ";" in dirpaths is itself problematic.
   10113     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   10114     ;;
   10115   *)
   10116     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   10117     ;;
   10118   esac
   10119   # Ok, now we have the path, separated by spaces, we can step through it
   10120   # and add multilib dir if necessary.
   10121   lt_tmp_lt_search_path_spec=
   10122   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   10123   for lt_sys_path in $lt_search_path_spec; do
   10124     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   10125       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   10126     else
   10127       test -d "$lt_sys_path" && \
   10128 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   10129     fi
   10130   done
   10131   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   10132 BEGIN {RS=" "; FS="/|\n";} {
   10133   lt_foo="";
   10134   lt_count=0;
   10135   for (lt_i = NF; lt_i > 0; lt_i--) {
   10136     if ($lt_i != "" && $lt_i != ".") {
   10137       if ($lt_i == "..") {
   10138         lt_count++;
   10139       } else {
   10140         if (lt_count == 0) {
   10141           lt_foo="/" $lt_i lt_foo;
   10142         } else {
   10143           lt_count--;
   10144         }
   10145       }
   10146     }
   10147   }
   10148   if (lt_foo != "") { lt_freq[lt_foo]++; }
   10149   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   10150 }'`
   10151   # AWK program above erroneously prepends '/' to C:/dos/paths
   10152   # for these hosts.
   10153   case $host_os in
   10154     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   10155       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   10156   esac
   10157   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   10158 else
   10159   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   10160 fi
   10161 library_names_spec=
   10162 libname_spec='lib$name'
   10163 soname_spec=
   10164 shrext_cmds=".so"
   10165 postinstall_cmds=
   10166 postuninstall_cmds=
   10167 finish_cmds=
   10168 finish_eval=
   10169 shlibpath_var=
   10170 shlibpath_overrides_runpath=unknown
   10171 version_type=none
   10172 dynamic_linker="$host_os ld.so"
   10173 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   10174 need_lib_prefix=unknown
   10175 hardcode_into_libs=no
   10176 
   10177 # when you set need_version to no, make sure it does not cause -set_version
   10178 # flags to be left without arguments
   10179 need_version=unknown
   10180 
   10181 case $host_os in
   10182 aix3*)
   10183   version_type=linux
   10184   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   10185   shlibpath_var=LIBPATH
   10186 
   10187   # AIX 3 has no versioning support, so we append a major version to the name.
   10188   soname_spec='${libname}${release}${shared_ext}$major'
   10189   ;;
   10190 
   10191 aix[4-9]*)
   10192   version_type=linux
   10193   need_lib_prefix=no
   10194   need_version=no
   10195   hardcode_into_libs=yes
   10196   if test "$host_cpu" = ia64; then
   10197     # AIX 5 supports IA64
   10198     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   10199     shlibpath_var=LD_LIBRARY_PATH
   10200   else
   10201     # With GCC up to 2.95.x, collect2 would create an import file
   10202     # for dependence libraries.  The import file would start with
   10203     # the line `#! .'.  This would cause the generated library to
   10204     # depend on `.', always an invalid library.  This was fixed in
   10205     # development snapshots of GCC prior to 3.0.
   10206     case $host_os in
   10207       aix4 | aix4.[01] | aix4.[01].*)
   10208       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   10209 	   echo ' yes '
   10210 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   10211 	:
   10212       else
   10213 	can_build_shared=no
   10214       fi
   10215       ;;
   10216     esac
   10217     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   10218     # soname into executable. Probably we can add versioning support to
   10219     # collect2, so additional links can be useful in future.
   10220     if test "$aix_use_runtimelinking" = yes; then
   10221       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   10222       # instead of lib<name>.a to let people know that these are not
   10223       # typical AIX shared libraries.
   10224       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10225     else
   10226       # We preserve .a as extension for shared libraries through AIX4.2
   10227       # and later when we are not doing run time linking.
   10228       library_names_spec='${libname}${release}.a $libname.a'
   10229       soname_spec='${libname}${release}${shared_ext}$major'
   10230     fi
   10231     shlibpath_var=LIBPATH
   10232   fi
   10233   ;;
   10234 
   10235 amigaos*)
   10236   case $host_cpu in
   10237   powerpc)
   10238     # Since July 2007 AmigaOS4 officially supports .so libraries.
   10239     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   10240     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10241     ;;
   10242   m68k)
   10243     library_names_spec='$libname.ixlibrary $libname.a'
   10244     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   10245     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'
   10246     ;;
   10247   esac
   10248   ;;
   10249 
   10250 beos*)
   10251   library_names_spec='${libname}${shared_ext}'
   10252   dynamic_linker="$host_os ld.so"
   10253   shlibpath_var=LIBRARY_PATH
   10254   ;;
   10255 
   10256 bsdi[45]*)
   10257   version_type=linux
   10258   need_version=no
   10259   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10260   soname_spec='${libname}${release}${shared_ext}$major'
   10261   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10262   shlibpath_var=LD_LIBRARY_PATH
   10263   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10264   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10265   # the default ld.so.conf also contains /usr/contrib/lib and
   10266   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10267   # libtool to hard-code these into programs
   10268   ;;
   10269 
   10270 cygwin* | mingw* | pw32* | cegcc*)
   10271   version_type=windows
   10272   shrext_cmds=".dll"
   10273   need_version=no
   10274   need_lib_prefix=no
   10275 
   10276   case $GCC,$cc_basename in
   10277   yes,*)
   10278     # gcc
   10279     library_names_spec='$libname.dll.a'
   10280     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10281     postinstall_cmds='base_file=`basename \${file}`~
   10282       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10283       dldir=$destdir/`dirname \$dlpath`~
   10284       test -d \$dldir || mkdir -p \$dldir~
   10285       $install_prog $dir/$dlname \$dldir/$dlname~
   10286       chmod a+x \$dldir/$dlname~
   10287       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10288         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10289       fi'
   10290     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10291       dlpath=$dir/\$dldll~
   10292        $RM \$dlpath'
   10293     shlibpath_overrides_runpath=yes
   10294 
   10295     case $host_os in
   10296     cygwin*)
   10297       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10298       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10299 
   10300       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10301       ;;
   10302     mingw* | cegcc*)
   10303       # MinGW DLLs use traditional 'lib' prefix
   10304       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10305       ;;
   10306     pw32*)
   10307       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10308       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10309       ;;
   10310     esac
   10311     dynamic_linker='Win32 ld.exe'
   10312     ;;
   10313 
   10314   *,cl*)
   10315     # Native MSVC
   10316     libname_spec='$name'
   10317     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10318     library_names_spec='${libname}.dll.lib'
   10319 
   10320     case $build_os in
   10321     mingw*)
   10322       sys_lib_search_path_spec=
   10323       lt_save_ifs=$IFS
   10324       IFS=';'
   10325       for lt_path in $LIB
   10326       do
   10327         IFS=$lt_save_ifs
   10328         # Let DOS variable expansion print the short 8.3 style file name.
   10329         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   10330         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   10331       done
   10332       IFS=$lt_save_ifs
   10333       # Convert to MSYS style.
   10334       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   10335       ;;
   10336     cygwin*)
   10337       # Convert to unix form, then to dos form, then back to unix form
   10338       # but this time dos style (no spaces!) so that the unix form looks
   10339       # like /cygdrive/c/PROGRA~1:/cygdr...
   10340       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   10341       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   10342       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10343       ;;
   10344     *)
   10345       sys_lib_search_path_spec="$LIB"
   10346       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   10347         # It is most probably a Windows format PATH.
   10348         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   10349       else
   10350         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10351       fi
   10352       # FIXME: find the short name or the path components, as spaces are
   10353       # common. (e.g. "Program Files" -> "PROGRA~1")
   10354       ;;
   10355     esac
   10356 
   10357     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10358     postinstall_cmds='base_file=`basename \${file}`~
   10359       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10360       dldir=$destdir/`dirname \$dlpath`~
   10361       test -d \$dldir || mkdir -p \$dldir~
   10362       $install_prog $dir/$dlname \$dldir/$dlname'
   10363     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10364       dlpath=$dir/\$dldll~
   10365        $RM \$dlpath'
   10366     shlibpath_overrides_runpath=yes
   10367     dynamic_linker='Win32 link.exe'
   10368     ;;
   10369 
   10370   *)
   10371     # Assume MSVC wrapper
   10372     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10373     dynamic_linker='Win32 ld.exe'
   10374     ;;
   10375   esac
   10376   # FIXME: first we should search . and the directory the executable is in
   10377   shlibpath_var=PATH
   10378   ;;
   10379 
   10380 darwin* | rhapsody*)
   10381   dynamic_linker="$host_os dyld"
   10382   version_type=darwin
   10383   need_lib_prefix=no
   10384   need_version=no
   10385   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10386   soname_spec='${libname}${release}${major}$shared_ext'
   10387   shlibpath_overrides_runpath=yes
   10388   shlibpath_var=DYLD_LIBRARY_PATH
   10389   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10390 
   10391   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10392   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10393   ;;
   10394 
   10395 dgux*)
   10396   version_type=linux
   10397   need_lib_prefix=no
   10398   need_version=no
   10399   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10400   soname_spec='${libname}${release}${shared_ext}$major'
   10401   shlibpath_var=LD_LIBRARY_PATH
   10402   ;;
   10403 
   10404 freebsd1*)
   10405   dynamic_linker=no
   10406   ;;
   10407 
   10408 freebsd* | dragonfly*)
   10409   # DragonFly does not have aout.  When/if they implement a new
   10410   # versioning mechanism, adjust this.
   10411   if test -x /usr/bin/objformat; then
   10412     objformat=`/usr/bin/objformat`
   10413   else
   10414     case $host_os in
   10415     freebsd[123]*) objformat=aout ;;
   10416     *) objformat=elf ;;
   10417     esac
   10418   fi
   10419   version_type=freebsd-$objformat
   10420   case $version_type in
   10421     freebsd-elf*)
   10422       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10423       need_version=no
   10424       need_lib_prefix=no
   10425       ;;
   10426     freebsd-*)
   10427       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10428       need_version=yes
   10429       ;;
   10430   esac
   10431   shlibpath_var=LD_LIBRARY_PATH
   10432   case $host_os in
   10433   freebsd2*)
   10434     shlibpath_overrides_runpath=yes
   10435     ;;
   10436   freebsd3.[01]* | freebsdelf3.[01]*)
   10437     shlibpath_overrides_runpath=yes
   10438     hardcode_into_libs=yes
   10439     ;;
   10440   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10441   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10442     shlibpath_overrides_runpath=no
   10443     hardcode_into_libs=yes
   10444     ;;
   10445   *) # from 4.6 on, and DragonFly
   10446     shlibpath_overrides_runpath=yes
   10447     hardcode_into_libs=yes
   10448     ;;
   10449   esac
   10450   ;;
   10451 
   10452 gnu*)
   10453   version_type=linux
   10454   need_lib_prefix=no
   10455   need_version=no
   10456   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10457   soname_spec='${libname}${release}${shared_ext}$major'
   10458   shlibpath_var=LD_LIBRARY_PATH
   10459   hardcode_into_libs=yes
   10460   ;;
   10461 
   10462 haiku*)
   10463   version_type=linux
   10464   need_lib_prefix=no
   10465   need_version=no
   10466   dynamic_linker="$host_os runtime_loader"
   10467   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10468   soname_spec='${libname}${release}${shared_ext}$major'
   10469   shlibpath_var=LIBRARY_PATH
   10470   shlibpath_overrides_runpath=yes
   10471   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   10472   hardcode_into_libs=yes
   10473   ;;
   10474 
   10475 hpux9* | hpux10* | hpux11*)
   10476   # Give a soname corresponding to the major version so that dld.sl refuses to
   10477   # link against other versions.
   10478   version_type=sunos
   10479   need_lib_prefix=no
   10480   need_version=no
   10481   case $host_cpu in
   10482   ia64*)
   10483     shrext_cmds='.so'
   10484     hardcode_into_libs=yes
   10485     dynamic_linker="$host_os dld.so"
   10486     shlibpath_var=LD_LIBRARY_PATH
   10487     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10488     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10489     soname_spec='${libname}${release}${shared_ext}$major'
   10490     if test "X$HPUX_IA64_MODE" = X32; then
   10491       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10492     else
   10493       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10494     fi
   10495     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10496     ;;
   10497   hppa*64*)
   10498     shrext_cmds='.sl'
   10499     hardcode_into_libs=yes
   10500     dynamic_linker="$host_os dld.sl"
   10501     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10502     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10503     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10504     soname_spec='${libname}${release}${shared_ext}$major'
   10505     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10506     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10507     ;;
   10508   *)
   10509     shrext_cmds='.sl'
   10510     dynamic_linker="$host_os dld.sl"
   10511     shlibpath_var=SHLIB_PATH
   10512     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10513     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10514     soname_spec='${libname}${release}${shared_ext}$major'
   10515     ;;
   10516   esac
   10517   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   10518   postinstall_cmds='chmod 555 $lib'
   10519   # or fails outright, so override atomically:
   10520   install_override_mode=555
   10521   ;;
   10522 
   10523 interix[3-9]*)
   10524   version_type=linux
   10525   need_lib_prefix=no
   10526   need_version=no
   10527   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10528   soname_spec='${libname}${release}${shared_ext}$major'
   10529   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10530   shlibpath_var=LD_LIBRARY_PATH
   10531   shlibpath_overrides_runpath=no
   10532   hardcode_into_libs=yes
   10533   ;;
   10534 
   10535 irix5* | irix6* | nonstopux*)
   10536   case $host_os in
   10537     nonstopux*) version_type=nonstopux ;;
   10538     *)
   10539 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10540 		version_type=linux
   10541 	else
   10542 		version_type=irix
   10543 	fi ;;
   10544   esac
   10545   need_lib_prefix=no
   10546   need_version=no
   10547   soname_spec='${libname}${release}${shared_ext}$major'
   10548   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10549   case $host_os in
   10550   irix5* | nonstopux*)
   10551     libsuff= shlibsuff=
   10552     ;;
   10553   *)
   10554     case $LD in # libtool.m4 will add one of these switches to LD
   10555     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10556       libsuff= shlibsuff= libmagic=32-bit;;
   10557     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10558       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10559     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10560       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10561     *) libsuff= shlibsuff= libmagic=never-match;;
   10562     esac
   10563     ;;
   10564   esac
   10565   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10566   shlibpath_overrides_runpath=no
   10567   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10568   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10569   hardcode_into_libs=yes
   10570   ;;
   10571 
   10572 # No shared lib support for Linux oldld, aout, or coff.
   10573 linux*oldld* | linux*aout* | linux*coff*)
   10574   dynamic_linker=no
   10575   ;;
   10576 
   10577 # This must be Linux ELF.
   10578 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   10579   version_type=linux
   10580   need_lib_prefix=no
   10581   need_version=no
   10582   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10583   soname_spec='${libname}${release}${shared_ext}$major'
   10584   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10585   shlibpath_var=LD_LIBRARY_PATH
   10586   shlibpath_overrides_runpath=no
   10587 
   10588   # Some binutils ld are patched to set DT_RUNPATH
   10589   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   10590   $as_echo_n "(cached) " >&6
   10591 else
   10592   lt_cv_shlibpath_overrides_runpath=no
   10593     save_LDFLAGS=$LDFLAGS
   10594     save_libdir=$libdir
   10595     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10596 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10597     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10598 /* end confdefs.h.  */
   10599 
   10600 int
   10601 main ()
   10602 {
   10603 
   10604   ;
   10605   return 0;
   10606 }
   10607 _ACEOF
   10608 if ac_fn_c_try_link "$LINENO"; then :
   10609   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10610   lt_cv_shlibpath_overrides_runpath=yes
   10611 fi
   10612 fi
   10613 rm -f core conftest.err conftest.$ac_objext \
   10614     conftest$ac_exeext conftest.$ac_ext
   10615     LDFLAGS=$save_LDFLAGS
   10616     libdir=$save_libdir
   10617 
   10618 fi
   10619 
   10620   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   10621 
   10622   # This implies no fast_install, which is unacceptable.
   10623   # Some rework will be needed to allow for fast_install
   10624   # before this can be enabled.
   10625   hardcode_into_libs=yes
   10626 
   10627   # Append ld.so.conf contents to the search path
   10628   if test -f /etc/ld.so.conf; then
   10629     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' ' '`
   10630     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   10631   fi
   10632 
   10633   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10634   # powerpc, because MkLinux only supported shared libraries with the
   10635   # GNU dynamic linker.  Since this was broken with cross compilers,
   10636   # most powerpc-linux boxes support dynamic linking these days and
   10637   # people can always --disable-shared, the test was removed, and we
   10638   # assume the GNU/Linux dynamic linker is in use.
   10639   dynamic_linker='GNU/Linux ld.so'
   10640   ;;
   10641 
   10642 netbsd*)
   10643   version_type=sunos
   10644   need_lib_prefix=no
   10645   need_version=no
   10646   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10647     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10648     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10649     dynamic_linker='NetBSD (a.out) ld.so'
   10650   else
   10651     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10652     soname_spec='${libname}${release}${shared_ext}$major'
   10653     dynamic_linker='NetBSD ld.elf_so'
   10654   fi
   10655   shlibpath_var=LD_LIBRARY_PATH
   10656   shlibpath_overrides_runpath=yes
   10657   hardcode_into_libs=yes
   10658   ;;
   10659 
   10660 newsos6)
   10661   version_type=linux
   10662   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10663   shlibpath_var=LD_LIBRARY_PATH
   10664   shlibpath_overrides_runpath=yes
   10665   ;;
   10666 
   10667 *nto* | *qnx*)
   10668   version_type=qnx
   10669   need_lib_prefix=no
   10670   need_version=no
   10671   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10672   soname_spec='${libname}${release}${shared_ext}$major'
   10673   shlibpath_var=LD_LIBRARY_PATH
   10674   shlibpath_overrides_runpath=no
   10675   hardcode_into_libs=yes
   10676   dynamic_linker='ldqnx.so'
   10677   ;;
   10678 
   10679 openbsd*)
   10680   version_type=sunos
   10681   sys_lib_dlsearch_path_spec="/usr/lib"
   10682   need_lib_prefix=no
   10683   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10684   case $host_os in
   10685     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10686     *)				need_version=no  ;;
   10687   esac
   10688   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10689   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10690   shlibpath_var=LD_LIBRARY_PATH
   10691   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10692     case $host_os in
   10693       openbsd2.[89] | openbsd2.[89].*)
   10694 	shlibpath_overrides_runpath=no
   10695 	;;
   10696       *)
   10697 	shlibpath_overrides_runpath=yes
   10698 	;;
   10699       esac
   10700   else
   10701     shlibpath_overrides_runpath=yes
   10702   fi
   10703   ;;
   10704 
   10705 os2*)
   10706   libname_spec='$name'
   10707   shrext_cmds=".dll"
   10708   need_lib_prefix=no
   10709   library_names_spec='$libname${shared_ext} $libname.a'
   10710   dynamic_linker='OS/2 ld.exe'
   10711   shlibpath_var=LIBPATH
   10712   ;;
   10713 
   10714 osf3* | osf4* | osf5*)
   10715   version_type=osf
   10716   need_lib_prefix=no
   10717   need_version=no
   10718   soname_spec='${libname}${release}${shared_ext}$major'
   10719   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10720   shlibpath_var=LD_LIBRARY_PATH
   10721   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10722   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10723   ;;
   10724 
   10725 rdos*)
   10726   dynamic_linker=no
   10727   ;;
   10728 
   10729 solaris*)
   10730   version_type=linux
   10731   need_lib_prefix=no
   10732   need_version=no
   10733   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10734   soname_spec='${libname}${release}${shared_ext}$major'
   10735   shlibpath_var=LD_LIBRARY_PATH
   10736   shlibpath_overrides_runpath=yes
   10737   hardcode_into_libs=yes
   10738   # ldd complains unless libraries are executable
   10739   postinstall_cmds='chmod +x $lib'
   10740   ;;
   10741 
   10742 sunos4*)
   10743   version_type=sunos
   10744   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10745   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10746   shlibpath_var=LD_LIBRARY_PATH
   10747   shlibpath_overrides_runpath=yes
   10748   if test "$with_gnu_ld" = yes; then
   10749     need_lib_prefix=no
   10750   fi
   10751   need_version=yes
   10752   ;;
   10753 
   10754 sysv4 | sysv4.3*)
   10755   version_type=linux
   10756   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10757   soname_spec='${libname}${release}${shared_ext}$major'
   10758   shlibpath_var=LD_LIBRARY_PATH
   10759   case $host_vendor in
   10760     sni)
   10761       shlibpath_overrides_runpath=no
   10762       need_lib_prefix=no
   10763       runpath_var=LD_RUN_PATH
   10764       ;;
   10765     siemens)
   10766       need_lib_prefix=no
   10767       ;;
   10768     motorola)
   10769       need_lib_prefix=no
   10770       need_version=no
   10771       shlibpath_overrides_runpath=no
   10772       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10773       ;;
   10774   esac
   10775   ;;
   10776 
   10777 sysv4*MP*)
   10778   if test -d /usr/nec ;then
   10779     version_type=linux
   10780     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10781     soname_spec='$libname${shared_ext}.$major'
   10782     shlibpath_var=LD_LIBRARY_PATH
   10783   fi
   10784   ;;
   10785 
   10786 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10787   version_type=freebsd-elf
   10788   need_lib_prefix=no
   10789   need_version=no
   10790   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10791   soname_spec='${libname}${release}${shared_ext}$major'
   10792   shlibpath_var=LD_LIBRARY_PATH
   10793   shlibpath_overrides_runpath=yes
   10794   hardcode_into_libs=yes
   10795   if test "$with_gnu_ld" = yes; then
   10796     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10797   else
   10798     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10799     case $host_os in
   10800       sco3.2v5*)
   10801         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10802 	;;
   10803     esac
   10804   fi
   10805   sys_lib_dlsearch_path_spec='/usr/lib'
   10806   ;;
   10807 
   10808 tpf*)
   10809   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10810   version_type=linux
   10811   need_lib_prefix=no
   10812   need_version=no
   10813   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10814   shlibpath_var=LD_LIBRARY_PATH
   10815   shlibpath_overrides_runpath=no
   10816   hardcode_into_libs=yes
   10817   ;;
   10818 
   10819 uts4*)
   10820   version_type=linux
   10821   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10822   soname_spec='${libname}${release}${shared_ext}$major'
   10823   shlibpath_var=LD_LIBRARY_PATH
   10824   ;;
   10825 
   10826 *)
   10827   dynamic_linker=no
   10828   ;;
   10829 esac
   10830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   10831 $as_echo "$dynamic_linker" >&6; }
   10832 test "$dynamic_linker" = no && can_build_shared=no
   10833 
   10834 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10835 if test "$GCC" = yes; then
   10836   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10837 fi
   10838 
   10839 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   10840   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   10841 fi
   10842 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   10843   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   10844 fi
   10845 
   10846 
   10847 
   10848 
   10849 
   10850 
   10851 
   10852 
   10853 
   10854 
   10855 
   10856 
   10857 
   10858 
   10859 
   10860 
   10861 
   10862 
   10863 
   10864 
   10865 
   10866 
   10867 
   10868 
   10869 
   10870 
   10871 
   10872 
   10873 
   10874 
   10875 
   10876 
   10877 
   10878 
   10879 
   10880 
   10881 
   10882 
   10883 
   10884 
   10885 
   10886 
   10887 
   10888 
   10889 
   10890 
   10891 
   10892 
   10893 
   10894 
   10895 
   10896 
   10897 
   10898 
   10899 
   10900 
   10901 
   10902 
   10903 
   10904 
   10905 
   10906 
   10907 
   10908 
   10909 
   10910 
   10911 
   10912 
   10913 
   10914 
   10915 
   10916 
   10917 
   10918 
   10919 
   10920 
   10921 
   10922 
   10923 
   10924 
   10925 
   10926 
   10927 
   10928 
   10929 
   10930 
   10931 
   10932 
   10933 
   10934 
   10935 
   10936 
   10937   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   10938 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   10939 hardcode_action=
   10940 if test -n "$hardcode_libdir_flag_spec" ||
   10941    test -n "$runpath_var" ||
   10942    test "X$hardcode_automatic" = "Xyes" ; then
   10943 
   10944   # We can hardcode non-existent directories.
   10945   if test "$hardcode_direct" != no &&
   10946      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   10947      # have to relink, otherwise we might link with an installed library
   10948      # when we should be linking with a yet-to-be-installed one
   10949      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   10950      test "$hardcode_minus_L" != no; then
   10951     # Linking always hardcodes the temporary library directory.
   10952     hardcode_action=relink
   10953   else
   10954     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   10955     hardcode_action=immediate
   10956   fi
   10957 else
   10958   # We cannot hardcode anything, or else we can only hardcode existing
   10959   # directories.
   10960   hardcode_action=unsupported
   10961 fi
   10962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   10963 $as_echo "$hardcode_action" >&6; }
   10964 
   10965 if test "$hardcode_action" = relink ||
   10966    test "$inherit_rpath" = yes; then
   10967   # Fast installation is not supported
   10968   enable_fast_install=no
   10969 elif test "$shlibpath_overrides_runpath" = yes ||
   10970      test "$enable_shared" = no; then
   10971   # Fast installation is not necessary
   10972   enable_fast_install=needless
   10973 fi
   10974 
   10975 
   10976 
   10977 
   10978 
   10979 
   10980   if test "x$enable_dlopen" != xyes; then
   10981   enable_dlopen=unknown
   10982   enable_dlopen_self=unknown
   10983   enable_dlopen_self_static=unknown
   10984 else
   10985   lt_cv_dlopen=no
   10986   lt_cv_dlopen_libs=
   10987 
   10988   case $host_os in
   10989   beos*)
   10990     lt_cv_dlopen="load_add_on"
   10991     lt_cv_dlopen_libs=
   10992     lt_cv_dlopen_self=yes
   10993     ;;
   10994 
   10995   mingw* | pw32* | cegcc*)
   10996     lt_cv_dlopen="LoadLibrary"
   10997     lt_cv_dlopen_libs=
   10998     ;;
   10999 
   11000   cygwin*)
   11001     lt_cv_dlopen="dlopen"
   11002     lt_cv_dlopen_libs=
   11003     ;;
   11004 
   11005   darwin*)
   11006   # if libdl is installed we need to link against it
   11007     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11008 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11009 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11010   $as_echo_n "(cached) " >&6
   11011 else
   11012   ac_check_lib_save_LIBS=$LIBS
   11013 LIBS="-ldl  $LIBS"
   11014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11015 /* end confdefs.h.  */
   11016 
   11017 /* Override any GCC internal prototype to avoid an error.
   11018    Use char because int might match the return type of a GCC
   11019    builtin and then its argument prototype would still apply.  */
   11020 #ifdef __cplusplus
   11021 extern "C"
   11022 #endif
   11023 char dlopen ();
   11024 int
   11025 main ()
   11026 {
   11027 return dlopen ();
   11028   ;
   11029   return 0;
   11030 }
   11031 _ACEOF
   11032 if ac_fn_c_try_link "$LINENO"; then :
   11033   ac_cv_lib_dl_dlopen=yes
   11034 else
   11035   ac_cv_lib_dl_dlopen=no
   11036 fi
   11037 rm -f core conftest.err conftest.$ac_objext \
   11038     conftest$ac_exeext conftest.$ac_ext
   11039 LIBS=$ac_check_lib_save_LIBS
   11040 fi
   11041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11042 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11043 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11044   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11045 else
   11046 
   11047     lt_cv_dlopen="dyld"
   11048     lt_cv_dlopen_libs=
   11049     lt_cv_dlopen_self=yes
   11050 
   11051 fi
   11052 
   11053     ;;
   11054 
   11055   *)
   11056     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   11057 if test "x$ac_cv_func_shl_load" = xyes; then :
   11058   lt_cv_dlopen="shl_load"
   11059 else
   11060   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   11061 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   11062 if ${ac_cv_lib_dld_shl_load+:} false; then :
   11063   $as_echo_n "(cached) " >&6
   11064 else
   11065   ac_check_lib_save_LIBS=$LIBS
   11066 LIBS="-ldld  $LIBS"
   11067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11068 /* end confdefs.h.  */
   11069 
   11070 /* Override any GCC internal prototype to avoid an error.
   11071    Use char because int might match the return type of a GCC
   11072    builtin and then its argument prototype would still apply.  */
   11073 #ifdef __cplusplus
   11074 extern "C"
   11075 #endif
   11076 char shl_load ();
   11077 int
   11078 main ()
   11079 {
   11080 return shl_load ();
   11081   ;
   11082   return 0;
   11083 }
   11084 _ACEOF
   11085 if ac_fn_c_try_link "$LINENO"; then :
   11086   ac_cv_lib_dld_shl_load=yes
   11087 else
   11088   ac_cv_lib_dld_shl_load=no
   11089 fi
   11090 rm -f core conftest.err conftest.$ac_objext \
   11091     conftest$ac_exeext conftest.$ac_ext
   11092 LIBS=$ac_check_lib_save_LIBS
   11093 fi
   11094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   11095 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   11096 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   11097   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   11098 else
   11099   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   11100 if test "x$ac_cv_func_dlopen" = xyes; then :
   11101   lt_cv_dlopen="dlopen"
   11102 else
   11103   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11104 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11105 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11106   $as_echo_n "(cached) " >&6
   11107 else
   11108   ac_check_lib_save_LIBS=$LIBS
   11109 LIBS="-ldl  $LIBS"
   11110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11111 /* end confdefs.h.  */
   11112 
   11113 /* Override any GCC internal prototype to avoid an error.
   11114    Use char because int might match the return type of a GCC
   11115    builtin and then its argument prototype would still apply.  */
   11116 #ifdef __cplusplus
   11117 extern "C"
   11118 #endif
   11119 char dlopen ();
   11120 int
   11121 main ()
   11122 {
   11123 return dlopen ();
   11124   ;
   11125   return 0;
   11126 }
   11127 _ACEOF
   11128 if ac_fn_c_try_link "$LINENO"; then :
   11129   ac_cv_lib_dl_dlopen=yes
   11130 else
   11131   ac_cv_lib_dl_dlopen=no
   11132 fi
   11133 rm -f core conftest.err conftest.$ac_objext \
   11134     conftest$ac_exeext conftest.$ac_ext
   11135 LIBS=$ac_check_lib_save_LIBS
   11136 fi
   11137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11138 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11139 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11140   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11141 else
   11142   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   11143 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   11144 if ${ac_cv_lib_svld_dlopen+:} false; then :
   11145   $as_echo_n "(cached) " >&6
   11146 else
   11147   ac_check_lib_save_LIBS=$LIBS
   11148 LIBS="-lsvld  $LIBS"
   11149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11150 /* end confdefs.h.  */
   11151 
   11152 /* Override any GCC internal prototype to avoid an error.
   11153    Use char because int might match the return type of a GCC
   11154    builtin and then its argument prototype would still apply.  */
   11155 #ifdef __cplusplus
   11156 extern "C"
   11157 #endif
   11158 char dlopen ();
   11159 int
   11160 main ()
   11161 {
   11162 return dlopen ();
   11163   ;
   11164   return 0;
   11165 }
   11166 _ACEOF
   11167 if ac_fn_c_try_link "$LINENO"; then :
   11168   ac_cv_lib_svld_dlopen=yes
   11169 else
   11170   ac_cv_lib_svld_dlopen=no
   11171 fi
   11172 rm -f core conftest.err conftest.$ac_objext \
   11173     conftest$ac_exeext conftest.$ac_ext
   11174 LIBS=$ac_check_lib_save_LIBS
   11175 fi
   11176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   11177 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   11178 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   11179   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   11180 else
   11181   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   11182 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   11183 if ${ac_cv_lib_dld_dld_link+:} false; then :
   11184   $as_echo_n "(cached) " >&6
   11185 else
   11186   ac_check_lib_save_LIBS=$LIBS
   11187 LIBS="-ldld  $LIBS"
   11188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11189 /* end confdefs.h.  */
   11190 
   11191 /* Override any GCC internal prototype to avoid an error.
   11192    Use char because int might match the return type of a GCC
   11193    builtin and then its argument prototype would still apply.  */
   11194 #ifdef __cplusplus
   11195 extern "C"
   11196 #endif
   11197 char dld_link ();
   11198 int
   11199 main ()
   11200 {
   11201 return dld_link ();
   11202   ;
   11203   return 0;
   11204 }
   11205 _ACEOF
   11206 if ac_fn_c_try_link "$LINENO"; then :
   11207   ac_cv_lib_dld_dld_link=yes
   11208 else
   11209   ac_cv_lib_dld_dld_link=no
   11210 fi
   11211 rm -f core conftest.err conftest.$ac_objext \
   11212     conftest$ac_exeext conftest.$ac_ext
   11213 LIBS=$ac_check_lib_save_LIBS
   11214 fi
   11215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   11216 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   11217 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   11218   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   11219 fi
   11220 
   11221 
   11222 fi
   11223 
   11224 
   11225 fi
   11226 
   11227 
   11228 fi
   11229 
   11230 
   11231 fi
   11232 
   11233 
   11234 fi
   11235 
   11236     ;;
   11237   esac
   11238 
   11239   if test "x$lt_cv_dlopen" != xno; then
   11240     enable_dlopen=yes
   11241   else
   11242     enable_dlopen=no
   11243   fi
   11244 
   11245   case $lt_cv_dlopen in
   11246   dlopen)
   11247     save_CPPFLAGS="$CPPFLAGS"
   11248     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   11249 
   11250     save_LDFLAGS="$LDFLAGS"
   11251     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   11252 
   11253     save_LIBS="$LIBS"
   11254     LIBS="$lt_cv_dlopen_libs $LIBS"
   11255 
   11256     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   11257 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11258 if ${lt_cv_dlopen_self+:} false; then :
   11259   $as_echo_n "(cached) " >&6
   11260 else
   11261   	  if test "$cross_compiling" = yes; then :
   11262   lt_cv_dlopen_self=cross
   11263 else
   11264   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11265   lt_status=$lt_dlunknown
   11266   cat > conftest.$ac_ext <<_LT_EOF
   11267 #line $LINENO "configure"
   11268 #include "confdefs.h"
   11269 
   11270 #if HAVE_DLFCN_H
   11271 #include <dlfcn.h>
   11272 #endif
   11273 
   11274 #include <stdio.h>
   11275 
   11276 #ifdef RTLD_GLOBAL
   11277 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11278 #else
   11279 #  ifdef DL_GLOBAL
   11280 #    define LT_DLGLOBAL		DL_GLOBAL
   11281 #  else
   11282 #    define LT_DLGLOBAL		0
   11283 #  endif
   11284 #endif
   11285 
   11286 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11287    find out it does not work in some platform. */
   11288 #ifndef LT_DLLAZY_OR_NOW
   11289 #  ifdef RTLD_LAZY
   11290 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11291 #  else
   11292 #    ifdef DL_LAZY
   11293 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11294 #    else
   11295 #      ifdef RTLD_NOW
   11296 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11297 #      else
   11298 #        ifdef DL_NOW
   11299 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11300 #        else
   11301 #          define LT_DLLAZY_OR_NOW	0
   11302 #        endif
   11303 #      endif
   11304 #    endif
   11305 #  endif
   11306 #endif
   11307 
   11308 /* When -fvisbility=hidden is used, assume the code has been annotated
   11309    correspondingly for the symbols needed.  */
   11310 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11311 int fnord () __attribute__((visibility("default")));
   11312 #endif
   11313 
   11314 int fnord () { return 42; }
   11315 int main ()
   11316 {
   11317   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11318   int status = $lt_dlunknown;
   11319 
   11320   if (self)
   11321     {
   11322       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11323       else
   11324         {
   11325 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11326           else puts (dlerror ());
   11327 	}
   11328       /* dlclose (self); */
   11329     }
   11330   else
   11331     puts (dlerror ());
   11332 
   11333   return status;
   11334 }
   11335 _LT_EOF
   11336   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11337   (eval $ac_link) 2>&5
   11338   ac_status=$?
   11339   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11340   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11341     (./conftest; exit; ) >&5 2>/dev/null
   11342     lt_status=$?
   11343     case x$lt_status in
   11344       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11345       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11346       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11347     esac
   11348   else :
   11349     # compilation failed
   11350     lt_cv_dlopen_self=no
   11351   fi
   11352 fi
   11353 rm -fr conftest*
   11354 
   11355 
   11356 fi
   11357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11358 $as_echo "$lt_cv_dlopen_self" >&6; }
   11359 
   11360     if test "x$lt_cv_dlopen_self" = xyes; then
   11361       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11362       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11363 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11364 if ${lt_cv_dlopen_self_static+:} false; then :
   11365   $as_echo_n "(cached) " >&6
   11366 else
   11367   	  if test "$cross_compiling" = yes; then :
   11368   lt_cv_dlopen_self_static=cross
   11369 else
   11370   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11371   lt_status=$lt_dlunknown
   11372   cat > conftest.$ac_ext <<_LT_EOF
   11373 #line $LINENO "configure"
   11374 #include "confdefs.h"
   11375 
   11376 #if HAVE_DLFCN_H
   11377 #include <dlfcn.h>
   11378 #endif
   11379 
   11380 #include <stdio.h>
   11381 
   11382 #ifdef RTLD_GLOBAL
   11383 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11384 #else
   11385 #  ifdef DL_GLOBAL
   11386 #    define LT_DLGLOBAL		DL_GLOBAL
   11387 #  else
   11388 #    define LT_DLGLOBAL		0
   11389 #  endif
   11390 #endif
   11391 
   11392 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11393    find out it does not work in some platform. */
   11394 #ifndef LT_DLLAZY_OR_NOW
   11395 #  ifdef RTLD_LAZY
   11396 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11397 #  else
   11398 #    ifdef DL_LAZY
   11399 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11400 #    else
   11401 #      ifdef RTLD_NOW
   11402 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11403 #      else
   11404 #        ifdef DL_NOW
   11405 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11406 #        else
   11407 #          define LT_DLLAZY_OR_NOW	0
   11408 #        endif
   11409 #      endif
   11410 #    endif
   11411 #  endif
   11412 #endif
   11413 
   11414 /* When -fvisbility=hidden is used, assume the code has been annotated
   11415    correspondingly for the symbols needed.  */
   11416 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11417 int fnord () __attribute__((visibility("default")));
   11418 #endif
   11419 
   11420 int fnord () { return 42; }
   11421 int main ()
   11422 {
   11423   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11424   int status = $lt_dlunknown;
   11425 
   11426   if (self)
   11427     {
   11428       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11429       else
   11430         {
   11431 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11432           else puts (dlerror ());
   11433 	}
   11434       /* dlclose (self); */
   11435     }
   11436   else
   11437     puts (dlerror ());
   11438 
   11439   return status;
   11440 }
   11441 _LT_EOF
   11442   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11443   (eval $ac_link) 2>&5
   11444   ac_status=$?
   11445   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11446   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11447     (./conftest; exit; ) >&5 2>/dev/null
   11448     lt_status=$?
   11449     case x$lt_status in
   11450       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11451       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11452       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11453     esac
   11454   else :
   11455     # compilation failed
   11456     lt_cv_dlopen_self_static=no
   11457   fi
   11458 fi
   11459 rm -fr conftest*
   11460 
   11461 
   11462 fi
   11463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11464 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11465     fi
   11466 
   11467     CPPFLAGS="$save_CPPFLAGS"
   11468     LDFLAGS="$save_LDFLAGS"
   11469     LIBS="$save_LIBS"
   11470     ;;
   11471   esac
   11472 
   11473   case $lt_cv_dlopen_self in
   11474   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11475   *) enable_dlopen_self=unknown ;;
   11476   esac
   11477 
   11478   case $lt_cv_dlopen_self_static in
   11479   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11480   *) enable_dlopen_self_static=unknown ;;
   11481   esac
   11482 fi
   11483 
   11484 
   11485 
   11486 
   11487 
   11488 
   11489 
   11490 
   11491 
   11492 
   11493 
   11494 
   11495 
   11496 
   11497 
   11498 
   11499 
   11500 striplib=
   11501 old_striplib=
   11502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11503 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11504 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11505   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11506   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11507   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11508 $as_echo "yes" >&6; }
   11509 else
   11510 # FIXME - insert some real tests, host_os isn't really good enough
   11511   case $host_os in
   11512   darwin*)
   11513     if test -n "$STRIP" ; then
   11514       striplib="$STRIP -x"
   11515       old_striplib="$STRIP -S"
   11516       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11517 $as_echo "yes" >&6; }
   11518     else
   11519       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11520 $as_echo "no" >&6; }
   11521     fi
   11522     ;;
   11523   *)
   11524     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11525 $as_echo "no" >&6; }
   11526     ;;
   11527   esac
   11528 fi
   11529 
   11530 
   11531 
   11532 
   11533 
   11534 
   11535 
   11536 
   11537 
   11538 
   11539 
   11540 
   11541   # Report which library types will actually be built
   11542   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11543 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11544   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11545 $as_echo "$can_build_shared" >&6; }
   11546 
   11547   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11548 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11549   test "$can_build_shared" = "no" && enable_shared=no
   11550 
   11551   # On AIX, shared libraries and static libraries use the same namespace, and
   11552   # are all built from PIC.
   11553   case $host_os in
   11554   aix3*)
   11555     test "$enable_shared" = yes && enable_static=no
   11556     if test -n "$RANLIB"; then
   11557       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11558       postinstall_cmds='$RANLIB $lib'
   11559     fi
   11560     ;;
   11561 
   11562   aix[4-9]*)
   11563     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11564       test "$enable_shared" = yes && enable_static=no
   11565     fi
   11566     ;;
   11567   esac
   11568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11569 $as_echo "$enable_shared" >&6; }
   11570 
   11571   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11572 $as_echo_n "checking whether to build static libraries... " >&6; }
   11573   # Make sure either enable_shared or enable_static is yes.
   11574   test "$enable_shared" = yes || enable_static=yes
   11575   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11576 $as_echo "$enable_static" >&6; }
   11577 
   11578 
   11579 
   11580 
   11581 fi
   11582 ac_ext=c
   11583 ac_cpp='$CPP $CPPFLAGS'
   11584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11587 
   11588 CC="$lt_save_CC"
   11589 
   11590 
   11591 
   11592 
   11593 
   11594 
   11595 
   11596 
   11597 
   11598 
   11599 
   11600 
   11601 
   11602         ac_config_commands="$ac_config_commands libtool"
   11603 
   11604 
   11605 
   11606 
   11607 # Only expand once:
   11608 
   11609 
   11610 
   11611 # Require xorg-macros minimum of 1.12 for DocBook external references
   11612 
   11613 
   11614 
   11615 
   11616 
   11617 
   11618 
   11619 
   11620 
   11621 
   11622 
   11623    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   11624 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   11625 if ${ac_cv_prog_cc_c99+:} false; then :
   11626   $as_echo_n "(cached) " >&6
   11627 else
   11628   ac_cv_prog_cc_c99=no
   11629 ac_save_CC=$CC
   11630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11631 /* end confdefs.h.  */
   11632 #include <stdarg.h>
   11633 #include <stdbool.h>
   11634 #include <stdlib.h>
   11635 #include <wchar.h>
   11636 #include <stdio.h>
   11637 
   11638 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   11639 #define debug(...) fprintf (stderr, __VA_ARGS__)
   11640 #define showlist(...) puts (#__VA_ARGS__)
   11641 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   11642 static void
   11643 test_varargs_macros (void)
   11644 {
   11645   int x = 1234;
   11646   int y = 5678;
   11647   debug ("Flag");
   11648   debug ("X = %d\n", x);
   11649   showlist (The first, second, and third items.);
   11650   report (x>y, "x is %d but y is %d", x, y);
   11651 }
   11652 
   11653 // Check long long types.
   11654 #define BIG64 18446744073709551615ull
   11655 #define BIG32 4294967295ul
   11656 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   11657 #if !BIG_OK
   11658   your preprocessor is broken;
   11659 #endif
   11660 #if BIG_OK
   11661 #else
   11662   your preprocessor is broken;
   11663 #endif
   11664 static long long int bignum = -9223372036854775807LL;
   11665 static unsigned long long int ubignum = BIG64;
   11666 
   11667 struct incomplete_array
   11668 {
   11669   int datasize;
   11670   double data[];
   11671 };
   11672 
   11673 struct named_init {
   11674   int number;
   11675   const wchar_t *name;
   11676   double average;
   11677 };
   11678 
   11679 typedef const char *ccp;
   11680 
   11681 static inline int
   11682 test_restrict (ccp restrict text)
   11683 {
   11684   // See if C++-style comments work.
   11685   // Iterate through items via the restricted pointer.
   11686   // Also check for declarations in for loops.
   11687   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   11688     continue;
   11689   return 0;
   11690 }
   11691 
   11692 // Check varargs and va_copy.
   11693 static void
   11694 test_varargs (const char *format, ...)
   11695 {
   11696   va_list args;
   11697   va_start (args, format);
   11698   va_list args_copy;
   11699   va_copy (args_copy, args);
   11700 
   11701   const char *str;
   11702   int number;
   11703   float fnumber;
   11704 
   11705   while (*format)
   11706     {
   11707       switch (*format++)
   11708 	{
   11709 	case 's': // string
   11710 	  str = va_arg (args_copy, const char *);
   11711 	  break;
   11712 	case 'd': // int
   11713 	  number = va_arg (args_copy, int);
   11714 	  break;
   11715 	case 'f': // float
   11716 	  fnumber = va_arg (args_copy, double);
   11717 	  break;
   11718 	default:
   11719 	  break;
   11720 	}
   11721     }
   11722   va_end (args_copy);
   11723   va_end (args);
   11724 }
   11725 
   11726 int
   11727 main ()
   11728 {
   11729 
   11730   // Check bool.
   11731   _Bool success = false;
   11732 
   11733   // Check restrict.
   11734   if (test_restrict ("String literal") == 0)
   11735     success = true;
   11736   char *restrict newvar = "Another string";
   11737 
   11738   // Check varargs.
   11739   test_varargs ("s, d' f .", "string", 65, 34.234);
   11740   test_varargs_macros ();
   11741 
   11742   // Check flexible array members.
   11743   struct incomplete_array *ia =
   11744     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   11745   ia->datasize = 10;
   11746   for (int i = 0; i < ia->datasize; ++i)
   11747     ia->data[i] = i * 1.234;
   11748 
   11749   // Check named initializers.
   11750   struct named_init ni = {
   11751     .number = 34,
   11752     .name = L"Test wide string",
   11753     .average = 543.34343,
   11754   };
   11755 
   11756   ni.number = 58;
   11757 
   11758   int dynamic_array[ni.number];
   11759   dynamic_array[ni.number - 1] = 543;
   11760 
   11761   // work around unused variable warnings
   11762   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   11763 	  || dynamic_array[ni.number - 1] != 543);
   11764 
   11765   ;
   11766   return 0;
   11767 }
   11768 _ACEOF
   11769 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   11770 do
   11771   CC="$ac_save_CC $ac_arg"
   11772   if ac_fn_c_try_compile "$LINENO"; then :
   11773   ac_cv_prog_cc_c99=$ac_arg
   11774 fi
   11775 rm -f core conftest.err conftest.$ac_objext
   11776   test "x$ac_cv_prog_cc_c99" != "xno" && break
   11777 done
   11778 rm -f conftest.$ac_ext
   11779 CC=$ac_save_CC
   11780 
   11781 fi
   11782 # AC_CACHE_VAL
   11783 case "x$ac_cv_prog_cc_c99" in
   11784   x)
   11785     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   11786 $as_echo "none needed" >&6; } ;;
   11787   xno)
   11788     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   11789 $as_echo "unsupported" >&6; } ;;
   11790   *)
   11791     CC="$CC $ac_cv_prog_cc_c99"
   11792     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   11793 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   11794 esac
   11795 if test "x$ac_cv_prog_cc_c99" != xno; then :
   11796 
   11797 fi
   11798 
   11799 
   11800 
   11801 
   11802 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   11803 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   11804   CLANGCC="yes"
   11805 else
   11806   CLANGCC="no"
   11807 fi
   11808 
   11809 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   11810 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   11811   INTELCC="yes"
   11812 else
   11813   INTELCC="no"
   11814 fi
   11815 
   11816 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   11817 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   11818   SUNCC="yes"
   11819 else
   11820   SUNCC="no"
   11821 fi
   11822 
   11823 
   11824 
   11825 
   11826 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   11827 	if test -n "$ac_tool_prefix"; then
   11828   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   11829 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   11830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11831 $as_echo_n "checking for $ac_word... " >&6; }
   11832 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   11833   $as_echo_n "(cached) " >&6
   11834 else
   11835   case $PKG_CONFIG in
   11836   [\\/]* | ?:[\\/]*)
   11837   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   11838   ;;
   11839   *)
   11840   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11841 for as_dir in $PATH
   11842 do
   11843   IFS=$as_save_IFS
   11844   test -z "$as_dir" && as_dir=.
   11845     for ac_exec_ext in '' $ac_executable_extensions; do
   11846   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11847     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11848     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11849     break 2
   11850   fi
   11851 done
   11852   done
   11853 IFS=$as_save_IFS
   11854 
   11855   ;;
   11856 esac
   11857 fi
   11858 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   11859 if test -n "$PKG_CONFIG"; then
   11860   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   11861 $as_echo "$PKG_CONFIG" >&6; }
   11862 else
   11863   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11864 $as_echo "no" >&6; }
   11865 fi
   11866 
   11867 
   11868 fi
   11869 if test -z "$ac_cv_path_PKG_CONFIG"; then
   11870   ac_pt_PKG_CONFIG=$PKG_CONFIG
   11871   # Extract the first word of "pkg-config", so it can be a program name with args.
   11872 set dummy pkg-config; ac_word=$2
   11873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11874 $as_echo_n "checking for $ac_word... " >&6; }
   11875 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   11876   $as_echo_n "(cached) " >&6
   11877 else
   11878   case $ac_pt_PKG_CONFIG in
   11879   [\\/]* | ?:[\\/]*)
   11880   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   11881   ;;
   11882   *)
   11883   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11884 for as_dir in $PATH
   11885 do
   11886   IFS=$as_save_IFS
   11887   test -z "$as_dir" && as_dir=.
   11888     for ac_exec_ext in '' $ac_executable_extensions; do
   11889   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11890     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11891     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11892     break 2
   11893   fi
   11894 done
   11895   done
   11896 IFS=$as_save_IFS
   11897 
   11898   ;;
   11899 esac
   11900 fi
   11901 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   11902 if test -n "$ac_pt_PKG_CONFIG"; then
   11903   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   11904 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   11905 else
   11906   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11907 $as_echo "no" >&6; }
   11908 fi
   11909 
   11910   if test "x$ac_pt_PKG_CONFIG" = x; then
   11911     PKG_CONFIG=""
   11912   else
   11913     case $cross_compiling:$ac_tool_warned in
   11914 yes:)
   11915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11916 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11917 ac_tool_warned=yes ;;
   11918 esac
   11919     PKG_CONFIG=$ac_pt_PKG_CONFIG
   11920   fi
   11921 else
   11922   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   11923 fi
   11924 
   11925 fi
   11926 if test -n "$PKG_CONFIG"; then
   11927 	_pkg_min_version=0.9.0
   11928 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   11929 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   11930 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   11931 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11932 $as_echo "yes" >&6; }
   11933 	else
   11934 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11935 $as_echo "no" >&6; }
   11936 		PKG_CONFIG=""
   11937 	fi
   11938 
   11939 fi
   11940 
   11941 
   11942 
   11943 
   11944 
   11945 # Check whether --enable-selective-werror was given.
   11946 if test "${enable_selective_werror+set}" = set; then :
   11947   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   11948 else
   11949   SELECTIVE_WERROR=yes
   11950 fi
   11951 
   11952 
   11953 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   11954 if test "x$SUNCC" = "xyes"; then
   11955     BASE_CFLAGS="-v"
   11956 else
   11957     BASE_CFLAGS=""
   11958 fi
   11959 
   11960 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   11961 
   11962 
   11963 
   11964 
   11965 
   11966 xorg_testset_save_CFLAGS="$CFLAGS"
   11967 
   11968 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   11969 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11970 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11971 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11972 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   11973   $as_echo_n "(cached) " >&6
   11974 else
   11975   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11976 /* end confdefs.h.  */
   11977 int i;
   11978 _ACEOF
   11979 if ac_fn_c_try_compile "$LINENO"; then :
   11980   xorg_cv_cc_flag_unknown_warning_option=yes
   11981 else
   11982   xorg_cv_cc_flag_unknown_warning_option=no
   11983 fi
   11984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11985 fi
   11986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11987 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11988 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11989 	CFLAGS="$xorg_testset_save_CFLAGS"
   11990 fi
   11991 
   11992 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   11993 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   11994 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11995 	fi
   11996 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11997 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11998 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11999 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12000   $as_echo_n "(cached) " >&6
   12001 else
   12002   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12003 /* end confdefs.h.  */
   12004 int i;
   12005 _ACEOF
   12006 if ac_fn_c_try_compile "$LINENO"; then :
   12007   xorg_cv_cc_flag_unused_command_line_argument=yes
   12008 else
   12009   xorg_cv_cc_flag_unused_command_line_argument=no
   12010 fi
   12011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12012 fi
   12013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12014 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12015 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12016 	CFLAGS="$xorg_testset_save_CFLAGS"
   12017 fi
   12018 
   12019 found="no"
   12020 
   12021 	if test $found = "no" ; then
   12022 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12023 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12024 		fi
   12025 
   12026 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12027 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12028 		fi
   12029 
   12030 		CFLAGS="$CFLAGS -Wall"
   12031 
   12032 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   12033 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   12034 		cacheid=`$as_echo xorg_cv_cc_flag_-Wall`
   12035 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   12036   $as_echo_n "(cached) " >&6
   12037 else
   12038   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12039 /* end confdefs.h.  */
   12040 int i;
   12041 int
   12042 main ()
   12043 {
   12044 
   12045   ;
   12046   return 0;
   12047 }
   12048 _ACEOF
   12049 if ac_fn_c_try_link "$LINENO"; then :
   12050   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   12051 else
   12052   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   12053 fi
   12054 rm -f core conftest.err conftest.$ac_objext \
   12055     conftest$ac_exeext conftest.$ac_ext
   12056 fi
   12057 
   12058 
   12059 		CFLAGS="$xorg_testset_save_CFLAGS"
   12060 
   12061 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   12062 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12063 $as_echo "$supported" >&6; }
   12064 		if test "$supported" = "yes" ; then
   12065 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   12066 			found="yes"
   12067 		fi
   12068 	fi
   12069 
   12070 
   12071 
   12072 
   12073 
   12074 
   12075 
   12076 xorg_testset_save_CFLAGS="$CFLAGS"
   12077 
   12078 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   12079 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12080 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12081 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12082 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12083   $as_echo_n "(cached) " >&6
   12084 else
   12085   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12086 /* end confdefs.h.  */
   12087 int i;
   12088 _ACEOF
   12089 if ac_fn_c_try_compile "$LINENO"; then :
   12090   xorg_cv_cc_flag_unknown_warning_option=yes
   12091 else
   12092   xorg_cv_cc_flag_unknown_warning_option=no
   12093 fi
   12094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12095 fi
   12096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12097 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12098 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12099 	CFLAGS="$xorg_testset_save_CFLAGS"
   12100 fi
   12101 
   12102 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   12103 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12104 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12105 	fi
   12106 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12107 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12108 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12109 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12110   $as_echo_n "(cached) " >&6
   12111 else
   12112   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12113 /* end confdefs.h.  */
   12114 int i;
   12115 _ACEOF
   12116 if ac_fn_c_try_compile "$LINENO"; then :
   12117   xorg_cv_cc_flag_unused_command_line_argument=yes
   12118 else
   12119   xorg_cv_cc_flag_unused_command_line_argument=no
   12120 fi
   12121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12122 fi
   12123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12124 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12125 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12126 	CFLAGS="$xorg_testset_save_CFLAGS"
   12127 fi
   12128 
   12129 found="no"
   12130 
   12131 	if test $found = "no" ; then
   12132 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12133 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12134 		fi
   12135 
   12136 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12137 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12138 		fi
   12139 
   12140 		CFLAGS="$CFLAGS -Wpointer-arith"
   12141 
   12142 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   12143 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   12144 		cacheid=`$as_echo xorg_cv_cc_flag_-Wpointer-arith`
   12145 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   12146   $as_echo_n "(cached) " >&6
   12147 else
   12148   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12149 /* end confdefs.h.  */
   12150 int i;
   12151 int
   12152 main ()
   12153 {
   12154 
   12155   ;
   12156   return 0;
   12157 }
   12158 _ACEOF
   12159 if ac_fn_c_try_link "$LINENO"; then :
   12160   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   12161 else
   12162   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   12163 fi
   12164 rm -f core conftest.err conftest.$ac_objext \
   12165     conftest$ac_exeext conftest.$ac_ext
   12166 fi
   12167 
   12168 
   12169 		CFLAGS="$xorg_testset_save_CFLAGS"
   12170 
   12171 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   12172 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12173 $as_echo "$supported" >&6; }
   12174 		if test "$supported" = "yes" ; then
   12175 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   12176 			found="yes"
   12177 		fi
   12178 	fi
   12179 
   12180 
   12181 
   12182 
   12183 
   12184 
   12185 
   12186 xorg_testset_save_CFLAGS="$CFLAGS"
   12187 
   12188 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   12189 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12190 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12191 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12192 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12193   $as_echo_n "(cached) " >&6
   12194 else
   12195   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12196 /* end confdefs.h.  */
   12197 int i;
   12198 _ACEOF
   12199 if ac_fn_c_try_compile "$LINENO"; then :
   12200   xorg_cv_cc_flag_unknown_warning_option=yes
   12201 else
   12202   xorg_cv_cc_flag_unknown_warning_option=no
   12203 fi
   12204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12205 fi
   12206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12207 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12208 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12209 	CFLAGS="$xorg_testset_save_CFLAGS"
   12210 fi
   12211 
   12212 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   12213 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12214 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12215 	fi
   12216 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12217 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12218 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12219 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12220   $as_echo_n "(cached) " >&6
   12221 else
   12222   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12223 /* end confdefs.h.  */
   12224 int i;
   12225 _ACEOF
   12226 if ac_fn_c_try_compile "$LINENO"; then :
   12227   xorg_cv_cc_flag_unused_command_line_argument=yes
   12228 else
   12229   xorg_cv_cc_flag_unused_command_line_argument=no
   12230 fi
   12231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12232 fi
   12233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12234 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12235 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12236 	CFLAGS="$xorg_testset_save_CFLAGS"
   12237 fi
   12238 
   12239 found="no"
   12240 
   12241 	if test $found = "no" ; then
   12242 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12243 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12244 		fi
   12245 
   12246 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12247 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12248 		fi
   12249 
   12250 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   12251 
   12252 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   12253 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   12254 		cacheid=`$as_echo xorg_cv_cc_flag_-Wstrict-prototypes`
   12255 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   12256   $as_echo_n "(cached) " >&6
   12257 else
   12258   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12259 /* end confdefs.h.  */
   12260 int i;
   12261 int
   12262 main ()
   12263 {
   12264 
   12265   ;
   12266   return 0;
   12267 }
   12268 _ACEOF
   12269 if ac_fn_c_try_link "$LINENO"; then :
   12270   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   12271 else
   12272   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   12273 fi
   12274 rm -f core conftest.err conftest.$ac_objext \
   12275     conftest$ac_exeext conftest.$ac_ext
   12276 fi
   12277 
   12278 
   12279 		CFLAGS="$xorg_testset_save_CFLAGS"
   12280 
   12281 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   12282 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12283 $as_echo "$supported" >&6; }
   12284 		if test "$supported" = "yes" ; then
   12285 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   12286 			found="yes"
   12287 		fi
   12288 	fi
   12289 
   12290 
   12291 
   12292 
   12293 
   12294 
   12295 
   12296 xorg_testset_save_CFLAGS="$CFLAGS"
   12297 
   12298 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   12299 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12300 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12301 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12302 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12303   $as_echo_n "(cached) " >&6
   12304 else
   12305   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12306 /* end confdefs.h.  */
   12307 int i;
   12308 _ACEOF
   12309 if ac_fn_c_try_compile "$LINENO"; then :
   12310   xorg_cv_cc_flag_unknown_warning_option=yes
   12311 else
   12312   xorg_cv_cc_flag_unknown_warning_option=no
   12313 fi
   12314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12315 fi
   12316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12317 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12318 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12319 	CFLAGS="$xorg_testset_save_CFLAGS"
   12320 fi
   12321 
   12322 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   12323 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12324 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12325 	fi
   12326 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12327 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12328 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12329 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12330   $as_echo_n "(cached) " >&6
   12331 else
   12332   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12333 /* end confdefs.h.  */
   12334 int i;
   12335 _ACEOF
   12336 if ac_fn_c_try_compile "$LINENO"; then :
   12337   xorg_cv_cc_flag_unused_command_line_argument=yes
   12338 else
   12339   xorg_cv_cc_flag_unused_command_line_argument=no
   12340 fi
   12341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12342 fi
   12343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12344 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12345 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12346 	CFLAGS="$xorg_testset_save_CFLAGS"
   12347 fi
   12348 
   12349 found="no"
   12350 
   12351 	if test $found = "no" ; then
   12352 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12353 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12354 		fi
   12355 
   12356 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12357 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12358 		fi
   12359 
   12360 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   12361 
   12362 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   12363 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   12364 		cacheid=`$as_echo xorg_cv_cc_flag_-Wmissing-prototypes`
   12365 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   12366   $as_echo_n "(cached) " >&6
   12367 else
   12368   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12369 /* end confdefs.h.  */
   12370 int i;
   12371 int
   12372 main ()
   12373 {
   12374 
   12375   ;
   12376   return 0;
   12377 }
   12378 _ACEOF
   12379 if ac_fn_c_try_link "$LINENO"; then :
   12380   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   12381 else
   12382   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   12383 fi
   12384 rm -f core conftest.err conftest.$ac_objext \
   12385     conftest$ac_exeext conftest.$ac_ext
   12386 fi
   12387 
   12388 
   12389 		CFLAGS="$xorg_testset_save_CFLAGS"
   12390 
   12391 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   12392 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12393 $as_echo "$supported" >&6; }
   12394 		if test "$supported" = "yes" ; then
   12395 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   12396 			found="yes"
   12397 		fi
   12398 	fi
   12399 
   12400 
   12401 
   12402 
   12403 
   12404 
   12405 
   12406 xorg_testset_save_CFLAGS="$CFLAGS"
   12407 
   12408 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   12409 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12410 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12411 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12412 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12413   $as_echo_n "(cached) " >&6
   12414 else
   12415   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12416 /* end confdefs.h.  */
   12417 int i;
   12418 _ACEOF
   12419 if ac_fn_c_try_compile "$LINENO"; then :
   12420   xorg_cv_cc_flag_unknown_warning_option=yes
   12421 else
   12422   xorg_cv_cc_flag_unknown_warning_option=no
   12423 fi
   12424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12425 fi
   12426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12427 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12428 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12429 	CFLAGS="$xorg_testset_save_CFLAGS"
   12430 fi
   12431 
   12432 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   12433 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12434 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12435 	fi
   12436 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12437 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12438 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12439 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12440   $as_echo_n "(cached) " >&6
   12441 else
   12442   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12443 /* end confdefs.h.  */
   12444 int i;
   12445 _ACEOF
   12446 if ac_fn_c_try_compile "$LINENO"; then :
   12447   xorg_cv_cc_flag_unused_command_line_argument=yes
   12448 else
   12449   xorg_cv_cc_flag_unused_command_line_argument=no
   12450 fi
   12451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12452 fi
   12453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12454 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12455 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12456 	CFLAGS="$xorg_testset_save_CFLAGS"
   12457 fi
   12458 
   12459 found="no"
   12460 
   12461 	if test $found = "no" ; then
   12462 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12463 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12464 		fi
   12465 
   12466 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12467 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12468 		fi
   12469 
   12470 		CFLAGS="$CFLAGS -Wmissing-declarations"
   12471 
   12472 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   12473 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   12474 		cacheid=`$as_echo xorg_cv_cc_flag_-Wmissing-declarations`
   12475 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   12476   $as_echo_n "(cached) " >&6
   12477 else
   12478   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12479 /* end confdefs.h.  */
   12480 int i;
   12481 int
   12482 main ()
   12483 {
   12484 
   12485   ;
   12486   return 0;
   12487 }
   12488 _ACEOF
   12489 if ac_fn_c_try_link "$LINENO"; then :
   12490   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   12491 else
   12492   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   12493 fi
   12494 rm -f core conftest.err conftest.$ac_objext \
   12495     conftest$ac_exeext conftest.$ac_ext
   12496 fi
   12497 
   12498 
   12499 		CFLAGS="$xorg_testset_save_CFLAGS"
   12500 
   12501 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   12502 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12503 $as_echo "$supported" >&6; }
   12504 		if test "$supported" = "yes" ; then
   12505 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   12506 			found="yes"
   12507 		fi
   12508 	fi
   12509 
   12510 
   12511 
   12512 
   12513 
   12514 
   12515 
   12516 xorg_testset_save_CFLAGS="$CFLAGS"
   12517 
   12518 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   12519 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12520 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12521 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12522 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12523   $as_echo_n "(cached) " >&6
   12524 else
   12525   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12526 /* end confdefs.h.  */
   12527 int i;
   12528 _ACEOF
   12529 if ac_fn_c_try_compile "$LINENO"; then :
   12530   xorg_cv_cc_flag_unknown_warning_option=yes
   12531 else
   12532   xorg_cv_cc_flag_unknown_warning_option=no
   12533 fi
   12534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12535 fi
   12536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12537 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12538 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12539 	CFLAGS="$xorg_testset_save_CFLAGS"
   12540 fi
   12541 
   12542 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   12543 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12544 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12545 	fi
   12546 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12547 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12548 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12549 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12550   $as_echo_n "(cached) " >&6
   12551 else
   12552   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12553 /* end confdefs.h.  */
   12554 int i;
   12555 _ACEOF
   12556 if ac_fn_c_try_compile "$LINENO"; then :
   12557   xorg_cv_cc_flag_unused_command_line_argument=yes
   12558 else
   12559   xorg_cv_cc_flag_unused_command_line_argument=no
   12560 fi
   12561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12562 fi
   12563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12564 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12565 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12566 	CFLAGS="$xorg_testset_save_CFLAGS"
   12567 fi
   12568 
   12569 found="no"
   12570 
   12571 	if test $found = "no" ; then
   12572 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12573 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12574 		fi
   12575 
   12576 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12577 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12578 		fi
   12579 
   12580 		CFLAGS="$CFLAGS -Wnested-externs"
   12581 
   12582 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   12583 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   12584 		cacheid=`$as_echo xorg_cv_cc_flag_-Wnested-externs`
   12585 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   12586   $as_echo_n "(cached) " >&6
   12587 else
   12588   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12589 /* end confdefs.h.  */
   12590 int i;
   12591 int
   12592 main ()
   12593 {
   12594 
   12595   ;
   12596   return 0;
   12597 }
   12598 _ACEOF
   12599 if ac_fn_c_try_link "$LINENO"; then :
   12600   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   12601 else
   12602   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   12603 fi
   12604 rm -f core conftest.err conftest.$ac_objext \
   12605     conftest$ac_exeext conftest.$ac_ext
   12606 fi
   12607 
   12608 
   12609 		CFLAGS="$xorg_testset_save_CFLAGS"
   12610 
   12611 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   12612 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12613 $as_echo "$supported" >&6; }
   12614 		if test "$supported" = "yes" ; then
   12615 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   12616 			found="yes"
   12617 		fi
   12618 	fi
   12619 
   12620 
   12621 
   12622 
   12623 
   12624 
   12625 
   12626 xorg_testset_save_CFLAGS="$CFLAGS"
   12627 
   12628 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   12629 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12630 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12631 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12632 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12633   $as_echo_n "(cached) " >&6
   12634 else
   12635   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12636 /* end confdefs.h.  */
   12637 int i;
   12638 _ACEOF
   12639 if ac_fn_c_try_compile "$LINENO"; then :
   12640   xorg_cv_cc_flag_unknown_warning_option=yes
   12641 else
   12642   xorg_cv_cc_flag_unknown_warning_option=no
   12643 fi
   12644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12645 fi
   12646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12647 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12648 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12649 	CFLAGS="$xorg_testset_save_CFLAGS"
   12650 fi
   12651 
   12652 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   12653 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12654 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12655 	fi
   12656 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12657 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12658 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12659 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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 _ACEOF
   12666 if ac_fn_c_try_compile "$LINENO"; then :
   12667   xorg_cv_cc_flag_unused_command_line_argument=yes
   12668 else
   12669   xorg_cv_cc_flag_unused_command_line_argument=no
   12670 fi
   12671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12672 fi
   12673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12674 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12675 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12676 	CFLAGS="$xorg_testset_save_CFLAGS"
   12677 fi
   12678 
   12679 found="no"
   12680 
   12681 	if test $found = "no" ; then
   12682 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12683 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12684 		fi
   12685 
   12686 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12687 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12688 		fi
   12689 
   12690 		CFLAGS="$CFLAGS -Wbad-function-cast"
   12691 
   12692 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   12693 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   12694 		cacheid=`$as_echo xorg_cv_cc_flag_-Wbad-function-cast`
   12695 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   12696   $as_echo_n "(cached) " >&6
   12697 else
   12698   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12699 /* end confdefs.h.  */
   12700 int i;
   12701 int
   12702 main ()
   12703 {
   12704 
   12705   ;
   12706   return 0;
   12707 }
   12708 _ACEOF
   12709 if ac_fn_c_try_link "$LINENO"; then :
   12710   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   12711 else
   12712   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   12713 fi
   12714 rm -f core conftest.err conftest.$ac_objext \
   12715     conftest$ac_exeext conftest.$ac_ext
   12716 fi
   12717 
   12718 
   12719 		CFLAGS="$xorg_testset_save_CFLAGS"
   12720 
   12721 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   12722 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12723 $as_echo "$supported" >&6; }
   12724 		if test "$supported" = "yes" ; then
   12725 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   12726 			found="yes"
   12727 		fi
   12728 	fi
   12729 
   12730 
   12731 
   12732 
   12733 
   12734 
   12735 
   12736 xorg_testset_save_CFLAGS="$CFLAGS"
   12737 
   12738 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   12739 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12740 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12741 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12742 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12743   $as_echo_n "(cached) " >&6
   12744 else
   12745   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12746 /* end confdefs.h.  */
   12747 int i;
   12748 _ACEOF
   12749 if ac_fn_c_try_compile "$LINENO"; then :
   12750   xorg_cv_cc_flag_unknown_warning_option=yes
   12751 else
   12752   xorg_cv_cc_flag_unknown_warning_option=no
   12753 fi
   12754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12755 fi
   12756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12757 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12758 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12759 	CFLAGS="$xorg_testset_save_CFLAGS"
   12760 fi
   12761 
   12762 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   12763 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12764 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12765 	fi
   12766 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12767 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12768 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12769 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12770   $as_echo_n "(cached) " >&6
   12771 else
   12772   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12773 /* end confdefs.h.  */
   12774 int i;
   12775 _ACEOF
   12776 if ac_fn_c_try_compile "$LINENO"; then :
   12777   xorg_cv_cc_flag_unused_command_line_argument=yes
   12778 else
   12779   xorg_cv_cc_flag_unused_command_line_argument=no
   12780 fi
   12781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12782 fi
   12783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12784 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12785 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12786 	CFLAGS="$xorg_testset_save_CFLAGS"
   12787 fi
   12788 
   12789 found="no"
   12790 
   12791 	if test $found = "no" ; then
   12792 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12793 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12794 		fi
   12795 
   12796 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12797 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12798 		fi
   12799 
   12800 		CFLAGS="$CFLAGS -Wformat=2"
   12801 
   12802 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   12803 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   12804 		cacheid=`$as_echo xorg_cv_cc_flag_-Wformat=2`
   12805 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   12806   $as_echo_n "(cached) " >&6
   12807 else
   12808   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12809 /* end confdefs.h.  */
   12810 int i;
   12811 int
   12812 main ()
   12813 {
   12814 
   12815   ;
   12816   return 0;
   12817 }
   12818 _ACEOF
   12819 if ac_fn_c_try_link "$LINENO"; then :
   12820   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   12821 else
   12822   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   12823 fi
   12824 rm -f core conftest.err conftest.$ac_objext \
   12825     conftest$ac_exeext conftest.$ac_ext
   12826 fi
   12827 
   12828 
   12829 		CFLAGS="$xorg_testset_save_CFLAGS"
   12830 
   12831 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   12832 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12833 $as_echo "$supported" >&6; }
   12834 		if test "$supported" = "yes" ; then
   12835 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   12836 			found="yes"
   12837 		fi
   12838 	fi
   12839 
   12840 	if test $found = "no" ; then
   12841 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12842 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12843 		fi
   12844 
   12845 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12846 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12847 		fi
   12848 
   12849 		CFLAGS="$CFLAGS -Wformat"
   12850 
   12851 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   12852 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   12853 		cacheid=`$as_echo xorg_cv_cc_flag_-Wformat`
   12854 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   12855   $as_echo_n "(cached) " >&6
   12856 else
   12857   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12858 /* end confdefs.h.  */
   12859 int i;
   12860 int
   12861 main ()
   12862 {
   12863 
   12864   ;
   12865   return 0;
   12866 }
   12867 _ACEOF
   12868 if ac_fn_c_try_link "$LINENO"; then :
   12869   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   12870 else
   12871   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   12872 fi
   12873 rm -f core conftest.err conftest.$ac_objext \
   12874     conftest$ac_exeext conftest.$ac_ext
   12875 fi
   12876 
   12877 
   12878 		CFLAGS="$xorg_testset_save_CFLAGS"
   12879 
   12880 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   12881 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12882 $as_echo "$supported" >&6; }
   12883 		if test "$supported" = "yes" ; then
   12884 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   12885 			found="yes"
   12886 		fi
   12887 	fi
   12888 
   12889 
   12890 
   12891 
   12892 
   12893 
   12894 
   12895 xorg_testset_save_CFLAGS="$CFLAGS"
   12896 
   12897 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   12898 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12899 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12900 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12901 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12902   $as_echo_n "(cached) " >&6
   12903 else
   12904   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12905 /* end confdefs.h.  */
   12906 int i;
   12907 _ACEOF
   12908 if ac_fn_c_try_compile "$LINENO"; then :
   12909   xorg_cv_cc_flag_unknown_warning_option=yes
   12910 else
   12911   xorg_cv_cc_flag_unknown_warning_option=no
   12912 fi
   12913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12914 fi
   12915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12916 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12917 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12918 	CFLAGS="$xorg_testset_save_CFLAGS"
   12919 fi
   12920 
   12921 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   12922 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12923 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12924 	fi
   12925 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12926 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12927 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12928 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12929   $as_echo_n "(cached) " >&6
   12930 else
   12931   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12932 /* end confdefs.h.  */
   12933 int i;
   12934 _ACEOF
   12935 if ac_fn_c_try_compile "$LINENO"; then :
   12936   xorg_cv_cc_flag_unused_command_line_argument=yes
   12937 else
   12938   xorg_cv_cc_flag_unused_command_line_argument=no
   12939 fi
   12940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12941 fi
   12942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12943 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12944 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12945 	CFLAGS="$xorg_testset_save_CFLAGS"
   12946 fi
   12947 
   12948 found="no"
   12949 
   12950 	if test $found = "no" ; then
   12951 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12952 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12953 		fi
   12954 
   12955 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12956 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12957 		fi
   12958 
   12959 		CFLAGS="$CFLAGS -Wold-style-definition"
   12960 
   12961 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   12962 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   12963 		cacheid=`$as_echo xorg_cv_cc_flag_-Wold-style-definition`
   12964 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   12965   $as_echo_n "(cached) " >&6
   12966 else
   12967   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12968 /* end confdefs.h.  */
   12969 int i;
   12970 int
   12971 main ()
   12972 {
   12973 
   12974   ;
   12975   return 0;
   12976 }
   12977 _ACEOF
   12978 if ac_fn_c_try_link "$LINENO"; then :
   12979   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   12980 else
   12981   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   12982 fi
   12983 rm -f core conftest.err conftest.$ac_objext \
   12984     conftest$ac_exeext conftest.$ac_ext
   12985 fi
   12986 
   12987 
   12988 		CFLAGS="$xorg_testset_save_CFLAGS"
   12989 
   12990 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   12991 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12992 $as_echo "$supported" >&6; }
   12993 		if test "$supported" = "yes" ; then
   12994 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   12995 			found="yes"
   12996 		fi
   12997 	fi
   12998 
   12999 
   13000 
   13001 
   13002 
   13003 
   13004 
   13005 xorg_testset_save_CFLAGS="$CFLAGS"
   13006 
   13007 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   13008 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13009 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13010 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13011 if ${xorg_cv_cc_flag_unknown_warning_option+:} 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 _ACEOF
   13018 if ac_fn_c_try_compile "$LINENO"; then :
   13019   xorg_cv_cc_flag_unknown_warning_option=yes
   13020 else
   13021   xorg_cv_cc_flag_unknown_warning_option=no
   13022 fi
   13023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13024 fi
   13025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13026 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13027 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13028 	CFLAGS="$xorg_testset_save_CFLAGS"
   13029 fi
   13030 
   13031 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   13032 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13033 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13034 	fi
   13035 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13036 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13037 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13038 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13039   $as_echo_n "(cached) " >&6
   13040 else
   13041   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13042 /* end confdefs.h.  */
   13043 int i;
   13044 _ACEOF
   13045 if ac_fn_c_try_compile "$LINENO"; then :
   13046   xorg_cv_cc_flag_unused_command_line_argument=yes
   13047 else
   13048   xorg_cv_cc_flag_unused_command_line_argument=no
   13049 fi
   13050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13051 fi
   13052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13053 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13054 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13055 	CFLAGS="$xorg_testset_save_CFLAGS"
   13056 fi
   13057 
   13058 found="no"
   13059 
   13060 	if test $found = "no" ; then
   13061 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13062 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13063 		fi
   13064 
   13065 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13066 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13067 		fi
   13068 
   13069 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   13070 
   13071 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   13072 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   13073 		cacheid=`$as_echo xorg_cv_cc_flag_-Wdeclaration-after-statement`
   13074 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   13075   $as_echo_n "(cached) " >&6
   13076 else
   13077   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13078 /* end confdefs.h.  */
   13079 int i;
   13080 int
   13081 main ()
   13082 {
   13083 
   13084   ;
   13085   return 0;
   13086 }
   13087 _ACEOF
   13088 if ac_fn_c_try_link "$LINENO"; then :
   13089   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   13090 else
   13091   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   13092 fi
   13093 rm -f core conftest.err conftest.$ac_objext \
   13094     conftest$ac_exeext conftest.$ac_ext
   13095 fi
   13096 
   13097 
   13098 		CFLAGS="$xorg_testset_save_CFLAGS"
   13099 
   13100 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   13101 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13102 $as_echo "$supported" >&6; }
   13103 		if test "$supported" = "yes" ; then
   13104 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   13105 			found="yes"
   13106 		fi
   13107 	fi
   13108 
   13109 
   13110 
   13111 # This chunk adds additional warnings that could catch undesired effects.
   13112 
   13113 
   13114 
   13115 
   13116 
   13117 xorg_testset_save_CFLAGS="$CFLAGS"
   13118 
   13119 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   13120 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13121 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13122 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13123 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13124   $as_echo_n "(cached) " >&6
   13125 else
   13126   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13127 /* end confdefs.h.  */
   13128 int i;
   13129 _ACEOF
   13130 if ac_fn_c_try_compile "$LINENO"; then :
   13131   xorg_cv_cc_flag_unknown_warning_option=yes
   13132 else
   13133   xorg_cv_cc_flag_unknown_warning_option=no
   13134 fi
   13135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13136 fi
   13137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13138 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13139 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13140 	CFLAGS="$xorg_testset_save_CFLAGS"
   13141 fi
   13142 
   13143 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   13144 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13145 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13146 	fi
   13147 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13148 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13149 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13150 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13151   $as_echo_n "(cached) " >&6
   13152 else
   13153   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13154 /* end confdefs.h.  */
   13155 int i;
   13156 _ACEOF
   13157 if ac_fn_c_try_compile "$LINENO"; then :
   13158   xorg_cv_cc_flag_unused_command_line_argument=yes
   13159 else
   13160   xorg_cv_cc_flag_unused_command_line_argument=no
   13161 fi
   13162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13163 fi
   13164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13165 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13166 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13167 	CFLAGS="$xorg_testset_save_CFLAGS"
   13168 fi
   13169 
   13170 found="no"
   13171 
   13172 	if test $found = "no" ; then
   13173 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13174 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13175 		fi
   13176 
   13177 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13178 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13179 		fi
   13180 
   13181 		CFLAGS="$CFLAGS -Wunused"
   13182 
   13183 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   13184 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   13185 		cacheid=`$as_echo xorg_cv_cc_flag_-Wunused`
   13186 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   13187   $as_echo_n "(cached) " >&6
   13188 else
   13189   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13190 /* end confdefs.h.  */
   13191 int i;
   13192 int
   13193 main ()
   13194 {
   13195 
   13196   ;
   13197   return 0;
   13198 }
   13199 _ACEOF
   13200 if ac_fn_c_try_link "$LINENO"; then :
   13201   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   13202 else
   13203   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   13204 fi
   13205 rm -f core conftest.err conftest.$ac_objext \
   13206     conftest$ac_exeext conftest.$ac_ext
   13207 fi
   13208 
   13209 
   13210 		CFLAGS="$xorg_testset_save_CFLAGS"
   13211 
   13212 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   13213 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13214 $as_echo "$supported" >&6; }
   13215 		if test "$supported" = "yes" ; then
   13216 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   13217 			found="yes"
   13218 		fi
   13219 	fi
   13220 
   13221 
   13222 
   13223 
   13224 
   13225 
   13226 
   13227 xorg_testset_save_CFLAGS="$CFLAGS"
   13228 
   13229 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   13230 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13231 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13232 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13233 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13234   $as_echo_n "(cached) " >&6
   13235 else
   13236   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13237 /* end confdefs.h.  */
   13238 int i;
   13239 _ACEOF
   13240 if ac_fn_c_try_compile "$LINENO"; then :
   13241   xorg_cv_cc_flag_unknown_warning_option=yes
   13242 else
   13243   xorg_cv_cc_flag_unknown_warning_option=no
   13244 fi
   13245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13246 fi
   13247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13248 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13249 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13250 	CFLAGS="$xorg_testset_save_CFLAGS"
   13251 fi
   13252 
   13253 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   13254 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13255 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13256 	fi
   13257 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13258 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13259 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13260 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13261   $as_echo_n "(cached) " >&6
   13262 else
   13263   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13264 /* end confdefs.h.  */
   13265 int i;
   13266 _ACEOF
   13267 if ac_fn_c_try_compile "$LINENO"; then :
   13268   xorg_cv_cc_flag_unused_command_line_argument=yes
   13269 else
   13270   xorg_cv_cc_flag_unused_command_line_argument=no
   13271 fi
   13272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13273 fi
   13274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13275 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13276 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13277 	CFLAGS="$xorg_testset_save_CFLAGS"
   13278 fi
   13279 
   13280 found="no"
   13281 
   13282 	if test $found = "no" ; then
   13283 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13284 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13285 		fi
   13286 
   13287 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13288 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13289 		fi
   13290 
   13291 		CFLAGS="$CFLAGS -Wuninitialized"
   13292 
   13293 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   13294 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   13295 		cacheid=`$as_echo xorg_cv_cc_flag_-Wuninitialized`
   13296 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} 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 int
   13303 main ()
   13304 {
   13305 
   13306   ;
   13307   return 0;
   13308 }
   13309 _ACEOF
   13310 if ac_fn_c_try_link "$LINENO"; then :
   13311   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   13312 else
   13313   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   13314 fi
   13315 rm -f core conftest.err conftest.$ac_objext \
   13316     conftest$ac_exeext conftest.$ac_ext
   13317 fi
   13318 
   13319 
   13320 		CFLAGS="$xorg_testset_save_CFLAGS"
   13321 
   13322 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   13323 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13324 $as_echo "$supported" >&6; }
   13325 		if test "$supported" = "yes" ; then
   13326 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   13327 			found="yes"
   13328 		fi
   13329 	fi
   13330 
   13331 
   13332 
   13333 
   13334 
   13335 
   13336 
   13337 xorg_testset_save_CFLAGS="$CFLAGS"
   13338 
   13339 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   13340 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13341 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13342 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13343 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13344   $as_echo_n "(cached) " >&6
   13345 else
   13346   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13347 /* end confdefs.h.  */
   13348 int i;
   13349 _ACEOF
   13350 if ac_fn_c_try_compile "$LINENO"; then :
   13351   xorg_cv_cc_flag_unknown_warning_option=yes
   13352 else
   13353   xorg_cv_cc_flag_unknown_warning_option=no
   13354 fi
   13355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13356 fi
   13357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13358 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13359 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13360 	CFLAGS="$xorg_testset_save_CFLAGS"
   13361 fi
   13362 
   13363 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   13364 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13365 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13366 	fi
   13367 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13368 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13369 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13370 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13371   $as_echo_n "(cached) " >&6
   13372 else
   13373   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13374 /* end confdefs.h.  */
   13375 int i;
   13376 _ACEOF
   13377 if ac_fn_c_try_compile "$LINENO"; then :
   13378   xorg_cv_cc_flag_unused_command_line_argument=yes
   13379 else
   13380   xorg_cv_cc_flag_unused_command_line_argument=no
   13381 fi
   13382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13383 fi
   13384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13385 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13386 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13387 	CFLAGS="$xorg_testset_save_CFLAGS"
   13388 fi
   13389 
   13390 found="no"
   13391 
   13392 	if test $found = "no" ; then
   13393 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13394 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13395 		fi
   13396 
   13397 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13398 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13399 		fi
   13400 
   13401 		CFLAGS="$CFLAGS -Wshadow"
   13402 
   13403 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   13404 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   13405 		cacheid=`$as_echo xorg_cv_cc_flag_-Wshadow`
   13406 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   13407   $as_echo_n "(cached) " >&6
   13408 else
   13409   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13410 /* end confdefs.h.  */
   13411 int i;
   13412 int
   13413 main ()
   13414 {
   13415 
   13416   ;
   13417   return 0;
   13418 }
   13419 _ACEOF
   13420 if ac_fn_c_try_link "$LINENO"; then :
   13421   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   13422 else
   13423   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   13424 fi
   13425 rm -f core conftest.err conftest.$ac_objext \
   13426     conftest$ac_exeext conftest.$ac_ext
   13427 fi
   13428 
   13429 
   13430 		CFLAGS="$xorg_testset_save_CFLAGS"
   13431 
   13432 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   13433 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13434 $as_echo "$supported" >&6; }
   13435 		if test "$supported" = "yes" ; then
   13436 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   13437 			found="yes"
   13438 		fi
   13439 	fi
   13440 
   13441 
   13442 
   13443 
   13444 
   13445 
   13446 
   13447 xorg_testset_save_CFLAGS="$CFLAGS"
   13448 
   13449 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   13450 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13451 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13452 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13453 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13454   $as_echo_n "(cached) " >&6
   13455 else
   13456   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13457 /* end confdefs.h.  */
   13458 int i;
   13459 _ACEOF
   13460 if ac_fn_c_try_compile "$LINENO"; then :
   13461   xorg_cv_cc_flag_unknown_warning_option=yes
   13462 else
   13463   xorg_cv_cc_flag_unknown_warning_option=no
   13464 fi
   13465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13466 fi
   13467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13468 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13469 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13470 	CFLAGS="$xorg_testset_save_CFLAGS"
   13471 fi
   13472 
   13473 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   13474 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13475 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13476 	fi
   13477 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13478 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13479 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13480 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13481   $as_echo_n "(cached) " >&6
   13482 else
   13483   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13484 /* end confdefs.h.  */
   13485 int i;
   13486 _ACEOF
   13487 if ac_fn_c_try_compile "$LINENO"; then :
   13488   xorg_cv_cc_flag_unused_command_line_argument=yes
   13489 else
   13490   xorg_cv_cc_flag_unused_command_line_argument=no
   13491 fi
   13492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13493 fi
   13494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13495 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13496 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13497 	CFLAGS="$xorg_testset_save_CFLAGS"
   13498 fi
   13499 
   13500 found="no"
   13501 
   13502 	if test $found = "no" ; then
   13503 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13504 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13505 		fi
   13506 
   13507 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13508 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13509 		fi
   13510 
   13511 		CFLAGS="$CFLAGS -Wcast-qual"
   13512 
   13513 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wcast-qual" >&5
   13514 $as_echo_n "checking if $CC supports -Wcast-qual... " >&6; }
   13515 		cacheid=`$as_echo xorg_cv_cc_flag_-Wcast-qual`
   13516 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   13517   $as_echo_n "(cached) " >&6
   13518 else
   13519   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13520 /* end confdefs.h.  */
   13521 int i;
   13522 int
   13523 main ()
   13524 {
   13525 
   13526   ;
   13527   return 0;
   13528 }
   13529 _ACEOF
   13530 if ac_fn_c_try_link "$LINENO"; then :
   13531   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   13532 else
   13533   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   13534 fi
   13535 rm -f core conftest.err conftest.$ac_objext \
   13536     conftest$ac_exeext conftest.$ac_ext
   13537 fi
   13538 
   13539 
   13540 		CFLAGS="$xorg_testset_save_CFLAGS"
   13541 
   13542 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   13543 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13544 $as_echo "$supported" >&6; }
   13545 		if test "$supported" = "yes" ; then
   13546 			BASE_CFLAGS="$BASE_CFLAGS -Wcast-qual"
   13547 			found="yes"
   13548 		fi
   13549 	fi
   13550 
   13551 
   13552 
   13553 
   13554 
   13555 
   13556 
   13557 xorg_testset_save_CFLAGS="$CFLAGS"
   13558 
   13559 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   13560 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13561 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13562 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13563 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13564   $as_echo_n "(cached) " >&6
   13565 else
   13566   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13567 /* end confdefs.h.  */
   13568 int i;
   13569 _ACEOF
   13570 if ac_fn_c_try_compile "$LINENO"; then :
   13571   xorg_cv_cc_flag_unknown_warning_option=yes
   13572 else
   13573   xorg_cv_cc_flag_unknown_warning_option=no
   13574 fi
   13575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13576 fi
   13577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13578 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13579 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13580 	CFLAGS="$xorg_testset_save_CFLAGS"
   13581 fi
   13582 
   13583 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   13584 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13585 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13586 	fi
   13587 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13588 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13589 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13590 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13591   $as_echo_n "(cached) " >&6
   13592 else
   13593   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13594 /* end confdefs.h.  */
   13595 int i;
   13596 _ACEOF
   13597 if ac_fn_c_try_compile "$LINENO"; then :
   13598   xorg_cv_cc_flag_unused_command_line_argument=yes
   13599 else
   13600   xorg_cv_cc_flag_unused_command_line_argument=no
   13601 fi
   13602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13603 fi
   13604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13605 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13606 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13607 	CFLAGS="$xorg_testset_save_CFLAGS"
   13608 fi
   13609 
   13610 found="no"
   13611 
   13612 	if test $found = "no" ; then
   13613 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13614 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13615 		fi
   13616 
   13617 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13618 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13619 		fi
   13620 
   13621 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   13622 
   13623 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   13624 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   13625 		cacheid=`$as_echo xorg_cv_cc_flag_-Wmissing-noreturn`
   13626 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   13627   $as_echo_n "(cached) " >&6
   13628 else
   13629   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13630 /* end confdefs.h.  */
   13631 int i;
   13632 int
   13633 main ()
   13634 {
   13635 
   13636   ;
   13637   return 0;
   13638 }
   13639 _ACEOF
   13640 if ac_fn_c_try_link "$LINENO"; then :
   13641   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   13642 else
   13643   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   13644 fi
   13645 rm -f core conftest.err conftest.$ac_objext \
   13646     conftest$ac_exeext conftest.$ac_ext
   13647 fi
   13648 
   13649 
   13650 		CFLAGS="$xorg_testset_save_CFLAGS"
   13651 
   13652 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   13653 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13654 $as_echo "$supported" >&6; }
   13655 		if test "$supported" = "yes" ; then
   13656 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   13657 			found="yes"
   13658 		fi
   13659 	fi
   13660 
   13661 
   13662 
   13663 
   13664 
   13665 
   13666 
   13667 xorg_testset_save_CFLAGS="$CFLAGS"
   13668 
   13669 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   13670 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13671 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13672 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13673 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13674   $as_echo_n "(cached) " >&6
   13675 else
   13676   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13677 /* end confdefs.h.  */
   13678 int i;
   13679 _ACEOF
   13680 if ac_fn_c_try_compile "$LINENO"; then :
   13681   xorg_cv_cc_flag_unknown_warning_option=yes
   13682 else
   13683   xorg_cv_cc_flag_unknown_warning_option=no
   13684 fi
   13685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13686 fi
   13687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13688 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13689 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13690 	CFLAGS="$xorg_testset_save_CFLAGS"
   13691 fi
   13692 
   13693 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   13694 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13695 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13696 	fi
   13697 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13698 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13699 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13700 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13701   $as_echo_n "(cached) " >&6
   13702 else
   13703   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13704 /* end confdefs.h.  */
   13705 int i;
   13706 _ACEOF
   13707 if ac_fn_c_try_compile "$LINENO"; then :
   13708   xorg_cv_cc_flag_unused_command_line_argument=yes
   13709 else
   13710   xorg_cv_cc_flag_unused_command_line_argument=no
   13711 fi
   13712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13713 fi
   13714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13715 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13716 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13717 	CFLAGS="$xorg_testset_save_CFLAGS"
   13718 fi
   13719 
   13720 found="no"
   13721 
   13722 	if test $found = "no" ; then
   13723 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13724 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13725 		fi
   13726 
   13727 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13728 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13729 		fi
   13730 
   13731 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   13732 
   13733 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   13734 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   13735 		cacheid=`$as_echo xorg_cv_cc_flag_-Wmissing-format-attribute`
   13736 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   13737   $as_echo_n "(cached) " >&6
   13738 else
   13739   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13740 /* end confdefs.h.  */
   13741 int i;
   13742 int
   13743 main ()
   13744 {
   13745 
   13746   ;
   13747   return 0;
   13748 }
   13749 _ACEOF
   13750 if ac_fn_c_try_link "$LINENO"; then :
   13751   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   13752 else
   13753   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   13754 fi
   13755 rm -f core conftest.err conftest.$ac_objext \
   13756     conftest$ac_exeext conftest.$ac_ext
   13757 fi
   13758 
   13759 
   13760 		CFLAGS="$xorg_testset_save_CFLAGS"
   13761 
   13762 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   13763 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13764 $as_echo "$supported" >&6; }
   13765 		if test "$supported" = "yes" ; then
   13766 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   13767 			found="yes"
   13768 		fi
   13769 	fi
   13770 
   13771 
   13772 
   13773 
   13774 
   13775 
   13776 
   13777 xorg_testset_save_CFLAGS="$CFLAGS"
   13778 
   13779 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   13780 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13781 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13782 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13783 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13784   $as_echo_n "(cached) " >&6
   13785 else
   13786   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13787 /* end confdefs.h.  */
   13788 int i;
   13789 _ACEOF
   13790 if ac_fn_c_try_compile "$LINENO"; then :
   13791   xorg_cv_cc_flag_unknown_warning_option=yes
   13792 else
   13793   xorg_cv_cc_flag_unknown_warning_option=no
   13794 fi
   13795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13796 fi
   13797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13798 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13799 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13800 	CFLAGS="$xorg_testset_save_CFLAGS"
   13801 fi
   13802 
   13803 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   13804 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13805 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13806 	fi
   13807 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13808 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13809 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13810 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13811   $as_echo_n "(cached) " >&6
   13812 else
   13813   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13814 /* end confdefs.h.  */
   13815 int i;
   13816 _ACEOF
   13817 if ac_fn_c_try_compile "$LINENO"; then :
   13818   xorg_cv_cc_flag_unused_command_line_argument=yes
   13819 else
   13820   xorg_cv_cc_flag_unused_command_line_argument=no
   13821 fi
   13822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13823 fi
   13824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13825 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13826 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13827 	CFLAGS="$xorg_testset_save_CFLAGS"
   13828 fi
   13829 
   13830 found="no"
   13831 
   13832 	if test $found = "no" ; then
   13833 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13834 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13835 		fi
   13836 
   13837 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13838 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13839 		fi
   13840 
   13841 		CFLAGS="$CFLAGS -Wredundant-decls"
   13842 
   13843 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   13844 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   13845 		cacheid=`$as_echo xorg_cv_cc_flag_-Wredundant-decls`
   13846 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   13847   $as_echo_n "(cached) " >&6
   13848 else
   13849   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13850 /* end confdefs.h.  */
   13851 int i;
   13852 int
   13853 main ()
   13854 {
   13855 
   13856   ;
   13857   return 0;
   13858 }
   13859 _ACEOF
   13860 if ac_fn_c_try_link "$LINENO"; then :
   13861   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   13862 else
   13863   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   13864 fi
   13865 rm -f core conftest.err conftest.$ac_objext \
   13866     conftest$ac_exeext conftest.$ac_ext
   13867 fi
   13868 
   13869 
   13870 		CFLAGS="$xorg_testset_save_CFLAGS"
   13871 
   13872 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   13873 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13874 $as_echo "$supported" >&6; }
   13875 		if test "$supported" = "yes" ; then
   13876 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   13877 			found="yes"
   13878 		fi
   13879 	fi
   13880 
   13881 
   13882 
   13883 # These are currently disabled because they are noisy.  They will be enabled
   13884 # in the future once the codebase is sufficiently modernized to silence
   13885 # them.  For now, I don't want them to drown out the other warnings.
   13886 # XORG_TESTSET_CFLAG([BASE_CFLAGS], [-Wlogical-op])
   13887 # XORG_TESTSET_CFLAG([BASE_CFLAGS], [-Wparentheses])
   13888 # XORG_TESTSET_CFLAG([BASE_CFLAGS], [-Wcast-align])
   13889 
   13890 # Turn some warnings into errors, so we don't accidently get successful builds
   13891 # when there are problems that should be fixed.
   13892 
   13893 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   13894 
   13895 
   13896 
   13897 
   13898 
   13899 xorg_testset_save_CFLAGS="$CFLAGS"
   13900 
   13901 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   13902 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13903 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13904 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13905 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13906   $as_echo_n "(cached) " >&6
   13907 else
   13908   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13909 /* end confdefs.h.  */
   13910 int i;
   13911 _ACEOF
   13912 if ac_fn_c_try_compile "$LINENO"; then :
   13913   xorg_cv_cc_flag_unknown_warning_option=yes
   13914 else
   13915   xorg_cv_cc_flag_unknown_warning_option=no
   13916 fi
   13917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13918 fi
   13919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13920 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13921 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13922 	CFLAGS="$xorg_testset_save_CFLAGS"
   13923 fi
   13924 
   13925 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   13926 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13927 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13928 	fi
   13929 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13930 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13931 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13932 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13933   $as_echo_n "(cached) " >&6
   13934 else
   13935   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13936 /* end confdefs.h.  */
   13937 int i;
   13938 _ACEOF
   13939 if ac_fn_c_try_compile "$LINENO"; then :
   13940   xorg_cv_cc_flag_unused_command_line_argument=yes
   13941 else
   13942   xorg_cv_cc_flag_unused_command_line_argument=no
   13943 fi
   13944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13945 fi
   13946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13947 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13948 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13949 	CFLAGS="$xorg_testset_save_CFLAGS"
   13950 fi
   13951 
   13952 found="no"
   13953 
   13954 	if test $found = "no" ; then
   13955 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13956 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13957 		fi
   13958 
   13959 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13960 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13961 		fi
   13962 
   13963 		CFLAGS="$CFLAGS -Werror=implicit"
   13964 
   13965 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   13966 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   13967 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=implicit`
   13968 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   13969   $as_echo_n "(cached) " >&6
   13970 else
   13971   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13972 /* end confdefs.h.  */
   13973 int i;
   13974 int
   13975 main ()
   13976 {
   13977 
   13978   ;
   13979   return 0;
   13980 }
   13981 _ACEOF
   13982 if ac_fn_c_try_link "$LINENO"; then :
   13983   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   13984 else
   13985   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   13986 fi
   13987 rm -f core conftest.err conftest.$ac_objext \
   13988     conftest$ac_exeext conftest.$ac_ext
   13989 fi
   13990 
   13991 
   13992 		CFLAGS="$xorg_testset_save_CFLAGS"
   13993 
   13994 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   13995 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13996 $as_echo "$supported" >&6; }
   13997 		if test "$supported" = "yes" ; then
   13998 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   13999 			found="yes"
   14000 		fi
   14001 	fi
   14002 
   14003 	if test $found = "no" ; then
   14004 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14005 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14006 		fi
   14007 
   14008 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14009 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14010 		fi
   14011 
   14012 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   14013 
   14014 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   14015 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   14016 		cacheid=`$as_echo xorg_cv_cc_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED`
   14017 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   14018   $as_echo_n "(cached) " >&6
   14019 else
   14020   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14021 /* end confdefs.h.  */
   14022 int i;
   14023 int
   14024 main ()
   14025 {
   14026 
   14027   ;
   14028   return 0;
   14029 }
   14030 _ACEOF
   14031 if ac_fn_c_try_link "$LINENO"; then :
   14032   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   14033 else
   14034   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   14035 fi
   14036 rm -f core conftest.err conftest.$ac_objext \
   14037     conftest$ac_exeext conftest.$ac_ext
   14038 fi
   14039 
   14040 
   14041 		CFLAGS="$xorg_testset_save_CFLAGS"
   14042 
   14043 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   14044 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14045 $as_echo "$supported" >&6; }
   14046 		if test "$supported" = "yes" ; then
   14047 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   14048 			found="yes"
   14049 		fi
   14050 	fi
   14051 
   14052 
   14053 
   14054 
   14055 
   14056 
   14057 
   14058 xorg_testset_save_CFLAGS="$CFLAGS"
   14059 
   14060 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   14061 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14062 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14063 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14064 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14065   $as_echo_n "(cached) " >&6
   14066 else
   14067   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14068 /* end confdefs.h.  */
   14069 int i;
   14070 _ACEOF
   14071 if ac_fn_c_try_compile "$LINENO"; then :
   14072   xorg_cv_cc_flag_unknown_warning_option=yes
   14073 else
   14074   xorg_cv_cc_flag_unknown_warning_option=no
   14075 fi
   14076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14077 fi
   14078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14079 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14080 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14081 	CFLAGS="$xorg_testset_save_CFLAGS"
   14082 fi
   14083 
   14084 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   14085 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14086 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14087 	fi
   14088 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14089 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14090 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14091 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14092   $as_echo_n "(cached) " >&6
   14093 else
   14094   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14095 /* end confdefs.h.  */
   14096 int i;
   14097 _ACEOF
   14098 if ac_fn_c_try_compile "$LINENO"; then :
   14099   xorg_cv_cc_flag_unused_command_line_argument=yes
   14100 else
   14101   xorg_cv_cc_flag_unused_command_line_argument=no
   14102 fi
   14103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14104 fi
   14105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14106 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14107 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14108 	CFLAGS="$xorg_testset_save_CFLAGS"
   14109 fi
   14110 
   14111 found="no"
   14112 
   14113 	if test $found = "no" ; then
   14114 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14115 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14116 		fi
   14117 
   14118 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14119 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14120 		fi
   14121 
   14122 		CFLAGS="$CFLAGS -Werror=nonnull"
   14123 
   14124 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   14125 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   14126 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=nonnull`
   14127 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   14128   $as_echo_n "(cached) " >&6
   14129 else
   14130   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14131 /* end confdefs.h.  */
   14132 int i;
   14133 int
   14134 main ()
   14135 {
   14136 
   14137   ;
   14138   return 0;
   14139 }
   14140 _ACEOF
   14141 if ac_fn_c_try_link "$LINENO"; then :
   14142   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   14143 else
   14144   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   14145 fi
   14146 rm -f core conftest.err conftest.$ac_objext \
   14147     conftest$ac_exeext conftest.$ac_ext
   14148 fi
   14149 
   14150 
   14151 		CFLAGS="$xorg_testset_save_CFLAGS"
   14152 
   14153 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   14154 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14155 $as_echo "$supported" >&6; }
   14156 		if test "$supported" = "yes" ; then
   14157 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   14158 			found="yes"
   14159 		fi
   14160 	fi
   14161 
   14162 
   14163 
   14164 
   14165 
   14166 
   14167 
   14168 xorg_testset_save_CFLAGS="$CFLAGS"
   14169 
   14170 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   14171 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14172 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14173 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14174 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14175   $as_echo_n "(cached) " >&6
   14176 else
   14177   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14178 /* end confdefs.h.  */
   14179 int i;
   14180 _ACEOF
   14181 if ac_fn_c_try_compile "$LINENO"; then :
   14182   xorg_cv_cc_flag_unknown_warning_option=yes
   14183 else
   14184   xorg_cv_cc_flag_unknown_warning_option=no
   14185 fi
   14186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14187 fi
   14188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14189 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14190 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14191 	CFLAGS="$xorg_testset_save_CFLAGS"
   14192 fi
   14193 
   14194 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   14195 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14196 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14197 	fi
   14198 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14199 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14200 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14201 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14202   $as_echo_n "(cached) " >&6
   14203 else
   14204   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14205 /* end confdefs.h.  */
   14206 int i;
   14207 _ACEOF
   14208 if ac_fn_c_try_compile "$LINENO"; then :
   14209   xorg_cv_cc_flag_unused_command_line_argument=yes
   14210 else
   14211   xorg_cv_cc_flag_unused_command_line_argument=no
   14212 fi
   14213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14214 fi
   14215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14216 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14217 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14218 	CFLAGS="$xorg_testset_save_CFLAGS"
   14219 fi
   14220 
   14221 found="no"
   14222 
   14223 	if test $found = "no" ; then
   14224 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14225 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14226 		fi
   14227 
   14228 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14229 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14230 		fi
   14231 
   14232 		CFLAGS="$CFLAGS -Werror=init-self"
   14233 
   14234 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   14235 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   14236 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=init-self`
   14237 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   14238   $as_echo_n "(cached) " >&6
   14239 else
   14240   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14241 /* end confdefs.h.  */
   14242 int i;
   14243 int
   14244 main ()
   14245 {
   14246 
   14247   ;
   14248   return 0;
   14249 }
   14250 _ACEOF
   14251 if ac_fn_c_try_link "$LINENO"; then :
   14252   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   14253 else
   14254   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   14255 fi
   14256 rm -f core conftest.err conftest.$ac_objext \
   14257     conftest$ac_exeext conftest.$ac_ext
   14258 fi
   14259 
   14260 
   14261 		CFLAGS="$xorg_testset_save_CFLAGS"
   14262 
   14263 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   14264 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14265 $as_echo "$supported" >&6; }
   14266 		if test "$supported" = "yes" ; then
   14267 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   14268 			found="yes"
   14269 		fi
   14270 	fi
   14271 
   14272 
   14273 
   14274 
   14275 
   14276 
   14277 
   14278 xorg_testset_save_CFLAGS="$CFLAGS"
   14279 
   14280 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   14281 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14282 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14283 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14284 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14285   $as_echo_n "(cached) " >&6
   14286 else
   14287   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14288 /* end confdefs.h.  */
   14289 int i;
   14290 _ACEOF
   14291 if ac_fn_c_try_compile "$LINENO"; then :
   14292   xorg_cv_cc_flag_unknown_warning_option=yes
   14293 else
   14294   xorg_cv_cc_flag_unknown_warning_option=no
   14295 fi
   14296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14297 fi
   14298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14299 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14300 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14301 	CFLAGS="$xorg_testset_save_CFLAGS"
   14302 fi
   14303 
   14304 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   14305 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14306 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14307 	fi
   14308 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14309 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14310 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14311 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14312   $as_echo_n "(cached) " >&6
   14313 else
   14314   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14315 /* end confdefs.h.  */
   14316 int i;
   14317 _ACEOF
   14318 if ac_fn_c_try_compile "$LINENO"; then :
   14319   xorg_cv_cc_flag_unused_command_line_argument=yes
   14320 else
   14321   xorg_cv_cc_flag_unused_command_line_argument=no
   14322 fi
   14323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14324 fi
   14325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14326 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14327 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14328 	CFLAGS="$xorg_testset_save_CFLAGS"
   14329 fi
   14330 
   14331 found="no"
   14332 
   14333 	if test $found = "no" ; then
   14334 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14335 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14336 		fi
   14337 
   14338 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14339 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14340 		fi
   14341 
   14342 		CFLAGS="$CFLAGS -Werror=main"
   14343 
   14344 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   14345 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   14346 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=main`
   14347 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   14348   $as_echo_n "(cached) " >&6
   14349 else
   14350   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14351 /* end confdefs.h.  */
   14352 int i;
   14353 int
   14354 main ()
   14355 {
   14356 
   14357   ;
   14358   return 0;
   14359 }
   14360 _ACEOF
   14361 if ac_fn_c_try_link "$LINENO"; then :
   14362   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   14363 else
   14364   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   14365 fi
   14366 rm -f core conftest.err conftest.$ac_objext \
   14367     conftest$ac_exeext conftest.$ac_ext
   14368 fi
   14369 
   14370 
   14371 		CFLAGS="$xorg_testset_save_CFLAGS"
   14372 
   14373 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   14374 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14375 $as_echo "$supported" >&6; }
   14376 		if test "$supported" = "yes" ; then
   14377 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   14378 			found="yes"
   14379 		fi
   14380 	fi
   14381 
   14382 
   14383 
   14384 
   14385 
   14386 
   14387 
   14388 xorg_testset_save_CFLAGS="$CFLAGS"
   14389 
   14390 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   14391 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14392 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14393 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14394 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14395   $as_echo_n "(cached) " >&6
   14396 else
   14397   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14398 /* end confdefs.h.  */
   14399 int i;
   14400 _ACEOF
   14401 if ac_fn_c_try_compile "$LINENO"; then :
   14402   xorg_cv_cc_flag_unknown_warning_option=yes
   14403 else
   14404   xorg_cv_cc_flag_unknown_warning_option=no
   14405 fi
   14406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14407 fi
   14408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14409 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14410 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14411 	CFLAGS="$xorg_testset_save_CFLAGS"
   14412 fi
   14413 
   14414 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   14415 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14416 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14417 	fi
   14418 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14419 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14420 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14421 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14422   $as_echo_n "(cached) " >&6
   14423 else
   14424   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14425 /* end confdefs.h.  */
   14426 int i;
   14427 _ACEOF
   14428 if ac_fn_c_try_compile "$LINENO"; then :
   14429   xorg_cv_cc_flag_unused_command_line_argument=yes
   14430 else
   14431   xorg_cv_cc_flag_unused_command_line_argument=no
   14432 fi
   14433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14434 fi
   14435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14436 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14437 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14438 	CFLAGS="$xorg_testset_save_CFLAGS"
   14439 fi
   14440 
   14441 found="no"
   14442 
   14443 	if test $found = "no" ; then
   14444 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14445 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14446 		fi
   14447 
   14448 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14449 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14450 		fi
   14451 
   14452 		CFLAGS="$CFLAGS -Werror=missing-braces"
   14453 
   14454 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   14455 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   14456 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=missing-braces`
   14457 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   14458   $as_echo_n "(cached) " >&6
   14459 else
   14460   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14461 /* end confdefs.h.  */
   14462 int i;
   14463 int
   14464 main ()
   14465 {
   14466 
   14467   ;
   14468   return 0;
   14469 }
   14470 _ACEOF
   14471 if ac_fn_c_try_link "$LINENO"; then :
   14472   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   14473 else
   14474   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   14475 fi
   14476 rm -f core conftest.err conftest.$ac_objext \
   14477     conftest$ac_exeext conftest.$ac_ext
   14478 fi
   14479 
   14480 
   14481 		CFLAGS="$xorg_testset_save_CFLAGS"
   14482 
   14483 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   14484 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14485 $as_echo "$supported" >&6; }
   14486 		if test "$supported" = "yes" ; then
   14487 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   14488 			found="yes"
   14489 		fi
   14490 	fi
   14491 
   14492 
   14493 
   14494 
   14495 
   14496 
   14497 
   14498 xorg_testset_save_CFLAGS="$CFLAGS"
   14499 
   14500 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   14501 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14502 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14503 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14504 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14505   $as_echo_n "(cached) " >&6
   14506 else
   14507   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14508 /* end confdefs.h.  */
   14509 int i;
   14510 _ACEOF
   14511 if ac_fn_c_try_compile "$LINENO"; then :
   14512   xorg_cv_cc_flag_unknown_warning_option=yes
   14513 else
   14514   xorg_cv_cc_flag_unknown_warning_option=no
   14515 fi
   14516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14517 fi
   14518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14519 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14520 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14521 	CFLAGS="$xorg_testset_save_CFLAGS"
   14522 fi
   14523 
   14524 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   14525 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14526 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14527 	fi
   14528 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14529 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14530 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14531 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14532   $as_echo_n "(cached) " >&6
   14533 else
   14534   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14535 /* end confdefs.h.  */
   14536 int i;
   14537 _ACEOF
   14538 if ac_fn_c_try_compile "$LINENO"; then :
   14539   xorg_cv_cc_flag_unused_command_line_argument=yes
   14540 else
   14541   xorg_cv_cc_flag_unused_command_line_argument=no
   14542 fi
   14543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14544 fi
   14545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14546 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14547 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14548 	CFLAGS="$xorg_testset_save_CFLAGS"
   14549 fi
   14550 
   14551 found="no"
   14552 
   14553 	if test $found = "no" ; then
   14554 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14555 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14556 		fi
   14557 
   14558 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14559 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14560 		fi
   14561 
   14562 		CFLAGS="$CFLAGS -Werror=sequence-point"
   14563 
   14564 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   14565 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   14566 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=sequence-point`
   14567 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   14568   $as_echo_n "(cached) " >&6
   14569 else
   14570   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14571 /* end confdefs.h.  */
   14572 int i;
   14573 int
   14574 main ()
   14575 {
   14576 
   14577   ;
   14578   return 0;
   14579 }
   14580 _ACEOF
   14581 if ac_fn_c_try_link "$LINENO"; then :
   14582   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   14583 else
   14584   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   14585 fi
   14586 rm -f core conftest.err conftest.$ac_objext \
   14587     conftest$ac_exeext conftest.$ac_ext
   14588 fi
   14589 
   14590 
   14591 		CFLAGS="$xorg_testset_save_CFLAGS"
   14592 
   14593 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   14594 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14595 $as_echo "$supported" >&6; }
   14596 		if test "$supported" = "yes" ; then
   14597 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   14598 			found="yes"
   14599 		fi
   14600 	fi
   14601 
   14602 
   14603 
   14604 
   14605 
   14606 
   14607 
   14608 xorg_testset_save_CFLAGS="$CFLAGS"
   14609 
   14610 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   14611 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14612 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14613 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14614 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14615   $as_echo_n "(cached) " >&6
   14616 else
   14617   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14618 /* end confdefs.h.  */
   14619 int i;
   14620 _ACEOF
   14621 if ac_fn_c_try_compile "$LINENO"; then :
   14622   xorg_cv_cc_flag_unknown_warning_option=yes
   14623 else
   14624   xorg_cv_cc_flag_unknown_warning_option=no
   14625 fi
   14626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14627 fi
   14628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14629 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14630 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14631 	CFLAGS="$xorg_testset_save_CFLAGS"
   14632 fi
   14633 
   14634 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   14635 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14636 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14637 	fi
   14638 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14639 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14640 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14641 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14642   $as_echo_n "(cached) " >&6
   14643 else
   14644   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14645 /* end confdefs.h.  */
   14646 int i;
   14647 _ACEOF
   14648 if ac_fn_c_try_compile "$LINENO"; then :
   14649   xorg_cv_cc_flag_unused_command_line_argument=yes
   14650 else
   14651   xorg_cv_cc_flag_unused_command_line_argument=no
   14652 fi
   14653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14654 fi
   14655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14656 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14657 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14658 	CFLAGS="$xorg_testset_save_CFLAGS"
   14659 fi
   14660 
   14661 found="no"
   14662 
   14663 	if test $found = "no" ; then
   14664 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14665 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14666 		fi
   14667 
   14668 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14669 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14670 		fi
   14671 
   14672 		CFLAGS="$CFLAGS -Werror=return-type"
   14673 
   14674 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   14675 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   14676 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=return-type`
   14677 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   14678   $as_echo_n "(cached) " >&6
   14679 else
   14680   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14681 /* end confdefs.h.  */
   14682 int i;
   14683 int
   14684 main ()
   14685 {
   14686 
   14687   ;
   14688   return 0;
   14689 }
   14690 _ACEOF
   14691 if ac_fn_c_try_link "$LINENO"; then :
   14692   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   14693 else
   14694   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   14695 fi
   14696 rm -f core conftest.err conftest.$ac_objext \
   14697     conftest$ac_exeext conftest.$ac_ext
   14698 fi
   14699 
   14700 
   14701 		CFLAGS="$xorg_testset_save_CFLAGS"
   14702 
   14703 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   14704 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14705 $as_echo "$supported" >&6; }
   14706 		if test "$supported" = "yes" ; then
   14707 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   14708 			found="yes"
   14709 		fi
   14710 	fi
   14711 
   14712 	if test $found = "no" ; then
   14713 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14714 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14715 		fi
   14716 
   14717 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14718 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14719 		fi
   14720 
   14721 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   14722 
   14723 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   14724 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   14725 		cacheid=`$as_echo xorg_cv_cc_flag_-errwarn=E_FUNC_HAS_NO_RETURN_STMT`
   14726 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   14727   $as_echo_n "(cached) " >&6
   14728 else
   14729   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14730 /* end confdefs.h.  */
   14731 int i;
   14732 int
   14733 main ()
   14734 {
   14735 
   14736   ;
   14737   return 0;
   14738 }
   14739 _ACEOF
   14740 if ac_fn_c_try_link "$LINENO"; then :
   14741   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   14742 else
   14743   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   14744 fi
   14745 rm -f core conftest.err conftest.$ac_objext \
   14746     conftest$ac_exeext conftest.$ac_ext
   14747 fi
   14748 
   14749 
   14750 		CFLAGS="$xorg_testset_save_CFLAGS"
   14751 
   14752 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   14753 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14754 $as_echo "$supported" >&6; }
   14755 		if test "$supported" = "yes" ; then
   14756 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   14757 			found="yes"
   14758 		fi
   14759 	fi
   14760 
   14761 
   14762 
   14763 
   14764 
   14765 
   14766 
   14767 xorg_testset_save_CFLAGS="$CFLAGS"
   14768 
   14769 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   14770 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14771 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14772 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14773 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14774   $as_echo_n "(cached) " >&6
   14775 else
   14776   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14777 /* end confdefs.h.  */
   14778 int i;
   14779 _ACEOF
   14780 if ac_fn_c_try_compile "$LINENO"; then :
   14781   xorg_cv_cc_flag_unknown_warning_option=yes
   14782 else
   14783   xorg_cv_cc_flag_unknown_warning_option=no
   14784 fi
   14785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14786 fi
   14787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14788 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14789 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14790 	CFLAGS="$xorg_testset_save_CFLAGS"
   14791 fi
   14792 
   14793 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   14794 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14795 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14796 	fi
   14797 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14798 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14799 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14800 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14801   $as_echo_n "(cached) " >&6
   14802 else
   14803   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14804 /* end confdefs.h.  */
   14805 int i;
   14806 _ACEOF
   14807 if ac_fn_c_try_compile "$LINENO"; then :
   14808   xorg_cv_cc_flag_unused_command_line_argument=yes
   14809 else
   14810   xorg_cv_cc_flag_unused_command_line_argument=no
   14811 fi
   14812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14813 fi
   14814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14815 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14816 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14817 	CFLAGS="$xorg_testset_save_CFLAGS"
   14818 fi
   14819 
   14820 found="no"
   14821 
   14822 	if test $found = "no" ; then
   14823 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14824 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14825 		fi
   14826 
   14827 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14828 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14829 		fi
   14830 
   14831 		CFLAGS="$CFLAGS -Werror=trigraphs"
   14832 
   14833 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   14834 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   14835 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=trigraphs`
   14836 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   14837   $as_echo_n "(cached) " >&6
   14838 else
   14839   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14840 /* end confdefs.h.  */
   14841 int i;
   14842 int
   14843 main ()
   14844 {
   14845 
   14846   ;
   14847   return 0;
   14848 }
   14849 _ACEOF
   14850 if ac_fn_c_try_link "$LINENO"; then :
   14851   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   14852 else
   14853   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   14854 fi
   14855 rm -f core conftest.err conftest.$ac_objext \
   14856     conftest$ac_exeext conftest.$ac_ext
   14857 fi
   14858 
   14859 
   14860 		CFLAGS="$xorg_testset_save_CFLAGS"
   14861 
   14862 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   14863 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14864 $as_echo "$supported" >&6; }
   14865 		if test "$supported" = "yes" ; then
   14866 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   14867 			found="yes"
   14868 		fi
   14869 	fi
   14870 
   14871 
   14872 
   14873 
   14874 
   14875 
   14876 
   14877 xorg_testset_save_CFLAGS="$CFLAGS"
   14878 
   14879 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   14880 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14881 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14882 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14883 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14884   $as_echo_n "(cached) " >&6
   14885 else
   14886   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14887 /* end confdefs.h.  */
   14888 int i;
   14889 _ACEOF
   14890 if ac_fn_c_try_compile "$LINENO"; then :
   14891   xorg_cv_cc_flag_unknown_warning_option=yes
   14892 else
   14893   xorg_cv_cc_flag_unknown_warning_option=no
   14894 fi
   14895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14896 fi
   14897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14898 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14899 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14900 	CFLAGS="$xorg_testset_save_CFLAGS"
   14901 fi
   14902 
   14903 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   14904 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14905 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14906 	fi
   14907 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14908 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14909 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14910 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14911   $as_echo_n "(cached) " >&6
   14912 else
   14913   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14914 /* end confdefs.h.  */
   14915 int i;
   14916 _ACEOF
   14917 if ac_fn_c_try_compile "$LINENO"; then :
   14918   xorg_cv_cc_flag_unused_command_line_argument=yes
   14919 else
   14920   xorg_cv_cc_flag_unused_command_line_argument=no
   14921 fi
   14922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14923 fi
   14924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14925 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14926 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14927 	CFLAGS="$xorg_testset_save_CFLAGS"
   14928 fi
   14929 
   14930 found="no"
   14931 
   14932 	if test $found = "no" ; then
   14933 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14934 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14935 		fi
   14936 
   14937 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14938 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14939 		fi
   14940 
   14941 		CFLAGS="$CFLAGS -Werror=array-bounds"
   14942 
   14943 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   14944 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   14945 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=array-bounds`
   14946 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   14947   $as_echo_n "(cached) " >&6
   14948 else
   14949   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14950 /* end confdefs.h.  */
   14951 int i;
   14952 int
   14953 main ()
   14954 {
   14955 
   14956   ;
   14957   return 0;
   14958 }
   14959 _ACEOF
   14960 if ac_fn_c_try_link "$LINENO"; then :
   14961   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   14962 else
   14963   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   14964 fi
   14965 rm -f core conftest.err conftest.$ac_objext \
   14966     conftest$ac_exeext conftest.$ac_ext
   14967 fi
   14968 
   14969 
   14970 		CFLAGS="$xorg_testset_save_CFLAGS"
   14971 
   14972 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   14973 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14974 $as_echo "$supported" >&6; }
   14975 		if test "$supported" = "yes" ; then
   14976 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   14977 			found="yes"
   14978 		fi
   14979 	fi
   14980 
   14981 
   14982 
   14983 
   14984 
   14985 
   14986 
   14987 xorg_testset_save_CFLAGS="$CFLAGS"
   14988 
   14989 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   14990 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14991 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14992 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14993 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14994   $as_echo_n "(cached) " >&6
   14995 else
   14996   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14997 /* end confdefs.h.  */
   14998 int i;
   14999 _ACEOF
   15000 if ac_fn_c_try_compile "$LINENO"; then :
   15001   xorg_cv_cc_flag_unknown_warning_option=yes
   15002 else
   15003   xorg_cv_cc_flag_unknown_warning_option=no
   15004 fi
   15005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15006 fi
   15007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15008 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15009 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15010 	CFLAGS="$xorg_testset_save_CFLAGS"
   15011 fi
   15012 
   15013 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   15014 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15015 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15016 	fi
   15017 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15018 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15019 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15020 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15021   $as_echo_n "(cached) " >&6
   15022 else
   15023   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15024 /* end confdefs.h.  */
   15025 int i;
   15026 _ACEOF
   15027 if ac_fn_c_try_compile "$LINENO"; then :
   15028   xorg_cv_cc_flag_unused_command_line_argument=yes
   15029 else
   15030   xorg_cv_cc_flag_unused_command_line_argument=no
   15031 fi
   15032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15033 fi
   15034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15035 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15036 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15037 	CFLAGS="$xorg_testset_save_CFLAGS"
   15038 fi
   15039 
   15040 found="no"
   15041 
   15042 	if test $found = "no" ; then
   15043 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15044 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15045 		fi
   15046 
   15047 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15048 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15049 		fi
   15050 
   15051 		CFLAGS="$CFLAGS -Werror=write-strings"
   15052 
   15053 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   15054 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   15055 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=write-strings`
   15056 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   15057   $as_echo_n "(cached) " >&6
   15058 else
   15059   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15060 /* end confdefs.h.  */
   15061 int i;
   15062 int
   15063 main ()
   15064 {
   15065 
   15066   ;
   15067   return 0;
   15068 }
   15069 _ACEOF
   15070 if ac_fn_c_try_link "$LINENO"; then :
   15071   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   15072 else
   15073   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   15074 fi
   15075 rm -f core conftest.err conftest.$ac_objext \
   15076     conftest$ac_exeext conftest.$ac_ext
   15077 fi
   15078 
   15079 
   15080 		CFLAGS="$xorg_testset_save_CFLAGS"
   15081 
   15082 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   15083 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15084 $as_echo "$supported" >&6; }
   15085 		if test "$supported" = "yes" ; then
   15086 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   15087 			found="yes"
   15088 		fi
   15089 	fi
   15090 
   15091 
   15092 
   15093 
   15094 
   15095 
   15096 
   15097 xorg_testset_save_CFLAGS="$CFLAGS"
   15098 
   15099 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   15100 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15101 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15102 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15103 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15104   $as_echo_n "(cached) " >&6
   15105 else
   15106   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15107 /* end confdefs.h.  */
   15108 int i;
   15109 _ACEOF
   15110 if ac_fn_c_try_compile "$LINENO"; then :
   15111   xorg_cv_cc_flag_unknown_warning_option=yes
   15112 else
   15113   xorg_cv_cc_flag_unknown_warning_option=no
   15114 fi
   15115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15116 fi
   15117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15118 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15119 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15120 	CFLAGS="$xorg_testset_save_CFLAGS"
   15121 fi
   15122 
   15123 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   15124 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15125 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15126 	fi
   15127 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15128 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15129 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15130 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15131   $as_echo_n "(cached) " >&6
   15132 else
   15133   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15134 /* end confdefs.h.  */
   15135 int i;
   15136 _ACEOF
   15137 if ac_fn_c_try_compile "$LINENO"; then :
   15138   xorg_cv_cc_flag_unused_command_line_argument=yes
   15139 else
   15140   xorg_cv_cc_flag_unused_command_line_argument=no
   15141 fi
   15142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15143 fi
   15144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15145 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15146 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15147 	CFLAGS="$xorg_testset_save_CFLAGS"
   15148 fi
   15149 
   15150 found="no"
   15151 
   15152 	if test $found = "no" ; then
   15153 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15154 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15155 		fi
   15156 
   15157 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15158 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15159 		fi
   15160 
   15161 		CFLAGS="$CFLAGS -Werror=address"
   15162 
   15163 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   15164 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   15165 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=address`
   15166 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   15167   $as_echo_n "(cached) " >&6
   15168 else
   15169   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15170 /* end confdefs.h.  */
   15171 int i;
   15172 int
   15173 main ()
   15174 {
   15175 
   15176   ;
   15177   return 0;
   15178 }
   15179 _ACEOF
   15180 if ac_fn_c_try_link "$LINENO"; then :
   15181   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   15182 else
   15183   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   15184 fi
   15185 rm -f core conftest.err conftest.$ac_objext \
   15186     conftest$ac_exeext conftest.$ac_ext
   15187 fi
   15188 
   15189 
   15190 		CFLAGS="$xorg_testset_save_CFLAGS"
   15191 
   15192 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   15193 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15194 $as_echo "$supported" >&6; }
   15195 		if test "$supported" = "yes" ; then
   15196 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   15197 			found="yes"
   15198 		fi
   15199 	fi
   15200 
   15201 
   15202 
   15203 
   15204 
   15205 
   15206 
   15207 xorg_testset_save_CFLAGS="$CFLAGS"
   15208 
   15209 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   15210 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15211 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15212 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15213 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15214   $as_echo_n "(cached) " >&6
   15215 else
   15216   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15217 /* end confdefs.h.  */
   15218 int i;
   15219 _ACEOF
   15220 if ac_fn_c_try_compile "$LINENO"; then :
   15221   xorg_cv_cc_flag_unknown_warning_option=yes
   15222 else
   15223   xorg_cv_cc_flag_unknown_warning_option=no
   15224 fi
   15225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15226 fi
   15227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15228 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15229 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15230 	CFLAGS="$xorg_testset_save_CFLAGS"
   15231 fi
   15232 
   15233 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   15234 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15235 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15236 	fi
   15237 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15238 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15239 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15240 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15241   $as_echo_n "(cached) " >&6
   15242 else
   15243   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15244 /* end confdefs.h.  */
   15245 int i;
   15246 _ACEOF
   15247 if ac_fn_c_try_compile "$LINENO"; then :
   15248   xorg_cv_cc_flag_unused_command_line_argument=yes
   15249 else
   15250   xorg_cv_cc_flag_unused_command_line_argument=no
   15251 fi
   15252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15253 fi
   15254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15255 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15256 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15257 	CFLAGS="$xorg_testset_save_CFLAGS"
   15258 fi
   15259 
   15260 found="no"
   15261 
   15262 	if test $found = "no" ; then
   15263 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15264 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15265 		fi
   15266 
   15267 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15268 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15269 		fi
   15270 
   15271 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   15272 
   15273 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   15274 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   15275 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=int-to-pointer-cast`
   15276 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   15277   $as_echo_n "(cached) " >&6
   15278 else
   15279   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15280 /* end confdefs.h.  */
   15281 int i;
   15282 int
   15283 main ()
   15284 {
   15285 
   15286   ;
   15287   return 0;
   15288 }
   15289 _ACEOF
   15290 if ac_fn_c_try_link "$LINENO"; then :
   15291   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   15292 else
   15293   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   15294 fi
   15295 rm -f core conftest.err conftest.$ac_objext \
   15296     conftest$ac_exeext conftest.$ac_ext
   15297 fi
   15298 
   15299 
   15300 		CFLAGS="$xorg_testset_save_CFLAGS"
   15301 
   15302 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   15303 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15304 $as_echo "$supported" >&6; }
   15305 		if test "$supported" = "yes" ; then
   15306 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   15307 			found="yes"
   15308 		fi
   15309 	fi
   15310 
   15311 	if test $found = "no" ; then
   15312 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15313 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15314 		fi
   15315 
   15316 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15317 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15318 		fi
   15319 
   15320 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15321 
   15322 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   15323 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   15324 		cacheid=`$as_echo xorg_cv_cc_flag_-errwarn=E_BAD_PTR_INT_COMBINATION`
   15325 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   15326   $as_echo_n "(cached) " >&6
   15327 else
   15328   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15329 /* end confdefs.h.  */
   15330 int i;
   15331 int
   15332 main ()
   15333 {
   15334 
   15335   ;
   15336   return 0;
   15337 }
   15338 _ACEOF
   15339 if ac_fn_c_try_link "$LINENO"; then :
   15340   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   15341 else
   15342   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   15343 fi
   15344 rm -f core conftest.err conftest.$ac_objext \
   15345     conftest$ac_exeext conftest.$ac_ext
   15346 fi
   15347 
   15348 
   15349 		CFLAGS="$xorg_testset_save_CFLAGS"
   15350 
   15351 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   15352 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15353 $as_echo "$supported" >&6; }
   15354 		if test "$supported" = "yes" ; then
   15355 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15356 			found="yes"
   15357 		fi
   15358 	fi
   15359 
   15360 
   15361 
   15362 
   15363 
   15364 
   15365 
   15366 xorg_testset_save_CFLAGS="$CFLAGS"
   15367 
   15368 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   15369 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15370 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15371 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15372 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15373   $as_echo_n "(cached) " >&6
   15374 else
   15375   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15376 /* end confdefs.h.  */
   15377 int i;
   15378 _ACEOF
   15379 if ac_fn_c_try_compile "$LINENO"; then :
   15380   xorg_cv_cc_flag_unknown_warning_option=yes
   15381 else
   15382   xorg_cv_cc_flag_unknown_warning_option=no
   15383 fi
   15384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15385 fi
   15386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15387 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15388 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15389 	CFLAGS="$xorg_testset_save_CFLAGS"
   15390 fi
   15391 
   15392 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   15393 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15394 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15395 	fi
   15396 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15397 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15398 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15399 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15400   $as_echo_n "(cached) " >&6
   15401 else
   15402   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15403 /* end confdefs.h.  */
   15404 int i;
   15405 _ACEOF
   15406 if ac_fn_c_try_compile "$LINENO"; then :
   15407   xorg_cv_cc_flag_unused_command_line_argument=yes
   15408 else
   15409   xorg_cv_cc_flag_unused_command_line_argument=no
   15410 fi
   15411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15412 fi
   15413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15414 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15415 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15416 	CFLAGS="$xorg_testset_save_CFLAGS"
   15417 fi
   15418 
   15419 found="no"
   15420 
   15421 	if test $found = "no" ; then
   15422 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15423 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15424 		fi
   15425 
   15426 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15427 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15428 		fi
   15429 
   15430 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   15431 
   15432 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   15433 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   15434 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=pointer-to-int-cast`
   15435 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   15436   $as_echo_n "(cached) " >&6
   15437 else
   15438   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15439 /* end confdefs.h.  */
   15440 int i;
   15441 int
   15442 main ()
   15443 {
   15444 
   15445   ;
   15446   return 0;
   15447 }
   15448 _ACEOF
   15449 if ac_fn_c_try_link "$LINENO"; then :
   15450   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   15451 else
   15452   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   15453 fi
   15454 rm -f core conftest.err conftest.$ac_objext \
   15455     conftest$ac_exeext conftest.$ac_ext
   15456 fi
   15457 
   15458 
   15459 		CFLAGS="$xorg_testset_save_CFLAGS"
   15460 
   15461 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   15462 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15463 $as_echo "$supported" >&6; }
   15464 		if test "$supported" = "yes" ; then
   15465 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   15466 			found="yes"
   15467 		fi
   15468 	fi
   15469 
   15470  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   15471 else
   15472 { $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
   15473 $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;}
   15474 
   15475 
   15476 
   15477 
   15478 
   15479 xorg_testset_save_CFLAGS="$CFLAGS"
   15480 
   15481 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   15482 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15483 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15484 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15485 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15486   $as_echo_n "(cached) " >&6
   15487 else
   15488   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15489 /* end confdefs.h.  */
   15490 int i;
   15491 _ACEOF
   15492 if ac_fn_c_try_compile "$LINENO"; then :
   15493   xorg_cv_cc_flag_unknown_warning_option=yes
   15494 else
   15495   xorg_cv_cc_flag_unknown_warning_option=no
   15496 fi
   15497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15498 fi
   15499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15500 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15501 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15502 	CFLAGS="$xorg_testset_save_CFLAGS"
   15503 fi
   15504 
   15505 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   15506 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15507 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15508 	fi
   15509 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15510 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15511 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15512 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15513   $as_echo_n "(cached) " >&6
   15514 else
   15515   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15516 /* end confdefs.h.  */
   15517 int i;
   15518 _ACEOF
   15519 if ac_fn_c_try_compile "$LINENO"; then :
   15520   xorg_cv_cc_flag_unused_command_line_argument=yes
   15521 else
   15522   xorg_cv_cc_flag_unused_command_line_argument=no
   15523 fi
   15524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15525 fi
   15526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15527 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15528 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15529 	CFLAGS="$xorg_testset_save_CFLAGS"
   15530 fi
   15531 
   15532 found="no"
   15533 
   15534 	if test $found = "no" ; then
   15535 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15536 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15537 		fi
   15538 
   15539 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15540 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15541 		fi
   15542 
   15543 		CFLAGS="$CFLAGS -Wimplicit"
   15544 
   15545 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   15546 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   15547 		cacheid=`$as_echo xorg_cv_cc_flag_-Wimplicit`
   15548 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   15549   $as_echo_n "(cached) " >&6
   15550 else
   15551   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15552 /* end confdefs.h.  */
   15553 int i;
   15554 int
   15555 main ()
   15556 {
   15557 
   15558   ;
   15559   return 0;
   15560 }
   15561 _ACEOF
   15562 if ac_fn_c_try_link "$LINENO"; then :
   15563   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   15564 else
   15565   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   15566 fi
   15567 rm -f core conftest.err conftest.$ac_objext \
   15568     conftest$ac_exeext conftest.$ac_ext
   15569 fi
   15570 
   15571 
   15572 		CFLAGS="$xorg_testset_save_CFLAGS"
   15573 
   15574 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   15575 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15576 $as_echo "$supported" >&6; }
   15577 		if test "$supported" = "yes" ; then
   15578 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   15579 			found="yes"
   15580 		fi
   15581 	fi
   15582 
   15583 
   15584 
   15585 
   15586 
   15587 
   15588 
   15589 xorg_testset_save_CFLAGS="$CFLAGS"
   15590 
   15591 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   15592 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15593 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15594 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15595 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15596   $as_echo_n "(cached) " >&6
   15597 else
   15598   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15599 /* end confdefs.h.  */
   15600 int i;
   15601 _ACEOF
   15602 if ac_fn_c_try_compile "$LINENO"; then :
   15603   xorg_cv_cc_flag_unknown_warning_option=yes
   15604 else
   15605   xorg_cv_cc_flag_unknown_warning_option=no
   15606 fi
   15607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15608 fi
   15609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15610 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15611 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15612 	CFLAGS="$xorg_testset_save_CFLAGS"
   15613 fi
   15614 
   15615 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   15616 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15617 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15618 	fi
   15619 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15620 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15621 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15622 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15623   $as_echo_n "(cached) " >&6
   15624 else
   15625   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15626 /* end confdefs.h.  */
   15627 int i;
   15628 _ACEOF
   15629 if ac_fn_c_try_compile "$LINENO"; then :
   15630   xorg_cv_cc_flag_unused_command_line_argument=yes
   15631 else
   15632   xorg_cv_cc_flag_unused_command_line_argument=no
   15633 fi
   15634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15635 fi
   15636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15637 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15638 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15639 	CFLAGS="$xorg_testset_save_CFLAGS"
   15640 fi
   15641 
   15642 found="no"
   15643 
   15644 	if test $found = "no" ; then
   15645 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15646 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15647 		fi
   15648 
   15649 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15650 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15651 		fi
   15652 
   15653 		CFLAGS="$CFLAGS -Wnonnull"
   15654 
   15655 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   15656 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   15657 		cacheid=`$as_echo xorg_cv_cc_flag_-Wnonnull`
   15658 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   15659   $as_echo_n "(cached) " >&6
   15660 else
   15661   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15662 /* end confdefs.h.  */
   15663 int i;
   15664 int
   15665 main ()
   15666 {
   15667 
   15668   ;
   15669   return 0;
   15670 }
   15671 _ACEOF
   15672 if ac_fn_c_try_link "$LINENO"; then :
   15673   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   15674 else
   15675   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   15676 fi
   15677 rm -f core conftest.err conftest.$ac_objext \
   15678     conftest$ac_exeext conftest.$ac_ext
   15679 fi
   15680 
   15681 
   15682 		CFLAGS="$xorg_testset_save_CFLAGS"
   15683 
   15684 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   15685 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15686 $as_echo "$supported" >&6; }
   15687 		if test "$supported" = "yes" ; then
   15688 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   15689 			found="yes"
   15690 		fi
   15691 	fi
   15692 
   15693 
   15694 
   15695 
   15696 
   15697 
   15698 
   15699 xorg_testset_save_CFLAGS="$CFLAGS"
   15700 
   15701 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   15702 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15703 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15704 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15705 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15706   $as_echo_n "(cached) " >&6
   15707 else
   15708   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15709 /* end confdefs.h.  */
   15710 int i;
   15711 _ACEOF
   15712 if ac_fn_c_try_compile "$LINENO"; then :
   15713   xorg_cv_cc_flag_unknown_warning_option=yes
   15714 else
   15715   xorg_cv_cc_flag_unknown_warning_option=no
   15716 fi
   15717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15718 fi
   15719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15720 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15721 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15722 	CFLAGS="$xorg_testset_save_CFLAGS"
   15723 fi
   15724 
   15725 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   15726 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15727 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15728 	fi
   15729 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15730 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15731 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15732 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15733   $as_echo_n "(cached) " >&6
   15734 else
   15735   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15736 /* end confdefs.h.  */
   15737 int i;
   15738 _ACEOF
   15739 if ac_fn_c_try_compile "$LINENO"; then :
   15740   xorg_cv_cc_flag_unused_command_line_argument=yes
   15741 else
   15742   xorg_cv_cc_flag_unused_command_line_argument=no
   15743 fi
   15744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15745 fi
   15746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15747 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15748 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15749 	CFLAGS="$xorg_testset_save_CFLAGS"
   15750 fi
   15751 
   15752 found="no"
   15753 
   15754 	if test $found = "no" ; then
   15755 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15756 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15757 		fi
   15758 
   15759 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15760 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15761 		fi
   15762 
   15763 		CFLAGS="$CFLAGS -Winit-self"
   15764 
   15765 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   15766 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   15767 		cacheid=`$as_echo xorg_cv_cc_flag_-Winit-self`
   15768 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   15769   $as_echo_n "(cached) " >&6
   15770 else
   15771   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15772 /* end confdefs.h.  */
   15773 int i;
   15774 int
   15775 main ()
   15776 {
   15777 
   15778   ;
   15779   return 0;
   15780 }
   15781 _ACEOF
   15782 if ac_fn_c_try_link "$LINENO"; then :
   15783   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   15784 else
   15785   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   15786 fi
   15787 rm -f core conftest.err conftest.$ac_objext \
   15788     conftest$ac_exeext conftest.$ac_ext
   15789 fi
   15790 
   15791 
   15792 		CFLAGS="$xorg_testset_save_CFLAGS"
   15793 
   15794 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   15795 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15796 $as_echo "$supported" >&6; }
   15797 		if test "$supported" = "yes" ; then
   15798 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   15799 			found="yes"
   15800 		fi
   15801 	fi
   15802 
   15803 
   15804 
   15805 
   15806 
   15807 
   15808 
   15809 xorg_testset_save_CFLAGS="$CFLAGS"
   15810 
   15811 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   15812 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15813 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15814 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15815 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15816   $as_echo_n "(cached) " >&6
   15817 else
   15818   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15819 /* end confdefs.h.  */
   15820 int i;
   15821 _ACEOF
   15822 if ac_fn_c_try_compile "$LINENO"; then :
   15823   xorg_cv_cc_flag_unknown_warning_option=yes
   15824 else
   15825   xorg_cv_cc_flag_unknown_warning_option=no
   15826 fi
   15827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15828 fi
   15829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15830 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15831 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15832 	CFLAGS="$xorg_testset_save_CFLAGS"
   15833 fi
   15834 
   15835 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   15836 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15837 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15838 	fi
   15839 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15840 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15841 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15842 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15843   $as_echo_n "(cached) " >&6
   15844 else
   15845   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15846 /* end confdefs.h.  */
   15847 int i;
   15848 _ACEOF
   15849 if ac_fn_c_try_compile "$LINENO"; then :
   15850   xorg_cv_cc_flag_unused_command_line_argument=yes
   15851 else
   15852   xorg_cv_cc_flag_unused_command_line_argument=no
   15853 fi
   15854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15855 fi
   15856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15857 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15858 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15859 	CFLAGS="$xorg_testset_save_CFLAGS"
   15860 fi
   15861 
   15862 found="no"
   15863 
   15864 	if test $found = "no" ; then
   15865 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15866 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15867 		fi
   15868 
   15869 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15870 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15871 		fi
   15872 
   15873 		CFLAGS="$CFLAGS -Wmain"
   15874 
   15875 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   15876 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   15877 		cacheid=`$as_echo xorg_cv_cc_flag_-Wmain`
   15878 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   15879   $as_echo_n "(cached) " >&6
   15880 else
   15881   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15882 /* end confdefs.h.  */
   15883 int i;
   15884 int
   15885 main ()
   15886 {
   15887 
   15888   ;
   15889   return 0;
   15890 }
   15891 _ACEOF
   15892 if ac_fn_c_try_link "$LINENO"; then :
   15893   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   15894 else
   15895   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   15896 fi
   15897 rm -f core conftest.err conftest.$ac_objext \
   15898     conftest$ac_exeext conftest.$ac_ext
   15899 fi
   15900 
   15901 
   15902 		CFLAGS="$xorg_testset_save_CFLAGS"
   15903 
   15904 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   15905 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15906 $as_echo "$supported" >&6; }
   15907 		if test "$supported" = "yes" ; then
   15908 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   15909 			found="yes"
   15910 		fi
   15911 	fi
   15912 
   15913 
   15914 
   15915 
   15916 
   15917 
   15918 
   15919 xorg_testset_save_CFLAGS="$CFLAGS"
   15920 
   15921 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   15922 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15923 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15924 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15925 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15926   $as_echo_n "(cached) " >&6
   15927 else
   15928   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15929 /* end confdefs.h.  */
   15930 int i;
   15931 _ACEOF
   15932 if ac_fn_c_try_compile "$LINENO"; then :
   15933   xorg_cv_cc_flag_unknown_warning_option=yes
   15934 else
   15935   xorg_cv_cc_flag_unknown_warning_option=no
   15936 fi
   15937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15938 fi
   15939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15940 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15941 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15942 	CFLAGS="$xorg_testset_save_CFLAGS"
   15943 fi
   15944 
   15945 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   15946 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15947 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15948 	fi
   15949 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15950 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15951 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15952 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15953   $as_echo_n "(cached) " >&6
   15954 else
   15955   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15956 /* end confdefs.h.  */
   15957 int i;
   15958 _ACEOF
   15959 if ac_fn_c_try_compile "$LINENO"; then :
   15960   xorg_cv_cc_flag_unused_command_line_argument=yes
   15961 else
   15962   xorg_cv_cc_flag_unused_command_line_argument=no
   15963 fi
   15964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15965 fi
   15966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15967 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15968 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15969 	CFLAGS="$xorg_testset_save_CFLAGS"
   15970 fi
   15971 
   15972 found="no"
   15973 
   15974 	if test $found = "no" ; then
   15975 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15976 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15977 		fi
   15978 
   15979 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15980 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15981 		fi
   15982 
   15983 		CFLAGS="$CFLAGS -Wmissing-braces"
   15984 
   15985 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   15986 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   15987 		cacheid=`$as_echo xorg_cv_cc_flag_-Wmissing-braces`
   15988 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   15989   $as_echo_n "(cached) " >&6
   15990 else
   15991   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15992 /* end confdefs.h.  */
   15993 int i;
   15994 int
   15995 main ()
   15996 {
   15997 
   15998   ;
   15999   return 0;
   16000 }
   16001 _ACEOF
   16002 if ac_fn_c_try_link "$LINENO"; then :
   16003   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   16004 else
   16005   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   16006 fi
   16007 rm -f core conftest.err conftest.$ac_objext \
   16008     conftest$ac_exeext conftest.$ac_ext
   16009 fi
   16010 
   16011 
   16012 		CFLAGS="$xorg_testset_save_CFLAGS"
   16013 
   16014 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   16015 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16016 $as_echo "$supported" >&6; }
   16017 		if test "$supported" = "yes" ; then
   16018 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   16019 			found="yes"
   16020 		fi
   16021 	fi
   16022 
   16023 
   16024 
   16025 
   16026 
   16027 
   16028 
   16029 xorg_testset_save_CFLAGS="$CFLAGS"
   16030 
   16031 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   16032 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16033 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16034 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16035 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16036   $as_echo_n "(cached) " >&6
   16037 else
   16038   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16039 /* end confdefs.h.  */
   16040 int i;
   16041 _ACEOF
   16042 if ac_fn_c_try_compile "$LINENO"; then :
   16043   xorg_cv_cc_flag_unknown_warning_option=yes
   16044 else
   16045   xorg_cv_cc_flag_unknown_warning_option=no
   16046 fi
   16047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16048 fi
   16049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16050 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16051 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16052 	CFLAGS="$xorg_testset_save_CFLAGS"
   16053 fi
   16054 
   16055 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   16056 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16057 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16058 	fi
   16059 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16060 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16061 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16062 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16063   $as_echo_n "(cached) " >&6
   16064 else
   16065   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16066 /* end confdefs.h.  */
   16067 int i;
   16068 _ACEOF
   16069 if ac_fn_c_try_compile "$LINENO"; then :
   16070   xorg_cv_cc_flag_unused_command_line_argument=yes
   16071 else
   16072   xorg_cv_cc_flag_unused_command_line_argument=no
   16073 fi
   16074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16075 fi
   16076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16077 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16078 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16079 	CFLAGS="$xorg_testset_save_CFLAGS"
   16080 fi
   16081 
   16082 found="no"
   16083 
   16084 	if test $found = "no" ; then
   16085 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16086 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16087 		fi
   16088 
   16089 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16090 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16091 		fi
   16092 
   16093 		CFLAGS="$CFLAGS -Wsequence-point"
   16094 
   16095 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   16096 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   16097 		cacheid=`$as_echo xorg_cv_cc_flag_-Wsequence-point`
   16098 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   16099   $as_echo_n "(cached) " >&6
   16100 else
   16101   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16102 /* end confdefs.h.  */
   16103 int i;
   16104 int
   16105 main ()
   16106 {
   16107 
   16108   ;
   16109   return 0;
   16110 }
   16111 _ACEOF
   16112 if ac_fn_c_try_link "$LINENO"; then :
   16113   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   16114 else
   16115   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   16116 fi
   16117 rm -f core conftest.err conftest.$ac_objext \
   16118     conftest$ac_exeext conftest.$ac_ext
   16119 fi
   16120 
   16121 
   16122 		CFLAGS="$xorg_testset_save_CFLAGS"
   16123 
   16124 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   16125 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16126 $as_echo "$supported" >&6; }
   16127 		if test "$supported" = "yes" ; then
   16128 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   16129 			found="yes"
   16130 		fi
   16131 	fi
   16132 
   16133 
   16134 
   16135 
   16136 
   16137 
   16138 
   16139 xorg_testset_save_CFLAGS="$CFLAGS"
   16140 
   16141 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   16142 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16143 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16144 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16145 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16146   $as_echo_n "(cached) " >&6
   16147 else
   16148   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16149 /* end confdefs.h.  */
   16150 int i;
   16151 _ACEOF
   16152 if ac_fn_c_try_compile "$LINENO"; then :
   16153   xorg_cv_cc_flag_unknown_warning_option=yes
   16154 else
   16155   xorg_cv_cc_flag_unknown_warning_option=no
   16156 fi
   16157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16158 fi
   16159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16160 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16161 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16162 	CFLAGS="$xorg_testset_save_CFLAGS"
   16163 fi
   16164 
   16165 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   16166 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16167 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16168 	fi
   16169 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16170 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16171 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16172 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16173   $as_echo_n "(cached) " >&6
   16174 else
   16175   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16176 /* end confdefs.h.  */
   16177 int i;
   16178 _ACEOF
   16179 if ac_fn_c_try_compile "$LINENO"; then :
   16180   xorg_cv_cc_flag_unused_command_line_argument=yes
   16181 else
   16182   xorg_cv_cc_flag_unused_command_line_argument=no
   16183 fi
   16184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16185 fi
   16186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16187 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16188 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16189 	CFLAGS="$xorg_testset_save_CFLAGS"
   16190 fi
   16191 
   16192 found="no"
   16193 
   16194 	if test $found = "no" ; then
   16195 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16196 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16197 		fi
   16198 
   16199 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16200 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16201 		fi
   16202 
   16203 		CFLAGS="$CFLAGS -Wreturn-type"
   16204 
   16205 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   16206 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   16207 		cacheid=`$as_echo xorg_cv_cc_flag_-Wreturn-type`
   16208 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   16209   $as_echo_n "(cached) " >&6
   16210 else
   16211   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16212 /* end confdefs.h.  */
   16213 int i;
   16214 int
   16215 main ()
   16216 {
   16217 
   16218   ;
   16219   return 0;
   16220 }
   16221 _ACEOF
   16222 if ac_fn_c_try_link "$LINENO"; then :
   16223   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   16224 else
   16225   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   16226 fi
   16227 rm -f core conftest.err conftest.$ac_objext \
   16228     conftest$ac_exeext conftest.$ac_ext
   16229 fi
   16230 
   16231 
   16232 		CFLAGS="$xorg_testset_save_CFLAGS"
   16233 
   16234 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   16235 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16236 $as_echo "$supported" >&6; }
   16237 		if test "$supported" = "yes" ; then
   16238 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   16239 			found="yes"
   16240 		fi
   16241 	fi
   16242 
   16243 
   16244 
   16245 
   16246 
   16247 
   16248 
   16249 xorg_testset_save_CFLAGS="$CFLAGS"
   16250 
   16251 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   16252 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16253 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16254 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16255 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16256   $as_echo_n "(cached) " >&6
   16257 else
   16258   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16259 /* end confdefs.h.  */
   16260 int i;
   16261 _ACEOF
   16262 if ac_fn_c_try_compile "$LINENO"; then :
   16263   xorg_cv_cc_flag_unknown_warning_option=yes
   16264 else
   16265   xorg_cv_cc_flag_unknown_warning_option=no
   16266 fi
   16267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16268 fi
   16269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16270 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16271 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16272 	CFLAGS="$xorg_testset_save_CFLAGS"
   16273 fi
   16274 
   16275 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   16276 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16277 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16278 	fi
   16279 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16280 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16281 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16282 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16283   $as_echo_n "(cached) " >&6
   16284 else
   16285   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16286 /* end confdefs.h.  */
   16287 int i;
   16288 _ACEOF
   16289 if ac_fn_c_try_compile "$LINENO"; then :
   16290   xorg_cv_cc_flag_unused_command_line_argument=yes
   16291 else
   16292   xorg_cv_cc_flag_unused_command_line_argument=no
   16293 fi
   16294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16295 fi
   16296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16297 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16298 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16299 	CFLAGS="$xorg_testset_save_CFLAGS"
   16300 fi
   16301 
   16302 found="no"
   16303 
   16304 	if test $found = "no" ; then
   16305 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16306 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16307 		fi
   16308 
   16309 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16310 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16311 		fi
   16312 
   16313 		CFLAGS="$CFLAGS -Wtrigraphs"
   16314 
   16315 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   16316 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   16317 		cacheid=`$as_echo xorg_cv_cc_flag_-Wtrigraphs`
   16318 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   16319   $as_echo_n "(cached) " >&6
   16320 else
   16321   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16322 /* end confdefs.h.  */
   16323 int i;
   16324 int
   16325 main ()
   16326 {
   16327 
   16328   ;
   16329   return 0;
   16330 }
   16331 _ACEOF
   16332 if ac_fn_c_try_link "$LINENO"; then :
   16333   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   16334 else
   16335   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   16336 fi
   16337 rm -f core conftest.err conftest.$ac_objext \
   16338     conftest$ac_exeext conftest.$ac_ext
   16339 fi
   16340 
   16341 
   16342 		CFLAGS="$xorg_testset_save_CFLAGS"
   16343 
   16344 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   16345 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16346 $as_echo "$supported" >&6; }
   16347 		if test "$supported" = "yes" ; then
   16348 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   16349 			found="yes"
   16350 		fi
   16351 	fi
   16352 
   16353 
   16354 
   16355 
   16356 
   16357 
   16358 
   16359 xorg_testset_save_CFLAGS="$CFLAGS"
   16360 
   16361 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   16362 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16363 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16364 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16365 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16366   $as_echo_n "(cached) " >&6
   16367 else
   16368   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16369 /* end confdefs.h.  */
   16370 int i;
   16371 _ACEOF
   16372 if ac_fn_c_try_compile "$LINENO"; then :
   16373   xorg_cv_cc_flag_unknown_warning_option=yes
   16374 else
   16375   xorg_cv_cc_flag_unknown_warning_option=no
   16376 fi
   16377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16378 fi
   16379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16380 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16381 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16382 	CFLAGS="$xorg_testset_save_CFLAGS"
   16383 fi
   16384 
   16385 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   16386 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16387 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16388 	fi
   16389 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16390 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16391 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16392 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16393   $as_echo_n "(cached) " >&6
   16394 else
   16395   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16396 /* end confdefs.h.  */
   16397 int i;
   16398 _ACEOF
   16399 if ac_fn_c_try_compile "$LINENO"; then :
   16400   xorg_cv_cc_flag_unused_command_line_argument=yes
   16401 else
   16402   xorg_cv_cc_flag_unused_command_line_argument=no
   16403 fi
   16404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16405 fi
   16406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16407 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16408 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16409 	CFLAGS="$xorg_testset_save_CFLAGS"
   16410 fi
   16411 
   16412 found="no"
   16413 
   16414 	if test $found = "no" ; then
   16415 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16416 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16417 		fi
   16418 
   16419 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16420 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16421 		fi
   16422 
   16423 		CFLAGS="$CFLAGS -Warray-bounds"
   16424 
   16425 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   16426 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   16427 		cacheid=`$as_echo xorg_cv_cc_flag_-Warray-bounds`
   16428 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   16429   $as_echo_n "(cached) " >&6
   16430 else
   16431   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16432 /* end confdefs.h.  */
   16433 int i;
   16434 int
   16435 main ()
   16436 {
   16437 
   16438   ;
   16439   return 0;
   16440 }
   16441 _ACEOF
   16442 if ac_fn_c_try_link "$LINENO"; then :
   16443   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   16444 else
   16445   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   16446 fi
   16447 rm -f core conftest.err conftest.$ac_objext \
   16448     conftest$ac_exeext conftest.$ac_ext
   16449 fi
   16450 
   16451 
   16452 		CFLAGS="$xorg_testset_save_CFLAGS"
   16453 
   16454 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   16455 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16456 $as_echo "$supported" >&6; }
   16457 		if test "$supported" = "yes" ; then
   16458 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   16459 			found="yes"
   16460 		fi
   16461 	fi
   16462 
   16463 
   16464 
   16465 
   16466 
   16467 
   16468 
   16469 xorg_testset_save_CFLAGS="$CFLAGS"
   16470 
   16471 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   16472 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16473 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16474 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16475 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16476   $as_echo_n "(cached) " >&6
   16477 else
   16478   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16479 /* end confdefs.h.  */
   16480 int i;
   16481 _ACEOF
   16482 if ac_fn_c_try_compile "$LINENO"; then :
   16483   xorg_cv_cc_flag_unknown_warning_option=yes
   16484 else
   16485   xorg_cv_cc_flag_unknown_warning_option=no
   16486 fi
   16487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16488 fi
   16489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16490 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16491 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16492 	CFLAGS="$xorg_testset_save_CFLAGS"
   16493 fi
   16494 
   16495 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   16496 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16497 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16498 	fi
   16499 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16500 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16501 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16502 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16503   $as_echo_n "(cached) " >&6
   16504 else
   16505   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16506 /* end confdefs.h.  */
   16507 int i;
   16508 _ACEOF
   16509 if ac_fn_c_try_compile "$LINENO"; then :
   16510   xorg_cv_cc_flag_unused_command_line_argument=yes
   16511 else
   16512   xorg_cv_cc_flag_unused_command_line_argument=no
   16513 fi
   16514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16515 fi
   16516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16517 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16518 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16519 	CFLAGS="$xorg_testset_save_CFLAGS"
   16520 fi
   16521 
   16522 found="no"
   16523 
   16524 	if test $found = "no" ; then
   16525 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16526 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16527 		fi
   16528 
   16529 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16530 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16531 		fi
   16532 
   16533 		CFLAGS="$CFLAGS -Wwrite-strings"
   16534 
   16535 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   16536 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   16537 		cacheid=`$as_echo xorg_cv_cc_flag_-Wwrite-strings`
   16538 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   16539   $as_echo_n "(cached) " >&6
   16540 else
   16541   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16542 /* end confdefs.h.  */
   16543 int i;
   16544 int
   16545 main ()
   16546 {
   16547 
   16548   ;
   16549   return 0;
   16550 }
   16551 _ACEOF
   16552 if ac_fn_c_try_link "$LINENO"; then :
   16553   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   16554 else
   16555   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   16556 fi
   16557 rm -f core conftest.err conftest.$ac_objext \
   16558     conftest$ac_exeext conftest.$ac_ext
   16559 fi
   16560 
   16561 
   16562 		CFLAGS="$xorg_testset_save_CFLAGS"
   16563 
   16564 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   16565 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16566 $as_echo "$supported" >&6; }
   16567 		if test "$supported" = "yes" ; then
   16568 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   16569 			found="yes"
   16570 		fi
   16571 	fi
   16572 
   16573 
   16574 
   16575 
   16576 
   16577 
   16578 
   16579 xorg_testset_save_CFLAGS="$CFLAGS"
   16580 
   16581 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   16582 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16583 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16584 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16585 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16586   $as_echo_n "(cached) " >&6
   16587 else
   16588   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16589 /* end confdefs.h.  */
   16590 int i;
   16591 _ACEOF
   16592 if ac_fn_c_try_compile "$LINENO"; then :
   16593   xorg_cv_cc_flag_unknown_warning_option=yes
   16594 else
   16595   xorg_cv_cc_flag_unknown_warning_option=no
   16596 fi
   16597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16598 fi
   16599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16600 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16601 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16602 	CFLAGS="$xorg_testset_save_CFLAGS"
   16603 fi
   16604 
   16605 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   16606 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16607 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16608 	fi
   16609 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16610 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16611 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16612 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16613   $as_echo_n "(cached) " >&6
   16614 else
   16615   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16616 /* end confdefs.h.  */
   16617 int i;
   16618 _ACEOF
   16619 if ac_fn_c_try_compile "$LINENO"; then :
   16620   xorg_cv_cc_flag_unused_command_line_argument=yes
   16621 else
   16622   xorg_cv_cc_flag_unused_command_line_argument=no
   16623 fi
   16624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16625 fi
   16626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16627 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16628 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16629 	CFLAGS="$xorg_testset_save_CFLAGS"
   16630 fi
   16631 
   16632 found="no"
   16633 
   16634 	if test $found = "no" ; then
   16635 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16636 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16637 		fi
   16638 
   16639 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16640 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16641 		fi
   16642 
   16643 		CFLAGS="$CFLAGS -Waddress"
   16644 
   16645 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   16646 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   16647 		cacheid=`$as_echo xorg_cv_cc_flag_-Waddress`
   16648 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   16649   $as_echo_n "(cached) " >&6
   16650 else
   16651   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16652 /* end confdefs.h.  */
   16653 int i;
   16654 int
   16655 main ()
   16656 {
   16657 
   16658   ;
   16659   return 0;
   16660 }
   16661 _ACEOF
   16662 if ac_fn_c_try_link "$LINENO"; then :
   16663   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   16664 else
   16665   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   16666 fi
   16667 rm -f core conftest.err conftest.$ac_objext \
   16668     conftest$ac_exeext conftest.$ac_ext
   16669 fi
   16670 
   16671 
   16672 		CFLAGS="$xorg_testset_save_CFLAGS"
   16673 
   16674 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   16675 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16676 $as_echo "$supported" >&6; }
   16677 		if test "$supported" = "yes" ; then
   16678 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   16679 			found="yes"
   16680 		fi
   16681 	fi
   16682 
   16683 
   16684 
   16685 
   16686 
   16687 
   16688 
   16689 xorg_testset_save_CFLAGS="$CFLAGS"
   16690 
   16691 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   16692 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16693 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16694 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16695 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16696   $as_echo_n "(cached) " >&6
   16697 else
   16698   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16699 /* end confdefs.h.  */
   16700 int i;
   16701 _ACEOF
   16702 if ac_fn_c_try_compile "$LINENO"; then :
   16703   xorg_cv_cc_flag_unknown_warning_option=yes
   16704 else
   16705   xorg_cv_cc_flag_unknown_warning_option=no
   16706 fi
   16707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16708 fi
   16709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16710 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16711 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16712 	CFLAGS="$xorg_testset_save_CFLAGS"
   16713 fi
   16714 
   16715 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   16716 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16717 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16718 	fi
   16719 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16720 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16721 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16722 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16723   $as_echo_n "(cached) " >&6
   16724 else
   16725   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16726 /* end confdefs.h.  */
   16727 int i;
   16728 _ACEOF
   16729 if ac_fn_c_try_compile "$LINENO"; then :
   16730   xorg_cv_cc_flag_unused_command_line_argument=yes
   16731 else
   16732   xorg_cv_cc_flag_unused_command_line_argument=no
   16733 fi
   16734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16735 fi
   16736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16737 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16738 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16739 	CFLAGS="$xorg_testset_save_CFLAGS"
   16740 fi
   16741 
   16742 found="no"
   16743 
   16744 	if test $found = "no" ; then
   16745 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16746 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16747 		fi
   16748 
   16749 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16750 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16751 		fi
   16752 
   16753 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   16754 
   16755 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   16756 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   16757 		cacheid=`$as_echo xorg_cv_cc_flag_-Wint-to-pointer-cast`
   16758 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   16759   $as_echo_n "(cached) " >&6
   16760 else
   16761   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16762 /* end confdefs.h.  */
   16763 int i;
   16764 int
   16765 main ()
   16766 {
   16767 
   16768   ;
   16769   return 0;
   16770 }
   16771 _ACEOF
   16772 if ac_fn_c_try_link "$LINENO"; then :
   16773   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   16774 else
   16775   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   16776 fi
   16777 rm -f core conftest.err conftest.$ac_objext \
   16778     conftest$ac_exeext conftest.$ac_ext
   16779 fi
   16780 
   16781 
   16782 		CFLAGS="$xorg_testset_save_CFLAGS"
   16783 
   16784 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   16785 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16786 $as_echo "$supported" >&6; }
   16787 		if test "$supported" = "yes" ; then
   16788 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   16789 			found="yes"
   16790 		fi
   16791 	fi
   16792 
   16793 
   16794 
   16795 
   16796 
   16797 
   16798 
   16799 xorg_testset_save_CFLAGS="$CFLAGS"
   16800 
   16801 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   16802 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16803 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16804 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16805 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16806   $as_echo_n "(cached) " >&6
   16807 else
   16808   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16809 /* end confdefs.h.  */
   16810 int i;
   16811 _ACEOF
   16812 if ac_fn_c_try_compile "$LINENO"; then :
   16813   xorg_cv_cc_flag_unknown_warning_option=yes
   16814 else
   16815   xorg_cv_cc_flag_unknown_warning_option=no
   16816 fi
   16817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16818 fi
   16819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16820 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16821 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16822 	CFLAGS="$xorg_testset_save_CFLAGS"
   16823 fi
   16824 
   16825 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   16826 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16827 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16828 	fi
   16829 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16830 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16831 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16832 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16833   $as_echo_n "(cached) " >&6
   16834 else
   16835   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16836 /* end confdefs.h.  */
   16837 int i;
   16838 _ACEOF
   16839 if ac_fn_c_try_compile "$LINENO"; then :
   16840   xorg_cv_cc_flag_unused_command_line_argument=yes
   16841 else
   16842   xorg_cv_cc_flag_unused_command_line_argument=no
   16843 fi
   16844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16845 fi
   16846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16847 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16848 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16849 	CFLAGS="$xorg_testset_save_CFLAGS"
   16850 fi
   16851 
   16852 found="no"
   16853 
   16854 	if test $found = "no" ; then
   16855 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16856 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16857 		fi
   16858 
   16859 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16860 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16861 		fi
   16862 
   16863 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   16864 
   16865 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   16866 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   16867 		cacheid=`$as_echo xorg_cv_cc_flag_-Wpointer-to-int-cast`
   16868 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   16869   $as_echo_n "(cached) " >&6
   16870 else
   16871   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16872 /* end confdefs.h.  */
   16873 int i;
   16874 int
   16875 main ()
   16876 {
   16877 
   16878   ;
   16879   return 0;
   16880 }
   16881 _ACEOF
   16882 if ac_fn_c_try_link "$LINENO"; then :
   16883   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   16884 else
   16885   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   16886 fi
   16887 rm -f core conftest.err conftest.$ac_objext \
   16888     conftest$ac_exeext conftest.$ac_ext
   16889 fi
   16890 
   16891 
   16892 		CFLAGS="$xorg_testset_save_CFLAGS"
   16893 
   16894 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   16895 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16896 $as_echo "$supported" >&6; }
   16897 		if test "$supported" = "yes" ; then
   16898 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   16899 			found="yes"
   16900 		fi
   16901 	fi
   16902 
   16903 
   16904 fi
   16905 
   16906 
   16907 
   16908 
   16909 
   16910 
   16911 CWARNFLAGS="$BASE_CFLAGS"
   16912 if  test "x$GCC" = xyes ; then
   16913     CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   16914 fi
   16915 
   16916 
   16917 
   16918 
   16919 
   16920 
   16921 # Check whether --enable-strict-compilation was given.
   16922 if test "${enable_strict_compilation+set}" = set; then :
   16923   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   16924 else
   16925   STRICT_COMPILE=no
   16926 fi
   16927 
   16928 
   16929 STRICT_CFLAGS=""
   16930 
   16931 
   16932 
   16933 
   16934 
   16935 xorg_testset_save_CFLAGS="$CFLAGS"
   16936 
   16937 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   16938 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16939 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16940 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16941 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16942   $as_echo_n "(cached) " >&6
   16943 else
   16944   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16945 /* end confdefs.h.  */
   16946 int i;
   16947 _ACEOF
   16948 if ac_fn_c_try_compile "$LINENO"; then :
   16949   xorg_cv_cc_flag_unknown_warning_option=yes
   16950 else
   16951   xorg_cv_cc_flag_unknown_warning_option=no
   16952 fi
   16953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16954 fi
   16955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16956 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16957 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16958 	CFLAGS="$xorg_testset_save_CFLAGS"
   16959 fi
   16960 
   16961 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   16962 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16963 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16964 	fi
   16965 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16966 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16967 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16968 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16969   $as_echo_n "(cached) " >&6
   16970 else
   16971   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16972 /* end confdefs.h.  */
   16973 int i;
   16974 _ACEOF
   16975 if ac_fn_c_try_compile "$LINENO"; then :
   16976   xorg_cv_cc_flag_unused_command_line_argument=yes
   16977 else
   16978   xorg_cv_cc_flag_unused_command_line_argument=no
   16979 fi
   16980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16981 fi
   16982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16983 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16984 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16985 	CFLAGS="$xorg_testset_save_CFLAGS"
   16986 fi
   16987 
   16988 found="no"
   16989 
   16990 	if test $found = "no" ; then
   16991 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16992 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16993 		fi
   16994 
   16995 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16996 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16997 		fi
   16998 
   16999 		CFLAGS="$CFLAGS -pedantic"
   17000 
   17001 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   17002 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   17003 		cacheid=`$as_echo xorg_cv_cc_flag_-pedantic`
   17004 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   17005   $as_echo_n "(cached) " >&6
   17006 else
   17007   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17008 /* end confdefs.h.  */
   17009 int i;
   17010 int
   17011 main ()
   17012 {
   17013 
   17014   ;
   17015   return 0;
   17016 }
   17017 _ACEOF
   17018 if ac_fn_c_try_link "$LINENO"; then :
   17019   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   17020 else
   17021   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   17022 fi
   17023 rm -f core conftest.err conftest.$ac_objext \
   17024     conftest$ac_exeext conftest.$ac_ext
   17025 fi
   17026 
   17027 
   17028 		CFLAGS="$xorg_testset_save_CFLAGS"
   17029 
   17030 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   17031 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17032 $as_echo "$supported" >&6; }
   17033 		if test "$supported" = "yes" ; then
   17034 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   17035 			found="yes"
   17036 		fi
   17037 	fi
   17038 
   17039 
   17040 
   17041 
   17042 
   17043 
   17044 
   17045 xorg_testset_save_CFLAGS="$CFLAGS"
   17046 
   17047 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   17048 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17049 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17050 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17051 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17052   $as_echo_n "(cached) " >&6
   17053 else
   17054   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17055 /* end confdefs.h.  */
   17056 int i;
   17057 _ACEOF
   17058 if ac_fn_c_try_compile "$LINENO"; then :
   17059   xorg_cv_cc_flag_unknown_warning_option=yes
   17060 else
   17061   xorg_cv_cc_flag_unknown_warning_option=no
   17062 fi
   17063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17064 fi
   17065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17066 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17067 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17068 	CFLAGS="$xorg_testset_save_CFLAGS"
   17069 fi
   17070 
   17071 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   17072 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17073 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17074 	fi
   17075 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17076 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17077 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17078 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17079   $as_echo_n "(cached) " >&6
   17080 else
   17081   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17082 /* end confdefs.h.  */
   17083 int i;
   17084 _ACEOF
   17085 if ac_fn_c_try_compile "$LINENO"; then :
   17086   xorg_cv_cc_flag_unused_command_line_argument=yes
   17087 else
   17088   xorg_cv_cc_flag_unused_command_line_argument=no
   17089 fi
   17090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17091 fi
   17092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17093 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17094 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17095 	CFLAGS="$xorg_testset_save_CFLAGS"
   17096 fi
   17097 
   17098 found="no"
   17099 
   17100 	if test $found = "no" ; then
   17101 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17102 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17103 		fi
   17104 
   17105 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17106 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17107 		fi
   17108 
   17109 		CFLAGS="$CFLAGS -Werror"
   17110 
   17111 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   17112 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   17113 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror`
   17114 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   17115   $as_echo_n "(cached) " >&6
   17116 else
   17117   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17118 /* end confdefs.h.  */
   17119 int i;
   17120 int
   17121 main ()
   17122 {
   17123 
   17124   ;
   17125   return 0;
   17126 }
   17127 _ACEOF
   17128 if ac_fn_c_try_link "$LINENO"; then :
   17129   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   17130 else
   17131   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   17132 fi
   17133 rm -f core conftest.err conftest.$ac_objext \
   17134     conftest$ac_exeext conftest.$ac_ext
   17135 fi
   17136 
   17137 
   17138 		CFLAGS="$xorg_testset_save_CFLAGS"
   17139 
   17140 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   17141 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17142 $as_echo "$supported" >&6; }
   17143 		if test "$supported" = "yes" ; then
   17144 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   17145 			found="yes"
   17146 		fi
   17147 	fi
   17148 
   17149 	if test $found = "no" ; then
   17150 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17151 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17152 		fi
   17153 
   17154 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17155 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17156 		fi
   17157 
   17158 		CFLAGS="$CFLAGS -errwarn"
   17159 
   17160 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   17161 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   17162 		cacheid=`$as_echo xorg_cv_cc_flag_-errwarn`
   17163 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   17164   $as_echo_n "(cached) " >&6
   17165 else
   17166   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17167 /* end confdefs.h.  */
   17168 int i;
   17169 int
   17170 main ()
   17171 {
   17172 
   17173   ;
   17174   return 0;
   17175 }
   17176 _ACEOF
   17177 if ac_fn_c_try_link "$LINENO"; then :
   17178   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   17179 else
   17180   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   17181 fi
   17182 rm -f core conftest.err conftest.$ac_objext \
   17183     conftest$ac_exeext conftest.$ac_ext
   17184 fi
   17185 
   17186 
   17187 		CFLAGS="$xorg_testset_save_CFLAGS"
   17188 
   17189 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   17190 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17191 $as_echo "$supported" >&6; }
   17192 		if test "$supported" = "yes" ; then
   17193 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   17194 			found="yes"
   17195 		fi
   17196 	fi
   17197 
   17198 
   17199 
   17200 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   17201 # activate it with -Werror, so we add it here explicitly.
   17202 
   17203 
   17204 
   17205 
   17206 
   17207 xorg_testset_save_CFLAGS="$CFLAGS"
   17208 
   17209 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   17210 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17211 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17212 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17213 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17214   $as_echo_n "(cached) " >&6
   17215 else
   17216   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17217 /* end confdefs.h.  */
   17218 int i;
   17219 _ACEOF
   17220 if ac_fn_c_try_compile "$LINENO"; then :
   17221   xorg_cv_cc_flag_unknown_warning_option=yes
   17222 else
   17223   xorg_cv_cc_flag_unknown_warning_option=no
   17224 fi
   17225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17226 fi
   17227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17228 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17229 	xorg_testset_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17230 	CFLAGS="$xorg_testset_save_CFLAGS"
   17231 fi
   17232 
   17233 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   17234 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17235 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17236 	fi
   17237 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17238 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17239 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17240 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17241   $as_echo_n "(cached) " >&6
   17242 else
   17243   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17244 /* end confdefs.h.  */
   17245 int i;
   17246 _ACEOF
   17247 if ac_fn_c_try_compile "$LINENO"; then :
   17248   xorg_cv_cc_flag_unused_command_line_argument=yes
   17249 else
   17250   xorg_cv_cc_flag_unused_command_line_argument=no
   17251 fi
   17252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17253 fi
   17254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17255 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17256 	xorg_testset_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17257 	CFLAGS="$xorg_testset_save_CFLAGS"
   17258 fi
   17259 
   17260 found="no"
   17261 
   17262 	if test $found = "no" ; then
   17263 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17264 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17265 		fi
   17266 
   17267 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17268 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17269 		fi
   17270 
   17271 		CFLAGS="$CFLAGS -Werror=attributes"
   17272 
   17273 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   17274 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   17275 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=attributes`
   17276 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   17277   $as_echo_n "(cached) " >&6
   17278 else
   17279   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17280 /* end confdefs.h.  */
   17281 int i;
   17282 int
   17283 main ()
   17284 {
   17285 
   17286   ;
   17287   return 0;
   17288 }
   17289 _ACEOF
   17290 if ac_fn_c_try_link "$LINENO"; then :
   17291   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   17292 else
   17293   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   17294 fi
   17295 rm -f core conftest.err conftest.$ac_objext \
   17296     conftest$ac_exeext conftest.$ac_ext
   17297 fi
   17298 
   17299 
   17300 		CFLAGS="$xorg_testset_save_CFLAGS"
   17301 
   17302 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   17303 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17304 $as_echo "$supported" >&6; }
   17305 		if test "$supported" = "yes" ; then
   17306 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   17307 			found="yes"
   17308 		fi
   17309 	fi
   17310 
   17311 
   17312 
   17313 if test "x$STRICT_COMPILE" = "xyes"; then
   17314     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   17315     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   17316 fi
   17317 
   17318 
   17319 
   17320 
   17321 
   17322 
   17323 cat >>confdefs.h <<_ACEOF
   17324 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   17325 _ACEOF
   17326 
   17327 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   17328 	if test "x$PVM" = "x"; then
   17329 		PVM="0"
   17330 	fi
   17331 
   17332 cat >>confdefs.h <<_ACEOF
   17333 #define PACKAGE_VERSION_MINOR $PVM
   17334 _ACEOF
   17335 
   17336 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   17337 	if test "x$PVP" = "x"; then
   17338 		PVP="0"
   17339 	fi
   17340 
   17341 cat >>confdefs.h <<_ACEOF
   17342 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   17343 _ACEOF
   17344 
   17345 
   17346 
   17347 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   17348 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   17349 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   17350 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   17351 
   17352 
   17353 
   17354 
   17355 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   17356 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   17357 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   17358 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   17359 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   17360 
   17361 
   17362 
   17363 
   17364 
   17365 
   17366 if test x$APP_MAN_SUFFIX = x    ; then
   17367     APP_MAN_SUFFIX=1
   17368 fi
   17369 if test x$APP_MAN_DIR = x    ; then
   17370     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   17371 fi
   17372 
   17373 if test x$LIB_MAN_SUFFIX = x    ; then
   17374     LIB_MAN_SUFFIX=3
   17375 fi
   17376 if test x$LIB_MAN_DIR = x    ; then
   17377     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   17378 fi
   17379 
   17380 if test x$FILE_MAN_SUFFIX = x    ; then
   17381     case $host_os in
   17382 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   17383 	*)		FILE_MAN_SUFFIX=5  ;;
   17384     esac
   17385 fi
   17386 if test x$FILE_MAN_DIR = x    ; then
   17387     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   17388 fi
   17389 
   17390 if test x$MISC_MAN_SUFFIX = x    ; then
   17391     case $host_os in
   17392 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   17393 	*)		MISC_MAN_SUFFIX=7  ;;
   17394     esac
   17395 fi
   17396 if test x$MISC_MAN_DIR = x    ; then
   17397     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   17398 fi
   17399 
   17400 if test x$DRIVER_MAN_SUFFIX = x    ; then
   17401     case $host_os in
   17402 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   17403 	*)		DRIVER_MAN_SUFFIX=4  ;;
   17404     esac
   17405 fi
   17406 if test x$DRIVER_MAN_DIR = x    ; then
   17407     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   17408 fi
   17409 
   17410 if test x$ADMIN_MAN_SUFFIX = x    ; then
   17411     case $host_os in
   17412 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   17413 	*)		ADMIN_MAN_SUFFIX=8  ;;
   17414     esac
   17415 fi
   17416 if test x$ADMIN_MAN_DIR = x    ; then
   17417     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   17418 fi
   17419 
   17420 
   17421 
   17422 
   17423 
   17424 
   17425 
   17426 
   17427 
   17428 
   17429 
   17430 
   17431 
   17432 
   17433 
   17434 XORG_MAN_PAGE="X Version 11"
   17435 
   17436 MAN_SUBSTS="\
   17437 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   17438 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   17439 	-e 's|__xservername__|Xorg|g' \
   17440 	-e 's|__xconfigfile__|xorg.conf|g' \
   17441 	-e 's|__projectroot__|\$(prefix)|g' \
   17442 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   17443 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   17444 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   17445 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   17446 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   17447 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   17448 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   17449 
   17450 
   17451 
   17452 # Check whether --enable-silent-rules was given.
   17453 if test "${enable_silent_rules+set}" = set; then :
   17454   enableval=$enable_silent_rules;
   17455 fi
   17456 
   17457 case $enable_silent_rules in
   17458 yes) AM_DEFAULT_VERBOSITY=0;;
   17459 no)  AM_DEFAULT_VERBOSITY=1;;
   17460 *)   AM_DEFAULT_VERBOSITY=0;;
   17461 esac
   17462 AM_BACKSLASH='\'
   17463 
   17464 
   17465 
   17466 
   17467 # Check whether --enable-docs was given.
   17468 if test "${enable_docs+set}" = set; then :
   17469   enableval=$enable_docs; build_docs=$enableval
   17470 else
   17471   build_docs=yes
   17472 fi
   17473 
   17474 
   17475  if test x$build_docs = xyes; then
   17476   ENABLE_DOCS_TRUE=
   17477   ENABLE_DOCS_FALSE='#'
   17478 else
   17479   ENABLE_DOCS_TRUE='#'
   17480   ENABLE_DOCS_FALSE=
   17481 fi
   17482 
   17483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
   17484 $as_echo_n "checking whether to build documentation... " >&6; }
   17485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_docs" >&5
   17486 $as_echo "$build_docs" >&6; }
   17487 
   17488 
   17489 
   17490 # Check whether --enable-specs was given.
   17491 if test "${enable_specs+set}" = set; then :
   17492   enableval=$enable_specs; build_specs=$enableval
   17493 else
   17494   build_specs=yes
   17495 fi
   17496 
   17497 
   17498  if test x$build_specs = xyes; then
   17499   ENABLE_SPECS_TRUE=
   17500   ENABLE_SPECS_FALSE='#'
   17501 else
   17502   ENABLE_SPECS_TRUE='#'
   17503   ENABLE_SPECS_FALSE=
   17504 fi
   17505 
   17506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build functional specifications" >&5
   17507 $as_echo_n "checking whether to build functional specifications... " >&6; }
   17508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_specs" >&5
   17509 $as_echo "$build_specs" >&6; }
   17510 
   17511 
   17512 
   17513 
   17514 
   17515 # Check whether --with-xmlto was given.
   17516 if test "${with_xmlto+set}" = set; then :
   17517   withval=$with_xmlto; use_xmlto=$withval
   17518 else
   17519   use_xmlto=auto
   17520 fi
   17521 
   17522 
   17523 
   17524 if test "x$use_xmlto" = x"auto"; then
   17525    # Extract the first word of "xmlto", so it can be a program name with args.
   17526 set dummy xmlto; ac_word=$2
   17527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17528 $as_echo_n "checking for $ac_word... " >&6; }
   17529 if ${ac_cv_path_XMLTO+:} false; then :
   17530   $as_echo_n "(cached) " >&6
   17531 else
   17532   case $XMLTO in
   17533   [\\/]* | ?:[\\/]*)
   17534   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   17535   ;;
   17536   *)
   17537   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17538 for as_dir in $PATH
   17539 do
   17540   IFS=$as_save_IFS
   17541   test -z "$as_dir" && as_dir=.
   17542     for ac_exec_ext in '' $ac_executable_extensions; do
   17543   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   17544     ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
   17545     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   17546     break 2
   17547   fi
   17548 done
   17549   done
   17550 IFS=$as_save_IFS
   17551 
   17552   ;;
   17553 esac
   17554 fi
   17555 XMLTO=$ac_cv_path_XMLTO
   17556 if test -n "$XMLTO"; then
   17557   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   17558 $as_echo "$XMLTO" >&6; }
   17559 else
   17560   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17561 $as_echo "no" >&6; }
   17562 fi
   17563 
   17564 
   17565    if test "x$XMLTO" = "x"; then
   17566         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto not found - documentation targets will be skipped" >&5
   17567 $as_echo "$as_me: WARNING: xmlto not found - documentation targets will be skipped" >&2;}
   17568 	have_xmlto=no
   17569    else
   17570         have_xmlto=yes
   17571    fi
   17572 elif test "x$use_xmlto" = x"yes" ; then
   17573    # Extract the first word of "xmlto", so it can be a program name with args.
   17574 set dummy xmlto; ac_word=$2
   17575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17576 $as_echo_n "checking for $ac_word... " >&6; }
   17577 if ${ac_cv_path_XMLTO+:} false; then :
   17578   $as_echo_n "(cached) " >&6
   17579 else
   17580   case $XMLTO in
   17581   [\\/]* | ?:[\\/]*)
   17582   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   17583   ;;
   17584   *)
   17585   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17586 for as_dir in $PATH
   17587 do
   17588   IFS=$as_save_IFS
   17589   test -z "$as_dir" && as_dir=.
   17590     for ac_exec_ext in '' $ac_executable_extensions; do
   17591   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   17592     ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
   17593     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   17594     break 2
   17595   fi
   17596 done
   17597   done
   17598 IFS=$as_save_IFS
   17599 
   17600   ;;
   17601 esac
   17602 fi
   17603 XMLTO=$ac_cv_path_XMLTO
   17604 if test -n "$XMLTO"; then
   17605   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   17606 $as_echo "$XMLTO" >&6; }
   17607 else
   17608   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17609 $as_echo "no" >&6; }
   17610 fi
   17611 
   17612 
   17613    if test "x$XMLTO" = "x"; then
   17614         as_fn_error $? "--with-xmlto=yes specified but xmlto not found in PATH" "$LINENO" 5
   17615    fi
   17616    have_xmlto=yes
   17617 elif test "x$use_xmlto" = x"no" ; then
   17618    if test "x$XMLTO" != "x"; then
   17619       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&5
   17620 $as_echo "$as_me: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&2;}
   17621    fi
   17622    have_xmlto=no
   17623 else
   17624    as_fn_error $? "--with-xmlto expects 'yes' or 'no'" "$LINENO" 5
   17625 fi
   17626 
   17627 # Test for a minimum version of xmlto, if provided.
   17628 if test "$have_xmlto" = yes; then
   17629     # scrape the xmlto version
   17630     { $as_echo "$as_me:${as_lineno-$LINENO}: checking the xmlto version" >&5
   17631 $as_echo_n "checking the xmlto version... " >&6; }
   17632     xmlto_version=`$XMLTO --version 2>/dev/null | cut -d' ' -f3`
   17633     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xmlto_version" >&5
   17634 $as_echo "$xmlto_version" >&6; }
   17635     as_arg_v1=$xmlto_version
   17636 as_arg_v2=0.0.22
   17637 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
   17638 case $? in #(
   17639   1) :
   17640     if test "x$use_xmlto" = xauto; then
   17641             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&5
   17642 $as_echo "$as_me: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&2;}
   17643             have_xmlto=no
   17644         else
   17645             as_fn_error $? "xmlto version $xmlto_version found, but 0.0.22 needed" "$LINENO" 5
   17646         fi ;; #(
   17647   0) :
   17648      ;; #(
   17649   2) :
   17650      ;; #(
   17651   *) :
   17652      ;;
   17653 esac
   17654 fi
   17655 
   17656 # Test for the ability of xmlto to generate a text target
   17657 have_xmlto_text=no
   17658 cat > conftest.xml << "EOF"
   17659 EOF
   17660 if test "$have_xmlto" = yes; then :
   17661   if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1; then :
   17662   have_xmlto_text=yes
   17663 else
   17664   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto cannot generate text format, this format skipped" >&5
   17665 $as_echo "$as_me: WARNING: xmlto cannot generate text format, this format skipped" >&2;}
   17666 fi
   17667 fi
   17668 rm -f conftest.xml
   17669  if test $have_xmlto_text = yes; then
   17670   HAVE_XMLTO_TEXT_TRUE=
   17671   HAVE_XMLTO_TEXT_FALSE='#'
   17672 else
   17673   HAVE_XMLTO_TEXT_TRUE='#'
   17674   HAVE_XMLTO_TEXT_FALSE=
   17675 fi
   17676 
   17677  if test "$have_xmlto" = yes; then
   17678   HAVE_XMLTO_TRUE=
   17679   HAVE_XMLTO_FALSE='#'
   17680 else
   17681   HAVE_XMLTO_TRUE='#'
   17682   HAVE_XMLTO_FALSE=
   17683 fi
   17684 
   17685 
   17686 
   17687 
   17688 
   17689 
   17690 # Check whether --with-fop was given.
   17691 if test "${with_fop+set}" = set; then :
   17692   withval=$with_fop; use_fop=$withval
   17693 else
   17694   use_fop=auto
   17695 fi
   17696 
   17697 
   17698 
   17699 if test "x$use_fop" = x"auto"; then
   17700    # Extract the first word of "fop", so it can be a program name with args.
   17701 set dummy fop; ac_word=$2
   17702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17703 $as_echo_n "checking for $ac_word... " >&6; }
   17704 if ${ac_cv_path_FOP+:} false; then :
   17705   $as_echo_n "(cached) " >&6
   17706 else
   17707   case $FOP in
   17708   [\\/]* | ?:[\\/]*)
   17709   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   17710   ;;
   17711   *)
   17712   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17713 for as_dir in $PATH
   17714 do
   17715   IFS=$as_save_IFS
   17716   test -z "$as_dir" && as_dir=.
   17717     for ac_exec_ext in '' $ac_executable_extensions; do
   17718   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   17719     ac_cv_path_FOP="$as_dir/$ac_word$ac_exec_ext"
   17720     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   17721     break 2
   17722   fi
   17723 done
   17724   done
   17725 IFS=$as_save_IFS
   17726 
   17727   ;;
   17728 esac
   17729 fi
   17730 FOP=$ac_cv_path_FOP
   17731 if test -n "$FOP"; then
   17732   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   17733 $as_echo "$FOP" >&6; }
   17734 else
   17735   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17736 $as_echo "no" >&6; }
   17737 fi
   17738 
   17739 
   17740    if test "x$FOP" = "x"; then
   17741         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: fop not found - documentation targets will be skipped" >&5
   17742 $as_echo "$as_me: WARNING: fop not found - documentation targets will be skipped" >&2;}
   17743 	have_fop=no
   17744    else
   17745         have_fop=yes
   17746    fi
   17747 elif test "x$use_fop" = x"yes" ; then
   17748    # Extract the first word of "fop", so it can be a program name with args.
   17749 set dummy fop; ac_word=$2
   17750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17751 $as_echo_n "checking for $ac_word... " >&6; }
   17752 if ${ac_cv_path_FOP+:} false; then :
   17753   $as_echo_n "(cached) " >&6
   17754 else
   17755   case $FOP in
   17756   [\\/]* | ?:[\\/]*)
   17757   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   17758   ;;
   17759   *)
   17760   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17761 for as_dir in $PATH
   17762 do
   17763   IFS=$as_save_IFS
   17764   test -z "$as_dir" && as_dir=.
   17765     for ac_exec_ext in '' $ac_executable_extensions; do
   17766   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   17767     ac_cv_path_FOP="$as_dir/$ac_word$ac_exec_ext"
   17768     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   17769     break 2
   17770   fi
   17771 done
   17772   done
   17773 IFS=$as_save_IFS
   17774 
   17775   ;;
   17776 esac
   17777 fi
   17778 FOP=$ac_cv_path_FOP
   17779 if test -n "$FOP"; then
   17780   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   17781 $as_echo "$FOP" >&6; }
   17782 else
   17783   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17784 $as_echo "no" >&6; }
   17785 fi
   17786 
   17787 
   17788    if test "x$FOP" = "x"; then
   17789         as_fn_error $? "--with-fop=yes specified but fop not found in PATH" "$LINENO" 5
   17790    fi
   17791    have_fop=yes
   17792 elif test "x$use_fop" = x"no" ; then
   17793    if test "x$FOP" != "x"; then
   17794       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&5
   17795 $as_echo "$as_me: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&2;}
   17796    fi
   17797    have_fop=no
   17798 else
   17799    as_fn_error $? "--with-fop expects 'yes' or 'no'" "$LINENO" 5
   17800 fi
   17801 
   17802 # Test for a minimum version of fop, if provided.
   17803 
   17804  if test "$have_fop" = yes; then
   17805   HAVE_FOP_TRUE=
   17806   HAVE_FOP_FALSE='#'
   17807 else
   17808   HAVE_FOP_TRUE='#'
   17809   HAVE_FOP_FALSE=
   17810 fi
   17811 
   17812 
   17813 
   17814 
   17815 # Preserves the interface, should it be implemented later
   17816 
   17817 
   17818 
   17819 # Check whether --with-xsltproc was given.
   17820 if test "${with_xsltproc+set}" = set; then :
   17821   withval=$with_xsltproc; use_xsltproc=$withval
   17822 else
   17823   use_xsltproc=auto
   17824 fi
   17825 
   17826 
   17827 
   17828 if test "x$use_xsltproc" = x"auto"; then
   17829    # Extract the first word of "xsltproc", so it can be a program name with args.
   17830 set dummy xsltproc; ac_word=$2
   17831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17832 $as_echo_n "checking for $ac_word... " >&6; }
   17833 if ${ac_cv_path_XSLTPROC+:} false; then :
   17834   $as_echo_n "(cached) " >&6
   17835 else
   17836   case $XSLTPROC in
   17837   [\\/]* | ?:[\\/]*)
   17838   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   17839   ;;
   17840   *)
   17841   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17842 for as_dir in $PATH
   17843 do
   17844   IFS=$as_save_IFS
   17845   test -z "$as_dir" && as_dir=.
   17846     for ac_exec_ext in '' $ac_executable_extensions; do
   17847   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   17848     ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
   17849     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   17850     break 2
   17851   fi
   17852 done
   17853   done
   17854 IFS=$as_save_IFS
   17855 
   17856   ;;
   17857 esac
   17858 fi
   17859 XSLTPROC=$ac_cv_path_XSLTPROC
   17860 if test -n "$XSLTPROC"; then
   17861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   17862 $as_echo "$XSLTPROC" >&6; }
   17863 else
   17864   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17865 $as_echo "no" >&6; }
   17866 fi
   17867 
   17868 
   17869    if test "x$XSLTPROC" = "x"; then
   17870         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xsltproc not found - cannot transform XML documents" >&5
   17871 $as_echo "$as_me: WARNING: xsltproc not found - cannot transform XML documents" >&2;}
   17872 	have_xsltproc=no
   17873    else
   17874         have_xsltproc=yes
   17875    fi
   17876 elif test "x$use_xsltproc" = x"yes" ; then
   17877    # Extract the first word of "xsltproc", so it can be a program name with args.
   17878 set dummy xsltproc; ac_word=$2
   17879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17880 $as_echo_n "checking for $ac_word... " >&6; }
   17881 if ${ac_cv_path_XSLTPROC+:} false; then :
   17882   $as_echo_n "(cached) " >&6
   17883 else
   17884   case $XSLTPROC in
   17885   [\\/]* | ?:[\\/]*)
   17886   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   17887   ;;
   17888   *)
   17889   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17890 for as_dir in $PATH
   17891 do
   17892   IFS=$as_save_IFS
   17893   test -z "$as_dir" && as_dir=.
   17894     for ac_exec_ext in '' $ac_executable_extensions; do
   17895   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   17896     ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
   17897     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   17898     break 2
   17899   fi
   17900 done
   17901   done
   17902 IFS=$as_save_IFS
   17903 
   17904   ;;
   17905 esac
   17906 fi
   17907 XSLTPROC=$ac_cv_path_XSLTPROC
   17908 if test -n "$XSLTPROC"; then
   17909   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   17910 $as_echo "$XSLTPROC" >&6; }
   17911 else
   17912   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17913 $as_echo "no" >&6; }
   17914 fi
   17915 
   17916 
   17917    if test "x$XSLTPROC" = "x"; then
   17918         as_fn_error $? "--with-xsltproc=yes specified but xsltproc not found in PATH" "$LINENO" 5
   17919    fi
   17920    have_xsltproc=yes
   17921 elif test "x$use_xsltproc" = x"no" ; then
   17922    if test "x$XSLTPROC" != "x"; then
   17923       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&5
   17924 $as_echo "$as_me: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&2;}
   17925    fi
   17926    have_xsltproc=no
   17927 else
   17928    as_fn_error $? "--with-xsltproc expects 'yes' or 'no'" "$LINENO" 5
   17929 fi
   17930 
   17931  if test "$have_xsltproc" = yes; then
   17932   HAVE_XSLTPROC_TRUE=
   17933   HAVE_XSLTPROC_FALSE='#'
   17934 else
   17935   HAVE_XSLTPROC_TRUE='#'
   17936   HAVE_XSLTPROC_FALSE=
   17937 fi
   17938 
   17939 
   17940 
   17941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X.Org SGML entities >= 1.8" >&5
   17942 $as_echo_n "checking for X.Org SGML entities >= 1.8... " >&6; }
   17943 XORG_SGML_PATH=
   17944 if test -n "$PKG_CONFIG" && \
   17945     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-sgml-doctools >= 1.8\""; } >&5
   17946   ($PKG_CONFIG --exists --print-errors "xorg-sgml-doctools >= 1.8") 2>&5
   17947   ac_status=$?
   17948   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17949   test $ac_status = 0; }; then
   17950   XORG_SGML_PATH=`$PKG_CONFIG --variable=sgmlrootdir xorg-sgml-doctools`
   17951 else
   17952   :
   17953 
   17954 fi
   17955 
   17956 # Define variables STYLESHEET_SRCDIR and XSL_STYLESHEET containing
   17957 # the path and the name of the doc stylesheet
   17958 if test "x$XORG_SGML_PATH" != "x" ; then
   17959    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XORG_SGML_PATH" >&5
   17960 $as_echo "$XORG_SGML_PATH" >&6; }
   17961    STYLESHEET_SRCDIR=$XORG_SGML_PATH/X11
   17962    XSL_STYLESHEET=$STYLESHEET_SRCDIR/xorg.xsl
   17963 else
   17964    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17965 $as_echo "no" >&6; }
   17966 fi
   17967 
   17968 
   17969 
   17970 
   17971  if test "x$XSL_STYLESHEET" != "x"; then
   17972   HAVE_STYLESHEETS_TRUE=
   17973   HAVE_STYLESHEETS_FALSE='#'
   17974 else
   17975   HAVE_STYLESHEETS_TRUE='#'
   17976   HAVE_STYLESHEETS_FALSE=
   17977 fi
   17978 
   17979 
   17980 
   17981 # Obtain compiler/linker options for depedencies
   17982 
   17983 pkg_failed=no
   17984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ICE" >&5
   17985 $as_echo_n "checking for ICE... " >&6; }
   17986 
   17987 if test -n "$ICE_CFLAGS"; then
   17988     pkg_cv_ICE_CFLAGS="$ICE_CFLAGS"
   17989  elif test -n "$PKG_CONFIG"; then
   17990     if test -n "$PKG_CONFIG" && \
   17991     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto xtrans\""; } >&5
   17992   ($PKG_CONFIG --exists --print-errors "xproto xtrans") 2>&5
   17993   ac_status=$?
   17994   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17995   test $ac_status = 0; }; then
   17996   pkg_cv_ICE_CFLAGS=`$PKG_CONFIG --cflags "xproto xtrans" 2>/dev/null`
   17997 else
   17998   pkg_failed=yes
   17999 fi
   18000  else
   18001     pkg_failed=untried
   18002 fi
   18003 if test -n "$ICE_LIBS"; then
   18004     pkg_cv_ICE_LIBS="$ICE_LIBS"
   18005  elif test -n "$PKG_CONFIG"; then
   18006     if test -n "$PKG_CONFIG" && \
   18007     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto xtrans\""; } >&5
   18008   ($PKG_CONFIG --exists --print-errors "xproto xtrans") 2>&5
   18009   ac_status=$?
   18010   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18011   test $ac_status = 0; }; then
   18012   pkg_cv_ICE_LIBS=`$PKG_CONFIG --libs "xproto xtrans" 2>/dev/null`
   18013 else
   18014   pkg_failed=yes
   18015 fi
   18016  else
   18017     pkg_failed=untried
   18018 fi
   18019 
   18020 
   18021 
   18022 if test $pkg_failed = yes; then
   18023 
   18024 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18025         _pkg_short_errors_supported=yes
   18026 else
   18027         _pkg_short_errors_supported=no
   18028 fi
   18029         if test $_pkg_short_errors_supported = yes; then
   18030 	        ICE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xproto xtrans" 2>&1`
   18031         else
   18032 	        ICE_PKG_ERRORS=`$PKG_CONFIG --print-errors "xproto xtrans" 2>&1`
   18033         fi
   18034 	# Put the nasty error message in config.log where it belongs
   18035 	echo "$ICE_PKG_ERRORS" >&5
   18036 
   18037 	as_fn_error $? "Package requirements (xproto xtrans) were not met:
   18038 
   18039 $ICE_PKG_ERRORS
   18040 
   18041 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18042 installed software in a non-standard prefix.
   18043 
   18044 Alternatively, you may set the environment variables ICE_CFLAGS
   18045 and ICE_LIBS to avoid the need to call pkg-config.
   18046 See the pkg-config man page for more details.
   18047 " "$LINENO" 5
   18048 elif test $pkg_failed = untried; then
   18049 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18050 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18051 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18052 is in your PATH or set the PKG_CONFIG environment variable to the full
   18053 path to pkg-config.
   18054 
   18055 Alternatively, you may set the environment variables ICE_CFLAGS
   18056 and ICE_LIBS to avoid the need to call pkg-config.
   18057 See the pkg-config man page for more details.
   18058 
   18059 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18060 See \`config.log' for more details" "$LINENO" 5; }
   18061 else
   18062 	ICE_CFLAGS=$pkg_cv_ICE_CFLAGS
   18063 	ICE_LIBS=$pkg_cv_ICE_LIBS
   18064         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18065 $as_echo "yes" >&6; }
   18066 	:
   18067 fi
   18068 
   18069 # Transport selection macro from xtrans.m4
   18070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
   18071 $as_echo_n "checking return type of signal handlers... " >&6; }
   18072 if ${ac_cv_type_signal+:} false; then :
   18073   $as_echo_n "(cached) " >&6
   18074 else
   18075   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18076 /* end confdefs.h.  */
   18077 #include <sys/types.h>
   18078 #include <signal.h>
   18079 
   18080 int
   18081 main ()
   18082 {
   18083 return *(signal (0, 0)) (0) == 1;
   18084   ;
   18085   return 0;
   18086 }
   18087 _ACEOF
   18088 if ac_fn_c_try_compile "$LINENO"; then :
   18089   ac_cv_type_signal=int
   18090 else
   18091   ac_cv_type_signal=void
   18092 fi
   18093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18094 fi
   18095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
   18096 $as_echo "$ac_cv_type_signal" >&6; }
   18097 
   18098 cat >>confdefs.h <<_ACEOF
   18099 #define RETSIGTYPE $ac_cv_type_signal
   18100 _ACEOF
   18101 
   18102 
   18103 
   18104 
   18105 
   18106  case $host_os in
   18107 	mingw*)	unixdef="no"   ;;
   18108 	*)	unixdef="yes"  ;;
   18109  esac
   18110  # Check whether --enable-unix-transport was given.
   18111 if test "${enable_unix_transport+set}" = set; then :
   18112   enableval=$enable_unix_transport; UNIXCONN=$enableval
   18113 else
   18114   UNIXCONN=$unixdef
   18115 fi
   18116 
   18117  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support UNIX socket connections" >&5
   18118 $as_echo_n "checking if Xtrans should support UNIX socket connections... " >&6; }
   18119  if test "$UNIXCONN" = "yes"; then
   18120 
   18121 $as_echo "#define UNIXCONN 1" >>confdefs.h
   18122 
   18123  fi
   18124  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIXCONN" >&5
   18125 $as_echo "$UNIXCONN" >&6; }
   18126  # Check whether --enable-tcp-transport was given.
   18127 if test "${enable_tcp_transport+set}" = set; then :
   18128   enableval=$enable_tcp_transport; TCPCONN=$enableval
   18129 else
   18130   TCPCONN=yes
   18131 fi
   18132 
   18133  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support TCP socket connections" >&5
   18134 $as_echo_n "checking if Xtrans should support TCP socket connections... " >&6; }
   18135  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCPCONN" >&5
   18136 $as_echo "$TCPCONN" >&6; }
   18137  if test "$TCPCONN" = "yes"; then
   18138 
   18139 $as_echo "#define TCPCONN 1" >>confdefs.h
   18140 
   18141 
   18142  # SVR4 hides these in libraries other than libc
   18143  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
   18144 $as_echo_n "checking for library containing socket... " >&6; }
   18145 if ${ac_cv_search_socket+:} false; then :
   18146   $as_echo_n "(cached) " >&6
   18147 else
   18148   ac_func_search_save_LIBS=$LIBS
   18149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18150 /* end confdefs.h.  */
   18151 
   18152 /* Override any GCC internal prototype to avoid an error.
   18153    Use char because int might match the return type of a GCC
   18154    builtin and then its argument prototype would still apply.  */
   18155 #ifdef __cplusplus
   18156 extern "C"
   18157 #endif
   18158 char socket ();
   18159 int
   18160 main ()
   18161 {
   18162 return socket ();
   18163   ;
   18164   return 0;
   18165 }
   18166 _ACEOF
   18167 for ac_lib in '' socket; do
   18168   if test -z "$ac_lib"; then
   18169     ac_res="none required"
   18170   else
   18171     ac_res=-l$ac_lib
   18172     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   18173   fi
   18174   if ac_fn_c_try_link "$LINENO"; then :
   18175   ac_cv_search_socket=$ac_res
   18176 fi
   18177 rm -f core conftest.err conftest.$ac_objext \
   18178     conftest$ac_exeext
   18179   if ${ac_cv_search_socket+:} false; then :
   18180   break
   18181 fi
   18182 done
   18183 if ${ac_cv_search_socket+:} false; then :
   18184 
   18185 else
   18186   ac_cv_search_socket=no
   18187 fi
   18188 rm conftest.$ac_ext
   18189 LIBS=$ac_func_search_save_LIBS
   18190 fi
   18191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
   18192 $as_echo "$ac_cv_search_socket" >&6; }
   18193 ac_res=$ac_cv_search_socket
   18194 if test "$ac_res" != no; then :
   18195   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   18196 
   18197 fi
   18198 
   18199  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
   18200 $as_echo_n "checking for library containing gethostbyname... " >&6; }
   18201 if ${ac_cv_search_gethostbyname+:} false; then :
   18202   $as_echo_n "(cached) " >&6
   18203 else
   18204   ac_func_search_save_LIBS=$LIBS
   18205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18206 /* end confdefs.h.  */
   18207 
   18208 /* Override any GCC internal prototype to avoid an error.
   18209    Use char because int might match the return type of a GCC
   18210    builtin and then its argument prototype would still apply.  */
   18211 #ifdef __cplusplus
   18212 extern "C"
   18213 #endif
   18214 char gethostbyname ();
   18215 int
   18216 main ()
   18217 {
   18218 return gethostbyname ();
   18219   ;
   18220   return 0;
   18221 }
   18222 _ACEOF
   18223 for ac_lib in '' nsl; do
   18224   if test -z "$ac_lib"; then
   18225     ac_res="none required"
   18226   else
   18227     ac_res=-l$ac_lib
   18228     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   18229   fi
   18230   if ac_fn_c_try_link "$LINENO"; then :
   18231   ac_cv_search_gethostbyname=$ac_res
   18232 fi
   18233 rm -f core conftest.err conftest.$ac_objext \
   18234     conftest$ac_exeext
   18235   if ${ac_cv_search_gethostbyname+:} false; then :
   18236   break
   18237 fi
   18238 done
   18239 if ${ac_cv_search_gethostbyname+:} false; then :
   18240 
   18241 else
   18242   ac_cv_search_gethostbyname=no
   18243 fi
   18244 rm conftest.$ac_ext
   18245 LIBS=$ac_func_search_save_LIBS
   18246 fi
   18247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
   18248 $as_echo "$ac_cv_search_gethostbyname" >&6; }
   18249 ac_res=$ac_cv_search_gethostbyname
   18250 if test "$ac_res" != no; then :
   18251   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   18252 
   18253 fi
   18254 
   18255  if test "$ac_cv_search_socket$ac_cv_search_gethostbyname" = "nono"; then
   18256    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lws2_32" >&5
   18257 $as_echo_n "checking for main in -lws2_32... " >&6; }
   18258 if ${ac_cv_lib_ws2_32_main+:} false; then :
   18259   $as_echo_n "(cached) " >&6
   18260 else
   18261   ac_check_lib_save_LIBS=$LIBS
   18262 LIBS="-lws2_32  $LIBS"
   18263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18264 /* end confdefs.h.  */
   18265 
   18266 
   18267 int
   18268 main ()
   18269 {
   18270 return main ();
   18271   ;
   18272   return 0;
   18273 }
   18274 _ACEOF
   18275 if ac_fn_c_try_link "$LINENO"; then :
   18276   ac_cv_lib_ws2_32_main=yes
   18277 else
   18278   ac_cv_lib_ws2_32_main=no
   18279 fi
   18280 rm -f core conftest.err conftest.$ac_objext \
   18281     conftest$ac_exeext conftest.$ac_ext
   18282 LIBS=$ac_check_lib_save_LIBS
   18283 fi
   18284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_main" >&5
   18285 $as_echo "$ac_cv_lib_ws2_32_main" >&6; }
   18286 if test "x$ac_cv_lib_ws2_32_main" = xyes; then :
   18287   cat >>confdefs.h <<_ACEOF
   18288 #define HAVE_LIBWS2_32 1
   18289 _ACEOF
   18290 
   18291   LIBS="-lws2_32 $LIBS"
   18292 
   18293 fi
   18294 ac_cv_lib_ws2_32=ac_cv_lib_ws2_32_main
   18295 
   18296  fi
   18297 
   18298  # Needs to come after above checks for libsocket & libnsl for SVR4 systems
   18299  # Check whether --enable-ipv6 was given.
   18300 if test "${enable_ipv6+set}" = set; then :
   18301   enableval=$enable_ipv6; IPV6CONN=$enableval
   18302 else
   18303   ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
   18304 if test "x$ac_cv_func_getaddrinfo" = xyes; then :
   18305   IPV6CONN=yes
   18306 else
   18307   IPV6CONN=no
   18308 fi
   18309 
   18310 fi
   18311 
   18312  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if IPv6 support should be built" >&5
   18313 $as_echo_n "checking if IPv6 support should be built... " >&6; }
   18314  if test "$IPV6CONN" = "yes"; then
   18315 
   18316 $as_echo "#define IPv6 1" >>confdefs.h
   18317 
   18318  fi
   18319  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPV6CONN" >&5
   18320 $as_echo "$IPV6CONN" >&6; }
   18321 
   18322  # 4.3BSD-Reno added a new member to struct sockaddr_in
   18323  ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "
   18324 #include <sys/types.h>
   18325 #include <sys/socket.h>
   18326 #include <netinet/in.h>
   18327 
   18328 "
   18329 if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
   18330 
   18331 $as_echo "#define BSD44SOCKETS 1" >>confdefs.h
   18332 
   18333 fi
   18334 
   18335 
   18336  # POSIX.1g changed the type of pointer passed to getsockname/getpeername/etc.
   18337  ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "
   18338 $ac_includes_default
   18339 #include <sys/socket.h>
   18340 "
   18341 if test "x$ac_cv_type_socklen_t" = xyes; then :
   18342 
   18343 cat >>confdefs.h <<_ACEOF
   18344 #define HAVE_SOCKLEN_T 1
   18345 _ACEOF
   18346 
   18347 
   18348 fi
   18349 
   18350 
   18351 
   18352  fi
   18353  case $host_os in
   18354 	solaris*|sco*|sysv4*)	localdef="yes" ;;
   18355 	*)			localdef="no"  ;;
   18356  esac
   18357  # Check whether --enable-local-transport was given.
   18358 if test "${enable_local_transport+set}" = set; then :
   18359   enableval=$enable_local_transport; LOCALCONN=$enableval
   18360 else
   18361   LOCALCONN=$localdef
   18362 fi
   18363 
   18364  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support os-specific local connections" >&5
   18365 $as_echo_n "checking if Xtrans should support os-specific local connections... " >&6; }
   18366  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOCALCONN" >&5
   18367 $as_echo "$LOCALCONN" >&6; }
   18368  if test "$LOCALCONN" = "yes"; then
   18369 
   18370 $as_echo "#define LOCALCONN 1" >>confdefs.h
   18371 
   18372  fi
   18373 
   18374 
   18375 
   18376 $as_echo "#define ICE_t 1" >>confdefs.h
   18377 
   18378 
   18379 # Checks for library functions.
   18380 for ac_func in asprintf
   18381 do :
   18382   ac_fn_c_check_func "$LINENO" "asprintf" "ac_cv_func_asprintf"
   18383 if test "x$ac_cv_func_asprintf" = xyes; then :
   18384   cat >>confdefs.h <<_ACEOF
   18385 #define HAVE_ASPRINTF 1
   18386 _ACEOF
   18387 
   18388 fi
   18389 done
   18390 
   18391 
   18392 # Allow checking code with lint, sparse, etc.
   18393 
   18394 
   18395 
   18396 
   18397 
   18398 # Check whether --with-lint was given.
   18399 if test "${with_lint+set}" = set; then :
   18400   withval=$with_lint; use_lint=$withval
   18401 else
   18402   use_lint=no
   18403 fi
   18404 
   18405 
   18406 # Obtain platform specific info like program name and options
   18407 # The lint program on FreeBSD and NetBSD is different from the one on Solaris
   18408 case $host_os in
   18409   *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
   18410 	lint_name=splint
   18411 	lint_options="-badflag"
   18412 	;;
   18413   *freebsd* | *netbsd*)
   18414 	lint_name=lint
   18415 	lint_options="-u -b"
   18416 	;;
   18417   *solaris*)
   18418 	lint_name=lint
   18419 	lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   18420 	;;
   18421 esac
   18422 
   18423 # Test for the presence of the program (either guessed by the code or spelled out by the user)
   18424 if test "x$use_lint" = x"yes" ; then
   18425    # Extract the first word of "$lint_name", so it can be a program name with args.
   18426 set dummy $lint_name; ac_word=$2
   18427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18428 $as_echo_n "checking for $ac_word... " >&6; }
   18429 if ${ac_cv_path_LINT+:} false; then :
   18430   $as_echo_n "(cached) " >&6
   18431 else
   18432   case $LINT in
   18433   [\\/]* | ?:[\\/]*)
   18434   ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
   18435   ;;
   18436   *)
   18437   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18438 for as_dir in $PATH
   18439 do
   18440   IFS=$as_save_IFS
   18441   test -z "$as_dir" && as_dir=.
   18442     for ac_exec_ext in '' $ac_executable_extensions; do
   18443   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   18444     ac_cv_path_LINT="$as_dir/$ac_word$ac_exec_ext"
   18445     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18446     break 2
   18447   fi
   18448 done
   18449   done
   18450 IFS=$as_save_IFS
   18451 
   18452   ;;
   18453 esac
   18454 fi
   18455 LINT=$ac_cv_path_LINT
   18456 if test -n "$LINT"; then
   18457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
   18458 $as_echo "$LINT" >&6; }
   18459 else
   18460   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18461 $as_echo "no" >&6; }
   18462 fi
   18463 
   18464 
   18465    if test "x$LINT" = "x"; then
   18466         as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
   18467    fi
   18468 elif test "x$use_lint" = x"no" ; then
   18469    if test "x$LINT" != "x"; then
   18470       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
   18471 $as_echo "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
   18472    fi
   18473 else
   18474    as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
   18475 fi
   18476 
   18477 # User supplied flags override default flags
   18478 if test "x$LINT_FLAGS" != "x"; then
   18479    lint_options=$LINT_FLAGS
   18480 fi
   18481 
   18482 LINT_FLAGS=$lint_options
   18483 
   18484  if test "x$LINT" != x; then
   18485   LINT_TRUE=
   18486   LINT_FALSE='#'
   18487 else
   18488   LINT_TRUE='#'
   18489   LINT_FALSE=
   18490 fi
   18491 
   18492 
   18493 
   18494 
   18495 
   18496 # Check whether --enable-lint-library was given.
   18497 if test "${enable_lint_library+set}" = set; then :
   18498   enableval=$enable_lint_library; make_lint_lib=$enableval
   18499 else
   18500   make_lint_lib=no
   18501 fi
   18502 
   18503 
   18504 if test "x$make_lint_lib" = x"yes" ; then
   18505    LINTLIB=llib-lICE.ln
   18506    if test "x$LINT" = "x"; then
   18507         as_fn_error $? "Cannot make lint library without --with-lint" "$LINENO" 5
   18508    fi
   18509 elif test "x$make_lint_lib" != x"no" ; then
   18510    as_fn_error $? "--enable-lint-library expects 'yes' or 'no'." "$LINENO" 5
   18511 fi
   18512 
   18513 
   18514  if test x$make_lint_lib != xno; then
   18515   MAKE_LINT_LIB_TRUE=
   18516   MAKE_LINT_LIB_FALSE='#'
   18517 else
   18518   MAKE_LINT_LIB_TRUE='#'
   18519   MAKE_LINT_LIB_FALSE=
   18520 fi
   18521 
   18522 
   18523 
   18524 LINT_FLAGS="${LINT_FLAGS} ${ICE_CFLAGS} ${XTRANS_CFLAGS}"
   18525 
   18526 ac_config_files="$ac_config_files Makefile doc/Makefile specs/Makefile src/Makefile ice.pc"
   18527 
   18528 cat >confcache <<\_ACEOF
   18529 # This file is a shell script that caches the results of configure
   18530 # tests run on this system so they can be shared between configure
   18531 # scripts and configure runs, see configure's option --config-cache.
   18532 # It is not useful on other systems.  If it contains results you don't
   18533 # want to keep, you may remove or edit it.
   18534 #
   18535 # config.status only pays attention to the cache file if you give it
   18536 # the --recheck option to rerun configure.
   18537 #
   18538 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   18539 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   18540 # following values.
   18541 
   18542 _ACEOF
   18543 
   18544 # The following way of writing the cache mishandles newlines in values,
   18545 # but we know of no workaround that is simple, portable, and efficient.
   18546 # So, we kill variables containing newlines.
   18547 # Ultrix sh set writes to stderr and can't be redirected directly,
   18548 # and sets the high bit in the cache file unless we assign to the vars.
   18549 (
   18550   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   18551     eval ac_val=\$$ac_var
   18552     case $ac_val in #(
   18553     *${as_nl}*)
   18554       case $ac_var in #(
   18555       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   18556 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   18557       esac
   18558       case $ac_var in #(
   18559       _ | IFS | as_nl) ;; #(
   18560       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   18561       *) { eval $ac_var=; unset $ac_var;} ;;
   18562       esac ;;
   18563     esac
   18564   done
   18565 
   18566   (set) 2>&1 |
   18567     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   18568     *${as_nl}ac_space=\ *)
   18569       # `set' does not quote correctly, so add quotes: double-quote
   18570       # substitution turns \\\\ into \\, and sed turns \\ into \.
   18571       sed -n \
   18572 	"s/'/'\\\\''/g;
   18573 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   18574       ;; #(
   18575     *)
   18576       # `set' quotes correctly as required by POSIX, so do not add quotes.
   18577       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   18578       ;;
   18579     esac |
   18580     sort
   18581 ) |
   18582   sed '
   18583      /^ac_cv_env_/b end
   18584      t clear
   18585      :clear
   18586      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   18587      t end
   18588      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   18589      :end' >>confcache
   18590 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   18591   if test -w "$cache_file"; then
   18592     if test "x$cache_file" != "x/dev/null"; then
   18593       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   18594 $as_echo "$as_me: updating cache $cache_file" >&6;}
   18595       if test ! -f "$cache_file" || test -h "$cache_file"; then
   18596 	cat confcache >"$cache_file"
   18597       else
   18598         case $cache_file in #(
   18599         */* | ?:*)
   18600 	  mv -f confcache "$cache_file"$$ &&
   18601 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   18602         *)
   18603 	  mv -f confcache "$cache_file" ;;
   18604 	esac
   18605       fi
   18606     fi
   18607   else
   18608     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   18609 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   18610   fi
   18611 fi
   18612 rm -f confcache
   18613 
   18614 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   18615 # Let make expand exec_prefix.
   18616 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   18617 
   18618 DEFS=-DHAVE_CONFIG_H
   18619 
   18620 ac_libobjs=
   18621 ac_ltlibobjs=
   18622 U=
   18623 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   18624   # 1. Remove the extension, and $U if already installed.
   18625   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   18626   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   18627   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   18628   #    will be set to the directory where LIBOBJS objects are built.
   18629   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   18630   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   18631 done
   18632 LIBOBJS=$ac_libobjs
   18633 
   18634 LTLIBOBJS=$ac_ltlibobjs
   18635 
   18636 
   18637 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   18638   as_fn_error $? "conditional \"AMDEP\" was never defined.
   18639 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18640 fi
   18641 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   18642   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   18643 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18644 fi
   18645  if test -n "$EXEEXT"; then
   18646   am__EXEEXT_TRUE=
   18647   am__EXEEXT_FALSE='#'
   18648 else
   18649   am__EXEEXT_TRUE='#'
   18650   am__EXEEXT_FALSE=
   18651 fi
   18652 
   18653 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   18654   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   18655 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18656 fi
   18657 if test -z "${ENABLE_DOCS_TRUE}" && test -z "${ENABLE_DOCS_FALSE}"; then
   18658   as_fn_error $? "conditional \"ENABLE_DOCS\" was never defined.
   18659 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18660 fi
   18661 if test -z "${ENABLE_SPECS_TRUE}" && test -z "${ENABLE_SPECS_FALSE}"; then
   18662   as_fn_error $? "conditional \"ENABLE_SPECS\" was never defined.
   18663 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18664 fi
   18665 if test -z "${HAVE_XMLTO_TEXT_TRUE}" && test -z "${HAVE_XMLTO_TEXT_FALSE}"; then
   18666   as_fn_error $? "conditional \"HAVE_XMLTO_TEXT\" was never defined.
   18667 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18668 fi
   18669 if test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then
   18670   as_fn_error $? "conditional \"HAVE_XMLTO\" was never defined.
   18671 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18672 fi
   18673 if test -z "${HAVE_FOP_TRUE}" && test -z "${HAVE_FOP_FALSE}"; then
   18674   as_fn_error $? "conditional \"HAVE_FOP\" was never defined.
   18675 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18676 fi
   18677 if test -z "${HAVE_XSLTPROC_TRUE}" && test -z "${HAVE_XSLTPROC_FALSE}"; then
   18678   as_fn_error $? "conditional \"HAVE_XSLTPROC\" was never defined.
   18679 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18680 fi
   18681 if test -z "${HAVE_STYLESHEETS_TRUE}" && test -z "${HAVE_STYLESHEETS_FALSE}"; then
   18682   as_fn_error $? "conditional \"HAVE_STYLESHEETS\" was never defined.
   18683 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18684 fi
   18685 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   18686   as_fn_error $? "conditional \"LINT\" was never defined.
   18687 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18688 fi
   18689 if test -z "${MAKE_LINT_LIB_TRUE}" && test -z "${MAKE_LINT_LIB_FALSE}"; then
   18690   as_fn_error $? "conditional \"MAKE_LINT_LIB\" was never defined.
   18691 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18692 fi
   18693 
   18694 : "${CONFIG_STATUS=./config.status}"
   18695 ac_write_fail=0
   18696 ac_clean_files_save=$ac_clean_files
   18697 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   18698 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   18699 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   18700 as_write_fail=0
   18701 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   18702 #! $SHELL
   18703 # Generated by $as_me.
   18704 # Run this file to recreate the current configuration.
   18705 # Compiler output produced by configure, useful for debugging
   18706 # configure, is in config.log if it exists.
   18707 
   18708 debug=false
   18709 ac_cs_recheck=false
   18710 ac_cs_silent=false
   18711 
   18712 SHELL=\${CONFIG_SHELL-$SHELL}
   18713 export SHELL
   18714 _ASEOF
   18715 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   18716 ## -------------------- ##
   18717 ## M4sh Initialization. ##
   18718 ## -------------------- ##
   18719 
   18720 # Be more Bourne compatible
   18721 DUALCASE=1; export DUALCASE # for MKS sh
   18722 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   18723   emulate sh
   18724   NULLCMD=:
   18725   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   18726   # is contrary to our usage.  Disable this feature.
   18727   alias -g '${1+"$@"}'='"$@"'
   18728   setopt NO_GLOB_SUBST
   18729 else
   18730   case `(set -o) 2>/dev/null` in #(
   18731   *posix*) :
   18732     set -o posix ;; #(
   18733   *) :
   18734      ;;
   18735 esac
   18736 fi
   18737 
   18738 
   18739 as_nl='
   18740 '
   18741 export as_nl
   18742 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   18743 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   18744 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   18745 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   18746 # Prefer a ksh shell builtin over an external printf program on Solaris,
   18747 # but without wasting forks for bash or zsh.
   18748 if test -z "$BASH_VERSION$ZSH_VERSION" \
   18749     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   18750   as_echo='print -r --'
   18751   as_echo_n='print -rn --'
   18752 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   18753   as_echo='printf %s\n'
   18754   as_echo_n='printf %s'
   18755 else
   18756   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   18757     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   18758     as_echo_n='/usr/ucb/echo -n'
   18759   else
   18760     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   18761     as_echo_n_body='eval
   18762       arg=$1;
   18763       case $arg in #(
   18764       *"$as_nl"*)
   18765 	expr "X$arg" : "X\\(.*\\)$as_nl";
   18766 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   18767       esac;
   18768       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   18769     '
   18770     export as_echo_n_body
   18771     as_echo_n='sh -c $as_echo_n_body as_echo'
   18772   fi
   18773   export as_echo_body
   18774   as_echo='sh -c $as_echo_body as_echo'
   18775 fi
   18776 
   18777 # The user is always right.
   18778 if test "${PATH_SEPARATOR+set}" != set; then
   18779   PATH_SEPARATOR=:
   18780   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   18781     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   18782       PATH_SEPARATOR=';'
   18783   }
   18784 fi
   18785 
   18786 
   18787 # IFS
   18788 # We need space, tab and new line, in precisely that order.  Quoting is
   18789 # there to prevent editors from complaining about space-tab.
   18790 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   18791 # splitting by setting IFS to empty value.)
   18792 IFS=" ""	$as_nl"
   18793 
   18794 # Find who we are.  Look in the path if we contain no directory separator.
   18795 as_myself=
   18796 case $0 in #((
   18797   *[\\/]* ) as_myself=$0 ;;
   18798   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18799 for as_dir in $PATH
   18800 do
   18801   IFS=$as_save_IFS
   18802   test -z "$as_dir" && as_dir=.
   18803     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   18804   done
   18805 IFS=$as_save_IFS
   18806 
   18807      ;;
   18808 esac
   18809 # We did not find ourselves, most probably we were run as `sh COMMAND'
   18810 # in which case we are not to be found in the path.
   18811 if test "x$as_myself" = x; then
   18812   as_myself=$0
   18813 fi
   18814 if test ! -f "$as_myself"; then
   18815   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   18816   exit 1
   18817 fi
   18818 
   18819 # Unset variables that we do not need and which cause bugs (e.g. in
   18820 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   18821 # suppresses any "Segmentation fault" message there.  '((' could
   18822 # trigger a bug in pdksh 5.2.14.
   18823 for as_var in BASH_ENV ENV MAIL MAILPATH
   18824 do eval test x\${$as_var+set} = xset \
   18825   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   18826 done
   18827 PS1='$ '
   18828 PS2='> '
   18829 PS4='+ '
   18830 
   18831 # NLS nuisances.
   18832 LC_ALL=C
   18833 export LC_ALL
   18834 LANGUAGE=C
   18835 export LANGUAGE
   18836 
   18837 # CDPATH.
   18838 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18839 
   18840 
   18841 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   18842 # ----------------------------------------
   18843 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   18844 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   18845 # script with STATUS, using 1 if that was 0.
   18846 as_fn_error ()
   18847 {
   18848   as_status=$1; test $as_status -eq 0 && as_status=1
   18849   if test "$4"; then
   18850     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   18851     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   18852   fi
   18853   $as_echo "$as_me: error: $2" >&2
   18854   as_fn_exit $as_status
   18855 } # as_fn_error
   18856 
   18857 
   18858 # as_fn_set_status STATUS
   18859 # -----------------------
   18860 # Set $? to STATUS, without forking.
   18861 as_fn_set_status ()
   18862 {
   18863   return $1
   18864 } # as_fn_set_status
   18865 
   18866 # as_fn_exit STATUS
   18867 # -----------------
   18868 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   18869 as_fn_exit ()
   18870 {
   18871   set +e
   18872   as_fn_set_status $1
   18873   exit $1
   18874 } # as_fn_exit
   18875 
   18876 # as_fn_unset VAR
   18877 # ---------------
   18878 # Portably unset VAR.
   18879 as_fn_unset ()
   18880 {
   18881   { eval $1=; unset $1;}
   18882 }
   18883 as_unset=as_fn_unset
   18884 # as_fn_append VAR VALUE
   18885 # ----------------------
   18886 # Append the text in VALUE to the end of the definition contained in VAR. Take
   18887 # advantage of any shell optimizations that allow amortized linear growth over
   18888 # repeated appends, instead of the typical quadratic growth present in naive
   18889 # implementations.
   18890 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   18891   eval 'as_fn_append ()
   18892   {
   18893     eval $1+=\$2
   18894   }'
   18895 else
   18896   as_fn_append ()
   18897   {
   18898     eval $1=\$$1\$2
   18899   }
   18900 fi # as_fn_append
   18901 
   18902 # as_fn_arith ARG...
   18903 # ------------------
   18904 # Perform arithmetic evaluation on the ARGs, and store the result in the
   18905 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   18906 # must be portable across $(()) and expr.
   18907 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   18908   eval 'as_fn_arith ()
   18909   {
   18910     as_val=$(( $* ))
   18911   }'
   18912 else
   18913   as_fn_arith ()
   18914   {
   18915     as_val=`expr "$@" || test $? -eq 1`
   18916   }
   18917 fi # as_fn_arith
   18918 
   18919 
   18920 if expr a : '\(a\)' >/dev/null 2>&1 &&
   18921    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   18922   as_expr=expr
   18923 else
   18924   as_expr=false
   18925 fi
   18926 
   18927 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   18928   as_basename=basename
   18929 else
   18930   as_basename=false
   18931 fi
   18932 
   18933 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   18934   as_dirname=dirname
   18935 else
   18936   as_dirname=false
   18937 fi
   18938 
   18939 as_me=`$as_basename -- "$0" ||
   18940 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   18941 	 X"$0" : 'X\(//\)$' \| \
   18942 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   18943 $as_echo X/"$0" |
   18944     sed '/^.*\/\([^/][^/]*\)\/*$/{
   18945 	    s//\1/
   18946 	    q
   18947 	  }
   18948 	  /^X\/\(\/\/\)$/{
   18949 	    s//\1/
   18950 	    q
   18951 	  }
   18952 	  /^X\/\(\/\).*/{
   18953 	    s//\1/
   18954 	    q
   18955 	  }
   18956 	  s/.*/./; q'`
   18957 
   18958 # Avoid depending upon Character Ranges.
   18959 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   18960 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   18961 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   18962 as_cr_digits='0123456789'
   18963 as_cr_alnum=$as_cr_Letters$as_cr_digits
   18964 
   18965 ECHO_C= ECHO_N= ECHO_T=
   18966 case `echo -n x` in #(((((
   18967 -n*)
   18968   case `echo 'xy\c'` in
   18969   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   18970   xy)  ECHO_C='\c';;
   18971   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   18972        ECHO_T='	';;
   18973   esac;;
   18974 *)
   18975   ECHO_N='-n';;
   18976 esac
   18977 
   18978 rm -f conf$$ conf$$.exe conf$$.file
   18979 if test -d conf$$.dir; then
   18980   rm -f conf$$.dir/conf$$.file
   18981 else
   18982   rm -f conf$$.dir
   18983   mkdir conf$$.dir 2>/dev/null
   18984 fi
   18985 if (echo >conf$$.file) 2>/dev/null; then
   18986   if ln -s conf$$.file conf$$ 2>/dev/null; then
   18987     as_ln_s='ln -s'
   18988     # ... but there are two gotchas:
   18989     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   18990     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   18991     # In both cases, we have to default to `cp -p'.
   18992     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   18993       as_ln_s='cp -p'
   18994   elif ln conf$$.file conf$$ 2>/dev/null; then
   18995     as_ln_s=ln
   18996   else
   18997     as_ln_s='cp -p'
   18998   fi
   18999 else
   19000   as_ln_s='cp -p'
   19001 fi
   19002 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   19003 rmdir conf$$.dir 2>/dev/null
   19004 
   19005 
   19006 # as_fn_mkdir_p
   19007 # -------------
   19008 # Create "$as_dir" as a directory, including parents if necessary.
   19009 as_fn_mkdir_p ()
   19010 {
   19011 
   19012   case $as_dir in #(
   19013   -*) as_dir=./$as_dir;;
   19014   esac
   19015   test -d "$as_dir" || eval $as_mkdir_p || {
   19016     as_dirs=
   19017     while :; do
   19018       case $as_dir in #(
   19019       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   19020       *) as_qdir=$as_dir;;
   19021       esac
   19022       as_dirs="'$as_qdir' $as_dirs"
   19023       as_dir=`$as_dirname -- "$as_dir" ||
   19024 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19025 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   19026 	 X"$as_dir" : 'X\(//\)$' \| \
   19027 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   19028 $as_echo X"$as_dir" |
   19029     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19030 	    s//\1/
   19031 	    q
   19032 	  }
   19033 	  /^X\(\/\/\)[^/].*/{
   19034 	    s//\1/
   19035 	    q
   19036 	  }
   19037 	  /^X\(\/\/\)$/{
   19038 	    s//\1/
   19039 	    q
   19040 	  }
   19041 	  /^X\(\/\).*/{
   19042 	    s//\1/
   19043 	    q
   19044 	  }
   19045 	  s/.*/./; q'`
   19046       test -d "$as_dir" && break
   19047     done
   19048     test -z "$as_dirs" || eval "mkdir $as_dirs"
   19049   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   19050 
   19051 
   19052 } # as_fn_mkdir_p
   19053 if mkdir -p . 2>/dev/null; then
   19054   as_mkdir_p='mkdir -p "$as_dir"'
   19055 else
   19056   test -d ./-p && rmdir ./-p
   19057   as_mkdir_p=false
   19058 fi
   19059 
   19060 if test -x / >/dev/null 2>&1; then
   19061   as_test_x='test -x'
   19062 else
   19063   if ls -dL / >/dev/null 2>&1; then
   19064     as_ls_L_option=L
   19065   else
   19066     as_ls_L_option=
   19067   fi
   19068   as_test_x='
   19069     eval sh -c '\''
   19070       if test -d "$1"; then
   19071 	test -d "$1/.";
   19072       else
   19073 	case $1 in #(
   19074 	-*)set "./$1";;
   19075 	esac;
   19076 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   19077 	???[sx]*):;;*)false;;esac;fi
   19078     '\'' sh
   19079   '
   19080 fi
   19081 as_executable_p=$as_test_x
   19082 
   19083 # Sed expression to map a string onto a valid CPP name.
   19084 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   19085 
   19086 # Sed expression to map a string onto a valid variable name.
   19087 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   19088 
   19089 
   19090 exec 6>&1
   19091 ## ----------------------------------- ##
   19092 ## Main body of $CONFIG_STATUS script. ##
   19093 ## ----------------------------------- ##
   19094 _ASEOF
   19095 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   19096 
   19097 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19098 # Save the log message, to keep $0 and so on meaningful, and to
   19099 # report actual input values of CONFIG_FILES etc. instead of their
   19100 # values after options handling.
   19101 ac_log="
   19102 This file was extended by libICE $as_me 1.0.8, which was
   19103 generated by GNU Autoconf 2.68.  Invocation command line was
   19104 
   19105   CONFIG_FILES    = $CONFIG_FILES
   19106   CONFIG_HEADERS  = $CONFIG_HEADERS
   19107   CONFIG_LINKS    = $CONFIG_LINKS
   19108   CONFIG_COMMANDS = $CONFIG_COMMANDS
   19109   $ $0 $@
   19110 
   19111 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   19112 "
   19113 
   19114 _ACEOF
   19115 
   19116 case $ac_config_files in *"
   19117 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   19118 esac
   19119 
   19120 case $ac_config_headers in *"
   19121 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   19122 esac
   19123 
   19124 
   19125 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19126 # Files that config.status was made for.
   19127 config_files="$ac_config_files"
   19128 config_headers="$ac_config_headers"
   19129 config_commands="$ac_config_commands"
   19130 
   19131 _ACEOF
   19132 
   19133 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19134 ac_cs_usage="\
   19135 \`$as_me' instantiates files and other configuration actions
   19136 from templates according to the current configuration.  Unless the files
   19137 and actions are specified as TAGs, all are instantiated by default.
   19138 
   19139 Usage: $0 [OPTION]... [TAG]...
   19140 
   19141   -h, --help       print this help, then exit
   19142   -V, --version    print version number and configuration settings, then exit
   19143       --config     print configuration, then exit
   19144   -q, --quiet, --silent
   19145                    do not print progress messages
   19146   -d, --debug      don't remove temporary files
   19147       --recheck    update $as_me by reconfiguring in the same conditions
   19148       --file=FILE[:TEMPLATE]
   19149                    instantiate the configuration file FILE
   19150       --header=FILE[:TEMPLATE]
   19151                    instantiate the configuration header FILE
   19152 
   19153 Configuration files:
   19154 $config_files
   19155 
   19156 Configuration headers:
   19157 $config_headers
   19158 
   19159 Configuration commands:
   19160 $config_commands
   19161 
   19162 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   19163 
   19164 _ACEOF
   19165 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19166 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   19167 ac_cs_version="\\
   19168 libICE config.status 1.0.8
   19169 configured by $0, generated by GNU Autoconf 2.68,
   19170   with options \\"\$ac_cs_config\\"
   19171 
   19172 Copyright (C) 2010 Free Software Foundation, Inc.
   19173 This config.status script is free software; the Free Software Foundation
   19174 gives unlimited permission to copy, distribute and modify it."
   19175 
   19176 ac_pwd='$ac_pwd'
   19177 srcdir='$srcdir'
   19178 INSTALL='$INSTALL'
   19179 MKDIR_P='$MKDIR_P'
   19180 AWK='$AWK'
   19181 test -n "\$AWK" || AWK=awk
   19182 _ACEOF
   19183 
   19184 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19185 # The default lists apply if the user does not specify any file.
   19186 ac_need_defaults=:
   19187 while test $# != 0
   19188 do
   19189   case $1 in
   19190   --*=?*)
   19191     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   19192     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   19193     ac_shift=:
   19194     ;;
   19195   --*=)
   19196     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   19197     ac_optarg=
   19198     ac_shift=:
   19199     ;;
   19200   *)
   19201     ac_option=$1
   19202     ac_optarg=$2
   19203     ac_shift=shift
   19204     ;;
   19205   esac
   19206 
   19207   case $ac_option in
   19208   # Handling of the options.
   19209   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   19210     ac_cs_recheck=: ;;
   19211   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   19212     $as_echo "$ac_cs_version"; exit ;;
   19213   --config | --confi | --conf | --con | --co | --c )
   19214     $as_echo "$ac_cs_config"; exit ;;
   19215   --debug | --debu | --deb | --de | --d | -d )
   19216     debug=: ;;
   19217   --file | --fil | --fi | --f )
   19218     $ac_shift
   19219     case $ac_optarg in
   19220     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19221     '') as_fn_error $? "missing file argument" ;;
   19222     esac
   19223     as_fn_append CONFIG_FILES " '$ac_optarg'"
   19224     ac_need_defaults=false;;
   19225   --header | --heade | --head | --hea )
   19226     $ac_shift
   19227     case $ac_optarg in
   19228     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19229     esac
   19230     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   19231     ac_need_defaults=false;;
   19232   --he | --h)
   19233     # Conflict between --help and --header
   19234     as_fn_error $? "ambiguous option: \`$1'
   19235 Try \`$0 --help' for more information.";;
   19236   --help | --hel | -h )
   19237     $as_echo "$ac_cs_usage"; exit ;;
   19238   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   19239   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   19240     ac_cs_silent=: ;;
   19241 
   19242   # This is an error.
   19243   -*) as_fn_error $? "unrecognized option: \`$1'
   19244 Try \`$0 --help' for more information." ;;
   19245 
   19246   *) as_fn_append ac_config_targets " $1"
   19247      ac_need_defaults=false ;;
   19248 
   19249   esac
   19250   shift
   19251 done
   19252 
   19253 ac_configure_extra_args=
   19254 
   19255 if $ac_cs_silent; then
   19256   exec 6>/dev/null
   19257   ac_configure_extra_args="$ac_configure_extra_args --silent"
   19258 fi
   19259 
   19260 _ACEOF
   19261 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19262 if \$ac_cs_recheck; then
   19263   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   19264   shift
   19265   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   19266   CONFIG_SHELL='$SHELL'
   19267   export CONFIG_SHELL
   19268   exec "\$@"
   19269 fi
   19270 
   19271 _ACEOF
   19272 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19273 exec 5>>config.log
   19274 {
   19275   echo
   19276   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   19277 ## Running $as_me. ##
   19278 _ASBOX
   19279   $as_echo "$ac_log"
   19280 } >&5
   19281 
   19282 _ACEOF
   19283 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19284 #
   19285 # INIT-COMMANDS
   19286 #
   19287 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   19288 
   19289 
   19290 # The HP-UX ksh and POSIX shell print the target directory to stdout
   19291 # if CDPATH is set.
   19292 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   19293 
   19294 sed_quote_subst='$sed_quote_subst'
   19295 double_quote_subst='$double_quote_subst'
   19296 delay_variable_subst='$delay_variable_subst'
   19297 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   19298 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   19299 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   19300 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   19301 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   19302 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   19303 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   19304 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   19305 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   19306 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   19307 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   19308 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   19309 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   19310 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   19311 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   19312 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   19313 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   19314 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   19315 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   19316 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   19317 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   19318 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   19319 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   19320 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   19321 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   19322 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   19323 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   19324 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   19325 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   19326 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   19327 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   19328 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   19329 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   19330 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   19331 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   19332 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   19333 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   19334 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   19335 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   19336 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   19337 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   19338 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   19339 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   19340 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   19341 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   19342 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   19343 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   19344 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   19345 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   19346 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   19347 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   19348 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   19349 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   19350 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   19351 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   19352 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"`'
   19353 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   19354 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   19355 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   19356 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   19357 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   19358 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   19359 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   19360 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   19361 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   19362 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   19363 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   19364 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   19365 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   19366 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   19367 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   19368 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   19369 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   19370 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   19371 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   19372 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   19373 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   19374 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   19375 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   19376 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   19377 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   19378 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   19379 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   19380 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   19381 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   19382 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   19383 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   19384 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   19385 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   19386 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   19387 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
   19388 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   19389 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   19390 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   19391 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   19392 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   19393 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   19394 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   19395 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   19396 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   19397 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   19398 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   19399 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   19400 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   19401 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   19402 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   19403 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   19404 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   19405 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   19406 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   19407 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   19408 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   19409 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   19410 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   19411 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   19412 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   19413 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   19414 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   19415 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   19416 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   19417 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   19418 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   19419 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   19420 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   19421 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   19422 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   19423 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   19424 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   19425 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   19426 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   19427 
   19428 LTCC='$LTCC'
   19429 LTCFLAGS='$LTCFLAGS'
   19430 compiler='$compiler_DEFAULT'
   19431 
   19432 # A function that is used when there is no print builtin or printf.
   19433 func_fallback_echo ()
   19434 {
   19435   eval 'cat <<_LTECHO_EOF
   19436 \$1
   19437 _LTECHO_EOF'
   19438 }
   19439 
   19440 # Quote evaled strings.
   19441 for var in SHELL \
   19442 ECHO \
   19443 SED \
   19444 GREP \
   19445 EGREP \
   19446 FGREP \
   19447 LD \
   19448 NM \
   19449 LN_S \
   19450 lt_SP2NL \
   19451 lt_NL2SP \
   19452 reload_flag \
   19453 OBJDUMP \
   19454 deplibs_check_method \
   19455 file_magic_cmd \
   19456 file_magic_glob \
   19457 want_nocaseglob \
   19458 DLLTOOL \
   19459 sharedlib_from_linklib_cmd \
   19460 AR \
   19461 AR_FLAGS \
   19462 archiver_list_spec \
   19463 STRIP \
   19464 RANLIB \
   19465 CC \
   19466 CFLAGS \
   19467 compiler \
   19468 lt_cv_sys_global_symbol_pipe \
   19469 lt_cv_sys_global_symbol_to_cdecl \
   19470 lt_cv_sys_global_symbol_to_c_name_address \
   19471 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   19472 nm_file_list_spec \
   19473 lt_prog_compiler_no_builtin_flag \
   19474 lt_prog_compiler_pic \
   19475 lt_prog_compiler_wl \
   19476 lt_prog_compiler_static \
   19477 lt_cv_prog_compiler_c_o \
   19478 need_locks \
   19479 MANIFEST_TOOL \
   19480 DSYMUTIL \
   19481 NMEDIT \
   19482 LIPO \
   19483 OTOOL \
   19484 OTOOL64 \
   19485 shrext_cmds \
   19486 export_dynamic_flag_spec \
   19487 whole_archive_flag_spec \
   19488 compiler_needs_object \
   19489 with_gnu_ld \
   19490 allow_undefined_flag \
   19491 no_undefined_flag \
   19492 hardcode_libdir_flag_spec \
   19493 hardcode_libdir_flag_spec_ld \
   19494 hardcode_libdir_separator \
   19495 exclude_expsyms \
   19496 include_expsyms \
   19497 file_list_spec \
   19498 variables_saved_for_relink \
   19499 libname_spec \
   19500 library_names_spec \
   19501 soname_spec \
   19502 install_override_mode \
   19503 finish_eval \
   19504 old_striplib \
   19505 striplib; do
   19506     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   19507     *[\\\\\\\`\\"\\\$]*)
   19508       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   19509       ;;
   19510     *)
   19511       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   19512       ;;
   19513     esac
   19514 done
   19515 
   19516 # Double-quote double-evaled strings.
   19517 for var in reload_cmds \
   19518 old_postinstall_cmds \
   19519 old_postuninstall_cmds \
   19520 old_archive_cmds \
   19521 extract_expsyms_cmds \
   19522 old_archive_from_new_cmds \
   19523 old_archive_from_expsyms_cmds \
   19524 archive_cmds \
   19525 archive_expsym_cmds \
   19526 module_cmds \
   19527 module_expsym_cmds \
   19528 export_symbols_cmds \
   19529 prelink_cmds \
   19530 postlink_cmds \
   19531 postinstall_cmds \
   19532 postuninstall_cmds \
   19533 finish_cmds \
   19534 sys_lib_search_path_spec \
   19535 sys_lib_dlsearch_path_spec; do
   19536     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   19537     *[\\\\\\\`\\"\\\$]*)
   19538       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   19539       ;;
   19540     *)
   19541       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   19542       ;;
   19543     esac
   19544 done
   19545 
   19546 ac_aux_dir='$ac_aux_dir'
   19547 xsi_shell='$xsi_shell'
   19548 lt_shell_append='$lt_shell_append'
   19549 
   19550 # See if we are running on zsh, and set the options which allow our
   19551 # commands through without removal of \ escapes INIT.
   19552 if test -n "\${ZSH_VERSION+set}" ; then
   19553    setopt NO_GLOB_SUBST
   19554 fi
   19555 
   19556 
   19557     PACKAGE='$PACKAGE'
   19558     VERSION='$VERSION'
   19559     TIMESTAMP='$TIMESTAMP'
   19560     RM='$RM'
   19561     ofile='$ofile'
   19562 
   19563 
   19564 
   19565 
   19566 _ACEOF
   19567 
   19568 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19569 
   19570 # Handling of arguments.
   19571 for ac_config_target in $ac_config_targets
   19572 do
   19573   case $ac_config_target in
   19574     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   19575     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   19576     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   19577     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   19578     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
   19579     "specs/Makefile") CONFIG_FILES="$CONFIG_FILES specs/Makefile" ;;
   19580     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   19581     "ice.pc") CONFIG_FILES="$CONFIG_FILES ice.pc" ;;
   19582 
   19583   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   19584   esac
   19585 done
   19586 
   19587 
   19588 # If the user did not use the arguments to specify the items to instantiate,
   19589 # then the envvar interface is used.  Set only those that are not.
   19590 # We use the long form for the default assignment because of an extremely
   19591 # bizarre bug on SunOS 4.1.3.
   19592 if $ac_need_defaults; then
   19593   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   19594   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   19595   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   19596 fi
   19597 
   19598 # Have a temporary directory for convenience.  Make it in the build tree
   19599 # simply because there is no reason against having it here, and in addition,
   19600 # creating and moving files from /tmp can sometimes cause problems.
   19601 # Hook for its removal unless debugging.
   19602 # Note that there is a small window in which the directory will not be cleaned:
   19603 # after its creation but before its name has been assigned to `$tmp'.
   19604 $debug ||
   19605 {
   19606   tmp= ac_tmp=
   19607   trap 'exit_status=$?
   19608   : "${ac_tmp:=$tmp}"
   19609   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   19610 ' 0
   19611   trap 'as_fn_exit 1' 1 2 13 15
   19612 }
   19613 # Create a (secure) tmp directory for tmp files.
   19614 
   19615 {
   19616   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   19617   test -d "$tmp"
   19618 }  ||
   19619 {
   19620   tmp=./conf$$-$RANDOM
   19621   (umask 077 && mkdir "$tmp")
   19622 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   19623 ac_tmp=$tmp
   19624 
   19625 # Set up the scripts for CONFIG_FILES section.
   19626 # No need to generate them if there are no CONFIG_FILES.
   19627 # This happens for instance with `./config.status config.h'.
   19628 if test -n "$CONFIG_FILES"; then
   19629 
   19630 
   19631 ac_cr=`echo X | tr X '\015'`
   19632 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   19633 # But we know of no other shell where ac_cr would be empty at this
   19634 # point, so we can use a bashism as a fallback.
   19635 if test "x$ac_cr" = x; then
   19636   eval ac_cr=\$\'\\r\'
   19637 fi
   19638 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   19639 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   19640   ac_cs_awk_cr='\\r'
   19641 else
   19642   ac_cs_awk_cr=$ac_cr
   19643 fi
   19644 
   19645 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   19646 _ACEOF
   19647 
   19648 
   19649 {
   19650   echo "cat >conf$$subs.awk <<_ACEOF" &&
   19651   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   19652   echo "_ACEOF"
   19653 } >conf$$subs.sh ||
   19654   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19655 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   19656 ac_delim='%!_!# '
   19657 for ac_last_try in false false false false false :; do
   19658   . ./conf$$subs.sh ||
   19659     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19660 
   19661   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   19662   if test $ac_delim_n = $ac_delim_num; then
   19663     break
   19664   elif $ac_last_try; then
   19665     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19666   else
   19667     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19668   fi
   19669 done
   19670 rm -f conf$$subs.sh
   19671 
   19672 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19673 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   19674 _ACEOF
   19675 sed -n '
   19676 h
   19677 s/^/S["/; s/!.*/"]=/
   19678 p
   19679 g
   19680 s/^[^!]*!//
   19681 :repl
   19682 t repl
   19683 s/'"$ac_delim"'$//
   19684 t delim
   19685 :nl
   19686 h
   19687 s/\(.\{148\}\)..*/\1/
   19688 t more1
   19689 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   19690 p
   19691 n
   19692 b repl
   19693 :more1
   19694 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19695 p
   19696 g
   19697 s/.\{148\}//
   19698 t nl
   19699 :delim
   19700 h
   19701 s/\(.\{148\}\)..*/\1/
   19702 t more2
   19703 s/["\\]/\\&/g; s/^/"/; s/$/"/
   19704 p
   19705 b
   19706 :more2
   19707 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19708 p
   19709 g
   19710 s/.\{148\}//
   19711 t delim
   19712 ' <conf$$subs.awk | sed '
   19713 /^[^""]/{
   19714   N
   19715   s/\n//
   19716 }
   19717 ' >>$CONFIG_STATUS || ac_write_fail=1
   19718 rm -f conf$$subs.awk
   19719 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19720 _ACAWK
   19721 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   19722   for (key in S) S_is_set[key] = 1
   19723   FS = ""
   19724 
   19725 }
   19726 {
   19727   line = $ 0
   19728   nfields = split(line, field, "@")
   19729   substed = 0
   19730   len = length(field[1])
   19731   for (i = 2; i < nfields; i++) {
   19732     key = field[i]
   19733     keylen = length(key)
   19734     if (S_is_set[key]) {
   19735       value = S[key]
   19736       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   19737       len += length(value) + length(field[++i])
   19738       substed = 1
   19739     } else
   19740       len += 1 + keylen
   19741   }
   19742 
   19743   print line
   19744 }
   19745 
   19746 _ACAWK
   19747 _ACEOF
   19748 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19749 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   19750   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   19751 else
   19752   cat
   19753 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   19754   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   19755 _ACEOF
   19756 
   19757 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   19758 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   19759 # trailing colons and then remove the whole line if VPATH becomes empty
   19760 # (actually we leave an empty line to preserve line numbers).
   19761 if test "x$srcdir" = x.; then
   19762   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   19763 h
   19764 s///
   19765 s/^/:/
   19766 s/[	 ]*$/:/
   19767 s/:\$(srcdir):/:/g
   19768 s/:\${srcdir}:/:/g
   19769 s/:@srcdir@:/:/g
   19770 s/^:*//
   19771 s/:*$//
   19772 x
   19773 s/\(=[	 ]*\).*/\1/
   19774 G
   19775 s/\n//
   19776 s/^[^=]*=[	 ]*$//
   19777 }'
   19778 fi
   19779 
   19780 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19781 fi # test -n "$CONFIG_FILES"
   19782 
   19783 # Set up the scripts for CONFIG_HEADERS section.
   19784 # No need to generate them if there are no CONFIG_HEADERS.
   19785 # This happens for instance with `./config.status Makefile'.
   19786 if test -n "$CONFIG_HEADERS"; then
   19787 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   19788 BEGIN {
   19789 _ACEOF
   19790 
   19791 # Transform confdefs.h into an awk script `defines.awk', embedded as
   19792 # here-document in config.status, that substitutes the proper values into
   19793 # config.h.in to produce config.h.
   19794 
   19795 # Create a delimiter string that does not exist in confdefs.h, to ease
   19796 # handling of long lines.
   19797 ac_delim='%!_!# '
   19798 for ac_last_try in false false :; do
   19799   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   19800   if test -z "$ac_tt"; then
   19801     break
   19802   elif $ac_last_try; then
   19803     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   19804   else
   19805     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19806   fi
   19807 done
   19808 
   19809 # For the awk script, D is an array of macro values keyed by name,
   19810 # likewise P contains macro parameters if any.  Preserve backslash
   19811 # newline sequences.
   19812 
   19813 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   19814 sed -n '
   19815 s/.\{148\}/&'"$ac_delim"'/g
   19816 t rset
   19817 :rset
   19818 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   19819 t def
   19820 d
   19821 :def
   19822 s/\\$//
   19823 t bsnl
   19824 s/["\\]/\\&/g
   19825 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19826 D["\1"]=" \3"/p
   19827 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   19828 d
   19829 :bsnl
   19830 s/["\\]/\\&/g
   19831 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19832 D["\1"]=" \3\\\\\\n"\\/p
   19833 t cont
   19834 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   19835 t cont
   19836 d
   19837 :cont
   19838 n
   19839 s/.\{148\}/&'"$ac_delim"'/g
   19840 t clear
   19841 :clear
   19842 s/\\$//
   19843 t bsnlc
   19844 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   19845 d
   19846 :bsnlc
   19847 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   19848 b cont
   19849 ' <confdefs.h | sed '
   19850 s/'"$ac_delim"'/"\\\
   19851 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   19852 
   19853 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19854   for (key in D) D_is_set[key] = 1
   19855   FS = ""
   19856 }
   19857 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   19858   line = \$ 0
   19859   split(line, arg, " ")
   19860   if (arg[1] == "#") {
   19861     defundef = arg[2]
   19862     mac1 = arg[3]
   19863   } else {
   19864     defundef = substr(arg[1], 2)
   19865     mac1 = arg[2]
   19866   }
   19867   split(mac1, mac2, "(") #)
   19868   macro = mac2[1]
   19869   prefix = substr(line, 1, index(line, defundef) - 1)
   19870   if (D_is_set[macro]) {
   19871     # Preserve the white space surrounding the "#".
   19872     print prefix "define", macro P[macro] D[macro]
   19873     next
   19874   } else {
   19875     # Replace #undef with comments.  This is necessary, for example,
   19876     # in the case of _POSIX_SOURCE, which is predefined and required
   19877     # on some systems where configure will not decide to define it.
   19878     if (defundef == "undef") {
   19879       print "/*", prefix defundef, macro, "*/"
   19880       next
   19881     }
   19882   }
   19883 }
   19884 { print }
   19885 _ACAWK
   19886 _ACEOF
   19887 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19888   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   19889 fi # test -n "$CONFIG_HEADERS"
   19890 
   19891 
   19892 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   19893 shift
   19894 for ac_tag
   19895 do
   19896   case $ac_tag in
   19897   :[FHLC]) ac_mode=$ac_tag; continue;;
   19898   esac
   19899   case $ac_mode$ac_tag in
   19900   :[FHL]*:*);;
   19901   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   19902   :[FH]-) ac_tag=-:-;;
   19903   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   19904   esac
   19905   ac_save_IFS=$IFS
   19906   IFS=:
   19907   set x $ac_tag
   19908   IFS=$ac_save_IFS
   19909   shift
   19910   ac_file=$1
   19911   shift
   19912 
   19913   case $ac_mode in
   19914   :L) ac_source=$1;;
   19915   :[FH])
   19916     ac_file_inputs=
   19917     for ac_f
   19918     do
   19919       case $ac_f in
   19920       -) ac_f="$ac_tmp/stdin";;
   19921       *) # Look for the file first in the build tree, then in the source tree
   19922 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   19923 	 # because $ac_f cannot contain `:'.
   19924 	 test -f "$ac_f" ||
   19925 	   case $ac_f in
   19926 	   [\\/$]*) false;;
   19927 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   19928 	   esac ||
   19929 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   19930       esac
   19931       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   19932       as_fn_append ac_file_inputs " '$ac_f'"
   19933     done
   19934 
   19935     # Let's still pretend it is `configure' which instantiates (i.e., don't
   19936     # use $as_me), people would be surprised to read:
   19937     #    /* config.h.  Generated by config.status.  */
   19938     configure_input='Generated from '`
   19939 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   19940 	`' by configure.'
   19941     if test x"$ac_file" != x-; then
   19942       configure_input="$ac_file.  $configure_input"
   19943       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   19944 $as_echo "$as_me: creating $ac_file" >&6;}
   19945     fi
   19946     # Neutralize special characters interpreted by sed in replacement strings.
   19947     case $configure_input in #(
   19948     *\&* | *\|* | *\\* )
   19949        ac_sed_conf_input=`$as_echo "$configure_input" |
   19950        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   19951     *) ac_sed_conf_input=$configure_input;;
   19952     esac
   19953 
   19954     case $ac_tag in
   19955     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   19956       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   19957     esac
   19958     ;;
   19959   esac
   19960 
   19961   ac_dir=`$as_dirname -- "$ac_file" ||
   19962 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19963 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   19964 	 X"$ac_file" : 'X\(//\)$' \| \
   19965 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   19966 $as_echo X"$ac_file" |
   19967     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19968 	    s//\1/
   19969 	    q
   19970 	  }
   19971 	  /^X\(\/\/\)[^/].*/{
   19972 	    s//\1/
   19973 	    q
   19974 	  }
   19975 	  /^X\(\/\/\)$/{
   19976 	    s//\1/
   19977 	    q
   19978 	  }
   19979 	  /^X\(\/\).*/{
   19980 	    s//\1/
   19981 	    q
   19982 	  }
   19983 	  s/.*/./; q'`
   19984   as_dir="$ac_dir"; as_fn_mkdir_p
   19985   ac_builddir=.
   19986 
   19987 case "$ac_dir" in
   19988 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19989 *)
   19990   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   19991   # A ".." for each directory in $ac_dir_suffix.
   19992   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   19993   case $ac_top_builddir_sub in
   19994   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19995   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   19996   esac ;;
   19997 esac
   19998 ac_abs_top_builddir=$ac_pwd
   19999 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   20000 # for backward compatibility:
   20001 ac_top_builddir=$ac_top_build_prefix
   20002 
   20003 case $srcdir in
   20004   .)  # We are building in place.
   20005     ac_srcdir=.
   20006     ac_top_srcdir=$ac_top_builddir_sub
   20007     ac_abs_top_srcdir=$ac_pwd ;;
   20008   [\\/]* | ?:[\\/]* )  # Absolute name.
   20009     ac_srcdir=$srcdir$ac_dir_suffix;
   20010     ac_top_srcdir=$srcdir
   20011     ac_abs_top_srcdir=$srcdir ;;
   20012   *) # Relative name.
   20013     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   20014     ac_top_srcdir=$ac_top_build_prefix$srcdir
   20015     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   20016 esac
   20017 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   20018 
   20019 
   20020   case $ac_mode in
   20021   :F)
   20022   #
   20023   # CONFIG_FILE
   20024   #
   20025 
   20026   case $INSTALL in
   20027   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   20028   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   20029   esac
   20030   ac_MKDIR_P=$MKDIR_P
   20031   case $MKDIR_P in
   20032   [\\/$]* | ?:[\\/]* ) ;;
   20033   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   20034   esac
   20035 _ACEOF
   20036 
   20037 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20038 # If the template does not know about datarootdir, expand it.
   20039 # FIXME: This hack should be removed a few years after 2.60.
   20040 ac_datarootdir_hack=; ac_datarootdir_seen=
   20041 ac_sed_dataroot='
   20042 /datarootdir/ {
   20043   p
   20044   q
   20045 }
   20046 /@datadir@/p
   20047 /@docdir@/p
   20048 /@infodir@/p
   20049 /@localedir@/p
   20050 /@mandir@/p'
   20051 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   20052 *datarootdir*) ac_datarootdir_seen=yes;;
   20053 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   20054   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   20055 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   20056 _ACEOF
   20057 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20058   ac_datarootdir_hack='
   20059   s&@datadir@&$datadir&g
   20060   s&@docdir@&$docdir&g
   20061   s&@infodir@&$infodir&g
   20062   s&@localedir@&$localedir&g
   20063   s&@mandir@&$mandir&g
   20064   s&\\\${datarootdir}&$datarootdir&g' ;;
   20065 esac
   20066 _ACEOF
   20067 
   20068 # Neutralize VPATH when `$srcdir' = `.'.
   20069 # Shell code in configure.ac might set extrasub.
   20070 # FIXME: do we really want to maintain this feature?
   20071 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20072 ac_sed_extra="$ac_vpsub
   20073 $extrasub
   20074 _ACEOF
   20075 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20076 :t
   20077 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   20078 s|@configure_input@|$ac_sed_conf_input|;t t
   20079 s&@top_builddir@&$ac_top_builddir_sub&;t t
   20080 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   20081 s&@srcdir@&$ac_srcdir&;t t
   20082 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   20083 s&@top_srcdir@&$ac_top_srcdir&;t t
   20084 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   20085 s&@builddir@&$ac_builddir&;t t
   20086 s&@abs_builddir@&$ac_abs_builddir&;t t
   20087 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   20088 s&@INSTALL@&$ac_INSTALL&;t t
   20089 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   20090 $ac_datarootdir_hack
   20091 "
   20092 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   20093   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20094 
   20095 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   20096   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   20097   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   20098       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   20099   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20100 which seems to be undefined.  Please make sure it is defined" >&5
   20101 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20102 which seems to be undefined.  Please make sure it is defined" >&2;}
   20103 
   20104   rm -f "$ac_tmp/stdin"
   20105   case $ac_file in
   20106   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   20107   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   20108   esac \
   20109   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20110  ;;
   20111   :H)
   20112   #
   20113   # CONFIG_HEADER
   20114   #
   20115   if test x"$ac_file" != x-; then
   20116     {
   20117       $as_echo "/* $configure_input  */" \
   20118       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   20119     } >"$ac_tmp/config.h" \
   20120       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20121     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   20122       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   20123 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   20124     else
   20125       rm -f "$ac_file"
   20126       mv "$ac_tmp/config.h" "$ac_file" \
   20127 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20128     fi
   20129   else
   20130     $as_echo "/* $configure_input  */" \
   20131       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   20132       || as_fn_error $? "could not create -" "$LINENO" 5
   20133   fi
   20134 # Compute "$ac_file"'s index in $config_headers.
   20135 _am_arg="$ac_file"
   20136 _am_stamp_count=1
   20137 for _am_header in $config_headers :; do
   20138   case $_am_header in
   20139     $_am_arg | $_am_arg:* )
   20140       break ;;
   20141     * )
   20142       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   20143   esac
   20144 done
   20145 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   20146 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20147 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   20148 	 X"$_am_arg" : 'X\(//\)$' \| \
   20149 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   20150 $as_echo X"$_am_arg" |
   20151     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20152 	    s//\1/
   20153 	    q
   20154 	  }
   20155 	  /^X\(\/\/\)[^/].*/{
   20156 	    s//\1/
   20157 	    q
   20158 	  }
   20159 	  /^X\(\/\/\)$/{
   20160 	    s//\1/
   20161 	    q
   20162 	  }
   20163 	  /^X\(\/\).*/{
   20164 	    s//\1/
   20165 	    q
   20166 	  }
   20167 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   20168  ;;
   20169 
   20170   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   20171 $as_echo "$as_me: executing $ac_file commands" >&6;}
   20172  ;;
   20173   esac
   20174 
   20175 
   20176   case $ac_file$ac_mode in
   20177     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   20178   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   20179   # are listed without --file.  Let's play safe and only enable the eval
   20180   # if we detect the quoting.
   20181   case $CONFIG_FILES in
   20182   *\'*) eval set x "$CONFIG_FILES" ;;
   20183   *)   set x $CONFIG_FILES ;;
   20184   esac
   20185   shift
   20186   for mf
   20187   do
   20188     # Strip MF so we end up with the name of the file.
   20189     mf=`echo "$mf" | sed -e 's/:.*$//'`
   20190     # Check whether this is an Automake generated Makefile or not.
   20191     # We used to match only the files named `Makefile.in', but
   20192     # some people rename them; so instead we look at the file content.
   20193     # Grep'ing the first line is not enough: some people post-process
   20194     # each Makefile.in and add a new line on top of each file to say so.
   20195     # Grep'ing the whole file is not good either: AIX grep has a line
   20196     # limit of 2048, but all sed's we know have understand at least 4000.
   20197     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   20198       dirpart=`$as_dirname -- "$mf" ||
   20199 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20200 	 X"$mf" : 'X\(//\)[^/]' \| \
   20201 	 X"$mf" : 'X\(//\)$' \| \
   20202 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   20203 $as_echo X"$mf" |
   20204     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20205 	    s//\1/
   20206 	    q
   20207 	  }
   20208 	  /^X\(\/\/\)[^/].*/{
   20209 	    s//\1/
   20210 	    q
   20211 	  }
   20212 	  /^X\(\/\/\)$/{
   20213 	    s//\1/
   20214 	    q
   20215 	  }
   20216 	  /^X\(\/\).*/{
   20217 	    s//\1/
   20218 	    q
   20219 	  }
   20220 	  s/.*/./; q'`
   20221     else
   20222       continue
   20223     fi
   20224     # Extract the definition of DEPDIR, am__include, and am__quote
   20225     # from the Makefile without running `make'.
   20226     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   20227     test -z "$DEPDIR" && continue
   20228     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   20229     test -z "am__include" && continue
   20230     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   20231     # When using ansi2knr, U may be empty or an underscore; expand it
   20232     U=`sed -n 's/^U = //p' < "$mf"`
   20233     # Find all dependency output files, they are included files with
   20234     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   20235     # simplest approach to changing $(DEPDIR) to its actual value in the
   20236     # expansion.
   20237     for file in `sed -n "
   20238       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   20239 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   20240       # Make sure the directory exists.
   20241       test -f "$dirpart/$file" && continue
   20242       fdir=`$as_dirname -- "$file" ||
   20243 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20244 	 X"$file" : 'X\(//\)[^/]' \| \
   20245 	 X"$file" : 'X\(//\)$' \| \
   20246 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   20247 $as_echo X"$file" |
   20248     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20249 	    s//\1/
   20250 	    q
   20251 	  }
   20252 	  /^X\(\/\/\)[^/].*/{
   20253 	    s//\1/
   20254 	    q
   20255 	  }
   20256 	  /^X\(\/\/\)$/{
   20257 	    s//\1/
   20258 	    q
   20259 	  }
   20260 	  /^X\(\/\).*/{
   20261 	    s//\1/
   20262 	    q
   20263 	  }
   20264 	  s/.*/./; q'`
   20265       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   20266       # echo "creating $dirpart/$file"
   20267       echo '# dummy' > "$dirpart/$file"
   20268     done
   20269   done
   20270 }
   20271  ;;
   20272     "libtool":C)
   20273 
   20274     # See if we are running on zsh, and set the options which allow our
   20275     # commands through without removal of \ escapes.
   20276     if test -n "${ZSH_VERSION+set}" ; then
   20277       setopt NO_GLOB_SUBST
   20278     fi
   20279 
   20280     cfgfile="${ofile}T"
   20281     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   20282     $RM "$cfgfile"
   20283 
   20284     cat <<_LT_EOF >> "$cfgfile"
   20285 #! $SHELL
   20286 
   20287 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   20288 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   20289 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   20290 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   20291 #
   20292 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   20293 #                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
   20294 #                 Inc.
   20295 #   Written by Gordon Matzigkeit, 1996
   20296 #
   20297 #   This file is part of GNU Libtool.
   20298 #
   20299 # GNU Libtool is free software; you can redistribute it and/or
   20300 # modify it under the terms of the GNU General Public License as
   20301 # published by the Free Software Foundation; either version 2 of
   20302 # the License, or (at your option) any later version.
   20303 #
   20304 # As a special exception to the GNU General Public License,
   20305 # if you distribute this file as part of a program or library that
   20306 # is built using GNU Libtool, you may include this file under the
   20307 # same distribution terms that you use for the rest of that program.
   20308 #
   20309 # GNU Libtool is distributed in the hope that it will be useful,
   20310 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   20311 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   20312 # GNU General Public License for more details.
   20313 #
   20314 # You should have received a copy of the GNU General Public License
   20315 # along with GNU Libtool; see the file COPYING.  If not, a copy
   20316 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   20317 # obtained by writing to the Free Software Foundation, Inc.,
   20318 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   20319 
   20320 
   20321 # The names of the tagged configurations supported by this script.
   20322 available_tags=""
   20323 
   20324 # ### BEGIN LIBTOOL CONFIG
   20325 
   20326 # Which release of libtool.m4 was used?
   20327 macro_version=$macro_version
   20328 macro_revision=$macro_revision
   20329 
   20330 # Whether or not to build shared libraries.
   20331 build_libtool_libs=$enable_shared
   20332 
   20333 # Whether or not to build static libraries.
   20334 build_old_libs=$enable_static
   20335 
   20336 # What type of objects to build.
   20337 pic_mode=$pic_mode
   20338 
   20339 # Whether or not to optimize for fast installation.
   20340 fast_install=$enable_fast_install
   20341 
   20342 # Shell to use when invoking shell scripts.
   20343 SHELL=$lt_SHELL
   20344 
   20345 # An echo program that protects backslashes.
   20346 ECHO=$lt_ECHO
   20347 
   20348 # The host system.
   20349 host_alias=$host_alias
   20350 host=$host
   20351 host_os=$host_os
   20352 
   20353 # The build system.
   20354 build_alias=$build_alias
   20355 build=$build
   20356 build_os=$build_os
   20357 
   20358 # A sed program that does not truncate output.
   20359 SED=$lt_SED
   20360 
   20361 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   20362 Xsed="\$SED -e 1s/^X//"
   20363 
   20364 # A grep program that handles long lines.
   20365 GREP=$lt_GREP
   20366 
   20367 # An ERE matcher.
   20368 EGREP=$lt_EGREP
   20369 
   20370 # A literal string matcher.
   20371 FGREP=$lt_FGREP
   20372 
   20373 # A BSD- or MS-compatible name lister.
   20374 NM=$lt_NM
   20375 
   20376 # Whether we need soft or hard links.
   20377 LN_S=$lt_LN_S
   20378 
   20379 # What is the maximum length of a command?
   20380 max_cmd_len=$max_cmd_len
   20381 
   20382 # Object file suffix (normally "o").
   20383 objext=$ac_objext
   20384 
   20385 # Executable file suffix (normally "").
   20386 exeext=$exeext
   20387 
   20388 # whether the shell understands "unset".
   20389 lt_unset=$lt_unset
   20390 
   20391 # turn spaces into newlines.
   20392 SP2NL=$lt_lt_SP2NL
   20393 
   20394 # turn newlines into spaces.
   20395 NL2SP=$lt_lt_NL2SP
   20396 
   20397 # convert \$build file names to \$host format.
   20398 to_host_file_cmd=$lt_cv_to_host_file_cmd
   20399 
   20400 # convert \$build files to toolchain format.
   20401 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   20402 
   20403 # An object symbol dumper.
   20404 OBJDUMP=$lt_OBJDUMP
   20405 
   20406 # Method to check whether dependent libraries are shared objects.
   20407 deplibs_check_method=$lt_deplibs_check_method
   20408 
   20409 # Command to use when deplibs_check_method = "file_magic".
   20410 file_magic_cmd=$lt_file_magic_cmd
   20411 
   20412 # How to find potential files when deplibs_check_method = "file_magic".
   20413 file_magic_glob=$lt_file_magic_glob
   20414 
   20415 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   20416 want_nocaseglob=$lt_want_nocaseglob
   20417 
   20418 # DLL creation program.
   20419 DLLTOOL=$lt_DLLTOOL
   20420 
   20421 # Command to associate shared and link libraries.
   20422 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   20423 
   20424 # The archiver.
   20425 AR=$lt_AR
   20426 
   20427 # Flags to create an archive.
   20428 AR_FLAGS=$lt_AR_FLAGS
   20429 
   20430 # How to feed a file listing to the archiver.
   20431 archiver_list_spec=$lt_archiver_list_spec
   20432 
   20433 # A symbol stripping program.
   20434 STRIP=$lt_STRIP
   20435 
   20436 # Commands used to install an old-style archive.
   20437 RANLIB=$lt_RANLIB
   20438 old_postinstall_cmds=$lt_old_postinstall_cmds
   20439 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   20440 
   20441 # Whether to use a lock for old archive extraction.
   20442 lock_old_archive_extraction=$lock_old_archive_extraction
   20443 
   20444 # A C compiler.
   20445 LTCC=$lt_CC
   20446 
   20447 # LTCC compiler flags.
   20448 LTCFLAGS=$lt_CFLAGS
   20449 
   20450 # Take the output of nm and produce a listing of raw symbols and C names.
   20451 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   20452 
   20453 # Transform the output of nm in a proper C declaration.
   20454 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   20455 
   20456 # Transform the output of nm in a C name address pair.
   20457 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   20458 
   20459 # Transform the output of nm in a C name address pair when lib prefix is needed.
   20460 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   20461 
   20462 # Specify filename containing input files for \$NM.
   20463 nm_file_list_spec=$lt_nm_file_list_spec
   20464 
   20465 # The root where to search for dependent libraries,and in which our libraries should be installed.
   20466 lt_sysroot=$lt_sysroot
   20467 
   20468 # The name of the directory that contains temporary libtool files.
   20469 objdir=$objdir
   20470 
   20471 # Used to examine libraries when file_magic_cmd begins with "file".
   20472 MAGIC_CMD=$MAGIC_CMD
   20473 
   20474 # Must we lock files when doing compilation?
   20475 need_locks=$lt_need_locks
   20476 
   20477 # Manifest tool.
   20478 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   20479 
   20480 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   20481 DSYMUTIL=$lt_DSYMUTIL
   20482 
   20483 # Tool to change global to local symbols on Mac OS X.
   20484 NMEDIT=$lt_NMEDIT
   20485 
   20486 # Tool to manipulate fat objects and archives on Mac OS X.
   20487 LIPO=$lt_LIPO
   20488 
   20489 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   20490 OTOOL=$lt_OTOOL
   20491 
   20492 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   20493 OTOOL64=$lt_OTOOL64
   20494 
   20495 # Old archive suffix (normally "a").
   20496 libext=$libext
   20497 
   20498 # Shared library suffix (normally ".so").
   20499 shrext_cmds=$lt_shrext_cmds
   20500 
   20501 # The commands to extract the exported symbol list from a shared archive.
   20502 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   20503 
   20504 # Variables whose values should be saved in libtool wrapper scripts and
   20505 # restored at link time.
   20506 variables_saved_for_relink=$lt_variables_saved_for_relink
   20507 
   20508 # Do we need the "lib" prefix for modules?
   20509 need_lib_prefix=$need_lib_prefix
   20510 
   20511 # Do we need a version for libraries?
   20512 need_version=$need_version
   20513 
   20514 # Library versioning type.
   20515 version_type=$version_type
   20516 
   20517 # Shared library runtime path variable.
   20518 runpath_var=$runpath_var
   20519 
   20520 # Shared library path variable.
   20521 shlibpath_var=$shlibpath_var
   20522 
   20523 # Is shlibpath searched before the hard-coded library search path?
   20524 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   20525 
   20526 # Format of library name prefix.
   20527 libname_spec=$lt_libname_spec
   20528 
   20529 # List of archive names.  First name is the real one, the rest are links.
   20530 # The last name is the one that the linker finds with -lNAME
   20531 library_names_spec=$lt_library_names_spec
   20532 
   20533 # The coded name of the library, if different from the real name.
   20534 soname_spec=$lt_soname_spec
   20535 
   20536 # Permission mode override for installation of shared libraries.
   20537 install_override_mode=$lt_install_override_mode
   20538 
   20539 # Command to use after installation of a shared archive.
   20540 postinstall_cmds=$lt_postinstall_cmds
   20541 
   20542 # Command to use after uninstallation of a shared archive.
   20543 postuninstall_cmds=$lt_postuninstall_cmds
   20544 
   20545 # Commands used to finish a libtool library installation in a directory.
   20546 finish_cmds=$lt_finish_cmds
   20547 
   20548 # As "finish_cmds", except a single script fragment to be evaled but
   20549 # not shown.
   20550 finish_eval=$lt_finish_eval
   20551 
   20552 # Whether we should hardcode library paths into libraries.
   20553 hardcode_into_libs=$hardcode_into_libs
   20554 
   20555 # Compile-time system search path for libraries.
   20556 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   20557 
   20558 # Run-time system search path for libraries.
   20559 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   20560 
   20561 # Whether dlopen is supported.
   20562 dlopen_support=$enable_dlopen
   20563 
   20564 # Whether dlopen of programs is supported.
   20565 dlopen_self=$enable_dlopen_self
   20566 
   20567 # Whether dlopen of statically linked programs is supported.
   20568 dlopen_self_static=$enable_dlopen_self_static
   20569 
   20570 # Commands to strip libraries.
   20571 old_striplib=$lt_old_striplib
   20572 striplib=$lt_striplib
   20573 
   20574 
   20575 # The linker used to build libraries.
   20576 LD=$lt_LD
   20577 
   20578 # How to create reloadable object files.
   20579 reload_flag=$lt_reload_flag
   20580 reload_cmds=$lt_reload_cmds
   20581 
   20582 # Commands used to build an old-style archive.
   20583 old_archive_cmds=$lt_old_archive_cmds
   20584 
   20585 # A language specific compiler.
   20586 CC=$lt_compiler
   20587 
   20588 # Is the compiler the GNU compiler?
   20589 with_gcc=$GCC
   20590 
   20591 # Compiler flag to turn off builtin functions.
   20592 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   20593 
   20594 # Additional compiler flags for building library objects.
   20595 pic_flag=$lt_lt_prog_compiler_pic
   20596 
   20597 # How to pass a linker flag through the compiler.
   20598 wl=$lt_lt_prog_compiler_wl
   20599 
   20600 # Compiler flag to prevent dynamic linking.
   20601 link_static_flag=$lt_lt_prog_compiler_static
   20602 
   20603 # Does compiler simultaneously support -c and -o options?
   20604 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   20605 
   20606 # Whether or not to add -lc for building shared libraries.
   20607 build_libtool_need_lc=$archive_cmds_need_lc
   20608 
   20609 # Whether or not to disallow shared libs when runtime libs are static.
   20610 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   20611 
   20612 # Compiler flag to allow reflexive dlopens.
   20613 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   20614 
   20615 # Compiler flag to generate shared objects directly from archives.
   20616 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   20617 
   20618 # Whether the compiler copes with passing no objects directly.
   20619 compiler_needs_object=$lt_compiler_needs_object
   20620 
   20621 # Create an old-style archive from a shared archive.
   20622 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   20623 
   20624 # Create a temporary old-style archive to link instead of a shared archive.
   20625 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   20626 
   20627 # Commands used to build a shared archive.
   20628 archive_cmds=$lt_archive_cmds
   20629 archive_expsym_cmds=$lt_archive_expsym_cmds
   20630 
   20631 # Commands used to build a loadable module if different from building
   20632 # a shared archive.
   20633 module_cmds=$lt_module_cmds
   20634 module_expsym_cmds=$lt_module_expsym_cmds
   20635 
   20636 # Whether we are building with GNU ld or not.
   20637 with_gnu_ld=$lt_with_gnu_ld
   20638 
   20639 # Flag that allows shared libraries with undefined symbols to be built.
   20640 allow_undefined_flag=$lt_allow_undefined_flag
   20641 
   20642 # Flag that enforces no undefined symbols.
   20643 no_undefined_flag=$lt_no_undefined_flag
   20644 
   20645 # Flag to hardcode \$libdir into a binary during linking.
   20646 # This must work even if \$libdir does not exist
   20647 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   20648 
   20649 # If ld is used when linking, flag to hardcode \$libdir into a binary
   20650 # during linking.  This must work even if \$libdir does not exist.
   20651 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   20652 
   20653 # Whether we need a single "-rpath" flag with a separated argument.
   20654 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   20655 
   20656 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   20657 # DIR into the resulting binary.
   20658 hardcode_direct=$hardcode_direct
   20659 
   20660 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   20661 # DIR into the resulting binary and the resulting library dependency is
   20662 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   20663 # library is relocated.
   20664 hardcode_direct_absolute=$hardcode_direct_absolute
   20665 
   20666 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   20667 # into the resulting binary.
   20668 hardcode_minus_L=$hardcode_minus_L
   20669 
   20670 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   20671 # into the resulting binary.
   20672 hardcode_shlibpath_var=$hardcode_shlibpath_var
   20673 
   20674 # Set to "yes" if building a shared library automatically hardcodes DIR
   20675 # into the library and all subsequent libraries and executables linked
   20676 # against it.
   20677 hardcode_automatic=$hardcode_automatic
   20678 
   20679 # Set to yes if linker adds runtime paths of dependent libraries
   20680 # to runtime path list.
   20681 inherit_rpath=$inherit_rpath
   20682 
   20683 # Whether libtool must link a program against all its dependency libraries.
   20684 link_all_deplibs=$link_all_deplibs
   20685 
   20686 # Set to "yes" if exported symbols are required.
   20687 always_export_symbols=$always_export_symbols
   20688 
   20689 # The commands to list exported symbols.
   20690 export_symbols_cmds=$lt_export_symbols_cmds
   20691 
   20692 # Symbols that should not be listed in the preloaded symbols.
   20693 exclude_expsyms=$lt_exclude_expsyms
   20694 
   20695 # Symbols that must always be exported.
   20696 include_expsyms=$lt_include_expsyms
   20697 
   20698 # Commands necessary for linking programs (against libraries) with templates.
   20699 prelink_cmds=$lt_prelink_cmds
   20700 
   20701 # Commands necessary for finishing linking programs.
   20702 postlink_cmds=$lt_postlink_cmds
   20703 
   20704 # Specify filename containing input files.
   20705 file_list_spec=$lt_file_list_spec
   20706 
   20707 # How to hardcode a shared library path into an executable.
   20708 hardcode_action=$hardcode_action
   20709 
   20710 # ### END LIBTOOL CONFIG
   20711 
   20712 _LT_EOF
   20713 
   20714   case $host_os in
   20715   aix3*)
   20716     cat <<\_LT_EOF >> "$cfgfile"
   20717 # AIX sometimes has problems with the GCC collect2 program.  For some
   20718 # reason, if we set the COLLECT_NAMES environment variable, the problems
   20719 # vanish in a puff of smoke.
   20720 if test "X${COLLECT_NAMES+set}" != Xset; then
   20721   COLLECT_NAMES=
   20722   export COLLECT_NAMES
   20723 fi
   20724 _LT_EOF
   20725     ;;
   20726   esac
   20727 
   20728 
   20729 ltmain="$ac_aux_dir/ltmain.sh"
   20730 
   20731 
   20732   # We use sed instead of cat because bash on DJGPP gets confused if
   20733   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   20734   # text mode, it properly converts lines to CR/LF.  This bash problem
   20735   # is reportedly fixed, but why not run on old versions too?
   20736   sed '$q' "$ltmain" >> "$cfgfile" \
   20737      || (rm -f "$cfgfile"; exit 1)
   20738 
   20739   if test x"$xsi_shell" = xyes; then
   20740   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
   20741 func_dirname ()\
   20742 {\
   20743 \    case ${1} in\
   20744 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   20745 \      *  ) func_dirname_result="${3}" ;;\
   20746 \    esac\
   20747 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
   20748   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20749     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20750 test 0 -eq $? || _lt_function_replace_fail=:
   20751 
   20752 
   20753   sed -e '/^func_basename ()$/,/^} # func_basename /c\
   20754 func_basename ()\
   20755 {\
   20756 \    func_basename_result="${1##*/}"\
   20757 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
   20758   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20759     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20760 test 0 -eq $? || _lt_function_replace_fail=:
   20761 
   20762 
   20763   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
   20764 func_dirname_and_basename ()\
   20765 {\
   20766 \    case ${1} in\
   20767 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   20768 \      *  ) func_dirname_result="${3}" ;;\
   20769 \    esac\
   20770 \    func_basename_result="${1##*/}"\
   20771 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
   20772   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20773     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20774 test 0 -eq $? || _lt_function_replace_fail=:
   20775 
   20776 
   20777   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
   20778 func_stripname ()\
   20779 {\
   20780 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
   20781 \    # positional parameters, so assign one to ordinary parameter first.\
   20782 \    func_stripname_result=${3}\
   20783 \    func_stripname_result=${func_stripname_result#"${1}"}\
   20784 \    func_stripname_result=${func_stripname_result%"${2}"}\
   20785 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
   20786   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20787     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20788 test 0 -eq $? || _lt_function_replace_fail=:
   20789 
   20790 
   20791   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
   20792 func_split_long_opt ()\
   20793 {\
   20794 \    func_split_long_opt_name=${1%%=*}\
   20795 \    func_split_long_opt_arg=${1#*=}\
   20796 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
   20797   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20798     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20799 test 0 -eq $? || _lt_function_replace_fail=:
   20800 
   20801 
   20802   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
   20803 func_split_short_opt ()\
   20804 {\
   20805 \    func_split_short_opt_arg=${1#??}\
   20806 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
   20807 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
   20808   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20809     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20810 test 0 -eq $? || _lt_function_replace_fail=:
   20811 
   20812 
   20813   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
   20814 func_lo2o ()\
   20815 {\
   20816 \    case ${1} in\
   20817 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
   20818 \      *)    func_lo2o_result=${1} ;;\
   20819 \    esac\
   20820 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
   20821   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20822     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20823 test 0 -eq $? || _lt_function_replace_fail=:
   20824 
   20825 
   20826   sed -e '/^func_xform ()$/,/^} # func_xform /c\
   20827 func_xform ()\
   20828 {\
   20829     func_xform_result=${1%.*}.lo\
   20830 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
   20831   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20832     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20833 test 0 -eq $? || _lt_function_replace_fail=:
   20834 
   20835 
   20836   sed -e '/^func_arith ()$/,/^} # func_arith /c\
   20837 func_arith ()\
   20838 {\
   20839     func_arith_result=$(( $* ))\
   20840 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
   20841   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20842     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20843 test 0 -eq $? || _lt_function_replace_fail=:
   20844 
   20845 
   20846   sed -e '/^func_len ()$/,/^} # func_len /c\
   20847 func_len ()\
   20848 {\
   20849     func_len_result=${#1}\
   20850 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
   20851   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20852     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20853 test 0 -eq $? || _lt_function_replace_fail=:
   20854 
   20855 fi
   20856 
   20857 if test x"$lt_shell_append" = xyes; then
   20858   sed -e '/^func_append ()$/,/^} # func_append /c\
   20859 func_append ()\
   20860 {\
   20861     eval "${1}+=\\${2}"\
   20862 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
   20863   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20864     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20865 test 0 -eq $? || _lt_function_replace_fail=:
   20866 
   20867 
   20868   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
   20869 func_append_quoted ()\
   20870 {\
   20871 \    func_quote_for_eval "${2}"\
   20872 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
   20873 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
   20874   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20875     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20876 test 0 -eq $? || _lt_function_replace_fail=:
   20877 
   20878 
   20879   # Save a `func_append' function call where possible by direct use of '+='
   20880   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
   20881     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20882       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20883   test 0 -eq $? || _lt_function_replace_fail=:
   20884 else
   20885   # Save a `func_append' function call even when '+=' is not available
   20886   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
   20887     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20888       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20889   test 0 -eq $? || _lt_function_replace_fail=:
   20890 fi
   20891 
   20892 if test x"$_lt_function_replace_fail" = x":"; then
   20893   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
   20894 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
   20895 fi
   20896 
   20897 
   20898    mv -f "$cfgfile" "$ofile" ||
   20899     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   20900   chmod +x "$ofile"
   20901 
   20902  ;;
   20903 
   20904   esac
   20905 done # for ac_tag
   20906 
   20907 
   20908 as_fn_exit 0
   20909 _ACEOF
   20910 ac_clean_files=$ac_clean_files_save
   20911 
   20912 test $ac_write_fail = 0 ||
   20913   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   20914 
   20915 
   20916 # configure is writing to config.log, and then calls config.status.
   20917 # config.status does its own redirection, appending to config.log.
   20918 # Unfortunately, on DOS this fails, as config.log is still kept open
   20919 # by configure, so config.status won't be able to write to it; its
   20920 # output is simply discarded.  So we exec the FD to /dev/null,
   20921 # effectively closing config.log, so it can be properly (re)opened and
   20922 # appended to by config.status.  When coming back to configure, we
   20923 # need to make the FD available again.
   20924 if test "$no_create" != yes; then
   20925   ac_cs_success=:
   20926   ac_config_status_args=
   20927   test "$silent" = yes &&
   20928     ac_config_status_args="$ac_config_status_args --quiet"
   20929   exec 5>/dev/null
   20930   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   20931   exec 5>>config.log
   20932   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   20933   # would make configure fail if this is the last instruction.
   20934   $ac_cs_success || as_fn_exit 1
   20935 fi
   20936 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   20937   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   20938 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   20939 fi
   20940 
   20941