Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.4
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.68 for libXres 1.0.7.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 #
      8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
     10 # Foundation, Inc.
     11 #
     12 #
     13 # This configure script is free software; the Free Software Foundation
     14 # gives unlimited permission to copy, distribute and modify it.
     15 ## -------------------- ##
     16 ## M4sh Initialization. ##
     17 ## -------------------- ##
     18 
     19 # Be more Bourne compatible
     20 DUALCASE=1; export DUALCASE # for MKS sh
     21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     22   emulate sh
     23   NULLCMD=:
     24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     25   # is contrary to our usage.  Disable this feature.
     26   alias -g '${1+"$@"}'='"$@"'
     27   setopt NO_GLOB_SUBST
     28 else
     29   case `(set -o) 2>/dev/null` in #(
     30   *posix*) :
     31     set -o posix ;; #(
     32   *) :
     33      ;;
     34 esac
     35 fi
     36 
     37 
     38 as_nl='
     39 '
     40 export as_nl
     41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     45 # Prefer a ksh shell builtin over an external printf program on Solaris,
     46 # but without wasting forks for bash or zsh.
     47 if test -z "$BASH_VERSION$ZSH_VERSION" \
     48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     49   as_echo='print -r --'
     50   as_echo_n='print -rn --'
     51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     52   as_echo='printf %s\n'
     53   as_echo_n='printf %s'
     54 else
     55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     57     as_echo_n='/usr/ucb/echo -n'
     58   else
     59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     60     as_echo_n_body='eval
     61       arg=$1;
     62       case $arg in #(
     63       *"$as_nl"*)
     64 	expr "X$arg" : "X\\(.*\\)$as_nl";
     65 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     66       esac;
     67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     68     '
     69     export as_echo_n_body
     70     as_echo_n='sh -c $as_echo_n_body as_echo'
     71   fi
     72   export as_echo_body
     73   as_echo='sh -c $as_echo_body as_echo'
     74 fi
     75 
     76 # The user is always right.
     77 if test "${PATH_SEPARATOR+set}" != set; then
     78   PATH_SEPARATOR=:
     79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     81       PATH_SEPARATOR=';'
     82   }
     83 fi
     84 
     85 
     86 # IFS
     87 # We need space, tab and new line, in precisely that order.  Quoting is
     88 # there to prevent editors from complaining about space-tab.
     89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     90 # splitting by setting IFS to empty value.)
     91 IFS=" ""	$as_nl"
     92 
     93 # Find who we are.  Look in the path if we contain no directory separator.
     94 as_myself=
     95 case $0 in #((
     96   *[\\/]* ) as_myself=$0 ;;
     97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     98 for as_dir in $PATH
     99 do
    100   IFS=$as_save_IFS
    101   test -z "$as_dir" && as_dir=.
    102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    103   done
    104 IFS=$as_save_IFS
    105 
    106      ;;
    107 esac
    108 # We did not find ourselves, most probably we were run as `sh COMMAND'
    109 # in which case we are not to be found in the path.
    110 if test "x$as_myself" = x; then
    111   as_myself=$0
    112 fi
    113 if test ! -f "$as_myself"; then
    114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    115   exit 1
    116 fi
    117 
    118 # Unset variables that we do not need and which cause bugs (e.g. in
    119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    120 # suppresses any "Segmentation fault" message there.  '((' could
    121 # trigger a bug in pdksh 5.2.14.
    122 for as_var in BASH_ENV ENV MAIL MAILPATH
    123 do eval test x\${$as_var+set} = xset \
    124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    125 done
    126 PS1='$ '
    127 PS2='> '
    128 PS4='+ '
    129 
    130 # NLS nuisances.
    131 LC_ALL=C
    132 export LC_ALL
    133 LANGUAGE=C
    134 export LANGUAGE
    135 
    136 # CDPATH.
    137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    138 
    139 if test "x$CONFIG_SHELL" = x; then
    140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    141   emulate sh
    142   NULLCMD=:
    143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    144   # is contrary to our usage.  Disable this feature.
    145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    146   setopt NO_GLOB_SUBST
    147 else
    148   case \`(set -o) 2>/dev/null\` in #(
    149   *posix*) :
    150     set -o posix ;; #(
    151   *) :
    152      ;;
    153 esac
    154 fi
    155 "
    156   as_required="as_fn_return () { (exit \$1); }
    157 as_fn_success () { as_fn_return 0; }
    158 as_fn_failure () { as_fn_return 1; }
    159 as_fn_ret_success () { return 0; }
    160 as_fn_ret_failure () { return 1; }
    161 
    162 exitcode=0
    163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    168 
    169 else
    170   exitcode=1; echo positional parameters were not saved.
    171 fi
    172 test x\$exitcode = x0 || exit 1"
    173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    177 
    178   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    179     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    180     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    181     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    182     PATH=/empty FPATH=/empty; export PATH FPATH
    183     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    184       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
    185 test \$(( 1 + 1 )) = 2 || exit 1"
    186   if (eval "$as_required") 2>/dev/null; then :
    187   as_have_required=yes
    188 else
    189   as_have_required=no
    190 fi
    191   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    192 
    193 else
    194   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    195 as_found=false
    196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    197 do
    198   IFS=$as_save_IFS
    199   test -z "$as_dir" && as_dir=.
    200   as_found=:
    201   case $as_dir in #(
    202 	 /*)
    203 	   for as_base in sh bash ksh sh5; do
    204 	     # Try only shells that exist, to save several forks.
    205 	     as_shell=$as_dir/$as_base
    206 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    207 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    208   CONFIG_SHELL=$as_shell as_have_required=yes
    209 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    210   break 2
    211 fi
    212 fi
    213 	   done;;
    214        esac
    215   as_found=false
    216 done
    217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    218 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    219   CONFIG_SHELL=$SHELL as_have_required=yes
    220 fi; }
    221 IFS=$as_save_IFS
    222 
    223 
    224       if test "x$CONFIG_SHELL" != x; then :
    225   # We cannot yet assume a decent shell, so we have to provide a
    226 	# neutralization value for shells without unset; and this also
    227 	# works around shells that cannot unset nonexistent variables.
    228 	# Preserve -v and -x to the replacement shell.
    229 	BASH_ENV=/dev/null
    230 	ENV=/dev/null
    231 	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    232 	export CONFIG_SHELL
    233 	case $- in # ((((
    234 	  *v*x* | *x*v* ) as_opts=-vx ;;
    235 	  *v* ) as_opts=-v ;;
    236 	  *x* ) as_opts=-x ;;
    237 	  * ) as_opts= ;;
    238 	esac
    239 	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
    240 fi
    241 
    242     if test x$as_have_required = xno; then :
    243   $as_echo "$0: This script requires a shell more modern than all"
    244   $as_echo "$0: the shells that I found on your system."
    245   if test x${ZSH_VERSION+set} = xset ; then
    246     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    247     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    248   else
    249     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    250 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    251 $0: about your system, including any error possibly output
    252 $0: before this message. Then install a modern shell, or
    253 $0: manually run the script under such a shell if you do
    254 $0: have one."
    255   fi
    256   exit 1
    257 fi
    258 fi
    259 fi
    260 SHELL=${CONFIG_SHELL-/bin/sh}
    261 export SHELL
    262 # Unset more variables known to interfere with behavior of common tools.
    263 CLICOLOR_FORCE= GREP_OPTIONS=
    264 unset CLICOLOR_FORCE GREP_OPTIONS
    265 
    266 ## --------------------- ##
    267 ## M4sh Shell Functions. ##
    268 ## --------------------- ##
    269 # as_fn_unset VAR
    270 # ---------------
    271 # Portably unset VAR.
    272 as_fn_unset ()
    273 {
    274   { eval $1=; unset $1;}
    275 }
    276 as_unset=as_fn_unset
    277 
    278 # as_fn_set_status STATUS
    279 # -----------------------
    280 # Set $? to STATUS, without forking.
    281 as_fn_set_status ()
    282 {
    283   return $1
    284 } # as_fn_set_status
    285 
    286 # as_fn_exit STATUS
    287 # -----------------
    288 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    289 as_fn_exit ()
    290 {
    291   set +e
    292   as_fn_set_status $1
    293   exit $1
    294 } # as_fn_exit
    295 
    296 # as_fn_mkdir_p
    297 # -------------
    298 # Create "$as_dir" as a directory, including parents if necessary.
    299 as_fn_mkdir_p ()
    300 {
    301 
    302   case $as_dir in #(
    303   -*) as_dir=./$as_dir;;
    304   esac
    305   test -d "$as_dir" || eval $as_mkdir_p || {
    306     as_dirs=
    307     while :; do
    308       case $as_dir in #(
    309       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    310       *) as_qdir=$as_dir;;
    311       esac
    312       as_dirs="'$as_qdir' $as_dirs"
    313       as_dir=`$as_dirname -- "$as_dir" ||
    314 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    315 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    316 	 X"$as_dir" : 'X\(//\)$' \| \
    317 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    318 $as_echo X"$as_dir" |
    319     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    320 	    s//\1/
    321 	    q
    322 	  }
    323 	  /^X\(\/\/\)[^/].*/{
    324 	    s//\1/
    325 	    q
    326 	  }
    327 	  /^X\(\/\/\)$/{
    328 	    s//\1/
    329 	    q
    330 	  }
    331 	  /^X\(\/\).*/{
    332 	    s//\1/
    333 	    q
    334 	  }
    335 	  s/.*/./; q'`
    336       test -d "$as_dir" && break
    337     done
    338     test -z "$as_dirs" || eval "mkdir $as_dirs"
    339   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    340 
    341 
    342 } # as_fn_mkdir_p
    343 # as_fn_append VAR VALUE
    344 # ----------------------
    345 # Append the text in VALUE to the end of the definition contained in VAR. Take
    346 # advantage of any shell optimizations that allow amortized linear growth over
    347 # repeated appends, instead of the typical quadratic growth present in naive
    348 # implementations.
    349 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    350   eval 'as_fn_append ()
    351   {
    352     eval $1+=\$2
    353   }'
    354 else
    355   as_fn_append ()
    356   {
    357     eval $1=\$$1\$2
    358   }
    359 fi # as_fn_append
    360 
    361 # as_fn_arith ARG...
    362 # ------------------
    363 # Perform arithmetic evaluation on the ARGs, and store the result in the
    364 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    365 # must be portable across $(()) and expr.
    366 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    367   eval 'as_fn_arith ()
    368   {
    369     as_val=$(( $* ))
    370   }'
    371 else
    372   as_fn_arith ()
    373   {
    374     as_val=`expr "$@" || test $? -eq 1`
    375   }
    376 fi # as_fn_arith
    377 
    378 
    379 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    380 # ----------------------------------------
    381 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    382 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    383 # script with STATUS, using 1 if that was 0.
    384 as_fn_error ()
    385 {
    386   as_status=$1; test $as_status -eq 0 && as_status=1
    387   if test "$4"; then
    388     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    389     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    390   fi
    391   $as_echo "$as_me: error: $2" >&2
    392   as_fn_exit $as_status
    393 } # as_fn_error
    394 
    395 if expr a : '\(a\)' >/dev/null 2>&1 &&
    396    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    397   as_expr=expr
    398 else
    399   as_expr=false
    400 fi
    401 
    402 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    403   as_basename=basename
    404 else
    405   as_basename=false
    406 fi
    407 
    408 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    409   as_dirname=dirname
    410 else
    411   as_dirname=false
    412 fi
    413 
    414 as_me=`$as_basename -- "$0" ||
    415 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    416 	 X"$0" : 'X\(//\)$' \| \
    417 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    418 $as_echo X/"$0" |
    419     sed '/^.*\/\([^/][^/]*\)\/*$/{
    420 	    s//\1/
    421 	    q
    422 	  }
    423 	  /^X\/\(\/\/\)$/{
    424 	    s//\1/
    425 	    q
    426 	  }
    427 	  /^X\/\(\/\).*/{
    428 	    s//\1/
    429 	    q
    430 	  }
    431 	  s/.*/./; q'`
    432 
    433 # Avoid depending upon Character Ranges.
    434 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    435 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    436 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    437 as_cr_digits='0123456789'
    438 as_cr_alnum=$as_cr_Letters$as_cr_digits
    439 
    440 
    441   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    442   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    443   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    444   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    445   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    446   sed -n '
    447     p
    448     /[$]LINENO/=
    449   ' <$as_myself |
    450     sed '
    451       s/[$]LINENO.*/&-/
    452       t lineno
    453       b
    454       :lineno
    455       N
    456       :loop
    457       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    458       t loop
    459       s/-\n.*//
    460     ' >$as_me.lineno &&
    461   chmod +x "$as_me.lineno" ||
    462     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    463 
    464   # Don't try to exec as it changes $[0], causing all sort of problems
    465   # (the dirname of $[0] is not the place where we might find the
    466   # original and so on.  Autoconf is especially sensitive to this).
    467   . "./$as_me.lineno"
    468   # Exit status is that of the last command.
    469   exit
    470 }
    471 
    472 ECHO_C= ECHO_N= ECHO_T=
    473 case `echo -n x` in #(((((
    474 -n*)
    475   case `echo 'xy\c'` in
    476   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    477   xy)  ECHO_C='\c';;
    478   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    479        ECHO_T='	';;
    480   esac;;
    481 *)
    482   ECHO_N='-n';;
    483 esac
    484 
    485 rm -f conf$$ conf$$.exe conf$$.file
    486 if test -d conf$$.dir; then
    487   rm -f conf$$.dir/conf$$.file
    488 else
    489   rm -f conf$$.dir
    490   mkdir conf$$.dir 2>/dev/null
    491 fi
    492 if (echo >conf$$.file) 2>/dev/null; then
    493   if ln -s conf$$.file conf$$ 2>/dev/null; then
    494     as_ln_s='ln -s'
    495     # ... but there are two gotchas:
    496     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    497     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    498     # In both cases, we have to default to `cp -p'.
    499     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    500       as_ln_s='cp -p'
    501   elif ln conf$$.file conf$$ 2>/dev/null; then
    502     as_ln_s=ln
    503   else
    504     as_ln_s='cp -p'
    505   fi
    506 else
    507   as_ln_s='cp -p'
    508 fi
    509 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    510 rmdir conf$$.dir 2>/dev/null
    511 
    512 if mkdir -p . 2>/dev/null; then
    513   as_mkdir_p='mkdir -p "$as_dir"'
    514 else
    515   test -d ./-p && rmdir ./-p
    516   as_mkdir_p=false
    517 fi
    518 
    519 if test -x / >/dev/null 2>&1; then
    520   as_test_x='test -x'
    521 else
    522   if ls -dL / >/dev/null 2>&1; then
    523     as_ls_L_option=L
    524   else
    525     as_ls_L_option=
    526   fi
    527   as_test_x='
    528     eval sh -c '\''
    529       if test -d "$1"; then
    530 	test -d "$1/.";
    531       else
    532 	case $1 in #(
    533 	-*)set "./$1";;
    534 	esac;
    535 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    536 	???[sx]*):;;*)false;;esac;fi
    537     '\'' sh
    538   '
    539 fi
    540 as_executable_p=$as_test_x
    541 
    542 # Sed expression to map a string onto a valid CPP name.
    543 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    544 
    545 # Sed expression to map a string onto a valid variable name.
    546 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    547 
    548 SHELL=${CONFIG_SHELL-/bin/sh}
    549 
    550 
    551 test -n "$DJDIR" || exec 7<&0 </dev/null
    552 exec 6>&1
    553 
    554 # Name of the host.
    555 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    556 # so uname gets run too.
    557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    558 
    559 #
    560 # Initializations.
    561 #
    562 ac_default_prefix=/usr/local
    563 ac_clean_files=
    564 ac_config_libobj_dir=.
    565 LIBOBJS=
    566 cross_compiling=no
    567 subdirs=
    568 MFLAGS=
    569 MAKEFLAGS=
    570 
    571 # Identity of this package.
    572 PACKAGE_NAME='libXres'
    573 PACKAGE_TARNAME='libXres'
    574 PACKAGE_VERSION='1.0.7'
    575 PACKAGE_STRING='libXres 1.0.7'
    576 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    577 PACKAGE_URL=''
    578 
    579 ac_unique_file="Makefile.am"
    580 # Factoring default headers for most tests.
    581 ac_includes_default="\
    582 #include <stdio.h>
    583 #ifdef HAVE_SYS_TYPES_H
    584 # include <sys/types.h>
    585 #endif
    586 #ifdef HAVE_SYS_STAT_H
    587 # include <sys/stat.h>
    588 #endif
    589 #ifdef STDC_HEADERS
    590 # include <stdlib.h>
    591 # include <stddef.h>
    592 #else
    593 # ifdef HAVE_STDLIB_H
    594 #  include <stdlib.h>
    595 # endif
    596 #endif
    597 #ifdef HAVE_STRING_H
    598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    599 #  include <memory.h>
    600 # endif
    601 # include <string.h>
    602 #endif
    603 #ifdef HAVE_STRINGS_H
    604 # include <strings.h>
    605 #endif
    606 #ifdef HAVE_INTTYPES_H
    607 # include <inttypes.h>
    608 #endif
    609 #ifdef HAVE_STDINT_H
    610 # include <stdint.h>
    611 #endif
    612 #ifdef HAVE_UNISTD_H
    613 # include <unistd.h>
    614 #endif"
    615 
    616 ac_subst_vars='am__EXEEXT_FALSE
    617 am__EXEEXT_TRUE
    618 LTLIBOBJS
    619 LIBOBJS
    620 XRES_LIBS
    621 XRES_CFLAGS
    622 XTMALLOC_ZERO_CFLAGS
    623 XMALLOC_ZERO_CFLAGS
    624 MALLOC_ZERO_CFLAGS
    625 MAN_SUBSTS
    626 XORG_MAN_PAGE
    627 ADMIN_MAN_DIR
    628 DRIVER_MAN_DIR
    629 MISC_MAN_DIR
    630 FILE_MAN_DIR
    631 LIB_MAN_DIR
    632 APP_MAN_DIR
    633 ADMIN_MAN_SUFFIX
    634 DRIVER_MAN_SUFFIX
    635 MISC_MAN_SUFFIX
    636 FILE_MAN_SUFFIX
    637 LIB_MAN_SUFFIX
    638 APP_MAN_SUFFIX
    639 INSTALL_CMD
    640 PKG_CONFIG
    641 CHANGELOG_CMD
    642 STRICT_CFLAGS
    643 CWARNFLAGS
    644 BASE_CFLAGS
    645 CPP
    646 OTOOL64
    647 OTOOL
    648 LIPO
    649 NMEDIT
    650 DSYMUTIL
    651 MANIFEST_TOOL
    652 RANLIB
    653 ac_ct_AR
    654 AR
    655 DLLTOOL
    656 OBJDUMP
    657 LN_S
    658 NM
    659 ac_ct_DUMPBIN
    660 DUMPBIN
    661 LD
    662 FGREP
    663 EGREP
    664 GREP
    665 SED
    666 am__fastdepCC_FALSE
    667 am__fastdepCC_TRUE
    668 CCDEPMODE
    669 am__nodep
    670 AMDEPBACKSLASH
    671 AMDEP_FALSE
    672 AMDEP_TRUE
    673 am__quote
    674 am__include
    675 DEPDIR
    676 OBJEXT
    677 EXEEXT
    678 ac_ct_CC
    679 CPPFLAGS
    680 LDFLAGS
    681 CFLAGS
    682 CC
    683 host_os
    684 host_vendor
    685 host_cpu
    686 host
    687 build_os
    688 build_vendor
    689 build_cpu
    690 build
    691 LIBTOOL
    692 MAINT
    693 MAINTAINER_MODE_FALSE
    694 MAINTAINER_MODE_TRUE
    695 AM_BACKSLASH
    696 AM_DEFAULT_VERBOSITY
    697 AM_DEFAULT_V
    698 AM_V
    699 am__untar
    700 am__tar
    701 AMTAR
    702 am__leading_dot
    703 SET_MAKE
    704 AWK
    705 mkdir_p
    706 MKDIR_P
    707 INSTALL_STRIP_PROGRAM
    708 STRIP
    709 install_sh
    710 MAKEINFO
    711 AUTOHEADER
    712 AUTOMAKE
    713 AUTOCONF
    714 ACLOCAL
    715 VERSION
    716 PACKAGE
    717 CYGPATH_W
    718 am__isrc
    719 INSTALL_DATA
    720 INSTALL_SCRIPT
    721 INSTALL_PROGRAM
    722 target_alias
    723 host_alias
    724 build_alias
    725 LIBS
    726 ECHO_T
    727 ECHO_N
    728 ECHO_C
    729 DEFS
    730 mandir
    731 localedir
    732 libdir
    733 psdir
    734 pdfdir
    735 dvidir
    736 htmldir
    737 infodir
    738 docdir
    739 oldincludedir
    740 includedir
    741 localstatedir
    742 sharedstatedir
    743 sysconfdir
    744 datadir
    745 datarootdir
    746 libexecdir
    747 sbindir
    748 bindir
    749 program_transform_name
    750 prefix
    751 exec_prefix
    752 PACKAGE_URL
    753 PACKAGE_BUGREPORT
    754 PACKAGE_STRING
    755 PACKAGE_VERSION
    756 PACKAGE_TARNAME
    757 PACKAGE_NAME
    758 PATH_SEPARATOR
    759 SHELL'
    760 ac_subst_files=''
    761 ac_user_opts='
    762 enable_option_checking
    763 enable_silent_rules
    764 enable_maintainer_mode
    765 enable_shared
    766 enable_static
    767 with_pic
    768 enable_fast_install
    769 enable_dependency_tracking
    770 with_gnu_ld
    771 with_sysroot
    772 enable_libtool_lock
    773 enable_selective_werror
    774 enable_strict_compilation
    775 enable_malloc0returnsnull
    776 '
    777       ac_precious_vars='build_alias
    778 host_alias
    779 target_alias
    780 CC
    781 CFLAGS
    782 LDFLAGS
    783 LIBS
    784 CPPFLAGS
    785 CPP
    786 PKG_CONFIG
    787 XRES_CFLAGS
    788 XRES_LIBS'
    789 
    790 
    791 # Initialize some variables set by options.
    792 ac_init_help=
    793 ac_init_version=false
    794 ac_unrecognized_opts=
    795 ac_unrecognized_sep=
    796 # The variables have the same names as the options, with
    797 # dashes changed to underlines.
    798 cache_file=/dev/null
    799 exec_prefix=NONE
    800 no_create=
    801 no_recursion=
    802 prefix=NONE
    803 program_prefix=NONE
    804 program_suffix=NONE
    805 program_transform_name=s,x,x,
    806 silent=
    807 site=
    808 srcdir=
    809 verbose=
    810 x_includes=NONE
    811 x_libraries=NONE
    812 
    813 # Installation directory options.
    814 # These are left unexpanded so users can "make install exec_prefix=/foo"
    815 # and all the variables that are supposed to be based on exec_prefix
    816 # by default will actually change.
    817 # Use braces instead of parens because sh, perl, etc. also accept them.
    818 # (The list follows the same order as the GNU Coding Standards.)
    819 bindir='${exec_prefix}/bin'
    820 sbindir='${exec_prefix}/sbin'
    821 libexecdir='${exec_prefix}/libexec'
    822 datarootdir='${prefix}/share'
    823 datadir='${datarootdir}'
    824 sysconfdir='${prefix}/etc'
    825 sharedstatedir='${prefix}/com'
    826 localstatedir='${prefix}/var'
    827 includedir='${prefix}/include'
    828 oldincludedir='/usr/include'
    829 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    830 infodir='${datarootdir}/info'
    831 htmldir='${docdir}'
    832 dvidir='${docdir}'
    833 pdfdir='${docdir}'
    834 psdir='${docdir}'
    835 libdir='${exec_prefix}/lib'
    836 localedir='${datarootdir}/locale'
    837 mandir='${datarootdir}/man'
    838 
    839 ac_prev=
    840 ac_dashdash=
    841 for ac_option
    842 do
    843   # If the previous option needs an argument, assign it.
    844   if test -n "$ac_prev"; then
    845     eval $ac_prev=\$ac_option
    846     ac_prev=
    847     continue
    848   fi
    849 
    850   case $ac_option in
    851   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    852   *=)   ac_optarg= ;;
    853   *)    ac_optarg=yes ;;
    854   esac
    855 
    856   # Accept the important Cygnus configure options, so we can diagnose typos.
    857 
    858   case $ac_dashdash$ac_option in
    859   --)
    860     ac_dashdash=yes ;;
    861 
    862   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    863     ac_prev=bindir ;;
    864   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    865     bindir=$ac_optarg ;;
    866 
    867   -build | --build | --buil | --bui | --bu)
    868     ac_prev=build_alias ;;
    869   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    870     build_alias=$ac_optarg ;;
    871 
    872   -cache-file | --cache-file | --cache-fil | --cache-fi \
    873   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    874     ac_prev=cache_file ;;
    875   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    876   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    877     cache_file=$ac_optarg ;;
    878 
    879   --config-cache | -C)
    880     cache_file=config.cache ;;
    881 
    882   -datadir | --datadir | --datadi | --datad)
    883     ac_prev=datadir ;;
    884   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    885     datadir=$ac_optarg ;;
    886 
    887   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    888   | --dataroo | --dataro | --datar)
    889     ac_prev=datarootdir ;;
    890   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    891   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    892     datarootdir=$ac_optarg ;;
    893 
    894   -disable-* | --disable-*)
    895     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    896     # Reject names that are not valid shell variable names.
    897     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    898       as_fn_error $? "invalid feature name: $ac_useropt"
    899     ac_useropt_orig=$ac_useropt
    900     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    901     case $ac_user_opts in
    902       *"
    903 "enable_$ac_useropt"
    904 "*) ;;
    905       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    906 	 ac_unrecognized_sep=', ';;
    907     esac
    908     eval enable_$ac_useropt=no ;;
    909 
    910   -docdir | --docdir | --docdi | --doc | --do)
    911     ac_prev=docdir ;;
    912   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    913     docdir=$ac_optarg ;;
    914 
    915   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    916     ac_prev=dvidir ;;
    917   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    918     dvidir=$ac_optarg ;;
    919 
    920   -enable-* | --enable-*)
    921     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    922     # Reject names that are not valid shell variable names.
    923     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    924       as_fn_error $? "invalid feature name: $ac_useropt"
    925     ac_useropt_orig=$ac_useropt
    926     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    927     case $ac_user_opts in
    928       *"
    929 "enable_$ac_useropt"
    930 "*) ;;
    931       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    932 	 ac_unrecognized_sep=', ';;
    933     esac
    934     eval enable_$ac_useropt=\$ac_optarg ;;
    935 
    936   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    937   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    938   | --exec | --exe | --ex)
    939     ac_prev=exec_prefix ;;
    940   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    941   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    942   | --exec=* | --exe=* | --ex=*)
    943     exec_prefix=$ac_optarg ;;
    944 
    945   -gas | --gas | --ga | --g)
    946     # Obsolete; use --with-gas.
    947     with_gas=yes ;;
    948 
    949   -help | --help | --hel | --he | -h)
    950     ac_init_help=long ;;
    951   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    952     ac_init_help=recursive ;;
    953   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    954     ac_init_help=short ;;
    955 
    956   -host | --host | --hos | --ho)
    957     ac_prev=host_alias ;;
    958   -host=* | --host=* | --hos=* | --ho=*)
    959     host_alias=$ac_optarg ;;
    960 
    961   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    962     ac_prev=htmldir ;;
    963   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    964   | --ht=*)
    965     htmldir=$ac_optarg ;;
    966 
    967   -includedir | --includedir | --includedi | --included | --include \
    968   | --includ | --inclu | --incl | --inc)
    969     ac_prev=includedir ;;
    970   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    971   | --includ=* | --inclu=* | --incl=* | --inc=*)
    972     includedir=$ac_optarg ;;
    973 
    974   -infodir | --infodir | --infodi | --infod | --info | --inf)
    975     ac_prev=infodir ;;
    976   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    977     infodir=$ac_optarg ;;
    978 
    979   -libdir | --libdir | --libdi | --libd)
    980     ac_prev=libdir ;;
    981   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    982     libdir=$ac_optarg ;;
    983 
    984   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    985   | --libexe | --libex | --libe)
    986     ac_prev=libexecdir ;;
    987   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    988   | --libexe=* | --libex=* | --libe=*)
    989     libexecdir=$ac_optarg ;;
    990 
    991   -localedir | --localedir | --localedi | --localed | --locale)
    992     ac_prev=localedir ;;
    993   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    994     localedir=$ac_optarg ;;
    995 
    996   -localstatedir | --localstatedir | --localstatedi | --localstated \
    997   | --localstate | --localstat | --localsta | --localst | --locals)
    998     ac_prev=localstatedir ;;
    999   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1000   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1001     localstatedir=$ac_optarg ;;
   1002 
   1003   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1004     ac_prev=mandir ;;
   1005   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1006     mandir=$ac_optarg ;;
   1007 
   1008   -nfp | --nfp | --nf)
   1009     # Obsolete; use --without-fp.
   1010     with_fp=no ;;
   1011 
   1012   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1013   | --no-cr | --no-c | -n)
   1014     no_create=yes ;;
   1015 
   1016   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1017   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1018     no_recursion=yes ;;
   1019 
   1020   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1021   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1022   | --oldin | --oldi | --old | --ol | --o)
   1023     ac_prev=oldincludedir ;;
   1024   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1025   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1026   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1027     oldincludedir=$ac_optarg ;;
   1028 
   1029   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1030     ac_prev=prefix ;;
   1031   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1032     prefix=$ac_optarg ;;
   1033 
   1034   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1035   | --program-pre | --program-pr | --program-p)
   1036     ac_prev=program_prefix ;;
   1037   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1038   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1039     program_prefix=$ac_optarg ;;
   1040 
   1041   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1042   | --program-suf | --program-su | --program-s)
   1043     ac_prev=program_suffix ;;
   1044   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1045   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1046     program_suffix=$ac_optarg ;;
   1047 
   1048   -program-transform-name | --program-transform-name \
   1049   | --program-transform-nam | --program-transform-na \
   1050   | --program-transform-n | --program-transform- \
   1051   | --program-transform | --program-transfor \
   1052   | --program-transfo | --program-transf \
   1053   | --program-trans | --program-tran \
   1054   | --progr-tra | --program-tr | --program-t)
   1055     ac_prev=program_transform_name ;;
   1056   -program-transform-name=* | --program-transform-name=* \
   1057   | --program-transform-nam=* | --program-transform-na=* \
   1058   | --program-transform-n=* | --program-transform-=* \
   1059   | --program-transform=* | --program-transfor=* \
   1060   | --program-transfo=* | --program-transf=* \
   1061   | --program-trans=* | --program-tran=* \
   1062   | --progr-tra=* | --program-tr=* | --program-t=*)
   1063     program_transform_name=$ac_optarg ;;
   1064 
   1065   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1066     ac_prev=pdfdir ;;
   1067   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1068     pdfdir=$ac_optarg ;;
   1069 
   1070   -psdir | --psdir | --psdi | --psd | --ps)
   1071     ac_prev=psdir ;;
   1072   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1073     psdir=$ac_optarg ;;
   1074 
   1075   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1076   | -silent | --silent | --silen | --sile | --sil)
   1077     silent=yes ;;
   1078 
   1079   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1080     ac_prev=sbindir ;;
   1081   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1082   | --sbi=* | --sb=*)
   1083     sbindir=$ac_optarg ;;
   1084 
   1085   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1086   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1087   | --sharedst | --shareds | --shared | --share | --shar \
   1088   | --sha | --sh)
   1089     ac_prev=sharedstatedir ;;
   1090   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1091   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1092   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1093   | --sha=* | --sh=*)
   1094     sharedstatedir=$ac_optarg ;;
   1095 
   1096   -site | --site | --sit)
   1097     ac_prev=site ;;
   1098   -site=* | --site=* | --sit=*)
   1099     site=$ac_optarg ;;
   1100 
   1101   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1102     ac_prev=srcdir ;;
   1103   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1104     srcdir=$ac_optarg ;;
   1105 
   1106   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1107   | --syscon | --sysco | --sysc | --sys | --sy)
   1108     ac_prev=sysconfdir ;;
   1109   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1110   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1111     sysconfdir=$ac_optarg ;;
   1112 
   1113   -target | --target | --targe | --targ | --tar | --ta | --t)
   1114     ac_prev=target_alias ;;
   1115   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1116     target_alias=$ac_optarg ;;
   1117 
   1118   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1119     verbose=yes ;;
   1120 
   1121   -version | --version | --versio | --versi | --vers | -V)
   1122     ac_init_version=: ;;
   1123 
   1124   -with-* | --with-*)
   1125     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1126     # Reject names that are not valid shell variable names.
   1127     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1128       as_fn_error $? "invalid package name: $ac_useropt"
   1129     ac_useropt_orig=$ac_useropt
   1130     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1131     case $ac_user_opts in
   1132       *"
   1133 "with_$ac_useropt"
   1134 "*) ;;
   1135       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1136 	 ac_unrecognized_sep=', ';;
   1137     esac
   1138     eval with_$ac_useropt=\$ac_optarg ;;
   1139 
   1140   -without-* | --without-*)
   1141     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1142     # Reject names that are not valid shell variable names.
   1143     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1144       as_fn_error $? "invalid package name: $ac_useropt"
   1145     ac_useropt_orig=$ac_useropt
   1146     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1147     case $ac_user_opts in
   1148       *"
   1149 "with_$ac_useropt"
   1150 "*) ;;
   1151       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1152 	 ac_unrecognized_sep=', ';;
   1153     esac
   1154     eval with_$ac_useropt=no ;;
   1155 
   1156   --x)
   1157     # Obsolete; use --with-x.
   1158     with_x=yes ;;
   1159 
   1160   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1161   | --x-incl | --x-inc | --x-in | --x-i)
   1162     ac_prev=x_includes ;;
   1163   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1164   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1165     x_includes=$ac_optarg ;;
   1166 
   1167   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1168   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1169     ac_prev=x_libraries ;;
   1170   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1171   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1172     x_libraries=$ac_optarg ;;
   1173 
   1174   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1175 Try \`$0 --help' for more information"
   1176     ;;
   1177 
   1178   *=*)
   1179     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1180     # Reject names that are not valid shell variable names.
   1181     case $ac_envvar in #(
   1182       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1183       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1184     esac
   1185     eval $ac_envvar=\$ac_optarg
   1186     export $ac_envvar ;;
   1187 
   1188   *)
   1189     # FIXME: should be removed in autoconf 3.0.
   1190     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1191     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1192       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1193     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1194     ;;
   1195 
   1196   esac
   1197 done
   1198 
   1199 if test -n "$ac_prev"; then
   1200   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1201   as_fn_error $? "missing argument to $ac_option"
   1202 fi
   1203 
   1204 if test -n "$ac_unrecognized_opts"; then
   1205   case $enable_option_checking in
   1206     no) ;;
   1207     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1208     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1209   esac
   1210 fi
   1211 
   1212 # Check all directory arguments for consistency.
   1213 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1214 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1215 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1216 		libdir localedir mandir
   1217 do
   1218   eval ac_val=\$$ac_var
   1219   # Remove trailing slashes.
   1220   case $ac_val in
   1221     */ )
   1222       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1223       eval $ac_var=\$ac_val;;
   1224   esac
   1225   # Be sure to have absolute directory names.
   1226   case $ac_val in
   1227     [\\/$]* | ?:[\\/]* )  continue;;
   1228     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1229   esac
   1230   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1231 done
   1232 
   1233 # There might be people who depend on the old broken behavior: `$host'
   1234 # used to hold the argument of --host etc.
   1235 # FIXME: To remove some day.
   1236 build=$build_alias
   1237 host=$host_alias
   1238 target=$target_alias
   1239 
   1240 # FIXME: To remove some day.
   1241 if test "x$host_alias" != x; then
   1242   if test "x$build_alias" = x; then
   1243     cross_compiling=maybe
   1244     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1245     If a cross compiler is detected then cross compile mode will be used" >&2
   1246   elif test "x$build_alias" != "x$host_alias"; then
   1247     cross_compiling=yes
   1248   fi
   1249 fi
   1250 
   1251 ac_tool_prefix=
   1252 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1253 
   1254 test "$silent" = yes && exec 6>/dev/null
   1255 
   1256 
   1257 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1258 ac_ls_di=`ls -di .` &&
   1259 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1260   as_fn_error $? "working directory cannot be determined"
   1261 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1262   as_fn_error $? "pwd does not report name of working directory"
   1263 
   1264 
   1265 # Find the source files, if location was not specified.
   1266 if test -z "$srcdir"; then
   1267   ac_srcdir_defaulted=yes
   1268   # Try the directory containing this script, then the parent directory.
   1269   ac_confdir=`$as_dirname -- "$as_myself" ||
   1270 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1271 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1272 	 X"$as_myself" : 'X\(//\)$' \| \
   1273 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1274 $as_echo X"$as_myself" |
   1275     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1276 	    s//\1/
   1277 	    q
   1278 	  }
   1279 	  /^X\(\/\/\)[^/].*/{
   1280 	    s//\1/
   1281 	    q
   1282 	  }
   1283 	  /^X\(\/\/\)$/{
   1284 	    s//\1/
   1285 	    q
   1286 	  }
   1287 	  /^X\(\/\).*/{
   1288 	    s//\1/
   1289 	    q
   1290 	  }
   1291 	  s/.*/./; q'`
   1292   srcdir=$ac_confdir
   1293   if test ! -r "$srcdir/$ac_unique_file"; then
   1294     srcdir=..
   1295   fi
   1296 else
   1297   ac_srcdir_defaulted=no
   1298 fi
   1299 if test ! -r "$srcdir/$ac_unique_file"; then
   1300   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1301   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1302 fi
   1303 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1304 ac_abs_confdir=`(
   1305 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1306 	pwd)`
   1307 # When building in place, set srcdir=.
   1308 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1309   srcdir=.
   1310 fi
   1311 # Remove unnecessary trailing slashes from srcdir.
   1312 # Double slashes in file names in object file debugging info
   1313 # mess up M-x gdb in Emacs.
   1314 case $srcdir in
   1315 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1316 esac
   1317 for ac_var in $ac_precious_vars; do
   1318   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1319   eval ac_env_${ac_var}_value=\$${ac_var}
   1320   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1321   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1322 done
   1323 
   1324 #
   1325 # Report the --help message.
   1326 #
   1327 if test "$ac_init_help" = "long"; then
   1328   # Omit some internal or obsolete options to make the list less imposing.
   1329   # This message is too long to be a string in the A/UX 3.1 sh.
   1330   cat <<_ACEOF
   1331 \`configure' configures libXres 1.0.7 to adapt to many kinds of systems.
   1332 
   1333 Usage: $0 [OPTION]... [VAR=VALUE]...
   1334 
   1335 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1336 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1337 
   1338 Defaults for the options are specified in brackets.
   1339 
   1340 Configuration:
   1341   -h, --help              display this help and exit
   1342       --help=short        display options specific to this package
   1343       --help=recursive    display the short help of all the included packages
   1344   -V, --version           display version information and exit
   1345   -q, --quiet, --silent   do not print \`checking ...' messages
   1346       --cache-file=FILE   cache test results in FILE [disabled]
   1347   -C, --config-cache      alias for \`--cache-file=config.cache'
   1348   -n, --no-create         do not create output files
   1349       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1350 
   1351 Installation directories:
   1352   --prefix=PREFIX         install architecture-independent files in PREFIX
   1353                           [$ac_default_prefix]
   1354   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1355                           [PREFIX]
   1356 
   1357 By default, \`make install' will install all the files in
   1358 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1359 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1360 for instance \`--prefix=\$HOME'.
   1361 
   1362 For better control, use the options below.
   1363 
   1364 Fine tuning of the installation directories:
   1365   --bindir=DIR            user executables [EPREFIX/bin]
   1366   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1367   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1368   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1369   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1370   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1371   --libdir=DIR            object code libraries [EPREFIX/lib]
   1372   --includedir=DIR        C header files [PREFIX/include]
   1373   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1374   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1375   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1376   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1377   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1378   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1379   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXres]
   1380   --htmldir=DIR           html documentation [DOCDIR]
   1381   --dvidir=DIR            dvi documentation [DOCDIR]
   1382   --pdfdir=DIR            pdf documentation [DOCDIR]
   1383   --psdir=DIR             ps documentation [DOCDIR]
   1384 _ACEOF
   1385 
   1386   cat <<\_ACEOF
   1387 
   1388 Program names:
   1389   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1390   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1391   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1392 
   1393 System types:
   1394   --build=BUILD     configure for building on BUILD [guessed]
   1395   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1396 _ACEOF
   1397 fi
   1398 
   1399 if test -n "$ac_init_help"; then
   1400   case $ac_init_help in
   1401      short | recursive ) echo "Configuration of libXres 1.0.7:";;
   1402    esac
   1403   cat <<\_ACEOF
   1404 
   1405 Optional Features:
   1406   --disable-option-checking  ignore unrecognized --enable/--with options
   1407   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1408   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1409   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1410   --disable-silent-rules  verbose build output (undo: "make V=0")
   1411   --enable-maintainer-mode
   1412                           enable make rules and dependencies not useful (and
   1413                           sometimes confusing) to the casual installer
   1414   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1415   --enable-static[=PKGS]  build static libraries [default=yes]
   1416   --enable-fast-install[=PKGS]
   1417                           optimize for fast installation [default=yes]
   1418   --enable-dependency-tracking
   1419                           do not reject slow dependency extractors
   1420   --disable-dependency-tracking
   1421                           speeds up one-time build
   1422   --disable-libtool-lock  avoid locking (might break parallel builds)
   1423   --disable-selective-werror
   1424                           Turn off selective compiler errors. (default:
   1425                           enabled)
   1426   --enable-strict-compilation
   1427                           Enable all warnings from compiler and make them
   1428                           errors (default: disabled)
   1429   --enable-malloc0returnsnull
   1430                           malloc(0) returns NULL (default: auto)
   1431 
   1432 Optional Packages:
   1433   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1434   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1435   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1436                           both]
   1437   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1438   --with-sysroot=DIR Search for dependent libraries within DIR
   1439                         (or the compiler's sysroot if not specified).
   1440 
   1441 Some influential environment variables:
   1442   CC          C compiler command
   1443   CFLAGS      C compiler flags
   1444   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1445               nonstandard directory <lib dir>
   1446   LIBS        libraries to pass to the linker, e.g. -l<library>
   1447   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1448               you have headers in a nonstandard directory <include dir>
   1449   CPP         C preprocessor
   1450   PKG_CONFIG  path to pkg-config utility
   1451   XRES_CFLAGS C compiler flags for XRES, overriding pkg-config
   1452   XRES_LIBS   linker flags for XRES, overriding pkg-config
   1453 
   1454 Use these variables to override the choices made by `configure' or to help
   1455 it to find libraries and programs with nonstandard names/locations.
   1456 
   1457 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1458 _ACEOF
   1459 ac_status=$?
   1460 fi
   1461 
   1462 if test "$ac_init_help" = "recursive"; then
   1463   # If there are subdirs, report their specific --help.
   1464   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1465     test -d "$ac_dir" ||
   1466       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1467       continue
   1468     ac_builddir=.
   1469 
   1470 case "$ac_dir" in
   1471 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1472 *)
   1473   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1474   # A ".." for each directory in $ac_dir_suffix.
   1475   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1476   case $ac_top_builddir_sub in
   1477   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1478   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1479   esac ;;
   1480 esac
   1481 ac_abs_top_builddir=$ac_pwd
   1482 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1483 # for backward compatibility:
   1484 ac_top_builddir=$ac_top_build_prefix
   1485 
   1486 case $srcdir in
   1487   .)  # We are building in place.
   1488     ac_srcdir=.
   1489     ac_top_srcdir=$ac_top_builddir_sub
   1490     ac_abs_top_srcdir=$ac_pwd ;;
   1491   [\\/]* | ?:[\\/]* )  # Absolute name.
   1492     ac_srcdir=$srcdir$ac_dir_suffix;
   1493     ac_top_srcdir=$srcdir
   1494     ac_abs_top_srcdir=$srcdir ;;
   1495   *) # Relative name.
   1496     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1497     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1498     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1499 esac
   1500 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1501 
   1502     cd "$ac_dir" || { ac_status=$?; continue; }
   1503     # Check for guested configure.
   1504     if test -f "$ac_srcdir/configure.gnu"; then
   1505       echo &&
   1506       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1507     elif test -f "$ac_srcdir/configure"; then
   1508       echo &&
   1509       $SHELL "$ac_srcdir/configure" --help=recursive
   1510     else
   1511       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1512     fi || ac_status=$?
   1513     cd "$ac_pwd" || { ac_status=$?; break; }
   1514   done
   1515 fi
   1516 
   1517 test -n "$ac_init_help" && exit $ac_status
   1518 if $ac_init_version; then
   1519   cat <<\_ACEOF
   1520 libXres configure 1.0.7
   1521 generated by GNU Autoconf 2.68
   1522 
   1523 Copyright (C) 2010 Free Software Foundation, Inc.
   1524 This configure script is free software; the Free Software Foundation
   1525 gives unlimited permission to copy, distribute and modify it.
   1526 _ACEOF
   1527   exit
   1528 fi
   1529 
   1530 ## ------------------------ ##
   1531 ## Autoconf initialization. ##
   1532 ## ------------------------ ##
   1533 
   1534 # ac_fn_c_try_compile LINENO
   1535 # --------------------------
   1536 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1537 ac_fn_c_try_compile ()
   1538 {
   1539   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1540   rm -f conftest.$ac_objext
   1541   if { { ac_try="$ac_compile"
   1542 case "(($ac_try" in
   1543   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1544   *) ac_try_echo=$ac_try;;
   1545 esac
   1546 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1547 $as_echo "$ac_try_echo"; } >&5
   1548   (eval "$ac_compile") 2>conftest.err
   1549   ac_status=$?
   1550   if test -s conftest.err; then
   1551     grep -v '^ *+' conftest.err >conftest.er1
   1552     cat conftest.er1 >&5
   1553     mv -f conftest.er1 conftest.err
   1554   fi
   1555   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1556   test $ac_status = 0; } && {
   1557 	 test -z "$ac_c_werror_flag" ||
   1558 	 test ! -s conftest.err
   1559        } && test -s conftest.$ac_objext; then :
   1560   ac_retval=0
   1561 else
   1562   $as_echo "$as_me: failed program was:" >&5
   1563 sed 's/^/| /' conftest.$ac_ext >&5
   1564 
   1565 	ac_retval=1
   1566 fi
   1567   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1568   as_fn_set_status $ac_retval
   1569 
   1570 } # ac_fn_c_try_compile
   1571 
   1572 # ac_fn_c_try_link LINENO
   1573 # -----------------------
   1574 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1575 ac_fn_c_try_link ()
   1576 {
   1577   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1578   rm -f conftest.$ac_objext conftest$ac_exeext
   1579   if { { ac_try="$ac_link"
   1580 case "(($ac_try" in
   1581   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1582   *) ac_try_echo=$ac_try;;
   1583 esac
   1584 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1585 $as_echo "$ac_try_echo"; } >&5
   1586   (eval "$ac_link") 2>conftest.err
   1587   ac_status=$?
   1588   if test -s conftest.err; then
   1589     grep -v '^ *+' conftest.err >conftest.er1
   1590     cat conftest.er1 >&5
   1591     mv -f conftest.er1 conftest.err
   1592   fi
   1593   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1594   test $ac_status = 0; } && {
   1595 	 test -z "$ac_c_werror_flag" ||
   1596 	 test ! -s conftest.err
   1597        } && test -s conftest$ac_exeext && {
   1598 	 test "$cross_compiling" = yes ||
   1599 	 $as_test_x conftest$ac_exeext
   1600        }; then :
   1601   ac_retval=0
   1602 else
   1603   $as_echo "$as_me: failed program was:" >&5
   1604 sed 's/^/| /' conftest.$ac_ext >&5
   1605 
   1606 	ac_retval=1
   1607 fi
   1608   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1609   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1610   # interfere with the next link command; also delete a directory that is
   1611   # left behind by Apple's compiler.  We do this before executing the actions.
   1612   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1613   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1614   as_fn_set_status $ac_retval
   1615 
   1616 } # ac_fn_c_try_link
   1617 
   1618 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1619 # -------------------------------------------------------
   1620 # Tests whether HEADER exists and can be compiled using the include files in
   1621 # INCLUDES, setting the cache variable VAR accordingly.
   1622 ac_fn_c_check_header_compile ()
   1623 {
   1624   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1625   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1626 $as_echo_n "checking for $2... " >&6; }
   1627 if eval \${$3+:} false; then :
   1628   $as_echo_n "(cached) " >&6
   1629 else
   1630   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1631 /* end confdefs.h.  */
   1632 $4
   1633 #include <$2>
   1634 _ACEOF
   1635 if ac_fn_c_try_compile "$LINENO"; then :
   1636   eval "$3=yes"
   1637 else
   1638   eval "$3=no"
   1639 fi
   1640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1641 fi
   1642 eval ac_res=\$$3
   1643 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1644 $as_echo "$ac_res" >&6; }
   1645   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1646 
   1647 } # ac_fn_c_check_header_compile
   1648 
   1649 # ac_fn_c_try_cpp LINENO
   1650 # ----------------------
   1651 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1652 ac_fn_c_try_cpp ()
   1653 {
   1654   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1655   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1656 case "(($ac_try" in
   1657   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1658   *) ac_try_echo=$ac_try;;
   1659 esac
   1660 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1661 $as_echo "$ac_try_echo"; } >&5
   1662   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1663   ac_status=$?
   1664   if test -s conftest.err; then
   1665     grep -v '^ *+' conftest.err >conftest.er1
   1666     cat conftest.er1 >&5
   1667     mv -f conftest.er1 conftest.err
   1668   fi
   1669   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1670   test $ac_status = 0; } > conftest.i && {
   1671 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1672 	 test ! -s conftest.err
   1673        }; then :
   1674   ac_retval=0
   1675 else
   1676   $as_echo "$as_me: failed program was:" >&5
   1677 sed 's/^/| /' conftest.$ac_ext >&5
   1678 
   1679     ac_retval=1
   1680 fi
   1681   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1682   as_fn_set_status $ac_retval
   1683 
   1684 } # ac_fn_c_try_cpp
   1685 
   1686 # ac_fn_c_try_run LINENO
   1687 # ----------------------
   1688 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1689 # that executables *can* be run.
   1690 ac_fn_c_try_run ()
   1691 {
   1692   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1693   if { { ac_try="$ac_link"
   1694 case "(($ac_try" in
   1695   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1696   *) ac_try_echo=$ac_try;;
   1697 esac
   1698 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1699 $as_echo "$ac_try_echo"; } >&5
   1700   (eval "$ac_link") 2>&5
   1701   ac_status=$?
   1702   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1703   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1704   { { case "(($ac_try" in
   1705   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1706   *) ac_try_echo=$ac_try;;
   1707 esac
   1708 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1709 $as_echo "$ac_try_echo"; } >&5
   1710   (eval "$ac_try") 2>&5
   1711   ac_status=$?
   1712   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1713   test $ac_status = 0; }; }; then :
   1714   ac_retval=0
   1715 else
   1716   $as_echo "$as_me: program exited with status $ac_status" >&5
   1717        $as_echo "$as_me: failed program was:" >&5
   1718 sed 's/^/| /' conftest.$ac_ext >&5
   1719 
   1720        ac_retval=$ac_status
   1721 fi
   1722   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1723   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1724   as_fn_set_status $ac_retval
   1725 
   1726 } # ac_fn_c_try_run
   1727 
   1728 # ac_fn_c_check_func LINENO FUNC VAR
   1729 # ----------------------------------
   1730 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1731 ac_fn_c_check_func ()
   1732 {
   1733   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1734   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1735 $as_echo_n "checking for $2... " >&6; }
   1736 if eval \${$3+:} false; then :
   1737   $as_echo_n "(cached) " >&6
   1738 else
   1739   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1740 /* end confdefs.h.  */
   1741 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1742    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1743 #define $2 innocuous_$2
   1744 
   1745 /* System header to define __stub macros and hopefully few prototypes,
   1746     which can conflict with char $2 (); below.
   1747     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1748     <limits.h> exists even on freestanding compilers.  */
   1749 
   1750 #ifdef __STDC__
   1751 # include <limits.h>
   1752 #else
   1753 # include <assert.h>
   1754 #endif
   1755 
   1756 #undef $2
   1757 
   1758 /* Override any GCC internal prototype to avoid an error.
   1759    Use char because int might match the return type of a GCC
   1760    builtin and then its argument prototype would still apply.  */
   1761 #ifdef __cplusplus
   1762 extern "C"
   1763 #endif
   1764 char $2 ();
   1765 /* The GNU C library defines this for functions which it implements
   1766     to always fail with ENOSYS.  Some functions are actually named
   1767     something starting with __ and the normal name is an alias.  */
   1768 #if defined __stub_$2 || defined __stub___$2
   1769 choke me
   1770 #endif
   1771 
   1772 int
   1773 main ()
   1774 {
   1775 return $2 ();
   1776   ;
   1777   return 0;
   1778 }
   1779 _ACEOF
   1780 if ac_fn_c_try_link "$LINENO"; then :
   1781   eval "$3=yes"
   1782 else
   1783   eval "$3=no"
   1784 fi
   1785 rm -f core conftest.err conftest.$ac_objext \
   1786     conftest$ac_exeext conftest.$ac_ext
   1787 fi
   1788 eval ac_res=\$$3
   1789 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1790 $as_echo "$ac_res" >&6; }
   1791   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1792 
   1793 } # ac_fn_c_check_func
   1794 
   1795 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1796 # ---------------------------------------------
   1797 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1798 # accordingly.
   1799 ac_fn_c_check_decl ()
   1800 {
   1801   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1802   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1803   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1804   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1805 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1806 if eval \${$3+:} false; then :
   1807   $as_echo_n "(cached) " >&6
   1808 else
   1809   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1810 /* end confdefs.h.  */
   1811 $4
   1812 int
   1813 main ()
   1814 {
   1815 #ifndef $as_decl_name
   1816 #ifdef __cplusplus
   1817   (void) $as_decl_use;
   1818 #else
   1819   (void) $as_decl_name;
   1820 #endif
   1821 #endif
   1822 
   1823   ;
   1824   return 0;
   1825 }
   1826 _ACEOF
   1827 if ac_fn_c_try_compile "$LINENO"; then :
   1828   eval "$3=yes"
   1829 else
   1830   eval "$3=no"
   1831 fi
   1832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1833 fi
   1834 eval ac_res=\$$3
   1835 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1836 $as_echo "$ac_res" >&6; }
   1837   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1838 
   1839 } # ac_fn_c_check_decl
   1840 cat >config.log <<_ACEOF
   1841 This file contains any messages produced by compilers while
   1842 running configure, to aid debugging if configure makes a mistake.
   1843 
   1844 It was created by libXres $as_me 1.0.7, which was
   1845 generated by GNU Autoconf 2.68.  Invocation command line was
   1846 
   1847   $ $0 $@
   1848 
   1849 _ACEOF
   1850 exec 5>>config.log
   1851 {
   1852 cat <<_ASUNAME
   1853 ## --------- ##
   1854 ## Platform. ##
   1855 ## --------- ##
   1856 
   1857 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1858 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1859 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1860 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1861 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1862 
   1863 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1864 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1865 
   1866 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1867 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1868 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1869 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1870 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1871 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1872 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1873 
   1874 _ASUNAME
   1875 
   1876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1877 for as_dir in $PATH
   1878 do
   1879   IFS=$as_save_IFS
   1880   test -z "$as_dir" && as_dir=.
   1881     $as_echo "PATH: $as_dir"
   1882   done
   1883 IFS=$as_save_IFS
   1884 
   1885 } >&5
   1886 
   1887 cat >&5 <<_ACEOF
   1888 
   1889 
   1890 ## ----------- ##
   1891 ## Core tests. ##
   1892 ## ----------- ##
   1893 
   1894 _ACEOF
   1895 
   1896 
   1897 # Keep a trace of the command line.
   1898 # Strip out --no-create and --no-recursion so they do not pile up.
   1899 # Strip out --silent because we don't want to record it for future runs.
   1900 # Also quote any args containing shell meta-characters.
   1901 # Make two passes to allow for proper duplicate-argument suppression.
   1902 ac_configure_args=
   1903 ac_configure_args0=
   1904 ac_configure_args1=
   1905 ac_must_keep_next=false
   1906 for ac_pass in 1 2
   1907 do
   1908   for ac_arg
   1909   do
   1910     case $ac_arg in
   1911     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1912     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1913     | -silent | --silent | --silen | --sile | --sil)
   1914       continue ;;
   1915     *\'*)
   1916       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1917     esac
   1918     case $ac_pass in
   1919     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1920     2)
   1921       as_fn_append ac_configure_args1 " '$ac_arg'"
   1922       if test $ac_must_keep_next = true; then
   1923 	ac_must_keep_next=false # Got value, back to normal.
   1924       else
   1925 	case $ac_arg in
   1926 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1927 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1928 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1929 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1930 	    case "$ac_configure_args0 " in
   1931 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1932 	    esac
   1933 	    ;;
   1934 	  -* ) ac_must_keep_next=true ;;
   1935 	esac
   1936       fi
   1937       as_fn_append ac_configure_args " '$ac_arg'"
   1938       ;;
   1939     esac
   1940   done
   1941 done
   1942 { ac_configure_args0=; unset ac_configure_args0;}
   1943 { ac_configure_args1=; unset ac_configure_args1;}
   1944 
   1945 # When interrupted or exit'd, cleanup temporary files, and complete
   1946 # config.log.  We remove comments because anyway the quotes in there
   1947 # would cause problems or look ugly.
   1948 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1949 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1950 trap 'exit_status=$?
   1951   # Save into config.log some information that might help in debugging.
   1952   {
   1953     echo
   1954 
   1955     $as_echo "## ---------------- ##
   1956 ## Cache variables. ##
   1957 ## ---------------- ##"
   1958     echo
   1959     # The following way of writing the cache mishandles newlines in values,
   1960 (
   1961   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1962     eval ac_val=\$$ac_var
   1963     case $ac_val in #(
   1964     *${as_nl}*)
   1965       case $ac_var in #(
   1966       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1967 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1968       esac
   1969       case $ac_var in #(
   1970       _ | IFS | as_nl) ;; #(
   1971       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1972       *) { eval $ac_var=; unset $ac_var;} ;;
   1973       esac ;;
   1974     esac
   1975   done
   1976   (set) 2>&1 |
   1977     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1978     *${as_nl}ac_space=\ *)
   1979       sed -n \
   1980 	"s/'\''/'\''\\\\'\'''\''/g;
   1981 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1982       ;; #(
   1983     *)
   1984       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1985       ;;
   1986     esac |
   1987     sort
   1988 )
   1989     echo
   1990 
   1991     $as_echo "## ----------------- ##
   1992 ## Output variables. ##
   1993 ## ----------------- ##"
   1994     echo
   1995     for ac_var in $ac_subst_vars
   1996     do
   1997       eval ac_val=\$$ac_var
   1998       case $ac_val in
   1999       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2000       esac
   2001       $as_echo "$ac_var='\''$ac_val'\''"
   2002     done | sort
   2003     echo
   2004 
   2005     if test -n "$ac_subst_files"; then
   2006       $as_echo "## ------------------- ##
   2007 ## File substitutions. ##
   2008 ## ------------------- ##"
   2009       echo
   2010       for ac_var in $ac_subst_files
   2011       do
   2012 	eval ac_val=\$$ac_var
   2013 	case $ac_val in
   2014 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2015 	esac
   2016 	$as_echo "$ac_var='\''$ac_val'\''"
   2017       done | sort
   2018       echo
   2019     fi
   2020 
   2021     if test -s confdefs.h; then
   2022       $as_echo "## ----------- ##
   2023 ## confdefs.h. ##
   2024 ## ----------- ##"
   2025       echo
   2026       cat confdefs.h
   2027       echo
   2028     fi
   2029     test "$ac_signal" != 0 &&
   2030       $as_echo "$as_me: caught signal $ac_signal"
   2031     $as_echo "$as_me: exit $exit_status"
   2032   } >&5
   2033   rm -f core *.core core.conftest.* &&
   2034     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2035     exit $exit_status
   2036 ' 0
   2037 for ac_signal in 1 2 13 15; do
   2038   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2039 done
   2040 ac_signal=0
   2041 
   2042 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2043 rm -f -r conftest* confdefs.h
   2044 
   2045 $as_echo "/* confdefs.h */" > confdefs.h
   2046 
   2047 # Predefined preprocessor variables.
   2048 
   2049 cat >>confdefs.h <<_ACEOF
   2050 #define PACKAGE_NAME "$PACKAGE_NAME"
   2051 _ACEOF
   2052 
   2053 cat >>confdefs.h <<_ACEOF
   2054 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2055 _ACEOF
   2056 
   2057 cat >>confdefs.h <<_ACEOF
   2058 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2059 _ACEOF
   2060 
   2061 cat >>confdefs.h <<_ACEOF
   2062 #define PACKAGE_STRING "$PACKAGE_STRING"
   2063 _ACEOF
   2064 
   2065 cat >>confdefs.h <<_ACEOF
   2066 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2067 _ACEOF
   2068 
   2069 cat >>confdefs.h <<_ACEOF
   2070 #define PACKAGE_URL "$PACKAGE_URL"
   2071 _ACEOF
   2072 
   2073 
   2074 # Let the site file select an alternate cache file if it wants to.
   2075 # Prefer an explicitly selected file to automatically selected ones.
   2076 ac_site_file1=NONE
   2077 ac_site_file2=NONE
   2078 if test -n "$CONFIG_SITE"; then
   2079   # We do not want a PATH search for config.site.
   2080   case $CONFIG_SITE in #((
   2081     -*)  ac_site_file1=./$CONFIG_SITE;;
   2082     */*) ac_site_file1=$CONFIG_SITE;;
   2083     *)   ac_site_file1=./$CONFIG_SITE;;
   2084   esac
   2085 elif test "x$prefix" != xNONE; then
   2086   ac_site_file1=$prefix/share/config.site
   2087   ac_site_file2=$prefix/etc/config.site
   2088 else
   2089   ac_site_file1=$ac_default_prefix/share/config.site
   2090   ac_site_file2=$ac_default_prefix/etc/config.site
   2091 fi
   2092 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2093 do
   2094   test "x$ac_site_file" = xNONE && continue
   2095   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2096     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2097 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2098     sed 's/^/| /' "$ac_site_file" >&5
   2099     . "$ac_site_file" \
   2100       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2101 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2102 as_fn_error $? "failed to load site script $ac_site_file
   2103 See \`config.log' for more details" "$LINENO" 5; }
   2104   fi
   2105 done
   2106 
   2107 if test -r "$cache_file"; then
   2108   # Some versions of bash will fail to source /dev/null (special files
   2109   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2110   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2111     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2112 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2113     case $cache_file in
   2114       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2115       *)                      . "./$cache_file";;
   2116     esac
   2117   fi
   2118 else
   2119   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2120 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2121   >$cache_file
   2122 fi
   2123 
   2124 # Check that the precious variables saved in the cache have kept the same
   2125 # value.
   2126 ac_cache_corrupted=false
   2127 for ac_var in $ac_precious_vars; do
   2128   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2129   eval ac_new_set=\$ac_env_${ac_var}_set
   2130   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2131   eval ac_new_val=\$ac_env_${ac_var}_value
   2132   case $ac_old_set,$ac_new_set in
   2133     set,)
   2134       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2135 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2136       ac_cache_corrupted=: ;;
   2137     ,set)
   2138       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2139 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2140       ac_cache_corrupted=: ;;
   2141     ,);;
   2142     *)
   2143       if test "x$ac_old_val" != "x$ac_new_val"; then
   2144 	# differences in whitespace do not lead to failure.
   2145 	ac_old_val_w=`echo x $ac_old_val`
   2146 	ac_new_val_w=`echo x $ac_new_val`
   2147 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2148 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2149 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2150 	  ac_cache_corrupted=:
   2151 	else
   2152 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2153 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2154 	  eval $ac_var=\$ac_old_val
   2155 	fi
   2156 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2157 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2158 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2159 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2160       fi;;
   2161   esac
   2162   # Pass precious variables to config.status.
   2163   if test "$ac_new_set" = set; then
   2164     case $ac_new_val in
   2165     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2166     *) ac_arg=$ac_var=$ac_new_val ;;
   2167     esac
   2168     case " $ac_configure_args " in
   2169       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2170       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2171     esac
   2172   fi
   2173 done
   2174 if $ac_cache_corrupted; then
   2175   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2176 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2177   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2178 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2179   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2180 fi
   2181 ## -------------------- ##
   2182 ## Main body of script. ##
   2183 ## -------------------- ##
   2184 
   2185 ac_ext=c
   2186 ac_cpp='$CPP $CPPFLAGS'
   2187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2190 
   2191 
   2192 
   2193 ac_config_headers="$ac_config_headers config.h"
   2194 
   2195 
   2196 # Initialize Automake
   2197 am__api_version='1.13'
   2198 
   2199 ac_aux_dir=
   2200 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2201   if test -f "$ac_dir/install-sh"; then
   2202     ac_aux_dir=$ac_dir
   2203     ac_install_sh="$ac_aux_dir/install-sh -c"
   2204     break
   2205   elif test -f "$ac_dir/install.sh"; then
   2206     ac_aux_dir=$ac_dir
   2207     ac_install_sh="$ac_aux_dir/install.sh -c"
   2208     break
   2209   elif test -f "$ac_dir/shtool"; then
   2210     ac_aux_dir=$ac_dir
   2211     ac_install_sh="$ac_aux_dir/shtool install -c"
   2212     break
   2213   fi
   2214 done
   2215 if test -z "$ac_aux_dir"; then
   2216   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2217 fi
   2218 
   2219 # These three variables are undocumented and unsupported,
   2220 # and are intended to be withdrawn in a future Autoconf release.
   2221 # They can cause serious problems if a builder's source tree is in a directory
   2222 # whose full name contains unusual characters.
   2223 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2224 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2225 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2226 
   2227 
   2228 # Find a good install program.  We prefer a C program (faster),
   2229 # so one script is as good as another.  But avoid the broken or
   2230 # incompatible versions:
   2231 # SysV /etc/install, /usr/sbin/install
   2232 # SunOS /usr/etc/install
   2233 # IRIX /sbin/install
   2234 # AIX /bin/install
   2235 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2236 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2237 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2238 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2239 # OS/2's system install, which has a completely different semantic
   2240 # ./install, which can be erroneously created by make from ./install.sh.
   2241 # Reject install programs that cannot install multiple files.
   2242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2243 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2244 if test -z "$INSTALL"; then
   2245 if ${ac_cv_path_install+:} false; then :
   2246   $as_echo_n "(cached) " >&6
   2247 else
   2248   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2249 for as_dir in $PATH
   2250 do
   2251   IFS=$as_save_IFS
   2252   test -z "$as_dir" && as_dir=.
   2253     # Account for people who put trailing slashes in PATH elements.
   2254 case $as_dir/ in #((
   2255   ./ | .// | /[cC]/* | \
   2256   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2257   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2258   /usr/ucb/* ) ;;
   2259   *)
   2260     # OSF1 and SCO ODT 3.0 have their own names for install.
   2261     # Don't use installbsd from OSF since it installs stuff as root
   2262     # by default.
   2263     for ac_prog in ginstall scoinst install; do
   2264       for ac_exec_ext in '' $ac_executable_extensions; do
   2265 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2266 	  if test $ac_prog = install &&
   2267 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2268 	    # AIX install.  It has an incompatible calling convention.
   2269 	    :
   2270 	  elif test $ac_prog = install &&
   2271 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2272 	    # program-specific install script used by HP pwplus--don't use.
   2273 	    :
   2274 	  else
   2275 	    rm -rf conftest.one conftest.two conftest.dir
   2276 	    echo one > conftest.one
   2277 	    echo two > conftest.two
   2278 	    mkdir conftest.dir
   2279 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2280 	      test -s conftest.one && test -s conftest.two &&
   2281 	      test -s conftest.dir/conftest.one &&
   2282 	      test -s conftest.dir/conftest.two
   2283 	    then
   2284 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2285 	      break 3
   2286 	    fi
   2287 	  fi
   2288 	fi
   2289       done
   2290     done
   2291     ;;
   2292 esac
   2293 
   2294   done
   2295 IFS=$as_save_IFS
   2296 
   2297 rm -rf conftest.one conftest.two conftest.dir
   2298 
   2299 fi
   2300   if test "${ac_cv_path_install+set}" = set; then
   2301     INSTALL=$ac_cv_path_install
   2302   else
   2303     # As a last resort, use the slow shell script.  Don't cache a
   2304     # value for INSTALL within a source directory, because that will
   2305     # break other packages using the cache if that directory is
   2306     # removed, or if the value is a relative name.
   2307     INSTALL=$ac_install_sh
   2308   fi
   2309 fi
   2310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2311 $as_echo "$INSTALL" >&6; }
   2312 
   2313 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2314 # It thinks the first close brace ends the variable substitution.
   2315 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2316 
   2317 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2318 
   2319 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2320 
   2321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2322 $as_echo_n "checking whether build environment is sane... " >&6; }
   2323 # Reject unsafe characters in $srcdir or the absolute working directory
   2324 # name.  Accept space and tab only in the latter.
   2325 am_lf='
   2326 '
   2327 case `pwd` in
   2328   *[\\\"\#\$\&\'\`$am_lf]*)
   2329     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2330 esac
   2331 case $srcdir in
   2332   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2333     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2334 esac
   2335 
   2336 # Do 'set' in a subshell so we don't clobber the current shell's
   2337 # arguments.  Must try -L first in case configure is actually a
   2338 # symlink; some systems play weird games with the mod time of symlinks
   2339 # (eg FreeBSD returns the mod time of the symlink's containing
   2340 # directory).
   2341 if (
   2342    am_has_slept=no
   2343    for am_try in 1 2; do
   2344      echo "timestamp, slept: $am_has_slept" > conftest.file
   2345      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2346      if test "$*" = "X"; then
   2347 	# -L didn't work.
   2348 	set X `ls -t "$srcdir/configure" conftest.file`
   2349      fi
   2350      if test "$*" != "X $srcdir/configure conftest.file" \
   2351 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2352 
   2353 	# If neither matched, then we have a broken ls.  This can happen
   2354 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2355 	# broken ls alias from the environment.  This has actually
   2356 	# happened.  Such a system could not be considered "sane".
   2357 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2358   alias in your environment" "$LINENO" 5
   2359      fi
   2360      if test "$2" = conftest.file || test $am_try -eq 2; then
   2361        break
   2362      fi
   2363      # Just in case.
   2364      sleep 1
   2365      am_has_slept=yes
   2366    done
   2367    test "$2" = conftest.file
   2368    )
   2369 then
   2370    # Ok.
   2371    :
   2372 else
   2373    as_fn_error $? "newly created file is older than distributed files!
   2374 Check your system clock" "$LINENO" 5
   2375 fi
   2376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2377 $as_echo "yes" >&6; }
   2378 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2379 # generated files are strictly newer.
   2380 am_sleep_pid=
   2381 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2382   ( sleep 1 ) &
   2383   am_sleep_pid=$!
   2384 fi
   2385 
   2386 rm -f conftest.file
   2387 
   2388 test "$program_prefix" != NONE &&
   2389   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2390 # Use a double $ so make ignores it.
   2391 test "$program_suffix" != NONE &&
   2392   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2393 # Double any \ or $.
   2394 # By default was `s,x,x', remove it if useless.
   2395 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2396 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2397 
   2398 # expand $ac_aux_dir to an absolute path
   2399 am_aux_dir=`cd $ac_aux_dir && pwd`
   2400 
   2401 if test x"${MISSING+set}" != xset; then
   2402   case $am_aux_dir in
   2403   *\ * | *\	*)
   2404     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2405   *)
   2406     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2407   esac
   2408 fi
   2409 # Use eval to expand $SHELL
   2410 if eval "$MISSING --is-lightweight"; then
   2411   am_missing_run="$MISSING "
   2412 else
   2413   am_missing_run=
   2414   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2415 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2416 fi
   2417 
   2418 if test x"${install_sh}" != xset; then
   2419   case $am_aux_dir in
   2420   *\ * | *\	*)
   2421     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2422   *)
   2423     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2424   esac
   2425 fi
   2426 
   2427 # Installed binaries are usually stripped using 'strip' when the user
   2428 # run "make install-strip".  However 'strip' might not be the right
   2429 # tool to use in cross-compilation environments, therefore Automake
   2430 # will honor the 'STRIP' environment variable to overrule this program.
   2431 if test "$cross_compiling" != no; then
   2432   if test -n "$ac_tool_prefix"; then
   2433   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2434 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2436 $as_echo_n "checking for $ac_word... " >&6; }
   2437 if ${ac_cv_prog_STRIP+:} false; then :
   2438   $as_echo_n "(cached) " >&6
   2439 else
   2440   if test -n "$STRIP"; then
   2441   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2442 else
   2443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2444 for as_dir in $PATH
   2445 do
   2446   IFS=$as_save_IFS
   2447   test -z "$as_dir" && as_dir=.
   2448     for ac_exec_ext in '' $ac_executable_extensions; do
   2449   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2450     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2451     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2452     break 2
   2453   fi
   2454 done
   2455   done
   2456 IFS=$as_save_IFS
   2457 
   2458 fi
   2459 fi
   2460 STRIP=$ac_cv_prog_STRIP
   2461 if test -n "$STRIP"; then
   2462   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2463 $as_echo "$STRIP" >&6; }
   2464 else
   2465   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2466 $as_echo "no" >&6; }
   2467 fi
   2468 
   2469 
   2470 fi
   2471 if test -z "$ac_cv_prog_STRIP"; then
   2472   ac_ct_STRIP=$STRIP
   2473   # Extract the first word of "strip", so it can be a program name with args.
   2474 set dummy strip; ac_word=$2
   2475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2476 $as_echo_n "checking for $ac_word... " >&6; }
   2477 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2478   $as_echo_n "(cached) " >&6
   2479 else
   2480   if test -n "$ac_ct_STRIP"; then
   2481   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2482 else
   2483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2484 for as_dir in $PATH
   2485 do
   2486   IFS=$as_save_IFS
   2487   test -z "$as_dir" && as_dir=.
   2488     for ac_exec_ext in '' $ac_executable_extensions; do
   2489   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2490     ac_cv_prog_ac_ct_STRIP="strip"
   2491     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2492     break 2
   2493   fi
   2494 done
   2495   done
   2496 IFS=$as_save_IFS
   2497 
   2498 fi
   2499 fi
   2500 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2501 if test -n "$ac_ct_STRIP"; then
   2502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2503 $as_echo "$ac_ct_STRIP" >&6; }
   2504 else
   2505   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2506 $as_echo "no" >&6; }
   2507 fi
   2508 
   2509   if test "x$ac_ct_STRIP" = x; then
   2510     STRIP=":"
   2511   else
   2512     case $cross_compiling:$ac_tool_warned in
   2513 yes:)
   2514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2515 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2516 ac_tool_warned=yes ;;
   2517 esac
   2518     STRIP=$ac_ct_STRIP
   2519   fi
   2520 else
   2521   STRIP="$ac_cv_prog_STRIP"
   2522 fi
   2523 
   2524 fi
   2525 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2526 
   2527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2528 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2529 if test -z "$MKDIR_P"; then
   2530   if ${ac_cv_path_mkdir+:} false; then :
   2531   $as_echo_n "(cached) " >&6
   2532 else
   2533   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2534 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2535 do
   2536   IFS=$as_save_IFS
   2537   test -z "$as_dir" && as_dir=.
   2538     for ac_prog in mkdir gmkdir; do
   2539 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2540 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2541 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2542 	     'mkdir (GNU coreutils) '* | \
   2543 	     'mkdir (coreutils) '* | \
   2544 	     'mkdir (fileutils) '4.1*)
   2545 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2546 	       break 3;;
   2547 	   esac
   2548 	 done
   2549        done
   2550   done
   2551 IFS=$as_save_IFS
   2552 
   2553 fi
   2554 
   2555   test -d ./--version && rmdir ./--version
   2556   if test "${ac_cv_path_mkdir+set}" = set; then
   2557     MKDIR_P="$ac_cv_path_mkdir -p"
   2558   else
   2559     # As a last resort, use the slow shell script.  Don't cache a
   2560     # value for MKDIR_P within a source directory, because that will
   2561     # break other packages using the cache if that directory is
   2562     # removed, or if the value is a relative name.
   2563     MKDIR_P="$ac_install_sh -d"
   2564   fi
   2565 fi
   2566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2567 $as_echo "$MKDIR_P" >&6; }
   2568 
   2569 for ac_prog in gawk mawk nawk awk
   2570 do
   2571   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2572 set dummy $ac_prog; ac_word=$2
   2573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2574 $as_echo_n "checking for $ac_word... " >&6; }
   2575 if ${ac_cv_prog_AWK+:} false; then :
   2576   $as_echo_n "(cached) " >&6
   2577 else
   2578   if test -n "$AWK"; then
   2579   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2580 else
   2581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2582 for as_dir in $PATH
   2583 do
   2584   IFS=$as_save_IFS
   2585   test -z "$as_dir" && as_dir=.
   2586     for ac_exec_ext in '' $ac_executable_extensions; do
   2587   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2588     ac_cv_prog_AWK="$ac_prog"
   2589     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2590     break 2
   2591   fi
   2592 done
   2593   done
   2594 IFS=$as_save_IFS
   2595 
   2596 fi
   2597 fi
   2598 AWK=$ac_cv_prog_AWK
   2599 if test -n "$AWK"; then
   2600   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2601 $as_echo "$AWK" >&6; }
   2602 else
   2603   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2604 $as_echo "no" >&6; }
   2605 fi
   2606 
   2607 
   2608   test -n "$AWK" && break
   2609 done
   2610 
   2611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2612 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2613 set x ${MAKE-make}
   2614 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2615 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2616   $as_echo_n "(cached) " >&6
   2617 else
   2618   cat >conftest.make <<\_ACEOF
   2619 SHELL = /bin/sh
   2620 all:
   2621 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2622 _ACEOF
   2623 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2624 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2625   *@@@%%%=?*=@@@%%%*)
   2626     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2627   *)
   2628     eval ac_cv_prog_make_${ac_make}_set=no;;
   2629 esac
   2630 rm -f conftest.make
   2631 fi
   2632 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2633   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2634 $as_echo "yes" >&6; }
   2635   SET_MAKE=
   2636 else
   2637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2638 $as_echo "no" >&6; }
   2639   SET_MAKE="MAKE=${MAKE-make}"
   2640 fi
   2641 
   2642 rm -rf .tst 2>/dev/null
   2643 mkdir .tst 2>/dev/null
   2644 if test -d .tst; then
   2645   am__leading_dot=.
   2646 else
   2647   am__leading_dot=_
   2648 fi
   2649 rmdir .tst 2>/dev/null
   2650 
   2651 # Check whether --enable-silent-rules was given.
   2652 if test "${enable_silent_rules+set}" = set; then :
   2653   enableval=$enable_silent_rules;
   2654 fi
   2655 
   2656 case $enable_silent_rules in # (((
   2657   yes) AM_DEFAULT_VERBOSITY=0;;
   2658    no) AM_DEFAULT_VERBOSITY=1;;
   2659     *) AM_DEFAULT_VERBOSITY=1;;
   2660 esac
   2661 am_make=${MAKE-make}
   2662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2663 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2664 if ${am_cv_make_support_nested_variables+:} false; then :
   2665   $as_echo_n "(cached) " >&6
   2666 else
   2667   if $as_echo 'TRUE=$(BAR$(V))
   2668 BAR0=false
   2669 BAR1=true
   2670 V=1
   2671 am__doit:
   2672 	@$(TRUE)
   2673 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2674   am_cv_make_support_nested_variables=yes
   2675 else
   2676   am_cv_make_support_nested_variables=no
   2677 fi
   2678 fi
   2679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2680 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2681 if test $am_cv_make_support_nested_variables = yes; then
   2682     AM_V='$(V)'
   2683   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2684 else
   2685   AM_V=$AM_DEFAULT_VERBOSITY
   2686   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2687 fi
   2688 AM_BACKSLASH='\'
   2689 
   2690 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2691   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2692   # is not polluted with repeated "-I."
   2693   am__isrc=' -I$(srcdir)'
   2694   # test to see if srcdir already configured
   2695   if test -f $srcdir/config.status; then
   2696     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2697   fi
   2698 fi
   2699 
   2700 # test whether we have cygpath
   2701 if test -z "$CYGPATH_W"; then
   2702   if (cygpath --version) >/dev/null 2>/dev/null; then
   2703     CYGPATH_W='cygpath -w'
   2704   else
   2705     CYGPATH_W=echo
   2706   fi
   2707 fi
   2708 
   2709 
   2710 # Define the identity of the package.
   2711  PACKAGE='libXres'
   2712  VERSION='1.0.7'
   2713 
   2714 
   2715 cat >>confdefs.h <<_ACEOF
   2716 #define PACKAGE "$PACKAGE"
   2717 _ACEOF
   2718 
   2719 
   2720 cat >>confdefs.h <<_ACEOF
   2721 #define VERSION "$VERSION"
   2722 _ACEOF
   2723 
   2724 # Some tools Automake needs.
   2725 
   2726 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2727 
   2728 
   2729 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2730 
   2731 
   2732 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2733 
   2734 
   2735 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2736 
   2737 
   2738 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2739 
   2740 # For better backward compatibility.  To be removed once Automake 1.9.x
   2741 # dies out for good.  For more background, see:
   2742 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2743 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2744 mkdir_p='$(MKDIR_P)'
   2745 
   2746 # We need awk for the "check" target.  The system "awk" is bad on
   2747 # some platforms.
   2748 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2749 # in the wild :-(  We should find a proper way to deprecate it ...
   2750 AMTAR='$${TAR-tar}'
   2751 
   2752 
   2753 # We'll loop over all known methods to create a tar archive until one works.
   2754 _am_tools='gnutar  pax cpio none'
   2755 
   2756 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2757 
   2758 
   2759 
   2760 
   2761 
   2762 
   2763 
   2764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2765 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2766     # Check whether --enable-maintainer-mode was given.
   2767 if test "${enable_maintainer_mode+set}" = set; then :
   2768   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2769 else
   2770   USE_MAINTAINER_MODE=no
   2771 fi
   2772 
   2773   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   2774 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2775    if test $USE_MAINTAINER_MODE = yes; then
   2776   MAINTAINER_MODE_TRUE=
   2777   MAINTAINER_MODE_FALSE='#'
   2778 else
   2779   MAINTAINER_MODE_TRUE='#'
   2780   MAINTAINER_MODE_FALSE=
   2781 fi
   2782 
   2783   MAINT=$MAINTAINER_MODE_TRUE
   2784 
   2785 
   2786 
   2787 # Initialize libtool
   2788 case `pwd` in
   2789   *\ * | *\	*)
   2790     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   2791 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   2792 esac
   2793 
   2794 
   2795 
   2796 macro_version='2.4.2'
   2797 macro_revision='1.3337'
   2798 
   2799 
   2800 
   2801 
   2802 
   2803 
   2804 
   2805 
   2806 
   2807 
   2808 
   2809 
   2810 
   2811 ltmain="$ac_aux_dir/ltmain.sh"
   2812 
   2813 # Make sure we can run config.sub.
   2814 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2815   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2816 
   2817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2818 $as_echo_n "checking build system type... " >&6; }
   2819 if ${ac_cv_build+:} false; then :
   2820   $as_echo_n "(cached) " >&6
   2821 else
   2822   ac_build_alias=$build_alias
   2823 test "x$ac_build_alias" = x &&
   2824   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2825 test "x$ac_build_alias" = x &&
   2826   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   2827 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2828   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2829 
   2830 fi
   2831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2832 $as_echo "$ac_cv_build" >&6; }
   2833 case $ac_cv_build in
   2834 *-*-*) ;;
   2835 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   2836 esac
   2837 build=$ac_cv_build
   2838 ac_save_IFS=$IFS; IFS='-'
   2839 set x $ac_cv_build
   2840 shift
   2841 build_cpu=$1
   2842 build_vendor=$2
   2843 shift; shift
   2844 # Remember, the first character of IFS is used to create $*,
   2845 # except with old shells:
   2846 build_os=$*
   2847 IFS=$ac_save_IFS
   2848 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2849 
   2850 
   2851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2852 $as_echo_n "checking host system type... " >&6; }
   2853 if ${ac_cv_host+:} false; then :
   2854   $as_echo_n "(cached) " >&6
   2855 else
   2856   if test "x$host_alias" = x; then
   2857   ac_cv_host=$ac_cv_build
   2858 else
   2859   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2860     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2861 fi
   2862 
   2863 fi
   2864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2865 $as_echo "$ac_cv_host" >&6; }
   2866 case $ac_cv_host in
   2867 *-*-*) ;;
   2868 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   2869 esac
   2870 host=$ac_cv_host
   2871 ac_save_IFS=$IFS; IFS='-'
   2872 set x $ac_cv_host
   2873 shift
   2874 host_cpu=$1
   2875 host_vendor=$2
   2876 shift; shift
   2877 # Remember, the first character of IFS is used to create $*,
   2878 # except with old shells:
   2879 host_os=$*
   2880 IFS=$ac_save_IFS
   2881 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2882 
   2883 
   2884 # Backslashify metacharacters that are still active within
   2885 # double-quoted strings.
   2886 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   2887 
   2888 # Same as above, but do not quote variable references.
   2889 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   2890 
   2891 # Sed substitution to delay expansion of an escaped shell variable in a
   2892 # double_quote_subst'ed string.
   2893 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   2894 
   2895 # Sed substitution to delay expansion of an escaped single quote.
   2896 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   2897 
   2898 # Sed substitution to avoid accidental globbing in evaled expressions
   2899 no_glob_subst='s/\*/\\\*/g'
   2900 
   2901 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   2902 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   2903 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   2904 
   2905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   2906 $as_echo_n "checking how to print strings... " >&6; }
   2907 # Test print first, because it will be a builtin if present.
   2908 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   2909    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   2910   ECHO='print -r --'
   2911 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   2912   ECHO='printf %s\n'
   2913 else
   2914   # Use this function as a fallback that always works.
   2915   func_fallback_echo ()
   2916   {
   2917     eval 'cat <<_LTECHO_EOF
   2918 $1
   2919 _LTECHO_EOF'
   2920   }
   2921   ECHO='func_fallback_echo'
   2922 fi
   2923 
   2924 # func_echo_all arg...
   2925 # Invoke $ECHO with all args, space-separated.
   2926 func_echo_all ()
   2927 {
   2928     $ECHO ""
   2929 }
   2930 
   2931 case "$ECHO" in
   2932   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   2933 $as_echo "printf" >&6; } ;;
   2934   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   2935 $as_echo "print -r" >&6; } ;;
   2936   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   2937 $as_echo "cat" >&6; } ;;
   2938 esac
   2939 
   2940 
   2941 
   2942 
   2943 
   2944 
   2945 
   2946 
   2947 
   2948 
   2949 
   2950 
   2951 
   2952 
   2953 DEPDIR="${am__leading_dot}deps"
   2954 
   2955 ac_config_commands="$ac_config_commands depfiles"
   2956 
   2957 
   2958 am_make=${MAKE-make}
   2959 cat > confinc << 'END'
   2960 am__doit:
   2961 	@echo this is the am__doit target
   2962 .PHONY: am__doit
   2963 END
   2964 # If we don't find an include directive, just comment out the code.
   2965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2966 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2967 am__include="#"
   2968 am__quote=
   2969 _am_result=none
   2970 # First try GNU make style include.
   2971 echo "include confinc" > confmf
   2972 # Ignore all kinds of additional output from 'make'.
   2973 case `$am_make -s -f confmf 2> /dev/null` in #(
   2974 *the\ am__doit\ target*)
   2975   am__include=include
   2976   am__quote=
   2977   _am_result=GNU
   2978   ;;
   2979 esac
   2980 # Now try BSD make style include.
   2981 if test "$am__include" = "#"; then
   2982    echo '.include "confinc"' > confmf
   2983    case `$am_make -s -f confmf 2> /dev/null` in #(
   2984    *the\ am__doit\ target*)
   2985      am__include=.include
   2986      am__quote="\""
   2987      _am_result=BSD
   2988      ;;
   2989    esac
   2990 fi
   2991 
   2992 
   2993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2994 $as_echo "$_am_result" >&6; }
   2995 rm -f confinc confmf
   2996 
   2997 # Check whether --enable-dependency-tracking was given.
   2998 if test "${enable_dependency_tracking+set}" = set; then :
   2999   enableval=$enable_dependency_tracking;
   3000 fi
   3001 
   3002 if test "x$enable_dependency_tracking" != xno; then
   3003   am_depcomp="$ac_aux_dir/depcomp"
   3004   AMDEPBACKSLASH='\'
   3005   am__nodep='_no'
   3006 fi
   3007  if test "x$enable_dependency_tracking" != xno; then
   3008   AMDEP_TRUE=
   3009   AMDEP_FALSE='#'
   3010 else
   3011   AMDEP_TRUE='#'
   3012   AMDEP_FALSE=
   3013 fi
   3014 
   3015 
   3016 ac_ext=c
   3017 ac_cpp='$CPP $CPPFLAGS'
   3018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3021 if test -n "$ac_tool_prefix"; then
   3022   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3023 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3025 $as_echo_n "checking for $ac_word... " >&6; }
   3026 if ${ac_cv_prog_CC+:} false; then :
   3027   $as_echo_n "(cached) " >&6
   3028 else
   3029   if test -n "$CC"; then
   3030   ac_cv_prog_CC="$CC" # Let the user override the test.
   3031 else
   3032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3033 for as_dir in $PATH
   3034 do
   3035   IFS=$as_save_IFS
   3036   test -z "$as_dir" && as_dir=.
   3037     for ac_exec_ext in '' $ac_executable_extensions; do
   3038   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3039     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3040     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3041     break 2
   3042   fi
   3043 done
   3044   done
   3045 IFS=$as_save_IFS
   3046 
   3047 fi
   3048 fi
   3049 CC=$ac_cv_prog_CC
   3050 if test -n "$CC"; then
   3051   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3052 $as_echo "$CC" >&6; }
   3053 else
   3054   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3055 $as_echo "no" >&6; }
   3056 fi
   3057 
   3058 
   3059 fi
   3060 if test -z "$ac_cv_prog_CC"; then
   3061   ac_ct_CC=$CC
   3062   # Extract the first word of "gcc", so it can be a program name with args.
   3063 set dummy gcc; ac_word=$2
   3064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3065 $as_echo_n "checking for $ac_word... " >&6; }
   3066 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3067   $as_echo_n "(cached) " >&6
   3068 else
   3069   if test -n "$ac_ct_CC"; then
   3070   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3071 else
   3072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3073 for as_dir in $PATH
   3074 do
   3075   IFS=$as_save_IFS
   3076   test -z "$as_dir" && as_dir=.
   3077     for ac_exec_ext in '' $ac_executable_extensions; do
   3078   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3079     ac_cv_prog_ac_ct_CC="gcc"
   3080     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3081     break 2
   3082   fi
   3083 done
   3084   done
   3085 IFS=$as_save_IFS
   3086 
   3087 fi
   3088 fi
   3089 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3090 if test -n "$ac_ct_CC"; then
   3091   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3092 $as_echo "$ac_ct_CC" >&6; }
   3093 else
   3094   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3095 $as_echo "no" >&6; }
   3096 fi
   3097 
   3098   if test "x$ac_ct_CC" = x; then
   3099     CC=""
   3100   else
   3101     case $cross_compiling:$ac_tool_warned in
   3102 yes:)
   3103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3104 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3105 ac_tool_warned=yes ;;
   3106 esac
   3107     CC=$ac_ct_CC
   3108   fi
   3109 else
   3110   CC="$ac_cv_prog_CC"
   3111 fi
   3112 
   3113 if test -z "$CC"; then
   3114           if test -n "$ac_tool_prefix"; then
   3115     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3116 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3118 $as_echo_n "checking for $ac_word... " >&6; }
   3119 if ${ac_cv_prog_CC+:} false; then :
   3120   $as_echo_n "(cached) " >&6
   3121 else
   3122   if test -n "$CC"; then
   3123   ac_cv_prog_CC="$CC" # Let the user override the test.
   3124 else
   3125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3126 for as_dir in $PATH
   3127 do
   3128   IFS=$as_save_IFS
   3129   test -z "$as_dir" && as_dir=.
   3130     for ac_exec_ext in '' $ac_executable_extensions; do
   3131   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3132     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3133     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3134     break 2
   3135   fi
   3136 done
   3137   done
   3138 IFS=$as_save_IFS
   3139 
   3140 fi
   3141 fi
   3142 CC=$ac_cv_prog_CC
   3143 if test -n "$CC"; then
   3144   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3145 $as_echo "$CC" >&6; }
   3146 else
   3147   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3148 $as_echo "no" >&6; }
   3149 fi
   3150 
   3151 
   3152   fi
   3153 fi
   3154 if test -z "$CC"; then
   3155   # Extract the first word of "cc", so it can be a program name with args.
   3156 set dummy cc; ac_word=$2
   3157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3158 $as_echo_n "checking for $ac_word... " >&6; }
   3159 if ${ac_cv_prog_CC+:} false; then :
   3160   $as_echo_n "(cached) " >&6
   3161 else
   3162   if test -n "$CC"; then
   3163   ac_cv_prog_CC="$CC" # Let the user override the test.
   3164 else
   3165   ac_prog_rejected=no
   3166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3167 for as_dir in $PATH
   3168 do
   3169   IFS=$as_save_IFS
   3170   test -z "$as_dir" && as_dir=.
   3171     for ac_exec_ext in '' $ac_executable_extensions; do
   3172   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3173     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3174        ac_prog_rejected=yes
   3175        continue
   3176      fi
   3177     ac_cv_prog_CC="cc"
   3178     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3179     break 2
   3180   fi
   3181 done
   3182   done
   3183 IFS=$as_save_IFS
   3184 
   3185 if test $ac_prog_rejected = yes; then
   3186   # We found a bogon in the path, so make sure we never use it.
   3187   set dummy $ac_cv_prog_CC
   3188   shift
   3189   if test $# != 0; then
   3190     # We chose a different compiler from the bogus one.
   3191     # However, it has the same basename, so the bogon will be chosen
   3192     # first if we set CC to just the basename; use the full file name.
   3193     shift
   3194     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3195   fi
   3196 fi
   3197 fi
   3198 fi
   3199 CC=$ac_cv_prog_CC
   3200 if test -n "$CC"; then
   3201   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3202 $as_echo "$CC" >&6; }
   3203 else
   3204   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3205 $as_echo "no" >&6; }
   3206 fi
   3207 
   3208 
   3209 fi
   3210 if test -z "$CC"; then
   3211   if test -n "$ac_tool_prefix"; then
   3212   for ac_prog in cl.exe
   3213   do
   3214     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3215 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3217 $as_echo_n "checking for $ac_word... " >&6; }
   3218 if ${ac_cv_prog_CC+:} false; then :
   3219   $as_echo_n "(cached) " >&6
   3220 else
   3221   if test -n "$CC"; then
   3222   ac_cv_prog_CC="$CC" # Let the user override the test.
   3223 else
   3224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3225 for as_dir in $PATH
   3226 do
   3227   IFS=$as_save_IFS
   3228   test -z "$as_dir" && as_dir=.
   3229     for ac_exec_ext in '' $ac_executable_extensions; do
   3230   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3231     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3232     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3233     break 2
   3234   fi
   3235 done
   3236   done
   3237 IFS=$as_save_IFS
   3238 
   3239 fi
   3240 fi
   3241 CC=$ac_cv_prog_CC
   3242 if test -n "$CC"; then
   3243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3244 $as_echo "$CC" >&6; }
   3245 else
   3246   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3247 $as_echo "no" >&6; }
   3248 fi
   3249 
   3250 
   3251     test -n "$CC" && break
   3252   done
   3253 fi
   3254 if test -z "$CC"; then
   3255   ac_ct_CC=$CC
   3256   for ac_prog in cl.exe
   3257 do
   3258   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3259 set dummy $ac_prog; ac_word=$2
   3260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3261 $as_echo_n "checking for $ac_word... " >&6; }
   3262 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3263   $as_echo_n "(cached) " >&6
   3264 else
   3265   if test -n "$ac_ct_CC"; then
   3266   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3267 else
   3268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3269 for as_dir in $PATH
   3270 do
   3271   IFS=$as_save_IFS
   3272   test -z "$as_dir" && as_dir=.
   3273     for ac_exec_ext in '' $ac_executable_extensions; do
   3274   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3275     ac_cv_prog_ac_ct_CC="$ac_prog"
   3276     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3277     break 2
   3278   fi
   3279 done
   3280   done
   3281 IFS=$as_save_IFS
   3282 
   3283 fi
   3284 fi
   3285 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3286 if test -n "$ac_ct_CC"; then
   3287   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3288 $as_echo "$ac_ct_CC" >&6; }
   3289 else
   3290   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3291 $as_echo "no" >&6; }
   3292 fi
   3293 
   3294 
   3295   test -n "$ac_ct_CC" && break
   3296 done
   3297 
   3298   if test "x$ac_ct_CC" = x; then
   3299     CC=""
   3300   else
   3301     case $cross_compiling:$ac_tool_warned in
   3302 yes:)
   3303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3304 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3305 ac_tool_warned=yes ;;
   3306 esac
   3307     CC=$ac_ct_CC
   3308   fi
   3309 fi
   3310 
   3311 fi
   3312 
   3313 
   3314 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3315 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3316 as_fn_error $? "no acceptable C compiler found in \$PATH
   3317 See \`config.log' for more details" "$LINENO" 5; }
   3318 
   3319 # Provide some information about the compiler.
   3320 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3321 set X $ac_compile
   3322 ac_compiler=$2
   3323 for ac_option in --version -v -V -qversion; do
   3324   { { ac_try="$ac_compiler $ac_option >&5"
   3325 case "(($ac_try" in
   3326   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3327   *) ac_try_echo=$ac_try;;
   3328 esac
   3329 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3330 $as_echo "$ac_try_echo"; } >&5
   3331   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3332   ac_status=$?
   3333   if test -s conftest.err; then
   3334     sed '10a\
   3335 ... rest of stderr output deleted ...
   3336          10q' conftest.err >conftest.er1
   3337     cat conftest.er1 >&5
   3338   fi
   3339   rm -f conftest.er1 conftest.err
   3340   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3341   test $ac_status = 0; }
   3342 done
   3343 
   3344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3345 /* end confdefs.h.  */
   3346 
   3347 int
   3348 main ()
   3349 {
   3350 
   3351   ;
   3352   return 0;
   3353 }
   3354 _ACEOF
   3355 ac_clean_files_save=$ac_clean_files
   3356 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3357 # Try to create an executable without -o first, disregard a.out.
   3358 # It will help us diagnose broken compilers, and finding out an intuition
   3359 # of exeext.
   3360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3361 $as_echo_n "checking whether the C compiler works... " >&6; }
   3362 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3363 
   3364 # The possible output files:
   3365 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3366 
   3367 ac_rmfiles=
   3368 for ac_file in $ac_files
   3369 do
   3370   case $ac_file in
   3371     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3372     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3373   esac
   3374 done
   3375 rm -f $ac_rmfiles
   3376 
   3377 if { { ac_try="$ac_link_default"
   3378 case "(($ac_try" in
   3379   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3380   *) ac_try_echo=$ac_try;;
   3381 esac
   3382 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3383 $as_echo "$ac_try_echo"; } >&5
   3384   (eval "$ac_link_default") 2>&5
   3385   ac_status=$?
   3386   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3387   test $ac_status = 0; }; then :
   3388   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3389 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3390 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3391 # so that the user can short-circuit this test for compilers unknown to
   3392 # Autoconf.
   3393 for ac_file in $ac_files ''
   3394 do
   3395   test -f "$ac_file" || continue
   3396   case $ac_file in
   3397     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3398 	;;
   3399     [ab].out )
   3400 	# We found the default executable, but exeext='' is most
   3401 	# certainly right.
   3402 	break;;
   3403     *.* )
   3404 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3405 	then :; else
   3406 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3407 	fi
   3408 	# We set ac_cv_exeext here because the later test for it is not
   3409 	# safe: cross compilers may not add the suffix if given an `-o'
   3410 	# argument, so we may need to know it at that point already.
   3411 	# Even if this section looks crufty: it has the advantage of
   3412 	# actually working.
   3413 	break;;
   3414     * )
   3415 	break;;
   3416   esac
   3417 done
   3418 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3419 
   3420 else
   3421   ac_file=''
   3422 fi
   3423 if test -z "$ac_file"; then :
   3424   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3425 $as_echo "no" >&6; }
   3426 $as_echo "$as_me: failed program was:" >&5
   3427 sed 's/^/| /' conftest.$ac_ext >&5
   3428 
   3429 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3430 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3431 as_fn_error 77 "C compiler cannot create executables
   3432 See \`config.log' for more details" "$LINENO" 5; }
   3433 else
   3434   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3435 $as_echo "yes" >&6; }
   3436 fi
   3437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3438 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3440 $as_echo "$ac_file" >&6; }
   3441 ac_exeext=$ac_cv_exeext
   3442 
   3443 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3444 ac_clean_files=$ac_clean_files_save
   3445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3446 $as_echo_n "checking for suffix of executables... " >&6; }
   3447 if { { ac_try="$ac_link"
   3448 case "(($ac_try" in
   3449   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3450   *) ac_try_echo=$ac_try;;
   3451 esac
   3452 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3453 $as_echo "$ac_try_echo"; } >&5
   3454   (eval "$ac_link") 2>&5
   3455   ac_status=$?
   3456   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3457   test $ac_status = 0; }; then :
   3458   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3459 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3460 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3461 # `rm'.
   3462 for ac_file in conftest.exe conftest conftest.*; do
   3463   test -f "$ac_file" || continue
   3464   case $ac_file in
   3465     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3466     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3467 	  break;;
   3468     * ) break;;
   3469   esac
   3470 done
   3471 else
   3472   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3473 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3474 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3475 See \`config.log' for more details" "$LINENO" 5; }
   3476 fi
   3477 rm -f conftest conftest$ac_cv_exeext
   3478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3479 $as_echo "$ac_cv_exeext" >&6; }
   3480 
   3481 rm -f conftest.$ac_ext
   3482 EXEEXT=$ac_cv_exeext
   3483 ac_exeext=$EXEEXT
   3484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3485 /* end confdefs.h.  */
   3486 #include <stdio.h>
   3487 int
   3488 main ()
   3489 {
   3490 FILE *f = fopen ("conftest.out", "w");
   3491  return ferror (f) || fclose (f) != 0;
   3492 
   3493   ;
   3494   return 0;
   3495 }
   3496 _ACEOF
   3497 ac_clean_files="$ac_clean_files conftest.out"
   3498 # Check that the compiler produces executables we can run.  If not, either
   3499 # the compiler is broken, or we cross compile.
   3500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3501 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3502 if test "$cross_compiling" != yes; then
   3503   { { ac_try="$ac_link"
   3504 case "(($ac_try" in
   3505   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3506   *) ac_try_echo=$ac_try;;
   3507 esac
   3508 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3509 $as_echo "$ac_try_echo"; } >&5
   3510   (eval "$ac_link") 2>&5
   3511   ac_status=$?
   3512   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3513   test $ac_status = 0; }
   3514   if { ac_try='./conftest$ac_cv_exeext'
   3515   { { case "(($ac_try" in
   3516   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3517   *) ac_try_echo=$ac_try;;
   3518 esac
   3519 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3520 $as_echo "$ac_try_echo"; } >&5
   3521   (eval "$ac_try") 2>&5
   3522   ac_status=$?
   3523   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3524   test $ac_status = 0; }; }; then
   3525     cross_compiling=no
   3526   else
   3527     if test "$cross_compiling" = maybe; then
   3528 	cross_compiling=yes
   3529     else
   3530 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3531 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3532 as_fn_error $? "cannot run C compiled programs.
   3533 If you meant to cross compile, use \`--host'.
   3534 See \`config.log' for more details" "$LINENO" 5; }
   3535     fi
   3536   fi
   3537 fi
   3538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3539 $as_echo "$cross_compiling" >&6; }
   3540 
   3541 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3542 ac_clean_files=$ac_clean_files_save
   3543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3544 $as_echo_n "checking for suffix of object files... " >&6; }
   3545 if ${ac_cv_objext+:} false; then :
   3546   $as_echo_n "(cached) " >&6
   3547 else
   3548   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3549 /* end confdefs.h.  */
   3550 
   3551 int
   3552 main ()
   3553 {
   3554 
   3555   ;
   3556   return 0;
   3557 }
   3558 _ACEOF
   3559 rm -f conftest.o conftest.obj
   3560 if { { ac_try="$ac_compile"
   3561 case "(($ac_try" in
   3562   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3563   *) ac_try_echo=$ac_try;;
   3564 esac
   3565 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3566 $as_echo "$ac_try_echo"; } >&5
   3567   (eval "$ac_compile") 2>&5
   3568   ac_status=$?
   3569   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3570   test $ac_status = 0; }; then :
   3571   for ac_file in conftest.o conftest.obj conftest.*; do
   3572   test -f "$ac_file" || continue;
   3573   case $ac_file in
   3574     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3575     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3576        break;;
   3577   esac
   3578 done
   3579 else
   3580   $as_echo "$as_me: failed program was:" >&5
   3581 sed 's/^/| /' conftest.$ac_ext >&5
   3582 
   3583 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3584 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3585 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3586 See \`config.log' for more details" "$LINENO" 5; }
   3587 fi
   3588 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3589 fi
   3590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3591 $as_echo "$ac_cv_objext" >&6; }
   3592 OBJEXT=$ac_cv_objext
   3593 ac_objext=$OBJEXT
   3594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3595 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3596 if ${ac_cv_c_compiler_gnu+:} false; then :
   3597   $as_echo_n "(cached) " >&6
   3598 else
   3599   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3600 /* end confdefs.h.  */
   3601 
   3602 int
   3603 main ()
   3604 {
   3605 #ifndef __GNUC__
   3606        choke me
   3607 #endif
   3608 
   3609   ;
   3610   return 0;
   3611 }
   3612 _ACEOF
   3613 if ac_fn_c_try_compile "$LINENO"; then :
   3614   ac_compiler_gnu=yes
   3615 else
   3616   ac_compiler_gnu=no
   3617 fi
   3618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3619 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3620 
   3621 fi
   3622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3623 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3624 if test $ac_compiler_gnu = yes; then
   3625   GCC=yes
   3626 else
   3627   GCC=
   3628 fi
   3629 ac_test_CFLAGS=${CFLAGS+set}
   3630 ac_save_CFLAGS=$CFLAGS
   3631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3632 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3633 if ${ac_cv_prog_cc_g+:} false; then :
   3634   $as_echo_n "(cached) " >&6
   3635 else
   3636   ac_save_c_werror_flag=$ac_c_werror_flag
   3637    ac_c_werror_flag=yes
   3638    ac_cv_prog_cc_g=no
   3639    CFLAGS="-g"
   3640    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3641 /* end confdefs.h.  */
   3642 
   3643 int
   3644 main ()
   3645 {
   3646 
   3647   ;
   3648   return 0;
   3649 }
   3650 _ACEOF
   3651 if ac_fn_c_try_compile "$LINENO"; then :
   3652   ac_cv_prog_cc_g=yes
   3653 else
   3654   CFLAGS=""
   3655       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3656 /* end confdefs.h.  */
   3657 
   3658 int
   3659 main ()
   3660 {
   3661 
   3662   ;
   3663   return 0;
   3664 }
   3665 _ACEOF
   3666 if ac_fn_c_try_compile "$LINENO"; then :
   3667 
   3668 else
   3669   ac_c_werror_flag=$ac_save_c_werror_flag
   3670 	 CFLAGS="-g"
   3671 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3672 /* end confdefs.h.  */
   3673 
   3674 int
   3675 main ()
   3676 {
   3677 
   3678   ;
   3679   return 0;
   3680 }
   3681 _ACEOF
   3682 if ac_fn_c_try_compile "$LINENO"; then :
   3683   ac_cv_prog_cc_g=yes
   3684 fi
   3685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3686 fi
   3687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3688 fi
   3689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3690    ac_c_werror_flag=$ac_save_c_werror_flag
   3691 fi
   3692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3693 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3694 if test "$ac_test_CFLAGS" = set; then
   3695   CFLAGS=$ac_save_CFLAGS
   3696 elif test $ac_cv_prog_cc_g = yes; then
   3697   if test "$GCC" = yes; then
   3698     CFLAGS="-g -O2"
   3699   else
   3700     CFLAGS="-g"
   3701   fi
   3702 else
   3703   if test "$GCC" = yes; then
   3704     CFLAGS="-O2"
   3705   else
   3706     CFLAGS=
   3707   fi
   3708 fi
   3709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3710 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3711 if ${ac_cv_prog_cc_c89+:} false; then :
   3712   $as_echo_n "(cached) " >&6
   3713 else
   3714   ac_cv_prog_cc_c89=no
   3715 ac_save_CC=$CC
   3716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3717 /* end confdefs.h.  */
   3718 #include <stdarg.h>
   3719 #include <stdio.h>
   3720 #include <sys/types.h>
   3721 #include <sys/stat.h>
   3722 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3723 struct buf { int x; };
   3724 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3725 static char *e (p, i)
   3726      char **p;
   3727      int i;
   3728 {
   3729   return p[i];
   3730 }
   3731 static char *f (char * (*g) (char **, int), char **p, ...)
   3732 {
   3733   char *s;
   3734   va_list v;
   3735   va_start (v,p);
   3736   s = g (p, va_arg (v,int));
   3737   va_end (v);
   3738   return s;
   3739 }
   3740 
   3741 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3742    function prototypes and stuff, but not '\xHH' hex character constants.
   3743    These don't provoke an error unfortunately, instead are silently treated
   3744    as 'x'.  The following induces an error, until -std is added to get
   3745    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3746    array size at least.  It's necessary to write '\x00'==0 to get something
   3747    that's true only with -std.  */
   3748 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3749 
   3750 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3751    inside strings and character constants.  */
   3752 #define FOO(x) 'x'
   3753 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3754 
   3755 int test (int i, double x);
   3756 struct s1 {int (*f) (int a);};
   3757 struct s2 {int (*f) (double a);};
   3758 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3759 int argc;
   3760 char **argv;
   3761 int
   3762 main ()
   3763 {
   3764 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3765   ;
   3766   return 0;
   3767 }
   3768 _ACEOF
   3769 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3770 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3771 do
   3772   CC="$ac_save_CC $ac_arg"
   3773   if ac_fn_c_try_compile "$LINENO"; then :
   3774   ac_cv_prog_cc_c89=$ac_arg
   3775 fi
   3776 rm -f core conftest.err conftest.$ac_objext
   3777   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3778 done
   3779 rm -f conftest.$ac_ext
   3780 CC=$ac_save_CC
   3781 
   3782 fi
   3783 # AC_CACHE_VAL
   3784 case "x$ac_cv_prog_cc_c89" in
   3785   x)
   3786     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3787 $as_echo "none needed" >&6; } ;;
   3788   xno)
   3789     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3790 $as_echo "unsupported" >&6; } ;;
   3791   *)
   3792     CC="$CC $ac_cv_prog_cc_c89"
   3793     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3794 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3795 esac
   3796 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3797 
   3798 fi
   3799 
   3800 ac_ext=c
   3801 ac_cpp='$CPP $CPPFLAGS'
   3802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3805 
   3806 depcc="$CC"   am_compiler_list=
   3807 
   3808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3809 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3810 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3811   $as_echo_n "(cached) " >&6
   3812 else
   3813   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3814   # We make a subdir and do the tests there.  Otherwise we can end up
   3815   # making bogus files that we don't know about and never remove.  For
   3816   # instance it was reported that on HP-UX the gcc test will end up
   3817   # making a dummy file named 'D' -- because '-MD' means "put the output
   3818   # in D".
   3819   rm -rf conftest.dir
   3820   mkdir conftest.dir
   3821   # Copy depcomp to subdir because otherwise we won't find it if we're
   3822   # using a relative directory.
   3823   cp "$am_depcomp" conftest.dir
   3824   cd conftest.dir
   3825   # We will build objects and dependencies in a subdirectory because
   3826   # it helps to detect inapplicable dependency modes.  For instance
   3827   # both Tru64's cc and ICC support -MD to output dependencies as a
   3828   # side effect of compilation, but ICC will put the dependencies in
   3829   # the current directory while Tru64 will put them in the object
   3830   # directory.
   3831   mkdir sub
   3832 
   3833   am_cv_CC_dependencies_compiler_type=none
   3834   if test "$am_compiler_list" = ""; then
   3835      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3836   fi
   3837   am__universal=false
   3838   case " $depcc " in #(
   3839      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3840      esac
   3841 
   3842   for depmode in $am_compiler_list; do
   3843     # Setup a source with many dependencies, because some compilers
   3844     # like to wrap large dependency lists on column 80 (with \), and
   3845     # we should not choose a depcomp mode which is confused by this.
   3846     #
   3847     # We need to recreate these files for each test, as the compiler may
   3848     # overwrite some of them when testing with obscure command lines.
   3849     # This happens at least with the AIX C compiler.
   3850     : > sub/conftest.c
   3851     for i in 1 2 3 4 5 6; do
   3852       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3853       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3854       # Solaris 10 /bin/sh.
   3855       echo '/* dummy */' > sub/conftst$i.h
   3856     done
   3857     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3858 
   3859     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3860     # mode.  It turns out that the SunPro C++ compiler does not properly
   3861     # handle '-M -o', and we need to detect this.  Also, some Intel
   3862     # versions had trouble with output in subdirs.
   3863     am__obj=sub/conftest.${OBJEXT-o}
   3864     am__minus_obj="-o $am__obj"
   3865     case $depmode in
   3866     gcc)
   3867       # This depmode causes a compiler race in universal mode.
   3868       test "$am__universal" = false || continue
   3869       ;;
   3870     nosideeffect)
   3871       # After this tag, mechanisms are not by side-effect, so they'll
   3872       # only be used when explicitly requested.
   3873       if test "x$enable_dependency_tracking" = xyes; then
   3874 	continue
   3875       else
   3876 	break
   3877       fi
   3878       ;;
   3879     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3880       # This compiler won't grok '-c -o', but also, the minuso test has
   3881       # not run yet.  These depmodes are late enough in the game, and
   3882       # so weak that their functioning should not be impacted.
   3883       am__obj=conftest.${OBJEXT-o}
   3884       am__minus_obj=
   3885       ;;
   3886     none) break ;;
   3887     esac
   3888     if depmode=$depmode \
   3889        source=sub/conftest.c object=$am__obj \
   3890        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3891        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3892          >/dev/null 2>conftest.err &&
   3893        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3894        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3895        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3896        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3897       # icc doesn't choke on unknown options, it will just issue warnings
   3898       # or remarks (even with -Werror).  So we grep stderr for any message
   3899       # that says an option was ignored or not supported.
   3900       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3901       #   icc: Command line warning: ignoring option '-M'; no argument required
   3902       # The diagnosis changed in icc 8.0:
   3903       #   icc: Command line remark: option '-MP' not supported
   3904       if (grep 'ignoring option' conftest.err ||
   3905           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3906         am_cv_CC_dependencies_compiler_type=$depmode
   3907         break
   3908       fi
   3909     fi
   3910   done
   3911 
   3912   cd ..
   3913   rm -rf conftest.dir
   3914 else
   3915   am_cv_CC_dependencies_compiler_type=none
   3916 fi
   3917 
   3918 fi
   3919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3920 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3921 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3922 
   3923  if
   3924   test "x$enable_dependency_tracking" != xno \
   3925   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3926   am__fastdepCC_TRUE=
   3927   am__fastdepCC_FALSE='#'
   3928 else
   3929   am__fastdepCC_TRUE='#'
   3930   am__fastdepCC_FALSE=
   3931 fi
   3932 
   3933 
   3934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   3935 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   3936 if ${ac_cv_path_SED+:} false; then :
   3937   $as_echo_n "(cached) " >&6
   3938 else
   3939             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   3940      for ac_i in 1 2 3 4 5 6 7; do
   3941        ac_script="$ac_script$as_nl$ac_script"
   3942      done
   3943      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   3944      { ac_script=; unset ac_script;}
   3945      if test -z "$SED"; then
   3946   ac_path_SED_found=false
   3947   # Loop through the user's path and test for each of PROGNAME-LIST
   3948   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3949 for as_dir in $PATH
   3950 do
   3951   IFS=$as_save_IFS
   3952   test -z "$as_dir" && as_dir=.
   3953     for ac_prog in sed gsed; do
   3954     for ac_exec_ext in '' $ac_executable_extensions; do
   3955       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   3956       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   3957 # Check for GNU ac_path_SED and select it if it is found.
   3958   # Check for GNU $ac_path_SED
   3959 case `"$ac_path_SED" --version 2>&1` in
   3960 *GNU*)
   3961   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   3962 *)
   3963   ac_count=0
   3964   $as_echo_n 0123456789 >"conftest.in"
   3965   while :
   3966   do
   3967     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3968     mv "conftest.tmp" "conftest.in"
   3969     cp "conftest.in" "conftest.nl"
   3970     $as_echo '' >> "conftest.nl"
   3971     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3972     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3973     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3974     if test $ac_count -gt ${ac_path_SED_max-0}; then
   3975       # Best one so far, save it but keep looking for a better one
   3976       ac_cv_path_SED="$ac_path_SED"
   3977       ac_path_SED_max=$ac_count
   3978     fi
   3979     # 10*(2^10) chars as input seems more than enough
   3980     test $ac_count -gt 10 && break
   3981   done
   3982   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3983 esac
   3984 
   3985       $ac_path_SED_found && break 3
   3986     done
   3987   done
   3988   done
   3989 IFS=$as_save_IFS
   3990   if test -z "$ac_cv_path_SED"; then
   3991     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   3992   fi
   3993 else
   3994   ac_cv_path_SED=$SED
   3995 fi
   3996 
   3997 fi
   3998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   3999 $as_echo "$ac_cv_path_SED" >&6; }
   4000  SED="$ac_cv_path_SED"
   4001   rm -f conftest.sed
   4002 
   4003 test -z "$SED" && SED=sed
   4004 Xsed="$SED -e 1s/^X//"
   4005 
   4006 
   4007 
   4008 
   4009 
   4010 
   4011 
   4012 
   4013 
   4014 
   4015 
   4016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4017 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4018 if ${ac_cv_path_GREP+:} false; then :
   4019   $as_echo_n "(cached) " >&6
   4020 else
   4021   if test -z "$GREP"; then
   4022   ac_path_GREP_found=false
   4023   # Loop through the user's path and test for each of PROGNAME-LIST
   4024   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4025 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4026 do
   4027   IFS=$as_save_IFS
   4028   test -z "$as_dir" && as_dir=.
   4029     for ac_prog in grep ggrep; do
   4030     for ac_exec_ext in '' $ac_executable_extensions; do
   4031       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4032       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4033 # Check for GNU ac_path_GREP and select it if it is found.
   4034   # Check for GNU $ac_path_GREP
   4035 case `"$ac_path_GREP" --version 2>&1` in
   4036 *GNU*)
   4037   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4038 *)
   4039   ac_count=0
   4040   $as_echo_n 0123456789 >"conftest.in"
   4041   while :
   4042   do
   4043     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4044     mv "conftest.tmp" "conftest.in"
   4045     cp "conftest.in" "conftest.nl"
   4046     $as_echo 'GREP' >> "conftest.nl"
   4047     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4048     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4049     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4050     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4051       # Best one so far, save it but keep looking for a better one
   4052       ac_cv_path_GREP="$ac_path_GREP"
   4053       ac_path_GREP_max=$ac_count
   4054     fi
   4055     # 10*(2^10) chars as input seems more than enough
   4056     test $ac_count -gt 10 && break
   4057   done
   4058   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4059 esac
   4060 
   4061       $ac_path_GREP_found && break 3
   4062     done
   4063   done
   4064   done
   4065 IFS=$as_save_IFS
   4066   if test -z "$ac_cv_path_GREP"; then
   4067     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4068   fi
   4069 else
   4070   ac_cv_path_GREP=$GREP
   4071 fi
   4072 
   4073 fi
   4074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4075 $as_echo "$ac_cv_path_GREP" >&6; }
   4076  GREP="$ac_cv_path_GREP"
   4077 
   4078 
   4079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4080 $as_echo_n "checking for egrep... " >&6; }
   4081 if ${ac_cv_path_EGREP+:} false; then :
   4082   $as_echo_n "(cached) " >&6
   4083 else
   4084   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4085    then ac_cv_path_EGREP="$GREP -E"
   4086    else
   4087      if test -z "$EGREP"; then
   4088   ac_path_EGREP_found=false
   4089   # Loop through the user's path and test for each of PROGNAME-LIST
   4090   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4091 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4092 do
   4093   IFS=$as_save_IFS
   4094   test -z "$as_dir" && as_dir=.
   4095     for ac_prog in egrep; do
   4096     for ac_exec_ext in '' $ac_executable_extensions; do
   4097       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4098       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4099 # Check for GNU ac_path_EGREP and select it if it is found.
   4100   # Check for GNU $ac_path_EGREP
   4101 case `"$ac_path_EGREP" --version 2>&1` in
   4102 *GNU*)
   4103   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4104 *)
   4105   ac_count=0
   4106   $as_echo_n 0123456789 >"conftest.in"
   4107   while :
   4108   do
   4109     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4110     mv "conftest.tmp" "conftest.in"
   4111     cp "conftest.in" "conftest.nl"
   4112     $as_echo 'EGREP' >> "conftest.nl"
   4113     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4114     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4115     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4116     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4117       # Best one so far, save it but keep looking for a better one
   4118       ac_cv_path_EGREP="$ac_path_EGREP"
   4119       ac_path_EGREP_max=$ac_count
   4120     fi
   4121     # 10*(2^10) chars as input seems more than enough
   4122     test $ac_count -gt 10 && break
   4123   done
   4124   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4125 esac
   4126 
   4127       $ac_path_EGREP_found && break 3
   4128     done
   4129   done
   4130   done
   4131 IFS=$as_save_IFS
   4132   if test -z "$ac_cv_path_EGREP"; then
   4133     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4134   fi
   4135 else
   4136   ac_cv_path_EGREP=$EGREP
   4137 fi
   4138 
   4139    fi
   4140 fi
   4141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4142 $as_echo "$ac_cv_path_EGREP" >&6; }
   4143  EGREP="$ac_cv_path_EGREP"
   4144 
   4145 
   4146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4147 $as_echo_n "checking for fgrep... " >&6; }
   4148 if ${ac_cv_path_FGREP+:} false; then :
   4149   $as_echo_n "(cached) " >&6
   4150 else
   4151   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4152    then ac_cv_path_FGREP="$GREP -F"
   4153    else
   4154      if test -z "$FGREP"; then
   4155   ac_path_FGREP_found=false
   4156   # Loop through the user's path and test for each of PROGNAME-LIST
   4157   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4158 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4159 do
   4160   IFS=$as_save_IFS
   4161   test -z "$as_dir" && as_dir=.
   4162     for ac_prog in fgrep; do
   4163     for ac_exec_ext in '' $ac_executable_extensions; do
   4164       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4165       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   4166 # Check for GNU ac_path_FGREP and select it if it is found.
   4167   # Check for GNU $ac_path_FGREP
   4168 case `"$ac_path_FGREP" --version 2>&1` in
   4169 *GNU*)
   4170   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4171 *)
   4172   ac_count=0
   4173   $as_echo_n 0123456789 >"conftest.in"
   4174   while :
   4175   do
   4176     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4177     mv "conftest.tmp" "conftest.in"
   4178     cp "conftest.in" "conftest.nl"
   4179     $as_echo 'FGREP' >> "conftest.nl"
   4180     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4181     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4182     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4183     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4184       # Best one so far, save it but keep looking for a better one
   4185       ac_cv_path_FGREP="$ac_path_FGREP"
   4186       ac_path_FGREP_max=$ac_count
   4187     fi
   4188     # 10*(2^10) chars as input seems more than enough
   4189     test $ac_count -gt 10 && break
   4190   done
   4191   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4192 esac
   4193 
   4194       $ac_path_FGREP_found && break 3
   4195     done
   4196   done
   4197   done
   4198 IFS=$as_save_IFS
   4199   if test -z "$ac_cv_path_FGREP"; then
   4200     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4201   fi
   4202 else
   4203   ac_cv_path_FGREP=$FGREP
   4204 fi
   4205 
   4206    fi
   4207 fi
   4208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4209 $as_echo "$ac_cv_path_FGREP" >&6; }
   4210  FGREP="$ac_cv_path_FGREP"
   4211 
   4212 
   4213 test -z "$GREP" && GREP=grep
   4214 
   4215 
   4216 
   4217 
   4218 
   4219 
   4220 
   4221 
   4222 
   4223 
   4224 
   4225 
   4226 
   4227 
   4228 
   4229 
   4230 
   4231 
   4232 
   4233 # Check whether --with-gnu-ld was given.
   4234 if test "${with_gnu_ld+set}" = set; then :
   4235   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4236 else
   4237   with_gnu_ld=no
   4238 fi
   4239 
   4240 ac_prog=ld
   4241 if test "$GCC" = yes; then
   4242   # Check if gcc -print-prog-name=ld gives a path.
   4243   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   4244 $as_echo_n "checking for ld used by $CC... " >&6; }
   4245   case $host in
   4246   *-*-mingw*)
   4247     # gcc leaves a trailing carriage return which upsets mingw
   4248     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4249   *)
   4250     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4251   esac
   4252   case $ac_prog in
   4253     # Accept absolute paths.
   4254     [\\/]* | ?:[\\/]*)
   4255       re_direlt='/[^/][^/]*/\.\./'
   4256       # Canonicalize the pathname of ld
   4257       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4258       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4259 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4260       done
   4261       test -z "$LD" && LD="$ac_prog"
   4262       ;;
   4263   "")
   4264     # If it fails, then pretend we aren't using GCC.
   4265     ac_prog=ld
   4266     ;;
   4267   *)
   4268     # If it is relative, then search for the first ld in PATH.
   4269     with_gnu_ld=unknown
   4270     ;;
   4271   esac
   4272 elif test "$with_gnu_ld" = yes; then
   4273   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   4274 $as_echo_n "checking for GNU ld... " >&6; }
   4275 else
   4276   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   4277 $as_echo_n "checking for non-GNU ld... " >&6; }
   4278 fi
   4279 if ${lt_cv_path_LD+:} false; then :
   4280   $as_echo_n "(cached) " >&6
   4281 else
   4282   if test -z "$LD"; then
   4283   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4284   for ac_dir in $PATH; do
   4285     IFS="$lt_save_ifs"
   4286     test -z "$ac_dir" && ac_dir=.
   4287     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4288       lt_cv_path_LD="$ac_dir/$ac_prog"
   4289       # Check to see if the program is GNU ld.  I'd rather use --version,
   4290       # but apparently some variants of GNU ld only accept -v.
   4291       # Break only if it was the GNU/non-GNU ld that we prefer.
   4292       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4293       *GNU* | *'with BFD'*)
   4294 	test "$with_gnu_ld" != no && break
   4295 	;;
   4296       *)
   4297 	test "$with_gnu_ld" != yes && break
   4298 	;;
   4299       esac
   4300     fi
   4301   done
   4302   IFS="$lt_save_ifs"
   4303 else
   4304   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4305 fi
   4306 fi
   4307 
   4308 LD="$lt_cv_path_LD"
   4309 if test -n "$LD"; then
   4310   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   4311 $as_echo "$LD" >&6; }
   4312 else
   4313   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4314 $as_echo "no" >&6; }
   4315 fi
   4316 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   4317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   4318 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4319 if ${lt_cv_prog_gnu_ld+:} false; then :
   4320   $as_echo_n "(cached) " >&6
   4321 else
   4322   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4323 case `$LD -v 2>&1 </dev/null` in
   4324 *GNU* | *'with BFD'*)
   4325   lt_cv_prog_gnu_ld=yes
   4326   ;;
   4327 *)
   4328   lt_cv_prog_gnu_ld=no
   4329   ;;
   4330 esac
   4331 fi
   4332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   4333 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4334 with_gnu_ld=$lt_cv_prog_gnu_ld
   4335 
   4336 
   4337 
   4338 
   4339 
   4340 
   4341 
   4342 
   4343 
   4344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   4345 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   4346 if ${lt_cv_path_NM+:} false; then :
   4347   $as_echo_n "(cached) " >&6
   4348 else
   4349   if test -n "$NM"; then
   4350   # Let the user override the test.
   4351   lt_cv_path_NM="$NM"
   4352 else
   4353   lt_nm_to_check="${ac_tool_prefix}nm"
   4354   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4355     lt_nm_to_check="$lt_nm_to_check nm"
   4356   fi
   4357   for lt_tmp_nm in $lt_nm_to_check; do
   4358     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4359     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4360       IFS="$lt_save_ifs"
   4361       test -z "$ac_dir" && ac_dir=.
   4362       tmp_nm="$ac_dir/$lt_tmp_nm"
   4363       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4364 	# Check to see if the nm accepts a BSD-compat flag.
   4365 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4366 	#   nm: unknown option "B" ignored
   4367 	# Tru64's nm complains that /dev/null is an invalid object file
   4368 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4369 	*/dev/null* | *'Invalid file or object type'*)
   4370 	  lt_cv_path_NM="$tmp_nm -B"
   4371 	  break
   4372 	  ;;
   4373 	*)
   4374 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4375 	  */dev/null*)
   4376 	    lt_cv_path_NM="$tmp_nm -p"
   4377 	    break
   4378 	    ;;
   4379 	  *)
   4380 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4381 	    continue # so that we can try to find one that supports BSD flags
   4382 	    ;;
   4383 	  esac
   4384 	  ;;
   4385 	esac
   4386       fi
   4387     done
   4388     IFS="$lt_save_ifs"
   4389   done
   4390   : ${lt_cv_path_NM=no}
   4391 fi
   4392 fi
   4393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   4394 $as_echo "$lt_cv_path_NM" >&6; }
   4395 if test "$lt_cv_path_NM" != "no"; then
   4396   NM="$lt_cv_path_NM"
   4397 else
   4398   # Didn't find any BSD compatible name lister, look for dumpbin.
   4399   if test -n "$DUMPBIN"; then :
   4400     # Let the user override the test.
   4401   else
   4402     if test -n "$ac_tool_prefix"; then
   4403   for ac_prog in dumpbin "link -dump"
   4404   do
   4405     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4406 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4408 $as_echo_n "checking for $ac_word... " >&6; }
   4409 if ${ac_cv_prog_DUMPBIN+:} false; then :
   4410   $as_echo_n "(cached) " >&6
   4411 else
   4412   if test -n "$DUMPBIN"; then
   4413   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   4414 else
   4415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4416 for as_dir in $PATH
   4417 do
   4418   IFS=$as_save_IFS
   4419   test -z "$as_dir" && as_dir=.
   4420     for ac_exec_ext in '' $ac_executable_extensions; do
   4421   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4422     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   4423     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4424     break 2
   4425   fi
   4426 done
   4427   done
   4428 IFS=$as_save_IFS
   4429 
   4430 fi
   4431 fi
   4432 DUMPBIN=$ac_cv_prog_DUMPBIN
   4433 if test -n "$DUMPBIN"; then
   4434   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   4435 $as_echo "$DUMPBIN" >&6; }
   4436 else
   4437   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4438 $as_echo "no" >&6; }
   4439 fi
   4440 
   4441 
   4442     test -n "$DUMPBIN" && break
   4443   done
   4444 fi
   4445 if test -z "$DUMPBIN"; then
   4446   ac_ct_DUMPBIN=$DUMPBIN
   4447   for ac_prog in dumpbin "link -dump"
   4448 do
   4449   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4450 set dummy $ac_prog; ac_word=$2
   4451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4452 $as_echo_n "checking for $ac_word... " >&6; }
   4453 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   4454   $as_echo_n "(cached) " >&6
   4455 else
   4456   if test -n "$ac_ct_DUMPBIN"; then
   4457   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   4458 else
   4459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4460 for as_dir in $PATH
   4461 do
   4462   IFS=$as_save_IFS
   4463   test -z "$as_dir" && as_dir=.
   4464     for ac_exec_ext in '' $ac_executable_extensions; do
   4465   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4466     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   4467     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4468     break 2
   4469   fi
   4470 done
   4471   done
   4472 IFS=$as_save_IFS
   4473 
   4474 fi
   4475 fi
   4476 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   4477 if test -n "$ac_ct_DUMPBIN"; then
   4478   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   4479 $as_echo "$ac_ct_DUMPBIN" >&6; }
   4480 else
   4481   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4482 $as_echo "no" >&6; }
   4483 fi
   4484 
   4485 
   4486   test -n "$ac_ct_DUMPBIN" && break
   4487 done
   4488 
   4489   if test "x$ac_ct_DUMPBIN" = x; then
   4490     DUMPBIN=":"
   4491   else
   4492     case $cross_compiling:$ac_tool_warned in
   4493 yes:)
   4494 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4495 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4496 ac_tool_warned=yes ;;
   4497 esac
   4498     DUMPBIN=$ac_ct_DUMPBIN
   4499   fi
   4500 fi
   4501 
   4502     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   4503     *COFF*)
   4504       DUMPBIN="$DUMPBIN -symbols"
   4505       ;;
   4506     *)
   4507       DUMPBIN=:
   4508       ;;
   4509     esac
   4510   fi
   4511 
   4512   if test "$DUMPBIN" != ":"; then
   4513     NM="$DUMPBIN"
   4514   fi
   4515 fi
   4516 test -z "$NM" && NM=nm
   4517 
   4518 
   4519 
   4520 
   4521 
   4522 
   4523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   4524 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   4525 if ${lt_cv_nm_interface+:} false; then :
   4526   $as_echo_n "(cached) " >&6
   4527 else
   4528   lt_cv_nm_interface="BSD nm"
   4529   echo "int some_variable = 0;" > conftest.$ac_ext
   4530   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   4531   (eval "$ac_compile" 2>conftest.err)
   4532   cat conftest.err >&5
   4533   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   4534   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   4535   cat conftest.err >&5
   4536   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   4537   cat conftest.out >&5
   4538   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   4539     lt_cv_nm_interface="MS dumpbin"
   4540   fi
   4541   rm -f conftest*
   4542 fi
   4543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   4544 $as_echo "$lt_cv_nm_interface" >&6; }
   4545 
   4546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   4547 $as_echo_n "checking whether ln -s works... " >&6; }
   4548 LN_S=$as_ln_s
   4549 if test "$LN_S" = "ln -s"; then
   4550   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4551 $as_echo "yes" >&6; }
   4552 else
   4553   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   4554 $as_echo "no, using $LN_S" >&6; }
   4555 fi
   4556 
   4557 # find the maximum length of command line arguments
   4558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   4559 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   4560 if ${lt_cv_sys_max_cmd_len+:} false; then :
   4561   $as_echo_n "(cached) " >&6
   4562 else
   4563     i=0
   4564   teststring="ABCD"
   4565 
   4566   case $build_os in
   4567   msdosdjgpp*)
   4568     # On DJGPP, this test can blow up pretty badly due to problems in libc
   4569     # (any single argument exceeding 2000 bytes causes a buffer overrun
   4570     # during glob expansion).  Even if it were fixed, the result of this
   4571     # check would be larger than it should be.
   4572     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   4573     ;;
   4574 
   4575   gnu*)
   4576     # Under GNU Hurd, this test is not required because there is
   4577     # no limit to the length of command line arguments.
   4578     # Libtool will interpret -1 as no limit whatsoever
   4579     lt_cv_sys_max_cmd_len=-1;
   4580     ;;
   4581 
   4582   cygwin* | mingw* | cegcc*)
   4583     # On Win9x/ME, this test blows up -- it succeeds, but takes
   4584     # about 5 minutes as the teststring grows exponentially.
   4585     # Worse, since 9x/ME are not pre-emptively multitasking,
   4586     # you end up with a "frozen" computer, even though with patience
   4587     # the test eventually succeeds (with a max line length of 256k).
   4588     # Instead, let's just punt: use the minimum linelength reported by
   4589     # all of the supported platforms: 8192 (on NT/2K/XP).
   4590     lt_cv_sys_max_cmd_len=8192;
   4591     ;;
   4592 
   4593   mint*)
   4594     # On MiNT this can take a long time and run out of memory.
   4595     lt_cv_sys_max_cmd_len=8192;
   4596     ;;
   4597 
   4598   amigaos*)
   4599     # On AmigaOS with pdksh, this test takes hours, literally.
   4600     # So we just punt and use a minimum line length of 8192.
   4601     lt_cv_sys_max_cmd_len=8192;
   4602     ;;
   4603 
   4604   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   4605     # This has been around since 386BSD, at least.  Likely further.
   4606     if test -x /sbin/sysctl; then
   4607       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   4608     elif test -x /usr/sbin/sysctl; then
   4609       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   4610     else
   4611       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   4612     fi
   4613     # And add a safety zone
   4614     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4615     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4616     ;;
   4617 
   4618   interix*)
   4619     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   4620     lt_cv_sys_max_cmd_len=196608
   4621     ;;
   4622 
   4623   os2*)
   4624     # The test takes a long time on OS/2.
   4625     lt_cv_sys_max_cmd_len=8192
   4626     ;;
   4627 
   4628   osf*)
   4629     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   4630     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   4631     # nice to cause kernel panics so lets avoid the loop below.
   4632     # First set a reasonable default.
   4633     lt_cv_sys_max_cmd_len=16384
   4634     #
   4635     if test -x /sbin/sysconfig; then
   4636       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   4637         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   4638       esac
   4639     fi
   4640     ;;
   4641   sco3.2v5*)
   4642     lt_cv_sys_max_cmd_len=102400
   4643     ;;
   4644   sysv5* | sco5v6* | sysv4.2uw2*)
   4645     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   4646     if test -n "$kargmax"; then
   4647       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   4648     else
   4649       lt_cv_sys_max_cmd_len=32768
   4650     fi
   4651     ;;
   4652   *)
   4653     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   4654     if test -n "$lt_cv_sys_max_cmd_len"; then
   4655       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4656       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4657     else
   4658       # Make teststring a little bigger before we do anything with it.
   4659       # a 1K string should be a reasonable start.
   4660       for i in 1 2 3 4 5 6 7 8 ; do
   4661         teststring=$teststring$teststring
   4662       done
   4663       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   4664       # If test is not a shell built-in, we'll probably end up computing a
   4665       # maximum length that is only half of the actual maximum length, but
   4666       # we can't tell.
   4667       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
   4668 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   4669 	      test $i != 17 # 1/2 MB should be enough
   4670       do
   4671         i=`expr $i + 1`
   4672         teststring=$teststring$teststring
   4673       done
   4674       # Only check the string length outside the loop.
   4675       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   4676       teststring=
   4677       # Add a significant safety factor because C++ compilers can tack on
   4678       # massive amounts of additional arguments before passing them to the
   4679       # linker.  It appears as though 1/2 is a usable value.
   4680       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   4681     fi
   4682     ;;
   4683   esac
   4684 
   4685 fi
   4686 
   4687 if test -n $lt_cv_sys_max_cmd_len ; then
   4688   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   4689 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   4690 else
   4691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   4692 $as_echo "none" >&6; }
   4693 fi
   4694 max_cmd_len=$lt_cv_sys_max_cmd_len
   4695 
   4696 
   4697 
   4698 
   4699 
   4700 
   4701 : ${CP="cp -f"}
   4702 : ${MV="mv -f"}
   4703 : ${RM="rm -f"}
   4704 
   4705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   4706 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   4707 # Try some XSI features
   4708 xsi_shell=no
   4709 ( _lt_dummy="a/b/c"
   4710   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
   4711       = c,a/b,b/c, \
   4712     && eval 'test $(( 1 + 1 )) -eq 2 \
   4713     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   4714   && xsi_shell=yes
   4715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   4716 $as_echo "$xsi_shell" >&6; }
   4717 
   4718 
   4719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   4720 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   4721 lt_shell_append=no
   4722 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   4723     >/dev/null 2>&1 \
   4724   && lt_shell_append=yes
   4725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   4726 $as_echo "$lt_shell_append" >&6; }
   4727 
   4728 
   4729 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   4730   lt_unset=unset
   4731 else
   4732   lt_unset=false
   4733 fi
   4734 
   4735 
   4736 
   4737 
   4738 
   4739 # test EBCDIC or ASCII
   4740 case `echo X|tr X '\101'` in
   4741  A) # ASCII based system
   4742     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   4743   lt_SP2NL='tr \040 \012'
   4744   lt_NL2SP='tr \015\012 \040\040'
   4745   ;;
   4746  *) # EBCDIC based system
   4747   lt_SP2NL='tr \100 \n'
   4748   lt_NL2SP='tr \r\n \100\100'
   4749   ;;
   4750 esac
   4751 
   4752 
   4753 
   4754 
   4755 
   4756 
   4757 
   4758 
   4759 
   4760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   4761 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   4762 if ${lt_cv_to_host_file_cmd+:} false; then :
   4763   $as_echo_n "(cached) " >&6
   4764 else
   4765   case $host in
   4766   *-*-mingw* )
   4767     case $build in
   4768       *-*-mingw* ) # actually msys
   4769         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   4770         ;;
   4771       *-*-cygwin* )
   4772         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   4773         ;;
   4774       * ) # otherwise, assume *nix
   4775         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   4776         ;;
   4777     esac
   4778     ;;
   4779   *-*-cygwin* )
   4780     case $build in
   4781       *-*-mingw* ) # actually msys
   4782         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   4783         ;;
   4784       *-*-cygwin* )
   4785         lt_cv_to_host_file_cmd=func_convert_file_noop
   4786         ;;
   4787       * ) # otherwise, assume *nix
   4788         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   4789         ;;
   4790     esac
   4791     ;;
   4792   * ) # unhandled hosts (and "normal" native builds)
   4793     lt_cv_to_host_file_cmd=func_convert_file_noop
   4794     ;;
   4795 esac
   4796 
   4797 fi
   4798 
   4799 to_host_file_cmd=$lt_cv_to_host_file_cmd
   4800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   4801 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   4802 
   4803 
   4804 
   4805 
   4806 
   4807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   4808 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   4809 if ${lt_cv_to_tool_file_cmd+:} false; then :
   4810   $as_echo_n "(cached) " >&6
   4811 else
   4812   #assume ordinary cross tools, or native build.
   4813 lt_cv_to_tool_file_cmd=func_convert_file_noop
   4814 case $host in
   4815   *-*-mingw* )
   4816     case $build in
   4817       *-*-mingw* ) # actually msys
   4818         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   4819         ;;
   4820     esac
   4821     ;;
   4822 esac
   4823 
   4824 fi
   4825 
   4826 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   4827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   4828 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   4829 
   4830 
   4831 
   4832 
   4833 
   4834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   4835 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4836 if ${lt_cv_ld_reload_flag+:} false; then :
   4837   $as_echo_n "(cached) " >&6
   4838 else
   4839   lt_cv_ld_reload_flag='-r'
   4840 fi
   4841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   4842 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4843 reload_flag=$lt_cv_ld_reload_flag
   4844 case $reload_flag in
   4845 "" | " "*) ;;
   4846 *) reload_flag=" $reload_flag" ;;
   4847 esac
   4848 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4849 case $host_os in
   4850   cygwin* | mingw* | pw32* | cegcc*)
   4851     if test "$GCC" != yes; then
   4852       reload_cmds=false
   4853     fi
   4854     ;;
   4855   darwin*)
   4856     if test "$GCC" = yes; then
   4857       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4858     else
   4859       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4860     fi
   4861     ;;
   4862 esac
   4863 
   4864 
   4865 
   4866 
   4867 
   4868 
   4869 
   4870 
   4871 
   4872 if test -n "$ac_tool_prefix"; then
   4873   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   4874 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   4875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4876 $as_echo_n "checking for $ac_word... " >&6; }
   4877 if ${ac_cv_prog_OBJDUMP+:} false; then :
   4878   $as_echo_n "(cached) " >&6
   4879 else
   4880   if test -n "$OBJDUMP"; then
   4881   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   4882 else
   4883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4884 for as_dir in $PATH
   4885 do
   4886   IFS=$as_save_IFS
   4887   test -z "$as_dir" && as_dir=.
   4888     for ac_exec_ext in '' $ac_executable_extensions; do
   4889   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4890     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   4891     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4892     break 2
   4893   fi
   4894 done
   4895   done
   4896 IFS=$as_save_IFS
   4897 
   4898 fi
   4899 fi
   4900 OBJDUMP=$ac_cv_prog_OBJDUMP
   4901 if test -n "$OBJDUMP"; then
   4902   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   4903 $as_echo "$OBJDUMP" >&6; }
   4904 else
   4905   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4906 $as_echo "no" >&6; }
   4907 fi
   4908 
   4909 
   4910 fi
   4911 if test -z "$ac_cv_prog_OBJDUMP"; then
   4912   ac_ct_OBJDUMP=$OBJDUMP
   4913   # Extract the first word of "objdump", so it can be a program name with args.
   4914 set dummy objdump; ac_word=$2
   4915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4916 $as_echo_n "checking for $ac_word... " >&6; }
   4917 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   4918   $as_echo_n "(cached) " >&6
   4919 else
   4920   if test -n "$ac_ct_OBJDUMP"; then
   4921   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   4922 else
   4923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4924 for as_dir in $PATH
   4925 do
   4926   IFS=$as_save_IFS
   4927   test -z "$as_dir" && as_dir=.
   4928     for ac_exec_ext in '' $ac_executable_extensions; do
   4929   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4930     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   4931     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4932     break 2
   4933   fi
   4934 done
   4935   done
   4936 IFS=$as_save_IFS
   4937 
   4938 fi
   4939 fi
   4940 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   4941 if test -n "$ac_ct_OBJDUMP"; then
   4942   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   4943 $as_echo "$ac_ct_OBJDUMP" >&6; }
   4944 else
   4945   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4946 $as_echo "no" >&6; }
   4947 fi
   4948 
   4949   if test "x$ac_ct_OBJDUMP" = x; then
   4950     OBJDUMP="false"
   4951   else
   4952     case $cross_compiling:$ac_tool_warned in
   4953 yes:)
   4954 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4955 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4956 ac_tool_warned=yes ;;
   4957 esac
   4958     OBJDUMP=$ac_ct_OBJDUMP
   4959   fi
   4960 else
   4961   OBJDUMP="$ac_cv_prog_OBJDUMP"
   4962 fi
   4963 
   4964 test -z "$OBJDUMP" && OBJDUMP=objdump
   4965 
   4966 
   4967 
   4968 
   4969 
   4970 
   4971 
   4972 
   4973 
   4974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   4975 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   4976 if ${lt_cv_deplibs_check_method+:} false; then :
   4977   $as_echo_n "(cached) " >&6
   4978 else
   4979   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4980 lt_cv_file_magic_test_file=
   4981 lt_cv_deplibs_check_method='unknown'
   4982 # Need to set the preceding variable on all platforms that support
   4983 # interlibrary dependencies.
   4984 # 'none' -- dependencies not supported.
   4985 # `unknown' -- same as none, but documents that we really don't know.
   4986 # 'pass_all' -- all dependencies passed with no checks.
   4987 # 'test_compile' -- check by making test program.
   4988 # 'file_magic [[regex]]' -- check by looking for files in library path
   4989 # which responds to the $file_magic_cmd with a given extended regex.
   4990 # If you have `file' or equivalent on your system and you're not sure
   4991 # whether `pass_all' will *always* work, you probably want this one.
   4992 
   4993 case $host_os in
   4994 aix[4-9]*)
   4995   lt_cv_deplibs_check_method=pass_all
   4996   ;;
   4997 
   4998 beos*)
   4999   lt_cv_deplibs_check_method=pass_all
   5000   ;;
   5001 
   5002 bsdi[45]*)
   5003   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5004   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5005   lt_cv_file_magic_test_file=/shlib/libc.so
   5006   ;;
   5007 
   5008 cygwin*)
   5009   # func_win32_libid is a shell function defined in ltmain.sh
   5010   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5011   lt_cv_file_magic_cmd='func_win32_libid'
   5012   ;;
   5013 
   5014 mingw* | pw32*)
   5015   # Base MSYS/MinGW do not provide the 'file' command needed by
   5016   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5017   # unless we find 'file', for example because we are cross-compiling.
   5018   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   5019   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   5020     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5021     lt_cv_file_magic_cmd='func_win32_libid'
   5022   else
   5023     # Keep this pattern in sync with the one in func_win32_libid.
   5024     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   5025     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5026   fi
   5027   ;;
   5028 
   5029 cegcc*)
   5030   # use the weaker test based on 'objdump'. See mingw*.
   5031   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5032   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5033   ;;
   5034 
   5035 darwin* | rhapsody*)
   5036   lt_cv_deplibs_check_method=pass_all
   5037   ;;
   5038 
   5039 freebsd* | dragonfly*)
   5040   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5041     case $host_cpu in
   5042     i*86 )
   5043       # Not sure whether the presence of OpenBSD here was a mistake.
   5044       # Let's accept both of them until this is cleared up.
   5045       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5046       lt_cv_file_magic_cmd=/usr/bin/file
   5047       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5048       ;;
   5049     esac
   5050   else
   5051     lt_cv_deplibs_check_method=pass_all
   5052   fi
   5053   ;;
   5054 
   5055 gnu*)
   5056   lt_cv_deplibs_check_method=pass_all
   5057   ;;
   5058 
   5059 haiku*)
   5060   lt_cv_deplibs_check_method=pass_all
   5061   ;;
   5062 
   5063 hpux10.20* | hpux11*)
   5064   lt_cv_file_magic_cmd=/usr/bin/file
   5065   case $host_cpu in
   5066   ia64*)
   5067     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5068     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5069     ;;
   5070   hppa*64*)
   5071     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]'
   5072     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5073     ;;
   5074   *)
   5075     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5076     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5077     ;;
   5078   esac
   5079   ;;
   5080 
   5081 interix[3-9]*)
   5082   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5083   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5084   ;;
   5085 
   5086 irix5* | irix6* | nonstopux*)
   5087   case $LD in
   5088   *-32|*"-32 ") libmagic=32-bit;;
   5089   *-n32|*"-n32 ") libmagic=N32;;
   5090   *-64|*"-64 ") libmagic=64-bit;;
   5091   *) libmagic=never-match;;
   5092   esac
   5093   lt_cv_deplibs_check_method=pass_all
   5094   ;;
   5095 
   5096 # This must be glibc/ELF.
   5097 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   5098   lt_cv_deplibs_check_method=pass_all
   5099   ;;
   5100 
   5101 netbsd*)
   5102   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5103     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5104   else
   5105     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5106   fi
   5107   ;;
   5108 
   5109 newos6*)
   5110   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5111   lt_cv_file_magic_cmd=/usr/bin/file
   5112   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5113   ;;
   5114 
   5115 *nto* | *qnx*)
   5116   lt_cv_deplibs_check_method=pass_all
   5117   ;;
   5118 
   5119 openbsd*)
   5120   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   5121     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5122   else
   5123     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5124   fi
   5125   ;;
   5126 
   5127 osf3* | osf4* | osf5*)
   5128   lt_cv_deplibs_check_method=pass_all
   5129   ;;
   5130 
   5131 rdos*)
   5132   lt_cv_deplibs_check_method=pass_all
   5133   ;;
   5134 
   5135 solaris*)
   5136   lt_cv_deplibs_check_method=pass_all
   5137   ;;
   5138 
   5139 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5140   lt_cv_deplibs_check_method=pass_all
   5141   ;;
   5142 
   5143 sysv4 | sysv4.3*)
   5144   case $host_vendor in
   5145   motorola)
   5146     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]'
   5147     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5148     ;;
   5149   ncr)
   5150     lt_cv_deplibs_check_method=pass_all
   5151     ;;
   5152   sequent)
   5153     lt_cv_file_magic_cmd='/bin/file'
   5154     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5155     ;;
   5156   sni)
   5157     lt_cv_file_magic_cmd='/bin/file'
   5158     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5159     lt_cv_file_magic_test_file=/lib/libc.so
   5160     ;;
   5161   siemens)
   5162     lt_cv_deplibs_check_method=pass_all
   5163     ;;
   5164   pc)
   5165     lt_cv_deplibs_check_method=pass_all
   5166     ;;
   5167   esac
   5168   ;;
   5169 
   5170 tpf*)
   5171   lt_cv_deplibs_check_method=pass_all
   5172   ;;
   5173 esac
   5174 
   5175 fi
   5176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5177 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5178 
   5179 file_magic_glob=
   5180 want_nocaseglob=no
   5181 if test "$build" = "$host"; then
   5182   case $host_os in
   5183   mingw* | pw32*)
   5184     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   5185       want_nocaseglob=yes
   5186     else
   5187       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   5188     fi
   5189     ;;
   5190   esac
   5191 fi
   5192 
   5193 file_magic_cmd=$lt_cv_file_magic_cmd
   5194 deplibs_check_method=$lt_cv_deplibs_check_method
   5195 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5196 
   5197 
   5198 
   5199 
   5200 
   5201 
   5202 
   5203 
   5204 
   5205 
   5206 
   5207 
   5208 
   5209 
   5210 
   5211 
   5212 
   5213 
   5214 
   5215 
   5216 
   5217 
   5218 if test -n "$ac_tool_prefix"; then
   5219   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   5220 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   5221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5222 $as_echo_n "checking for $ac_word... " >&6; }
   5223 if ${ac_cv_prog_DLLTOOL+:} false; then :
   5224   $as_echo_n "(cached) " >&6
   5225 else
   5226   if test -n "$DLLTOOL"; then
   5227   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   5228 else
   5229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5230 for as_dir in $PATH
   5231 do
   5232   IFS=$as_save_IFS
   5233   test -z "$as_dir" && as_dir=.
   5234     for ac_exec_ext in '' $ac_executable_extensions; do
   5235   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5236     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   5237     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5238     break 2
   5239   fi
   5240 done
   5241   done
   5242 IFS=$as_save_IFS
   5243 
   5244 fi
   5245 fi
   5246 DLLTOOL=$ac_cv_prog_DLLTOOL
   5247 if test -n "$DLLTOOL"; then
   5248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   5249 $as_echo "$DLLTOOL" >&6; }
   5250 else
   5251   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5252 $as_echo "no" >&6; }
   5253 fi
   5254 
   5255 
   5256 fi
   5257 if test -z "$ac_cv_prog_DLLTOOL"; then
   5258   ac_ct_DLLTOOL=$DLLTOOL
   5259   # Extract the first word of "dlltool", so it can be a program name with args.
   5260 set dummy dlltool; ac_word=$2
   5261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5262 $as_echo_n "checking for $ac_word... " >&6; }
   5263 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   5264   $as_echo_n "(cached) " >&6
   5265 else
   5266   if test -n "$ac_ct_DLLTOOL"; then
   5267   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   5268 else
   5269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5270 for as_dir in $PATH
   5271 do
   5272   IFS=$as_save_IFS
   5273   test -z "$as_dir" && as_dir=.
   5274     for ac_exec_ext in '' $ac_executable_extensions; do
   5275   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5276     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   5277     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5278     break 2
   5279   fi
   5280 done
   5281   done
   5282 IFS=$as_save_IFS
   5283 
   5284 fi
   5285 fi
   5286 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   5287 if test -n "$ac_ct_DLLTOOL"; then
   5288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   5289 $as_echo "$ac_ct_DLLTOOL" >&6; }
   5290 else
   5291   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5292 $as_echo "no" >&6; }
   5293 fi
   5294 
   5295   if test "x$ac_ct_DLLTOOL" = x; then
   5296     DLLTOOL="false"
   5297   else
   5298     case $cross_compiling:$ac_tool_warned in
   5299 yes:)
   5300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5301 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5302 ac_tool_warned=yes ;;
   5303 esac
   5304     DLLTOOL=$ac_ct_DLLTOOL
   5305   fi
   5306 else
   5307   DLLTOOL="$ac_cv_prog_DLLTOOL"
   5308 fi
   5309 
   5310 test -z "$DLLTOOL" && DLLTOOL=dlltool
   5311 
   5312 
   5313 
   5314 
   5315 
   5316 
   5317 
   5318 
   5319 
   5320 
   5321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   5322 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   5323 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   5324   $as_echo_n "(cached) " >&6
   5325 else
   5326   lt_cv_sharedlib_from_linklib_cmd='unknown'
   5327 
   5328 case $host_os in
   5329 cygwin* | mingw* | pw32* | cegcc*)
   5330   # two different shell functions defined in ltmain.sh
   5331   # decide which to use based on capabilities of $DLLTOOL
   5332   case `$DLLTOOL --help 2>&1` in
   5333   *--identify-strict*)
   5334     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   5335     ;;
   5336   *)
   5337     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   5338     ;;
   5339   esac
   5340   ;;
   5341 *)
   5342   # fallback: assume linklib IS sharedlib
   5343   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
   5344   ;;
   5345 esac
   5346 
   5347 fi
   5348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   5349 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   5350 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   5351 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   5352 
   5353 
   5354 
   5355 
   5356 
   5357 
   5358 
   5359 
   5360 if test -n "$ac_tool_prefix"; then
   5361   for ac_prog in ar
   5362   do
   5363     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5364 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5366 $as_echo_n "checking for $ac_word... " >&6; }
   5367 if ${ac_cv_prog_AR+:} false; then :
   5368   $as_echo_n "(cached) " >&6
   5369 else
   5370   if test -n "$AR"; then
   5371   ac_cv_prog_AR="$AR" # Let the user override the test.
   5372 else
   5373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5374 for as_dir in $PATH
   5375 do
   5376   IFS=$as_save_IFS
   5377   test -z "$as_dir" && as_dir=.
   5378     for ac_exec_ext in '' $ac_executable_extensions; do
   5379   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5380     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   5381     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5382     break 2
   5383   fi
   5384 done
   5385   done
   5386 IFS=$as_save_IFS
   5387 
   5388 fi
   5389 fi
   5390 AR=$ac_cv_prog_AR
   5391 if test -n "$AR"; then
   5392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5393 $as_echo "$AR" >&6; }
   5394 else
   5395   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5396 $as_echo "no" >&6; }
   5397 fi
   5398 
   5399 
   5400     test -n "$AR" && break
   5401   done
   5402 fi
   5403 if test -z "$AR"; then
   5404   ac_ct_AR=$AR
   5405   for ac_prog in ar
   5406 do
   5407   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5408 set dummy $ac_prog; ac_word=$2
   5409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5410 $as_echo_n "checking for $ac_word... " >&6; }
   5411 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   5412   $as_echo_n "(cached) " >&6
   5413 else
   5414   if test -n "$ac_ct_AR"; then
   5415   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5416 else
   5417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5418 for as_dir in $PATH
   5419 do
   5420   IFS=$as_save_IFS
   5421   test -z "$as_dir" && as_dir=.
   5422     for ac_exec_ext in '' $ac_executable_extensions; do
   5423   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5424     ac_cv_prog_ac_ct_AR="$ac_prog"
   5425     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5426     break 2
   5427   fi
   5428 done
   5429   done
   5430 IFS=$as_save_IFS
   5431 
   5432 fi
   5433 fi
   5434 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5435 if test -n "$ac_ct_AR"; then
   5436   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   5437 $as_echo "$ac_ct_AR" >&6; }
   5438 else
   5439   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5440 $as_echo "no" >&6; }
   5441 fi
   5442 
   5443 
   5444   test -n "$ac_ct_AR" && break
   5445 done
   5446 
   5447   if test "x$ac_ct_AR" = x; then
   5448     AR="false"
   5449   else
   5450     case $cross_compiling:$ac_tool_warned in
   5451 yes:)
   5452 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5453 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5454 ac_tool_warned=yes ;;
   5455 esac
   5456     AR=$ac_ct_AR
   5457   fi
   5458 fi
   5459 
   5460 : ${AR=ar}
   5461 : ${AR_FLAGS=cru}
   5462 
   5463 
   5464 
   5465 
   5466 
   5467 
   5468 
   5469 
   5470 
   5471 
   5472 
   5473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   5474 $as_echo_n "checking for archiver @FILE support... " >&6; }
   5475 if ${lt_cv_ar_at_file+:} false; then :
   5476   $as_echo_n "(cached) " >&6
   5477 else
   5478   lt_cv_ar_at_file=no
   5479    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5480 /* end confdefs.h.  */
   5481 
   5482 int
   5483 main ()
   5484 {
   5485 
   5486   ;
   5487   return 0;
   5488 }
   5489 _ACEOF
   5490 if ac_fn_c_try_compile "$LINENO"; then :
   5491   echo conftest.$ac_objext > conftest.lst
   5492       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   5493       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5494   (eval $lt_ar_try) 2>&5
   5495   ac_status=$?
   5496   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5497   test $ac_status = 0; }
   5498       if test "$ac_status" -eq 0; then
   5499 	# Ensure the archiver fails upon bogus file names.
   5500 	rm -f conftest.$ac_objext libconftest.a
   5501 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5502   (eval $lt_ar_try) 2>&5
   5503   ac_status=$?
   5504   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5505   test $ac_status = 0; }
   5506 	if test "$ac_status" -ne 0; then
   5507           lt_cv_ar_at_file=@
   5508         fi
   5509       fi
   5510       rm -f conftest.* libconftest.a
   5511 
   5512 fi
   5513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5514 
   5515 fi
   5516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   5517 $as_echo "$lt_cv_ar_at_file" >&6; }
   5518 
   5519 if test "x$lt_cv_ar_at_file" = xno; then
   5520   archiver_list_spec=
   5521 else
   5522   archiver_list_spec=$lt_cv_ar_at_file
   5523 fi
   5524 
   5525 
   5526 
   5527 
   5528 
   5529 
   5530 
   5531 if test -n "$ac_tool_prefix"; then
   5532   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   5533 set dummy ${ac_tool_prefix}strip; ac_word=$2
   5534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5535 $as_echo_n "checking for $ac_word... " >&6; }
   5536 if ${ac_cv_prog_STRIP+:} false; then :
   5537   $as_echo_n "(cached) " >&6
   5538 else
   5539   if test -n "$STRIP"; then
   5540   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   5541 else
   5542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5543 for as_dir in $PATH
   5544 do
   5545   IFS=$as_save_IFS
   5546   test -z "$as_dir" && as_dir=.
   5547     for ac_exec_ext in '' $ac_executable_extensions; do
   5548   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5549     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   5550     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5551     break 2
   5552   fi
   5553 done
   5554   done
   5555 IFS=$as_save_IFS
   5556 
   5557 fi
   5558 fi
   5559 STRIP=$ac_cv_prog_STRIP
   5560 if test -n "$STRIP"; then
   5561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   5562 $as_echo "$STRIP" >&6; }
   5563 else
   5564   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5565 $as_echo "no" >&6; }
   5566 fi
   5567 
   5568 
   5569 fi
   5570 if test -z "$ac_cv_prog_STRIP"; then
   5571   ac_ct_STRIP=$STRIP
   5572   # Extract the first word of "strip", so it can be a program name with args.
   5573 set dummy strip; ac_word=$2
   5574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5575 $as_echo_n "checking for $ac_word... " >&6; }
   5576 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   5577   $as_echo_n "(cached) " >&6
   5578 else
   5579   if test -n "$ac_ct_STRIP"; then
   5580   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   5581 else
   5582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5583 for as_dir in $PATH
   5584 do
   5585   IFS=$as_save_IFS
   5586   test -z "$as_dir" && as_dir=.
   5587     for ac_exec_ext in '' $ac_executable_extensions; do
   5588   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5589     ac_cv_prog_ac_ct_STRIP="strip"
   5590     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5591     break 2
   5592   fi
   5593 done
   5594   done
   5595 IFS=$as_save_IFS
   5596 
   5597 fi
   5598 fi
   5599 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   5600 if test -n "$ac_ct_STRIP"; then
   5601   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   5602 $as_echo "$ac_ct_STRIP" >&6; }
   5603 else
   5604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5605 $as_echo "no" >&6; }
   5606 fi
   5607 
   5608   if test "x$ac_ct_STRIP" = x; then
   5609     STRIP=":"
   5610   else
   5611     case $cross_compiling:$ac_tool_warned in
   5612 yes:)
   5613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5614 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5615 ac_tool_warned=yes ;;
   5616 esac
   5617     STRIP=$ac_ct_STRIP
   5618   fi
   5619 else
   5620   STRIP="$ac_cv_prog_STRIP"
   5621 fi
   5622 
   5623 test -z "$STRIP" && STRIP=:
   5624 
   5625 
   5626 
   5627 
   5628 
   5629 
   5630 if test -n "$ac_tool_prefix"; then
   5631   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5632 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5634 $as_echo_n "checking for $ac_word... " >&6; }
   5635 if ${ac_cv_prog_RANLIB+:} false; then :
   5636   $as_echo_n "(cached) " >&6
   5637 else
   5638   if test -n "$RANLIB"; then
   5639   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5640 else
   5641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5642 for as_dir in $PATH
   5643 do
   5644   IFS=$as_save_IFS
   5645   test -z "$as_dir" && as_dir=.
   5646     for ac_exec_ext in '' $ac_executable_extensions; do
   5647   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5648     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5649     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5650     break 2
   5651   fi
   5652 done
   5653   done
   5654 IFS=$as_save_IFS
   5655 
   5656 fi
   5657 fi
   5658 RANLIB=$ac_cv_prog_RANLIB
   5659 if test -n "$RANLIB"; then
   5660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   5661 $as_echo "$RANLIB" >&6; }
   5662 else
   5663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5664 $as_echo "no" >&6; }
   5665 fi
   5666 
   5667 
   5668 fi
   5669 if test -z "$ac_cv_prog_RANLIB"; then
   5670   ac_ct_RANLIB=$RANLIB
   5671   # Extract the first word of "ranlib", so it can be a program name with args.
   5672 set dummy ranlib; ac_word=$2
   5673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5674 $as_echo_n "checking for $ac_word... " >&6; }
   5675 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   5676   $as_echo_n "(cached) " >&6
   5677 else
   5678   if test -n "$ac_ct_RANLIB"; then
   5679   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   5680 else
   5681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5682 for as_dir in $PATH
   5683 do
   5684   IFS=$as_save_IFS
   5685   test -z "$as_dir" && as_dir=.
   5686     for ac_exec_ext in '' $ac_executable_extensions; do
   5687   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5688     ac_cv_prog_ac_ct_RANLIB="ranlib"
   5689     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5690     break 2
   5691   fi
   5692 done
   5693   done
   5694 IFS=$as_save_IFS
   5695 
   5696 fi
   5697 fi
   5698 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   5699 if test -n "$ac_ct_RANLIB"; then
   5700   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   5701 $as_echo "$ac_ct_RANLIB" >&6; }
   5702 else
   5703   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5704 $as_echo "no" >&6; }
   5705 fi
   5706 
   5707   if test "x$ac_ct_RANLIB" = x; then
   5708     RANLIB=":"
   5709   else
   5710     case $cross_compiling:$ac_tool_warned in
   5711 yes:)
   5712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5713 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5714 ac_tool_warned=yes ;;
   5715 esac
   5716     RANLIB=$ac_ct_RANLIB
   5717   fi
   5718 else
   5719   RANLIB="$ac_cv_prog_RANLIB"
   5720 fi
   5721 
   5722 test -z "$RANLIB" && RANLIB=:
   5723 
   5724 
   5725 
   5726 
   5727 
   5728 
   5729 # Determine commands to create old-style static archives.
   5730 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   5731 old_postinstall_cmds='chmod 644 $oldlib'
   5732 old_postuninstall_cmds=
   5733 
   5734 if test -n "$RANLIB"; then
   5735   case $host_os in
   5736   openbsd*)
   5737     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   5738     ;;
   5739   *)
   5740     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   5741     ;;
   5742   esac
   5743   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   5744 fi
   5745 
   5746 case $host_os in
   5747   darwin*)
   5748     lock_old_archive_extraction=yes ;;
   5749   *)
   5750     lock_old_archive_extraction=no ;;
   5751 esac
   5752 
   5753 
   5754 
   5755 
   5756 
   5757 
   5758 
   5759 
   5760 
   5761 
   5762 
   5763 
   5764 
   5765 
   5766 
   5767 
   5768 
   5769 
   5770 
   5771 
   5772 
   5773 
   5774 
   5775 
   5776 
   5777 
   5778 
   5779 
   5780 
   5781 
   5782 
   5783 
   5784 
   5785 
   5786 
   5787 
   5788 
   5789 
   5790 
   5791 # If no C compiler was specified, use CC.
   5792 LTCC=${LTCC-"$CC"}
   5793 
   5794 # If no C compiler flags were specified, use CFLAGS.
   5795 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   5796 
   5797 # Allow CC to be a program name with arguments.
   5798 compiler=$CC
   5799 
   5800 
   5801 # Check for command to grab the raw symbol name followed by C symbol from nm.
   5802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   5803 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   5804 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   5805   $as_echo_n "(cached) " >&6
   5806 else
   5807 
   5808 # These are sane defaults that work on at least a few old systems.
   5809 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   5810 
   5811 # Character class describing NM global symbol codes.
   5812 symcode='[BCDEGRST]'
   5813 
   5814 # Regexp to match symbols that can be accessed directly from C.
   5815 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   5816 
   5817 # Define system-specific variables.
   5818 case $host_os in
   5819 aix*)
   5820   symcode='[BCDT]'
   5821   ;;
   5822 cygwin* | mingw* | pw32* | cegcc*)
   5823   symcode='[ABCDGISTW]'
   5824   ;;
   5825 hpux*)
   5826   if test "$host_cpu" = ia64; then
   5827     symcode='[ABCDEGRST]'
   5828   fi
   5829   ;;
   5830 irix* | nonstopux*)
   5831   symcode='[BCDEGRST]'
   5832   ;;
   5833 osf*)
   5834   symcode='[BCDEGQRST]'
   5835   ;;
   5836 solaris*)
   5837   symcode='[BDRT]'
   5838   ;;
   5839 sco3.2v5*)
   5840   symcode='[DT]'
   5841   ;;
   5842 sysv4.2uw2*)
   5843   symcode='[DT]'
   5844   ;;
   5845 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   5846   symcode='[ABDT]'
   5847   ;;
   5848 sysv4)
   5849   symcode='[DFNSTU]'
   5850   ;;
   5851 esac
   5852 
   5853 # If we're using GNU nm, then use its standard symbol codes.
   5854 case `$NM -V 2>&1` in
   5855 *GNU* | *'with BFD'*)
   5856   symcode='[ABCDGIRSTW]' ;;
   5857 esac
   5858 
   5859 # Transform an extracted symbol line into a proper C declaration.
   5860 # Some systems (esp. on ia64) link data and code symbols differently,
   5861 # so use this general approach.
   5862 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   5863 
   5864 # Transform an extracted symbol line into symbol name and symbol address
   5865 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   5866 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'"
   5867 
   5868 # Handle CRLF in mingw tool chain
   5869 opt_cr=
   5870 case $build_os in
   5871 mingw*)
   5872   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   5873   ;;
   5874 esac
   5875 
   5876 # Try without a prefix underscore, then with it.
   5877 for ac_symprfx in "" "_"; do
   5878 
   5879   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   5880   symxfrm="\\1 $ac_symprfx\\2 \\2"
   5881 
   5882   # Write the raw and C identifiers.
   5883   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   5884     # Fake it for dumpbin and say T for any non-static function
   5885     # and D for any global variable.
   5886     # Also find C++ and __fastcall symbols from MSVC++,
   5887     # which start with @ or ?.
   5888     lt_cv_sys_global_symbol_pipe="$AWK '"\
   5889 "     {last_section=section; section=\$ 3};"\
   5890 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   5891 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   5892 "     \$ 0!~/External *\|/{next};"\
   5893 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   5894 "     {if(hide[section]) next};"\
   5895 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   5896 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   5897 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   5898 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   5899 "     ' prfx=^$ac_symprfx"
   5900   else
   5901     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   5902   fi
   5903   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   5904 
   5905   # Check to see that the pipe works correctly.
   5906   pipe_works=no
   5907 
   5908   rm -f conftest*
   5909   cat > conftest.$ac_ext <<_LT_EOF
   5910 #ifdef __cplusplus
   5911 extern "C" {
   5912 #endif
   5913 char nm_test_var;
   5914 void nm_test_func(void);
   5915 void nm_test_func(void){}
   5916 #ifdef __cplusplus
   5917 }
   5918 #endif
   5919 int main(){nm_test_var='a';nm_test_func();return(0);}
   5920 _LT_EOF
   5921 
   5922   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   5923   (eval $ac_compile) 2>&5
   5924   ac_status=$?
   5925   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5926   test $ac_status = 0; }; then
   5927     # Now try to grab the symbols.
   5928     nlist=conftest.nm
   5929     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   5930   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   5931   ac_status=$?
   5932   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5933   test $ac_status = 0; } && test -s "$nlist"; then
   5934       # Try sorting and uniquifying the output.
   5935       if sort "$nlist" | uniq > "$nlist"T; then
   5936 	mv -f "$nlist"T "$nlist"
   5937       else
   5938 	rm -f "$nlist"T
   5939       fi
   5940 
   5941       # Make sure that we snagged all the symbols we need.
   5942       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   5943 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   5944 	  cat <<_LT_EOF > conftest.$ac_ext
   5945 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   5946 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
   5947 /* DATA imports from DLLs on WIN32 con't be const, because runtime
   5948    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   5949 # define LT_DLSYM_CONST
   5950 #elif defined(__osf__)
   5951 /* This system does not cope well with relocations in const data.  */
   5952 # define LT_DLSYM_CONST
   5953 #else
   5954 # define LT_DLSYM_CONST const
   5955 #endif
   5956 
   5957 #ifdef __cplusplus
   5958 extern "C" {
   5959 #endif
   5960 
   5961 _LT_EOF
   5962 	  # Now generate the symbol file.
   5963 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   5964 
   5965 	  cat <<_LT_EOF >> conftest.$ac_ext
   5966 
   5967 /* The mapping between symbol names and symbols.  */
   5968 LT_DLSYM_CONST struct {
   5969   const char *name;
   5970   void       *address;
   5971 }
   5972 lt__PROGRAM__LTX_preloaded_symbols[] =
   5973 {
   5974   { "@PROGRAM@", (void *) 0 },
   5975 _LT_EOF
   5976 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   5977 	  cat <<\_LT_EOF >> conftest.$ac_ext
   5978   {0, (void *) 0}
   5979 };
   5980 
   5981 /* This works around a problem in FreeBSD linker */
   5982 #ifdef FREEBSD_WORKAROUND
   5983 static const void *lt_preloaded_setup() {
   5984   return lt__PROGRAM__LTX_preloaded_symbols;
   5985 }
   5986 #endif
   5987 
   5988 #ifdef __cplusplus
   5989 }
   5990 #endif
   5991 _LT_EOF
   5992 	  # Now try linking the two files.
   5993 	  mv conftest.$ac_objext conftstm.$ac_objext
   5994 	  lt_globsym_save_LIBS=$LIBS
   5995 	  lt_globsym_save_CFLAGS=$CFLAGS
   5996 	  LIBS="conftstm.$ac_objext"
   5997 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   5998 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   5999   (eval $ac_link) 2>&5
   6000   ac_status=$?
   6001   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6002   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   6003 	    pipe_works=yes
   6004 	  fi
   6005 	  LIBS=$lt_globsym_save_LIBS
   6006 	  CFLAGS=$lt_globsym_save_CFLAGS
   6007 	else
   6008 	  echo "cannot find nm_test_func in $nlist" >&5
   6009 	fi
   6010       else
   6011 	echo "cannot find nm_test_var in $nlist" >&5
   6012       fi
   6013     else
   6014       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6015     fi
   6016   else
   6017     echo "$progname: failed program was:" >&5
   6018     cat conftest.$ac_ext >&5
   6019   fi
   6020   rm -rf conftest* conftst*
   6021 
   6022   # Do not use the global_symbol_pipe unless it works.
   6023   if test "$pipe_works" = yes; then
   6024     break
   6025   else
   6026     lt_cv_sys_global_symbol_pipe=
   6027   fi
   6028 done
   6029 
   6030 fi
   6031 
   6032 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6033   lt_cv_sys_global_symbol_to_cdecl=
   6034 fi
   6035 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6036   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6037 $as_echo "failed" >&6; }
   6038 else
   6039   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6040 $as_echo "ok" >&6; }
   6041 fi
   6042 
   6043 # Response file support.
   6044 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6045   nm_file_list_spec='@'
   6046 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   6047   nm_file_list_spec='@'
   6048 fi
   6049 
   6050 
   6051 
   6052 
   6053 
   6054 
   6055 
   6056 
   6057 
   6058 
   6059 
   6060 
   6061 
   6062 
   6063 
   6064 
   6065 
   6066 
   6067 
   6068 
   6069 
   6070 
   6071 
   6072 
   6073 
   6074 
   6075 
   6076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   6077 $as_echo_n "checking for sysroot... " >&6; }
   6078 
   6079 # Check whether --with-sysroot was given.
   6080 if test "${with_sysroot+set}" = set; then :
   6081   withval=$with_sysroot;
   6082 else
   6083   with_sysroot=no
   6084 fi
   6085 
   6086 
   6087 lt_sysroot=
   6088 case ${with_sysroot} in #(
   6089  yes)
   6090    if test "$GCC" = yes; then
   6091      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   6092    fi
   6093    ;; #(
   6094  /*)
   6095    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   6096    ;; #(
   6097  no|'')
   6098    ;; #(
   6099  *)
   6100    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
   6101 $as_echo "${with_sysroot}" >&6; }
   6102    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   6103    ;;
   6104 esac
   6105 
   6106  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   6107 $as_echo "${lt_sysroot:-no}" >&6; }
   6108 
   6109 
   6110 
   6111 
   6112 
   6113 # Check whether --enable-libtool-lock was given.
   6114 if test "${enable_libtool_lock+set}" = set; then :
   6115   enableval=$enable_libtool_lock;
   6116 fi
   6117 
   6118 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6119 
   6120 # Some flags need to be propagated to the compiler or linker for good
   6121 # libtool support.
   6122 case $host in
   6123 ia64-*-hpux*)
   6124   # Find out which ABI we are using.
   6125   echo 'int i;' > conftest.$ac_ext
   6126   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6127   (eval $ac_compile) 2>&5
   6128   ac_status=$?
   6129   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6130   test $ac_status = 0; }; then
   6131     case `/usr/bin/file conftest.$ac_objext` in
   6132       *ELF-32*)
   6133 	HPUX_IA64_MODE="32"
   6134 	;;
   6135       *ELF-64*)
   6136 	HPUX_IA64_MODE="64"
   6137 	;;
   6138     esac
   6139   fi
   6140   rm -rf conftest*
   6141   ;;
   6142 *-*-irix6*)
   6143   # Find out which ABI we are using.
   6144   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6145   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6146   (eval $ac_compile) 2>&5
   6147   ac_status=$?
   6148   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6149   test $ac_status = 0; }; then
   6150     if test "$lt_cv_prog_gnu_ld" = yes; then
   6151       case `/usr/bin/file conftest.$ac_objext` in
   6152 	*32-bit*)
   6153 	  LD="${LD-ld} -melf32bsmip"
   6154 	  ;;
   6155 	*N32*)
   6156 	  LD="${LD-ld} -melf32bmipn32"
   6157 	  ;;
   6158 	*64-bit*)
   6159 	  LD="${LD-ld} -melf64bmip"
   6160 	;;
   6161       esac
   6162     else
   6163       case `/usr/bin/file conftest.$ac_objext` in
   6164 	*32-bit*)
   6165 	  LD="${LD-ld} -32"
   6166 	  ;;
   6167 	*N32*)
   6168 	  LD="${LD-ld} -n32"
   6169 	  ;;
   6170 	*64-bit*)
   6171 	  LD="${LD-ld} -64"
   6172 	  ;;
   6173       esac
   6174     fi
   6175   fi
   6176   rm -rf conftest*
   6177   ;;
   6178 
   6179 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   6180 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6181   # Find out which ABI we are using.
   6182   echo 'int i;' > conftest.$ac_ext
   6183   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6184   (eval $ac_compile) 2>&5
   6185   ac_status=$?
   6186   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6187   test $ac_status = 0; }; then
   6188     case `/usr/bin/file conftest.o` in
   6189       *32-bit*)
   6190 	case $host in
   6191 	  x86_64-*kfreebsd*-gnu)
   6192 	    LD="${LD-ld} -m elf_i386_fbsd"
   6193 	    ;;
   6194 	  x86_64-*linux*)
   6195 	    LD="${LD-ld} -m elf_i386"
   6196 	    ;;
   6197 	  ppc64-*linux*|powerpc64-*linux*)
   6198 	    LD="${LD-ld} -m elf32ppclinux"
   6199 	    ;;
   6200 	  s390x-*linux*)
   6201 	    LD="${LD-ld} -m elf_s390"
   6202 	    ;;
   6203 	  sparc64-*linux*)
   6204 	    LD="${LD-ld} -m elf32_sparc"
   6205 	    ;;
   6206 	esac
   6207 	;;
   6208       *64-bit*)
   6209 	case $host in
   6210 	  x86_64-*kfreebsd*-gnu)
   6211 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6212 	    ;;
   6213 	  x86_64-*linux*)
   6214 	    LD="${LD-ld} -m elf_x86_64"
   6215 	    ;;
   6216 	  ppc*-*linux*|powerpc*-*linux*)
   6217 	    LD="${LD-ld} -m elf64ppc"
   6218 	    ;;
   6219 	  s390*-*linux*|s390*-*tpf*)
   6220 	    LD="${LD-ld} -m elf64_s390"
   6221 	    ;;
   6222 	  sparc*-*linux*)
   6223 	    LD="${LD-ld} -m elf64_sparc"
   6224 	    ;;
   6225 	esac
   6226 	;;
   6227     esac
   6228   fi
   6229   rm -rf conftest*
   6230   ;;
   6231 
   6232 *-*-sco3.2v5*)
   6233   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6234   SAVE_CFLAGS="$CFLAGS"
   6235   CFLAGS="$CFLAGS -belf"
   6236   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   6237 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6238 if ${lt_cv_cc_needs_belf+:} false; then :
   6239   $as_echo_n "(cached) " >&6
   6240 else
   6241   ac_ext=c
   6242 ac_cpp='$CPP $CPPFLAGS'
   6243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6246 
   6247      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6248 /* end confdefs.h.  */
   6249 
   6250 int
   6251 main ()
   6252 {
   6253 
   6254   ;
   6255   return 0;
   6256 }
   6257 _ACEOF
   6258 if ac_fn_c_try_link "$LINENO"; then :
   6259   lt_cv_cc_needs_belf=yes
   6260 else
   6261   lt_cv_cc_needs_belf=no
   6262 fi
   6263 rm -f core conftest.err conftest.$ac_objext \
   6264     conftest$ac_exeext conftest.$ac_ext
   6265      ac_ext=c
   6266 ac_cpp='$CPP $CPPFLAGS'
   6267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6270 
   6271 fi
   6272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   6273 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   6274   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   6275     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   6276     CFLAGS="$SAVE_CFLAGS"
   6277   fi
   6278   ;;
   6279 *-*solaris*)
   6280   # Find out which ABI we are using.
   6281   echo 'int i;' > conftest.$ac_ext
   6282   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6283   (eval $ac_compile) 2>&5
   6284   ac_status=$?
   6285   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6286   test $ac_status = 0; }; then
   6287     case `/usr/bin/file conftest.o` in
   6288     *64-bit*)
   6289       case $lt_cv_prog_gnu_ld in
   6290       yes*)
   6291         case $host in
   6292         i?86-*-solaris*)
   6293           LD="${LD-ld} -m elf_x86_64"
   6294           ;;
   6295         sparc*-*-solaris*)
   6296           LD="${LD-ld} -m elf64_sparc"
   6297           ;;
   6298         esac
   6299         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   6300         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   6301           LD="${LD-ld}_sol2"
   6302         fi
   6303         ;;
   6304       *)
   6305 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   6306 	  LD="${LD-ld} -64"
   6307 	fi
   6308 	;;
   6309       esac
   6310       ;;
   6311     esac
   6312   fi
   6313   rm -rf conftest*
   6314   ;;
   6315 esac
   6316 
   6317 need_locks="$enable_libtool_lock"
   6318 
   6319 if test -n "$ac_tool_prefix"; then
   6320   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   6321 set dummy ${ac_tool_prefix}mt; ac_word=$2
   6322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6323 $as_echo_n "checking for $ac_word... " >&6; }
   6324 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   6325   $as_echo_n "(cached) " >&6
   6326 else
   6327   if test -n "$MANIFEST_TOOL"; then
   6328   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   6329 else
   6330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6331 for as_dir in $PATH
   6332 do
   6333   IFS=$as_save_IFS
   6334   test -z "$as_dir" && as_dir=.
   6335     for ac_exec_ext in '' $ac_executable_extensions; do
   6336   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6337     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   6338     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6339     break 2
   6340   fi
   6341 done
   6342   done
   6343 IFS=$as_save_IFS
   6344 
   6345 fi
   6346 fi
   6347 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   6348 if test -n "$MANIFEST_TOOL"; then
   6349   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   6350 $as_echo "$MANIFEST_TOOL" >&6; }
   6351 else
   6352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6353 $as_echo "no" >&6; }
   6354 fi
   6355 
   6356 
   6357 fi
   6358 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   6359   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   6360   # Extract the first word of "mt", so it can be a program name with args.
   6361 set dummy mt; ac_word=$2
   6362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6363 $as_echo_n "checking for $ac_word... " >&6; }
   6364 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   6365   $as_echo_n "(cached) " >&6
   6366 else
   6367   if test -n "$ac_ct_MANIFEST_TOOL"; then
   6368   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   6369 else
   6370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6371 for as_dir in $PATH
   6372 do
   6373   IFS=$as_save_IFS
   6374   test -z "$as_dir" && as_dir=.
   6375     for ac_exec_ext in '' $ac_executable_extensions; do
   6376   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6377     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   6378     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6379     break 2
   6380   fi
   6381 done
   6382   done
   6383 IFS=$as_save_IFS
   6384 
   6385 fi
   6386 fi
   6387 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   6388 if test -n "$ac_ct_MANIFEST_TOOL"; then
   6389   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   6390 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   6391 else
   6392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6393 $as_echo "no" >&6; }
   6394 fi
   6395 
   6396   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   6397     MANIFEST_TOOL=":"
   6398   else
   6399     case $cross_compiling:$ac_tool_warned in
   6400 yes:)
   6401 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6402 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6403 ac_tool_warned=yes ;;
   6404 esac
   6405     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   6406   fi
   6407 else
   6408   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   6409 fi
   6410 
   6411 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   6412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   6413 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   6414 if ${lt_cv_path_mainfest_tool+:} false; then :
   6415   $as_echo_n "(cached) " >&6
   6416 else
   6417   lt_cv_path_mainfest_tool=no
   6418   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   6419   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   6420   cat conftest.err >&5
   6421   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   6422     lt_cv_path_mainfest_tool=yes
   6423   fi
   6424   rm -f conftest*
   6425 fi
   6426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   6427 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   6428 if test "x$lt_cv_path_mainfest_tool" != xyes; then
   6429   MANIFEST_TOOL=:
   6430 fi
   6431 
   6432 
   6433 
   6434 
   6435 
   6436 
   6437   case $host_os in
   6438     rhapsody* | darwin*)
   6439     if test -n "$ac_tool_prefix"; then
   6440   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   6441 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   6442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6443 $as_echo_n "checking for $ac_word... " >&6; }
   6444 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   6445   $as_echo_n "(cached) " >&6
   6446 else
   6447   if test -n "$DSYMUTIL"; then
   6448   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   6449 else
   6450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6451 for as_dir in $PATH
   6452 do
   6453   IFS=$as_save_IFS
   6454   test -z "$as_dir" && as_dir=.
   6455     for ac_exec_ext in '' $ac_executable_extensions; do
   6456   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6457     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   6458     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6459     break 2
   6460   fi
   6461 done
   6462   done
   6463 IFS=$as_save_IFS
   6464 
   6465 fi
   6466 fi
   6467 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   6468 if test -n "$DSYMUTIL"; then
   6469   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   6470 $as_echo "$DSYMUTIL" >&6; }
   6471 else
   6472   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6473 $as_echo "no" >&6; }
   6474 fi
   6475 
   6476 
   6477 fi
   6478 if test -z "$ac_cv_prog_DSYMUTIL"; then
   6479   ac_ct_DSYMUTIL=$DSYMUTIL
   6480   # Extract the first word of "dsymutil", so it can be a program name with args.
   6481 set dummy dsymutil; ac_word=$2
   6482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6483 $as_echo_n "checking for $ac_word... " >&6; }
   6484 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   6485   $as_echo_n "(cached) " >&6
   6486 else
   6487   if test -n "$ac_ct_DSYMUTIL"; then
   6488   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   6489 else
   6490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6491 for as_dir in $PATH
   6492 do
   6493   IFS=$as_save_IFS
   6494   test -z "$as_dir" && as_dir=.
   6495     for ac_exec_ext in '' $ac_executable_extensions; do
   6496   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6497     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   6498     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6499     break 2
   6500   fi
   6501 done
   6502   done
   6503 IFS=$as_save_IFS
   6504 
   6505 fi
   6506 fi
   6507 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   6508 if test -n "$ac_ct_DSYMUTIL"; then
   6509   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   6510 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   6511 else
   6512   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6513 $as_echo "no" >&6; }
   6514 fi
   6515 
   6516   if test "x$ac_ct_DSYMUTIL" = x; then
   6517     DSYMUTIL=":"
   6518   else
   6519     case $cross_compiling:$ac_tool_warned in
   6520 yes:)
   6521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6522 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6523 ac_tool_warned=yes ;;
   6524 esac
   6525     DSYMUTIL=$ac_ct_DSYMUTIL
   6526   fi
   6527 else
   6528   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   6529 fi
   6530 
   6531     if test -n "$ac_tool_prefix"; then
   6532   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   6533 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   6534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6535 $as_echo_n "checking for $ac_word... " >&6; }
   6536 if ${ac_cv_prog_NMEDIT+:} false; then :
   6537   $as_echo_n "(cached) " >&6
   6538 else
   6539   if test -n "$NMEDIT"; then
   6540   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   6541 else
   6542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6543 for as_dir in $PATH
   6544 do
   6545   IFS=$as_save_IFS
   6546   test -z "$as_dir" && as_dir=.
   6547     for ac_exec_ext in '' $ac_executable_extensions; do
   6548   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6549     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   6550     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6551     break 2
   6552   fi
   6553 done
   6554   done
   6555 IFS=$as_save_IFS
   6556 
   6557 fi
   6558 fi
   6559 NMEDIT=$ac_cv_prog_NMEDIT
   6560 if test -n "$NMEDIT"; then
   6561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   6562 $as_echo "$NMEDIT" >&6; }
   6563 else
   6564   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6565 $as_echo "no" >&6; }
   6566 fi
   6567 
   6568 
   6569 fi
   6570 if test -z "$ac_cv_prog_NMEDIT"; then
   6571   ac_ct_NMEDIT=$NMEDIT
   6572   # Extract the first word of "nmedit", so it can be a program name with args.
   6573 set dummy nmedit; ac_word=$2
   6574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6575 $as_echo_n "checking for $ac_word... " >&6; }
   6576 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   6577   $as_echo_n "(cached) " >&6
   6578 else
   6579   if test -n "$ac_ct_NMEDIT"; then
   6580   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   6581 else
   6582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6583 for as_dir in $PATH
   6584 do
   6585   IFS=$as_save_IFS
   6586   test -z "$as_dir" && as_dir=.
   6587     for ac_exec_ext in '' $ac_executable_extensions; do
   6588   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6589     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   6590     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6591     break 2
   6592   fi
   6593 done
   6594   done
   6595 IFS=$as_save_IFS
   6596 
   6597 fi
   6598 fi
   6599 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   6600 if test -n "$ac_ct_NMEDIT"; then
   6601   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   6602 $as_echo "$ac_ct_NMEDIT" >&6; }
   6603 else
   6604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6605 $as_echo "no" >&6; }
   6606 fi
   6607 
   6608   if test "x$ac_ct_NMEDIT" = x; then
   6609     NMEDIT=":"
   6610   else
   6611     case $cross_compiling:$ac_tool_warned in
   6612 yes:)
   6613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6614 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6615 ac_tool_warned=yes ;;
   6616 esac
   6617     NMEDIT=$ac_ct_NMEDIT
   6618   fi
   6619 else
   6620   NMEDIT="$ac_cv_prog_NMEDIT"
   6621 fi
   6622 
   6623     if test -n "$ac_tool_prefix"; then
   6624   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   6625 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   6626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6627 $as_echo_n "checking for $ac_word... " >&6; }
   6628 if ${ac_cv_prog_LIPO+:} false; then :
   6629   $as_echo_n "(cached) " >&6
   6630 else
   6631   if test -n "$LIPO"; then
   6632   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   6633 else
   6634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6635 for as_dir in $PATH
   6636 do
   6637   IFS=$as_save_IFS
   6638   test -z "$as_dir" && as_dir=.
   6639     for ac_exec_ext in '' $ac_executable_extensions; do
   6640   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6641     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   6642     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6643     break 2
   6644   fi
   6645 done
   6646   done
   6647 IFS=$as_save_IFS
   6648 
   6649 fi
   6650 fi
   6651 LIPO=$ac_cv_prog_LIPO
   6652 if test -n "$LIPO"; then
   6653   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   6654 $as_echo "$LIPO" >&6; }
   6655 else
   6656   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6657 $as_echo "no" >&6; }
   6658 fi
   6659 
   6660 
   6661 fi
   6662 if test -z "$ac_cv_prog_LIPO"; then
   6663   ac_ct_LIPO=$LIPO
   6664   # Extract the first word of "lipo", so it can be a program name with args.
   6665 set dummy lipo; ac_word=$2
   6666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6667 $as_echo_n "checking for $ac_word... " >&6; }
   6668 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   6669   $as_echo_n "(cached) " >&6
   6670 else
   6671   if test -n "$ac_ct_LIPO"; then
   6672   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   6673 else
   6674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6675 for as_dir in $PATH
   6676 do
   6677   IFS=$as_save_IFS
   6678   test -z "$as_dir" && as_dir=.
   6679     for ac_exec_ext in '' $ac_executable_extensions; do
   6680   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6681     ac_cv_prog_ac_ct_LIPO="lipo"
   6682     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6683     break 2
   6684   fi
   6685 done
   6686   done
   6687 IFS=$as_save_IFS
   6688 
   6689 fi
   6690 fi
   6691 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   6692 if test -n "$ac_ct_LIPO"; then
   6693   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   6694 $as_echo "$ac_ct_LIPO" >&6; }
   6695 else
   6696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6697 $as_echo "no" >&6; }
   6698 fi
   6699 
   6700   if test "x$ac_ct_LIPO" = x; then
   6701     LIPO=":"
   6702   else
   6703     case $cross_compiling:$ac_tool_warned in
   6704 yes:)
   6705 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6706 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6707 ac_tool_warned=yes ;;
   6708 esac
   6709     LIPO=$ac_ct_LIPO
   6710   fi
   6711 else
   6712   LIPO="$ac_cv_prog_LIPO"
   6713 fi
   6714 
   6715     if test -n "$ac_tool_prefix"; then
   6716   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   6717 set dummy ${ac_tool_prefix}otool; ac_word=$2
   6718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6719 $as_echo_n "checking for $ac_word... " >&6; }
   6720 if ${ac_cv_prog_OTOOL+:} false; then :
   6721   $as_echo_n "(cached) " >&6
   6722 else
   6723   if test -n "$OTOOL"; then
   6724   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   6725 else
   6726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6727 for as_dir in $PATH
   6728 do
   6729   IFS=$as_save_IFS
   6730   test -z "$as_dir" && as_dir=.
   6731     for ac_exec_ext in '' $ac_executable_extensions; do
   6732   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6733     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   6734     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6735     break 2
   6736   fi
   6737 done
   6738   done
   6739 IFS=$as_save_IFS
   6740 
   6741 fi
   6742 fi
   6743 OTOOL=$ac_cv_prog_OTOOL
   6744 if test -n "$OTOOL"; then
   6745   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   6746 $as_echo "$OTOOL" >&6; }
   6747 else
   6748   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6749 $as_echo "no" >&6; }
   6750 fi
   6751 
   6752 
   6753 fi
   6754 if test -z "$ac_cv_prog_OTOOL"; then
   6755   ac_ct_OTOOL=$OTOOL
   6756   # Extract the first word of "otool", so it can be a program name with args.
   6757 set dummy otool; ac_word=$2
   6758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6759 $as_echo_n "checking for $ac_word... " >&6; }
   6760 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   6761   $as_echo_n "(cached) " >&6
   6762 else
   6763   if test -n "$ac_ct_OTOOL"; then
   6764   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   6765 else
   6766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6767 for as_dir in $PATH
   6768 do
   6769   IFS=$as_save_IFS
   6770   test -z "$as_dir" && as_dir=.
   6771     for ac_exec_ext in '' $ac_executable_extensions; do
   6772   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6773     ac_cv_prog_ac_ct_OTOOL="otool"
   6774     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6775     break 2
   6776   fi
   6777 done
   6778   done
   6779 IFS=$as_save_IFS
   6780 
   6781 fi
   6782 fi
   6783 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   6784 if test -n "$ac_ct_OTOOL"; then
   6785   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   6786 $as_echo "$ac_ct_OTOOL" >&6; }
   6787 else
   6788   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6789 $as_echo "no" >&6; }
   6790 fi
   6791 
   6792   if test "x$ac_ct_OTOOL" = x; then
   6793     OTOOL=":"
   6794   else
   6795     case $cross_compiling:$ac_tool_warned in
   6796 yes:)
   6797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6798 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6799 ac_tool_warned=yes ;;
   6800 esac
   6801     OTOOL=$ac_ct_OTOOL
   6802   fi
   6803 else
   6804   OTOOL="$ac_cv_prog_OTOOL"
   6805 fi
   6806 
   6807     if test -n "$ac_tool_prefix"; then
   6808   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   6809 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   6810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6811 $as_echo_n "checking for $ac_word... " >&6; }
   6812 if ${ac_cv_prog_OTOOL64+:} false; then :
   6813   $as_echo_n "(cached) " >&6
   6814 else
   6815   if test -n "$OTOOL64"; then
   6816   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   6817 else
   6818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6819 for as_dir in $PATH
   6820 do
   6821   IFS=$as_save_IFS
   6822   test -z "$as_dir" && as_dir=.
   6823     for ac_exec_ext in '' $ac_executable_extensions; do
   6824   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6825     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   6826     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6827     break 2
   6828   fi
   6829 done
   6830   done
   6831 IFS=$as_save_IFS
   6832 
   6833 fi
   6834 fi
   6835 OTOOL64=$ac_cv_prog_OTOOL64
   6836 if test -n "$OTOOL64"; then
   6837   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   6838 $as_echo "$OTOOL64" >&6; }
   6839 else
   6840   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6841 $as_echo "no" >&6; }
   6842 fi
   6843 
   6844 
   6845 fi
   6846 if test -z "$ac_cv_prog_OTOOL64"; then
   6847   ac_ct_OTOOL64=$OTOOL64
   6848   # Extract the first word of "otool64", so it can be a program name with args.
   6849 set dummy otool64; ac_word=$2
   6850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6851 $as_echo_n "checking for $ac_word... " >&6; }
   6852 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   6853   $as_echo_n "(cached) " >&6
   6854 else
   6855   if test -n "$ac_ct_OTOOL64"; then
   6856   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   6857 else
   6858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6859 for as_dir in $PATH
   6860 do
   6861   IFS=$as_save_IFS
   6862   test -z "$as_dir" && as_dir=.
   6863     for ac_exec_ext in '' $ac_executable_extensions; do
   6864   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6865     ac_cv_prog_ac_ct_OTOOL64="otool64"
   6866     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6867     break 2
   6868   fi
   6869 done
   6870   done
   6871 IFS=$as_save_IFS
   6872 
   6873 fi
   6874 fi
   6875 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   6876 if test -n "$ac_ct_OTOOL64"; then
   6877   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   6878 $as_echo "$ac_ct_OTOOL64" >&6; }
   6879 else
   6880   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6881 $as_echo "no" >&6; }
   6882 fi
   6883 
   6884   if test "x$ac_ct_OTOOL64" = x; then
   6885     OTOOL64=":"
   6886   else
   6887     case $cross_compiling:$ac_tool_warned in
   6888 yes:)
   6889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6890 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6891 ac_tool_warned=yes ;;
   6892 esac
   6893     OTOOL64=$ac_ct_OTOOL64
   6894   fi
   6895 else
   6896   OTOOL64="$ac_cv_prog_OTOOL64"
   6897 fi
   6898 
   6899 
   6900 
   6901 
   6902 
   6903 
   6904 
   6905 
   6906 
   6907 
   6908 
   6909 
   6910 
   6911 
   6912 
   6913 
   6914 
   6915 
   6916 
   6917 
   6918 
   6919 
   6920 
   6921 
   6922 
   6923 
   6924 
   6925     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   6926 $as_echo_n "checking for -single_module linker flag... " >&6; }
   6927 if ${lt_cv_apple_cc_single_mod+:} false; then :
   6928   $as_echo_n "(cached) " >&6
   6929 else
   6930   lt_cv_apple_cc_single_mod=no
   6931       if test -z "${LT_MULTI_MODULE}"; then
   6932 	# By default we will add the -single_module flag. You can override
   6933 	# by either setting the environment variable LT_MULTI_MODULE
   6934 	# non-empty at configure time, or by adding -multi_module to the
   6935 	# link flags.
   6936 	rm -rf libconftest.dylib*
   6937 	echo "int foo(void){return 1;}" > conftest.c
   6938 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   6939 -dynamiclib -Wl,-single_module conftest.c" >&5
   6940 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   6941 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   6942         _lt_result=$?
   6943 	# If there is a non-empty error log, and "single_module"
   6944 	# appears in it, assume the flag caused a linker warning
   6945         if test -s conftest.err && $GREP single_module conftest.err; then
   6946 	  cat conftest.err >&5
   6947 	# Otherwise, if the output was created with a 0 exit code from
   6948 	# the compiler, it worked.
   6949 	elif test -f libconftest.dylib && test $_lt_result -eq 0; then
   6950 	  lt_cv_apple_cc_single_mod=yes
   6951 	else
   6952 	  cat conftest.err >&5
   6953 	fi
   6954 	rm -rf libconftest.dylib*
   6955 	rm -f conftest.*
   6956       fi
   6957 fi
   6958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   6959 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   6960 
   6961     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   6962 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   6963 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   6964   $as_echo_n "(cached) " >&6
   6965 else
   6966   lt_cv_ld_exported_symbols_list=no
   6967       save_LDFLAGS=$LDFLAGS
   6968       echo "_main" > conftest.sym
   6969       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   6970       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6971 /* end confdefs.h.  */
   6972 
   6973 int
   6974 main ()
   6975 {
   6976 
   6977   ;
   6978   return 0;
   6979 }
   6980 _ACEOF
   6981 if ac_fn_c_try_link "$LINENO"; then :
   6982   lt_cv_ld_exported_symbols_list=yes
   6983 else
   6984   lt_cv_ld_exported_symbols_list=no
   6985 fi
   6986 rm -f core conftest.err conftest.$ac_objext \
   6987     conftest$ac_exeext conftest.$ac_ext
   6988 	LDFLAGS="$save_LDFLAGS"
   6989 
   6990 fi
   6991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   6992 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   6993 
   6994     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   6995 $as_echo_n "checking for -force_load linker flag... " >&6; }
   6996 if ${lt_cv_ld_force_load+:} false; then :
   6997   $as_echo_n "(cached) " >&6
   6998 else
   6999   lt_cv_ld_force_load=no
   7000       cat > conftest.c << _LT_EOF
   7001 int forced_loaded() { return 2;}
   7002 _LT_EOF
   7003       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   7004       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   7005       echo "$AR cru libconftest.a conftest.o" >&5
   7006       $AR cru libconftest.a conftest.o 2>&5
   7007       echo "$RANLIB libconftest.a" >&5
   7008       $RANLIB libconftest.a 2>&5
   7009       cat > conftest.c << _LT_EOF
   7010 int main() { return 0;}
   7011 _LT_EOF
   7012       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   7013       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   7014       _lt_result=$?
   7015       if test -s conftest.err && $GREP force_load conftest.err; then
   7016 	cat conftest.err >&5
   7017       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
   7018 	lt_cv_ld_force_load=yes
   7019       else
   7020 	cat conftest.err >&5
   7021       fi
   7022         rm -f conftest.err libconftest.a conftest conftest.c
   7023         rm -rf conftest.dSYM
   7024 
   7025 fi
   7026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   7027 $as_echo "$lt_cv_ld_force_load" >&6; }
   7028     case $host_os in
   7029     rhapsody* | darwin1.[012])
   7030       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7031     darwin1.*)
   7032       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7033     darwin*) # darwin 5.x on
   7034       # if running on 10.5 or later, the deployment target defaults
   7035       # to the OS version, if on x86, and 10.4, the deployment
   7036       # target defaults to 10.4. Don't you love it?
   7037       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7038 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7039 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7040 	10.[012]*)
   7041 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7042 	10.*)
   7043 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7044       esac
   7045     ;;
   7046   esac
   7047     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7048       _lt_dar_single_mod='$single_module'
   7049     fi
   7050     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7051       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7052     else
   7053       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7054     fi
   7055     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   7056       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7057     else
   7058       _lt_dsymutil=
   7059     fi
   7060     ;;
   7061   esac
   7062 
   7063 ac_ext=c
   7064 ac_cpp='$CPP $CPPFLAGS'
   7065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   7069 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   7070 # On Suns, sometimes $CPP names a directory.
   7071 if test -n "$CPP" && test -d "$CPP"; then
   7072   CPP=
   7073 fi
   7074 if test -z "$CPP"; then
   7075   if ${ac_cv_prog_CPP+:} false; then :
   7076   $as_echo_n "(cached) " >&6
   7077 else
   7078       # Double quotes because CPP needs to be expanded
   7079     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   7080     do
   7081       ac_preproc_ok=false
   7082 for ac_c_preproc_warn_flag in '' yes
   7083 do
   7084   # Use a header file that comes with gcc, so configuring glibc
   7085   # with a fresh cross-compiler works.
   7086   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7087   # <limits.h> exists even on freestanding compilers.
   7088   # On the NeXT, cc -E runs the code through the compiler's parser,
   7089   # not just through cpp. "Syntax error" is here to catch this case.
   7090   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7091 /* end confdefs.h.  */
   7092 #ifdef __STDC__
   7093 # include <limits.h>
   7094 #else
   7095 # include <assert.h>
   7096 #endif
   7097 		     Syntax error
   7098 _ACEOF
   7099 if ac_fn_c_try_cpp "$LINENO"; then :
   7100 
   7101 else
   7102   # Broken: fails on valid input.
   7103 continue
   7104 fi
   7105 rm -f conftest.err conftest.i conftest.$ac_ext
   7106 
   7107   # OK, works on sane cases.  Now check whether nonexistent headers
   7108   # can be detected and how.
   7109   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7110 /* end confdefs.h.  */
   7111 #include <ac_nonexistent.h>
   7112 _ACEOF
   7113 if ac_fn_c_try_cpp "$LINENO"; then :
   7114   # Broken: success on invalid input.
   7115 continue
   7116 else
   7117   # Passes both tests.
   7118 ac_preproc_ok=:
   7119 break
   7120 fi
   7121 rm -f conftest.err conftest.i conftest.$ac_ext
   7122 
   7123 done
   7124 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7125 rm -f conftest.i conftest.err conftest.$ac_ext
   7126 if $ac_preproc_ok; then :
   7127   break
   7128 fi
   7129 
   7130     done
   7131     ac_cv_prog_CPP=$CPP
   7132 
   7133 fi
   7134   CPP=$ac_cv_prog_CPP
   7135 else
   7136   ac_cv_prog_CPP=$CPP
   7137 fi
   7138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   7139 $as_echo "$CPP" >&6; }
   7140 ac_preproc_ok=false
   7141 for ac_c_preproc_warn_flag in '' yes
   7142 do
   7143   # Use a header file that comes with gcc, so configuring glibc
   7144   # with a fresh cross-compiler works.
   7145   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7146   # <limits.h> exists even on freestanding compilers.
   7147   # On the NeXT, cc -E runs the code through the compiler's parser,
   7148   # not just through cpp. "Syntax error" is here to catch this case.
   7149   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7150 /* end confdefs.h.  */
   7151 #ifdef __STDC__
   7152 # include <limits.h>
   7153 #else
   7154 # include <assert.h>
   7155 #endif
   7156 		     Syntax error
   7157 _ACEOF
   7158 if ac_fn_c_try_cpp "$LINENO"; then :
   7159 
   7160 else
   7161   # Broken: fails on valid input.
   7162 continue
   7163 fi
   7164 rm -f conftest.err conftest.i conftest.$ac_ext
   7165 
   7166   # OK, works on sane cases.  Now check whether nonexistent headers
   7167   # can be detected and how.
   7168   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7169 /* end confdefs.h.  */
   7170 #include <ac_nonexistent.h>
   7171 _ACEOF
   7172 if ac_fn_c_try_cpp "$LINENO"; then :
   7173   # Broken: success on invalid input.
   7174 continue
   7175 else
   7176   # Passes both tests.
   7177 ac_preproc_ok=:
   7178 break
   7179 fi
   7180 rm -f conftest.err conftest.i conftest.$ac_ext
   7181 
   7182 done
   7183 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7184 rm -f conftest.i conftest.err conftest.$ac_ext
   7185 if $ac_preproc_ok; then :
   7186 
   7187 else
   7188   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   7189 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   7190 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   7191 See \`config.log' for more details" "$LINENO" 5; }
   7192 fi
   7193 
   7194 ac_ext=c
   7195 ac_cpp='$CPP $CPPFLAGS'
   7196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7199 
   7200 
   7201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   7202 $as_echo_n "checking for ANSI C header files... " >&6; }
   7203 if ${ac_cv_header_stdc+:} false; then :
   7204   $as_echo_n "(cached) " >&6
   7205 else
   7206   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7207 /* end confdefs.h.  */
   7208 #include <stdlib.h>
   7209 #include <stdarg.h>
   7210 #include <string.h>
   7211 #include <float.h>
   7212 
   7213 int
   7214 main ()
   7215 {
   7216 
   7217   ;
   7218   return 0;
   7219 }
   7220 _ACEOF
   7221 if ac_fn_c_try_compile "$LINENO"; then :
   7222   ac_cv_header_stdc=yes
   7223 else
   7224   ac_cv_header_stdc=no
   7225 fi
   7226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7227 
   7228 if test $ac_cv_header_stdc = yes; then
   7229   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   7230   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7231 /* end confdefs.h.  */
   7232 #include <string.h>
   7233 
   7234 _ACEOF
   7235 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7236   $EGREP "memchr" >/dev/null 2>&1; then :
   7237 
   7238 else
   7239   ac_cv_header_stdc=no
   7240 fi
   7241 rm -f conftest*
   7242 
   7243 fi
   7244 
   7245 if test $ac_cv_header_stdc = yes; then
   7246   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   7247   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7248 /* end confdefs.h.  */
   7249 #include <stdlib.h>
   7250 
   7251 _ACEOF
   7252 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7253   $EGREP "free" >/dev/null 2>&1; then :
   7254 
   7255 else
   7256   ac_cv_header_stdc=no
   7257 fi
   7258 rm -f conftest*
   7259 
   7260 fi
   7261 
   7262 if test $ac_cv_header_stdc = yes; then
   7263   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   7264   if test "$cross_compiling" = yes; then :
   7265   :
   7266 else
   7267   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7268 /* end confdefs.h.  */
   7269 #include <ctype.h>
   7270 #include <stdlib.h>
   7271 #if ((' ' & 0x0FF) == 0x020)
   7272 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   7273 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   7274 #else
   7275 # define ISLOWER(c) \
   7276 		   (('a' <= (c) && (c) <= 'i') \
   7277 		     || ('j' <= (c) && (c) <= 'r') \
   7278 		     || ('s' <= (c) && (c) <= 'z'))
   7279 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   7280 #endif
   7281 
   7282 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   7283 int
   7284 main ()
   7285 {
   7286   int i;
   7287   for (i = 0; i < 256; i++)
   7288     if (XOR (islower (i), ISLOWER (i))
   7289 	|| toupper (i) != TOUPPER (i))
   7290       return 2;
   7291   return 0;
   7292 }
   7293 _ACEOF
   7294 if ac_fn_c_try_run "$LINENO"; then :
   7295 
   7296 else
   7297   ac_cv_header_stdc=no
   7298 fi
   7299 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   7300   conftest.$ac_objext conftest.beam conftest.$ac_ext
   7301 fi
   7302 
   7303 fi
   7304 fi
   7305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   7306 $as_echo "$ac_cv_header_stdc" >&6; }
   7307 if test $ac_cv_header_stdc = yes; then
   7308 
   7309 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   7310 
   7311 fi
   7312 
   7313 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   7314 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   7315 		  inttypes.h stdint.h unistd.h
   7316 do :
   7317   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   7318 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   7319 "
   7320 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   7321   cat >>confdefs.h <<_ACEOF
   7322 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   7323 _ACEOF
   7324 
   7325 fi
   7326 
   7327 done
   7328 
   7329 
   7330 for ac_header in dlfcn.h
   7331 do :
   7332   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7333 "
   7334 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   7335   cat >>confdefs.h <<_ACEOF
   7336 #define HAVE_DLFCN_H 1
   7337 _ACEOF
   7338 
   7339 fi
   7340 
   7341 done
   7342 
   7343 
   7344 
   7345 
   7346 
   7347 # Set options
   7348 
   7349 
   7350 
   7351         enable_dlopen=no
   7352 
   7353 
   7354   enable_win32_dll=no
   7355 
   7356 
   7357             # Check whether --enable-shared was given.
   7358 if test "${enable_shared+set}" = set; then :
   7359   enableval=$enable_shared; p=${PACKAGE-default}
   7360     case $enableval in
   7361     yes) enable_shared=yes ;;
   7362     no) enable_shared=no ;;
   7363     *)
   7364       enable_shared=no
   7365       # Look at the argument we got.  We use all the common list separators.
   7366       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7367       for pkg in $enableval; do
   7368 	IFS="$lt_save_ifs"
   7369 	if test "X$pkg" = "X$p"; then
   7370 	  enable_shared=yes
   7371 	fi
   7372       done
   7373       IFS="$lt_save_ifs"
   7374       ;;
   7375     esac
   7376 else
   7377   enable_shared=yes
   7378 fi
   7379 
   7380 
   7381 
   7382 
   7383 
   7384 
   7385 
   7386 
   7387 
   7388   # Check whether --enable-static was given.
   7389 if test "${enable_static+set}" = set; then :
   7390   enableval=$enable_static; p=${PACKAGE-default}
   7391     case $enableval in
   7392     yes) enable_static=yes ;;
   7393     no) enable_static=no ;;
   7394     *)
   7395      enable_static=no
   7396       # Look at the argument we got.  We use all the common list separators.
   7397       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7398       for pkg in $enableval; do
   7399 	IFS="$lt_save_ifs"
   7400 	if test "X$pkg" = "X$p"; then
   7401 	  enable_static=yes
   7402 	fi
   7403       done
   7404       IFS="$lt_save_ifs"
   7405       ;;
   7406     esac
   7407 else
   7408   enable_static=yes
   7409 fi
   7410 
   7411 
   7412 
   7413 
   7414 
   7415 
   7416 
   7417 
   7418 
   7419 
   7420 # Check whether --with-pic was given.
   7421 if test "${with_pic+set}" = set; then :
   7422   withval=$with_pic; lt_p=${PACKAGE-default}
   7423     case $withval in
   7424     yes|no) pic_mode=$withval ;;
   7425     *)
   7426       pic_mode=default
   7427       # Look at the argument we got.  We use all the common list separators.
   7428       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7429       for lt_pkg in $withval; do
   7430 	IFS="$lt_save_ifs"
   7431 	if test "X$lt_pkg" = "X$lt_p"; then
   7432 	  pic_mode=yes
   7433 	fi
   7434       done
   7435       IFS="$lt_save_ifs"
   7436       ;;
   7437     esac
   7438 else
   7439   pic_mode=default
   7440 fi
   7441 
   7442 
   7443 test -z "$pic_mode" && pic_mode=default
   7444 
   7445 
   7446 
   7447 
   7448 
   7449 
   7450 
   7451   # Check whether --enable-fast-install was given.
   7452 if test "${enable_fast_install+set}" = set; then :
   7453   enableval=$enable_fast_install; p=${PACKAGE-default}
   7454     case $enableval in
   7455     yes) enable_fast_install=yes ;;
   7456     no) enable_fast_install=no ;;
   7457     *)
   7458       enable_fast_install=no
   7459       # Look at the argument we got.  We use all the common list separators.
   7460       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7461       for pkg in $enableval; do
   7462 	IFS="$lt_save_ifs"
   7463 	if test "X$pkg" = "X$p"; then
   7464 	  enable_fast_install=yes
   7465 	fi
   7466       done
   7467       IFS="$lt_save_ifs"
   7468       ;;
   7469     esac
   7470 else
   7471   enable_fast_install=yes
   7472 fi
   7473 
   7474 
   7475 
   7476 
   7477 
   7478 
   7479 
   7480 
   7481 
   7482 
   7483 
   7484 # This can be used to rebuild libtool when needed
   7485 LIBTOOL_DEPS="$ltmain"
   7486 
   7487 # Always use our own libtool.
   7488 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7489 
   7490 
   7491 
   7492 
   7493 
   7494 
   7495 
   7496 
   7497 
   7498 
   7499 
   7500 
   7501 
   7502 
   7503 
   7504 
   7505 
   7506 
   7507 
   7508 
   7509 
   7510 
   7511 
   7512 
   7513 
   7514 
   7515 
   7516 
   7517 
   7518 
   7519 test -z "$LN_S" && LN_S="ln -s"
   7520 
   7521 
   7522 
   7523 
   7524 
   7525 
   7526 
   7527 
   7528 
   7529 
   7530 
   7531 
   7532 
   7533 
   7534 if test -n "${ZSH_VERSION+set}" ; then
   7535    setopt NO_GLOB_SUBST
   7536 fi
   7537 
   7538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   7539 $as_echo_n "checking for objdir... " >&6; }
   7540 if ${lt_cv_objdir+:} false; then :
   7541   $as_echo_n "(cached) " >&6
   7542 else
   7543   rm -f .libs 2>/dev/null
   7544 mkdir .libs 2>/dev/null
   7545 if test -d .libs; then
   7546   lt_cv_objdir=.libs
   7547 else
   7548   # MS-DOS does not allow filenames that begin with a dot.
   7549   lt_cv_objdir=_libs
   7550 fi
   7551 rmdir .libs 2>/dev/null
   7552 fi
   7553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   7554 $as_echo "$lt_cv_objdir" >&6; }
   7555 objdir=$lt_cv_objdir
   7556 
   7557 
   7558 
   7559 
   7560 
   7561 cat >>confdefs.h <<_ACEOF
   7562 #define LT_OBJDIR "$lt_cv_objdir/"
   7563 _ACEOF
   7564 
   7565 
   7566 
   7567 
   7568 case $host_os in
   7569 aix3*)
   7570   # AIX sometimes has problems with the GCC collect2 program.  For some
   7571   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7572   # vanish in a puff of smoke.
   7573   if test "X${COLLECT_NAMES+set}" != Xset; then
   7574     COLLECT_NAMES=
   7575     export COLLECT_NAMES
   7576   fi
   7577   ;;
   7578 esac
   7579 
   7580 # Global variables:
   7581 ofile=libtool
   7582 can_build_shared=yes
   7583 
   7584 # All known linkers require a `.a' archive for static linking (except MSVC,
   7585 # which needs '.lib').
   7586 libext=a
   7587 
   7588 with_gnu_ld="$lt_cv_prog_gnu_ld"
   7589 
   7590 old_CC="$CC"
   7591 old_CFLAGS="$CFLAGS"
   7592 
   7593 # Set sane defaults for various variables
   7594 test -z "$CC" && CC=cc
   7595 test -z "$LTCC" && LTCC=$CC
   7596 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7597 test -z "$LD" && LD=ld
   7598 test -z "$ac_objext" && ac_objext=o
   7599 
   7600 for cc_temp in $compiler""; do
   7601   case $cc_temp in
   7602     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7603     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7604     \-*) ;;
   7605     *) break;;
   7606   esac
   7607 done
   7608 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7609 
   7610 
   7611 # Only perform the check for file, if the check method requires it
   7612 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7613 case $deplibs_check_method in
   7614 file_magic*)
   7615   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7616     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   7617 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7618 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7619   $as_echo_n "(cached) " >&6
   7620 else
   7621   case $MAGIC_CMD in
   7622 [\\/*] |  ?:[\\/]*)
   7623   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7624   ;;
   7625 *)
   7626   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7627   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7628   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7629   for ac_dir in $ac_dummy; do
   7630     IFS="$lt_save_ifs"
   7631     test -z "$ac_dir" && ac_dir=.
   7632     if test -f $ac_dir/${ac_tool_prefix}file; then
   7633       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7634       if test -n "$file_magic_test_file"; then
   7635 	case $deplibs_check_method in
   7636 	"file_magic "*)
   7637 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7638 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7639 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7640 	    $EGREP "$file_magic_regex" > /dev/null; then
   7641 	    :
   7642 	  else
   7643 	    cat <<_LT_EOF 1>&2
   7644 
   7645 *** Warning: the command libtool uses to detect shared libraries,
   7646 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7647 *** The result is that libtool may fail to recognize shared libraries
   7648 *** as such.  This will affect the creation of libtool libraries that
   7649 *** depend on shared libraries, but programs linked with such libtool
   7650 *** libraries will work regardless of this problem.  Nevertheless, you
   7651 *** may want to report the problem to your system manager and/or to
   7652 *** bug-libtool@gnu.org
   7653 
   7654 _LT_EOF
   7655 	  fi ;;
   7656 	esac
   7657       fi
   7658       break
   7659     fi
   7660   done
   7661   IFS="$lt_save_ifs"
   7662   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7663   ;;
   7664 esac
   7665 fi
   7666 
   7667 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7668 if test -n "$MAGIC_CMD"; then
   7669   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7670 $as_echo "$MAGIC_CMD" >&6; }
   7671 else
   7672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7673 $as_echo "no" >&6; }
   7674 fi
   7675 
   7676 
   7677 
   7678 
   7679 
   7680 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7681   if test -n "$ac_tool_prefix"; then
   7682     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   7683 $as_echo_n "checking for file... " >&6; }
   7684 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7685   $as_echo_n "(cached) " >&6
   7686 else
   7687   case $MAGIC_CMD in
   7688 [\\/*] |  ?:[\\/]*)
   7689   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7690   ;;
   7691 *)
   7692   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7693   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7694   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7695   for ac_dir in $ac_dummy; do
   7696     IFS="$lt_save_ifs"
   7697     test -z "$ac_dir" && ac_dir=.
   7698     if test -f $ac_dir/file; then
   7699       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7700       if test -n "$file_magic_test_file"; then
   7701 	case $deplibs_check_method in
   7702 	"file_magic "*)
   7703 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7704 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7705 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7706 	    $EGREP "$file_magic_regex" > /dev/null; then
   7707 	    :
   7708 	  else
   7709 	    cat <<_LT_EOF 1>&2
   7710 
   7711 *** Warning: the command libtool uses to detect shared libraries,
   7712 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7713 *** The result is that libtool may fail to recognize shared libraries
   7714 *** as such.  This will affect the creation of libtool libraries that
   7715 *** depend on shared libraries, but programs linked with such libtool
   7716 *** libraries will work regardless of this problem.  Nevertheless, you
   7717 *** may want to report the problem to your system manager and/or to
   7718 *** bug-libtool@gnu.org
   7719 
   7720 _LT_EOF
   7721 	  fi ;;
   7722 	esac
   7723       fi
   7724       break
   7725     fi
   7726   done
   7727   IFS="$lt_save_ifs"
   7728   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7729   ;;
   7730 esac
   7731 fi
   7732 
   7733 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7734 if test -n "$MAGIC_CMD"; then
   7735   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7736 $as_echo "$MAGIC_CMD" >&6; }
   7737 else
   7738   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7739 $as_echo "no" >&6; }
   7740 fi
   7741 
   7742 
   7743   else
   7744     MAGIC_CMD=:
   7745   fi
   7746 fi
   7747 
   7748   fi
   7749   ;;
   7750 esac
   7751 
   7752 # Use C for the default configuration in the libtool script
   7753 
   7754 lt_save_CC="$CC"
   7755 ac_ext=c
   7756 ac_cpp='$CPP $CPPFLAGS'
   7757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7760 
   7761 
   7762 # Source file extension for C test sources.
   7763 ac_ext=c
   7764 
   7765 # Object file extension for compiled C test sources.
   7766 objext=o
   7767 objext=$objext
   7768 
   7769 # Code to be used in simple compile tests
   7770 lt_simple_compile_test_code="int some_variable = 0;"
   7771 
   7772 # Code to be used in simple link tests
   7773 lt_simple_link_test_code='int main(){return(0);}'
   7774 
   7775 
   7776 
   7777 
   7778 
   7779 
   7780 
   7781 # If no C compiler was specified, use CC.
   7782 LTCC=${LTCC-"$CC"}
   7783 
   7784 # If no C compiler flags were specified, use CFLAGS.
   7785 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7786 
   7787 # Allow CC to be a program name with arguments.
   7788 compiler=$CC
   7789 
   7790 # Save the default compiler, since it gets overwritten when the other
   7791 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   7792 compiler_DEFAULT=$CC
   7793 
   7794 # save warnings/boilerplate of simple test code
   7795 ac_outfile=conftest.$ac_objext
   7796 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7797 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7798 _lt_compiler_boilerplate=`cat conftest.err`
   7799 $RM conftest*
   7800 
   7801 ac_outfile=conftest.$ac_objext
   7802 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7803 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7804 _lt_linker_boilerplate=`cat conftest.err`
   7805 $RM -r conftest*
   7806 
   7807 
   7808 if test -n "$compiler"; then
   7809 
   7810 lt_prog_compiler_no_builtin_flag=
   7811 
   7812 if test "$GCC" = yes; then
   7813   case $cc_basename in
   7814   nvcc*)
   7815     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   7816   *)
   7817     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   7818   esac
   7819 
   7820   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7821 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7822 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   7823   $as_echo_n "(cached) " >&6
   7824 else
   7825   lt_cv_prog_compiler_rtti_exceptions=no
   7826    ac_outfile=conftest.$ac_objext
   7827    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7828    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7829    # Insert the option either (1) after the last *FLAGS variable, or
   7830    # (2) before a word containing "conftest.", or (3) at the end.
   7831    # Note that $ac_compile itself does not contain backslashes and begins
   7832    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7833    # The option is referenced via a variable to avoid confusing sed.
   7834    lt_compile=`echo "$ac_compile" | $SED \
   7835    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7836    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7837    -e 's:$: $lt_compiler_flag:'`
   7838    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   7839    (eval "$lt_compile" 2>conftest.err)
   7840    ac_status=$?
   7841    cat conftest.err >&5
   7842    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7843    if (exit $ac_status) && test -s "$ac_outfile"; then
   7844      # The compiler can only warn and ignore the option if not recognized
   7845      # So say no if there are warnings other than the usual output.
   7846      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   7847      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7848      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7849        lt_cv_prog_compiler_rtti_exceptions=yes
   7850      fi
   7851    fi
   7852    $RM conftest*
   7853 
   7854 fi
   7855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7856 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7857 
   7858 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7859     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7860 else
   7861     :
   7862 fi
   7863 
   7864 fi
   7865 
   7866 
   7867 
   7868 
   7869 
   7870 
   7871   lt_prog_compiler_wl=
   7872 lt_prog_compiler_pic=
   7873 lt_prog_compiler_static=
   7874 
   7875 
   7876   if test "$GCC" = yes; then
   7877     lt_prog_compiler_wl='-Wl,'
   7878     lt_prog_compiler_static='-static'
   7879 
   7880     case $host_os in
   7881       aix*)
   7882       # All AIX code is PIC.
   7883       if test "$host_cpu" = ia64; then
   7884 	# AIX 5 now supports IA64 processor
   7885 	lt_prog_compiler_static='-Bstatic'
   7886       fi
   7887       ;;
   7888 
   7889     amigaos*)
   7890       case $host_cpu in
   7891       powerpc)
   7892             # see comment about AmigaOS4 .so support
   7893             lt_prog_compiler_pic='-fPIC'
   7894         ;;
   7895       m68k)
   7896             # FIXME: we need at least 68020 code to build shared libraries, but
   7897             # adding the `-m68020' flag to GCC prevents building anything better,
   7898             # like `-m68040'.
   7899             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7900         ;;
   7901       esac
   7902       ;;
   7903 
   7904     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7905       # PIC is the default for these OSes.
   7906       ;;
   7907 
   7908     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7909       # This hack is so that the source file can tell whether it is being
   7910       # built for inclusion in a dll (and should export symbols for example).
   7911       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7912       # (--disable-auto-import) libraries
   7913       lt_prog_compiler_pic='-DDLL_EXPORT'
   7914       ;;
   7915 
   7916     darwin* | rhapsody*)
   7917       # PIC is the default on this platform
   7918       # Common symbols not allowed in MH_DYLIB files
   7919       lt_prog_compiler_pic='-fno-common'
   7920       ;;
   7921 
   7922     haiku*)
   7923       # PIC is the default for Haiku.
   7924       # The "-static" flag exists, but is broken.
   7925       lt_prog_compiler_static=
   7926       ;;
   7927 
   7928     hpux*)
   7929       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   7930       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   7931       # sets the default TLS model and affects inlining.
   7932       case $host_cpu in
   7933       hppa*64*)
   7934 	# +Z the default
   7935 	;;
   7936       *)
   7937 	lt_prog_compiler_pic='-fPIC'
   7938 	;;
   7939       esac
   7940       ;;
   7941 
   7942     interix[3-9]*)
   7943       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7944       # Instead, we relocate shared libraries at runtime.
   7945       ;;
   7946 
   7947     msdosdjgpp*)
   7948       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7949       # on systems that don't support them.
   7950       lt_prog_compiler_can_build_shared=no
   7951       enable_shared=no
   7952       ;;
   7953 
   7954     *nto* | *qnx*)
   7955       # QNX uses GNU C++, but need to define -shared option too, otherwise
   7956       # it will coredump.
   7957       lt_prog_compiler_pic='-fPIC -shared'
   7958       ;;
   7959 
   7960     sysv4*MP*)
   7961       if test -d /usr/nec; then
   7962 	lt_prog_compiler_pic=-Kconform_pic
   7963       fi
   7964       ;;
   7965 
   7966     *)
   7967       lt_prog_compiler_pic='-fPIC'
   7968       ;;
   7969     esac
   7970 
   7971     case $cc_basename in
   7972     nvcc*) # Cuda Compiler Driver 2.2
   7973       lt_prog_compiler_wl='-Xlinker '
   7974       if test -n "$lt_prog_compiler_pic"; then
   7975         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   7976       fi
   7977       ;;
   7978     esac
   7979   else
   7980     # PORTME Check for flag to pass linker flags through the system compiler.
   7981     case $host_os in
   7982     aix*)
   7983       lt_prog_compiler_wl='-Wl,'
   7984       if test "$host_cpu" = ia64; then
   7985 	# AIX 5 now supports IA64 processor
   7986 	lt_prog_compiler_static='-Bstatic'
   7987       else
   7988 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7989       fi
   7990       ;;
   7991 
   7992     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7993       # This hack is so that the source file can tell whether it is being
   7994       # built for inclusion in a dll (and should export symbols for example).
   7995       lt_prog_compiler_pic='-DDLL_EXPORT'
   7996       ;;
   7997 
   7998     hpux9* | hpux10* | hpux11*)
   7999       lt_prog_compiler_wl='-Wl,'
   8000       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8001       # not for PA HP-UX.
   8002       case $host_cpu in
   8003       hppa*64*|ia64*)
   8004 	# +Z the default
   8005 	;;
   8006       *)
   8007 	lt_prog_compiler_pic='+Z'
   8008 	;;
   8009       esac
   8010       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8011       lt_prog_compiler_static='${wl}-a ${wl}archive'
   8012       ;;
   8013 
   8014     irix5* | irix6* | nonstopux*)
   8015       lt_prog_compiler_wl='-Wl,'
   8016       # PIC (with -KPIC) is the default.
   8017       lt_prog_compiler_static='-non_shared'
   8018       ;;
   8019 
   8020     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   8021       case $cc_basename in
   8022       # old Intel for x86_64 which still supported -KPIC.
   8023       ecc*)
   8024 	lt_prog_compiler_wl='-Wl,'
   8025 	lt_prog_compiler_pic='-KPIC'
   8026 	lt_prog_compiler_static='-static'
   8027         ;;
   8028       # icc used to be incompatible with GCC.
   8029       # ICC 10 doesn't accept -KPIC any more.
   8030       icc* | ifort*)
   8031 	lt_prog_compiler_wl='-Wl,'
   8032 	lt_prog_compiler_pic='-fPIC'
   8033 	lt_prog_compiler_static='-static'
   8034         ;;
   8035       # Lahey Fortran 8.1.
   8036       lf95*)
   8037 	lt_prog_compiler_wl='-Wl,'
   8038 	lt_prog_compiler_pic='--shared'
   8039 	lt_prog_compiler_static='--static'
   8040 	;;
   8041       nagfor*)
   8042 	# NAG Fortran compiler
   8043 	lt_prog_compiler_wl='-Wl,-Wl,,'
   8044 	lt_prog_compiler_pic='-PIC'
   8045 	lt_prog_compiler_static='-Bstatic'
   8046 	;;
   8047       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8048         # Portland Group compilers (*not* the Pentium gcc compiler,
   8049 	# which looks to be a dead project)
   8050 	lt_prog_compiler_wl='-Wl,'
   8051 	lt_prog_compiler_pic='-fpic'
   8052 	lt_prog_compiler_static='-Bstatic'
   8053         ;;
   8054       ccc*)
   8055         lt_prog_compiler_wl='-Wl,'
   8056         # All Alpha code is PIC.
   8057         lt_prog_compiler_static='-non_shared'
   8058         ;;
   8059       xl* | bgxl* | bgf* | mpixl*)
   8060 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8061 	lt_prog_compiler_wl='-Wl,'
   8062 	lt_prog_compiler_pic='-qpic'
   8063 	lt_prog_compiler_static='-qstaticlink'
   8064 	;;
   8065       *)
   8066 	case `$CC -V 2>&1 | sed 5q` in
   8067 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   8068 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8069 	  lt_prog_compiler_pic='-KPIC'
   8070 	  lt_prog_compiler_static='-Bstatic'
   8071 	  lt_prog_compiler_wl=''
   8072 	  ;;
   8073 	*Sun\ F* | *Sun*Fortran*)
   8074 	  lt_prog_compiler_pic='-KPIC'
   8075 	  lt_prog_compiler_static='-Bstatic'
   8076 	  lt_prog_compiler_wl='-Qoption ld '
   8077 	  ;;
   8078 	*Sun\ C*)
   8079 	  # Sun C 5.9
   8080 	  lt_prog_compiler_pic='-KPIC'
   8081 	  lt_prog_compiler_static='-Bstatic'
   8082 	  lt_prog_compiler_wl='-Wl,'
   8083 	  ;;
   8084         *Intel*\ [CF]*Compiler*)
   8085 	  lt_prog_compiler_wl='-Wl,'
   8086 	  lt_prog_compiler_pic='-fPIC'
   8087 	  lt_prog_compiler_static='-static'
   8088 	  ;;
   8089 	*Portland\ Group*)
   8090 	  lt_prog_compiler_wl='-Wl,'
   8091 	  lt_prog_compiler_pic='-fpic'
   8092 	  lt_prog_compiler_static='-Bstatic'
   8093 	  ;;
   8094 	esac
   8095 	;;
   8096       esac
   8097       ;;
   8098 
   8099     newsos6)
   8100       lt_prog_compiler_pic='-KPIC'
   8101       lt_prog_compiler_static='-Bstatic'
   8102       ;;
   8103 
   8104     *nto* | *qnx*)
   8105       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8106       # it will coredump.
   8107       lt_prog_compiler_pic='-fPIC -shared'
   8108       ;;
   8109 
   8110     osf3* | osf4* | osf5*)
   8111       lt_prog_compiler_wl='-Wl,'
   8112       # All OSF/1 code is PIC.
   8113       lt_prog_compiler_static='-non_shared'
   8114       ;;
   8115 
   8116     rdos*)
   8117       lt_prog_compiler_static='-non_shared'
   8118       ;;
   8119 
   8120     solaris*)
   8121       lt_prog_compiler_pic='-KPIC'
   8122       lt_prog_compiler_static='-Bstatic'
   8123       case $cc_basename in
   8124       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   8125 	lt_prog_compiler_wl='-Qoption ld ';;
   8126       *)
   8127 	lt_prog_compiler_wl='-Wl,';;
   8128       esac
   8129       ;;
   8130 
   8131     sunos4*)
   8132       lt_prog_compiler_wl='-Qoption ld '
   8133       lt_prog_compiler_pic='-PIC'
   8134       lt_prog_compiler_static='-Bstatic'
   8135       ;;
   8136 
   8137     sysv4 | sysv4.2uw2* | sysv4.3*)
   8138       lt_prog_compiler_wl='-Wl,'
   8139       lt_prog_compiler_pic='-KPIC'
   8140       lt_prog_compiler_static='-Bstatic'
   8141       ;;
   8142 
   8143     sysv4*MP*)
   8144       if test -d /usr/nec ;then
   8145 	lt_prog_compiler_pic='-Kconform_pic'
   8146 	lt_prog_compiler_static='-Bstatic'
   8147       fi
   8148       ;;
   8149 
   8150     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8151       lt_prog_compiler_wl='-Wl,'
   8152       lt_prog_compiler_pic='-KPIC'
   8153       lt_prog_compiler_static='-Bstatic'
   8154       ;;
   8155 
   8156     unicos*)
   8157       lt_prog_compiler_wl='-Wl,'
   8158       lt_prog_compiler_can_build_shared=no
   8159       ;;
   8160 
   8161     uts4*)
   8162       lt_prog_compiler_pic='-pic'
   8163       lt_prog_compiler_static='-Bstatic'
   8164       ;;
   8165 
   8166     *)
   8167       lt_prog_compiler_can_build_shared=no
   8168       ;;
   8169     esac
   8170   fi
   8171 
   8172 case $host_os in
   8173   # For platforms which do not support PIC, -DPIC is meaningless:
   8174   *djgpp*)
   8175     lt_prog_compiler_pic=
   8176     ;;
   8177   *)
   8178     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8179     ;;
   8180 esac
   8181 
   8182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8183 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8184 if ${lt_cv_prog_compiler_pic+:} false; then :
   8185   $as_echo_n "(cached) " >&6
   8186 else
   8187   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   8188 fi
   8189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   8190 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   8191 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   8192 
   8193 #
   8194 # Check to make sure the PIC flag actually works.
   8195 #
   8196 if test -n "$lt_prog_compiler_pic"; then
   8197   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8198 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8199 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8200   $as_echo_n "(cached) " >&6
   8201 else
   8202   lt_cv_prog_compiler_pic_works=no
   8203    ac_outfile=conftest.$ac_objext
   8204    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8205    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8206    # Insert the option either (1) after the last *FLAGS variable, or
   8207    # (2) before a word containing "conftest.", or (3) at the end.
   8208    # Note that $ac_compile itself does not contain backslashes and begins
   8209    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8210    # The option is referenced via a variable to avoid confusing sed.
   8211    lt_compile=`echo "$ac_compile" | $SED \
   8212    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8213    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8214    -e 's:$: $lt_compiler_flag:'`
   8215    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8216    (eval "$lt_compile" 2>conftest.err)
   8217    ac_status=$?
   8218    cat conftest.err >&5
   8219    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8220    if (exit $ac_status) && test -s "$ac_outfile"; then
   8221      # The compiler can only warn and ignore the option if not recognized
   8222      # So say no if there are warnings other than the usual output.
   8223      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8224      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8225      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8226        lt_cv_prog_compiler_pic_works=yes
   8227      fi
   8228    fi
   8229    $RM conftest*
   8230 
   8231 fi
   8232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8233 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8234 
   8235 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8236     case $lt_prog_compiler_pic in
   8237      "" | " "*) ;;
   8238      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8239      esac
   8240 else
   8241     lt_prog_compiler_pic=
   8242      lt_prog_compiler_can_build_shared=no
   8243 fi
   8244 
   8245 fi
   8246 
   8247 
   8248 
   8249 
   8250 
   8251 
   8252 
   8253 
   8254 
   8255 
   8256 
   8257 #
   8258 # Check to make sure the static flag actually works.
   8259 #
   8260 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8262 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8263 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8264   $as_echo_n "(cached) " >&6
   8265 else
   8266   lt_cv_prog_compiler_static_works=no
   8267    save_LDFLAGS="$LDFLAGS"
   8268    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8269    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8270    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8271      # The linker can only warn and ignore the option if not recognized
   8272      # So say no if there are warnings
   8273      if test -s conftest.err; then
   8274        # Append any errors to the config.log.
   8275        cat conftest.err 1>&5
   8276        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8277        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8278        if diff conftest.exp conftest.er2 >/dev/null; then
   8279          lt_cv_prog_compiler_static_works=yes
   8280        fi
   8281      else
   8282        lt_cv_prog_compiler_static_works=yes
   8283      fi
   8284    fi
   8285    $RM -r conftest*
   8286    LDFLAGS="$save_LDFLAGS"
   8287 
   8288 fi
   8289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8290 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8291 
   8292 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8293     :
   8294 else
   8295     lt_prog_compiler_static=
   8296 fi
   8297 
   8298 
   8299 
   8300 
   8301 
   8302 
   8303 
   8304   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8305 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8306 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8307   $as_echo_n "(cached) " >&6
   8308 else
   8309   lt_cv_prog_compiler_c_o=no
   8310    $RM -r conftest 2>/dev/null
   8311    mkdir conftest
   8312    cd conftest
   8313    mkdir out
   8314    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8315 
   8316    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8317    # Insert the option either (1) after the last *FLAGS variable, or
   8318    # (2) before a word containing "conftest.", or (3) at the end.
   8319    # Note that $ac_compile itself does not contain backslashes and begins
   8320    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8321    lt_compile=`echo "$ac_compile" | $SED \
   8322    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8323    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8324    -e 's:$: $lt_compiler_flag:'`
   8325    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8326    (eval "$lt_compile" 2>out/conftest.err)
   8327    ac_status=$?
   8328    cat out/conftest.err >&5
   8329    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8330    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8331    then
   8332      # The compiler can only warn and ignore the option if not recognized
   8333      # So say no if there are warnings
   8334      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8335      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8336      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8337        lt_cv_prog_compiler_c_o=yes
   8338      fi
   8339    fi
   8340    chmod u+w . 2>&5
   8341    $RM conftest*
   8342    # SGI C++ compiler will create directory out/ii_files/ for
   8343    # template instantiation
   8344    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8345    $RM out/* && rmdir out
   8346    cd ..
   8347    $RM -r conftest
   8348    $RM conftest*
   8349 
   8350 fi
   8351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8352 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8353 
   8354 
   8355 
   8356 
   8357 
   8358 
   8359   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8360 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8361 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8362   $as_echo_n "(cached) " >&6
   8363 else
   8364   lt_cv_prog_compiler_c_o=no
   8365    $RM -r conftest 2>/dev/null
   8366    mkdir conftest
   8367    cd conftest
   8368    mkdir out
   8369    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8370 
   8371    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8372    # Insert the option either (1) after the last *FLAGS variable, or
   8373    # (2) before a word containing "conftest.", or (3) at the end.
   8374    # Note that $ac_compile itself does not contain backslashes and begins
   8375    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8376    lt_compile=`echo "$ac_compile" | $SED \
   8377    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8378    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8379    -e 's:$: $lt_compiler_flag:'`
   8380    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8381    (eval "$lt_compile" 2>out/conftest.err)
   8382    ac_status=$?
   8383    cat out/conftest.err >&5
   8384    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8385    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8386    then
   8387      # The compiler can only warn and ignore the option if not recognized
   8388      # So say no if there are warnings
   8389      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8390      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8391      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8392        lt_cv_prog_compiler_c_o=yes
   8393      fi
   8394    fi
   8395    chmod u+w . 2>&5
   8396    $RM conftest*
   8397    # SGI C++ compiler will create directory out/ii_files/ for
   8398    # template instantiation
   8399    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8400    $RM out/* && rmdir out
   8401    cd ..
   8402    $RM -r conftest
   8403    $RM conftest*
   8404 
   8405 fi
   8406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8407 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8408 
   8409 
   8410 
   8411 
   8412 hard_links="nottested"
   8413 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8414   # do not overwrite the value of need_locks provided by the user
   8415   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   8416 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8417   hard_links=yes
   8418   $RM conftest*
   8419   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8420   touch conftest.a
   8421   ln conftest.a conftest.b 2>&5 || hard_links=no
   8422   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8423   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   8424 $as_echo "$hard_links" >&6; }
   8425   if test "$hard_links" = no; then
   8426     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8427 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8428     need_locks=warn
   8429   fi
   8430 else
   8431   need_locks=no
   8432 fi
   8433 
   8434 
   8435 
   8436 
   8437 
   8438 
   8439   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8440 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8441 
   8442   runpath_var=
   8443   allow_undefined_flag=
   8444   always_export_symbols=no
   8445   archive_cmds=
   8446   archive_expsym_cmds=
   8447   compiler_needs_object=no
   8448   enable_shared_with_static_runtimes=no
   8449   export_dynamic_flag_spec=
   8450   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8451   hardcode_automatic=no
   8452   hardcode_direct=no
   8453   hardcode_direct_absolute=no
   8454   hardcode_libdir_flag_spec=
   8455   hardcode_libdir_separator=
   8456   hardcode_minus_L=no
   8457   hardcode_shlibpath_var=unsupported
   8458   inherit_rpath=no
   8459   link_all_deplibs=unknown
   8460   module_cmds=
   8461   module_expsym_cmds=
   8462   old_archive_from_new_cmds=
   8463   old_archive_from_expsyms_cmds=
   8464   thread_safe_flag_spec=
   8465   whole_archive_flag_spec=
   8466   # include_expsyms should be a list of space-separated symbols to be *always*
   8467   # included in the symbol list
   8468   include_expsyms=
   8469   # exclude_expsyms can be an extended regexp of symbols to exclude
   8470   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8471   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8472   # as well as any symbol that contains `d'.
   8473   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8474   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8475   # platforms (ab)use it in PIC code, but their linkers get confused if
   8476   # the symbol is explicitly referenced.  Since portable code cannot
   8477   # rely on this symbol name, it's probably fine to never include it in
   8478   # preloaded symbol tables.
   8479   # Exclude shared library initialization/finalization symbols.
   8480   extract_expsyms_cmds=
   8481 
   8482   case $host_os in
   8483   cygwin* | mingw* | pw32* | cegcc*)
   8484     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8485     # When not using gcc, we currently assume that we are using
   8486     # Microsoft Visual C++.
   8487     if test "$GCC" != yes; then
   8488       with_gnu_ld=no
   8489     fi
   8490     ;;
   8491   interix*)
   8492     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8493     with_gnu_ld=yes
   8494     ;;
   8495   openbsd*)
   8496     with_gnu_ld=no
   8497     ;;
   8498   esac
   8499 
   8500   ld_shlibs=yes
   8501 
   8502   # On some targets, GNU ld is compatible enough with the native linker
   8503   # that we're better off using the native interface for both.
   8504   lt_use_gnu_ld_interface=no
   8505   if test "$with_gnu_ld" = yes; then
   8506     case $host_os in
   8507       aix*)
   8508 	# The AIX port of GNU ld has always aspired to compatibility
   8509 	# with the native linker.  However, as the warning in the GNU ld
   8510 	# block says, versions before 2.19.5* couldn't really create working
   8511 	# shared libraries, regardless of the interface used.
   8512 	case `$LD -v 2>&1` in
   8513 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   8514 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   8515 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   8516 	  *)
   8517 	    lt_use_gnu_ld_interface=yes
   8518 	    ;;
   8519 	esac
   8520 	;;
   8521       *)
   8522 	lt_use_gnu_ld_interface=yes
   8523 	;;
   8524     esac
   8525   fi
   8526 
   8527   if test "$lt_use_gnu_ld_interface" = yes; then
   8528     # If archive_cmds runs LD, not CC, wlarc should be empty
   8529     wlarc='${wl}'
   8530 
   8531     # Set some defaults for GNU ld with shared library support. These
   8532     # are reset later if shared libraries are not supported. Putting them
   8533     # here allows them to be overridden if necessary.
   8534     runpath_var=LD_RUN_PATH
   8535     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8536     export_dynamic_flag_spec='${wl}--export-dynamic'
   8537     # ancient GNU ld didn't support --whole-archive et. al.
   8538     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8539       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8540     else
   8541       whole_archive_flag_spec=
   8542     fi
   8543     supports_anon_versioning=no
   8544     case `$LD -v 2>&1` in
   8545       *GNU\ gold*) supports_anon_versioning=yes ;;
   8546       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8547       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8548       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8549       *\ 2.11.*) ;; # other 2.11 versions
   8550       *) supports_anon_versioning=yes ;;
   8551     esac
   8552 
   8553     # See if GNU ld supports shared libraries.
   8554     case $host_os in
   8555     aix[3-9]*)
   8556       # On AIX/PPC, the GNU linker is very broken
   8557       if test "$host_cpu" != ia64; then
   8558 	ld_shlibs=no
   8559 	cat <<_LT_EOF 1>&2
   8560 
   8561 *** Warning: the GNU linker, at least up to release 2.19, is reported
   8562 *** to be unable to reliably create shared libraries on AIX.
   8563 *** Therefore, libtool is disabling shared libraries support.  If you
   8564 *** really care for shared libraries, you may want to install binutils
   8565 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   8566 *** You will then need to restart the configuration process.
   8567 
   8568 _LT_EOF
   8569       fi
   8570       ;;
   8571 
   8572     amigaos*)
   8573       case $host_cpu in
   8574       powerpc)
   8575             # see comment about AmigaOS4 .so support
   8576             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8577             archive_expsym_cmds=''
   8578         ;;
   8579       m68k)
   8580             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)'
   8581             hardcode_libdir_flag_spec='-L$libdir'
   8582             hardcode_minus_L=yes
   8583         ;;
   8584       esac
   8585       ;;
   8586 
   8587     beos*)
   8588       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8589 	allow_undefined_flag=unsupported
   8590 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8591 	# support --undefined.  This deserves some investigation.  FIXME
   8592 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8593       else
   8594 	ld_shlibs=no
   8595       fi
   8596       ;;
   8597 
   8598     cygwin* | mingw* | pw32* | cegcc*)
   8599       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8600       # as there is no search path for DLLs.
   8601       hardcode_libdir_flag_spec='-L$libdir'
   8602       export_dynamic_flag_spec='${wl}--export-all-symbols'
   8603       allow_undefined_flag=unsupported
   8604       always_export_symbols=no
   8605       enable_shared_with_static_runtimes=yes
   8606       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'
   8607       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   8608 
   8609       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   8610         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8611 	# If the export-symbols file already is a .def file (1st line
   8612 	# is EXPORTS), use it as is; otherwise, prepend...
   8613 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8614 	  cp $export_symbols $output_objdir/$soname.def;
   8615 	else
   8616 	  echo EXPORTS > $output_objdir/$soname.def;
   8617 	  cat $export_symbols >> $output_objdir/$soname.def;
   8618 	fi~
   8619 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8620       else
   8621 	ld_shlibs=no
   8622       fi
   8623       ;;
   8624 
   8625     haiku*)
   8626       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8627       link_all_deplibs=yes
   8628       ;;
   8629 
   8630     interix[3-9]*)
   8631       hardcode_direct=no
   8632       hardcode_shlibpath_var=no
   8633       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8634       export_dynamic_flag_spec='${wl}-E'
   8635       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8636       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8637       # default) and relocated if they conflict, which is a slow very memory
   8638       # consuming and fragmenting process.  To avoid this, we pick a random,
   8639       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8640       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8641       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8642       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'
   8643       ;;
   8644 
   8645     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   8646       tmp_diet=no
   8647       if test "$host_os" = linux-dietlibc; then
   8648 	case $cc_basename in
   8649 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   8650 	esac
   8651       fi
   8652       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   8653 	 && test "$tmp_diet" = no
   8654       then
   8655 	tmp_addflag=' $pic_flag'
   8656 	tmp_sharedflag='-shared'
   8657 	case $cc_basename,$host_cpu in
   8658         pgcc*)				# Portland Group C compiler
   8659 	  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'
   8660 	  tmp_addflag=' $pic_flag'
   8661 	  ;;
   8662 	pgf77* | pgf90* | pgf95* | pgfortran*)
   8663 					# Portland Group f77 and f90 compilers
   8664 	  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'
   8665 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8666 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   8667 	  tmp_addflag=' -i_dynamic' ;;
   8668 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8669 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8670 	ifc* | ifort*)			# Intel Fortran compiler
   8671 	  tmp_addflag=' -nofor_main' ;;
   8672 	lf95*)				# Lahey Fortran 8.1
   8673 	  whole_archive_flag_spec=
   8674 	  tmp_sharedflag='--shared' ;;
   8675 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   8676 	  tmp_sharedflag='-qmkshrobj'
   8677 	  tmp_addflag= ;;
   8678 	nvcc*)	# Cuda Compiler Driver 2.2
   8679 	  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'
   8680 	  compiler_needs_object=yes
   8681 	  ;;
   8682 	esac
   8683 	case `$CC -V 2>&1 | sed 5q` in
   8684 	*Sun\ C*)			# Sun C 5.9
   8685 	  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'
   8686 	  compiler_needs_object=yes
   8687 	  tmp_sharedflag='-G' ;;
   8688 	*Sun\ F*)			# Sun Fortran 8.3
   8689 	  tmp_sharedflag='-G' ;;
   8690 	esac
   8691 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8692 
   8693         if test "x$supports_anon_versioning" = xyes; then
   8694           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8695 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8696 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   8697 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8698         fi
   8699 
   8700 	case $cc_basename in
   8701 	xlf* | bgf* | bgxlf* | mpixlf*)
   8702 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   8703 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   8704 	  hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8705 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   8706 	  if test "x$supports_anon_versioning" = xyes; then
   8707 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8708 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8709 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   8710 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   8711 	  fi
   8712 	  ;;
   8713 	esac
   8714       else
   8715         ld_shlibs=no
   8716       fi
   8717       ;;
   8718 
   8719     netbsd*)
   8720       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8721 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8722 	wlarc=
   8723       else
   8724 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8725 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8726       fi
   8727       ;;
   8728 
   8729     solaris*)
   8730       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   8731 	ld_shlibs=no
   8732 	cat <<_LT_EOF 1>&2
   8733 
   8734 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8735 *** create shared libraries on Solaris systems.  Therefore, libtool
   8736 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8737 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8738 *** your PATH or compiler configuration so that the native linker is
   8739 *** used, and then restart.
   8740 
   8741 _LT_EOF
   8742       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8743 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8744 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8745       else
   8746 	ld_shlibs=no
   8747       fi
   8748       ;;
   8749 
   8750     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8751       case `$LD -v 2>&1` in
   8752         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8753 	ld_shlibs=no
   8754 	cat <<_LT_EOF 1>&2
   8755 
   8756 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8757 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8758 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8759 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8760 *** your PATH or compiler configuration so that the native linker is
   8761 *** used, and then restart.
   8762 
   8763 _LT_EOF
   8764 	;;
   8765 	*)
   8766 	  # For security reasons, it is highly recommended that you always
   8767 	  # use absolute paths for naming shared libraries, and exclude the
   8768 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   8769 	  # requires that you compile everything twice, which is a pain.
   8770 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8771 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8772 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8773 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8774 	  else
   8775 	    ld_shlibs=no
   8776 	  fi
   8777 	;;
   8778       esac
   8779       ;;
   8780 
   8781     sunos4*)
   8782       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8783       wlarc=
   8784       hardcode_direct=yes
   8785       hardcode_shlibpath_var=no
   8786       ;;
   8787 
   8788     *)
   8789       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8790 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8791 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8792       else
   8793 	ld_shlibs=no
   8794       fi
   8795       ;;
   8796     esac
   8797 
   8798     if test "$ld_shlibs" = no; then
   8799       runpath_var=
   8800       hardcode_libdir_flag_spec=
   8801       export_dynamic_flag_spec=
   8802       whole_archive_flag_spec=
   8803     fi
   8804   else
   8805     # PORTME fill in a description of your system's linker (not GNU ld)
   8806     case $host_os in
   8807     aix3*)
   8808       allow_undefined_flag=unsupported
   8809       always_export_symbols=yes
   8810       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'
   8811       # Note: this linker hardcodes the directories in LIBPATH if there
   8812       # are no directories specified by -L.
   8813       hardcode_minus_L=yes
   8814       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8815 	# Neither direct hardcoding nor static linking is supported with a
   8816 	# broken collect2.
   8817 	hardcode_direct=unsupported
   8818       fi
   8819       ;;
   8820 
   8821     aix[4-9]*)
   8822       if test "$host_cpu" = ia64; then
   8823 	# On IA64, the linker does run time linking by default, so we don't
   8824 	# have to do anything special.
   8825 	aix_use_runtimelinking=no
   8826 	exp_sym_flag='-Bexport'
   8827 	no_entry_flag=""
   8828       else
   8829 	# If we're using GNU nm, then we don't want the "-C" option.
   8830 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8831 	# Also, AIX nm treats weak defined symbols like other global
   8832 	# defined symbols, whereas GNU nm marks them as "W".
   8833 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   8834 	  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'
   8835 	else
   8836 	  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'
   8837 	fi
   8838 	aix_use_runtimelinking=no
   8839 
   8840 	# Test if we are trying to use run time linking or normal
   8841 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8842 	# need to do runtime linking.
   8843 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8844 	  for ld_flag in $LDFLAGS; do
   8845 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8846 	    aix_use_runtimelinking=yes
   8847 	    break
   8848 	  fi
   8849 	  done
   8850 	  ;;
   8851 	esac
   8852 
   8853 	exp_sym_flag='-bexport'
   8854 	no_entry_flag='-bnoentry'
   8855       fi
   8856 
   8857       # When large executables or shared objects are built, AIX ld can
   8858       # have problems creating the table of contents.  If linking a library
   8859       # or program results in "error TOC overflow" add -mminimal-toc to
   8860       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8861       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8862 
   8863       archive_cmds=''
   8864       hardcode_direct=yes
   8865       hardcode_direct_absolute=yes
   8866       hardcode_libdir_separator=':'
   8867       link_all_deplibs=yes
   8868       file_list_spec='${wl}-f,'
   8869 
   8870       if test "$GCC" = yes; then
   8871 	case $host_os in aix4.[012]|aix4.[012].*)
   8872 	# We only want to do this on AIX 4.2 and lower, the check
   8873 	# below for broken collect2 doesn't work under 4.3+
   8874 	  collect2name=`${CC} -print-prog-name=collect2`
   8875 	  if test -f "$collect2name" &&
   8876 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   8877 	  then
   8878 	  # We have reworked collect2
   8879 	  :
   8880 	  else
   8881 	  # We have old collect2
   8882 	  hardcode_direct=unsupported
   8883 	  # It fails to find uninstalled libraries when the uninstalled
   8884 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8885 	  # to unsupported forces relinking
   8886 	  hardcode_minus_L=yes
   8887 	  hardcode_libdir_flag_spec='-L$libdir'
   8888 	  hardcode_libdir_separator=
   8889 	  fi
   8890 	  ;;
   8891 	esac
   8892 	shared_flag='-shared'
   8893 	if test "$aix_use_runtimelinking" = yes; then
   8894 	  shared_flag="$shared_flag "'${wl}-G'
   8895 	fi
   8896       else
   8897 	# not using gcc
   8898 	if test "$host_cpu" = ia64; then
   8899 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8900 	# chokes on -Wl,-G. The following line is correct:
   8901 	  shared_flag='-G'
   8902 	else
   8903 	  if test "$aix_use_runtimelinking" = yes; then
   8904 	    shared_flag='${wl}-G'
   8905 	  else
   8906 	    shared_flag='${wl}-bM:SRE'
   8907 	  fi
   8908 	fi
   8909       fi
   8910 
   8911       export_dynamic_flag_spec='${wl}-bexpall'
   8912       # It seems that -bexpall does not export symbols beginning with
   8913       # underscore (_), so it is better to generate a list of symbols to export.
   8914       always_export_symbols=yes
   8915       if test "$aix_use_runtimelinking" = yes; then
   8916 	# Warning - without using the other runtime loading flags (-brtl),
   8917 	# -berok will link without error, but may produce a broken library.
   8918 	allow_undefined_flag='-berok'
   8919         # Determine the default libpath from the value encoded in an
   8920         # empty executable.
   8921         if test "${lt_cv_aix_libpath+set}" = set; then
   8922   aix_libpath=$lt_cv_aix_libpath
   8923 else
   8924   if ${lt_cv_aix_libpath_+:} false; then :
   8925   $as_echo_n "(cached) " >&6
   8926 else
   8927   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8928 /* end confdefs.h.  */
   8929 
   8930 int
   8931 main ()
   8932 {
   8933 
   8934   ;
   8935   return 0;
   8936 }
   8937 _ACEOF
   8938 if ac_fn_c_try_link "$LINENO"; then :
   8939 
   8940   lt_aix_libpath_sed='
   8941       /Import File Strings/,/^$/ {
   8942 	  /^0/ {
   8943 	      s/^0  *\([^ ]*\) *$/\1/
   8944 	      p
   8945 	  }
   8946       }'
   8947   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8948   # Check for a 64-bit object if we didn't find anything.
   8949   if test -z "$lt_cv_aix_libpath_"; then
   8950     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8951   fi
   8952 fi
   8953 rm -f core conftest.err conftest.$ac_objext \
   8954     conftest$ac_exeext conftest.$ac_ext
   8955   if test -z "$lt_cv_aix_libpath_"; then
   8956     lt_cv_aix_libpath_="/usr/lib:/lib"
   8957   fi
   8958 
   8959 fi
   8960 
   8961   aix_libpath=$lt_cv_aix_libpath_
   8962 fi
   8963 
   8964         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8965         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"
   8966       else
   8967 	if test "$host_cpu" = ia64; then
   8968 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8969 	  allow_undefined_flag="-z nodefs"
   8970 	  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"
   8971 	else
   8972 	 # Determine the default libpath from the value encoded in an
   8973 	 # empty executable.
   8974 	 if test "${lt_cv_aix_libpath+set}" = set; then
   8975   aix_libpath=$lt_cv_aix_libpath
   8976 else
   8977   if ${lt_cv_aix_libpath_+:} false; then :
   8978   $as_echo_n "(cached) " >&6
   8979 else
   8980   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8981 /* end confdefs.h.  */
   8982 
   8983 int
   8984 main ()
   8985 {
   8986 
   8987   ;
   8988   return 0;
   8989 }
   8990 _ACEOF
   8991 if ac_fn_c_try_link "$LINENO"; then :
   8992 
   8993   lt_aix_libpath_sed='
   8994       /Import File Strings/,/^$/ {
   8995 	  /^0/ {
   8996 	      s/^0  *\([^ ]*\) *$/\1/
   8997 	      p
   8998 	  }
   8999       }'
   9000   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9001   # Check for a 64-bit object if we didn't find anything.
   9002   if test -z "$lt_cv_aix_libpath_"; then
   9003     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9004   fi
   9005 fi
   9006 rm -f core conftest.err conftest.$ac_objext \
   9007     conftest$ac_exeext conftest.$ac_ext
   9008   if test -z "$lt_cv_aix_libpath_"; then
   9009     lt_cv_aix_libpath_="/usr/lib:/lib"
   9010   fi
   9011 
   9012 fi
   9013 
   9014   aix_libpath=$lt_cv_aix_libpath_
   9015 fi
   9016 
   9017 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9018 	  # Warning - without using the other run time loading flags,
   9019 	  # -berok will link without error, but may produce a broken library.
   9020 	  no_undefined_flag=' ${wl}-bernotok'
   9021 	  allow_undefined_flag=' ${wl}-berok'
   9022 	  if test "$with_gnu_ld" = yes; then
   9023 	    # We only use this code for GNU lds that support --whole-archive.
   9024 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   9025 	  else
   9026 	    # Exported symbols can be pulled into shared objects from archives
   9027 	    whole_archive_flag_spec='$convenience'
   9028 	  fi
   9029 	  archive_cmds_need_lc=yes
   9030 	  # This is similar to how AIX traditionally builds its shared libraries.
   9031 	  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'
   9032 	fi
   9033       fi
   9034       ;;
   9035 
   9036     amigaos*)
   9037       case $host_cpu in
   9038       powerpc)
   9039             # see comment about AmigaOS4 .so support
   9040             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9041             archive_expsym_cmds=''
   9042         ;;
   9043       m68k)
   9044             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)'
   9045             hardcode_libdir_flag_spec='-L$libdir'
   9046             hardcode_minus_L=yes
   9047         ;;
   9048       esac
   9049       ;;
   9050 
   9051     bsdi[45]*)
   9052       export_dynamic_flag_spec=-rdynamic
   9053       ;;
   9054 
   9055     cygwin* | mingw* | pw32* | cegcc*)
   9056       # When not using gcc, we currently assume that we are using
   9057       # Microsoft Visual C++.
   9058       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9059       # no search path for DLLs.
   9060       case $cc_basename in
   9061       cl*)
   9062 	# Native MSVC
   9063 	hardcode_libdir_flag_spec=' '
   9064 	allow_undefined_flag=unsupported
   9065 	always_export_symbols=yes
   9066 	file_list_spec='@'
   9067 	# Tell ltmain to make .lib files, not .a files.
   9068 	libext=lib
   9069 	# Tell ltmain to make .dll files, not .so files.
   9070 	shrext_cmds=".dll"
   9071 	# FIXME: Setting linknames here is a bad hack.
   9072 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
   9073 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9074 	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
   9075 	  else
   9076 	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
   9077 	  fi~
   9078 	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   9079 	  linknames='
   9080 	# The linker will not automatically build a static lib if we build a DLL.
   9081 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   9082 	enable_shared_with_static_runtimes=yes
   9083 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   9084 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9085 	# Don't use ranlib
   9086 	old_postinstall_cmds='chmod 644 $oldlib'
   9087 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   9088 	  lt_tool_outputfile="@TOOL_OUTPUT@"~
   9089 	  case $lt_outputfile in
   9090 	    *.exe|*.EXE) ;;
   9091 	    *)
   9092 	      lt_outputfile="$lt_outputfile.exe"
   9093 	      lt_tool_outputfile="$lt_tool_outputfile.exe"
   9094 	      ;;
   9095 	  esac~
   9096 	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
   9097 	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   9098 	    $RM "$lt_outputfile.manifest";
   9099 	  fi'
   9100 	;;
   9101       *)
   9102 	# Assume MSVC wrapper
   9103 	hardcode_libdir_flag_spec=' '
   9104 	allow_undefined_flag=unsupported
   9105 	# Tell ltmain to make .lib files, not .a files.
   9106 	libext=lib
   9107 	# Tell ltmain to make .dll files, not .so files.
   9108 	shrext_cmds=".dll"
   9109 	# FIXME: Setting linknames here is a bad hack.
   9110 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9111 	# The linker will automatically build a .lib file if we build a DLL.
   9112 	old_archive_from_new_cmds='true'
   9113 	# FIXME: Should let the user specify the lib program.
   9114 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9115 	enable_shared_with_static_runtimes=yes
   9116 	;;
   9117       esac
   9118       ;;
   9119 
   9120     darwin* | rhapsody*)
   9121 
   9122 
   9123   archive_cmds_need_lc=no
   9124   hardcode_direct=no
   9125   hardcode_automatic=yes
   9126   hardcode_shlibpath_var=unsupported
   9127   if test "$lt_cv_ld_force_load" = "yes"; then
   9128     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\"`'
   9129 
   9130   else
   9131     whole_archive_flag_spec=''
   9132   fi
   9133   link_all_deplibs=yes
   9134   allow_undefined_flag="$_lt_dar_allow_undefined"
   9135   case $cc_basename in
   9136      ifort*) _lt_dar_can_shared=yes ;;
   9137      *) _lt_dar_can_shared=$GCC ;;
   9138   esac
   9139   if test "$_lt_dar_can_shared" = "yes"; then
   9140     output_verbose_link_cmd=func_echo_all
   9141     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9142     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9143     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}"
   9144     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}"
   9145 
   9146   else
   9147   ld_shlibs=no
   9148   fi
   9149 
   9150       ;;
   9151 
   9152     dgux*)
   9153       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9154       hardcode_libdir_flag_spec='-L$libdir'
   9155       hardcode_shlibpath_var=no
   9156       ;;
   9157 
   9158     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9159     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9160     # does not break anything, and helps significantly (at the cost of a little
   9161     # extra space).
   9162     freebsd2.2*)
   9163       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9164       hardcode_libdir_flag_spec='-R$libdir'
   9165       hardcode_direct=yes
   9166       hardcode_shlibpath_var=no
   9167       ;;
   9168 
   9169     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9170     freebsd2.*)
   9171       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9172       hardcode_direct=yes
   9173       hardcode_minus_L=yes
   9174       hardcode_shlibpath_var=no
   9175       ;;
   9176 
   9177     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9178     freebsd* | dragonfly*)
   9179       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9180       hardcode_libdir_flag_spec='-R$libdir'
   9181       hardcode_direct=yes
   9182       hardcode_shlibpath_var=no
   9183       ;;
   9184 
   9185     hpux9*)
   9186       if test "$GCC" = yes; then
   9187 	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'
   9188       else
   9189 	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'
   9190       fi
   9191       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9192       hardcode_libdir_separator=:
   9193       hardcode_direct=yes
   9194 
   9195       # hardcode_minus_L: Not really in the search PATH,
   9196       # but as the default location of the library.
   9197       hardcode_minus_L=yes
   9198       export_dynamic_flag_spec='${wl}-E'
   9199       ;;
   9200 
   9201     hpux10*)
   9202       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9203 	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9204       else
   9205 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9206       fi
   9207       if test "$with_gnu_ld" = no; then
   9208 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9209 	hardcode_libdir_separator=:
   9210 	hardcode_direct=yes
   9211 	hardcode_direct_absolute=yes
   9212 	export_dynamic_flag_spec='${wl}-E'
   9213 	# hardcode_minus_L: Not really in the search PATH,
   9214 	# but as the default location of the library.
   9215 	hardcode_minus_L=yes
   9216       fi
   9217       ;;
   9218 
   9219     hpux11*)
   9220       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9221 	case $host_cpu in
   9222 	hppa*64*)
   9223 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9224 	  ;;
   9225 	ia64*)
   9226 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9227 	  ;;
   9228 	*)
   9229 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9230 	  ;;
   9231 	esac
   9232       else
   9233 	case $host_cpu in
   9234 	hppa*64*)
   9235 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9236 	  ;;
   9237 	ia64*)
   9238 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9239 	  ;;
   9240 	*)
   9241 
   9242 	  # Older versions of the 11.00 compiler do not understand -b yet
   9243 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9244 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9245 $as_echo_n "checking if $CC understands -b... " >&6; }
   9246 if ${lt_cv_prog_compiler__b+:} false; then :
   9247   $as_echo_n "(cached) " >&6
   9248 else
   9249   lt_cv_prog_compiler__b=no
   9250    save_LDFLAGS="$LDFLAGS"
   9251    LDFLAGS="$LDFLAGS -b"
   9252    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9253    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9254      # The linker can only warn and ignore the option if not recognized
   9255      # So say no if there are warnings
   9256      if test -s conftest.err; then
   9257        # Append any errors to the config.log.
   9258        cat conftest.err 1>&5
   9259        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9260        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9261        if diff conftest.exp conftest.er2 >/dev/null; then
   9262          lt_cv_prog_compiler__b=yes
   9263        fi
   9264      else
   9265        lt_cv_prog_compiler__b=yes
   9266      fi
   9267    fi
   9268    $RM -r conftest*
   9269    LDFLAGS="$save_LDFLAGS"
   9270 
   9271 fi
   9272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   9273 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   9274 
   9275 if test x"$lt_cv_prog_compiler__b" = xyes; then
   9276     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9277 else
   9278     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9279 fi
   9280 
   9281 	  ;;
   9282 	esac
   9283       fi
   9284       if test "$with_gnu_ld" = no; then
   9285 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9286 	hardcode_libdir_separator=:
   9287 
   9288 	case $host_cpu in
   9289 	hppa*64*|ia64*)
   9290 	  hardcode_direct=no
   9291 	  hardcode_shlibpath_var=no
   9292 	  ;;
   9293 	*)
   9294 	  hardcode_direct=yes
   9295 	  hardcode_direct_absolute=yes
   9296 	  export_dynamic_flag_spec='${wl}-E'
   9297 
   9298 	  # hardcode_minus_L: Not really in the search PATH,
   9299 	  # but as the default location of the library.
   9300 	  hardcode_minus_L=yes
   9301 	  ;;
   9302 	esac
   9303       fi
   9304       ;;
   9305 
   9306     irix5* | irix6* | nonstopux*)
   9307       if test "$GCC" = yes; then
   9308 	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'
   9309 	# Try to use the -exported_symbol ld option, if it does not
   9310 	# work, assume that -exports_file does not work either and
   9311 	# implicitly export all symbols.
   9312 	# This should be the same for all languages, so no per-tag cache variable.
   9313 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   9314 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   9315 if ${lt_cv_irix_exported_symbol+:} false; then :
   9316   $as_echo_n "(cached) " >&6
   9317 else
   9318   save_LDFLAGS="$LDFLAGS"
   9319 	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9320 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9321 /* end confdefs.h.  */
   9322 int foo (void) { return 0; }
   9323 _ACEOF
   9324 if ac_fn_c_try_link "$LINENO"; then :
   9325   lt_cv_irix_exported_symbol=yes
   9326 else
   9327   lt_cv_irix_exported_symbol=no
   9328 fi
   9329 rm -f core conftest.err conftest.$ac_objext \
   9330     conftest$ac_exeext conftest.$ac_ext
   9331            LDFLAGS="$save_LDFLAGS"
   9332 fi
   9333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   9334 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   9335 	if test "$lt_cv_irix_exported_symbol" = yes; then
   9336           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'
   9337 	fi
   9338       else
   9339 	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'
   9340 	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'
   9341       fi
   9342       archive_cmds_need_lc='no'
   9343       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9344       hardcode_libdir_separator=:
   9345       inherit_rpath=yes
   9346       link_all_deplibs=yes
   9347       ;;
   9348 
   9349     netbsd*)
   9350       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9351 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9352       else
   9353 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9354       fi
   9355       hardcode_libdir_flag_spec='-R$libdir'
   9356       hardcode_direct=yes
   9357       hardcode_shlibpath_var=no
   9358       ;;
   9359 
   9360     newsos6)
   9361       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9362       hardcode_direct=yes
   9363       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9364       hardcode_libdir_separator=:
   9365       hardcode_shlibpath_var=no
   9366       ;;
   9367 
   9368     *nto* | *qnx*)
   9369       ;;
   9370 
   9371     openbsd*)
   9372       if test -f /usr/libexec/ld.so; then
   9373 	hardcode_direct=yes
   9374 	hardcode_shlibpath_var=no
   9375 	hardcode_direct_absolute=yes
   9376 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9377 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9378 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9379 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9380 	  export_dynamic_flag_spec='${wl}-E'
   9381 	else
   9382 	  case $host_os in
   9383 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9384 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9385 	     hardcode_libdir_flag_spec='-R$libdir'
   9386 	     ;;
   9387 	   *)
   9388 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9389 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9390 	     ;;
   9391 	  esac
   9392 	fi
   9393       else
   9394 	ld_shlibs=no
   9395       fi
   9396       ;;
   9397 
   9398     os2*)
   9399       hardcode_libdir_flag_spec='-L$libdir'
   9400       hardcode_minus_L=yes
   9401       allow_undefined_flag=unsupported
   9402       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'
   9403       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9404       ;;
   9405 
   9406     osf3*)
   9407       if test "$GCC" = yes; then
   9408 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9409 	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'
   9410       else
   9411 	allow_undefined_flag=' -expect_unresolved \*'
   9412 	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'
   9413       fi
   9414       archive_cmds_need_lc='no'
   9415       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9416       hardcode_libdir_separator=:
   9417       ;;
   9418 
   9419     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9420       if test "$GCC" = yes; then
   9421 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9422 	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'
   9423 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9424       else
   9425 	allow_undefined_flag=' -expect_unresolved \*'
   9426 	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'
   9427 	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~
   9428 	$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'
   9429 
   9430 	# Both c and cxx compiler support -rpath directly
   9431 	hardcode_libdir_flag_spec='-rpath $libdir'
   9432       fi
   9433       archive_cmds_need_lc='no'
   9434       hardcode_libdir_separator=:
   9435       ;;
   9436 
   9437     solaris*)
   9438       no_undefined_flag=' -z defs'
   9439       if test "$GCC" = yes; then
   9440 	wlarc='${wl}'
   9441 	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9442 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9443 	  $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'
   9444       else
   9445 	case `$CC -V 2>&1` in
   9446 	*"Compilers 5.0"*)
   9447 	  wlarc=''
   9448 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9449 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9450 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9451 	  ;;
   9452 	*)
   9453 	  wlarc='${wl}'
   9454 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9455 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9456 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9457 	  ;;
   9458 	esac
   9459       fi
   9460       hardcode_libdir_flag_spec='-R$libdir'
   9461       hardcode_shlibpath_var=no
   9462       case $host_os in
   9463       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9464       *)
   9465 	# The compiler driver will combine and reorder linker options,
   9466 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9467 	# but is careful enough not to reorder.
   9468 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9469 	if test "$GCC" = yes; then
   9470 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9471 	else
   9472 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9473 	fi
   9474 	;;
   9475       esac
   9476       link_all_deplibs=yes
   9477       ;;
   9478 
   9479     sunos4*)
   9480       if test "x$host_vendor" = xsequent; then
   9481 	# Use $CC to link under sequent, because it throws in some extra .o
   9482 	# files that make .init and .fini sections work.
   9483 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9484       else
   9485 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9486       fi
   9487       hardcode_libdir_flag_spec='-L$libdir'
   9488       hardcode_direct=yes
   9489       hardcode_minus_L=yes
   9490       hardcode_shlibpath_var=no
   9491       ;;
   9492 
   9493     sysv4)
   9494       case $host_vendor in
   9495 	sni)
   9496 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9497 	  hardcode_direct=yes # is this really true???
   9498 	;;
   9499 	siemens)
   9500 	  ## LD is ld it makes a PLAMLIB
   9501 	  ## CC just makes a GrossModule.
   9502 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9503 	  reload_cmds='$CC -r -o $output$reload_objs'
   9504 	  hardcode_direct=no
   9505         ;;
   9506 	motorola)
   9507 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9508 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9509 	;;
   9510       esac
   9511       runpath_var='LD_RUN_PATH'
   9512       hardcode_shlibpath_var=no
   9513       ;;
   9514 
   9515     sysv4.3*)
   9516       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9517       hardcode_shlibpath_var=no
   9518       export_dynamic_flag_spec='-Bexport'
   9519       ;;
   9520 
   9521     sysv4*MP*)
   9522       if test -d /usr/nec; then
   9523 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9524 	hardcode_shlibpath_var=no
   9525 	runpath_var=LD_RUN_PATH
   9526 	hardcode_runpath_var=yes
   9527 	ld_shlibs=yes
   9528       fi
   9529       ;;
   9530 
   9531     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9532       no_undefined_flag='${wl}-z,text'
   9533       archive_cmds_need_lc=no
   9534       hardcode_shlibpath_var=no
   9535       runpath_var='LD_RUN_PATH'
   9536 
   9537       if test "$GCC" = yes; then
   9538 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9539 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9540       else
   9541 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9542 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9543       fi
   9544       ;;
   9545 
   9546     sysv5* | sco3.2v5* | sco5v6*)
   9547       # Note: We can NOT use -z defs as we might desire, because we do not
   9548       # link with -lc, and that would cause any symbols used from libc to
   9549       # always be unresolved, which means just about no library would
   9550       # ever link correctly.  If we're not using GNU ld we use -z text
   9551       # though, which does catch some bad symbols but isn't as heavy-handed
   9552       # as -z defs.
   9553       no_undefined_flag='${wl}-z,text'
   9554       allow_undefined_flag='${wl}-z,nodefs'
   9555       archive_cmds_need_lc=no
   9556       hardcode_shlibpath_var=no
   9557       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9558       hardcode_libdir_separator=':'
   9559       link_all_deplibs=yes
   9560       export_dynamic_flag_spec='${wl}-Bexport'
   9561       runpath_var='LD_RUN_PATH'
   9562 
   9563       if test "$GCC" = yes; then
   9564 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9565 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9566       else
   9567 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9568 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9569       fi
   9570       ;;
   9571 
   9572     uts4*)
   9573       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9574       hardcode_libdir_flag_spec='-L$libdir'
   9575       hardcode_shlibpath_var=no
   9576       ;;
   9577 
   9578     *)
   9579       ld_shlibs=no
   9580       ;;
   9581     esac
   9582 
   9583     if test x$host_vendor = xsni; then
   9584       case $host in
   9585       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   9586 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   9587 	;;
   9588       esac
   9589     fi
   9590   fi
   9591 
   9592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   9593 $as_echo "$ld_shlibs" >&6; }
   9594 test "$ld_shlibs" = no && can_build_shared=no
   9595 
   9596 with_gnu_ld=$with_gnu_ld
   9597 
   9598 
   9599 
   9600 
   9601 
   9602 
   9603 
   9604 
   9605 
   9606 
   9607 
   9608 
   9609 
   9610 
   9611 
   9612 #
   9613 # Do we need to explicitly link libc?
   9614 #
   9615 case "x$archive_cmds_need_lc" in
   9616 x|xyes)
   9617   # Assume -lc should be added
   9618   archive_cmds_need_lc=yes
   9619 
   9620   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9621     case $archive_cmds in
   9622     *'~'*)
   9623       # FIXME: we may have to deal with multi-command sequences.
   9624       ;;
   9625     '$CC '*)
   9626       # Test whether the compiler implicitly links with -lc since on some
   9627       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9628       # to ld, don't add -lc before -lgcc.
   9629       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   9630 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9631 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   9632   $as_echo_n "(cached) " >&6
   9633 else
   9634   $RM conftest*
   9635 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9636 
   9637 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   9638   (eval $ac_compile) 2>&5
   9639   ac_status=$?
   9640   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9641   test $ac_status = 0; } 2>conftest.err; then
   9642 	  soname=conftest
   9643 	  lib=conftest
   9644 	  libobjs=conftest.$ac_objext
   9645 	  deplibs=
   9646 	  wl=$lt_prog_compiler_wl
   9647 	  pic_flag=$lt_prog_compiler_pic
   9648 	  compiler_flags=-v
   9649 	  linker_flags=-v
   9650 	  verstring=
   9651 	  output_objdir=.
   9652 	  libname=conftest
   9653 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   9654 	  allow_undefined_flag=
   9655 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   9656   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9657   ac_status=$?
   9658   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9659   test $ac_status = 0; }
   9660 	  then
   9661 	    lt_cv_archive_cmds_need_lc=no
   9662 	  else
   9663 	    lt_cv_archive_cmds_need_lc=yes
   9664 	  fi
   9665 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   9666 	else
   9667 	  cat conftest.err 1>&5
   9668 	fi
   9669 	$RM conftest*
   9670 
   9671 fi
   9672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   9673 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   9674       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   9675       ;;
   9676     esac
   9677   fi
   9678   ;;
   9679 esac
   9680 
   9681 
   9682 
   9683 
   9684 
   9685 
   9686 
   9687 
   9688 
   9689 
   9690 
   9691 
   9692 
   9693 
   9694 
   9695 
   9696 
   9697 
   9698 
   9699 
   9700 
   9701 
   9702 
   9703 
   9704 
   9705 
   9706 
   9707 
   9708 
   9709 
   9710 
   9711 
   9712 
   9713 
   9714 
   9715 
   9716 
   9717 
   9718 
   9719 
   9720 
   9721 
   9722 
   9723 
   9724 
   9725 
   9726 
   9727 
   9728 
   9729 
   9730 
   9731 
   9732 
   9733 
   9734 
   9735 
   9736 
   9737 
   9738 
   9739 
   9740 
   9741 
   9742 
   9743 
   9744 
   9745 
   9746 
   9747 
   9748 
   9749 
   9750 
   9751 
   9752 
   9753 
   9754 
   9755 
   9756 
   9757 
   9758 
   9759 
   9760 
   9761 
   9762 
   9763 
   9764 
   9765 
   9766 
   9767 
   9768 
   9769 
   9770 
   9771 
   9772 
   9773 
   9774 
   9775 
   9776 
   9777 
   9778 
   9779 
   9780 
   9781 
   9782 
   9783 
   9784 
   9785 
   9786 
   9787 
   9788 
   9789 
   9790 
   9791 
   9792 
   9793 
   9794 
   9795 
   9796 
   9797 
   9798 
   9799 
   9800 
   9801 
   9802 
   9803 
   9804 
   9805 
   9806 
   9807 
   9808 
   9809 
   9810 
   9811 
   9812 
   9813 
   9814 
   9815 
   9816 
   9817 
   9818 
   9819 
   9820 
   9821 
   9822 
   9823 
   9824 
   9825 
   9826 
   9827 
   9828 
   9829 
   9830 
   9831 
   9832   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   9833 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9834 
   9835 if test "$GCC" = yes; then
   9836   case $host_os in
   9837     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9838     *) lt_awk_arg="/^libraries:/" ;;
   9839   esac
   9840   case $host_os in
   9841     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   9842     *) lt_sed_strip_eq="s,=/,/,g" ;;
   9843   esac
   9844   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   9845   case $lt_search_path_spec in
   9846   *\;*)
   9847     # if the path contains ";" then we assume it to be the separator
   9848     # otherwise default to the standard path separator (i.e. ":") - it is
   9849     # assumed that no part of a normal pathname contains ";" but that should
   9850     # okay in the real world where ";" in dirpaths is itself problematic.
   9851     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   9852     ;;
   9853   *)
   9854     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   9855     ;;
   9856   esac
   9857   # Ok, now we have the path, separated by spaces, we can step through it
   9858   # and add multilib dir if necessary.
   9859   lt_tmp_lt_search_path_spec=
   9860   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9861   for lt_sys_path in $lt_search_path_spec; do
   9862     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9863       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9864     else
   9865       test -d "$lt_sys_path" && \
   9866 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9867     fi
   9868   done
   9869   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   9870 BEGIN {RS=" "; FS="/|\n";} {
   9871   lt_foo="";
   9872   lt_count=0;
   9873   for (lt_i = NF; lt_i > 0; lt_i--) {
   9874     if ($lt_i != "" && $lt_i != ".") {
   9875       if ($lt_i == "..") {
   9876         lt_count++;
   9877       } else {
   9878         if (lt_count == 0) {
   9879           lt_foo="/" $lt_i lt_foo;
   9880         } else {
   9881           lt_count--;
   9882         }
   9883       }
   9884     }
   9885   }
   9886   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9887   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9888 }'`
   9889   # AWK program above erroneously prepends '/' to C:/dos/paths
   9890   # for these hosts.
   9891   case $host_os in
   9892     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   9893       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   9894   esac
   9895   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   9896 else
   9897   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9898 fi
   9899 library_names_spec=
   9900 libname_spec='lib$name'
   9901 soname_spec=
   9902 shrext_cmds=".so"
   9903 postinstall_cmds=
   9904 postuninstall_cmds=
   9905 finish_cmds=
   9906 finish_eval=
   9907 shlibpath_var=
   9908 shlibpath_overrides_runpath=unknown
   9909 version_type=none
   9910 dynamic_linker="$host_os ld.so"
   9911 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9912 need_lib_prefix=unknown
   9913 hardcode_into_libs=no
   9914 
   9915 # when you set need_version to no, make sure it does not cause -set_version
   9916 # flags to be left without arguments
   9917 need_version=unknown
   9918 
   9919 case $host_os in
   9920 aix3*)
   9921   version_type=linux # correct to gnu/linux during the next big refactor
   9922   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9923   shlibpath_var=LIBPATH
   9924 
   9925   # AIX 3 has no versioning support, so we append a major version to the name.
   9926   soname_spec='${libname}${release}${shared_ext}$major'
   9927   ;;
   9928 
   9929 aix[4-9]*)
   9930   version_type=linux # correct to gnu/linux during the next big refactor
   9931   need_lib_prefix=no
   9932   need_version=no
   9933   hardcode_into_libs=yes
   9934   if test "$host_cpu" = ia64; then
   9935     # AIX 5 supports IA64
   9936     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   9937     shlibpath_var=LD_LIBRARY_PATH
   9938   else
   9939     # With GCC up to 2.95.x, collect2 would create an import file
   9940     # for dependence libraries.  The import file would start with
   9941     # the line `#! .'.  This would cause the generated library to
   9942     # depend on `.', always an invalid library.  This was fixed in
   9943     # development snapshots of GCC prior to 3.0.
   9944     case $host_os in
   9945       aix4 | aix4.[01] | aix4.[01].*)
   9946       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   9947 	   echo ' yes '
   9948 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   9949 	:
   9950       else
   9951 	can_build_shared=no
   9952       fi
   9953       ;;
   9954     esac
   9955     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   9956     # soname into executable. Probably we can add versioning support to
   9957     # collect2, so additional links can be useful in future.
   9958     if test "$aix_use_runtimelinking" = yes; then
   9959       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   9960       # instead of lib<name>.a to let people know that these are not
   9961       # typical AIX shared libraries.
   9962       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9963     else
   9964       # We preserve .a as extension for shared libraries through AIX4.2
   9965       # and later when we are not doing run time linking.
   9966       library_names_spec='${libname}${release}.a $libname.a'
   9967       soname_spec='${libname}${release}${shared_ext}$major'
   9968     fi
   9969     shlibpath_var=LIBPATH
   9970   fi
   9971   ;;
   9972 
   9973 amigaos*)
   9974   case $host_cpu in
   9975   powerpc)
   9976     # Since July 2007 AmigaOS4 officially supports .so libraries.
   9977     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   9978     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9979     ;;
   9980   m68k)
   9981     library_names_spec='$libname.ixlibrary $libname.a'
   9982     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   9983     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'
   9984     ;;
   9985   esac
   9986   ;;
   9987 
   9988 beos*)
   9989   library_names_spec='${libname}${shared_ext}'
   9990   dynamic_linker="$host_os ld.so"
   9991   shlibpath_var=LIBRARY_PATH
   9992   ;;
   9993 
   9994 bsdi[45]*)
   9995   version_type=linux # correct to gnu/linux during the next big refactor
   9996   need_version=no
   9997   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9998   soname_spec='${libname}${release}${shared_ext}$major'
   9999   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10000   shlibpath_var=LD_LIBRARY_PATH
   10001   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10002   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10003   # the default ld.so.conf also contains /usr/contrib/lib and
   10004   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10005   # libtool to hard-code these into programs
   10006   ;;
   10007 
   10008 cygwin* | mingw* | pw32* | cegcc*)
   10009   version_type=windows
   10010   shrext_cmds=".dll"
   10011   need_version=no
   10012   need_lib_prefix=no
   10013 
   10014   case $GCC,$cc_basename in
   10015   yes,*)
   10016     # gcc
   10017     library_names_spec='$libname.dll.a'
   10018     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10019     postinstall_cmds='base_file=`basename \${file}`~
   10020       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10021       dldir=$destdir/`dirname \$dlpath`~
   10022       test -d \$dldir || mkdir -p \$dldir~
   10023       $install_prog $dir/$dlname \$dldir/$dlname~
   10024       chmod a+x \$dldir/$dlname~
   10025       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10026         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10027       fi'
   10028     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10029       dlpath=$dir/\$dldll~
   10030        $RM \$dlpath'
   10031     shlibpath_overrides_runpath=yes
   10032 
   10033     case $host_os in
   10034     cygwin*)
   10035       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10036       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10037 
   10038       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10039       ;;
   10040     mingw* | cegcc*)
   10041       # MinGW DLLs use traditional 'lib' prefix
   10042       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10043       ;;
   10044     pw32*)
   10045       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10046       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10047       ;;
   10048     esac
   10049     dynamic_linker='Win32 ld.exe'
   10050     ;;
   10051 
   10052   *,cl*)
   10053     # Native MSVC
   10054     libname_spec='$name'
   10055     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10056     library_names_spec='${libname}.dll.lib'
   10057 
   10058     case $build_os in
   10059     mingw*)
   10060       sys_lib_search_path_spec=
   10061       lt_save_ifs=$IFS
   10062       IFS=';'
   10063       for lt_path in $LIB
   10064       do
   10065         IFS=$lt_save_ifs
   10066         # Let DOS variable expansion print the short 8.3 style file name.
   10067         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   10068         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   10069       done
   10070       IFS=$lt_save_ifs
   10071       # Convert to MSYS style.
   10072       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   10073       ;;
   10074     cygwin*)
   10075       # Convert to unix form, then to dos form, then back to unix form
   10076       # but this time dos style (no spaces!) so that the unix form looks
   10077       # like /cygdrive/c/PROGRA~1:/cygdr...
   10078       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   10079       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   10080       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10081       ;;
   10082     *)
   10083       sys_lib_search_path_spec="$LIB"
   10084       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   10085         # It is most probably a Windows format PATH.
   10086         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   10087       else
   10088         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10089       fi
   10090       # FIXME: find the short name or the path components, as spaces are
   10091       # common. (e.g. "Program Files" -> "PROGRA~1")
   10092       ;;
   10093     esac
   10094 
   10095     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10096     postinstall_cmds='base_file=`basename \${file}`~
   10097       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10098       dldir=$destdir/`dirname \$dlpath`~
   10099       test -d \$dldir || mkdir -p \$dldir~
   10100       $install_prog $dir/$dlname \$dldir/$dlname'
   10101     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10102       dlpath=$dir/\$dldll~
   10103        $RM \$dlpath'
   10104     shlibpath_overrides_runpath=yes
   10105     dynamic_linker='Win32 link.exe'
   10106     ;;
   10107 
   10108   *)
   10109     # Assume MSVC wrapper
   10110     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10111     dynamic_linker='Win32 ld.exe'
   10112     ;;
   10113   esac
   10114   # FIXME: first we should search . and the directory the executable is in
   10115   shlibpath_var=PATH
   10116   ;;
   10117 
   10118 darwin* | rhapsody*)
   10119   dynamic_linker="$host_os dyld"
   10120   version_type=darwin
   10121   need_lib_prefix=no
   10122   need_version=no
   10123   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10124   soname_spec='${libname}${release}${major}$shared_ext'
   10125   shlibpath_overrides_runpath=yes
   10126   shlibpath_var=DYLD_LIBRARY_PATH
   10127   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10128 
   10129   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10130   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10131   ;;
   10132 
   10133 dgux*)
   10134   version_type=linux # correct to gnu/linux during the next big refactor
   10135   need_lib_prefix=no
   10136   need_version=no
   10137   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10138   soname_spec='${libname}${release}${shared_ext}$major'
   10139   shlibpath_var=LD_LIBRARY_PATH
   10140   ;;
   10141 
   10142 freebsd* | dragonfly*)
   10143   # DragonFly does not have aout.  When/if they implement a new
   10144   # versioning mechanism, adjust this.
   10145   if test -x /usr/bin/objformat; then
   10146     objformat=`/usr/bin/objformat`
   10147   else
   10148     case $host_os in
   10149     freebsd[23].*) objformat=aout ;;
   10150     *) objformat=elf ;;
   10151     esac
   10152   fi
   10153   version_type=freebsd-$objformat
   10154   case $version_type in
   10155     freebsd-elf*)
   10156       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10157       need_version=no
   10158       need_lib_prefix=no
   10159       ;;
   10160     freebsd-*)
   10161       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10162       need_version=yes
   10163       ;;
   10164   esac
   10165   shlibpath_var=LD_LIBRARY_PATH
   10166   case $host_os in
   10167   freebsd2.*)
   10168     shlibpath_overrides_runpath=yes
   10169     ;;
   10170   freebsd3.[01]* | freebsdelf3.[01]*)
   10171     shlibpath_overrides_runpath=yes
   10172     hardcode_into_libs=yes
   10173     ;;
   10174   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10175   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10176     shlibpath_overrides_runpath=no
   10177     hardcode_into_libs=yes
   10178     ;;
   10179   *) # from 4.6 on, and DragonFly
   10180     shlibpath_overrides_runpath=yes
   10181     hardcode_into_libs=yes
   10182     ;;
   10183   esac
   10184   ;;
   10185 
   10186 gnu*)
   10187   version_type=linux # correct to gnu/linux during the next big refactor
   10188   need_lib_prefix=no
   10189   need_version=no
   10190   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10191   soname_spec='${libname}${release}${shared_ext}$major'
   10192   shlibpath_var=LD_LIBRARY_PATH
   10193   shlibpath_overrides_runpath=no
   10194   hardcode_into_libs=yes
   10195   ;;
   10196 
   10197 haiku*)
   10198   version_type=linux # correct to gnu/linux during the next big refactor
   10199   need_lib_prefix=no
   10200   need_version=no
   10201   dynamic_linker="$host_os runtime_loader"
   10202   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10203   soname_spec='${libname}${release}${shared_ext}$major'
   10204   shlibpath_var=LIBRARY_PATH
   10205   shlibpath_overrides_runpath=yes
   10206   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   10207   hardcode_into_libs=yes
   10208   ;;
   10209 
   10210 hpux9* | hpux10* | hpux11*)
   10211   # Give a soname corresponding to the major version so that dld.sl refuses to
   10212   # link against other versions.
   10213   version_type=sunos
   10214   need_lib_prefix=no
   10215   need_version=no
   10216   case $host_cpu in
   10217   ia64*)
   10218     shrext_cmds='.so'
   10219     hardcode_into_libs=yes
   10220     dynamic_linker="$host_os dld.so"
   10221     shlibpath_var=LD_LIBRARY_PATH
   10222     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10223     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10224     soname_spec='${libname}${release}${shared_ext}$major'
   10225     if test "X$HPUX_IA64_MODE" = X32; then
   10226       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10227     else
   10228       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10229     fi
   10230     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10231     ;;
   10232   hppa*64*)
   10233     shrext_cmds='.sl'
   10234     hardcode_into_libs=yes
   10235     dynamic_linker="$host_os dld.sl"
   10236     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10237     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10238     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10239     soname_spec='${libname}${release}${shared_ext}$major'
   10240     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10241     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10242     ;;
   10243   *)
   10244     shrext_cmds='.sl'
   10245     dynamic_linker="$host_os dld.sl"
   10246     shlibpath_var=SHLIB_PATH
   10247     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10248     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10249     soname_spec='${libname}${release}${shared_ext}$major'
   10250     ;;
   10251   esac
   10252   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   10253   postinstall_cmds='chmod 555 $lib'
   10254   # or fails outright, so override atomically:
   10255   install_override_mode=555
   10256   ;;
   10257 
   10258 interix[3-9]*)
   10259   version_type=linux # correct to gnu/linux during the next big refactor
   10260   need_lib_prefix=no
   10261   need_version=no
   10262   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10263   soname_spec='${libname}${release}${shared_ext}$major'
   10264   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10265   shlibpath_var=LD_LIBRARY_PATH
   10266   shlibpath_overrides_runpath=no
   10267   hardcode_into_libs=yes
   10268   ;;
   10269 
   10270 irix5* | irix6* | nonstopux*)
   10271   case $host_os in
   10272     nonstopux*) version_type=nonstopux ;;
   10273     *)
   10274 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10275 		version_type=linux # correct to gnu/linux during the next big refactor
   10276 	else
   10277 		version_type=irix
   10278 	fi ;;
   10279   esac
   10280   need_lib_prefix=no
   10281   need_version=no
   10282   soname_spec='${libname}${release}${shared_ext}$major'
   10283   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10284   case $host_os in
   10285   irix5* | nonstopux*)
   10286     libsuff= shlibsuff=
   10287     ;;
   10288   *)
   10289     case $LD in # libtool.m4 will add one of these switches to LD
   10290     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10291       libsuff= shlibsuff= libmagic=32-bit;;
   10292     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10293       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10294     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10295       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10296     *) libsuff= shlibsuff= libmagic=never-match;;
   10297     esac
   10298     ;;
   10299   esac
   10300   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10301   shlibpath_overrides_runpath=no
   10302   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10303   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10304   hardcode_into_libs=yes
   10305   ;;
   10306 
   10307 # No shared lib support for Linux oldld, aout, or coff.
   10308 linux*oldld* | linux*aout* | linux*coff*)
   10309   dynamic_linker=no
   10310   ;;
   10311 
   10312 # This must be glibc/ELF.
   10313 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   10314   version_type=linux # correct to gnu/linux during the next big refactor
   10315   need_lib_prefix=no
   10316   need_version=no
   10317   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10318   soname_spec='${libname}${release}${shared_ext}$major'
   10319   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10320   shlibpath_var=LD_LIBRARY_PATH
   10321   shlibpath_overrides_runpath=no
   10322 
   10323   # Some binutils ld are patched to set DT_RUNPATH
   10324   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   10325   $as_echo_n "(cached) " >&6
   10326 else
   10327   lt_cv_shlibpath_overrides_runpath=no
   10328     save_LDFLAGS=$LDFLAGS
   10329     save_libdir=$libdir
   10330     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10331 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10332     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10333 /* end confdefs.h.  */
   10334 
   10335 int
   10336 main ()
   10337 {
   10338 
   10339   ;
   10340   return 0;
   10341 }
   10342 _ACEOF
   10343 if ac_fn_c_try_link "$LINENO"; then :
   10344   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10345   lt_cv_shlibpath_overrides_runpath=yes
   10346 fi
   10347 fi
   10348 rm -f core conftest.err conftest.$ac_objext \
   10349     conftest$ac_exeext conftest.$ac_ext
   10350     LDFLAGS=$save_LDFLAGS
   10351     libdir=$save_libdir
   10352 
   10353 fi
   10354 
   10355   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   10356 
   10357   # This implies no fast_install, which is unacceptable.
   10358   # Some rework will be needed to allow for fast_install
   10359   # before this can be enabled.
   10360   hardcode_into_libs=yes
   10361 
   10362   # Append ld.so.conf contents to the search path
   10363   if test -f /etc/ld.so.conf; then
   10364     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' ' '`
   10365     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   10366   fi
   10367 
   10368   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10369   # powerpc, because MkLinux only supported shared libraries with the
   10370   # GNU dynamic linker.  Since this was broken with cross compilers,
   10371   # most powerpc-linux boxes support dynamic linking these days and
   10372   # people can always --disable-shared, the test was removed, and we
   10373   # assume the GNU/Linux dynamic linker is in use.
   10374   dynamic_linker='GNU/Linux ld.so'
   10375   ;;
   10376 
   10377 netbsd*)
   10378   version_type=sunos
   10379   need_lib_prefix=no
   10380   need_version=no
   10381   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10382     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10383     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10384     dynamic_linker='NetBSD (a.out) ld.so'
   10385   else
   10386     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10387     soname_spec='${libname}${release}${shared_ext}$major'
   10388     dynamic_linker='NetBSD ld.elf_so'
   10389   fi
   10390   shlibpath_var=LD_LIBRARY_PATH
   10391   shlibpath_overrides_runpath=yes
   10392   hardcode_into_libs=yes
   10393   ;;
   10394 
   10395 newsos6)
   10396   version_type=linux # correct to gnu/linux during the next big refactor
   10397   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10398   shlibpath_var=LD_LIBRARY_PATH
   10399   shlibpath_overrides_runpath=yes
   10400   ;;
   10401 
   10402 *nto* | *qnx*)
   10403   version_type=qnx
   10404   need_lib_prefix=no
   10405   need_version=no
   10406   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10407   soname_spec='${libname}${release}${shared_ext}$major'
   10408   shlibpath_var=LD_LIBRARY_PATH
   10409   shlibpath_overrides_runpath=no
   10410   hardcode_into_libs=yes
   10411   dynamic_linker='ldqnx.so'
   10412   ;;
   10413 
   10414 openbsd*)
   10415   version_type=sunos
   10416   sys_lib_dlsearch_path_spec="/usr/lib"
   10417   need_lib_prefix=no
   10418   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10419   case $host_os in
   10420     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10421     *)				need_version=no  ;;
   10422   esac
   10423   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10424   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10425   shlibpath_var=LD_LIBRARY_PATH
   10426   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10427     case $host_os in
   10428       openbsd2.[89] | openbsd2.[89].*)
   10429 	shlibpath_overrides_runpath=no
   10430 	;;
   10431       *)
   10432 	shlibpath_overrides_runpath=yes
   10433 	;;
   10434       esac
   10435   else
   10436     shlibpath_overrides_runpath=yes
   10437   fi
   10438   ;;
   10439 
   10440 os2*)
   10441   libname_spec='$name'
   10442   shrext_cmds=".dll"
   10443   need_lib_prefix=no
   10444   library_names_spec='$libname${shared_ext} $libname.a'
   10445   dynamic_linker='OS/2 ld.exe'
   10446   shlibpath_var=LIBPATH
   10447   ;;
   10448 
   10449 osf3* | osf4* | osf5*)
   10450   version_type=osf
   10451   need_lib_prefix=no
   10452   need_version=no
   10453   soname_spec='${libname}${release}${shared_ext}$major'
   10454   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10455   shlibpath_var=LD_LIBRARY_PATH
   10456   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10457   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10458   ;;
   10459 
   10460 rdos*)
   10461   dynamic_linker=no
   10462   ;;
   10463 
   10464 solaris*)
   10465   version_type=linux # correct to gnu/linux during the next big refactor
   10466   need_lib_prefix=no
   10467   need_version=no
   10468   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10469   soname_spec='${libname}${release}${shared_ext}$major'
   10470   shlibpath_var=LD_LIBRARY_PATH
   10471   shlibpath_overrides_runpath=yes
   10472   hardcode_into_libs=yes
   10473   # ldd complains unless libraries are executable
   10474   postinstall_cmds='chmod +x $lib'
   10475   ;;
   10476 
   10477 sunos4*)
   10478   version_type=sunos
   10479   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10480   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10481   shlibpath_var=LD_LIBRARY_PATH
   10482   shlibpath_overrides_runpath=yes
   10483   if test "$with_gnu_ld" = yes; then
   10484     need_lib_prefix=no
   10485   fi
   10486   need_version=yes
   10487   ;;
   10488 
   10489 sysv4 | sysv4.3*)
   10490   version_type=linux # correct to gnu/linux during the next big refactor
   10491   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10492   soname_spec='${libname}${release}${shared_ext}$major'
   10493   shlibpath_var=LD_LIBRARY_PATH
   10494   case $host_vendor in
   10495     sni)
   10496       shlibpath_overrides_runpath=no
   10497       need_lib_prefix=no
   10498       runpath_var=LD_RUN_PATH
   10499       ;;
   10500     siemens)
   10501       need_lib_prefix=no
   10502       ;;
   10503     motorola)
   10504       need_lib_prefix=no
   10505       need_version=no
   10506       shlibpath_overrides_runpath=no
   10507       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10508       ;;
   10509   esac
   10510   ;;
   10511 
   10512 sysv4*MP*)
   10513   if test -d /usr/nec ;then
   10514     version_type=linux # correct to gnu/linux during the next big refactor
   10515     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10516     soname_spec='$libname${shared_ext}.$major'
   10517     shlibpath_var=LD_LIBRARY_PATH
   10518   fi
   10519   ;;
   10520 
   10521 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10522   version_type=freebsd-elf
   10523   need_lib_prefix=no
   10524   need_version=no
   10525   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10526   soname_spec='${libname}${release}${shared_ext}$major'
   10527   shlibpath_var=LD_LIBRARY_PATH
   10528   shlibpath_overrides_runpath=yes
   10529   hardcode_into_libs=yes
   10530   if test "$with_gnu_ld" = yes; then
   10531     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10532   else
   10533     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10534     case $host_os in
   10535       sco3.2v5*)
   10536         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10537 	;;
   10538     esac
   10539   fi
   10540   sys_lib_dlsearch_path_spec='/usr/lib'
   10541   ;;
   10542 
   10543 tpf*)
   10544   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10545   version_type=linux # correct to gnu/linux during the next big refactor
   10546   need_lib_prefix=no
   10547   need_version=no
   10548   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10549   shlibpath_var=LD_LIBRARY_PATH
   10550   shlibpath_overrides_runpath=no
   10551   hardcode_into_libs=yes
   10552   ;;
   10553 
   10554 uts4*)
   10555   version_type=linux # correct to gnu/linux during the next big refactor
   10556   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10557   soname_spec='${libname}${release}${shared_ext}$major'
   10558   shlibpath_var=LD_LIBRARY_PATH
   10559   ;;
   10560 
   10561 *)
   10562   dynamic_linker=no
   10563   ;;
   10564 esac
   10565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   10566 $as_echo "$dynamic_linker" >&6; }
   10567 test "$dynamic_linker" = no && can_build_shared=no
   10568 
   10569 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10570 if test "$GCC" = yes; then
   10571   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10572 fi
   10573 
   10574 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   10575   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   10576 fi
   10577 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   10578   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   10579 fi
   10580 
   10581 
   10582 
   10583 
   10584 
   10585 
   10586 
   10587 
   10588 
   10589 
   10590 
   10591 
   10592 
   10593 
   10594 
   10595 
   10596 
   10597 
   10598 
   10599 
   10600 
   10601 
   10602 
   10603 
   10604 
   10605 
   10606 
   10607 
   10608 
   10609 
   10610 
   10611 
   10612 
   10613 
   10614 
   10615 
   10616 
   10617 
   10618 
   10619 
   10620 
   10621 
   10622 
   10623 
   10624 
   10625 
   10626 
   10627 
   10628 
   10629 
   10630 
   10631 
   10632 
   10633 
   10634 
   10635 
   10636 
   10637 
   10638 
   10639 
   10640 
   10641 
   10642 
   10643 
   10644 
   10645 
   10646 
   10647 
   10648 
   10649 
   10650 
   10651 
   10652 
   10653 
   10654 
   10655 
   10656 
   10657 
   10658 
   10659 
   10660 
   10661 
   10662 
   10663 
   10664 
   10665 
   10666 
   10667 
   10668 
   10669 
   10670 
   10671 
   10672   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   10673 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   10674 hardcode_action=
   10675 if test -n "$hardcode_libdir_flag_spec" ||
   10676    test -n "$runpath_var" ||
   10677    test "X$hardcode_automatic" = "Xyes" ; then
   10678 
   10679   # We can hardcode non-existent directories.
   10680   if test "$hardcode_direct" != no &&
   10681      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   10682      # have to relink, otherwise we might link with an installed library
   10683      # when we should be linking with a yet-to-be-installed one
   10684      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   10685      test "$hardcode_minus_L" != no; then
   10686     # Linking always hardcodes the temporary library directory.
   10687     hardcode_action=relink
   10688   else
   10689     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   10690     hardcode_action=immediate
   10691   fi
   10692 else
   10693   # We cannot hardcode anything, or else we can only hardcode existing
   10694   # directories.
   10695   hardcode_action=unsupported
   10696 fi
   10697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   10698 $as_echo "$hardcode_action" >&6; }
   10699 
   10700 if test "$hardcode_action" = relink ||
   10701    test "$inherit_rpath" = yes; then
   10702   # Fast installation is not supported
   10703   enable_fast_install=no
   10704 elif test "$shlibpath_overrides_runpath" = yes ||
   10705      test "$enable_shared" = no; then
   10706   # Fast installation is not necessary
   10707   enable_fast_install=needless
   10708 fi
   10709 
   10710 
   10711 
   10712 
   10713 
   10714 
   10715   if test "x$enable_dlopen" != xyes; then
   10716   enable_dlopen=unknown
   10717   enable_dlopen_self=unknown
   10718   enable_dlopen_self_static=unknown
   10719 else
   10720   lt_cv_dlopen=no
   10721   lt_cv_dlopen_libs=
   10722 
   10723   case $host_os in
   10724   beos*)
   10725     lt_cv_dlopen="load_add_on"
   10726     lt_cv_dlopen_libs=
   10727     lt_cv_dlopen_self=yes
   10728     ;;
   10729 
   10730   mingw* | pw32* | cegcc*)
   10731     lt_cv_dlopen="LoadLibrary"
   10732     lt_cv_dlopen_libs=
   10733     ;;
   10734 
   10735   cygwin*)
   10736     lt_cv_dlopen="dlopen"
   10737     lt_cv_dlopen_libs=
   10738     ;;
   10739 
   10740   darwin*)
   10741   # if libdl is installed we need to link against it
   10742     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10743 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10744 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10745   $as_echo_n "(cached) " >&6
   10746 else
   10747   ac_check_lib_save_LIBS=$LIBS
   10748 LIBS="-ldl  $LIBS"
   10749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10750 /* end confdefs.h.  */
   10751 
   10752 /* Override any GCC internal prototype to avoid an error.
   10753    Use char because int might match the return type of a GCC
   10754    builtin and then its argument prototype would still apply.  */
   10755 #ifdef __cplusplus
   10756 extern "C"
   10757 #endif
   10758 char dlopen ();
   10759 int
   10760 main ()
   10761 {
   10762 return dlopen ();
   10763   ;
   10764   return 0;
   10765 }
   10766 _ACEOF
   10767 if ac_fn_c_try_link "$LINENO"; then :
   10768   ac_cv_lib_dl_dlopen=yes
   10769 else
   10770   ac_cv_lib_dl_dlopen=no
   10771 fi
   10772 rm -f core conftest.err conftest.$ac_objext \
   10773     conftest$ac_exeext conftest.$ac_ext
   10774 LIBS=$ac_check_lib_save_LIBS
   10775 fi
   10776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10777 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10778 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10779   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10780 else
   10781 
   10782     lt_cv_dlopen="dyld"
   10783     lt_cv_dlopen_libs=
   10784     lt_cv_dlopen_self=yes
   10785 
   10786 fi
   10787 
   10788     ;;
   10789 
   10790   *)
   10791     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   10792 if test "x$ac_cv_func_shl_load" = xyes; then :
   10793   lt_cv_dlopen="shl_load"
   10794 else
   10795   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   10796 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10797 if ${ac_cv_lib_dld_shl_load+:} false; then :
   10798   $as_echo_n "(cached) " >&6
   10799 else
   10800   ac_check_lib_save_LIBS=$LIBS
   10801 LIBS="-ldld  $LIBS"
   10802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10803 /* end confdefs.h.  */
   10804 
   10805 /* Override any GCC internal prototype to avoid an error.
   10806    Use char because int might match the return type of a GCC
   10807    builtin and then its argument prototype would still apply.  */
   10808 #ifdef __cplusplus
   10809 extern "C"
   10810 #endif
   10811 char shl_load ();
   10812 int
   10813 main ()
   10814 {
   10815 return shl_load ();
   10816   ;
   10817   return 0;
   10818 }
   10819 _ACEOF
   10820 if ac_fn_c_try_link "$LINENO"; then :
   10821   ac_cv_lib_dld_shl_load=yes
   10822 else
   10823   ac_cv_lib_dld_shl_load=no
   10824 fi
   10825 rm -f core conftest.err conftest.$ac_objext \
   10826     conftest$ac_exeext conftest.$ac_ext
   10827 LIBS=$ac_check_lib_save_LIBS
   10828 fi
   10829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   10830 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10831 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   10832   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10833 else
   10834   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   10835 if test "x$ac_cv_func_dlopen" = xyes; then :
   10836   lt_cv_dlopen="dlopen"
   10837 else
   10838   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10839 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10840 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10841   $as_echo_n "(cached) " >&6
   10842 else
   10843   ac_check_lib_save_LIBS=$LIBS
   10844 LIBS="-ldl  $LIBS"
   10845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10846 /* end confdefs.h.  */
   10847 
   10848 /* Override any GCC internal prototype to avoid an error.
   10849    Use char because int might match the return type of a GCC
   10850    builtin and then its argument prototype would still apply.  */
   10851 #ifdef __cplusplus
   10852 extern "C"
   10853 #endif
   10854 char dlopen ();
   10855 int
   10856 main ()
   10857 {
   10858 return dlopen ();
   10859   ;
   10860   return 0;
   10861 }
   10862 _ACEOF
   10863 if ac_fn_c_try_link "$LINENO"; then :
   10864   ac_cv_lib_dl_dlopen=yes
   10865 else
   10866   ac_cv_lib_dl_dlopen=no
   10867 fi
   10868 rm -f core conftest.err conftest.$ac_objext \
   10869     conftest$ac_exeext conftest.$ac_ext
   10870 LIBS=$ac_check_lib_save_LIBS
   10871 fi
   10872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10873 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10874 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10875   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10876 else
   10877   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   10878 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10879 if ${ac_cv_lib_svld_dlopen+:} false; then :
   10880   $as_echo_n "(cached) " >&6
   10881 else
   10882   ac_check_lib_save_LIBS=$LIBS
   10883 LIBS="-lsvld  $LIBS"
   10884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10885 /* end confdefs.h.  */
   10886 
   10887 /* Override any GCC internal prototype to avoid an error.
   10888    Use char because int might match the return type of a GCC
   10889    builtin and then its argument prototype would still apply.  */
   10890 #ifdef __cplusplus
   10891 extern "C"
   10892 #endif
   10893 char dlopen ();
   10894 int
   10895 main ()
   10896 {
   10897 return dlopen ();
   10898   ;
   10899   return 0;
   10900 }
   10901 _ACEOF
   10902 if ac_fn_c_try_link "$LINENO"; then :
   10903   ac_cv_lib_svld_dlopen=yes
   10904 else
   10905   ac_cv_lib_svld_dlopen=no
   10906 fi
   10907 rm -f core conftest.err conftest.$ac_objext \
   10908     conftest$ac_exeext conftest.$ac_ext
   10909 LIBS=$ac_check_lib_save_LIBS
   10910 fi
   10911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   10912 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   10913 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   10914   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10915 else
   10916   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   10917 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   10918 if ${ac_cv_lib_dld_dld_link+:} false; then :
   10919   $as_echo_n "(cached) " >&6
   10920 else
   10921   ac_check_lib_save_LIBS=$LIBS
   10922 LIBS="-ldld  $LIBS"
   10923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10924 /* end confdefs.h.  */
   10925 
   10926 /* Override any GCC internal prototype to avoid an error.
   10927    Use char because int might match the return type of a GCC
   10928    builtin and then its argument prototype would still apply.  */
   10929 #ifdef __cplusplus
   10930 extern "C"
   10931 #endif
   10932 char dld_link ();
   10933 int
   10934 main ()
   10935 {
   10936 return dld_link ();
   10937   ;
   10938   return 0;
   10939 }
   10940 _ACEOF
   10941 if ac_fn_c_try_link "$LINENO"; then :
   10942   ac_cv_lib_dld_dld_link=yes
   10943 else
   10944   ac_cv_lib_dld_dld_link=no
   10945 fi
   10946 rm -f core conftest.err conftest.$ac_objext \
   10947     conftest$ac_exeext conftest.$ac_ext
   10948 LIBS=$ac_check_lib_save_LIBS
   10949 fi
   10950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   10951 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   10952 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   10953   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   10954 fi
   10955 
   10956 
   10957 fi
   10958 
   10959 
   10960 fi
   10961 
   10962 
   10963 fi
   10964 
   10965 
   10966 fi
   10967 
   10968 
   10969 fi
   10970 
   10971     ;;
   10972   esac
   10973 
   10974   if test "x$lt_cv_dlopen" != xno; then
   10975     enable_dlopen=yes
   10976   else
   10977     enable_dlopen=no
   10978   fi
   10979 
   10980   case $lt_cv_dlopen in
   10981   dlopen)
   10982     save_CPPFLAGS="$CPPFLAGS"
   10983     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   10984 
   10985     save_LDFLAGS="$LDFLAGS"
   10986     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   10987 
   10988     save_LIBS="$LIBS"
   10989     LIBS="$lt_cv_dlopen_libs $LIBS"
   10990 
   10991     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   10992 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   10993 if ${lt_cv_dlopen_self+:} false; then :
   10994   $as_echo_n "(cached) " >&6
   10995 else
   10996   	  if test "$cross_compiling" = yes; then :
   10997   lt_cv_dlopen_self=cross
   10998 else
   10999   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11000   lt_status=$lt_dlunknown
   11001   cat > conftest.$ac_ext <<_LT_EOF
   11002 #line $LINENO "configure"
   11003 #include "confdefs.h"
   11004 
   11005 #if HAVE_DLFCN_H
   11006 #include <dlfcn.h>
   11007 #endif
   11008 
   11009 #include <stdio.h>
   11010 
   11011 #ifdef RTLD_GLOBAL
   11012 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11013 #else
   11014 #  ifdef DL_GLOBAL
   11015 #    define LT_DLGLOBAL		DL_GLOBAL
   11016 #  else
   11017 #    define LT_DLGLOBAL		0
   11018 #  endif
   11019 #endif
   11020 
   11021 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11022    find out it does not work in some platform. */
   11023 #ifndef LT_DLLAZY_OR_NOW
   11024 #  ifdef RTLD_LAZY
   11025 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11026 #  else
   11027 #    ifdef DL_LAZY
   11028 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11029 #    else
   11030 #      ifdef RTLD_NOW
   11031 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11032 #      else
   11033 #        ifdef DL_NOW
   11034 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11035 #        else
   11036 #          define LT_DLLAZY_OR_NOW	0
   11037 #        endif
   11038 #      endif
   11039 #    endif
   11040 #  endif
   11041 #endif
   11042 
   11043 /* When -fvisbility=hidden is used, assume the code has been annotated
   11044    correspondingly for the symbols needed.  */
   11045 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11046 int fnord () __attribute__((visibility("default")));
   11047 #endif
   11048 
   11049 int fnord () { return 42; }
   11050 int main ()
   11051 {
   11052   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11053   int status = $lt_dlunknown;
   11054 
   11055   if (self)
   11056     {
   11057       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11058       else
   11059         {
   11060 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11061           else puts (dlerror ());
   11062 	}
   11063       /* dlclose (self); */
   11064     }
   11065   else
   11066     puts (dlerror ());
   11067 
   11068   return status;
   11069 }
   11070 _LT_EOF
   11071   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11072   (eval $ac_link) 2>&5
   11073   ac_status=$?
   11074   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11075   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11076     (./conftest; exit; ) >&5 2>/dev/null
   11077     lt_status=$?
   11078     case x$lt_status in
   11079       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11080       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11081       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11082     esac
   11083   else :
   11084     # compilation failed
   11085     lt_cv_dlopen_self=no
   11086   fi
   11087 fi
   11088 rm -fr conftest*
   11089 
   11090 
   11091 fi
   11092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11093 $as_echo "$lt_cv_dlopen_self" >&6; }
   11094 
   11095     if test "x$lt_cv_dlopen_self" = xyes; then
   11096       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11097       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11098 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11099 if ${lt_cv_dlopen_self_static+:} false; then :
   11100   $as_echo_n "(cached) " >&6
   11101 else
   11102   	  if test "$cross_compiling" = yes; then :
   11103   lt_cv_dlopen_self_static=cross
   11104 else
   11105   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11106   lt_status=$lt_dlunknown
   11107   cat > conftest.$ac_ext <<_LT_EOF
   11108 #line $LINENO "configure"
   11109 #include "confdefs.h"
   11110 
   11111 #if HAVE_DLFCN_H
   11112 #include <dlfcn.h>
   11113 #endif
   11114 
   11115 #include <stdio.h>
   11116 
   11117 #ifdef RTLD_GLOBAL
   11118 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11119 #else
   11120 #  ifdef DL_GLOBAL
   11121 #    define LT_DLGLOBAL		DL_GLOBAL
   11122 #  else
   11123 #    define LT_DLGLOBAL		0
   11124 #  endif
   11125 #endif
   11126 
   11127 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11128    find out it does not work in some platform. */
   11129 #ifndef LT_DLLAZY_OR_NOW
   11130 #  ifdef RTLD_LAZY
   11131 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11132 #  else
   11133 #    ifdef DL_LAZY
   11134 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11135 #    else
   11136 #      ifdef RTLD_NOW
   11137 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11138 #      else
   11139 #        ifdef DL_NOW
   11140 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11141 #        else
   11142 #          define LT_DLLAZY_OR_NOW	0
   11143 #        endif
   11144 #      endif
   11145 #    endif
   11146 #  endif
   11147 #endif
   11148 
   11149 /* When -fvisbility=hidden is used, assume the code has been annotated
   11150    correspondingly for the symbols needed.  */
   11151 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11152 int fnord () __attribute__((visibility("default")));
   11153 #endif
   11154 
   11155 int fnord () { return 42; }
   11156 int main ()
   11157 {
   11158   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11159   int status = $lt_dlunknown;
   11160 
   11161   if (self)
   11162     {
   11163       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11164       else
   11165         {
   11166 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11167           else puts (dlerror ());
   11168 	}
   11169       /* dlclose (self); */
   11170     }
   11171   else
   11172     puts (dlerror ());
   11173 
   11174   return status;
   11175 }
   11176 _LT_EOF
   11177   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11178   (eval $ac_link) 2>&5
   11179   ac_status=$?
   11180   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11181   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11182     (./conftest; exit; ) >&5 2>/dev/null
   11183     lt_status=$?
   11184     case x$lt_status in
   11185       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11186       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11187       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11188     esac
   11189   else :
   11190     # compilation failed
   11191     lt_cv_dlopen_self_static=no
   11192   fi
   11193 fi
   11194 rm -fr conftest*
   11195 
   11196 
   11197 fi
   11198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11199 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11200     fi
   11201 
   11202     CPPFLAGS="$save_CPPFLAGS"
   11203     LDFLAGS="$save_LDFLAGS"
   11204     LIBS="$save_LIBS"
   11205     ;;
   11206   esac
   11207 
   11208   case $lt_cv_dlopen_self in
   11209   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11210   *) enable_dlopen_self=unknown ;;
   11211   esac
   11212 
   11213   case $lt_cv_dlopen_self_static in
   11214   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11215   *) enable_dlopen_self_static=unknown ;;
   11216   esac
   11217 fi
   11218 
   11219 
   11220 
   11221 
   11222 
   11223 
   11224 
   11225 
   11226 
   11227 
   11228 
   11229 
   11230 
   11231 
   11232 
   11233 
   11234 
   11235 striplib=
   11236 old_striplib=
   11237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11238 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11239 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11240   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11241   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11242   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11243 $as_echo "yes" >&6; }
   11244 else
   11245 # FIXME - insert some real tests, host_os isn't really good enough
   11246   case $host_os in
   11247   darwin*)
   11248     if test -n "$STRIP" ; then
   11249       striplib="$STRIP -x"
   11250       old_striplib="$STRIP -S"
   11251       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11252 $as_echo "yes" >&6; }
   11253     else
   11254       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11255 $as_echo "no" >&6; }
   11256     fi
   11257     ;;
   11258   *)
   11259     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11260 $as_echo "no" >&6; }
   11261     ;;
   11262   esac
   11263 fi
   11264 
   11265 
   11266 
   11267 
   11268 
   11269 
   11270 
   11271 
   11272 
   11273 
   11274 
   11275 
   11276   # Report which library types will actually be built
   11277   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11278 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11279   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11280 $as_echo "$can_build_shared" >&6; }
   11281 
   11282   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11283 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11284   test "$can_build_shared" = "no" && enable_shared=no
   11285 
   11286   # On AIX, shared libraries and static libraries use the same namespace, and
   11287   # are all built from PIC.
   11288   case $host_os in
   11289   aix3*)
   11290     test "$enable_shared" = yes && enable_static=no
   11291     if test -n "$RANLIB"; then
   11292       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11293       postinstall_cmds='$RANLIB $lib'
   11294     fi
   11295     ;;
   11296 
   11297   aix[4-9]*)
   11298     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11299       test "$enable_shared" = yes && enable_static=no
   11300     fi
   11301     ;;
   11302   esac
   11303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11304 $as_echo "$enable_shared" >&6; }
   11305 
   11306   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11307 $as_echo_n "checking whether to build static libraries... " >&6; }
   11308   # Make sure either enable_shared or enable_static is yes.
   11309   test "$enable_shared" = yes || enable_static=yes
   11310   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11311 $as_echo "$enable_static" >&6; }
   11312 
   11313 
   11314 
   11315 
   11316 fi
   11317 ac_ext=c
   11318 ac_cpp='$CPP $CPPFLAGS'
   11319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11322 
   11323 CC="$lt_save_CC"
   11324 
   11325 
   11326 
   11327 
   11328 
   11329 
   11330 
   11331 
   11332 
   11333 
   11334 
   11335 
   11336 
   11337 
   11338 
   11339         ac_config_commands="$ac_config_commands libtool"
   11340 
   11341 
   11342 
   11343 
   11344 # Only expand once:
   11345 
   11346 
   11347 
   11348 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   11349 
   11350 
   11351 
   11352 
   11353 
   11354 
   11355 
   11356 
   11357 
   11358 
   11359 
   11360    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   11361 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   11362 if ${ac_cv_prog_cc_c99+:} false; then :
   11363   $as_echo_n "(cached) " >&6
   11364 else
   11365   ac_cv_prog_cc_c99=no
   11366 ac_save_CC=$CC
   11367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11368 /* end confdefs.h.  */
   11369 #include <stdarg.h>
   11370 #include <stdbool.h>
   11371 #include <stdlib.h>
   11372 #include <wchar.h>
   11373 #include <stdio.h>
   11374 
   11375 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   11376 #define debug(...) fprintf (stderr, __VA_ARGS__)
   11377 #define showlist(...) puts (#__VA_ARGS__)
   11378 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   11379 static void
   11380 test_varargs_macros (void)
   11381 {
   11382   int x = 1234;
   11383   int y = 5678;
   11384   debug ("Flag");
   11385   debug ("X = %d\n", x);
   11386   showlist (The first, second, and third items.);
   11387   report (x>y, "x is %d but y is %d", x, y);
   11388 }
   11389 
   11390 // Check long long types.
   11391 #define BIG64 18446744073709551615ull
   11392 #define BIG32 4294967295ul
   11393 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   11394 #if !BIG_OK
   11395   your preprocessor is broken;
   11396 #endif
   11397 #if BIG_OK
   11398 #else
   11399   your preprocessor is broken;
   11400 #endif
   11401 static long long int bignum = -9223372036854775807LL;
   11402 static unsigned long long int ubignum = BIG64;
   11403 
   11404 struct incomplete_array
   11405 {
   11406   int datasize;
   11407   double data[];
   11408 };
   11409 
   11410 struct named_init {
   11411   int number;
   11412   const wchar_t *name;
   11413   double average;
   11414 };
   11415 
   11416 typedef const char *ccp;
   11417 
   11418 static inline int
   11419 test_restrict (ccp restrict text)
   11420 {
   11421   // See if C++-style comments work.
   11422   // Iterate through items via the restricted pointer.
   11423   // Also check for declarations in for loops.
   11424   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   11425     continue;
   11426   return 0;
   11427 }
   11428 
   11429 // Check varargs and va_copy.
   11430 static void
   11431 test_varargs (const char *format, ...)
   11432 {
   11433   va_list args;
   11434   va_start (args, format);
   11435   va_list args_copy;
   11436   va_copy (args_copy, args);
   11437 
   11438   const char *str;
   11439   int number;
   11440   float fnumber;
   11441 
   11442   while (*format)
   11443     {
   11444       switch (*format++)
   11445 	{
   11446 	case 's': // string
   11447 	  str = va_arg (args_copy, const char *);
   11448 	  break;
   11449 	case 'd': // int
   11450 	  number = va_arg (args_copy, int);
   11451 	  break;
   11452 	case 'f': // float
   11453 	  fnumber = va_arg (args_copy, double);
   11454 	  break;
   11455 	default:
   11456 	  break;
   11457 	}
   11458     }
   11459   va_end (args_copy);
   11460   va_end (args);
   11461 }
   11462 
   11463 int
   11464 main ()
   11465 {
   11466 
   11467   // Check bool.
   11468   _Bool success = false;
   11469 
   11470   // Check restrict.
   11471   if (test_restrict ("String literal") == 0)
   11472     success = true;
   11473   char *restrict newvar = "Another string";
   11474 
   11475   // Check varargs.
   11476   test_varargs ("s, d' f .", "string", 65, 34.234);
   11477   test_varargs_macros ();
   11478 
   11479   // Check flexible array members.
   11480   struct incomplete_array *ia =
   11481     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   11482   ia->datasize = 10;
   11483   for (int i = 0; i < ia->datasize; ++i)
   11484     ia->data[i] = i * 1.234;
   11485 
   11486   // Check named initializers.
   11487   struct named_init ni = {
   11488     .number = 34,
   11489     .name = L"Test wide string",
   11490     .average = 543.34343,
   11491   };
   11492 
   11493   ni.number = 58;
   11494 
   11495   int dynamic_array[ni.number];
   11496   dynamic_array[ni.number - 1] = 543;
   11497 
   11498   // work around unused variable warnings
   11499   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   11500 	  || dynamic_array[ni.number - 1] != 543);
   11501 
   11502   ;
   11503   return 0;
   11504 }
   11505 _ACEOF
   11506 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   11507 do
   11508   CC="$ac_save_CC $ac_arg"
   11509   if ac_fn_c_try_compile "$LINENO"; then :
   11510   ac_cv_prog_cc_c99=$ac_arg
   11511 fi
   11512 rm -f core conftest.err conftest.$ac_objext
   11513   test "x$ac_cv_prog_cc_c99" != "xno" && break
   11514 done
   11515 rm -f conftest.$ac_ext
   11516 CC=$ac_save_CC
   11517 
   11518 fi
   11519 # AC_CACHE_VAL
   11520 case "x$ac_cv_prog_cc_c99" in
   11521   x)
   11522     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   11523 $as_echo "none needed" >&6; } ;;
   11524   xno)
   11525     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   11526 $as_echo "unsupported" >&6; } ;;
   11527   *)
   11528     CC="$CC $ac_cv_prog_cc_c99"
   11529     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   11530 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   11531 esac
   11532 if test "x$ac_cv_prog_cc_c99" != xno; then :
   11533 
   11534 fi
   11535 
   11536 
   11537 
   11538 
   11539 
   11540 
   11541 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   11542 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   11543   CLANGCC="yes"
   11544 else
   11545   CLANGCC="no"
   11546 fi
   11547 
   11548 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   11549 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   11550   INTELCC="yes"
   11551 else
   11552   INTELCC="no"
   11553 fi
   11554 
   11555 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   11556 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   11557   SUNCC="yes"
   11558 else
   11559   SUNCC="no"
   11560 fi
   11561 
   11562 
   11563 
   11564 
   11565 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   11566 	if test -n "$ac_tool_prefix"; then
   11567   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   11568 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   11569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11570 $as_echo_n "checking for $ac_word... " >&6; }
   11571 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   11572   $as_echo_n "(cached) " >&6
   11573 else
   11574   case $PKG_CONFIG in
   11575   [\\/]* | ?:[\\/]*)
   11576   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   11577   ;;
   11578   *)
   11579   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11580 for as_dir in $PATH
   11581 do
   11582   IFS=$as_save_IFS
   11583   test -z "$as_dir" && as_dir=.
   11584     for ac_exec_ext in '' $ac_executable_extensions; do
   11585   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11586     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11587     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11588     break 2
   11589   fi
   11590 done
   11591   done
   11592 IFS=$as_save_IFS
   11593 
   11594   ;;
   11595 esac
   11596 fi
   11597 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   11598 if test -n "$PKG_CONFIG"; then
   11599   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   11600 $as_echo "$PKG_CONFIG" >&6; }
   11601 else
   11602   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11603 $as_echo "no" >&6; }
   11604 fi
   11605 
   11606 
   11607 fi
   11608 if test -z "$ac_cv_path_PKG_CONFIG"; then
   11609   ac_pt_PKG_CONFIG=$PKG_CONFIG
   11610   # Extract the first word of "pkg-config", so it can be a program name with args.
   11611 set dummy pkg-config; ac_word=$2
   11612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11613 $as_echo_n "checking for $ac_word... " >&6; }
   11614 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   11615   $as_echo_n "(cached) " >&6
   11616 else
   11617   case $ac_pt_PKG_CONFIG in
   11618   [\\/]* | ?:[\\/]*)
   11619   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   11620   ;;
   11621   *)
   11622   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11623 for as_dir in $PATH
   11624 do
   11625   IFS=$as_save_IFS
   11626   test -z "$as_dir" && as_dir=.
   11627     for ac_exec_ext in '' $ac_executable_extensions; do
   11628   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11629     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11630     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11631     break 2
   11632   fi
   11633 done
   11634   done
   11635 IFS=$as_save_IFS
   11636 
   11637   ;;
   11638 esac
   11639 fi
   11640 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   11641 if test -n "$ac_pt_PKG_CONFIG"; then
   11642   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   11643 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   11644 else
   11645   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11646 $as_echo "no" >&6; }
   11647 fi
   11648 
   11649   if test "x$ac_pt_PKG_CONFIG" = x; then
   11650     PKG_CONFIG=""
   11651   else
   11652     case $cross_compiling:$ac_tool_warned in
   11653 yes:)
   11654 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11655 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11656 ac_tool_warned=yes ;;
   11657 esac
   11658     PKG_CONFIG=$ac_pt_PKG_CONFIG
   11659   fi
   11660 else
   11661   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   11662 fi
   11663 
   11664 fi
   11665 if test -n "$PKG_CONFIG"; then
   11666 	_pkg_min_version=0.9.0
   11667 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   11668 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   11669 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   11670 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11671 $as_echo "yes" >&6; }
   11672 	else
   11673 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11674 $as_echo "no" >&6; }
   11675 		PKG_CONFIG=""
   11676 	fi
   11677 
   11678 fi
   11679 
   11680 
   11681 
   11682 
   11683 
   11684 # Check whether --enable-selective-werror was given.
   11685 if test "${enable_selective_werror+set}" = set; then :
   11686   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   11687 else
   11688   SELECTIVE_WERROR=yes
   11689 fi
   11690 
   11691 
   11692 
   11693 
   11694 
   11695 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   11696 if test "x$SUNCC" = "xyes"; then
   11697     BASE_CFLAGS="-v"
   11698 else
   11699     BASE_CFLAGS=""
   11700 fi
   11701 
   11702 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   11703 
   11704 
   11705 
   11706 
   11707 
   11708 
   11709 
   11710 
   11711 
   11712 
   11713 
   11714 
   11715 
   11716 xorg_testset_save_CFLAGS="$CFLAGS"
   11717 
   11718 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11719 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11720 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11721 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11722 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   11723   $as_echo_n "(cached) " >&6
   11724 else
   11725   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11726 /* end confdefs.h.  */
   11727 int i;
   11728 _ACEOF
   11729 if ac_fn_c_try_compile "$LINENO"; then :
   11730   xorg_cv_cc_flag_unknown_warning_option=yes
   11731 else
   11732   xorg_cv_cc_flag_unknown_warning_option=no
   11733 fi
   11734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11735 fi
   11736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11737 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11738 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11739 	CFLAGS="$xorg_testset_save_CFLAGS"
   11740 fi
   11741 
   11742 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11743 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11744 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11745 	fi
   11746 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11747 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11748 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11749 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   11750   $as_echo_n "(cached) " >&6
   11751 else
   11752   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11753 /* end confdefs.h.  */
   11754 int i;
   11755 _ACEOF
   11756 if ac_fn_c_try_compile "$LINENO"; then :
   11757   xorg_cv_cc_flag_unused_command_line_argument=yes
   11758 else
   11759   xorg_cv_cc_flag_unused_command_line_argument=no
   11760 fi
   11761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11762 fi
   11763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11764 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11765 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11766 	CFLAGS="$xorg_testset_save_CFLAGS"
   11767 fi
   11768 
   11769 found="no"
   11770 
   11771 	if test $found = "no" ; then
   11772 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   11773 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11774 		fi
   11775 
   11776 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   11777 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11778 		fi
   11779 
   11780 		CFLAGS="$CFLAGS -Wall"
   11781 
   11782 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   11783 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   11784 		cacheid=xorg_cv_cc_flag__Wall
   11785 		if eval \${$cacheid+:} false; then :
   11786   $as_echo_n "(cached) " >&6
   11787 else
   11788   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11789 /* end confdefs.h.  */
   11790 int i;
   11791 int
   11792 main ()
   11793 {
   11794 
   11795   ;
   11796   return 0;
   11797 }
   11798 _ACEOF
   11799 if ac_fn_c_try_link "$LINENO"; then :
   11800   eval $cacheid=yes
   11801 else
   11802   eval $cacheid=no
   11803 fi
   11804 rm -f core conftest.err conftest.$ac_objext \
   11805     conftest$ac_exeext conftest.$ac_ext
   11806 fi
   11807 
   11808 
   11809 		CFLAGS="$xorg_testset_save_CFLAGS"
   11810 
   11811 		eval supported=\$$cacheid
   11812 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11813 $as_echo "$supported" >&6; }
   11814 		if test "$supported" = "yes" ; then
   11815 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   11816 			found="yes"
   11817 		fi
   11818 	fi
   11819 
   11820 
   11821 
   11822 
   11823 
   11824 
   11825 
   11826 
   11827 
   11828 
   11829 
   11830 
   11831 
   11832 
   11833 
   11834 xorg_testset_save_CFLAGS="$CFLAGS"
   11835 
   11836 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11837 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11838 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11839 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11840 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   11841   $as_echo_n "(cached) " >&6
   11842 else
   11843   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11844 /* end confdefs.h.  */
   11845 int i;
   11846 _ACEOF
   11847 if ac_fn_c_try_compile "$LINENO"; then :
   11848   xorg_cv_cc_flag_unknown_warning_option=yes
   11849 else
   11850   xorg_cv_cc_flag_unknown_warning_option=no
   11851 fi
   11852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11853 fi
   11854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11855 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11856 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11857 	CFLAGS="$xorg_testset_save_CFLAGS"
   11858 fi
   11859 
   11860 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11861 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11862 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11863 	fi
   11864 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11865 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11866 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11867 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   11868   $as_echo_n "(cached) " >&6
   11869 else
   11870   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11871 /* end confdefs.h.  */
   11872 int i;
   11873 _ACEOF
   11874 if ac_fn_c_try_compile "$LINENO"; then :
   11875   xorg_cv_cc_flag_unused_command_line_argument=yes
   11876 else
   11877   xorg_cv_cc_flag_unused_command_line_argument=no
   11878 fi
   11879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11880 fi
   11881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11882 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11883 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11884 	CFLAGS="$xorg_testset_save_CFLAGS"
   11885 fi
   11886 
   11887 found="no"
   11888 
   11889 	if test $found = "no" ; then
   11890 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   11891 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11892 		fi
   11893 
   11894 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   11895 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11896 		fi
   11897 
   11898 		CFLAGS="$CFLAGS -Wpointer-arith"
   11899 
   11900 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   11901 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   11902 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   11903 		if eval \${$cacheid+:} false; then :
   11904   $as_echo_n "(cached) " >&6
   11905 else
   11906   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11907 /* end confdefs.h.  */
   11908 int i;
   11909 int
   11910 main ()
   11911 {
   11912 
   11913   ;
   11914   return 0;
   11915 }
   11916 _ACEOF
   11917 if ac_fn_c_try_link "$LINENO"; then :
   11918   eval $cacheid=yes
   11919 else
   11920   eval $cacheid=no
   11921 fi
   11922 rm -f core conftest.err conftest.$ac_objext \
   11923     conftest$ac_exeext conftest.$ac_ext
   11924 fi
   11925 
   11926 
   11927 		CFLAGS="$xorg_testset_save_CFLAGS"
   11928 
   11929 		eval supported=\$$cacheid
   11930 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11931 $as_echo "$supported" >&6; }
   11932 		if test "$supported" = "yes" ; then
   11933 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   11934 			found="yes"
   11935 		fi
   11936 	fi
   11937 
   11938 
   11939 
   11940 
   11941 
   11942 
   11943 
   11944 
   11945 
   11946 
   11947 
   11948 
   11949 
   11950 
   11951 
   11952 xorg_testset_save_CFLAGS="$CFLAGS"
   11953 
   11954 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11955 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11956 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11957 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11958 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   11959   $as_echo_n "(cached) " >&6
   11960 else
   11961   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11962 /* end confdefs.h.  */
   11963 int i;
   11964 _ACEOF
   11965 if ac_fn_c_try_compile "$LINENO"; then :
   11966   xorg_cv_cc_flag_unknown_warning_option=yes
   11967 else
   11968   xorg_cv_cc_flag_unknown_warning_option=no
   11969 fi
   11970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11971 fi
   11972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11973 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11974 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11975 	CFLAGS="$xorg_testset_save_CFLAGS"
   11976 fi
   11977 
   11978 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11979 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11980 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11981 	fi
   11982 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11983 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11984 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11985 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   11986   $as_echo_n "(cached) " >&6
   11987 else
   11988   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11989 /* end confdefs.h.  */
   11990 int i;
   11991 _ACEOF
   11992 if ac_fn_c_try_compile "$LINENO"; then :
   11993   xorg_cv_cc_flag_unused_command_line_argument=yes
   11994 else
   11995   xorg_cv_cc_flag_unused_command_line_argument=no
   11996 fi
   11997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11998 fi
   11999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12000 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12001 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12002 	CFLAGS="$xorg_testset_save_CFLAGS"
   12003 fi
   12004 
   12005 found="no"
   12006 
   12007 	if test $found = "no" ; then
   12008 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12009 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12010 		fi
   12011 
   12012 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12013 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12014 		fi
   12015 
   12016 		CFLAGS="$CFLAGS -Wmissing-declarations"
   12017 
   12018 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   12019 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   12020 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   12021 		if eval \${$cacheid+:} false; then :
   12022   $as_echo_n "(cached) " >&6
   12023 else
   12024   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12025 /* end confdefs.h.  */
   12026 int i;
   12027 int
   12028 main ()
   12029 {
   12030 
   12031   ;
   12032   return 0;
   12033 }
   12034 _ACEOF
   12035 if ac_fn_c_try_link "$LINENO"; then :
   12036   eval $cacheid=yes
   12037 else
   12038   eval $cacheid=no
   12039 fi
   12040 rm -f core conftest.err conftest.$ac_objext \
   12041     conftest$ac_exeext conftest.$ac_ext
   12042 fi
   12043 
   12044 
   12045 		CFLAGS="$xorg_testset_save_CFLAGS"
   12046 
   12047 		eval supported=\$$cacheid
   12048 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12049 $as_echo "$supported" >&6; }
   12050 		if test "$supported" = "yes" ; then
   12051 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   12052 			found="yes"
   12053 		fi
   12054 	fi
   12055 
   12056 
   12057 
   12058 
   12059 
   12060 
   12061 
   12062 
   12063 
   12064 
   12065 
   12066 
   12067 
   12068 
   12069 
   12070 xorg_testset_save_CFLAGS="$CFLAGS"
   12071 
   12072 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12073 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12074 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12075 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12076 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12077   $as_echo_n "(cached) " >&6
   12078 else
   12079   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12080 /* end confdefs.h.  */
   12081 int i;
   12082 _ACEOF
   12083 if ac_fn_c_try_compile "$LINENO"; then :
   12084   xorg_cv_cc_flag_unknown_warning_option=yes
   12085 else
   12086   xorg_cv_cc_flag_unknown_warning_option=no
   12087 fi
   12088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12089 fi
   12090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12091 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12092 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12093 	CFLAGS="$xorg_testset_save_CFLAGS"
   12094 fi
   12095 
   12096 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12097 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12098 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12099 	fi
   12100 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12101 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12102 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12103 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12104   $as_echo_n "(cached) " >&6
   12105 else
   12106   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12107 /* end confdefs.h.  */
   12108 int i;
   12109 _ACEOF
   12110 if ac_fn_c_try_compile "$LINENO"; then :
   12111   xorg_cv_cc_flag_unused_command_line_argument=yes
   12112 else
   12113   xorg_cv_cc_flag_unused_command_line_argument=no
   12114 fi
   12115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12116 fi
   12117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12118 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12119 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12120 	CFLAGS="$xorg_testset_save_CFLAGS"
   12121 fi
   12122 
   12123 found="no"
   12124 
   12125 	if test $found = "no" ; then
   12126 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12127 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12128 		fi
   12129 
   12130 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12131 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12132 		fi
   12133 
   12134 		CFLAGS="$CFLAGS -Wformat=2"
   12135 
   12136 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   12137 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   12138 		cacheid=`$as_echo "xorg_cv_cc_flag_-Wformat=2" | $as_tr_sh`
   12139 		if eval \${$cacheid+:} false; then :
   12140   $as_echo_n "(cached) " >&6
   12141 else
   12142   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12143 /* end confdefs.h.  */
   12144 int i;
   12145 int
   12146 main ()
   12147 {
   12148 
   12149   ;
   12150   return 0;
   12151 }
   12152 _ACEOF
   12153 if ac_fn_c_try_link "$LINENO"; then :
   12154   eval $cacheid=yes
   12155 else
   12156   eval $cacheid=no
   12157 fi
   12158 rm -f core conftest.err conftest.$ac_objext \
   12159     conftest$ac_exeext conftest.$ac_ext
   12160 fi
   12161 
   12162 
   12163 		CFLAGS="$xorg_testset_save_CFLAGS"
   12164 
   12165 		eval supported=\$$cacheid
   12166 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12167 $as_echo "$supported" >&6; }
   12168 		if test "$supported" = "yes" ; then
   12169 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   12170 			found="yes"
   12171 		fi
   12172 	fi
   12173 
   12174 	if test $found = "no" ; then
   12175 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12176 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12177 		fi
   12178 
   12179 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12180 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12181 		fi
   12182 
   12183 		CFLAGS="$CFLAGS -Wformat"
   12184 
   12185 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   12186 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   12187 		cacheid=xorg_cv_cc_flag__Wformat
   12188 		if eval \${$cacheid+:} false; then :
   12189   $as_echo_n "(cached) " >&6
   12190 else
   12191   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12192 /* end confdefs.h.  */
   12193 int i;
   12194 int
   12195 main ()
   12196 {
   12197 
   12198   ;
   12199   return 0;
   12200 }
   12201 _ACEOF
   12202 if ac_fn_c_try_link "$LINENO"; then :
   12203   eval $cacheid=yes
   12204 else
   12205   eval $cacheid=no
   12206 fi
   12207 rm -f core conftest.err conftest.$ac_objext \
   12208     conftest$ac_exeext conftest.$ac_ext
   12209 fi
   12210 
   12211 
   12212 		CFLAGS="$xorg_testset_save_CFLAGS"
   12213 
   12214 		eval supported=\$$cacheid
   12215 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12216 $as_echo "$supported" >&6; }
   12217 		if test "$supported" = "yes" ; then
   12218 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   12219 			found="yes"
   12220 		fi
   12221 	fi
   12222 
   12223 
   12224 
   12225 
   12226 
   12227 
   12228 
   12229 
   12230 
   12231 
   12232 
   12233 
   12234 
   12235 
   12236 
   12237 
   12238 
   12239 xorg_testset_save_CFLAGS="$CFLAGS"
   12240 
   12241 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12242 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12243 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12244 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12245 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12246   $as_echo_n "(cached) " >&6
   12247 else
   12248   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12249 /* end confdefs.h.  */
   12250 int i;
   12251 _ACEOF
   12252 if ac_fn_c_try_compile "$LINENO"; then :
   12253   xorg_cv_cc_flag_unknown_warning_option=yes
   12254 else
   12255   xorg_cv_cc_flag_unknown_warning_option=no
   12256 fi
   12257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12258 fi
   12259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12260 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12261 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12262 	CFLAGS="$xorg_testset_save_CFLAGS"
   12263 fi
   12264 
   12265 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12266 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12267 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12268 	fi
   12269 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12270 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12271 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12272 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12273   $as_echo_n "(cached) " >&6
   12274 else
   12275   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12276 /* end confdefs.h.  */
   12277 int i;
   12278 _ACEOF
   12279 if ac_fn_c_try_compile "$LINENO"; then :
   12280   xorg_cv_cc_flag_unused_command_line_argument=yes
   12281 else
   12282   xorg_cv_cc_flag_unused_command_line_argument=no
   12283 fi
   12284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12285 fi
   12286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12287 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12288 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12289 	CFLAGS="$xorg_testset_save_CFLAGS"
   12290 fi
   12291 
   12292 found="no"
   12293 
   12294 	if test $found = "no" ; then
   12295 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12296 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12297 		fi
   12298 
   12299 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12300 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12301 		fi
   12302 
   12303 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   12304 
   12305 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   12306 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   12307 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   12308 		if eval \${$cacheid+:} false; then :
   12309   $as_echo_n "(cached) " >&6
   12310 else
   12311   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12312 /* end confdefs.h.  */
   12313 int i;
   12314 int
   12315 main ()
   12316 {
   12317 
   12318   ;
   12319   return 0;
   12320 }
   12321 _ACEOF
   12322 if ac_fn_c_try_link "$LINENO"; then :
   12323   eval $cacheid=yes
   12324 else
   12325   eval $cacheid=no
   12326 fi
   12327 rm -f core conftest.err conftest.$ac_objext \
   12328     conftest$ac_exeext conftest.$ac_ext
   12329 fi
   12330 
   12331 
   12332 		CFLAGS="$xorg_testset_save_CFLAGS"
   12333 
   12334 		eval supported=\$$cacheid
   12335 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12336 $as_echo "$supported" >&6; }
   12337 		if test "$supported" = "yes" ; then
   12338 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   12339 			found="yes"
   12340 		fi
   12341 	fi
   12342 
   12343 
   12344 
   12345 
   12346 
   12347 
   12348 
   12349 
   12350 
   12351 
   12352 
   12353 
   12354 
   12355 
   12356 
   12357 xorg_testset_save_CFLAGS="$CFLAGS"
   12358 
   12359 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12360 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12361 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12362 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12363 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12364   $as_echo_n "(cached) " >&6
   12365 else
   12366   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12367 /* end confdefs.h.  */
   12368 int i;
   12369 _ACEOF
   12370 if ac_fn_c_try_compile "$LINENO"; then :
   12371   xorg_cv_cc_flag_unknown_warning_option=yes
   12372 else
   12373   xorg_cv_cc_flag_unknown_warning_option=no
   12374 fi
   12375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12376 fi
   12377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12378 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12379 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12380 	CFLAGS="$xorg_testset_save_CFLAGS"
   12381 fi
   12382 
   12383 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12384 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12385 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12386 	fi
   12387 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12388 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12389 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12390 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12391   $as_echo_n "(cached) " >&6
   12392 else
   12393   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12394 /* end confdefs.h.  */
   12395 int i;
   12396 _ACEOF
   12397 if ac_fn_c_try_compile "$LINENO"; then :
   12398   xorg_cv_cc_flag_unused_command_line_argument=yes
   12399 else
   12400   xorg_cv_cc_flag_unused_command_line_argument=no
   12401 fi
   12402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12403 fi
   12404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12405 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12406 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12407 	CFLAGS="$xorg_testset_save_CFLAGS"
   12408 fi
   12409 
   12410 found="no"
   12411 
   12412 	if test $found = "no" ; then
   12413 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12414 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12415 		fi
   12416 
   12417 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12418 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12419 		fi
   12420 
   12421 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   12422 
   12423 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   12424 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   12425 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   12426 		if eval \${$cacheid+:} false; then :
   12427   $as_echo_n "(cached) " >&6
   12428 else
   12429   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12430 /* end confdefs.h.  */
   12431 int i;
   12432 int
   12433 main ()
   12434 {
   12435 
   12436   ;
   12437   return 0;
   12438 }
   12439 _ACEOF
   12440 if ac_fn_c_try_link "$LINENO"; then :
   12441   eval $cacheid=yes
   12442 else
   12443   eval $cacheid=no
   12444 fi
   12445 rm -f core conftest.err conftest.$ac_objext \
   12446     conftest$ac_exeext conftest.$ac_ext
   12447 fi
   12448 
   12449 
   12450 		CFLAGS="$xorg_testset_save_CFLAGS"
   12451 
   12452 		eval supported=\$$cacheid
   12453 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12454 $as_echo "$supported" >&6; }
   12455 		if test "$supported" = "yes" ; then
   12456 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   12457 			found="yes"
   12458 		fi
   12459 	fi
   12460 
   12461 
   12462 
   12463 
   12464 
   12465 
   12466 
   12467 
   12468 
   12469 
   12470 
   12471 
   12472 
   12473 
   12474 
   12475 xorg_testset_save_CFLAGS="$CFLAGS"
   12476 
   12477 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12478 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12479 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12480 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12481 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12482   $as_echo_n "(cached) " >&6
   12483 else
   12484   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12485 /* end confdefs.h.  */
   12486 int i;
   12487 _ACEOF
   12488 if ac_fn_c_try_compile "$LINENO"; then :
   12489   xorg_cv_cc_flag_unknown_warning_option=yes
   12490 else
   12491   xorg_cv_cc_flag_unknown_warning_option=no
   12492 fi
   12493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12494 fi
   12495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12496 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12497 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12498 	CFLAGS="$xorg_testset_save_CFLAGS"
   12499 fi
   12500 
   12501 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12502 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12503 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12504 	fi
   12505 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12506 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12507 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12508 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12509   $as_echo_n "(cached) " >&6
   12510 else
   12511   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12512 /* end confdefs.h.  */
   12513 int i;
   12514 _ACEOF
   12515 if ac_fn_c_try_compile "$LINENO"; then :
   12516   xorg_cv_cc_flag_unused_command_line_argument=yes
   12517 else
   12518   xorg_cv_cc_flag_unused_command_line_argument=no
   12519 fi
   12520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12521 fi
   12522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12523 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12524 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12525 	CFLAGS="$xorg_testset_save_CFLAGS"
   12526 fi
   12527 
   12528 found="no"
   12529 
   12530 	if test $found = "no" ; then
   12531 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12532 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12533 		fi
   12534 
   12535 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12536 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12537 		fi
   12538 
   12539 		CFLAGS="$CFLAGS -Wnested-externs"
   12540 
   12541 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   12542 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   12543 		cacheid=xorg_cv_cc_flag__Wnested_externs
   12544 		if eval \${$cacheid+:} false; then :
   12545   $as_echo_n "(cached) " >&6
   12546 else
   12547   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12548 /* end confdefs.h.  */
   12549 int i;
   12550 int
   12551 main ()
   12552 {
   12553 
   12554   ;
   12555   return 0;
   12556 }
   12557 _ACEOF
   12558 if ac_fn_c_try_link "$LINENO"; then :
   12559   eval $cacheid=yes
   12560 else
   12561   eval $cacheid=no
   12562 fi
   12563 rm -f core conftest.err conftest.$ac_objext \
   12564     conftest$ac_exeext conftest.$ac_ext
   12565 fi
   12566 
   12567 
   12568 		CFLAGS="$xorg_testset_save_CFLAGS"
   12569 
   12570 		eval supported=\$$cacheid
   12571 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12572 $as_echo "$supported" >&6; }
   12573 		if test "$supported" = "yes" ; then
   12574 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   12575 			found="yes"
   12576 		fi
   12577 	fi
   12578 
   12579 
   12580 
   12581 
   12582 
   12583 
   12584 
   12585 
   12586 
   12587 
   12588 
   12589 
   12590 
   12591 
   12592 
   12593 xorg_testset_save_CFLAGS="$CFLAGS"
   12594 
   12595 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12596 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12597 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12598 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12599 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12600   $as_echo_n "(cached) " >&6
   12601 else
   12602   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12603 /* end confdefs.h.  */
   12604 int i;
   12605 _ACEOF
   12606 if ac_fn_c_try_compile "$LINENO"; then :
   12607   xorg_cv_cc_flag_unknown_warning_option=yes
   12608 else
   12609   xorg_cv_cc_flag_unknown_warning_option=no
   12610 fi
   12611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12612 fi
   12613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12614 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12615 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12616 	CFLAGS="$xorg_testset_save_CFLAGS"
   12617 fi
   12618 
   12619 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12620 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12621 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12622 	fi
   12623 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12624 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12625 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12626 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12627   $as_echo_n "(cached) " >&6
   12628 else
   12629   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12630 /* end confdefs.h.  */
   12631 int i;
   12632 _ACEOF
   12633 if ac_fn_c_try_compile "$LINENO"; then :
   12634   xorg_cv_cc_flag_unused_command_line_argument=yes
   12635 else
   12636   xorg_cv_cc_flag_unused_command_line_argument=no
   12637 fi
   12638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12639 fi
   12640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12641 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12642 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12643 	CFLAGS="$xorg_testset_save_CFLAGS"
   12644 fi
   12645 
   12646 found="no"
   12647 
   12648 	if test $found = "no" ; then
   12649 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12650 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12651 		fi
   12652 
   12653 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12654 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12655 		fi
   12656 
   12657 		CFLAGS="$CFLAGS -Wbad-function-cast"
   12658 
   12659 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   12660 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   12661 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   12662 		if eval \${$cacheid+:} false; then :
   12663   $as_echo_n "(cached) " >&6
   12664 else
   12665   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12666 /* end confdefs.h.  */
   12667 int i;
   12668 int
   12669 main ()
   12670 {
   12671 
   12672   ;
   12673   return 0;
   12674 }
   12675 _ACEOF
   12676 if ac_fn_c_try_link "$LINENO"; then :
   12677   eval $cacheid=yes
   12678 else
   12679   eval $cacheid=no
   12680 fi
   12681 rm -f core conftest.err conftest.$ac_objext \
   12682     conftest$ac_exeext conftest.$ac_ext
   12683 fi
   12684 
   12685 
   12686 		CFLAGS="$xorg_testset_save_CFLAGS"
   12687 
   12688 		eval supported=\$$cacheid
   12689 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12690 $as_echo "$supported" >&6; }
   12691 		if test "$supported" = "yes" ; then
   12692 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   12693 			found="yes"
   12694 		fi
   12695 	fi
   12696 
   12697 
   12698 
   12699 
   12700 
   12701 
   12702 
   12703 
   12704 
   12705 
   12706 
   12707 
   12708 
   12709 
   12710 
   12711 xorg_testset_save_CFLAGS="$CFLAGS"
   12712 
   12713 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12714 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12715 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12716 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12717 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12718   $as_echo_n "(cached) " >&6
   12719 else
   12720   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12721 /* end confdefs.h.  */
   12722 int i;
   12723 _ACEOF
   12724 if ac_fn_c_try_compile "$LINENO"; then :
   12725   xorg_cv_cc_flag_unknown_warning_option=yes
   12726 else
   12727   xorg_cv_cc_flag_unknown_warning_option=no
   12728 fi
   12729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12730 fi
   12731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12732 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12733 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12734 	CFLAGS="$xorg_testset_save_CFLAGS"
   12735 fi
   12736 
   12737 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12738 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12739 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12740 	fi
   12741 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12742 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12743 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12744 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12745   $as_echo_n "(cached) " >&6
   12746 else
   12747   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12748 /* end confdefs.h.  */
   12749 int i;
   12750 _ACEOF
   12751 if ac_fn_c_try_compile "$LINENO"; then :
   12752   xorg_cv_cc_flag_unused_command_line_argument=yes
   12753 else
   12754   xorg_cv_cc_flag_unused_command_line_argument=no
   12755 fi
   12756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12757 fi
   12758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12759 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12760 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12761 	CFLAGS="$xorg_testset_save_CFLAGS"
   12762 fi
   12763 
   12764 found="no"
   12765 
   12766 	if test $found = "no" ; then
   12767 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12768 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12769 		fi
   12770 
   12771 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12772 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12773 		fi
   12774 
   12775 		CFLAGS="$CFLAGS -Wold-style-definition"
   12776 
   12777 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   12778 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   12779 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   12780 		if eval \${$cacheid+:} false; then :
   12781   $as_echo_n "(cached) " >&6
   12782 else
   12783   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12784 /* end confdefs.h.  */
   12785 int i;
   12786 int
   12787 main ()
   12788 {
   12789 
   12790   ;
   12791   return 0;
   12792 }
   12793 _ACEOF
   12794 if ac_fn_c_try_link "$LINENO"; then :
   12795   eval $cacheid=yes
   12796 else
   12797   eval $cacheid=no
   12798 fi
   12799 rm -f core conftest.err conftest.$ac_objext \
   12800     conftest$ac_exeext conftest.$ac_ext
   12801 fi
   12802 
   12803 
   12804 		CFLAGS="$xorg_testset_save_CFLAGS"
   12805 
   12806 		eval supported=\$$cacheid
   12807 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12808 $as_echo "$supported" >&6; }
   12809 		if test "$supported" = "yes" ; then
   12810 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   12811 			found="yes"
   12812 		fi
   12813 	fi
   12814 
   12815 
   12816 
   12817 
   12818 
   12819 
   12820 
   12821 
   12822 
   12823 
   12824 
   12825 
   12826 
   12827 
   12828 
   12829 xorg_testset_save_CFLAGS="$CFLAGS"
   12830 
   12831 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12832 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12833 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12834 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12835 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12836   $as_echo_n "(cached) " >&6
   12837 else
   12838   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12839 /* end confdefs.h.  */
   12840 int i;
   12841 _ACEOF
   12842 if ac_fn_c_try_compile "$LINENO"; then :
   12843   xorg_cv_cc_flag_unknown_warning_option=yes
   12844 else
   12845   xorg_cv_cc_flag_unknown_warning_option=no
   12846 fi
   12847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12848 fi
   12849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12850 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12851 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12852 	CFLAGS="$xorg_testset_save_CFLAGS"
   12853 fi
   12854 
   12855 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12856 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12857 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12858 	fi
   12859 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12860 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12861 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12862 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12863   $as_echo_n "(cached) " >&6
   12864 else
   12865   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12866 /* end confdefs.h.  */
   12867 int i;
   12868 _ACEOF
   12869 if ac_fn_c_try_compile "$LINENO"; then :
   12870   xorg_cv_cc_flag_unused_command_line_argument=yes
   12871 else
   12872   xorg_cv_cc_flag_unused_command_line_argument=no
   12873 fi
   12874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12875 fi
   12876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12877 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12878 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12879 	CFLAGS="$xorg_testset_save_CFLAGS"
   12880 fi
   12881 
   12882 found="no"
   12883 
   12884 	if test $found = "no" ; then
   12885 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12886 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12887 		fi
   12888 
   12889 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12890 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12891 		fi
   12892 
   12893 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   12894 
   12895 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   12896 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   12897 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   12898 		if eval \${$cacheid+:} false; then :
   12899   $as_echo_n "(cached) " >&6
   12900 else
   12901   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12902 /* end confdefs.h.  */
   12903 int i;
   12904 int
   12905 main ()
   12906 {
   12907 
   12908   ;
   12909   return 0;
   12910 }
   12911 _ACEOF
   12912 if ac_fn_c_try_link "$LINENO"; then :
   12913   eval $cacheid=yes
   12914 else
   12915   eval $cacheid=no
   12916 fi
   12917 rm -f core conftest.err conftest.$ac_objext \
   12918     conftest$ac_exeext conftest.$ac_ext
   12919 fi
   12920 
   12921 
   12922 		CFLAGS="$xorg_testset_save_CFLAGS"
   12923 
   12924 		eval supported=\$$cacheid
   12925 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12926 $as_echo "$supported" >&6; }
   12927 		if test "$supported" = "yes" ; then
   12928 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   12929 			found="yes"
   12930 		fi
   12931 	fi
   12932 
   12933 
   12934 
   12935 
   12936 
   12937 # This chunk adds additional warnings that could catch undesired effects.
   12938 
   12939 
   12940 
   12941 
   12942 
   12943 
   12944 
   12945 
   12946 
   12947 
   12948 
   12949 
   12950 
   12951 xorg_testset_save_CFLAGS="$CFLAGS"
   12952 
   12953 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12954 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12955 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12956 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12957 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12958   $as_echo_n "(cached) " >&6
   12959 else
   12960   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12961 /* end confdefs.h.  */
   12962 int i;
   12963 _ACEOF
   12964 if ac_fn_c_try_compile "$LINENO"; then :
   12965   xorg_cv_cc_flag_unknown_warning_option=yes
   12966 else
   12967   xorg_cv_cc_flag_unknown_warning_option=no
   12968 fi
   12969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12970 fi
   12971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12972 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12973 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12974 	CFLAGS="$xorg_testset_save_CFLAGS"
   12975 fi
   12976 
   12977 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12978 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12979 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12980 	fi
   12981 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12982 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12983 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12984 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12985   $as_echo_n "(cached) " >&6
   12986 else
   12987   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12988 /* end confdefs.h.  */
   12989 int i;
   12990 _ACEOF
   12991 if ac_fn_c_try_compile "$LINENO"; then :
   12992   xorg_cv_cc_flag_unused_command_line_argument=yes
   12993 else
   12994   xorg_cv_cc_flag_unused_command_line_argument=no
   12995 fi
   12996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12997 fi
   12998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12999 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13000 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13001 	CFLAGS="$xorg_testset_save_CFLAGS"
   13002 fi
   13003 
   13004 found="no"
   13005 
   13006 	if test $found = "no" ; then
   13007 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13008 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13009 		fi
   13010 
   13011 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13012 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13013 		fi
   13014 
   13015 		CFLAGS="$CFLAGS -Wunused"
   13016 
   13017 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   13018 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   13019 		cacheid=xorg_cv_cc_flag__Wunused
   13020 		if eval \${$cacheid+:} false; then :
   13021   $as_echo_n "(cached) " >&6
   13022 else
   13023   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13024 /* end confdefs.h.  */
   13025 int i;
   13026 int
   13027 main ()
   13028 {
   13029 
   13030   ;
   13031   return 0;
   13032 }
   13033 _ACEOF
   13034 if ac_fn_c_try_link "$LINENO"; then :
   13035   eval $cacheid=yes
   13036 else
   13037   eval $cacheid=no
   13038 fi
   13039 rm -f core conftest.err conftest.$ac_objext \
   13040     conftest$ac_exeext conftest.$ac_ext
   13041 fi
   13042 
   13043 
   13044 		CFLAGS="$xorg_testset_save_CFLAGS"
   13045 
   13046 		eval supported=\$$cacheid
   13047 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13048 $as_echo "$supported" >&6; }
   13049 		if test "$supported" = "yes" ; then
   13050 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   13051 			found="yes"
   13052 		fi
   13053 	fi
   13054 
   13055 
   13056 
   13057 
   13058 
   13059 
   13060 
   13061 
   13062 
   13063 
   13064 
   13065 
   13066 
   13067 
   13068 
   13069 xorg_testset_save_CFLAGS="$CFLAGS"
   13070 
   13071 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13072 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13073 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13074 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13075 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13076   $as_echo_n "(cached) " >&6
   13077 else
   13078   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13079 /* end confdefs.h.  */
   13080 int i;
   13081 _ACEOF
   13082 if ac_fn_c_try_compile "$LINENO"; then :
   13083   xorg_cv_cc_flag_unknown_warning_option=yes
   13084 else
   13085   xorg_cv_cc_flag_unknown_warning_option=no
   13086 fi
   13087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13088 fi
   13089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13090 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13091 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13092 	CFLAGS="$xorg_testset_save_CFLAGS"
   13093 fi
   13094 
   13095 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13096 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13097 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13098 	fi
   13099 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13100 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13101 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13102 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13103   $as_echo_n "(cached) " >&6
   13104 else
   13105   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13106 /* end confdefs.h.  */
   13107 int i;
   13108 _ACEOF
   13109 if ac_fn_c_try_compile "$LINENO"; then :
   13110   xorg_cv_cc_flag_unused_command_line_argument=yes
   13111 else
   13112   xorg_cv_cc_flag_unused_command_line_argument=no
   13113 fi
   13114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13115 fi
   13116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13117 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13118 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13119 	CFLAGS="$xorg_testset_save_CFLAGS"
   13120 fi
   13121 
   13122 found="no"
   13123 
   13124 	if test $found = "no" ; then
   13125 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13126 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13127 		fi
   13128 
   13129 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13130 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13131 		fi
   13132 
   13133 		CFLAGS="$CFLAGS -Wuninitialized"
   13134 
   13135 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   13136 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   13137 		cacheid=xorg_cv_cc_flag__Wuninitialized
   13138 		if eval \${$cacheid+:} false; then :
   13139   $as_echo_n "(cached) " >&6
   13140 else
   13141   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13142 /* end confdefs.h.  */
   13143 int i;
   13144 int
   13145 main ()
   13146 {
   13147 
   13148   ;
   13149   return 0;
   13150 }
   13151 _ACEOF
   13152 if ac_fn_c_try_link "$LINENO"; then :
   13153   eval $cacheid=yes
   13154 else
   13155   eval $cacheid=no
   13156 fi
   13157 rm -f core conftest.err conftest.$ac_objext \
   13158     conftest$ac_exeext conftest.$ac_ext
   13159 fi
   13160 
   13161 
   13162 		CFLAGS="$xorg_testset_save_CFLAGS"
   13163 
   13164 		eval supported=\$$cacheid
   13165 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13166 $as_echo "$supported" >&6; }
   13167 		if test "$supported" = "yes" ; then
   13168 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   13169 			found="yes"
   13170 		fi
   13171 	fi
   13172 
   13173 
   13174 
   13175 
   13176 
   13177 
   13178 
   13179 
   13180 
   13181 
   13182 
   13183 
   13184 
   13185 
   13186 
   13187 xorg_testset_save_CFLAGS="$CFLAGS"
   13188 
   13189 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13190 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13191 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13192 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13193 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13194   $as_echo_n "(cached) " >&6
   13195 else
   13196   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13197 /* end confdefs.h.  */
   13198 int i;
   13199 _ACEOF
   13200 if ac_fn_c_try_compile "$LINENO"; then :
   13201   xorg_cv_cc_flag_unknown_warning_option=yes
   13202 else
   13203   xorg_cv_cc_flag_unknown_warning_option=no
   13204 fi
   13205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13206 fi
   13207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13208 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13209 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13210 	CFLAGS="$xorg_testset_save_CFLAGS"
   13211 fi
   13212 
   13213 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13214 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13215 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13216 	fi
   13217 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13218 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13219 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13220 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13221   $as_echo_n "(cached) " >&6
   13222 else
   13223   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13224 /* end confdefs.h.  */
   13225 int i;
   13226 _ACEOF
   13227 if ac_fn_c_try_compile "$LINENO"; then :
   13228   xorg_cv_cc_flag_unused_command_line_argument=yes
   13229 else
   13230   xorg_cv_cc_flag_unused_command_line_argument=no
   13231 fi
   13232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13233 fi
   13234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13235 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13236 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13237 	CFLAGS="$xorg_testset_save_CFLAGS"
   13238 fi
   13239 
   13240 found="no"
   13241 
   13242 	if test $found = "no" ; then
   13243 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13244 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13245 		fi
   13246 
   13247 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13248 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13249 		fi
   13250 
   13251 		CFLAGS="$CFLAGS -Wshadow"
   13252 
   13253 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   13254 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   13255 		cacheid=xorg_cv_cc_flag__Wshadow
   13256 		if eval \${$cacheid+:} false; then :
   13257   $as_echo_n "(cached) " >&6
   13258 else
   13259   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13260 /* end confdefs.h.  */
   13261 int i;
   13262 int
   13263 main ()
   13264 {
   13265 
   13266   ;
   13267   return 0;
   13268 }
   13269 _ACEOF
   13270 if ac_fn_c_try_link "$LINENO"; then :
   13271   eval $cacheid=yes
   13272 else
   13273   eval $cacheid=no
   13274 fi
   13275 rm -f core conftest.err conftest.$ac_objext \
   13276     conftest$ac_exeext conftest.$ac_ext
   13277 fi
   13278 
   13279 
   13280 		CFLAGS="$xorg_testset_save_CFLAGS"
   13281 
   13282 		eval supported=\$$cacheid
   13283 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13284 $as_echo "$supported" >&6; }
   13285 		if test "$supported" = "yes" ; then
   13286 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   13287 			found="yes"
   13288 		fi
   13289 	fi
   13290 
   13291 
   13292 
   13293 
   13294 
   13295 
   13296 
   13297 
   13298 
   13299 
   13300 
   13301 
   13302 
   13303 
   13304 
   13305 xorg_testset_save_CFLAGS="$CFLAGS"
   13306 
   13307 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13308 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13309 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13310 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13311 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13312   $as_echo_n "(cached) " >&6
   13313 else
   13314   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13315 /* end confdefs.h.  */
   13316 int i;
   13317 _ACEOF
   13318 if ac_fn_c_try_compile "$LINENO"; then :
   13319   xorg_cv_cc_flag_unknown_warning_option=yes
   13320 else
   13321   xorg_cv_cc_flag_unknown_warning_option=no
   13322 fi
   13323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13324 fi
   13325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13326 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13327 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13328 	CFLAGS="$xorg_testset_save_CFLAGS"
   13329 fi
   13330 
   13331 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13332 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13333 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13334 	fi
   13335 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13336 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13337 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13338 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13339   $as_echo_n "(cached) " >&6
   13340 else
   13341   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13342 /* end confdefs.h.  */
   13343 int i;
   13344 _ACEOF
   13345 if ac_fn_c_try_compile "$LINENO"; then :
   13346   xorg_cv_cc_flag_unused_command_line_argument=yes
   13347 else
   13348   xorg_cv_cc_flag_unused_command_line_argument=no
   13349 fi
   13350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13351 fi
   13352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13353 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13354 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13355 	CFLAGS="$xorg_testset_save_CFLAGS"
   13356 fi
   13357 
   13358 found="no"
   13359 
   13360 	if test $found = "no" ; then
   13361 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13362 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13363 		fi
   13364 
   13365 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13366 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13367 		fi
   13368 
   13369 		CFLAGS="$CFLAGS -Wcast-qual"
   13370 
   13371 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wcast-qual" >&5
   13372 $as_echo_n "checking if $CC supports -Wcast-qual... " >&6; }
   13373 		cacheid=xorg_cv_cc_flag__Wcast_qual
   13374 		if eval \${$cacheid+:} false; then :
   13375   $as_echo_n "(cached) " >&6
   13376 else
   13377   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13378 /* end confdefs.h.  */
   13379 int i;
   13380 int
   13381 main ()
   13382 {
   13383 
   13384   ;
   13385   return 0;
   13386 }
   13387 _ACEOF
   13388 if ac_fn_c_try_link "$LINENO"; then :
   13389   eval $cacheid=yes
   13390 else
   13391   eval $cacheid=no
   13392 fi
   13393 rm -f core conftest.err conftest.$ac_objext \
   13394     conftest$ac_exeext conftest.$ac_ext
   13395 fi
   13396 
   13397 
   13398 		CFLAGS="$xorg_testset_save_CFLAGS"
   13399 
   13400 		eval supported=\$$cacheid
   13401 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13402 $as_echo "$supported" >&6; }
   13403 		if test "$supported" = "yes" ; then
   13404 			BASE_CFLAGS="$BASE_CFLAGS -Wcast-qual"
   13405 			found="yes"
   13406 		fi
   13407 	fi
   13408 
   13409 
   13410 
   13411 
   13412 
   13413 
   13414 
   13415 
   13416 
   13417 
   13418 
   13419 
   13420 
   13421 
   13422 
   13423 xorg_testset_save_CFLAGS="$CFLAGS"
   13424 
   13425 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13426 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13427 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13428 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13429 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13430   $as_echo_n "(cached) " >&6
   13431 else
   13432   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13433 /* end confdefs.h.  */
   13434 int i;
   13435 _ACEOF
   13436 if ac_fn_c_try_compile "$LINENO"; then :
   13437   xorg_cv_cc_flag_unknown_warning_option=yes
   13438 else
   13439   xorg_cv_cc_flag_unknown_warning_option=no
   13440 fi
   13441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13442 fi
   13443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13444 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13445 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13446 	CFLAGS="$xorg_testset_save_CFLAGS"
   13447 fi
   13448 
   13449 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13450 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13451 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13452 	fi
   13453 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13454 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13455 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13456 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13457   $as_echo_n "(cached) " >&6
   13458 else
   13459   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13460 /* end confdefs.h.  */
   13461 int i;
   13462 _ACEOF
   13463 if ac_fn_c_try_compile "$LINENO"; then :
   13464   xorg_cv_cc_flag_unused_command_line_argument=yes
   13465 else
   13466   xorg_cv_cc_flag_unused_command_line_argument=no
   13467 fi
   13468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13469 fi
   13470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13471 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13472 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13473 	CFLAGS="$xorg_testset_save_CFLAGS"
   13474 fi
   13475 
   13476 found="no"
   13477 
   13478 	if test $found = "no" ; then
   13479 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13480 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13481 		fi
   13482 
   13483 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13484 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13485 		fi
   13486 
   13487 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   13488 
   13489 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   13490 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   13491 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   13492 		if eval \${$cacheid+:} false; then :
   13493   $as_echo_n "(cached) " >&6
   13494 else
   13495   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13496 /* end confdefs.h.  */
   13497 int i;
   13498 int
   13499 main ()
   13500 {
   13501 
   13502   ;
   13503   return 0;
   13504 }
   13505 _ACEOF
   13506 if ac_fn_c_try_link "$LINENO"; then :
   13507   eval $cacheid=yes
   13508 else
   13509   eval $cacheid=no
   13510 fi
   13511 rm -f core conftest.err conftest.$ac_objext \
   13512     conftest$ac_exeext conftest.$ac_ext
   13513 fi
   13514 
   13515 
   13516 		CFLAGS="$xorg_testset_save_CFLAGS"
   13517 
   13518 		eval supported=\$$cacheid
   13519 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13520 $as_echo "$supported" >&6; }
   13521 		if test "$supported" = "yes" ; then
   13522 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   13523 			found="yes"
   13524 		fi
   13525 	fi
   13526 
   13527 
   13528 
   13529 
   13530 
   13531 
   13532 
   13533 
   13534 
   13535 
   13536 
   13537 
   13538 
   13539 
   13540 
   13541 xorg_testset_save_CFLAGS="$CFLAGS"
   13542 
   13543 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13544 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13545 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13546 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13547 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13548   $as_echo_n "(cached) " >&6
   13549 else
   13550   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13551 /* end confdefs.h.  */
   13552 int i;
   13553 _ACEOF
   13554 if ac_fn_c_try_compile "$LINENO"; then :
   13555   xorg_cv_cc_flag_unknown_warning_option=yes
   13556 else
   13557   xorg_cv_cc_flag_unknown_warning_option=no
   13558 fi
   13559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13560 fi
   13561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13562 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13563 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13564 	CFLAGS="$xorg_testset_save_CFLAGS"
   13565 fi
   13566 
   13567 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13568 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13569 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13570 	fi
   13571 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13572 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13573 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13574 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13575   $as_echo_n "(cached) " >&6
   13576 else
   13577   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13578 /* end confdefs.h.  */
   13579 int i;
   13580 _ACEOF
   13581 if ac_fn_c_try_compile "$LINENO"; then :
   13582   xorg_cv_cc_flag_unused_command_line_argument=yes
   13583 else
   13584   xorg_cv_cc_flag_unused_command_line_argument=no
   13585 fi
   13586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13587 fi
   13588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13589 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13590 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13591 	CFLAGS="$xorg_testset_save_CFLAGS"
   13592 fi
   13593 
   13594 found="no"
   13595 
   13596 	if test $found = "no" ; then
   13597 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13598 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13599 		fi
   13600 
   13601 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13602 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13603 		fi
   13604 
   13605 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   13606 
   13607 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   13608 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   13609 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   13610 		if eval \${$cacheid+:} false; then :
   13611   $as_echo_n "(cached) " >&6
   13612 else
   13613   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13614 /* end confdefs.h.  */
   13615 int i;
   13616 int
   13617 main ()
   13618 {
   13619 
   13620   ;
   13621   return 0;
   13622 }
   13623 _ACEOF
   13624 if ac_fn_c_try_link "$LINENO"; then :
   13625   eval $cacheid=yes
   13626 else
   13627   eval $cacheid=no
   13628 fi
   13629 rm -f core conftest.err conftest.$ac_objext \
   13630     conftest$ac_exeext conftest.$ac_ext
   13631 fi
   13632 
   13633 
   13634 		CFLAGS="$xorg_testset_save_CFLAGS"
   13635 
   13636 		eval supported=\$$cacheid
   13637 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13638 $as_echo "$supported" >&6; }
   13639 		if test "$supported" = "yes" ; then
   13640 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   13641 			found="yes"
   13642 		fi
   13643 	fi
   13644 
   13645 
   13646 
   13647 
   13648 
   13649 
   13650 
   13651 
   13652 
   13653 
   13654 
   13655 
   13656 
   13657 
   13658 
   13659 xorg_testset_save_CFLAGS="$CFLAGS"
   13660 
   13661 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13662 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13663 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13664 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13665 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13666   $as_echo_n "(cached) " >&6
   13667 else
   13668   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13669 /* end confdefs.h.  */
   13670 int i;
   13671 _ACEOF
   13672 if ac_fn_c_try_compile "$LINENO"; then :
   13673   xorg_cv_cc_flag_unknown_warning_option=yes
   13674 else
   13675   xorg_cv_cc_flag_unknown_warning_option=no
   13676 fi
   13677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13678 fi
   13679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13680 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13681 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13682 	CFLAGS="$xorg_testset_save_CFLAGS"
   13683 fi
   13684 
   13685 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13686 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13687 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13688 	fi
   13689 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13690 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13691 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13692 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13693   $as_echo_n "(cached) " >&6
   13694 else
   13695   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13696 /* end confdefs.h.  */
   13697 int i;
   13698 _ACEOF
   13699 if ac_fn_c_try_compile "$LINENO"; then :
   13700   xorg_cv_cc_flag_unused_command_line_argument=yes
   13701 else
   13702   xorg_cv_cc_flag_unused_command_line_argument=no
   13703 fi
   13704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13705 fi
   13706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13707 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13708 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13709 	CFLAGS="$xorg_testset_save_CFLAGS"
   13710 fi
   13711 
   13712 found="no"
   13713 
   13714 	if test $found = "no" ; then
   13715 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13716 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13717 		fi
   13718 
   13719 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13720 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13721 		fi
   13722 
   13723 		CFLAGS="$CFLAGS -Wredundant-decls"
   13724 
   13725 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   13726 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   13727 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   13728 		if eval \${$cacheid+:} false; then :
   13729   $as_echo_n "(cached) " >&6
   13730 else
   13731   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13732 /* end confdefs.h.  */
   13733 int i;
   13734 int
   13735 main ()
   13736 {
   13737 
   13738   ;
   13739   return 0;
   13740 }
   13741 _ACEOF
   13742 if ac_fn_c_try_link "$LINENO"; then :
   13743   eval $cacheid=yes
   13744 else
   13745   eval $cacheid=no
   13746 fi
   13747 rm -f core conftest.err conftest.$ac_objext \
   13748     conftest$ac_exeext conftest.$ac_ext
   13749 fi
   13750 
   13751 
   13752 		CFLAGS="$xorg_testset_save_CFLAGS"
   13753 
   13754 		eval supported=\$$cacheid
   13755 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13756 $as_echo "$supported" >&6; }
   13757 		if test "$supported" = "yes" ; then
   13758 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   13759 			found="yes"
   13760 		fi
   13761 	fi
   13762 
   13763 
   13764 
   13765 # These are currently disabled because they are noisy.  They will be enabled
   13766 # in the future once the codebase is sufficiently modernized to silence
   13767 # them.  For now, I don't want them to drown out the other warnings.
   13768 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wlogical-op])
   13769 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   13770 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   13771 
   13772 # Turn some warnings into errors, so we don't accidently get successful builds
   13773 # when there are problems that should be fixed.
   13774 
   13775 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   13776 
   13777 
   13778 
   13779 
   13780 
   13781 
   13782 
   13783 
   13784 
   13785 
   13786 
   13787 
   13788 
   13789 xorg_testset_save_CFLAGS="$CFLAGS"
   13790 
   13791 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13792 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13793 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13794 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13795 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13796   $as_echo_n "(cached) " >&6
   13797 else
   13798   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13799 /* end confdefs.h.  */
   13800 int i;
   13801 _ACEOF
   13802 if ac_fn_c_try_compile "$LINENO"; then :
   13803   xorg_cv_cc_flag_unknown_warning_option=yes
   13804 else
   13805   xorg_cv_cc_flag_unknown_warning_option=no
   13806 fi
   13807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13808 fi
   13809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13810 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13811 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13812 	CFLAGS="$xorg_testset_save_CFLAGS"
   13813 fi
   13814 
   13815 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13816 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13817 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13818 	fi
   13819 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13820 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13821 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13822 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13823   $as_echo_n "(cached) " >&6
   13824 else
   13825   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13826 /* end confdefs.h.  */
   13827 int i;
   13828 _ACEOF
   13829 if ac_fn_c_try_compile "$LINENO"; then :
   13830   xorg_cv_cc_flag_unused_command_line_argument=yes
   13831 else
   13832   xorg_cv_cc_flag_unused_command_line_argument=no
   13833 fi
   13834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13835 fi
   13836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13837 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13838 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13839 	CFLAGS="$xorg_testset_save_CFLAGS"
   13840 fi
   13841 
   13842 found="no"
   13843 
   13844 	if test $found = "no" ; then
   13845 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13846 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13847 		fi
   13848 
   13849 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13850 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13851 		fi
   13852 
   13853 		CFLAGS="$CFLAGS -Werror=implicit"
   13854 
   13855 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   13856 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   13857 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=implicit" | $as_tr_sh`
   13858 		if eval \${$cacheid+:} false; then :
   13859   $as_echo_n "(cached) " >&6
   13860 else
   13861   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13862 /* end confdefs.h.  */
   13863 int i;
   13864 int
   13865 main ()
   13866 {
   13867 
   13868   ;
   13869   return 0;
   13870 }
   13871 _ACEOF
   13872 if ac_fn_c_try_link "$LINENO"; then :
   13873   eval $cacheid=yes
   13874 else
   13875   eval $cacheid=no
   13876 fi
   13877 rm -f core conftest.err conftest.$ac_objext \
   13878     conftest$ac_exeext conftest.$ac_ext
   13879 fi
   13880 
   13881 
   13882 		CFLAGS="$xorg_testset_save_CFLAGS"
   13883 
   13884 		eval supported=\$$cacheid
   13885 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13886 $as_echo "$supported" >&6; }
   13887 		if test "$supported" = "yes" ; then
   13888 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   13889 			found="yes"
   13890 		fi
   13891 	fi
   13892 
   13893 	if test $found = "no" ; then
   13894 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13895 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13896 		fi
   13897 
   13898 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13899 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13900 		fi
   13901 
   13902 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   13903 
   13904 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   13905 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   13906 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" | $as_tr_sh`
   13907 		if eval \${$cacheid+:} false; then :
   13908   $as_echo_n "(cached) " >&6
   13909 else
   13910   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13911 /* end confdefs.h.  */
   13912 int i;
   13913 int
   13914 main ()
   13915 {
   13916 
   13917   ;
   13918   return 0;
   13919 }
   13920 _ACEOF
   13921 if ac_fn_c_try_link "$LINENO"; then :
   13922   eval $cacheid=yes
   13923 else
   13924   eval $cacheid=no
   13925 fi
   13926 rm -f core conftest.err conftest.$ac_objext \
   13927     conftest$ac_exeext conftest.$ac_ext
   13928 fi
   13929 
   13930 
   13931 		CFLAGS="$xorg_testset_save_CFLAGS"
   13932 
   13933 		eval supported=\$$cacheid
   13934 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13935 $as_echo "$supported" >&6; }
   13936 		if test "$supported" = "yes" ; then
   13937 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   13938 			found="yes"
   13939 		fi
   13940 	fi
   13941 
   13942 
   13943 
   13944 
   13945 
   13946 
   13947 
   13948 
   13949 
   13950 
   13951 
   13952 
   13953 
   13954 
   13955 
   13956 xorg_testset_save_CFLAGS="$CFLAGS"
   13957 
   13958 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13959 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13960 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13961 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13962 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13963   $as_echo_n "(cached) " >&6
   13964 else
   13965   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13966 /* end confdefs.h.  */
   13967 int i;
   13968 _ACEOF
   13969 if ac_fn_c_try_compile "$LINENO"; then :
   13970   xorg_cv_cc_flag_unknown_warning_option=yes
   13971 else
   13972   xorg_cv_cc_flag_unknown_warning_option=no
   13973 fi
   13974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13975 fi
   13976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13977 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13978 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13979 	CFLAGS="$xorg_testset_save_CFLAGS"
   13980 fi
   13981 
   13982 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13983 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13984 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13985 	fi
   13986 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13987 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13988 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13989 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13990   $as_echo_n "(cached) " >&6
   13991 else
   13992   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13993 /* end confdefs.h.  */
   13994 int i;
   13995 _ACEOF
   13996 if ac_fn_c_try_compile "$LINENO"; then :
   13997   xorg_cv_cc_flag_unused_command_line_argument=yes
   13998 else
   13999   xorg_cv_cc_flag_unused_command_line_argument=no
   14000 fi
   14001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14002 fi
   14003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14004 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14005 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14006 	CFLAGS="$xorg_testset_save_CFLAGS"
   14007 fi
   14008 
   14009 found="no"
   14010 
   14011 	if test $found = "no" ; then
   14012 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14013 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14014 		fi
   14015 
   14016 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14017 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14018 		fi
   14019 
   14020 		CFLAGS="$CFLAGS -Werror=nonnull"
   14021 
   14022 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   14023 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   14024 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=nonnull" | $as_tr_sh`
   14025 		if eval \${$cacheid+:} false; then :
   14026   $as_echo_n "(cached) " >&6
   14027 else
   14028   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14029 /* end confdefs.h.  */
   14030 int i;
   14031 int
   14032 main ()
   14033 {
   14034 
   14035   ;
   14036   return 0;
   14037 }
   14038 _ACEOF
   14039 if ac_fn_c_try_link "$LINENO"; then :
   14040   eval $cacheid=yes
   14041 else
   14042   eval $cacheid=no
   14043 fi
   14044 rm -f core conftest.err conftest.$ac_objext \
   14045     conftest$ac_exeext conftest.$ac_ext
   14046 fi
   14047 
   14048 
   14049 		CFLAGS="$xorg_testset_save_CFLAGS"
   14050 
   14051 		eval supported=\$$cacheid
   14052 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14053 $as_echo "$supported" >&6; }
   14054 		if test "$supported" = "yes" ; then
   14055 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   14056 			found="yes"
   14057 		fi
   14058 	fi
   14059 
   14060 
   14061 
   14062 
   14063 
   14064 
   14065 
   14066 
   14067 
   14068 
   14069 
   14070 
   14071 
   14072 
   14073 
   14074 xorg_testset_save_CFLAGS="$CFLAGS"
   14075 
   14076 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14077 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14078 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14079 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14080 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14081   $as_echo_n "(cached) " >&6
   14082 else
   14083   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14084 /* end confdefs.h.  */
   14085 int i;
   14086 _ACEOF
   14087 if ac_fn_c_try_compile "$LINENO"; then :
   14088   xorg_cv_cc_flag_unknown_warning_option=yes
   14089 else
   14090   xorg_cv_cc_flag_unknown_warning_option=no
   14091 fi
   14092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14093 fi
   14094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14095 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14096 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14097 	CFLAGS="$xorg_testset_save_CFLAGS"
   14098 fi
   14099 
   14100 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14101 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14102 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14103 	fi
   14104 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14105 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14106 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14107 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14108   $as_echo_n "(cached) " >&6
   14109 else
   14110   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14111 /* end confdefs.h.  */
   14112 int i;
   14113 _ACEOF
   14114 if ac_fn_c_try_compile "$LINENO"; then :
   14115   xorg_cv_cc_flag_unused_command_line_argument=yes
   14116 else
   14117   xorg_cv_cc_flag_unused_command_line_argument=no
   14118 fi
   14119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14120 fi
   14121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14122 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14123 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14124 	CFLAGS="$xorg_testset_save_CFLAGS"
   14125 fi
   14126 
   14127 found="no"
   14128 
   14129 	if test $found = "no" ; then
   14130 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14131 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14132 		fi
   14133 
   14134 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14135 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14136 		fi
   14137 
   14138 		CFLAGS="$CFLAGS -Werror=init-self"
   14139 
   14140 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   14141 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   14142 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=init-self" | $as_tr_sh`
   14143 		if eval \${$cacheid+:} false; then :
   14144   $as_echo_n "(cached) " >&6
   14145 else
   14146   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14147 /* end confdefs.h.  */
   14148 int i;
   14149 int
   14150 main ()
   14151 {
   14152 
   14153   ;
   14154   return 0;
   14155 }
   14156 _ACEOF
   14157 if ac_fn_c_try_link "$LINENO"; then :
   14158   eval $cacheid=yes
   14159 else
   14160   eval $cacheid=no
   14161 fi
   14162 rm -f core conftest.err conftest.$ac_objext \
   14163     conftest$ac_exeext conftest.$ac_ext
   14164 fi
   14165 
   14166 
   14167 		CFLAGS="$xorg_testset_save_CFLAGS"
   14168 
   14169 		eval supported=\$$cacheid
   14170 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14171 $as_echo "$supported" >&6; }
   14172 		if test "$supported" = "yes" ; then
   14173 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   14174 			found="yes"
   14175 		fi
   14176 	fi
   14177 
   14178 
   14179 
   14180 
   14181 
   14182 
   14183 
   14184 
   14185 
   14186 
   14187 
   14188 
   14189 
   14190 
   14191 
   14192 xorg_testset_save_CFLAGS="$CFLAGS"
   14193 
   14194 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14195 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14196 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14197 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14198 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14199   $as_echo_n "(cached) " >&6
   14200 else
   14201   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14202 /* end confdefs.h.  */
   14203 int i;
   14204 _ACEOF
   14205 if ac_fn_c_try_compile "$LINENO"; then :
   14206   xorg_cv_cc_flag_unknown_warning_option=yes
   14207 else
   14208   xorg_cv_cc_flag_unknown_warning_option=no
   14209 fi
   14210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14211 fi
   14212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14213 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14214 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14215 	CFLAGS="$xorg_testset_save_CFLAGS"
   14216 fi
   14217 
   14218 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14219 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14220 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14221 	fi
   14222 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14223 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14224 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14225 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14226   $as_echo_n "(cached) " >&6
   14227 else
   14228   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14229 /* end confdefs.h.  */
   14230 int i;
   14231 _ACEOF
   14232 if ac_fn_c_try_compile "$LINENO"; then :
   14233   xorg_cv_cc_flag_unused_command_line_argument=yes
   14234 else
   14235   xorg_cv_cc_flag_unused_command_line_argument=no
   14236 fi
   14237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14238 fi
   14239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14240 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14241 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14242 	CFLAGS="$xorg_testset_save_CFLAGS"
   14243 fi
   14244 
   14245 found="no"
   14246 
   14247 	if test $found = "no" ; then
   14248 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14249 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14250 		fi
   14251 
   14252 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14253 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14254 		fi
   14255 
   14256 		CFLAGS="$CFLAGS -Werror=main"
   14257 
   14258 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   14259 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   14260 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=main" | $as_tr_sh`
   14261 		if eval \${$cacheid+:} false; then :
   14262   $as_echo_n "(cached) " >&6
   14263 else
   14264   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14265 /* end confdefs.h.  */
   14266 int i;
   14267 int
   14268 main ()
   14269 {
   14270 
   14271   ;
   14272   return 0;
   14273 }
   14274 _ACEOF
   14275 if ac_fn_c_try_link "$LINENO"; then :
   14276   eval $cacheid=yes
   14277 else
   14278   eval $cacheid=no
   14279 fi
   14280 rm -f core conftest.err conftest.$ac_objext \
   14281     conftest$ac_exeext conftest.$ac_ext
   14282 fi
   14283 
   14284 
   14285 		CFLAGS="$xorg_testset_save_CFLAGS"
   14286 
   14287 		eval supported=\$$cacheid
   14288 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14289 $as_echo "$supported" >&6; }
   14290 		if test "$supported" = "yes" ; then
   14291 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   14292 			found="yes"
   14293 		fi
   14294 	fi
   14295 
   14296 
   14297 
   14298 
   14299 
   14300 
   14301 
   14302 
   14303 
   14304 
   14305 
   14306 
   14307 
   14308 
   14309 
   14310 xorg_testset_save_CFLAGS="$CFLAGS"
   14311 
   14312 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14313 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14314 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14315 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14316 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14317   $as_echo_n "(cached) " >&6
   14318 else
   14319   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14320 /* end confdefs.h.  */
   14321 int i;
   14322 _ACEOF
   14323 if ac_fn_c_try_compile "$LINENO"; then :
   14324   xorg_cv_cc_flag_unknown_warning_option=yes
   14325 else
   14326   xorg_cv_cc_flag_unknown_warning_option=no
   14327 fi
   14328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14329 fi
   14330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14331 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14332 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14333 	CFLAGS="$xorg_testset_save_CFLAGS"
   14334 fi
   14335 
   14336 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14337 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14338 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14339 	fi
   14340 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14341 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14342 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14343 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14344   $as_echo_n "(cached) " >&6
   14345 else
   14346   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14347 /* end confdefs.h.  */
   14348 int i;
   14349 _ACEOF
   14350 if ac_fn_c_try_compile "$LINENO"; then :
   14351   xorg_cv_cc_flag_unused_command_line_argument=yes
   14352 else
   14353   xorg_cv_cc_flag_unused_command_line_argument=no
   14354 fi
   14355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14356 fi
   14357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14358 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14359 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14360 	CFLAGS="$xorg_testset_save_CFLAGS"
   14361 fi
   14362 
   14363 found="no"
   14364 
   14365 	if test $found = "no" ; then
   14366 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14367 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14368 		fi
   14369 
   14370 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14371 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14372 		fi
   14373 
   14374 		CFLAGS="$CFLAGS -Werror=missing-braces"
   14375 
   14376 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   14377 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   14378 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=missing-braces" | $as_tr_sh`
   14379 		if eval \${$cacheid+:} false; then :
   14380   $as_echo_n "(cached) " >&6
   14381 else
   14382   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14383 /* end confdefs.h.  */
   14384 int i;
   14385 int
   14386 main ()
   14387 {
   14388 
   14389   ;
   14390   return 0;
   14391 }
   14392 _ACEOF
   14393 if ac_fn_c_try_link "$LINENO"; then :
   14394   eval $cacheid=yes
   14395 else
   14396   eval $cacheid=no
   14397 fi
   14398 rm -f core conftest.err conftest.$ac_objext \
   14399     conftest$ac_exeext conftest.$ac_ext
   14400 fi
   14401 
   14402 
   14403 		CFLAGS="$xorg_testset_save_CFLAGS"
   14404 
   14405 		eval supported=\$$cacheid
   14406 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14407 $as_echo "$supported" >&6; }
   14408 		if test "$supported" = "yes" ; then
   14409 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   14410 			found="yes"
   14411 		fi
   14412 	fi
   14413 
   14414 
   14415 
   14416 
   14417 
   14418 
   14419 
   14420 
   14421 
   14422 
   14423 
   14424 
   14425 
   14426 
   14427 
   14428 xorg_testset_save_CFLAGS="$CFLAGS"
   14429 
   14430 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14431 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14432 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14433 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14434 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14435   $as_echo_n "(cached) " >&6
   14436 else
   14437   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14438 /* end confdefs.h.  */
   14439 int i;
   14440 _ACEOF
   14441 if ac_fn_c_try_compile "$LINENO"; then :
   14442   xorg_cv_cc_flag_unknown_warning_option=yes
   14443 else
   14444   xorg_cv_cc_flag_unknown_warning_option=no
   14445 fi
   14446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14447 fi
   14448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14449 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14450 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14451 	CFLAGS="$xorg_testset_save_CFLAGS"
   14452 fi
   14453 
   14454 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14455 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14456 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14457 	fi
   14458 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14459 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14460 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14461 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14462   $as_echo_n "(cached) " >&6
   14463 else
   14464   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14465 /* end confdefs.h.  */
   14466 int i;
   14467 _ACEOF
   14468 if ac_fn_c_try_compile "$LINENO"; then :
   14469   xorg_cv_cc_flag_unused_command_line_argument=yes
   14470 else
   14471   xorg_cv_cc_flag_unused_command_line_argument=no
   14472 fi
   14473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14474 fi
   14475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14476 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14477 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14478 	CFLAGS="$xorg_testset_save_CFLAGS"
   14479 fi
   14480 
   14481 found="no"
   14482 
   14483 	if test $found = "no" ; then
   14484 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14485 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14486 		fi
   14487 
   14488 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14489 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14490 		fi
   14491 
   14492 		CFLAGS="$CFLAGS -Werror=sequence-point"
   14493 
   14494 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   14495 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   14496 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=sequence-point" | $as_tr_sh`
   14497 		if eval \${$cacheid+:} false; then :
   14498   $as_echo_n "(cached) " >&6
   14499 else
   14500   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14501 /* end confdefs.h.  */
   14502 int i;
   14503 int
   14504 main ()
   14505 {
   14506 
   14507   ;
   14508   return 0;
   14509 }
   14510 _ACEOF
   14511 if ac_fn_c_try_link "$LINENO"; then :
   14512   eval $cacheid=yes
   14513 else
   14514   eval $cacheid=no
   14515 fi
   14516 rm -f core conftest.err conftest.$ac_objext \
   14517     conftest$ac_exeext conftest.$ac_ext
   14518 fi
   14519 
   14520 
   14521 		CFLAGS="$xorg_testset_save_CFLAGS"
   14522 
   14523 		eval supported=\$$cacheid
   14524 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14525 $as_echo "$supported" >&6; }
   14526 		if test "$supported" = "yes" ; then
   14527 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   14528 			found="yes"
   14529 		fi
   14530 	fi
   14531 
   14532 
   14533 
   14534 
   14535 
   14536 
   14537 
   14538 
   14539 
   14540 
   14541 
   14542 
   14543 
   14544 
   14545 
   14546 xorg_testset_save_CFLAGS="$CFLAGS"
   14547 
   14548 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14549 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14550 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14551 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14552 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14553   $as_echo_n "(cached) " >&6
   14554 else
   14555   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14556 /* end confdefs.h.  */
   14557 int i;
   14558 _ACEOF
   14559 if ac_fn_c_try_compile "$LINENO"; then :
   14560   xorg_cv_cc_flag_unknown_warning_option=yes
   14561 else
   14562   xorg_cv_cc_flag_unknown_warning_option=no
   14563 fi
   14564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14565 fi
   14566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14567 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14568 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14569 	CFLAGS="$xorg_testset_save_CFLAGS"
   14570 fi
   14571 
   14572 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14573 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14574 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14575 	fi
   14576 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14577 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14578 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14579 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14580   $as_echo_n "(cached) " >&6
   14581 else
   14582   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14583 /* end confdefs.h.  */
   14584 int i;
   14585 _ACEOF
   14586 if ac_fn_c_try_compile "$LINENO"; then :
   14587   xorg_cv_cc_flag_unused_command_line_argument=yes
   14588 else
   14589   xorg_cv_cc_flag_unused_command_line_argument=no
   14590 fi
   14591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14592 fi
   14593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14594 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14595 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14596 	CFLAGS="$xorg_testset_save_CFLAGS"
   14597 fi
   14598 
   14599 found="no"
   14600 
   14601 	if test $found = "no" ; then
   14602 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14603 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14604 		fi
   14605 
   14606 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14607 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14608 		fi
   14609 
   14610 		CFLAGS="$CFLAGS -Werror=return-type"
   14611 
   14612 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   14613 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   14614 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=return-type" | $as_tr_sh`
   14615 		if eval \${$cacheid+:} false; then :
   14616   $as_echo_n "(cached) " >&6
   14617 else
   14618   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14619 /* end confdefs.h.  */
   14620 int i;
   14621 int
   14622 main ()
   14623 {
   14624 
   14625   ;
   14626   return 0;
   14627 }
   14628 _ACEOF
   14629 if ac_fn_c_try_link "$LINENO"; then :
   14630   eval $cacheid=yes
   14631 else
   14632   eval $cacheid=no
   14633 fi
   14634 rm -f core conftest.err conftest.$ac_objext \
   14635     conftest$ac_exeext conftest.$ac_ext
   14636 fi
   14637 
   14638 
   14639 		CFLAGS="$xorg_testset_save_CFLAGS"
   14640 
   14641 		eval supported=\$$cacheid
   14642 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14643 $as_echo "$supported" >&6; }
   14644 		if test "$supported" = "yes" ; then
   14645 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   14646 			found="yes"
   14647 		fi
   14648 	fi
   14649 
   14650 	if test $found = "no" ; then
   14651 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14652 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14653 		fi
   14654 
   14655 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14656 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14657 		fi
   14658 
   14659 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   14660 
   14661 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   14662 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   14663 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_FUNC_HAS_NO_RETURN_STMT" | $as_tr_sh`
   14664 		if eval \${$cacheid+:} false; then :
   14665   $as_echo_n "(cached) " >&6
   14666 else
   14667   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14668 /* end confdefs.h.  */
   14669 int i;
   14670 int
   14671 main ()
   14672 {
   14673 
   14674   ;
   14675   return 0;
   14676 }
   14677 _ACEOF
   14678 if ac_fn_c_try_link "$LINENO"; then :
   14679   eval $cacheid=yes
   14680 else
   14681   eval $cacheid=no
   14682 fi
   14683 rm -f core conftest.err conftest.$ac_objext \
   14684     conftest$ac_exeext conftest.$ac_ext
   14685 fi
   14686 
   14687 
   14688 		CFLAGS="$xorg_testset_save_CFLAGS"
   14689 
   14690 		eval supported=\$$cacheid
   14691 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14692 $as_echo "$supported" >&6; }
   14693 		if test "$supported" = "yes" ; then
   14694 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   14695 			found="yes"
   14696 		fi
   14697 	fi
   14698 
   14699 
   14700 
   14701 
   14702 
   14703 
   14704 
   14705 
   14706 
   14707 
   14708 
   14709 
   14710 
   14711 
   14712 
   14713 xorg_testset_save_CFLAGS="$CFLAGS"
   14714 
   14715 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14716 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14717 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14718 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14719 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14720   $as_echo_n "(cached) " >&6
   14721 else
   14722   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14723 /* end confdefs.h.  */
   14724 int i;
   14725 _ACEOF
   14726 if ac_fn_c_try_compile "$LINENO"; then :
   14727   xorg_cv_cc_flag_unknown_warning_option=yes
   14728 else
   14729   xorg_cv_cc_flag_unknown_warning_option=no
   14730 fi
   14731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14732 fi
   14733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14734 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14735 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14736 	CFLAGS="$xorg_testset_save_CFLAGS"
   14737 fi
   14738 
   14739 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14740 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14741 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14742 	fi
   14743 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14744 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14745 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14746 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14747   $as_echo_n "(cached) " >&6
   14748 else
   14749   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14750 /* end confdefs.h.  */
   14751 int i;
   14752 _ACEOF
   14753 if ac_fn_c_try_compile "$LINENO"; then :
   14754   xorg_cv_cc_flag_unused_command_line_argument=yes
   14755 else
   14756   xorg_cv_cc_flag_unused_command_line_argument=no
   14757 fi
   14758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14759 fi
   14760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14761 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14762 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14763 	CFLAGS="$xorg_testset_save_CFLAGS"
   14764 fi
   14765 
   14766 found="no"
   14767 
   14768 	if test $found = "no" ; then
   14769 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14770 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14771 		fi
   14772 
   14773 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14774 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14775 		fi
   14776 
   14777 		CFLAGS="$CFLAGS -Werror=trigraphs"
   14778 
   14779 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   14780 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   14781 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=trigraphs" | $as_tr_sh`
   14782 		if eval \${$cacheid+:} false; then :
   14783   $as_echo_n "(cached) " >&6
   14784 else
   14785   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14786 /* end confdefs.h.  */
   14787 int i;
   14788 int
   14789 main ()
   14790 {
   14791 
   14792   ;
   14793   return 0;
   14794 }
   14795 _ACEOF
   14796 if ac_fn_c_try_link "$LINENO"; then :
   14797   eval $cacheid=yes
   14798 else
   14799   eval $cacheid=no
   14800 fi
   14801 rm -f core conftest.err conftest.$ac_objext \
   14802     conftest$ac_exeext conftest.$ac_ext
   14803 fi
   14804 
   14805 
   14806 		CFLAGS="$xorg_testset_save_CFLAGS"
   14807 
   14808 		eval supported=\$$cacheid
   14809 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14810 $as_echo "$supported" >&6; }
   14811 		if test "$supported" = "yes" ; then
   14812 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   14813 			found="yes"
   14814 		fi
   14815 	fi
   14816 
   14817 
   14818 
   14819 
   14820 
   14821 
   14822 
   14823 
   14824 
   14825 
   14826 
   14827 
   14828 
   14829 
   14830 
   14831 xorg_testset_save_CFLAGS="$CFLAGS"
   14832 
   14833 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14834 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14835 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14836 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14837 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14838   $as_echo_n "(cached) " >&6
   14839 else
   14840   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14841 /* end confdefs.h.  */
   14842 int i;
   14843 _ACEOF
   14844 if ac_fn_c_try_compile "$LINENO"; then :
   14845   xorg_cv_cc_flag_unknown_warning_option=yes
   14846 else
   14847   xorg_cv_cc_flag_unknown_warning_option=no
   14848 fi
   14849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14850 fi
   14851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14852 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14853 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14854 	CFLAGS="$xorg_testset_save_CFLAGS"
   14855 fi
   14856 
   14857 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14858 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14859 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14860 	fi
   14861 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14862 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14863 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14864 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14865   $as_echo_n "(cached) " >&6
   14866 else
   14867   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14868 /* end confdefs.h.  */
   14869 int i;
   14870 _ACEOF
   14871 if ac_fn_c_try_compile "$LINENO"; then :
   14872   xorg_cv_cc_flag_unused_command_line_argument=yes
   14873 else
   14874   xorg_cv_cc_flag_unused_command_line_argument=no
   14875 fi
   14876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14877 fi
   14878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14879 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14880 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14881 	CFLAGS="$xorg_testset_save_CFLAGS"
   14882 fi
   14883 
   14884 found="no"
   14885 
   14886 	if test $found = "no" ; then
   14887 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14888 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14889 		fi
   14890 
   14891 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14892 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14893 		fi
   14894 
   14895 		CFLAGS="$CFLAGS -Werror=array-bounds"
   14896 
   14897 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   14898 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   14899 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=array-bounds" | $as_tr_sh`
   14900 		if eval \${$cacheid+:} false; then :
   14901   $as_echo_n "(cached) " >&6
   14902 else
   14903   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14904 /* end confdefs.h.  */
   14905 int i;
   14906 int
   14907 main ()
   14908 {
   14909 
   14910   ;
   14911   return 0;
   14912 }
   14913 _ACEOF
   14914 if ac_fn_c_try_link "$LINENO"; then :
   14915   eval $cacheid=yes
   14916 else
   14917   eval $cacheid=no
   14918 fi
   14919 rm -f core conftest.err conftest.$ac_objext \
   14920     conftest$ac_exeext conftest.$ac_ext
   14921 fi
   14922 
   14923 
   14924 		CFLAGS="$xorg_testset_save_CFLAGS"
   14925 
   14926 		eval supported=\$$cacheid
   14927 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14928 $as_echo "$supported" >&6; }
   14929 		if test "$supported" = "yes" ; then
   14930 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   14931 			found="yes"
   14932 		fi
   14933 	fi
   14934 
   14935 
   14936 
   14937 
   14938 
   14939 
   14940 
   14941 
   14942 
   14943 
   14944 
   14945 
   14946 
   14947 
   14948 
   14949 xorg_testset_save_CFLAGS="$CFLAGS"
   14950 
   14951 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14952 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14953 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14954 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14955 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14956   $as_echo_n "(cached) " >&6
   14957 else
   14958   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14959 /* end confdefs.h.  */
   14960 int i;
   14961 _ACEOF
   14962 if ac_fn_c_try_compile "$LINENO"; then :
   14963   xorg_cv_cc_flag_unknown_warning_option=yes
   14964 else
   14965   xorg_cv_cc_flag_unknown_warning_option=no
   14966 fi
   14967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14968 fi
   14969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14970 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14971 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14972 	CFLAGS="$xorg_testset_save_CFLAGS"
   14973 fi
   14974 
   14975 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14976 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14977 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14978 	fi
   14979 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14980 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14981 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14982 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14983   $as_echo_n "(cached) " >&6
   14984 else
   14985   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14986 /* end confdefs.h.  */
   14987 int i;
   14988 _ACEOF
   14989 if ac_fn_c_try_compile "$LINENO"; then :
   14990   xorg_cv_cc_flag_unused_command_line_argument=yes
   14991 else
   14992   xorg_cv_cc_flag_unused_command_line_argument=no
   14993 fi
   14994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14995 fi
   14996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14997 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14998 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14999 	CFLAGS="$xorg_testset_save_CFLAGS"
   15000 fi
   15001 
   15002 found="no"
   15003 
   15004 	if test $found = "no" ; then
   15005 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15006 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15007 		fi
   15008 
   15009 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15010 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15011 		fi
   15012 
   15013 		CFLAGS="$CFLAGS -Werror=write-strings"
   15014 
   15015 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   15016 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   15017 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=write-strings" | $as_tr_sh`
   15018 		if eval \${$cacheid+:} false; then :
   15019   $as_echo_n "(cached) " >&6
   15020 else
   15021   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15022 /* end confdefs.h.  */
   15023 int i;
   15024 int
   15025 main ()
   15026 {
   15027 
   15028   ;
   15029   return 0;
   15030 }
   15031 _ACEOF
   15032 if ac_fn_c_try_link "$LINENO"; then :
   15033   eval $cacheid=yes
   15034 else
   15035   eval $cacheid=no
   15036 fi
   15037 rm -f core conftest.err conftest.$ac_objext \
   15038     conftest$ac_exeext conftest.$ac_ext
   15039 fi
   15040 
   15041 
   15042 		CFLAGS="$xorg_testset_save_CFLAGS"
   15043 
   15044 		eval supported=\$$cacheid
   15045 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15046 $as_echo "$supported" >&6; }
   15047 		if test "$supported" = "yes" ; then
   15048 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   15049 			found="yes"
   15050 		fi
   15051 	fi
   15052 
   15053 
   15054 
   15055 
   15056 
   15057 
   15058 
   15059 
   15060 
   15061 
   15062 
   15063 
   15064 
   15065 
   15066 
   15067 xorg_testset_save_CFLAGS="$CFLAGS"
   15068 
   15069 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15070 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15071 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15072 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15073 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15074   $as_echo_n "(cached) " >&6
   15075 else
   15076   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15077 /* end confdefs.h.  */
   15078 int i;
   15079 _ACEOF
   15080 if ac_fn_c_try_compile "$LINENO"; then :
   15081   xorg_cv_cc_flag_unknown_warning_option=yes
   15082 else
   15083   xorg_cv_cc_flag_unknown_warning_option=no
   15084 fi
   15085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15086 fi
   15087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15088 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15089 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15090 	CFLAGS="$xorg_testset_save_CFLAGS"
   15091 fi
   15092 
   15093 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15094 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15095 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15096 	fi
   15097 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15098 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15099 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15100 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15101   $as_echo_n "(cached) " >&6
   15102 else
   15103   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15104 /* end confdefs.h.  */
   15105 int i;
   15106 _ACEOF
   15107 if ac_fn_c_try_compile "$LINENO"; then :
   15108   xorg_cv_cc_flag_unused_command_line_argument=yes
   15109 else
   15110   xorg_cv_cc_flag_unused_command_line_argument=no
   15111 fi
   15112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15113 fi
   15114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15115 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15116 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15117 	CFLAGS="$xorg_testset_save_CFLAGS"
   15118 fi
   15119 
   15120 found="no"
   15121 
   15122 	if test $found = "no" ; then
   15123 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15124 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15125 		fi
   15126 
   15127 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15128 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15129 		fi
   15130 
   15131 		CFLAGS="$CFLAGS -Werror=address"
   15132 
   15133 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   15134 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   15135 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=address" | $as_tr_sh`
   15136 		if eval \${$cacheid+:} false; then :
   15137   $as_echo_n "(cached) " >&6
   15138 else
   15139   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15140 /* end confdefs.h.  */
   15141 int i;
   15142 int
   15143 main ()
   15144 {
   15145 
   15146   ;
   15147   return 0;
   15148 }
   15149 _ACEOF
   15150 if ac_fn_c_try_link "$LINENO"; then :
   15151   eval $cacheid=yes
   15152 else
   15153   eval $cacheid=no
   15154 fi
   15155 rm -f core conftest.err conftest.$ac_objext \
   15156     conftest$ac_exeext conftest.$ac_ext
   15157 fi
   15158 
   15159 
   15160 		CFLAGS="$xorg_testset_save_CFLAGS"
   15161 
   15162 		eval supported=\$$cacheid
   15163 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15164 $as_echo "$supported" >&6; }
   15165 		if test "$supported" = "yes" ; then
   15166 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   15167 			found="yes"
   15168 		fi
   15169 	fi
   15170 
   15171 
   15172 
   15173 
   15174 
   15175 
   15176 
   15177 
   15178 
   15179 
   15180 
   15181 
   15182 
   15183 
   15184 
   15185 xorg_testset_save_CFLAGS="$CFLAGS"
   15186 
   15187 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15188 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15189 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15190 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15191 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15192   $as_echo_n "(cached) " >&6
   15193 else
   15194   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15195 /* end confdefs.h.  */
   15196 int i;
   15197 _ACEOF
   15198 if ac_fn_c_try_compile "$LINENO"; then :
   15199   xorg_cv_cc_flag_unknown_warning_option=yes
   15200 else
   15201   xorg_cv_cc_flag_unknown_warning_option=no
   15202 fi
   15203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15204 fi
   15205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15206 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15207 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15208 	CFLAGS="$xorg_testset_save_CFLAGS"
   15209 fi
   15210 
   15211 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15212 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15213 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15214 	fi
   15215 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15216 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15217 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15218 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15219   $as_echo_n "(cached) " >&6
   15220 else
   15221   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15222 /* end confdefs.h.  */
   15223 int i;
   15224 _ACEOF
   15225 if ac_fn_c_try_compile "$LINENO"; then :
   15226   xorg_cv_cc_flag_unused_command_line_argument=yes
   15227 else
   15228   xorg_cv_cc_flag_unused_command_line_argument=no
   15229 fi
   15230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15231 fi
   15232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15233 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15234 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15235 	CFLAGS="$xorg_testset_save_CFLAGS"
   15236 fi
   15237 
   15238 found="no"
   15239 
   15240 	if test $found = "no" ; then
   15241 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15242 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15243 		fi
   15244 
   15245 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15246 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15247 		fi
   15248 
   15249 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   15250 
   15251 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   15252 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   15253 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=int-to-pointer-cast" | $as_tr_sh`
   15254 		if eval \${$cacheid+:} false; then :
   15255   $as_echo_n "(cached) " >&6
   15256 else
   15257   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15258 /* end confdefs.h.  */
   15259 int i;
   15260 int
   15261 main ()
   15262 {
   15263 
   15264   ;
   15265   return 0;
   15266 }
   15267 _ACEOF
   15268 if ac_fn_c_try_link "$LINENO"; then :
   15269   eval $cacheid=yes
   15270 else
   15271   eval $cacheid=no
   15272 fi
   15273 rm -f core conftest.err conftest.$ac_objext \
   15274     conftest$ac_exeext conftest.$ac_ext
   15275 fi
   15276 
   15277 
   15278 		CFLAGS="$xorg_testset_save_CFLAGS"
   15279 
   15280 		eval supported=\$$cacheid
   15281 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15282 $as_echo "$supported" >&6; }
   15283 		if test "$supported" = "yes" ; then
   15284 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   15285 			found="yes"
   15286 		fi
   15287 	fi
   15288 
   15289 	if test $found = "no" ; then
   15290 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15291 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15292 		fi
   15293 
   15294 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15295 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15296 		fi
   15297 
   15298 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15299 
   15300 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   15301 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   15302 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_BAD_PTR_INT_COMBINATION" | $as_tr_sh`
   15303 		if eval \${$cacheid+:} false; then :
   15304   $as_echo_n "(cached) " >&6
   15305 else
   15306   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15307 /* end confdefs.h.  */
   15308 int i;
   15309 int
   15310 main ()
   15311 {
   15312 
   15313   ;
   15314   return 0;
   15315 }
   15316 _ACEOF
   15317 if ac_fn_c_try_link "$LINENO"; then :
   15318   eval $cacheid=yes
   15319 else
   15320   eval $cacheid=no
   15321 fi
   15322 rm -f core conftest.err conftest.$ac_objext \
   15323     conftest$ac_exeext conftest.$ac_ext
   15324 fi
   15325 
   15326 
   15327 		CFLAGS="$xorg_testset_save_CFLAGS"
   15328 
   15329 		eval supported=\$$cacheid
   15330 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15331 $as_echo "$supported" >&6; }
   15332 		if test "$supported" = "yes" ; then
   15333 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15334 			found="yes"
   15335 		fi
   15336 	fi
   15337 
   15338 
   15339 
   15340 
   15341 
   15342 
   15343 
   15344 
   15345 
   15346 
   15347 
   15348 
   15349 
   15350 
   15351 
   15352 xorg_testset_save_CFLAGS="$CFLAGS"
   15353 
   15354 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15355 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15356 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15357 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15358 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15359   $as_echo_n "(cached) " >&6
   15360 else
   15361   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15362 /* end confdefs.h.  */
   15363 int i;
   15364 _ACEOF
   15365 if ac_fn_c_try_compile "$LINENO"; then :
   15366   xorg_cv_cc_flag_unknown_warning_option=yes
   15367 else
   15368   xorg_cv_cc_flag_unknown_warning_option=no
   15369 fi
   15370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15371 fi
   15372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15373 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15374 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15375 	CFLAGS="$xorg_testset_save_CFLAGS"
   15376 fi
   15377 
   15378 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15379 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15380 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15381 	fi
   15382 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15383 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15384 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15385 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15386   $as_echo_n "(cached) " >&6
   15387 else
   15388   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15389 /* end confdefs.h.  */
   15390 int i;
   15391 _ACEOF
   15392 if ac_fn_c_try_compile "$LINENO"; then :
   15393   xorg_cv_cc_flag_unused_command_line_argument=yes
   15394 else
   15395   xorg_cv_cc_flag_unused_command_line_argument=no
   15396 fi
   15397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15398 fi
   15399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15400 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15401 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15402 	CFLAGS="$xorg_testset_save_CFLAGS"
   15403 fi
   15404 
   15405 found="no"
   15406 
   15407 	if test $found = "no" ; then
   15408 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15409 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15410 		fi
   15411 
   15412 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15413 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15414 		fi
   15415 
   15416 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   15417 
   15418 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   15419 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   15420 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=pointer-to-int-cast" | $as_tr_sh`
   15421 		if eval \${$cacheid+:} false; then :
   15422   $as_echo_n "(cached) " >&6
   15423 else
   15424   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15425 /* end confdefs.h.  */
   15426 int i;
   15427 int
   15428 main ()
   15429 {
   15430 
   15431   ;
   15432   return 0;
   15433 }
   15434 _ACEOF
   15435 if ac_fn_c_try_link "$LINENO"; then :
   15436   eval $cacheid=yes
   15437 else
   15438   eval $cacheid=no
   15439 fi
   15440 rm -f core conftest.err conftest.$ac_objext \
   15441     conftest$ac_exeext conftest.$ac_ext
   15442 fi
   15443 
   15444 
   15445 		CFLAGS="$xorg_testset_save_CFLAGS"
   15446 
   15447 		eval supported=\$$cacheid
   15448 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15449 $as_echo "$supported" >&6; }
   15450 		if test "$supported" = "yes" ; then
   15451 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   15452 			found="yes"
   15453 		fi
   15454 	fi
   15455 
   15456  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   15457 else
   15458 { $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
   15459 $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;}
   15460 
   15461 
   15462 
   15463 
   15464 
   15465 
   15466 
   15467 
   15468 
   15469 
   15470 
   15471 
   15472 
   15473 xorg_testset_save_CFLAGS="$CFLAGS"
   15474 
   15475 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15476 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15477 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15478 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15479 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15480   $as_echo_n "(cached) " >&6
   15481 else
   15482   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15483 /* end confdefs.h.  */
   15484 int i;
   15485 _ACEOF
   15486 if ac_fn_c_try_compile "$LINENO"; then :
   15487   xorg_cv_cc_flag_unknown_warning_option=yes
   15488 else
   15489   xorg_cv_cc_flag_unknown_warning_option=no
   15490 fi
   15491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15492 fi
   15493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15494 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15495 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15496 	CFLAGS="$xorg_testset_save_CFLAGS"
   15497 fi
   15498 
   15499 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15500 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15501 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15502 	fi
   15503 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15504 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15505 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15506 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15507   $as_echo_n "(cached) " >&6
   15508 else
   15509   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15510 /* end confdefs.h.  */
   15511 int i;
   15512 _ACEOF
   15513 if ac_fn_c_try_compile "$LINENO"; then :
   15514   xorg_cv_cc_flag_unused_command_line_argument=yes
   15515 else
   15516   xorg_cv_cc_flag_unused_command_line_argument=no
   15517 fi
   15518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15519 fi
   15520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15521 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15522 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15523 	CFLAGS="$xorg_testset_save_CFLAGS"
   15524 fi
   15525 
   15526 found="no"
   15527 
   15528 	if test $found = "no" ; then
   15529 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15530 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15531 		fi
   15532 
   15533 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15534 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15535 		fi
   15536 
   15537 		CFLAGS="$CFLAGS -Wimplicit"
   15538 
   15539 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   15540 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   15541 		cacheid=xorg_cv_cc_flag__Wimplicit
   15542 		if eval \${$cacheid+:} false; then :
   15543   $as_echo_n "(cached) " >&6
   15544 else
   15545   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15546 /* end confdefs.h.  */
   15547 int i;
   15548 int
   15549 main ()
   15550 {
   15551 
   15552   ;
   15553   return 0;
   15554 }
   15555 _ACEOF
   15556 if ac_fn_c_try_link "$LINENO"; then :
   15557   eval $cacheid=yes
   15558 else
   15559   eval $cacheid=no
   15560 fi
   15561 rm -f core conftest.err conftest.$ac_objext \
   15562     conftest$ac_exeext conftest.$ac_ext
   15563 fi
   15564 
   15565 
   15566 		CFLAGS="$xorg_testset_save_CFLAGS"
   15567 
   15568 		eval supported=\$$cacheid
   15569 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15570 $as_echo "$supported" >&6; }
   15571 		if test "$supported" = "yes" ; then
   15572 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   15573 			found="yes"
   15574 		fi
   15575 	fi
   15576 
   15577 
   15578 
   15579 
   15580 
   15581 
   15582 
   15583 
   15584 
   15585 
   15586 
   15587 
   15588 
   15589 
   15590 
   15591 xorg_testset_save_CFLAGS="$CFLAGS"
   15592 
   15593 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15594 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15595 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15596 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15597 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15598   $as_echo_n "(cached) " >&6
   15599 else
   15600   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15601 /* end confdefs.h.  */
   15602 int i;
   15603 _ACEOF
   15604 if ac_fn_c_try_compile "$LINENO"; then :
   15605   xorg_cv_cc_flag_unknown_warning_option=yes
   15606 else
   15607   xorg_cv_cc_flag_unknown_warning_option=no
   15608 fi
   15609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15610 fi
   15611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15612 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15613 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15614 	CFLAGS="$xorg_testset_save_CFLAGS"
   15615 fi
   15616 
   15617 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15618 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15619 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15620 	fi
   15621 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15622 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15623 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15624 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15625   $as_echo_n "(cached) " >&6
   15626 else
   15627   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15628 /* end confdefs.h.  */
   15629 int i;
   15630 _ACEOF
   15631 if ac_fn_c_try_compile "$LINENO"; then :
   15632   xorg_cv_cc_flag_unused_command_line_argument=yes
   15633 else
   15634   xorg_cv_cc_flag_unused_command_line_argument=no
   15635 fi
   15636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15637 fi
   15638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15639 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15640 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15641 	CFLAGS="$xorg_testset_save_CFLAGS"
   15642 fi
   15643 
   15644 found="no"
   15645 
   15646 	if test $found = "no" ; then
   15647 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15648 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15649 		fi
   15650 
   15651 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15652 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15653 		fi
   15654 
   15655 		CFLAGS="$CFLAGS -Wnonnull"
   15656 
   15657 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   15658 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   15659 		cacheid=xorg_cv_cc_flag__Wnonnull
   15660 		if eval \${$cacheid+:} false; then :
   15661   $as_echo_n "(cached) " >&6
   15662 else
   15663   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15664 /* end confdefs.h.  */
   15665 int i;
   15666 int
   15667 main ()
   15668 {
   15669 
   15670   ;
   15671   return 0;
   15672 }
   15673 _ACEOF
   15674 if ac_fn_c_try_link "$LINENO"; then :
   15675   eval $cacheid=yes
   15676 else
   15677   eval $cacheid=no
   15678 fi
   15679 rm -f core conftest.err conftest.$ac_objext \
   15680     conftest$ac_exeext conftest.$ac_ext
   15681 fi
   15682 
   15683 
   15684 		CFLAGS="$xorg_testset_save_CFLAGS"
   15685 
   15686 		eval supported=\$$cacheid
   15687 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15688 $as_echo "$supported" >&6; }
   15689 		if test "$supported" = "yes" ; then
   15690 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   15691 			found="yes"
   15692 		fi
   15693 	fi
   15694 
   15695 
   15696 
   15697 
   15698 
   15699 
   15700 
   15701 
   15702 
   15703 
   15704 
   15705 
   15706 
   15707 
   15708 
   15709 xorg_testset_save_CFLAGS="$CFLAGS"
   15710 
   15711 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15712 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15713 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15714 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15715 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15716   $as_echo_n "(cached) " >&6
   15717 else
   15718   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15719 /* end confdefs.h.  */
   15720 int i;
   15721 _ACEOF
   15722 if ac_fn_c_try_compile "$LINENO"; then :
   15723   xorg_cv_cc_flag_unknown_warning_option=yes
   15724 else
   15725   xorg_cv_cc_flag_unknown_warning_option=no
   15726 fi
   15727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15728 fi
   15729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15730 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15731 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15732 	CFLAGS="$xorg_testset_save_CFLAGS"
   15733 fi
   15734 
   15735 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15736 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15737 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15738 	fi
   15739 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15740 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15741 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15742 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15743   $as_echo_n "(cached) " >&6
   15744 else
   15745   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15746 /* end confdefs.h.  */
   15747 int i;
   15748 _ACEOF
   15749 if ac_fn_c_try_compile "$LINENO"; then :
   15750   xorg_cv_cc_flag_unused_command_line_argument=yes
   15751 else
   15752   xorg_cv_cc_flag_unused_command_line_argument=no
   15753 fi
   15754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15755 fi
   15756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15757 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15758 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15759 	CFLAGS="$xorg_testset_save_CFLAGS"
   15760 fi
   15761 
   15762 found="no"
   15763 
   15764 	if test $found = "no" ; then
   15765 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15766 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15767 		fi
   15768 
   15769 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15770 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15771 		fi
   15772 
   15773 		CFLAGS="$CFLAGS -Winit-self"
   15774 
   15775 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   15776 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   15777 		cacheid=xorg_cv_cc_flag__Winit_self
   15778 		if eval \${$cacheid+:} false; then :
   15779   $as_echo_n "(cached) " >&6
   15780 else
   15781   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15782 /* end confdefs.h.  */
   15783 int i;
   15784 int
   15785 main ()
   15786 {
   15787 
   15788   ;
   15789   return 0;
   15790 }
   15791 _ACEOF
   15792 if ac_fn_c_try_link "$LINENO"; then :
   15793   eval $cacheid=yes
   15794 else
   15795   eval $cacheid=no
   15796 fi
   15797 rm -f core conftest.err conftest.$ac_objext \
   15798     conftest$ac_exeext conftest.$ac_ext
   15799 fi
   15800 
   15801 
   15802 		CFLAGS="$xorg_testset_save_CFLAGS"
   15803 
   15804 		eval supported=\$$cacheid
   15805 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15806 $as_echo "$supported" >&6; }
   15807 		if test "$supported" = "yes" ; then
   15808 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   15809 			found="yes"
   15810 		fi
   15811 	fi
   15812 
   15813 
   15814 
   15815 
   15816 
   15817 
   15818 
   15819 
   15820 
   15821 
   15822 
   15823 
   15824 
   15825 
   15826 
   15827 xorg_testset_save_CFLAGS="$CFLAGS"
   15828 
   15829 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15830 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15831 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15832 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15833 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15834   $as_echo_n "(cached) " >&6
   15835 else
   15836   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15837 /* end confdefs.h.  */
   15838 int i;
   15839 _ACEOF
   15840 if ac_fn_c_try_compile "$LINENO"; then :
   15841   xorg_cv_cc_flag_unknown_warning_option=yes
   15842 else
   15843   xorg_cv_cc_flag_unknown_warning_option=no
   15844 fi
   15845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15846 fi
   15847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15848 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15849 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15850 	CFLAGS="$xorg_testset_save_CFLAGS"
   15851 fi
   15852 
   15853 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15854 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15855 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15856 	fi
   15857 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15858 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15859 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15860 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15861   $as_echo_n "(cached) " >&6
   15862 else
   15863   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15864 /* end confdefs.h.  */
   15865 int i;
   15866 _ACEOF
   15867 if ac_fn_c_try_compile "$LINENO"; then :
   15868   xorg_cv_cc_flag_unused_command_line_argument=yes
   15869 else
   15870   xorg_cv_cc_flag_unused_command_line_argument=no
   15871 fi
   15872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15873 fi
   15874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15875 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15876 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15877 	CFLAGS="$xorg_testset_save_CFLAGS"
   15878 fi
   15879 
   15880 found="no"
   15881 
   15882 	if test $found = "no" ; then
   15883 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15884 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15885 		fi
   15886 
   15887 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15888 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15889 		fi
   15890 
   15891 		CFLAGS="$CFLAGS -Wmain"
   15892 
   15893 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   15894 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   15895 		cacheid=xorg_cv_cc_flag__Wmain
   15896 		if eval \${$cacheid+:} false; then :
   15897   $as_echo_n "(cached) " >&6
   15898 else
   15899   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15900 /* end confdefs.h.  */
   15901 int i;
   15902 int
   15903 main ()
   15904 {
   15905 
   15906   ;
   15907   return 0;
   15908 }
   15909 _ACEOF
   15910 if ac_fn_c_try_link "$LINENO"; then :
   15911   eval $cacheid=yes
   15912 else
   15913   eval $cacheid=no
   15914 fi
   15915 rm -f core conftest.err conftest.$ac_objext \
   15916     conftest$ac_exeext conftest.$ac_ext
   15917 fi
   15918 
   15919 
   15920 		CFLAGS="$xorg_testset_save_CFLAGS"
   15921 
   15922 		eval supported=\$$cacheid
   15923 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15924 $as_echo "$supported" >&6; }
   15925 		if test "$supported" = "yes" ; then
   15926 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   15927 			found="yes"
   15928 		fi
   15929 	fi
   15930 
   15931 
   15932 
   15933 
   15934 
   15935 
   15936 
   15937 
   15938 
   15939 
   15940 
   15941 
   15942 
   15943 
   15944 
   15945 xorg_testset_save_CFLAGS="$CFLAGS"
   15946 
   15947 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15948 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15949 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15950 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15951 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15952   $as_echo_n "(cached) " >&6
   15953 else
   15954   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15955 /* end confdefs.h.  */
   15956 int i;
   15957 _ACEOF
   15958 if ac_fn_c_try_compile "$LINENO"; then :
   15959   xorg_cv_cc_flag_unknown_warning_option=yes
   15960 else
   15961   xorg_cv_cc_flag_unknown_warning_option=no
   15962 fi
   15963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15964 fi
   15965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15966 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15967 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15968 	CFLAGS="$xorg_testset_save_CFLAGS"
   15969 fi
   15970 
   15971 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15972 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15973 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15974 	fi
   15975 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15976 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15977 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15978 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15979   $as_echo_n "(cached) " >&6
   15980 else
   15981   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15982 /* end confdefs.h.  */
   15983 int i;
   15984 _ACEOF
   15985 if ac_fn_c_try_compile "$LINENO"; then :
   15986   xorg_cv_cc_flag_unused_command_line_argument=yes
   15987 else
   15988   xorg_cv_cc_flag_unused_command_line_argument=no
   15989 fi
   15990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15991 fi
   15992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15993 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15994 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15995 	CFLAGS="$xorg_testset_save_CFLAGS"
   15996 fi
   15997 
   15998 found="no"
   15999 
   16000 	if test $found = "no" ; then
   16001 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16002 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16003 		fi
   16004 
   16005 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16006 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16007 		fi
   16008 
   16009 		CFLAGS="$CFLAGS -Wmissing-braces"
   16010 
   16011 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   16012 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   16013 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   16014 		if eval \${$cacheid+:} false; then :
   16015   $as_echo_n "(cached) " >&6
   16016 else
   16017   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16018 /* end confdefs.h.  */
   16019 int i;
   16020 int
   16021 main ()
   16022 {
   16023 
   16024   ;
   16025   return 0;
   16026 }
   16027 _ACEOF
   16028 if ac_fn_c_try_link "$LINENO"; then :
   16029   eval $cacheid=yes
   16030 else
   16031   eval $cacheid=no
   16032 fi
   16033 rm -f core conftest.err conftest.$ac_objext \
   16034     conftest$ac_exeext conftest.$ac_ext
   16035 fi
   16036 
   16037 
   16038 		CFLAGS="$xorg_testset_save_CFLAGS"
   16039 
   16040 		eval supported=\$$cacheid
   16041 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16042 $as_echo "$supported" >&6; }
   16043 		if test "$supported" = "yes" ; then
   16044 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   16045 			found="yes"
   16046 		fi
   16047 	fi
   16048 
   16049 
   16050 
   16051 
   16052 
   16053 
   16054 
   16055 
   16056 
   16057 
   16058 
   16059 
   16060 
   16061 
   16062 
   16063 xorg_testset_save_CFLAGS="$CFLAGS"
   16064 
   16065 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16066 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16067 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16068 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16069 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16070   $as_echo_n "(cached) " >&6
   16071 else
   16072   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16073 /* end confdefs.h.  */
   16074 int i;
   16075 _ACEOF
   16076 if ac_fn_c_try_compile "$LINENO"; then :
   16077   xorg_cv_cc_flag_unknown_warning_option=yes
   16078 else
   16079   xorg_cv_cc_flag_unknown_warning_option=no
   16080 fi
   16081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16082 fi
   16083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16084 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16085 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16086 	CFLAGS="$xorg_testset_save_CFLAGS"
   16087 fi
   16088 
   16089 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16090 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16091 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16092 	fi
   16093 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16094 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16095 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16096 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16097   $as_echo_n "(cached) " >&6
   16098 else
   16099   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16100 /* end confdefs.h.  */
   16101 int i;
   16102 _ACEOF
   16103 if ac_fn_c_try_compile "$LINENO"; then :
   16104   xorg_cv_cc_flag_unused_command_line_argument=yes
   16105 else
   16106   xorg_cv_cc_flag_unused_command_line_argument=no
   16107 fi
   16108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16109 fi
   16110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16111 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16112 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16113 	CFLAGS="$xorg_testset_save_CFLAGS"
   16114 fi
   16115 
   16116 found="no"
   16117 
   16118 	if test $found = "no" ; then
   16119 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16120 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16121 		fi
   16122 
   16123 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16124 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16125 		fi
   16126 
   16127 		CFLAGS="$CFLAGS -Wsequence-point"
   16128 
   16129 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   16130 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   16131 		cacheid=xorg_cv_cc_flag__Wsequence_point
   16132 		if eval \${$cacheid+:} false; then :
   16133   $as_echo_n "(cached) " >&6
   16134 else
   16135   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16136 /* end confdefs.h.  */
   16137 int i;
   16138 int
   16139 main ()
   16140 {
   16141 
   16142   ;
   16143   return 0;
   16144 }
   16145 _ACEOF
   16146 if ac_fn_c_try_link "$LINENO"; then :
   16147   eval $cacheid=yes
   16148 else
   16149   eval $cacheid=no
   16150 fi
   16151 rm -f core conftest.err conftest.$ac_objext \
   16152     conftest$ac_exeext conftest.$ac_ext
   16153 fi
   16154 
   16155 
   16156 		CFLAGS="$xorg_testset_save_CFLAGS"
   16157 
   16158 		eval supported=\$$cacheid
   16159 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16160 $as_echo "$supported" >&6; }
   16161 		if test "$supported" = "yes" ; then
   16162 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   16163 			found="yes"
   16164 		fi
   16165 	fi
   16166 
   16167 
   16168 
   16169 
   16170 
   16171 
   16172 
   16173 
   16174 
   16175 
   16176 
   16177 
   16178 
   16179 
   16180 
   16181 xorg_testset_save_CFLAGS="$CFLAGS"
   16182 
   16183 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16184 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16185 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16186 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16187 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16188   $as_echo_n "(cached) " >&6
   16189 else
   16190   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16191 /* end confdefs.h.  */
   16192 int i;
   16193 _ACEOF
   16194 if ac_fn_c_try_compile "$LINENO"; then :
   16195   xorg_cv_cc_flag_unknown_warning_option=yes
   16196 else
   16197   xorg_cv_cc_flag_unknown_warning_option=no
   16198 fi
   16199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16200 fi
   16201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16202 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16203 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16204 	CFLAGS="$xorg_testset_save_CFLAGS"
   16205 fi
   16206 
   16207 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16208 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16209 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16210 	fi
   16211 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16212 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16213 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16214 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16215   $as_echo_n "(cached) " >&6
   16216 else
   16217   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16218 /* end confdefs.h.  */
   16219 int i;
   16220 _ACEOF
   16221 if ac_fn_c_try_compile "$LINENO"; then :
   16222   xorg_cv_cc_flag_unused_command_line_argument=yes
   16223 else
   16224   xorg_cv_cc_flag_unused_command_line_argument=no
   16225 fi
   16226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16227 fi
   16228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16229 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16230 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16231 	CFLAGS="$xorg_testset_save_CFLAGS"
   16232 fi
   16233 
   16234 found="no"
   16235 
   16236 	if test $found = "no" ; then
   16237 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16238 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16239 		fi
   16240 
   16241 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16242 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16243 		fi
   16244 
   16245 		CFLAGS="$CFLAGS -Wreturn-type"
   16246 
   16247 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   16248 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   16249 		cacheid=xorg_cv_cc_flag__Wreturn_type
   16250 		if eval \${$cacheid+:} false; then :
   16251   $as_echo_n "(cached) " >&6
   16252 else
   16253   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16254 /* end confdefs.h.  */
   16255 int i;
   16256 int
   16257 main ()
   16258 {
   16259 
   16260   ;
   16261   return 0;
   16262 }
   16263 _ACEOF
   16264 if ac_fn_c_try_link "$LINENO"; then :
   16265   eval $cacheid=yes
   16266 else
   16267   eval $cacheid=no
   16268 fi
   16269 rm -f core conftest.err conftest.$ac_objext \
   16270     conftest$ac_exeext conftest.$ac_ext
   16271 fi
   16272 
   16273 
   16274 		CFLAGS="$xorg_testset_save_CFLAGS"
   16275 
   16276 		eval supported=\$$cacheid
   16277 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16278 $as_echo "$supported" >&6; }
   16279 		if test "$supported" = "yes" ; then
   16280 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   16281 			found="yes"
   16282 		fi
   16283 	fi
   16284 
   16285 
   16286 
   16287 
   16288 
   16289 
   16290 
   16291 
   16292 
   16293 
   16294 
   16295 
   16296 
   16297 
   16298 
   16299 xorg_testset_save_CFLAGS="$CFLAGS"
   16300 
   16301 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16302 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16303 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16304 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16305 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16306   $as_echo_n "(cached) " >&6
   16307 else
   16308   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16309 /* end confdefs.h.  */
   16310 int i;
   16311 _ACEOF
   16312 if ac_fn_c_try_compile "$LINENO"; then :
   16313   xorg_cv_cc_flag_unknown_warning_option=yes
   16314 else
   16315   xorg_cv_cc_flag_unknown_warning_option=no
   16316 fi
   16317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16318 fi
   16319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16320 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16321 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16322 	CFLAGS="$xorg_testset_save_CFLAGS"
   16323 fi
   16324 
   16325 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16326 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16327 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16328 	fi
   16329 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16330 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16331 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16332 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16333   $as_echo_n "(cached) " >&6
   16334 else
   16335   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16336 /* end confdefs.h.  */
   16337 int i;
   16338 _ACEOF
   16339 if ac_fn_c_try_compile "$LINENO"; then :
   16340   xorg_cv_cc_flag_unused_command_line_argument=yes
   16341 else
   16342   xorg_cv_cc_flag_unused_command_line_argument=no
   16343 fi
   16344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16345 fi
   16346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16347 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16348 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16349 	CFLAGS="$xorg_testset_save_CFLAGS"
   16350 fi
   16351 
   16352 found="no"
   16353 
   16354 	if test $found = "no" ; then
   16355 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16356 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16357 		fi
   16358 
   16359 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16360 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16361 		fi
   16362 
   16363 		CFLAGS="$CFLAGS -Wtrigraphs"
   16364 
   16365 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   16366 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   16367 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   16368 		if eval \${$cacheid+:} false; then :
   16369   $as_echo_n "(cached) " >&6
   16370 else
   16371   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16372 /* end confdefs.h.  */
   16373 int i;
   16374 int
   16375 main ()
   16376 {
   16377 
   16378   ;
   16379   return 0;
   16380 }
   16381 _ACEOF
   16382 if ac_fn_c_try_link "$LINENO"; then :
   16383   eval $cacheid=yes
   16384 else
   16385   eval $cacheid=no
   16386 fi
   16387 rm -f core conftest.err conftest.$ac_objext \
   16388     conftest$ac_exeext conftest.$ac_ext
   16389 fi
   16390 
   16391 
   16392 		CFLAGS="$xorg_testset_save_CFLAGS"
   16393 
   16394 		eval supported=\$$cacheid
   16395 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16396 $as_echo "$supported" >&6; }
   16397 		if test "$supported" = "yes" ; then
   16398 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   16399 			found="yes"
   16400 		fi
   16401 	fi
   16402 
   16403 
   16404 
   16405 
   16406 
   16407 
   16408 
   16409 
   16410 
   16411 
   16412 
   16413 
   16414 
   16415 
   16416 
   16417 xorg_testset_save_CFLAGS="$CFLAGS"
   16418 
   16419 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16420 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16421 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16422 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16423 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16424   $as_echo_n "(cached) " >&6
   16425 else
   16426   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16427 /* end confdefs.h.  */
   16428 int i;
   16429 _ACEOF
   16430 if ac_fn_c_try_compile "$LINENO"; then :
   16431   xorg_cv_cc_flag_unknown_warning_option=yes
   16432 else
   16433   xorg_cv_cc_flag_unknown_warning_option=no
   16434 fi
   16435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16436 fi
   16437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16438 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16439 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16440 	CFLAGS="$xorg_testset_save_CFLAGS"
   16441 fi
   16442 
   16443 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16444 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16445 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16446 	fi
   16447 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16448 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16449 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16450 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16451   $as_echo_n "(cached) " >&6
   16452 else
   16453   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16454 /* end confdefs.h.  */
   16455 int i;
   16456 _ACEOF
   16457 if ac_fn_c_try_compile "$LINENO"; then :
   16458   xorg_cv_cc_flag_unused_command_line_argument=yes
   16459 else
   16460   xorg_cv_cc_flag_unused_command_line_argument=no
   16461 fi
   16462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16463 fi
   16464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16465 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16466 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16467 	CFLAGS="$xorg_testset_save_CFLAGS"
   16468 fi
   16469 
   16470 found="no"
   16471 
   16472 	if test $found = "no" ; then
   16473 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16474 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16475 		fi
   16476 
   16477 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16478 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16479 		fi
   16480 
   16481 		CFLAGS="$CFLAGS -Warray-bounds"
   16482 
   16483 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   16484 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   16485 		cacheid=xorg_cv_cc_flag__Warray_bounds
   16486 		if eval \${$cacheid+:} false; then :
   16487   $as_echo_n "(cached) " >&6
   16488 else
   16489   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16490 /* end confdefs.h.  */
   16491 int i;
   16492 int
   16493 main ()
   16494 {
   16495 
   16496   ;
   16497   return 0;
   16498 }
   16499 _ACEOF
   16500 if ac_fn_c_try_link "$LINENO"; then :
   16501   eval $cacheid=yes
   16502 else
   16503   eval $cacheid=no
   16504 fi
   16505 rm -f core conftest.err conftest.$ac_objext \
   16506     conftest$ac_exeext conftest.$ac_ext
   16507 fi
   16508 
   16509 
   16510 		CFLAGS="$xorg_testset_save_CFLAGS"
   16511 
   16512 		eval supported=\$$cacheid
   16513 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16514 $as_echo "$supported" >&6; }
   16515 		if test "$supported" = "yes" ; then
   16516 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   16517 			found="yes"
   16518 		fi
   16519 	fi
   16520 
   16521 
   16522 
   16523 
   16524 
   16525 
   16526 
   16527 
   16528 
   16529 
   16530 
   16531 
   16532 
   16533 
   16534 
   16535 xorg_testset_save_CFLAGS="$CFLAGS"
   16536 
   16537 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16538 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16539 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16540 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16541 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16542   $as_echo_n "(cached) " >&6
   16543 else
   16544   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16545 /* end confdefs.h.  */
   16546 int i;
   16547 _ACEOF
   16548 if ac_fn_c_try_compile "$LINENO"; then :
   16549   xorg_cv_cc_flag_unknown_warning_option=yes
   16550 else
   16551   xorg_cv_cc_flag_unknown_warning_option=no
   16552 fi
   16553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16554 fi
   16555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16556 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16557 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16558 	CFLAGS="$xorg_testset_save_CFLAGS"
   16559 fi
   16560 
   16561 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16562 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16563 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16564 	fi
   16565 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16566 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16567 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16568 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16569   $as_echo_n "(cached) " >&6
   16570 else
   16571   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16572 /* end confdefs.h.  */
   16573 int i;
   16574 _ACEOF
   16575 if ac_fn_c_try_compile "$LINENO"; then :
   16576   xorg_cv_cc_flag_unused_command_line_argument=yes
   16577 else
   16578   xorg_cv_cc_flag_unused_command_line_argument=no
   16579 fi
   16580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16581 fi
   16582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16583 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16584 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16585 	CFLAGS="$xorg_testset_save_CFLAGS"
   16586 fi
   16587 
   16588 found="no"
   16589 
   16590 	if test $found = "no" ; then
   16591 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16592 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16593 		fi
   16594 
   16595 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16596 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16597 		fi
   16598 
   16599 		CFLAGS="$CFLAGS -Wwrite-strings"
   16600 
   16601 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   16602 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   16603 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   16604 		if eval \${$cacheid+:} false; then :
   16605   $as_echo_n "(cached) " >&6
   16606 else
   16607   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16608 /* end confdefs.h.  */
   16609 int i;
   16610 int
   16611 main ()
   16612 {
   16613 
   16614   ;
   16615   return 0;
   16616 }
   16617 _ACEOF
   16618 if ac_fn_c_try_link "$LINENO"; then :
   16619   eval $cacheid=yes
   16620 else
   16621   eval $cacheid=no
   16622 fi
   16623 rm -f core conftest.err conftest.$ac_objext \
   16624     conftest$ac_exeext conftest.$ac_ext
   16625 fi
   16626 
   16627 
   16628 		CFLAGS="$xorg_testset_save_CFLAGS"
   16629 
   16630 		eval supported=\$$cacheid
   16631 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16632 $as_echo "$supported" >&6; }
   16633 		if test "$supported" = "yes" ; then
   16634 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   16635 			found="yes"
   16636 		fi
   16637 	fi
   16638 
   16639 
   16640 
   16641 
   16642 
   16643 
   16644 
   16645 
   16646 
   16647 
   16648 
   16649 
   16650 
   16651 
   16652 
   16653 xorg_testset_save_CFLAGS="$CFLAGS"
   16654 
   16655 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16656 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16657 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16658 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16659 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16660   $as_echo_n "(cached) " >&6
   16661 else
   16662   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16663 /* end confdefs.h.  */
   16664 int i;
   16665 _ACEOF
   16666 if ac_fn_c_try_compile "$LINENO"; then :
   16667   xorg_cv_cc_flag_unknown_warning_option=yes
   16668 else
   16669   xorg_cv_cc_flag_unknown_warning_option=no
   16670 fi
   16671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16672 fi
   16673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16674 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16675 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16676 	CFLAGS="$xorg_testset_save_CFLAGS"
   16677 fi
   16678 
   16679 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16680 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16681 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16682 	fi
   16683 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16684 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16685 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16686 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16687   $as_echo_n "(cached) " >&6
   16688 else
   16689   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16690 /* end confdefs.h.  */
   16691 int i;
   16692 _ACEOF
   16693 if ac_fn_c_try_compile "$LINENO"; then :
   16694   xorg_cv_cc_flag_unused_command_line_argument=yes
   16695 else
   16696   xorg_cv_cc_flag_unused_command_line_argument=no
   16697 fi
   16698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16699 fi
   16700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16701 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16702 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16703 	CFLAGS="$xorg_testset_save_CFLAGS"
   16704 fi
   16705 
   16706 found="no"
   16707 
   16708 	if test $found = "no" ; then
   16709 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16710 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16711 		fi
   16712 
   16713 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16714 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16715 		fi
   16716 
   16717 		CFLAGS="$CFLAGS -Waddress"
   16718 
   16719 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   16720 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   16721 		cacheid=xorg_cv_cc_flag__Waddress
   16722 		if eval \${$cacheid+:} 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 int
   16729 main ()
   16730 {
   16731 
   16732   ;
   16733   return 0;
   16734 }
   16735 _ACEOF
   16736 if ac_fn_c_try_link "$LINENO"; then :
   16737   eval $cacheid=yes
   16738 else
   16739   eval $cacheid=no
   16740 fi
   16741 rm -f core conftest.err conftest.$ac_objext \
   16742     conftest$ac_exeext conftest.$ac_ext
   16743 fi
   16744 
   16745 
   16746 		CFLAGS="$xorg_testset_save_CFLAGS"
   16747 
   16748 		eval supported=\$$cacheid
   16749 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16750 $as_echo "$supported" >&6; }
   16751 		if test "$supported" = "yes" ; then
   16752 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   16753 			found="yes"
   16754 		fi
   16755 	fi
   16756 
   16757 
   16758 
   16759 
   16760 
   16761 
   16762 
   16763 
   16764 
   16765 
   16766 
   16767 
   16768 
   16769 
   16770 
   16771 xorg_testset_save_CFLAGS="$CFLAGS"
   16772 
   16773 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16774 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16775 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16776 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16777 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16778   $as_echo_n "(cached) " >&6
   16779 else
   16780   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16781 /* end confdefs.h.  */
   16782 int i;
   16783 _ACEOF
   16784 if ac_fn_c_try_compile "$LINENO"; then :
   16785   xorg_cv_cc_flag_unknown_warning_option=yes
   16786 else
   16787   xorg_cv_cc_flag_unknown_warning_option=no
   16788 fi
   16789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16790 fi
   16791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16792 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16793 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16794 	CFLAGS="$xorg_testset_save_CFLAGS"
   16795 fi
   16796 
   16797 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16798 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16799 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16800 	fi
   16801 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16802 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16803 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16804 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16805   $as_echo_n "(cached) " >&6
   16806 else
   16807   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16808 /* end confdefs.h.  */
   16809 int i;
   16810 _ACEOF
   16811 if ac_fn_c_try_compile "$LINENO"; then :
   16812   xorg_cv_cc_flag_unused_command_line_argument=yes
   16813 else
   16814   xorg_cv_cc_flag_unused_command_line_argument=no
   16815 fi
   16816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16817 fi
   16818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16819 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16820 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16821 	CFLAGS="$xorg_testset_save_CFLAGS"
   16822 fi
   16823 
   16824 found="no"
   16825 
   16826 	if test $found = "no" ; then
   16827 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16828 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16829 		fi
   16830 
   16831 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16832 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16833 		fi
   16834 
   16835 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   16836 
   16837 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   16838 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   16839 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   16840 		if eval \${$cacheid+:} false; then :
   16841   $as_echo_n "(cached) " >&6
   16842 else
   16843   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16844 /* end confdefs.h.  */
   16845 int i;
   16846 int
   16847 main ()
   16848 {
   16849 
   16850   ;
   16851   return 0;
   16852 }
   16853 _ACEOF
   16854 if ac_fn_c_try_link "$LINENO"; then :
   16855   eval $cacheid=yes
   16856 else
   16857   eval $cacheid=no
   16858 fi
   16859 rm -f core conftest.err conftest.$ac_objext \
   16860     conftest$ac_exeext conftest.$ac_ext
   16861 fi
   16862 
   16863 
   16864 		CFLAGS="$xorg_testset_save_CFLAGS"
   16865 
   16866 		eval supported=\$$cacheid
   16867 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16868 $as_echo "$supported" >&6; }
   16869 		if test "$supported" = "yes" ; then
   16870 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   16871 			found="yes"
   16872 		fi
   16873 	fi
   16874 
   16875 
   16876 
   16877 
   16878 
   16879 
   16880 
   16881 
   16882 
   16883 
   16884 
   16885 
   16886 
   16887 
   16888 
   16889 xorg_testset_save_CFLAGS="$CFLAGS"
   16890 
   16891 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16892 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16893 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16894 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16895 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16896   $as_echo_n "(cached) " >&6
   16897 else
   16898   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16899 /* end confdefs.h.  */
   16900 int i;
   16901 _ACEOF
   16902 if ac_fn_c_try_compile "$LINENO"; then :
   16903   xorg_cv_cc_flag_unknown_warning_option=yes
   16904 else
   16905   xorg_cv_cc_flag_unknown_warning_option=no
   16906 fi
   16907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16908 fi
   16909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16910 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16911 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16912 	CFLAGS="$xorg_testset_save_CFLAGS"
   16913 fi
   16914 
   16915 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16916 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16917 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16918 	fi
   16919 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16920 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16921 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16922 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16923   $as_echo_n "(cached) " >&6
   16924 else
   16925   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16926 /* end confdefs.h.  */
   16927 int i;
   16928 _ACEOF
   16929 if ac_fn_c_try_compile "$LINENO"; then :
   16930   xorg_cv_cc_flag_unused_command_line_argument=yes
   16931 else
   16932   xorg_cv_cc_flag_unused_command_line_argument=no
   16933 fi
   16934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16935 fi
   16936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16937 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16938 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16939 	CFLAGS="$xorg_testset_save_CFLAGS"
   16940 fi
   16941 
   16942 found="no"
   16943 
   16944 	if test $found = "no" ; then
   16945 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16946 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16947 		fi
   16948 
   16949 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16950 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16951 		fi
   16952 
   16953 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   16954 
   16955 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   16956 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   16957 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   16958 		if eval \${$cacheid+:} false; then :
   16959   $as_echo_n "(cached) " >&6
   16960 else
   16961   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16962 /* end confdefs.h.  */
   16963 int i;
   16964 int
   16965 main ()
   16966 {
   16967 
   16968   ;
   16969   return 0;
   16970 }
   16971 _ACEOF
   16972 if ac_fn_c_try_link "$LINENO"; then :
   16973   eval $cacheid=yes
   16974 else
   16975   eval $cacheid=no
   16976 fi
   16977 rm -f core conftest.err conftest.$ac_objext \
   16978     conftest$ac_exeext conftest.$ac_ext
   16979 fi
   16980 
   16981 
   16982 		CFLAGS="$xorg_testset_save_CFLAGS"
   16983 
   16984 		eval supported=\$$cacheid
   16985 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16986 $as_echo "$supported" >&6; }
   16987 		if test "$supported" = "yes" ; then
   16988 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   16989 			found="yes"
   16990 		fi
   16991 	fi
   16992 
   16993 
   16994 fi
   16995 
   16996 
   16997 
   16998 
   16999 
   17000 
   17001 
   17002 		CWARNFLAGS="$BASE_CFLAGS"
   17003 		if  test "x$GCC" = xyes ; then
   17004 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   17005 		fi
   17006 
   17007 
   17008 
   17009 
   17010 
   17011 
   17012 
   17013 
   17014 # Check whether --enable-strict-compilation was given.
   17015 if test "${enable_strict_compilation+set}" = set; then :
   17016   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   17017 else
   17018   STRICT_COMPILE=no
   17019 fi
   17020 
   17021 
   17022 
   17023 
   17024 
   17025 
   17026 STRICT_CFLAGS=""
   17027 
   17028 
   17029 
   17030 
   17031 
   17032 
   17033 
   17034 
   17035 
   17036 
   17037 
   17038 
   17039 
   17040 xorg_testset_save_CFLAGS="$CFLAGS"
   17041 
   17042 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17043 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17044 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17045 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17046 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17047   $as_echo_n "(cached) " >&6
   17048 else
   17049   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17050 /* end confdefs.h.  */
   17051 int i;
   17052 _ACEOF
   17053 if ac_fn_c_try_compile "$LINENO"; then :
   17054   xorg_cv_cc_flag_unknown_warning_option=yes
   17055 else
   17056   xorg_cv_cc_flag_unknown_warning_option=no
   17057 fi
   17058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17059 fi
   17060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17061 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17062 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17063 	CFLAGS="$xorg_testset_save_CFLAGS"
   17064 fi
   17065 
   17066 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17067 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17068 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17069 	fi
   17070 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17071 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17072 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17073 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17074   $as_echo_n "(cached) " >&6
   17075 else
   17076   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17077 /* end confdefs.h.  */
   17078 int i;
   17079 _ACEOF
   17080 if ac_fn_c_try_compile "$LINENO"; then :
   17081   xorg_cv_cc_flag_unused_command_line_argument=yes
   17082 else
   17083   xorg_cv_cc_flag_unused_command_line_argument=no
   17084 fi
   17085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17086 fi
   17087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17088 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17089 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17090 	CFLAGS="$xorg_testset_save_CFLAGS"
   17091 fi
   17092 
   17093 found="no"
   17094 
   17095 	if test $found = "no" ; then
   17096 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17097 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17098 		fi
   17099 
   17100 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17101 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17102 		fi
   17103 
   17104 		CFLAGS="$CFLAGS -pedantic"
   17105 
   17106 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   17107 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   17108 		cacheid=xorg_cv_cc_flag__pedantic
   17109 		if eval \${$cacheid+:} false; then :
   17110   $as_echo_n "(cached) " >&6
   17111 else
   17112   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17113 /* end confdefs.h.  */
   17114 int i;
   17115 int
   17116 main ()
   17117 {
   17118 
   17119   ;
   17120   return 0;
   17121 }
   17122 _ACEOF
   17123 if ac_fn_c_try_link "$LINENO"; then :
   17124   eval $cacheid=yes
   17125 else
   17126   eval $cacheid=no
   17127 fi
   17128 rm -f core conftest.err conftest.$ac_objext \
   17129     conftest$ac_exeext conftest.$ac_ext
   17130 fi
   17131 
   17132 
   17133 		CFLAGS="$xorg_testset_save_CFLAGS"
   17134 
   17135 		eval supported=\$$cacheid
   17136 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17137 $as_echo "$supported" >&6; }
   17138 		if test "$supported" = "yes" ; then
   17139 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   17140 			found="yes"
   17141 		fi
   17142 	fi
   17143 
   17144 
   17145 
   17146 
   17147 
   17148 
   17149 
   17150 
   17151 
   17152 
   17153 
   17154 
   17155 
   17156 
   17157 
   17158 xorg_testset_save_CFLAGS="$CFLAGS"
   17159 
   17160 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17161 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17162 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17163 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17164 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17165   $as_echo_n "(cached) " >&6
   17166 else
   17167   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17168 /* end confdefs.h.  */
   17169 int i;
   17170 _ACEOF
   17171 if ac_fn_c_try_compile "$LINENO"; then :
   17172   xorg_cv_cc_flag_unknown_warning_option=yes
   17173 else
   17174   xorg_cv_cc_flag_unknown_warning_option=no
   17175 fi
   17176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17177 fi
   17178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17179 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17180 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17181 	CFLAGS="$xorg_testset_save_CFLAGS"
   17182 fi
   17183 
   17184 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17185 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17186 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17187 	fi
   17188 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17189 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17190 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17191 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17192   $as_echo_n "(cached) " >&6
   17193 else
   17194   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17195 /* end confdefs.h.  */
   17196 int i;
   17197 _ACEOF
   17198 if ac_fn_c_try_compile "$LINENO"; then :
   17199   xorg_cv_cc_flag_unused_command_line_argument=yes
   17200 else
   17201   xorg_cv_cc_flag_unused_command_line_argument=no
   17202 fi
   17203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17204 fi
   17205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17206 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17207 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17208 	CFLAGS="$xorg_testset_save_CFLAGS"
   17209 fi
   17210 
   17211 found="no"
   17212 
   17213 	if test $found = "no" ; then
   17214 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17215 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17216 		fi
   17217 
   17218 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17219 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17220 		fi
   17221 
   17222 		CFLAGS="$CFLAGS -Werror"
   17223 
   17224 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   17225 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   17226 		cacheid=xorg_cv_cc_flag__Werror
   17227 		if eval \${$cacheid+:} false; then :
   17228   $as_echo_n "(cached) " >&6
   17229 else
   17230   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17231 /* end confdefs.h.  */
   17232 int i;
   17233 int
   17234 main ()
   17235 {
   17236 
   17237   ;
   17238   return 0;
   17239 }
   17240 _ACEOF
   17241 if ac_fn_c_try_link "$LINENO"; then :
   17242   eval $cacheid=yes
   17243 else
   17244   eval $cacheid=no
   17245 fi
   17246 rm -f core conftest.err conftest.$ac_objext \
   17247     conftest$ac_exeext conftest.$ac_ext
   17248 fi
   17249 
   17250 
   17251 		CFLAGS="$xorg_testset_save_CFLAGS"
   17252 
   17253 		eval supported=\$$cacheid
   17254 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17255 $as_echo "$supported" >&6; }
   17256 		if test "$supported" = "yes" ; then
   17257 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   17258 			found="yes"
   17259 		fi
   17260 	fi
   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 -errwarn"
   17272 
   17273 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   17274 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   17275 		cacheid=xorg_cv_cc_flag__errwarn
   17276 		if eval \${$cacheid+:} 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 $cacheid=yes
   17292 else
   17293   eval $cacheid=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=\$$cacheid
   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 -errwarn"
   17307 			found="yes"
   17308 		fi
   17309 	fi
   17310 
   17311 
   17312 
   17313 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   17314 # activate it with -Werror, so we add it here explicitly.
   17315 
   17316 
   17317 
   17318 
   17319 
   17320 
   17321 
   17322 
   17323 
   17324 
   17325 
   17326 
   17327 
   17328 xorg_testset_save_CFLAGS="$CFLAGS"
   17329 
   17330 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17331 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17332 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17333 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17334 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17335   $as_echo_n "(cached) " >&6
   17336 else
   17337   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17338 /* end confdefs.h.  */
   17339 int i;
   17340 _ACEOF
   17341 if ac_fn_c_try_compile "$LINENO"; then :
   17342   xorg_cv_cc_flag_unknown_warning_option=yes
   17343 else
   17344   xorg_cv_cc_flag_unknown_warning_option=no
   17345 fi
   17346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17347 fi
   17348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17349 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17350 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17351 	CFLAGS="$xorg_testset_save_CFLAGS"
   17352 fi
   17353 
   17354 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17355 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17356 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17357 	fi
   17358 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17359 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17360 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17361 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17362   $as_echo_n "(cached) " >&6
   17363 else
   17364   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17365 /* end confdefs.h.  */
   17366 int i;
   17367 _ACEOF
   17368 if ac_fn_c_try_compile "$LINENO"; then :
   17369   xorg_cv_cc_flag_unused_command_line_argument=yes
   17370 else
   17371   xorg_cv_cc_flag_unused_command_line_argument=no
   17372 fi
   17373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17374 fi
   17375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17376 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17377 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17378 	CFLAGS="$xorg_testset_save_CFLAGS"
   17379 fi
   17380 
   17381 found="no"
   17382 
   17383 	if test $found = "no" ; then
   17384 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17385 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17386 		fi
   17387 
   17388 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17389 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17390 		fi
   17391 
   17392 		CFLAGS="$CFLAGS -Werror=attributes"
   17393 
   17394 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   17395 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   17396 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=attributes" | $as_tr_sh`
   17397 		if eval \${$cacheid+:} false; then :
   17398   $as_echo_n "(cached) " >&6
   17399 else
   17400   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17401 /* end confdefs.h.  */
   17402 int i;
   17403 int
   17404 main ()
   17405 {
   17406 
   17407   ;
   17408   return 0;
   17409 }
   17410 _ACEOF
   17411 if ac_fn_c_try_link "$LINENO"; then :
   17412   eval $cacheid=yes
   17413 else
   17414   eval $cacheid=no
   17415 fi
   17416 rm -f core conftest.err conftest.$ac_objext \
   17417     conftest$ac_exeext conftest.$ac_ext
   17418 fi
   17419 
   17420 
   17421 		CFLAGS="$xorg_testset_save_CFLAGS"
   17422 
   17423 		eval supported=\$$cacheid
   17424 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17425 $as_echo "$supported" >&6; }
   17426 		if test "$supported" = "yes" ; then
   17427 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   17428 			found="yes"
   17429 		fi
   17430 	fi
   17431 
   17432 
   17433 
   17434 if test "x$STRICT_COMPILE" = "xyes"; then
   17435     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   17436     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   17437 fi
   17438 
   17439 
   17440 
   17441 
   17442 
   17443 
   17444 cat >>confdefs.h <<_ACEOF
   17445 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   17446 _ACEOF
   17447 
   17448 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   17449 	if test "x$PVM" = "x"; then
   17450 		PVM="0"
   17451 	fi
   17452 
   17453 cat >>confdefs.h <<_ACEOF
   17454 #define PACKAGE_VERSION_MINOR $PVM
   17455 _ACEOF
   17456 
   17457 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   17458 	if test "x$PVP" = "x"; then
   17459 		PVP="0"
   17460 	fi
   17461 
   17462 cat >>confdefs.h <<_ACEOF
   17463 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   17464 _ACEOF
   17465 
   17466 
   17467 
   17468 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   17469 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   17470 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   17471 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   17472 
   17473 
   17474 
   17475 
   17476 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   17477 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   17478 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   17479 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   17480 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   17481 
   17482 
   17483 
   17484 
   17485 
   17486 
   17487 if test x$APP_MAN_SUFFIX = x    ; then
   17488     APP_MAN_SUFFIX=1
   17489 fi
   17490 if test x$APP_MAN_DIR = x    ; then
   17491     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   17492 fi
   17493 
   17494 if test x$LIB_MAN_SUFFIX = x    ; then
   17495     LIB_MAN_SUFFIX=3
   17496 fi
   17497 if test x$LIB_MAN_DIR = x    ; then
   17498     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   17499 fi
   17500 
   17501 if test x$FILE_MAN_SUFFIX = x    ; then
   17502     case $host_os in
   17503 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   17504 	*)		FILE_MAN_SUFFIX=5  ;;
   17505     esac
   17506 fi
   17507 if test x$FILE_MAN_DIR = x    ; then
   17508     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   17509 fi
   17510 
   17511 if test x$MISC_MAN_SUFFIX = x    ; then
   17512     case $host_os in
   17513 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   17514 	*)		MISC_MAN_SUFFIX=7  ;;
   17515     esac
   17516 fi
   17517 if test x$MISC_MAN_DIR = x    ; then
   17518     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   17519 fi
   17520 
   17521 if test x$DRIVER_MAN_SUFFIX = x    ; then
   17522     case $host_os in
   17523 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   17524 	*)		DRIVER_MAN_SUFFIX=4  ;;
   17525     esac
   17526 fi
   17527 if test x$DRIVER_MAN_DIR = x    ; then
   17528     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   17529 fi
   17530 
   17531 if test x$ADMIN_MAN_SUFFIX = x    ; then
   17532     case $host_os in
   17533 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   17534 	*)		ADMIN_MAN_SUFFIX=8  ;;
   17535     esac
   17536 fi
   17537 if test x$ADMIN_MAN_DIR = x    ; then
   17538     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   17539 fi
   17540 
   17541 
   17542 
   17543 
   17544 
   17545 
   17546 
   17547 
   17548 
   17549 
   17550 
   17551 
   17552 
   17553 
   17554 
   17555 XORG_MAN_PAGE="X Version 11"
   17556 
   17557 MAN_SUBSTS="\
   17558 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   17559 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   17560 	-e 's|__xservername__|Xorg|g' \
   17561 	-e 's|__xconfigfile__|xorg.conf|g' \
   17562 	-e 's|__projectroot__|\$(prefix)|g' \
   17563 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   17564 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   17565 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   17566 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   17567 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   17568 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   17569 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   17570 
   17571 
   17572 
   17573 # Check whether --enable-silent-rules was given.
   17574 if test "${enable_silent_rules+set}" = set; then :
   17575   enableval=$enable_silent_rules;
   17576 fi
   17577 
   17578 case $enable_silent_rules in # (((
   17579   yes) AM_DEFAULT_VERBOSITY=0;;
   17580    no) AM_DEFAULT_VERBOSITY=1;;
   17581     *) AM_DEFAULT_VERBOSITY=0;;
   17582 esac
   17583 am_make=${MAKE-make}
   17584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   17585 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   17586 if ${am_cv_make_support_nested_variables+:} false; then :
   17587   $as_echo_n "(cached) " >&6
   17588 else
   17589   if $as_echo 'TRUE=$(BAR$(V))
   17590 BAR0=false
   17591 BAR1=true
   17592 V=1
   17593 am__doit:
   17594 	@$(TRUE)
   17595 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   17596   am_cv_make_support_nested_variables=yes
   17597 else
   17598   am_cv_make_support_nested_variables=no
   17599 fi
   17600 fi
   17601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   17602 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   17603 if test $am_cv_make_support_nested_variables = yes; then
   17604     AM_V='$(V)'
   17605   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   17606 else
   17607   AM_V=$AM_DEFAULT_VERBOSITY
   17608   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   17609 fi
   17610 AM_BACKSLASH='\'
   17611 
   17612 
   17613 
   17614 # Check whether --enable-malloc0returnsnull was given.
   17615 if test "${enable_malloc0returnsnull+set}" = set; then :
   17616   enableval=$enable_malloc0returnsnull; MALLOC_ZERO_RETURNS_NULL=$enableval
   17617 else
   17618   MALLOC_ZERO_RETURNS_NULL=auto
   17619 fi
   17620 
   17621 
   17622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether malloc(0) returns NULL" >&5
   17623 $as_echo_n "checking whether malloc(0) returns NULL... " >&6; }
   17624 if test "x$MALLOC_ZERO_RETURNS_NULL" = xauto; then
   17625 	if test "$cross_compiling" = yes; then :
   17626   MALLOC_ZERO_RETURNS_NULL=yes
   17627 else
   17628   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17629 /* end confdefs.h.  */
   17630 
   17631 #include <stdlib.h>
   17632 
   17633 int
   17634 main ()
   17635 {
   17636 
   17637     char *m0, *r0, *c0, *p;
   17638     m0 = malloc(0);
   17639     p = malloc(10);
   17640     r0 = realloc(p,0);
   17641     c0 = calloc(0,10);
   17642     exit((m0 == 0 || r0 == 0 || c0 == 0) ? 0 : 1);
   17643 
   17644   ;
   17645   return 0;
   17646 }
   17647 _ACEOF
   17648 if ac_fn_c_try_run "$LINENO"; then :
   17649   MALLOC_ZERO_RETURNS_NULL=yes
   17650 else
   17651   MALLOC_ZERO_RETURNS_NULL=no
   17652 fi
   17653 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   17654   conftest.$ac_objext conftest.beam conftest.$ac_ext
   17655 fi
   17656 
   17657 fi
   17658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MALLOC_ZERO_RETURNS_NULL" >&5
   17659 $as_echo "$MALLOC_ZERO_RETURNS_NULL" >&6; }
   17660 
   17661 if test "x$MALLOC_ZERO_RETURNS_NULL" = xyes; then
   17662 	MALLOC_ZERO_CFLAGS="-DMALLOC_0_RETURNS_NULL"
   17663 	XMALLOC_ZERO_CFLAGS=$MALLOC_ZERO_CFLAGS
   17664 	XTMALLOC_ZERO_CFLAGS="$MALLOC_ZERO_CFLAGS -DXTMALLOC_BC"
   17665 else
   17666 	MALLOC_ZERO_CFLAGS=""
   17667 	XMALLOC_ZERO_CFLAGS=""
   17668 	XTMALLOC_ZERO_CFLAGS=""
   17669 fi
   17670 
   17671 
   17672 
   17673 
   17674 
   17675 
   17676 # Check xres configuration, strip extra digits from package version to
   17677 # find the required protocol version
   17678 RES_VERSION=`echo $VERSION | sed 's/^\([0-9][0-9]*\.[0-9][0-9]*\).*$/\1/'`
   17679 
   17680 # Obtain compiler/linker options for depedencies
   17681 
   17682 pkg_failed=no
   17683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRES" >&5
   17684 $as_echo_n "checking for XRES... " >&6; }
   17685 
   17686 if test -n "$XRES_CFLAGS"; then
   17687     pkg_cv_XRES_CFLAGS="$XRES_CFLAGS"
   17688  elif test -n "$PKG_CONFIG"; then
   17689     if test -n "$PKG_CONFIG" && \
   17690     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xext xextproto resourceproto >= \$RES_VERSION\""; } >&5
   17691   ($PKG_CONFIG --exists --print-errors "x11 xext xextproto resourceproto >= $RES_VERSION") 2>&5
   17692   ac_status=$?
   17693   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17694   test $ac_status = 0; }; then
   17695   pkg_cv_XRES_CFLAGS=`$PKG_CONFIG --cflags "x11 xext xextproto resourceproto >= $RES_VERSION" 2>/dev/null`
   17696 else
   17697   pkg_failed=yes
   17698 fi
   17699  else
   17700     pkg_failed=untried
   17701 fi
   17702 if test -n "$XRES_LIBS"; then
   17703     pkg_cv_XRES_LIBS="$XRES_LIBS"
   17704  elif test -n "$PKG_CONFIG"; then
   17705     if test -n "$PKG_CONFIG" && \
   17706     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xext xextproto resourceproto >= \$RES_VERSION\""; } >&5
   17707   ($PKG_CONFIG --exists --print-errors "x11 xext xextproto resourceproto >= $RES_VERSION") 2>&5
   17708   ac_status=$?
   17709   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17710   test $ac_status = 0; }; then
   17711   pkg_cv_XRES_LIBS=`$PKG_CONFIG --libs "x11 xext xextproto resourceproto >= $RES_VERSION" 2>/dev/null`
   17712 else
   17713   pkg_failed=yes
   17714 fi
   17715  else
   17716     pkg_failed=untried
   17717 fi
   17718 
   17719 
   17720 
   17721 if test $pkg_failed = yes; then
   17722 
   17723 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   17724         _pkg_short_errors_supported=yes
   17725 else
   17726         _pkg_short_errors_supported=no
   17727 fi
   17728         if test $_pkg_short_errors_supported = yes; then
   17729 	        XRES_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11 xext xextproto resourceproto >= $RES_VERSION" 2>&1`
   17730         else
   17731 	        XRES_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11 xext xextproto resourceproto >= $RES_VERSION" 2>&1`
   17732         fi
   17733 	# Put the nasty error message in config.log where it belongs
   17734 	echo "$XRES_PKG_ERRORS" >&5
   17735 
   17736 	as_fn_error $? "Package requirements (x11 xext xextproto resourceproto >= $RES_VERSION) were not met:
   17737 
   17738 $XRES_PKG_ERRORS
   17739 
   17740 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   17741 installed software in a non-standard prefix.
   17742 
   17743 Alternatively, you may set the environment variables XRES_CFLAGS
   17744 and XRES_LIBS to avoid the need to call pkg-config.
   17745 See the pkg-config man page for more details.
   17746 " "$LINENO" 5
   17747 elif test $pkg_failed = untried; then
   17748 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   17749 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   17750 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   17751 is in your PATH or set the PKG_CONFIG environment variable to the full
   17752 path to pkg-config.
   17753 
   17754 Alternatively, you may set the environment variables XRES_CFLAGS
   17755 and XRES_LIBS to avoid the need to call pkg-config.
   17756 See the pkg-config man page for more details.
   17757 
   17758 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   17759 See \`config.log' for more details" "$LINENO" 5; }
   17760 else
   17761 	XRES_CFLAGS=$pkg_cv_XRES_CFLAGS
   17762 	XRES_LIBS=$pkg_cv_XRES_LIBS
   17763         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17764 $as_echo "yes" >&6; }
   17765 	:
   17766 fi
   17767 
   17768 # Check for _XEatDataWords function that may be patched into older Xlib release
   17769 SAVE_LIBS="$LIBS"
   17770 LIBS="$XRES_LIBS"
   17771 for ac_func in _XEatDataWords
   17772 do :
   17773   ac_fn_c_check_func "$LINENO" "_XEatDataWords" "ac_cv_func__XEatDataWords"
   17774 if test "x$ac_cv_func__XEatDataWords" = xyes; then :
   17775   cat >>confdefs.h <<_ACEOF
   17776 #define HAVE__XEATDATAWORDS 1
   17777 _ACEOF
   17778 
   17779 fi
   17780 done
   17781 
   17782 LIBS="$SAVE_LIBS"
   17783 
   17784 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile xres.pc"
   17785 
   17786 cat >confcache <<\_ACEOF
   17787 # This file is a shell script that caches the results of configure
   17788 # tests run on this system so they can be shared between configure
   17789 # scripts and configure runs, see configure's option --config-cache.
   17790 # It is not useful on other systems.  If it contains results you don't
   17791 # want to keep, you may remove or edit it.
   17792 #
   17793 # config.status only pays attention to the cache file if you give it
   17794 # the --recheck option to rerun configure.
   17795 #
   17796 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   17797 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   17798 # following values.
   17799 
   17800 _ACEOF
   17801 
   17802 # The following way of writing the cache mishandles newlines in values,
   17803 # but we know of no workaround that is simple, portable, and efficient.
   17804 # So, we kill variables containing newlines.
   17805 # Ultrix sh set writes to stderr and can't be redirected directly,
   17806 # and sets the high bit in the cache file unless we assign to the vars.
   17807 (
   17808   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   17809     eval ac_val=\$$ac_var
   17810     case $ac_val in #(
   17811     *${as_nl}*)
   17812       case $ac_var in #(
   17813       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   17814 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   17815       esac
   17816       case $ac_var in #(
   17817       _ | IFS | as_nl) ;; #(
   17818       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   17819       *) { eval $ac_var=; unset $ac_var;} ;;
   17820       esac ;;
   17821     esac
   17822   done
   17823 
   17824   (set) 2>&1 |
   17825     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   17826     *${as_nl}ac_space=\ *)
   17827       # `set' does not quote correctly, so add quotes: double-quote
   17828       # substitution turns \\\\ into \\, and sed turns \\ into \.
   17829       sed -n \
   17830 	"s/'/'\\\\''/g;
   17831 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   17832       ;; #(
   17833     *)
   17834       # `set' quotes correctly as required by POSIX, so do not add quotes.
   17835       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   17836       ;;
   17837     esac |
   17838     sort
   17839 ) |
   17840   sed '
   17841      /^ac_cv_env_/b end
   17842      t clear
   17843      :clear
   17844      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   17845      t end
   17846      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   17847      :end' >>confcache
   17848 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   17849   if test -w "$cache_file"; then
   17850     if test "x$cache_file" != "x/dev/null"; then
   17851       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   17852 $as_echo "$as_me: updating cache $cache_file" >&6;}
   17853       if test ! -f "$cache_file" || test -h "$cache_file"; then
   17854 	cat confcache >"$cache_file"
   17855       else
   17856         case $cache_file in #(
   17857         */* | ?:*)
   17858 	  mv -f confcache "$cache_file"$$ &&
   17859 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   17860         *)
   17861 	  mv -f confcache "$cache_file" ;;
   17862 	esac
   17863       fi
   17864     fi
   17865   else
   17866     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   17867 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   17868   fi
   17869 fi
   17870 rm -f confcache
   17871 
   17872 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   17873 # Let make expand exec_prefix.
   17874 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   17875 
   17876 DEFS=-DHAVE_CONFIG_H
   17877 
   17878 ac_libobjs=
   17879 ac_ltlibobjs=
   17880 U=
   17881 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   17882   # 1. Remove the extension, and $U if already installed.
   17883   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   17884   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   17885   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   17886   #    will be set to the directory where LIBOBJS objects are built.
   17887   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   17888   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   17889 done
   17890 LIBOBJS=$ac_libobjs
   17891 
   17892 LTLIBOBJS=$ac_ltlibobjs
   17893 
   17894 
   17895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   17896 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   17897    if test -n "$am_sleep_pid"; then
   17898      # Hide warnings about reused PIDs.
   17899      wait $am_sleep_pid 2>/dev/null
   17900    fi
   17901    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   17902 $as_echo "done" >&6; }
   17903  if test -n "$EXEEXT"; then
   17904   am__EXEEXT_TRUE=
   17905   am__EXEEXT_FALSE='#'
   17906 else
   17907   am__EXEEXT_TRUE='#'
   17908   am__EXEEXT_FALSE=
   17909 fi
   17910 
   17911 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   17912   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   17913 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17914 fi
   17915 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   17916   as_fn_error $? "conditional \"AMDEP\" was never defined.
   17917 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17918 fi
   17919 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   17920   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   17921 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17922 fi
   17923 
   17924 : "${CONFIG_STATUS=./config.status}"
   17925 ac_write_fail=0
   17926 ac_clean_files_save=$ac_clean_files
   17927 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   17928 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   17929 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   17930 as_write_fail=0
   17931 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   17932 #! $SHELL
   17933 # Generated by $as_me.
   17934 # Run this file to recreate the current configuration.
   17935 # Compiler output produced by configure, useful for debugging
   17936 # configure, is in config.log if it exists.
   17937 
   17938 debug=false
   17939 ac_cs_recheck=false
   17940 ac_cs_silent=false
   17941 
   17942 SHELL=\${CONFIG_SHELL-$SHELL}
   17943 export SHELL
   17944 _ASEOF
   17945 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   17946 ## -------------------- ##
   17947 ## M4sh Initialization. ##
   17948 ## -------------------- ##
   17949 
   17950 # Be more Bourne compatible
   17951 DUALCASE=1; export DUALCASE # for MKS sh
   17952 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   17953   emulate sh
   17954   NULLCMD=:
   17955   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   17956   # is contrary to our usage.  Disable this feature.
   17957   alias -g '${1+"$@"}'='"$@"'
   17958   setopt NO_GLOB_SUBST
   17959 else
   17960   case `(set -o) 2>/dev/null` in #(
   17961   *posix*) :
   17962     set -o posix ;; #(
   17963   *) :
   17964      ;;
   17965 esac
   17966 fi
   17967 
   17968 
   17969 as_nl='
   17970 '
   17971 export as_nl
   17972 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   17973 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   17974 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   17975 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   17976 # Prefer a ksh shell builtin over an external printf program on Solaris,
   17977 # but without wasting forks for bash or zsh.
   17978 if test -z "$BASH_VERSION$ZSH_VERSION" \
   17979     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   17980   as_echo='print -r --'
   17981   as_echo_n='print -rn --'
   17982 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   17983   as_echo='printf %s\n'
   17984   as_echo_n='printf %s'
   17985 else
   17986   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   17987     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   17988     as_echo_n='/usr/ucb/echo -n'
   17989   else
   17990     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   17991     as_echo_n_body='eval
   17992       arg=$1;
   17993       case $arg in #(
   17994       *"$as_nl"*)
   17995 	expr "X$arg" : "X\\(.*\\)$as_nl";
   17996 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   17997       esac;
   17998       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   17999     '
   18000     export as_echo_n_body
   18001     as_echo_n='sh -c $as_echo_n_body as_echo'
   18002   fi
   18003   export as_echo_body
   18004   as_echo='sh -c $as_echo_body as_echo'
   18005 fi
   18006 
   18007 # The user is always right.
   18008 if test "${PATH_SEPARATOR+set}" != set; then
   18009   PATH_SEPARATOR=:
   18010   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   18011     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   18012       PATH_SEPARATOR=';'
   18013   }
   18014 fi
   18015 
   18016 
   18017 # IFS
   18018 # We need space, tab and new line, in precisely that order.  Quoting is
   18019 # there to prevent editors from complaining about space-tab.
   18020 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   18021 # splitting by setting IFS to empty value.)
   18022 IFS=" ""	$as_nl"
   18023 
   18024 # Find who we are.  Look in the path if we contain no directory separator.
   18025 as_myself=
   18026 case $0 in #((
   18027   *[\\/]* ) as_myself=$0 ;;
   18028   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18029 for as_dir in $PATH
   18030 do
   18031   IFS=$as_save_IFS
   18032   test -z "$as_dir" && as_dir=.
   18033     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   18034   done
   18035 IFS=$as_save_IFS
   18036 
   18037      ;;
   18038 esac
   18039 # We did not find ourselves, most probably we were run as `sh COMMAND'
   18040 # in which case we are not to be found in the path.
   18041 if test "x$as_myself" = x; then
   18042   as_myself=$0
   18043 fi
   18044 if test ! -f "$as_myself"; then
   18045   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   18046   exit 1
   18047 fi
   18048 
   18049 # Unset variables that we do not need and which cause bugs (e.g. in
   18050 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   18051 # suppresses any "Segmentation fault" message there.  '((' could
   18052 # trigger a bug in pdksh 5.2.14.
   18053 for as_var in BASH_ENV ENV MAIL MAILPATH
   18054 do eval test x\${$as_var+set} = xset \
   18055   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   18056 done
   18057 PS1='$ '
   18058 PS2='> '
   18059 PS4='+ '
   18060 
   18061 # NLS nuisances.
   18062 LC_ALL=C
   18063 export LC_ALL
   18064 LANGUAGE=C
   18065 export LANGUAGE
   18066 
   18067 # CDPATH.
   18068 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18069 
   18070 
   18071 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   18072 # ----------------------------------------
   18073 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   18074 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   18075 # script with STATUS, using 1 if that was 0.
   18076 as_fn_error ()
   18077 {
   18078   as_status=$1; test $as_status -eq 0 && as_status=1
   18079   if test "$4"; then
   18080     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   18081     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   18082   fi
   18083   $as_echo "$as_me: error: $2" >&2
   18084   as_fn_exit $as_status
   18085 } # as_fn_error
   18086 
   18087 
   18088 # as_fn_set_status STATUS
   18089 # -----------------------
   18090 # Set $? to STATUS, without forking.
   18091 as_fn_set_status ()
   18092 {
   18093   return $1
   18094 } # as_fn_set_status
   18095 
   18096 # as_fn_exit STATUS
   18097 # -----------------
   18098 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   18099 as_fn_exit ()
   18100 {
   18101   set +e
   18102   as_fn_set_status $1
   18103   exit $1
   18104 } # as_fn_exit
   18105 
   18106 # as_fn_unset VAR
   18107 # ---------------
   18108 # Portably unset VAR.
   18109 as_fn_unset ()
   18110 {
   18111   { eval $1=; unset $1;}
   18112 }
   18113 as_unset=as_fn_unset
   18114 # as_fn_append VAR VALUE
   18115 # ----------------------
   18116 # Append the text in VALUE to the end of the definition contained in VAR. Take
   18117 # advantage of any shell optimizations that allow amortized linear growth over
   18118 # repeated appends, instead of the typical quadratic growth present in naive
   18119 # implementations.
   18120 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   18121   eval 'as_fn_append ()
   18122   {
   18123     eval $1+=\$2
   18124   }'
   18125 else
   18126   as_fn_append ()
   18127   {
   18128     eval $1=\$$1\$2
   18129   }
   18130 fi # as_fn_append
   18131 
   18132 # as_fn_arith ARG...
   18133 # ------------------
   18134 # Perform arithmetic evaluation on the ARGs, and store the result in the
   18135 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   18136 # must be portable across $(()) and expr.
   18137 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   18138   eval 'as_fn_arith ()
   18139   {
   18140     as_val=$(( $* ))
   18141   }'
   18142 else
   18143   as_fn_arith ()
   18144   {
   18145     as_val=`expr "$@" || test $? -eq 1`
   18146   }
   18147 fi # as_fn_arith
   18148 
   18149 
   18150 if expr a : '\(a\)' >/dev/null 2>&1 &&
   18151    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   18152   as_expr=expr
   18153 else
   18154   as_expr=false
   18155 fi
   18156 
   18157 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   18158   as_basename=basename
   18159 else
   18160   as_basename=false
   18161 fi
   18162 
   18163 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   18164   as_dirname=dirname
   18165 else
   18166   as_dirname=false
   18167 fi
   18168 
   18169 as_me=`$as_basename -- "$0" ||
   18170 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   18171 	 X"$0" : 'X\(//\)$' \| \
   18172 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   18173 $as_echo X/"$0" |
   18174     sed '/^.*\/\([^/][^/]*\)\/*$/{
   18175 	    s//\1/
   18176 	    q
   18177 	  }
   18178 	  /^X\/\(\/\/\)$/{
   18179 	    s//\1/
   18180 	    q
   18181 	  }
   18182 	  /^X\/\(\/\).*/{
   18183 	    s//\1/
   18184 	    q
   18185 	  }
   18186 	  s/.*/./; q'`
   18187 
   18188 # Avoid depending upon Character Ranges.
   18189 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   18190 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   18191 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   18192 as_cr_digits='0123456789'
   18193 as_cr_alnum=$as_cr_Letters$as_cr_digits
   18194 
   18195 ECHO_C= ECHO_N= ECHO_T=
   18196 case `echo -n x` in #(((((
   18197 -n*)
   18198   case `echo 'xy\c'` in
   18199   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   18200   xy)  ECHO_C='\c';;
   18201   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   18202        ECHO_T='	';;
   18203   esac;;
   18204 *)
   18205   ECHO_N='-n';;
   18206 esac
   18207 
   18208 rm -f conf$$ conf$$.exe conf$$.file
   18209 if test -d conf$$.dir; then
   18210   rm -f conf$$.dir/conf$$.file
   18211 else
   18212   rm -f conf$$.dir
   18213   mkdir conf$$.dir 2>/dev/null
   18214 fi
   18215 if (echo >conf$$.file) 2>/dev/null; then
   18216   if ln -s conf$$.file conf$$ 2>/dev/null; then
   18217     as_ln_s='ln -s'
   18218     # ... but there are two gotchas:
   18219     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   18220     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   18221     # In both cases, we have to default to `cp -p'.
   18222     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   18223       as_ln_s='cp -p'
   18224   elif ln conf$$.file conf$$ 2>/dev/null; then
   18225     as_ln_s=ln
   18226   else
   18227     as_ln_s='cp -p'
   18228   fi
   18229 else
   18230   as_ln_s='cp -p'
   18231 fi
   18232 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   18233 rmdir conf$$.dir 2>/dev/null
   18234 
   18235 
   18236 # as_fn_mkdir_p
   18237 # -------------
   18238 # Create "$as_dir" as a directory, including parents if necessary.
   18239 as_fn_mkdir_p ()
   18240 {
   18241 
   18242   case $as_dir in #(
   18243   -*) as_dir=./$as_dir;;
   18244   esac
   18245   test -d "$as_dir" || eval $as_mkdir_p || {
   18246     as_dirs=
   18247     while :; do
   18248       case $as_dir in #(
   18249       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   18250       *) as_qdir=$as_dir;;
   18251       esac
   18252       as_dirs="'$as_qdir' $as_dirs"
   18253       as_dir=`$as_dirname -- "$as_dir" ||
   18254 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18255 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   18256 	 X"$as_dir" : 'X\(//\)$' \| \
   18257 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   18258 $as_echo X"$as_dir" |
   18259     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18260 	    s//\1/
   18261 	    q
   18262 	  }
   18263 	  /^X\(\/\/\)[^/].*/{
   18264 	    s//\1/
   18265 	    q
   18266 	  }
   18267 	  /^X\(\/\/\)$/{
   18268 	    s//\1/
   18269 	    q
   18270 	  }
   18271 	  /^X\(\/\).*/{
   18272 	    s//\1/
   18273 	    q
   18274 	  }
   18275 	  s/.*/./; q'`
   18276       test -d "$as_dir" && break
   18277     done
   18278     test -z "$as_dirs" || eval "mkdir $as_dirs"
   18279   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   18280 
   18281 
   18282 } # as_fn_mkdir_p
   18283 if mkdir -p . 2>/dev/null; then
   18284   as_mkdir_p='mkdir -p "$as_dir"'
   18285 else
   18286   test -d ./-p && rmdir ./-p
   18287   as_mkdir_p=false
   18288 fi
   18289 
   18290 if test -x / >/dev/null 2>&1; then
   18291   as_test_x='test -x'
   18292 else
   18293   if ls -dL / >/dev/null 2>&1; then
   18294     as_ls_L_option=L
   18295   else
   18296     as_ls_L_option=
   18297   fi
   18298   as_test_x='
   18299     eval sh -c '\''
   18300       if test -d "$1"; then
   18301 	test -d "$1/.";
   18302       else
   18303 	case $1 in #(
   18304 	-*)set "./$1";;
   18305 	esac;
   18306 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   18307 	???[sx]*):;;*)false;;esac;fi
   18308     '\'' sh
   18309   '
   18310 fi
   18311 as_executable_p=$as_test_x
   18312 
   18313 # Sed expression to map a string onto a valid CPP name.
   18314 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   18315 
   18316 # Sed expression to map a string onto a valid variable name.
   18317 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   18318 
   18319 
   18320 exec 6>&1
   18321 ## ----------------------------------- ##
   18322 ## Main body of $CONFIG_STATUS script. ##
   18323 ## ----------------------------------- ##
   18324 _ASEOF
   18325 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   18326 
   18327 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18328 # Save the log message, to keep $0 and so on meaningful, and to
   18329 # report actual input values of CONFIG_FILES etc. instead of their
   18330 # values after options handling.
   18331 ac_log="
   18332 This file was extended by libXres $as_me 1.0.7, which was
   18333 generated by GNU Autoconf 2.68.  Invocation command line was
   18334 
   18335   CONFIG_FILES    = $CONFIG_FILES
   18336   CONFIG_HEADERS  = $CONFIG_HEADERS
   18337   CONFIG_LINKS    = $CONFIG_LINKS
   18338   CONFIG_COMMANDS = $CONFIG_COMMANDS
   18339   $ $0 $@
   18340 
   18341 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   18342 "
   18343 
   18344 _ACEOF
   18345 
   18346 case $ac_config_files in *"
   18347 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   18348 esac
   18349 
   18350 case $ac_config_headers in *"
   18351 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   18352 esac
   18353 
   18354 
   18355 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18356 # Files that config.status was made for.
   18357 config_files="$ac_config_files"
   18358 config_headers="$ac_config_headers"
   18359 config_commands="$ac_config_commands"
   18360 
   18361 _ACEOF
   18362 
   18363 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18364 ac_cs_usage="\
   18365 \`$as_me' instantiates files and other configuration actions
   18366 from templates according to the current configuration.  Unless the files
   18367 and actions are specified as TAGs, all are instantiated by default.
   18368 
   18369 Usage: $0 [OPTION]... [TAG]...
   18370 
   18371   -h, --help       print this help, then exit
   18372   -V, --version    print version number and configuration settings, then exit
   18373       --config     print configuration, then exit
   18374   -q, --quiet, --silent
   18375                    do not print progress messages
   18376   -d, --debug      don't remove temporary files
   18377       --recheck    update $as_me by reconfiguring in the same conditions
   18378       --file=FILE[:TEMPLATE]
   18379                    instantiate the configuration file FILE
   18380       --header=FILE[:TEMPLATE]
   18381                    instantiate the configuration header FILE
   18382 
   18383 Configuration files:
   18384 $config_files
   18385 
   18386 Configuration headers:
   18387 $config_headers
   18388 
   18389 Configuration commands:
   18390 $config_commands
   18391 
   18392 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   18393 
   18394 _ACEOF
   18395 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18396 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   18397 ac_cs_version="\\
   18398 libXres config.status 1.0.7
   18399 configured by $0, generated by GNU Autoconf 2.68,
   18400   with options \\"\$ac_cs_config\\"
   18401 
   18402 Copyright (C) 2010 Free Software Foundation, Inc.
   18403 This config.status script is free software; the Free Software Foundation
   18404 gives unlimited permission to copy, distribute and modify it."
   18405 
   18406 ac_pwd='$ac_pwd'
   18407 srcdir='$srcdir'
   18408 INSTALL='$INSTALL'
   18409 MKDIR_P='$MKDIR_P'
   18410 AWK='$AWK'
   18411 test -n "\$AWK" || AWK=awk
   18412 _ACEOF
   18413 
   18414 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18415 # The default lists apply if the user does not specify any file.
   18416 ac_need_defaults=:
   18417 while test $# != 0
   18418 do
   18419   case $1 in
   18420   --*=?*)
   18421     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18422     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   18423     ac_shift=:
   18424     ;;
   18425   --*=)
   18426     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18427     ac_optarg=
   18428     ac_shift=:
   18429     ;;
   18430   *)
   18431     ac_option=$1
   18432     ac_optarg=$2
   18433     ac_shift=shift
   18434     ;;
   18435   esac
   18436 
   18437   case $ac_option in
   18438   # Handling of the options.
   18439   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   18440     ac_cs_recheck=: ;;
   18441   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   18442     $as_echo "$ac_cs_version"; exit ;;
   18443   --config | --confi | --conf | --con | --co | --c )
   18444     $as_echo "$ac_cs_config"; exit ;;
   18445   --debug | --debu | --deb | --de | --d | -d )
   18446     debug=: ;;
   18447   --file | --fil | --fi | --f )
   18448     $ac_shift
   18449     case $ac_optarg in
   18450     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18451     '') as_fn_error $? "missing file argument" ;;
   18452     esac
   18453     as_fn_append CONFIG_FILES " '$ac_optarg'"
   18454     ac_need_defaults=false;;
   18455   --header | --heade | --head | --hea )
   18456     $ac_shift
   18457     case $ac_optarg in
   18458     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18459     esac
   18460     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   18461     ac_need_defaults=false;;
   18462   --he | --h)
   18463     # Conflict between --help and --header
   18464     as_fn_error $? "ambiguous option: \`$1'
   18465 Try \`$0 --help' for more information.";;
   18466   --help | --hel | -h )
   18467     $as_echo "$ac_cs_usage"; exit ;;
   18468   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   18469   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   18470     ac_cs_silent=: ;;
   18471 
   18472   # This is an error.
   18473   -*) as_fn_error $? "unrecognized option: \`$1'
   18474 Try \`$0 --help' for more information." ;;
   18475 
   18476   *) as_fn_append ac_config_targets " $1"
   18477      ac_need_defaults=false ;;
   18478 
   18479   esac
   18480   shift
   18481 done
   18482 
   18483 ac_configure_extra_args=
   18484 
   18485 if $ac_cs_silent; then
   18486   exec 6>/dev/null
   18487   ac_configure_extra_args="$ac_configure_extra_args --silent"
   18488 fi
   18489 
   18490 _ACEOF
   18491 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18492 if \$ac_cs_recheck; then
   18493   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   18494   shift
   18495   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   18496   CONFIG_SHELL='$SHELL'
   18497   export CONFIG_SHELL
   18498   exec "\$@"
   18499 fi
   18500 
   18501 _ACEOF
   18502 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18503 exec 5>>config.log
   18504 {
   18505   echo
   18506   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   18507 ## Running $as_me. ##
   18508 _ASBOX
   18509   $as_echo "$ac_log"
   18510 } >&5
   18511 
   18512 _ACEOF
   18513 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18514 #
   18515 # INIT-COMMANDS
   18516 #
   18517 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   18518 
   18519 
   18520 # The HP-UX ksh and POSIX shell print the target directory to stdout
   18521 # if CDPATH is set.
   18522 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18523 
   18524 sed_quote_subst='$sed_quote_subst'
   18525 double_quote_subst='$double_quote_subst'
   18526 delay_variable_subst='$delay_variable_subst'
   18527 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   18528 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   18529 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   18530 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   18531 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   18532 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   18533 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   18534 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   18535 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   18536 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   18537 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   18538 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   18539 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   18540 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   18541 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   18542 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   18543 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   18544 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   18545 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   18546 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   18547 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   18548 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   18549 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   18550 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   18551 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   18552 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   18553 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   18554 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   18555 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   18556 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   18557 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   18558 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   18559 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   18560 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   18561 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   18562 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   18563 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   18564 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   18565 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   18566 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   18567 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   18568 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   18569 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   18570 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   18571 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   18572 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   18573 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   18574 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   18575 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   18576 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   18577 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   18578 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   18579 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   18580 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   18581 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   18582 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   18583 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"`'
   18584 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   18585 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   18586 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   18587 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   18588 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   18589 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   18590 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   18591 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   18592 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   18593 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   18594 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   18595 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   18596 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   18597 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   18598 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   18599 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   18600 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   18601 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   18602 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   18603 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   18604 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   18605 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   18606 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   18607 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   18608 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   18609 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   18610 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   18611 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   18612 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   18613 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   18614 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   18615 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   18616 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   18617 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   18618 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   18619 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   18620 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   18621 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   18622 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   18623 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   18624 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   18625 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   18626 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   18627 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   18628 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   18629 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   18630 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   18631 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   18632 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   18633 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   18634 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   18635 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   18636 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   18637 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   18638 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   18639 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   18640 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   18641 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   18642 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   18643 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   18644 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   18645 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   18646 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   18647 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   18648 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   18649 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   18650 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   18651 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   18652 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   18653 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   18654 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   18655 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   18656 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   18657 
   18658 LTCC='$LTCC'
   18659 LTCFLAGS='$LTCFLAGS'
   18660 compiler='$compiler_DEFAULT'
   18661 
   18662 # A function that is used when there is no print builtin or printf.
   18663 func_fallback_echo ()
   18664 {
   18665   eval 'cat <<_LTECHO_EOF
   18666 \$1
   18667 _LTECHO_EOF'
   18668 }
   18669 
   18670 # Quote evaled strings.
   18671 for var in SHELL \
   18672 ECHO \
   18673 PATH_SEPARATOR \
   18674 SED \
   18675 GREP \
   18676 EGREP \
   18677 FGREP \
   18678 LD \
   18679 NM \
   18680 LN_S \
   18681 lt_SP2NL \
   18682 lt_NL2SP \
   18683 reload_flag \
   18684 OBJDUMP \
   18685 deplibs_check_method \
   18686 file_magic_cmd \
   18687 file_magic_glob \
   18688 want_nocaseglob \
   18689 DLLTOOL \
   18690 sharedlib_from_linklib_cmd \
   18691 AR \
   18692 AR_FLAGS \
   18693 archiver_list_spec \
   18694 STRIP \
   18695 RANLIB \
   18696 CC \
   18697 CFLAGS \
   18698 compiler \
   18699 lt_cv_sys_global_symbol_pipe \
   18700 lt_cv_sys_global_symbol_to_cdecl \
   18701 lt_cv_sys_global_symbol_to_c_name_address \
   18702 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   18703 nm_file_list_spec \
   18704 lt_prog_compiler_no_builtin_flag \
   18705 lt_prog_compiler_pic \
   18706 lt_prog_compiler_wl \
   18707 lt_prog_compiler_static \
   18708 lt_cv_prog_compiler_c_o \
   18709 need_locks \
   18710 MANIFEST_TOOL \
   18711 DSYMUTIL \
   18712 NMEDIT \
   18713 LIPO \
   18714 OTOOL \
   18715 OTOOL64 \
   18716 shrext_cmds \
   18717 export_dynamic_flag_spec \
   18718 whole_archive_flag_spec \
   18719 compiler_needs_object \
   18720 with_gnu_ld \
   18721 allow_undefined_flag \
   18722 no_undefined_flag \
   18723 hardcode_libdir_flag_spec \
   18724 hardcode_libdir_separator \
   18725 exclude_expsyms \
   18726 include_expsyms \
   18727 file_list_spec \
   18728 variables_saved_for_relink \
   18729 libname_spec \
   18730 library_names_spec \
   18731 soname_spec \
   18732 install_override_mode \
   18733 finish_eval \
   18734 old_striplib \
   18735 striplib; do
   18736     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   18737     *[\\\\\\\`\\"\\\$]*)
   18738       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   18739       ;;
   18740     *)
   18741       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   18742       ;;
   18743     esac
   18744 done
   18745 
   18746 # Double-quote double-evaled strings.
   18747 for var in reload_cmds \
   18748 old_postinstall_cmds \
   18749 old_postuninstall_cmds \
   18750 old_archive_cmds \
   18751 extract_expsyms_cmds \
   18752 old_archive_from_new_cmds \
   18753 old_archive_from_expsyms_cmds \
   18754 archive_cmds \
   18755 archive_expsym_cmds \
   18756 module_cmds \
   18757 module_expsym_cmds \
   18758 export_symbols_cmds \
   18759 prelink_cmds \
   18760 postlink_cmds \
   18761 postinstall_cmds \
   18762 postuninstall_cmds \
   18763 finish_cmds \
   18764 sys_lib_search_path_spec \
   18765 sys_lib_dlsearch_path_spec; do
   18766     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   18767     *[\\\\\\\`\\"\\\$]*)
   18768       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   18769       ;;
   18770     *)
   18771       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   18772       ;;
   18773     esac
   18774 done
   18775 
   18776 ac_aux_dir='$ac_aux_dir'
   18777 xsi_shell='$xsi_shell'
   18778 lt_shell_append='$lt_shell_append'
   18779 
   18780 # See if we are running on zsh, and set the options which allow our
   18781 # commands through without removal of \ escapes INIT.
   18782 if test -n "\${ZSH_VERSION+set}" ; then
   18783    setopt NO_GLOB_SUBST
   18784 fi
   18785 
   18786 
   18787     PACKAGE='$PACKAGE'
   18788     VERSION='$VERSION'
   18789     TIMESTAMP='$TIMESTAMP'
   18790     RM='$RM'
   18791     ofile='$ofile'
   18792 
   18793 
   18794 
   18795 
   18796 _ACEOF
   18797 
   18798 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18799 
   18800 # Handling of arguments.
   18801 for ac_config_target in $ac_config_targets
   18802 do
   18803   case $ac_config_target in
   18804     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   18805     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   18806     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   18807     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   18808     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   18809     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   18810     "xres.pc") CONFIG_FILES="$CONFIG_FILES xres.pc" ;;
   18811 
   18812   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   18813   esac
   18814 done
   18815 
   18816 
   18817 # If the user did not use the arguments to specify the items to instantiate,
   18818 # then the envvar interface is used.  Set only those that are not.
   18819 # We use the long form for the default assignment because of an extremely
   18820 # bizarre bug on SunOS 4.1.3.
   18821 if $ac_need_defaults; then
   18822   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   18823   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   18824   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   18825 fi
   18826 
   18827 # Have a temporary directory for convenience.  Make it in the build tree
   18828 # simply because there is no reason against having it here, and in addition,
   18829 # creating and moving files from /tmp can sometimes cause problems.
   18830 # Hook for its removal unless debugging.
   18831 # Note that there is a small window in which the directory will not be cleaned:
   18832 # after its creation but before its name has been assigned to `$tmp'.
   18833 $debug ||
   18834 {
   18835   tmp= ac_tmp=
   18836   trap 'exit_status=$?
   18837   : "${ac_tmp:=$tmp}"
   18838   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   18839 ' 0
   18840   trap 'as_fn_exit 1' 1 2 13 15
   18841 }
   18842 # Create a (secure) tmp directory for tmp files.
   18843 
   18844 {
   18845   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   18846   test -d "$tmp"
   18847 }  ||
   18848 {
   18849   tmp=./conf$$-$RANDOM
   18850   (umask 077 && mkdir "$tmp")
   18851 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   18852 ac_tmp=$tmp
   18853 
   18854 # Set up the scripts for CONFIG_FILES section.
   18855 # No need to generate them if there are no CONFIG_FILES.
   18856 # This happens for instance with `./config.status config.h'.
   18857 if test -n "$CONFIG_FILES"; then
   18858 
   18859 
   18860 ac_cr=`echo X | tr X '\015'`
   18861 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   18862 # But we know of no other shell where ac_cr would be empty at this
   18863 # point, so we can use a bashism as a fallback.
   18864 if test "x$ac_cr" = x; then
   18865   eval ac_cr=\$\'\\r\'
   18866 fi
   18867 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   18868 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   18869   ac_cs_awk_cr='\\r'
   18870 else
   18871   ac_cs_awk_cr=$ac_cr
   18872 fi
   18873 
   18874 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   18875 _ACEOF
   18876 
   18877 
   18878 {
   18879   echo "cat >conf$$subs.awk <<_ACEOF" &&
   18880   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   18881   echo "_ACEOF"
   18882 } >conf$$subs.sh ||
   18883   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18884 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   18885 ac_delim='%!_!# '
   18886 for ac_last_try in false false false false false :; do
   18887   . ./conf$$subs.sh ||
   18888     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18889 
   18890   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   18891   if test $ac_delim_n = $ac_delim_num; then
   18892     break
   18893   elif $ac_last_try; then
   18894     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18895   else
   18896     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   18897   fi
   18898 done
   18899 rm -f conf$$subs.sh
   18900 
   18901 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18902 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   18903 _ACEOF
   18904 sed -n '
   18905 h
   18906 s/^/S["/; s/!.*/"]=/
   18907 p
   18908 g
   18909 s/^[^!]*!//
   18910 :repl
   18911 t repl
   18912 s/'"$ac_delim"'$//
   18913 t delim
   18914 :nl
   18915 h
   18916 s/\(.\{148\}\)..*/\1/
   18917 t more1
   18918 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   18919 p
   18920 n
   18921 b repl
   18922 :more1
   18923 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   18924 p
   18925 g
   18926 s/.\{148\}//
   18927 t nl
   18928 :delim
   18929 h
   18930 s/\(.\{148\}\)..*/\1/
   18931 t more2
   18932 s/["\\]/\\&/g; s/^/"/; s/$/"/
   18933 p
   18934 b
   18935 :more2
   18936 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   18937 p
   18938 g
   18939 s/.\{148\}//
   18940 t delim
   18941 ' <conf$$subs.awk | sed '
   18942 /^[^""]/{
   18943   N
   18944   s/\n//
   18945 }
   18946 ' >>$CONFIG_STATUS || ac_write_fail=1
   18947 rm -f conf$$subs.awk
   18948 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18949 _ACAWK
   18950 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   18951   for (key in S) S_is_set[key] = 1
   18952   FS = ""
   18953 
   18954 }
   18955 {
   18956   line = $ 0
   18957   nfields = split(line, field, "@")
   18958   substed = 0
   18959   len = length(field[1])
   18960   for (i = 2; i < nfields; i++) {
   18961     key = field[i]
   18962     keylen = length(key)
   18963     if (S_is_set[key]) {
   18964       value = S[key]
   18965       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   18966       len += length(value) + length(field[++i])
   18967       substed = 1
   18968     } else
   18969       len += 1 + keylen
   18970   }
   18971 
   18972   print line
   18973 }
   18974 
   18975 _ACAWK
   18976 _ACEOF
   18977 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18978 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   18979   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   18980 else
   18981   cat
   18982 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   18983   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   18984 _ACEOF
   18985 
   18986 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   18987 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   18988 # trailing colons and then remove the whole line if VPATH becomes empty
   18989 # (actually we leave an empty line to preserve line numbers).
   18990 if test "x$srcdir" = x.; then
   18991   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   18992 h
   18993 s///
   18994 s/^/:/
   18995 s/[	 ]*$/:/
   18996 s/:\$(srcdir):/:/g
   18997 s/:\${srcdir}:/:/g
   18998 s/:@srcdir@:/:/g
   18999 s/^:*//
   19000 s/:*$//
   19001 x
   19002 s/\(=[	 ]*\).*/\1/
   19003 G
   19004 s/\n//
   19005 s/^[^=]*=[	 ]*$//
   19006 }'
   19007 fi
   19008 
   19009 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19010 fi # test -n "$CONFIG_FILES"
   19011 
   19012 # Set up the scripts for CONFIG_HEADERS section.
   19013 # No need to generate them if there are no CONFIG_HEADERS.
   19014 # This happens for instance with `./config.status Makefile'.
   19015 if test -n "$CONFIG_HEADERS"; then
   19016 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   19017 BEGIN {
   19018 _ACEOF
   19019 
   19020 # Transform confdefs.h into an awk script `defines.awk', embedded as
   19021 # here-document in config.status, that substitutes the proper values into
   19022 # config.h.in to produce config.h.
   19023 
   19024 # Create a delimiter string that does not exist in confdefs.h, to ease
   19025 # handling of long lines.
   19026 ac_delim='%!_!# '
   19027 for ac_last_try in false false :; do
   19028   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   19029   if test -z "$ac_tt"; then
   19030     break
   19031   elif $ac_last_try; then
   19032     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   19033   else
   19034     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19035   fi
   19036 done
   19037 
   19038 # For the awk script, D is an array of macro values keyed by name,
   19039 # likewise P contains macro parameters if any.  Preserve backslash
   19040 # newline sequences.
   19041 
   19042 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   19043 sed -n '
   19044 s/.\{148\}/&'"$ac_delim"'/g
   19045 t rset
   19046 :rset
   19047 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   19048 t def
   19049 d
   19050 :def
   19051 s/\\$//
   19052 t bsnl
   19053 s/["\\]/\\&/g
   19054 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19055 D["\1"]=" \3"/p
   19056 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   19057 d
   19058 :bsnl
   19059 s/["\\]/\\&/g
   19060 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19061 D["\1"]=" \3\\\\\\n"\\/p
   19062 t cont
   19063 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   19064 t cont
   19065 d
   19066 :cont
   19067 n
   19068 s/.\{148\}/&'"$ac_delim"'/g
   19069 t clear
   19070 :clear
   19071 s/\\$//
   19072 t bsnlc
   19073 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   19074 d
   19075 :bsnlc
   19076 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   19077 b cont
   19078 ' <confdefs.h | sed '
   19079 s/'"$ac_delim"'/"\\\
   19080 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   19081 
   19082 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19083   for (key in D) D_is_set[key] = 1
   19084   FS = ""
   19085 }
   19086 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   19087   line = \$ 0
   19088   split(line, arg, " ")
   19089   if (arg[1] == "#") {
   19090     defundef = arg[2]
   19091     mac1 = arg[3]
   19092   } else {
   19093     defundef = substr(arg[1], 2)
   19094     mac1 = arg[2]
   19095   }
   19096   split(mac1, mac2, "(") #)
   19097   macro = mac2[1]
   19098   prefix = substr(line, 1, index(line, defundef) - 1)
   19099   if (D_is_set[macro]) {
   19100     # Preserve the white space surrounding the "#".
   19101     print prefix "define", macro P[macro] D[macro]
   19102     next
   19103   } else {
   19104     # Replace #undef with comments.  This is necessary, for example,
   19105     # in the case of _POSIX_SOURCE, which is predefined and required
   19106     # on some systems where configure will not decide to define it.
   19107     if (defundef == "undef") {
   19108       print "/*", prefix defundef, macro, "*/"
   19109       next
   19110     }
   19111   }
   19112 }
   19113 { print }
   19114 _ACAWK
   19115 _ACEOF
   19116 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19117   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   19118 fi # test -n "$CONFIG_HEADERS"
   19119 
   19120 
   19121 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   19122 shift
   19123 for ac_tag
   19124 do
   19125   case $ac_tag in
   19126   :[FHLC]) ac_mode=$ac_tag; continue;;
   19127   esac
   19128   case $ac_mode$ac_tag in
   19129   :[FHL]*:*);;
   19130   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   19131   :[FH]-) ac_tag=-:-;;
   19132   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   19133   esac
   19134   ac_save_IFS=$IFS
   19135   IFS=:
   19136   set x $ac_tag
   19137   IFS=$ac_save_IFS
   19138   shift
   19139   ac_file=$1
   19140   shift
   19141 
   19142   case $ac_mode in
   19143   :L) ac_source=$1;;
   19144   :[FH])
   19145     ac_file_inputs=
   19146     for ac_f
   19147     do
   19148       case $ac_f in
   19149       -) ac_f="$ac_tmp/stdin";;
   19150       *) # Look for the file first in the build tree, then in the source tree
   19151 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   19152 	 # because $ac_f cannot contain `:'.
   19153 	 test -f "$ac_f" ||
   19154 	   case $ac_f in
   19155 	   [\\/$]*) false;;
   19156 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   19157 	   esac ||
   19158 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   19159       esac
   19160       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   19161       as_fn_append ac_file_inputs " '$ac_f'"
   19162     done
   19163 
   19164     # Let's still pretend it is `configure' which instantiates (i.e., don't
   19165     # use $as_me), people would be surprised to read:
   19166     #    /* config.h.  Generated by config.status.  */
   19167     configure_input='Generated from '`
   19168 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   19169 	`' by configure.'
   19170     if test x"$ac_file" != x-; then
   19171       configure_input="$ac_file.  $configure_input"
   19172       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   19173 $as_echo "$as_me: creating $ac_file" >&6;}
   19174     fi
   19175     # Neutralize special characters interpreted by sed in replacement strings.
   19176     case $configure_input in #(
   19177     *\&* | *\|* | *\\* )
   19178        ac_sed_conf_input=`$as_echo "$configure_input" |
   19179        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   19180     *) ac_sed_conf_input=$configure_input;;
   19181     esac
   19182 
   19183     case $ac_tag in
   19184     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   19185       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   19186     esac
   19187     ;;
   19188   esac
   19189 
   19190   ac_dir=`$as_dirname -- "$ac_file" ||
   19191 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19192 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   19193 	 X"$ac_file" : 'X\(//\)$' \| \
   19194 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   19195 $as_echo X"$ac_file" |
   19196     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19197 	    s//\1/
   19198 	    q
   19199 	  }
   19200 	  /^X\(\/\/\)[^/].*/{
   19201 	    s//\1/
   19202 	    q
   19203 	  }
   19204 	  /^X\(\/\/\)$/{
   19205 	    s//\1/
   19206 	    q
   19207 	  }
   19208 	  /^X\(\/\).*/{
   19209 	    s//\1/
   19210 	    q
   19211 	  }
   19212 	  s/.*/./; q'`
   19213   as_dir="$ac_dir"; as_fn_mkdir_p
   19214   ac_builddir=.
   19215 
   19216 case "$ac_dir" in
   19217 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19218 *)
   19219   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   19220   # A ".." for each directory in $ac_dir_suffix.
   19221   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   19222   case $ac_top_builddir_sub in
   19223   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19224   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   19225   esac ;;
   19226 esac
   19227 ac_abs_top_builddir=$ac_pwd
   19228 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   19229 # for backward compatibility:
   19230 ac_top_builddir=$ac_top_build_prefix
   19231 
   19232 case $srcdir in
   19233   .)  # We are building in place.
   19234     ac_srcdir=.
   19235     ac_top_srcdir=$ac_top_builddir_sub
   19236     ac_abs_top_srcdir=$ac_pwd ;;
   19237   [\\/]* | ?:[\\/]* )  # Absolute name.
   19238     ac_srcdir=$srcdir$ac_dir_suffix;
   19239     ac_top_srcdir=$srcdir
   19240     ac_abs_top_srcdir=$srcdir ;;
   19241   *) # Relative name.
   19242     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   19243     ac_top_srcdir=$ac_top_build_prefix$srcdir
   19244     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   19245 esac
   19246 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   19247 
   19248 
   19249   case $ac_mode in
   19250   :F)
   19251   #
   19252   # CONFIG_FILE
   19253   #
   19254 
   19255   case $INSTALL in
   19256   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   19257   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   19258   esac
   19259   ac_MKDIR_P=$MKDIR_P
   19260   case $MKDIR_P in
   19261   [\\/$]* | ?:[\\/]* ) ;;
   19262   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   19263   esac
   19264 _ACEOF
   19265 
   19266 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19267 # If the template does not know about datarootdir, expand it.
   19268 # FIXME: This hack should be removed a few years after 2.60.
   19269 ac_datarootdir_hack=; ac_datarootdir_seen=
   19270 ac_sed_dataroot='
   19271 /datarootdir/ {
   19272   p
   19273   q
   19274 }
   19275 /@datadir@/p
   19276 /@docdir@/p
   19277 /@infodir@/p
   19278 /@localedir@/p
   19279 /@mandir@/p'
   19280 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   19281 *datarootdir*) ac_datarootdir_seen=yes;;
   19282 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   19283   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   19284 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   19285 _ACEOF
   19286 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19287   ac_datarootdir_hack='
   19288   s&@datadir@&$datadir&g
   19289   s&@docdir@&$docdir&g
   19290   s&@infodir@&$infodir&g
   19291   s&@localedir@&$localedir&g
   19292   s&@mandir@&$mandir&g
   19293   s&\\\${datarootdir}&$datarootdir&g' ;;
   19294 esac
   19295 _ACEOF
   19296 
   19297 # Neutralize VPATH when `$srcdir' = `.'.
   19298 # Shell code in configure.ac might set extrasub.
   19299 # FIXME: do we really want to maintain this feature?
   19300 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19301 ac_sed_extra="$ac_vpsub
   19302 $extrasub
   19303 _ACEOF
   19304 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19305 :t
   19306 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   19307 s|@configure_input@|$ac_sed_conf_input|;t t
   19308 s&@top_builddir@&$ac_top_builddir_sub&;t t
   19309 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   19310 s&@srcdir@&$ac_srcdir&;t t
   19311 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   19312 s&@top_srcdir@&$ac_top_srcdir&;t t
   19313 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   19314 s&@builddir@&$ac_builddir&;t t
   19315 s&@abs_builddir@&$ac_abs_builddir&;t t
   19316 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   19317 s&@INSTALL@&$ac_INSTALL&;t t
   19318 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   19319 $ac_datarootdir_hack
   19320 "
   19321 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   19322   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19323 
   19324 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   19325   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   19326   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   19327       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   19328   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19329 which seems to be undefined.  Please make sure it is defined" >&5
   19330 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19331 which seems to be undefined.  Please make sure it is defined" >&2;}
   19332 
   19333   rm -f "$ac_tmp/stdin"
   19334   case $ac_file in
   19335   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   19336   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   19337   esac \
   19338   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19339  ;;
   19340   :H)
   19341   #
   19342   # CONFIG_HEADER
   19343   #
   19344   if test x"$ac_file" != x-; then
   19345     {
   19346       $as_echo "/* $configure_input  */" \
   19347       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   19348     } >"$ac_tmp/config.h" \
   19349       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19350     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   19351       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   19352 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   19353     else
   19354       rm -f "$ac_file"
   19355       mv "$ac_tmp/config.h" "$ac_file" \
   19356 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19357     fi
   19358   else
   19359     $as_echo "/* $configure_input  */" \
   19360       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   19361       || as_fn_error $? "could not create -" "$LINENO" 5
   19362   fi
   19363 # Compute "$ac_file"'s index in $config_headers.
   19364 _am_arg="$ac_file"
   19365 _am_stamp_count=1
   19366 for _am_header in $config_headers :; do
   19367   case $_am_header in
   19368     $_am_arg | $_am_arg:* )
   19369       break ;;
   19370     * )
   19371       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   19372   esac
   19373 done
   19374 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   19375 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19376 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   19377 	 X"$_am_arg" : 'X\(//\)$' \| \
   19378 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   19379 $as_echo X"$_am_arg" |
   19380     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19381 	    s//\1/
   19382 	    q
   19383 	  }
   19384 	  /^X\(\/\/\)[^/].*/{
   19385 	    s//\1/
   19386 	    q
   19387 	  }
   19388 	  /^X\(\/\/\)$/{
   19389 	    s//\1/
   19390 	    q
   19391 	  }
   19392 	  /^X\(\/\).*/{
   19393 	    s//\1/
   19394 	    q
   19395 	  }
   19396 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   19397  ;;
   19398 
   19399   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   19400 $as_echo "$as_me: executing $ac_file commands" >&6;}
   19401  ;;
   19402   esac
   19403 
   19404 
   19405   case $ac_file$ac_mode in
   19406     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   19407   # Older Autoconf quotes --file arguments for eval, but not when files
   19408   # are listed without --file.  Let's play safe and only enable the eval
   19409   # if we detect the quoting.
   19410   case $CONFIG_FILES in
   19411   *\'*) eval set x "$CONFIG_FILES" ;;
   19412   *)   set x $CONFIG_FILES ;;
   19413   esac
   19414   shift
   19415   for mf
   19416   do
   19417     # Strip MF so we end up with the name of the file.
   19418     mf=`echo "$mf" | sed -e 's/:.*$//'`
   19419     # Check whether this is an Automake generated Makefile or not.
   19420     # We used to match only the files named 'Makefile.in', but
   19421     # some people rename them; so instead we look at the file content.
   19422     # Grep'ing the first line is not enough: some people post-process
   19423     # each Makefile.in and add a new line on top of each file to say so.
   19424     # Grep'ing the whole file is not good either: AIX grep has a line
   19425     # limit of 2048, but all sed's we know have understand at least 4000.
   19426     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   19427       dirpart=`$as_dirname -- "$mf" ||
   19428 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19429 	 X"$mf" : 'X\(//\)[^/]' \| \
   19430 	 X"$mf" : 'X\(//\)$' \| \
   19431 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   19432 $as_echo X"$mf" |
   19433     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19434 	    s//\1/
   19435 	    q
   19436 	  }
   19437 	  /^X\(\/\/\)[^/].*/{
   19438 	    s//\1/
   19439 	    q
   19440 	  }
   19441 	  /^X\(\/\/\)$/{
   19442 	    s//\1/
   19443 	    q
   19444 	  }
   19445 	  /^X\(\/\).*/{
   19446 	    s//\1/
   19447 	    q
   19448 	  }
   19449 	  s/.*/./; q'`
   19450     else
   19451       continue
   19452     fi
   19453     # Extract the definition of DEPDIR, am__include, and am__quote
   19454     # from the Makefile without running 'make'.
   19455     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   19456     test -z "$DEPDIR" && continue
   19457     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   19458     test -z "$am__include" && continue
   19459     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   19460     # Find all dependency output files, they are included files with
   19461     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   19462     # simplest approach to changing $(DEPDIR) to its actual value in the
   19463     # expansion.
   19464     for file in `sed -n "
   19465       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   19466 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   19467       # Make sure the directory exists.
   19468       test -f "$dirpart/$file" && continue
   19469       fdir=`$as_dirname -- "$file" ||
   19470 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19471 	 X"$file" : 'X\(//\)[^/]' \| \
   19472 	 X"$file" : 'X\(//\)$' \| \
   19473 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   19474 $as_echo X"$file" |
   19475     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19476 	    s//\1/
   19477 	    q
   19478 	  }
   19479 	  /^X\(\/\/\)[^/].*/{
   19480 	    s//\1/
   19481 	    q
   19482 	  }
   19483 	  /^X\(\/\/\)$/{
   19484 	    s//\1/
   19485 	    q
   19486 	  }
   19487 	  /^X\(\/\).*/{
   19488 	    s//\1/
   19489 	    q
   19490 	  }
   19491 	  s/.*/./; q'`
   19492       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   19493       # echo "creating $dirpart/$file"
   19494       echo '# dummy' > "$dirpart/$file"
   19495     done
   19496   done
   19497 }
   19498  ;;
   19499     "libtool":C)
   19500 
   19501     # See if we are running on zsh, and set the options which allow our
   19502     # commands through without removal of \ escapes.
   19503     if test -n "${ZSH_VERSION+set}" ; then
   19504       setopt NO_GLOB_SUBST
   19505     fi
   19506 
   19507     cfgfile="${ofile}T"
   19508     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   19509     $RM "$cfgfile"
   19510 
   19511     cat <<_LT_EOF >> "$cfgfile"
   19512 #! $SHELL
   19513 
   19514 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   19515 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   19516 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19517 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   19518 #
   19519 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   19520 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
   19521 #                 Foundation, Inc.
   19522 #   Written by Gordon Matzigkeit, 1996
   19523 #
   19524 #   This file is part of GNU Libtool.
   19525 #
   19526 # GNU Libtool is free software; you can redistribute it and/or
   19527 # modify it under the terms of the GNU General Public License as
   19528 # published by the Free Software Foundation; either version 2 of
   19529 # the License, or (at your option) any later version.
   19530 #
   19531 # As a special exception to the GNU General Public License,
   19532 # if you distribute this file as part of a program or library that
   19533 # is built using GNU Libtool, you may include this file under the
   19534 # same distribution terms that you use for the rest of that program.
   19535 #
   19536 # GNU Libtool is distributed in the hope that it will be useful,
   19537 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   19538 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   19539 # GNU General Public License for more details.
   19540 #
   19541 # You should have received a copy of the GNU General Public License
   19542 # along with GNU Libtool; see the file COPYING.  If not, a copy
   19543 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   19544 # obtained by writing to the Free Software Foundation, Inc.,
   19545 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   19546 
   19547 
   19548 # The names of the tagged configurations supported by this script.
   19549 available_tags=""
   19550 
   19551 # ### BEGIN LIBTOOL CONFIG
   19552 
   19553 # Which release of libtool.m4 was used?
   19554 macro_version=$macro_version
   19555 macro_revision=$macro_revision
   19556 
   19557 # Whether or not to build shared libraries.
   19558 build_libtool_libs=$enable_shared
   19559 
   19560 # Whether or not to build static libraries.
   19561 build_old_libs=$enable_static
   19562 
   19563 # What type of objects to build.
   19564 pic_mode=$pic_mode
   19565 
   19566 # Whether or not to optimize for fast installation.
   19567 fast_install=$enable_fast_install
   19568 
   19569 # Shell to use when invoking shell scripts.
   19570 SHELL=$lt_SHELL
   19571 
   19572 # An echo program that protects backslashes.
   19573 ECHO=$lt_ECHO
   19574 
   19575 # The PATH separator for the build system.
   19576 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   19577 
   19578 # The host system.
   19579 host_alias=$host_alias
   19580 host=$host
   19581 host_os=$host_os
   19582 
   19583 # The build system.
   19584 build_alias=$build_alias
   19585 build=$build
   19586 build_os=$build_os
   19587 
   19588 # A sed program that does not truncate output.
   19589 SED=$lt_SED
   19590 
   19591 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   19592 Xsed="\$SED -e 1s/^X//"
   19593 
   19594 # A grep program that handles long lines.
   19595 GREP=$lt_GREP
   19596 
   19597 # An ERE matcher.
   19598 EGREP=$lt_EGREP
   19599 
   19600 # A literal string matcher.
   19601 FGREP=$lt_FGREP
   19602 
   19603 # A BSD- or MS-compatible name lister.
   19604 NM=$lt_NM
   19605 
   19606 # Whether we need soft or hard links.
   19607 LN_S=$lt_LN_S
   19608 
   19609 # What is the maximum length of a command?
   19610 max_cmd_len=$max_cmd_len
   19611 
   19612 # Object file suffix (normally "o").
   19613 objext=$ac_objext
   19614 
   19615 # Executable file suffix (normally "").
   19616 exeext=$exeext
   19617 
   19618 # whether the shell understands "unset".
   19619 lt_unset=$lt_unset
   19620 
   19621 # turn spaces into newlines.
   19622 SP2NL=$lt_lt_SP2NL
   19623 
   19624 # turn newlines into spaces.
   19625 NL2SP=$lt_lt_NL2SP
   19626 
   19627 # convert \$build file names to \$host format.
   19628 to_host_file_cmd=$lt_cv_to_host_file_cmd
   19629 
   19630 # convert \$build files to toolchain format.
   19631 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   19632 
   19633 # An object symbol dumper.
   19634 OBJDUMP=$lt_OBJDUMP
   19635 
   19636 # Method to check whether dependent libraries are shared objects.
   19637 deplibs_check_method=$lt_deplibs_check_method
   19638 
   19639 # Command to use when deplibs_check_method = "file_magic".
   19640 file_magic_cmd=$lt_file_magic_cmd
   19641 
   19642 # How to find potential files when deplibs_check_method = "file_magic".
   19643 file_magic_glob=$lt_file_magic_glob
   19644 
   19645 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   19646 want_nocaseglob=$lt_want_nocaseglob
   19647 
   19648 # DLL creation program.
   19649 DLLTOOL=$lt_DLLTOOL
   19650 
   19651 # Command to associate shared and link libraries.
   19652 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   19653 
   19654 # The archiver.
   19655 AR=$lt_AR
   19656 
   19657 # Flags to create an archive.
   19658 AR_FLAGS=$lt_AR_FLAGS
   19659 
   19660 # How to feed a file listing to the archiver.
   19661 archiver_list_spec=$lt_archiver_list_spec
   19662 
   19663 # A symbol stripping program.
   19664 STRIP=$lt_STRIP
   19665 
   19666 # Commands used to install an old-style archive.
   19667 RANLIB=$lt_RANLIB
   19668 old_postinstall_cmds=$lt_old_postinstall_cmds
   19669 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19670 
   19671 # Whether to use a lock for old archive extraction.
   19672 lock_old_archive_extraction=$lock_old_archive_extraction
   19673 
   19674 # A C compiler.
   19675 LTCC=$lt_CC
   19676 
   19677 # LTCC compiler flags.
   19678 LTCFLAGS=$lt_CFLAGS
   19679 
   19680 # Take the output of nm and produce a listing of raw symbols and C names.
   19681 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19682 
   19683 # Transform the output of nm in a proper C declaration.
   19684 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19685 
   19686 # Transform the output of nm in a C name address pair.
   19687 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19688 
   19689 # Transform the output of nm in a C name address pair when lib prefix is needed.
   19690 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   19691 
   19692 # Specify filename containing input files for \$NM.
   19693 nm_file_list_spec=$lt_nm_file_list_spec
   19694 
   19695 # The root where to search for dependent libraries,and in which our libraries should be installed.
   19696 lt_sysroot=$lt_sysroot
   19697 
   19698 # The name of the directory that contains temporary libtool files.
   19699 objdir=$objdir
   19700 
   19701 # Used to examine libraries when file_magic_cmd begins with "file".
   19702 MAGIC_CMD=$MAGIC_CMD
   19703 
   19704 # Must we lock files when doing compilation?
   19705 need_locks=$lt_need_locks
   19706 
   19707 # Manifest tool.
   19708 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   19709 
   19710 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   19711 DSYMUTIL=$lt_DSYMUTIL
   19712 
   19713 # Tool to change global to local symbols on Mac OS X.
   19714 NMEDIT=$lt_NMEDIT
   19715 
   19716 # Tool to manipulate fat objects and archives on Mac OS X.
   19717 LIPO=$lt_LIPO
   19718 
   19719 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   19720 OTOOL=$lt_OTOOL
   19721 
   19722 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   19723 OTOOL64=$lt_OTOOL64
   19724 
   19725 # Old archive suffix (normally "a").
   19726 libext=$libext
   19727 
   19728 # Shared library suffix (normally ".so").
   19729 shrext_cmds=$lt_shrext_cmds
   19730 
   19731 # The commands to extract the exported symbol list from a shared archive.
   19732 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19733 
   19734 # Variables whose values should be saved in libtool wrapper scripts and
   19735 # restored at link time.
   19736 variables_saved_for_relink=$lt_variables_saved_for_relink
   19737 
   19738 # Do we need the "lib" prefix for modules?
   19739 need_lib_prefix=$need_lib_prefix
   19740 
   19741 # Do we need a version for libraries?
   19742 need_version=$need_version
   19743 
   19744 # Library versioning type.
   19745 version_type=$version_type
   19746 
   19747 # Shared library runtime path variable.
   19748 runpath_var=$runpath_var
   19749 
   19750 # Shared library path variable.
   19751 shlibpath_var=$shlibpath_var
   19752 
   19753 # Is shlibpath searched before the hard-coded library search path?
   19754 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19755 
   19756 # Format of library name prefix.
   19757 libname_spec=$lt_libname_spec
   19758 
   19759 # List of archive names.  First name is the real one, the rest are links.
   19760 # The last name is the one that the linker finds with -lNAME
   19761 library_names_spec=$lt_library_names_spec
   19762 
   19763 # The coded name of the library, if different from the real name.
   19764 soname_spec=$lt_soname_spec
   19765 
   19766 # Permission mode override for installation of shared libraries.
   19767 install_override_mode=$lt_install_override_mode
   19768 
   19769 # Command to use after installation of a shared archive.
   19770 postinstall_cmds=$lt_postinstall_cmds
   19771 
   19772 # Command to use after uninstallation of a shared archive.
   19773 postuninstall_cmds=$lt_postuninstall_cmds
   19774 
   19775 # Commands used to finish a libtool library installation in a directory.
   19776 finish_cmds=$lt_finish_cmds
   19777 
   19778 # As "finish_cmds", except a single script fragment to be evaled but
   19779 # not shown.
   19780 finish_eval=$lt_finish_eval
   19781 
   19782 # Whether we should hardcode library paths into libraries.
   19783 hardcode_into_libs=$hardcode_into_libs
   19784 
   19785 # Compile-time system search path for libraries.
   19786 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19787 
   19788 # Run-time system search path for libraries.
   19789 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19790 
   19791 # Whether dlopen is supported.
   19792 dlopen_support=$enable_dlopen
   19793 
   19794 # Whether dlopen of programs is supported.
   19795 dlopen_self=$enable_dlopen_self
   19796 
   19797 # Whether dlopen of statically linked programs is supported.
   19798 dlopen_self_static=$enable_dlopen_self_static
   19799 
   19800 # Commands to strip libraries.
   19801 old_striplib=$lt_old_striplib
   19802 striplib=$lt_striplib
   19803 
   19804 
   19805 # The linker used to build libraries.
   19806 LD=$lt_LD
   19807 
   19808 # How to create reloadable object files.
   19809 reload_flag=$lt_reload_flag
   19810 reload_cmds=$lt_reload_cmds
   19811 
   19812 # Commands used to build an old-style archive.
   19813 old_archive_cmds=$lt_old_archive_cmds
   19814 
   19815 # A language specific compiler.
   19816 CC=$lt_compiler
   19817 
   19818 # Is the compiler the GNU compiler?
   19819 with_gcc=$GCC
   19820 
   19821 # Compiler flag to turn off builtin functions.
   19822 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   19823 
   19824 # Additional compiler flags for building library objects.
   19825 pic_flag=$lt_lt_prog_compiler_pic
   19826 
   19827 # How to pass a linker flag through the compiler.
   19828 wl=$lt_lt_prog_compiler_wl
   19829 
   19830 # Compiler flag to prevent dynamic linking.
   19831 link_static_flag=$lt_lt_prog_compiler_static
   19832 
   19833 # Does compiler simultaneously support -c and -o options?
   19834 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   19835 
   19836 # Whether or not to add -lc for building shared libraries.
   19837 build_libtool_need_lc=$archive_cmds_need_lc
   19838 
   19839 # Whether or not to disallow shared libs when runtime libs are static.
   19840 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   19841 
   19842 # Compiler flag to allow reflexive dlopens.
   19843 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   19844 
   19845 # Compiler flag to generate shared objects directly from archives.
   19846 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   19847 
   19848 # Whether the compiler copes with passing no objects directly.
   19849 compiler_needs_object=$lt_compiler_needs_object
   19850 
   19851 # Create an old-style archive from a shared archive.
   19852 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   19853 
   19854 # Create a temporary old-style archive to link instead of a shared archive.
   19855 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   19856 
   19857 # Commands used to build a shared archive.
   19858 archive_cmds=$lt_archive_cmds
   19859 archive_expsym_cmds=$lt_archive_expsym_cmds
   19860 
   19861 # Commands used to build a loadable module if different from building
   19862 # a shared archive.
   19863 module_cmds=$lt_module_cmds
   19864 module_expsym_cmds=$lt_module_expsym_cmds
   19865 
   19866 # Whether we are building with GNU ld or not.
   19867 with_gnu_ld=$lt_with_gnu_ld
   19868 
   19869 # Flag that allows shared libraries with undefined symbols to be built.
   19870 allow_undefined_flag=$lt_allow_undefined_flag
   19871 
   19872 # Flag that enforces no undefined symbols.
   19873 no_undefined_flag=$lt_no_undefined_flag
   19874 
   19875 # Flag to hardcode \$libdir into a binary during linking.
   19876 # This must work even if \$libdir does not exist
   19877 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   19878 
   19879 # Whether we need a single "-rpath" flag with a separated argument.
   19880 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   19881 
   19882 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   19883 # DIR into the resulting binary.
   19884 hardcode_direct=$hardcode_direct
   19885 
   19886 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   19887 # DIR into the resulting binary and the resulting library dependency is
   19888 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   19889 # library is relocated.
   19890 hardcode_direct_absolute=$hardcode_direct_absolute
   19891 
   19892 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   19893 # into the resulting binary.
   19894 hardcode_minus_L=$hardcode_minus_L
   19895 
   19896 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   19897 # into the resulting binary.
   19898 hardcode_shlibpath_var=$hardcode_shlibpath_var
   19899 
   19900 # Set to "yes" if building a shared library automatically hardcodes DIR
   19901 # into the library and all subsequent libraries and executables linked
   19902 # against it.
   19903 hardcode_automatic=$hardcode_automatic
   19904 
   19905 # Set to yes if linker adds runtime paths of dependent libraries
   19906 # to runtime path list.
   19907 inherit_rpath=$inherit_rpath
   19908 
   19909 # Whether libtool must link a program against all its dependency libraries.
   19910 link_all_deplibs=$link_all_deplibs
   19911 
   19912 # Set to "yes" if exported symbols are required.
   19913 always_export_symbols=$always_export_symbols
   19914 
   19915 # The commands to list exported symbols.
   19916 export_symbols_cmds=$lt_export_symbols_cmds
   19917 
   19918 # Symbols that should not be listed in the preloaded symbols.
   19919 exclude_expsyms=$lt_exclude_expsyms
   19920 
   19921 # Symbols that must always be exported.
   19922 include_expsyms=$lt_include_expsyms
   19923 
   19924 # Commands necessary for linking programs (against libraries) with templates.
   19925 prelink_cmds=$lt_prelink_cmds
   19926 
   19927 # Commands necessary for finishing linking programs.
   19928 postlink_cmds=$lt_postlink_cmds
   19929 
   19930 # Specify filename containing input files.
   19931 file_list_spec=$lt_file_list_spec
   19932 
   19933 # How to hardcode a shared library path into an executable.
   19934 hardcode_action=$hardcode_action
   19935 
   19936 # ### END LIBTOOL CONFIG
   19937 
   19938 _LT_EOF
   19939 
   19940   case $host_os in
   19941   aix3*)
   19942     cat <<\_LT_EOF >> "$cfgfile"
   19943 # AIX sometimes has problems with the GCC collect2 program.  For some
   19944 # reason, if we set the COLLECT_NAMES environment variable, the problems
   19945 # vanish in a puff of smoke.
   19946 if test "X${COLLECT_NAMES+set}" != Xset; then
   19947   COLLECT_NAMES=
   19948   export COLLECT_NAMES
   19949 fi
   19950 _LT_EOF
   19951     ;;
   19952   esac
   19953 
   19954 
   19955 ltmain="$ac_aux_dir/ltmain.sh"
   19956 
   19957 
   19958   # We use sed instead of cat because bash on DJGPP gets confused if
   19959   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   19960   # text mode, it properly converts lines to CR/LF.  This bash problem
   19961   # is reportedly fixed, but why not run on old versions too?
   19962   sed '$q' "$ltmain" >> "$cfgfile" \
   19963      || (rm -f "$cfgfile"; exit 1)
   19964 
   19965   if test x"$xsi_shell" = xyes; then
   19966   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
   19967 func_dirname ()\
   19968 {\
   19969 \    case ${1} in\
   19970 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   19971 \      *  ) func_dirname_result="${3}" ;;\
   19972 \    esac\
   19973 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
   19974   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19975     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19976 test 0 -eq $? || _lt_function_replace_fail=:
   19977 
   19978 
   19979   sed -e '/^func_basename ()$/,/^} # func_basename /c\
   19980 func_basename ()\
   19981 {\
   19982 \    func_basename_result="${1##*/}"\
   19983 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
   19984   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19985     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19986 test 0 -eq $? || _lt_function_replace_fail=:
   19987 
   19988 
   19989   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
   19990 func_dirname_and_basename ()\
   19991 {\
   19992 \    case ${1} in\
   19993 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   19994 \      *  ) func_dirname_result="${3}" ;;\
   19995 \    esac\
   19996 \    func_basename_result="${1##*/}"\
   19997 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
   19998   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19999     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20000 test 0 -eq $? || _lt_function_replace_fail=:
   20001 
   20002 
   20003   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
   20004 func_stripname ()\
   20005 {\
   20006 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
   20007 \    # positional parameters, so assign one to ordinary parameter first.\
   20008 \    func_stripname_result=${3}\
   20009 \    func_stripname_result=${func_stripname_result#"${1}"}\
   20010 \    func_stripname_result=${func_stripname_result%"${2}"}\
   20011 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
   20012   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20013     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20014 test 0 -eq $? || _lt_function_replace_fail=:
   20015 
   20016 
   20017   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
   20018 func_split_long_opt ()\
   20019 {\
   20020 \    func_split_long_opt_name=${1%%=*}\
   20021 \    func_split_long_opt_arg=${1#*=}\
   20022 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
   20023   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20024     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20025 test 0 -eq $? || _lt_function_replace_fail=:
   20026 
   20027 
   20028   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
   20029 func_split_short_opt ()\
   20030 {\
   20031 \    func_split_short_opt_arg=${1#??}\
   20032 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
   20033 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
   20034   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20035     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20036 test 0 -eq $? || _lt_function_replace_fail=:
   20037 
   20038 
   20039   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
   20040 func_lo2o ()\
   20041 {\
   20042 \    case ${1} in\
   20043 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
   20044 \      *)    func_lo2o_result=${1} ;;\
   20045 \    esac\
   20046 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
   20047   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20048     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20049 test 0 -eq $? || _lt_function_replace_fail=:
   20050 
   20051 
   20052   sed -e '/^func_xform ()$/,/^} # func_xform /c\
   20053 func_xform ()\
   20054 {\
   20055     func_xform_result=${1%.*}.lo\
   20056 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
   20057   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20058     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20059 test 0 -eq $? || _lt_function_replace_fail=:
   20060 
   20061 
   20062   sed -e '/^func_arith ()$/,/^} # func_arith /c\
   20063 func_arith ()\
   20064 {\
   20065     func_arith_result=$(( $* ))\
   20066 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
   20067   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20068     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20069 test 0 -eq $? || _lt_function_replace_fail=:
   20070 
   20071 
   20072   sed -e '/^func_len ()$/,/^} # func_len /c\
   20073 func_len ()\
   20074 {\
   20075     func_len_result=${#1}\
   20076 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
   20077   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20078     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20079 test 0 -eq $? || _lt_function_replace_fail=:
   20080 
   20081 fi
   20082 
   20083 if test x"$lt_shell_append" = xyes; then
   20084   sed -e '/^func_append ()$/,/^} # func_append /c\
   20085 func_append ()\
   20086 {\
   20087     eval "${1}+=\\${2}"\
   20088 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
   20089   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20090     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20091 test 0 -eq $? || _lt_function_replace_fail=:
   20092 
   20093 
   20094   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
   20095 func_append_quoted ()\
   20096 {\
   20097 \    func_quote_for_eval "${2}"\
   20098 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
   20099 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
   20100   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20101     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20102 test 0 -eq $? || _lt_function_replace_fail=:
   20103 
   20104 
   20105   # Save a `func_append' function call where possible by direct use of '+='
   20106   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
   20107     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20108       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20109   test 0 -eq $? || _lt_function_replace_fail=:
   20110 else
   20111   # Save a `func_append' function call even when '+=' is not available
   20112   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
   20113     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20114       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20115   test 0 -eq $? || _lt_function_replace_fail=:
   20116 fi
   20117 
   20118 if test x"$_lt_function_replace_fail" = x":"; then
   20119   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
   20120 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
   20121 fi
   20122 
   20123 
   20124    mv -f "$cfgfile" "$ofile" ||
   20125     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   20126   chmod +x "$ofile"
   20127 
   20128  ;;
   20129 
   20130   esac
   20131 done # for ac_tag
   20132 
   20133 
   20134 as_fn_exit 0
   20135 _ACEOF
   20136 ac_clean_files=$ac_clean_files_save
   20137 
   20138 test $ac_write_fail = 0 ||
   20139   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   20140 
   20141 
   20142 # configure is writing to config.log, and then calls config.status.
   20143 # config.status does its own redirection, appending to config.log.
   20144 # Unfortunately, on DOS this fails, as config.log is still kept open
   20145 # by configure, so config.status won't be able to write to it; its
   20146 # output is simply discarded.  So we exec the FD to /dev/null,
   20147 # effectively closing config.log, so it can be properly (re)opened and
   20148 # appended to by config.status.  When coming back to configure, we
   20149 # need to make the FD available again.
   20150 if test "$no_create" != yes; then
   20151   ac_cs_success=:
   20152   ac_config_status_args=
   20153   test "$silent" = yes &&
   20154     ac_config_status_args="$ac_config_status_args --quiet"
   20155   exec 5>/dev/null
   20156   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   20157   exec 5>>config.log
   20158   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   20159   # would make configure fail if this is the last instruction.
   20160   $ac_cs_success || as_fn_exit 1
   20161 fi
   20162 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   20163   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   20164 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   20165 fi
   20166 
   20167